Update glossary-and-semantics.md

some typos

Description:

BREAKING CHANGE:
Related issue (if exists):

Thank you, @xp44mm!


Support user-defined meta tags

I'd like to add additional tags (e.g. article:published_time and article:tag) for when the og:type for my page is article.
Ideally I would be able to enumerate these extra tags in the config (and support them by providing data through my metaDefaults() page method).
Thanks for the great plugin!

(I'd be happy to contribute a PR for this feature if you have an API design in mind.)

Definitely a good addition!
The biggest pain point with user-defined tags is that how they're defined in the head differs from type to type.
An example: Twitter/Browser tags use name and content attributes, while OG attributes use property and content.
As a general rule of thumb, we can make tags that include og use property, and others use name. The API has to be flexible enough that you can specify attributes yourself.
Ideally, I want to make the API not differ much from metaDefaults() - which currently uses camelCase field names instead of the actual meta tags. We can't potentially map all meta tags to camelCase names, so we'll be mapping the field names to attribute names where the lookup happens.
This is what I'd be thinking about:
<?php

class CustomPage extends \Kirby\Cms\Page
{
  public function metaDefaults(string $lang = null)
  {
    $c = $this->content($lang);

    return [
       // Built-in tags
      'title' => $c->projectTitle()->or($this->title()),
      'og:image' => $c->image(),
      'description' => strip_tags($c->description()),
      'og:description' => strip_tags($c->description()),
      // Custom tags
      'og:article:published_time' => $c->published()->toDate('...'),
      // Array syntax for more control, all items will be output as attributes
      [
        'property' => 'og:article:published_time',
        'content' => $c->published()->toDate('...')
      ]
    ];
  }
}


CI broken

@dreua any chance you could look at why the CI is broken?  The error is nonobvious to me.

It consistently failed at:
[===                                    ] 8% Computing updates...
Warning: Failed to find package 'patcher;v4'
[===                                    ] 10% Computing updates...

[===                                    ] 10% Computing updates...
Error: Process completed with exit code 1.

It just said warming but maybe this is actually an error? Do you know what this patcher is and maybe if we can use it in another version?

Tried it wothou a version but that also failed, removing patcher it is green. Do we need this package?


Ignore alias versions

Ignore alias versions or try to get real used version:
"nelmio/api-doc-bundle": "dev-nexy as 2.10" // Last is 2.10.3

This is not relevant anymore since composer give Composer\Package\CompletePackage package objects.
The error does not appear anymore.


No data on all widgets

I fixed the 502 error by changing the influxdb host to the IP of my device on the 'docker-speedtest-grafana/docker/grafana/provisioning/datasources/influxdb.yml' file. However, now all the widgets are showing me the "No data" message.
Could you please suggest some tests or troubleshooting steps in order to check why is happening this issue?
Thanks in advance.

I would like to add some more information, these are the logs of the speedtest container:
[INFO][Fri Jul 02 2021 23:17:09 GMT+0000 (Coordinated Universal Time)] Starting speedtest...
Command failed with exit code 2: speedtest --accept-license --accept-gdpr -f json
[2021-07-02 23:17:14.175] [error] Trying to get interface information on non-initialized socket.
[2021-07-02 23:17:19.694] [error] Configuration - Couldn't resolve host name (HostNotFoundException)
[2021-07-02 23:17:19.695] [error] Configuration - Cannot retrieve configuration document (0)
[2021-07-02 23:17:19.695] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2021-07-02 23:17:19.697] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
{"type":"log","timestamp":"2021-07-02T23:17:19Z","message":"Configuration - Could not retrieve or read configuration (ConfigurationError)","level":"error"}
[INFO][Fri Jul 02 2021 23:17:23 GMT+0000 (Coordinated Universal Time)] Starting speedtest...


Installing a flutter apk on Nougat takes 40+ seconds

12:32:28.701: 41499 ms • <redacted>/android-sdk-linux/platform-tools/adb -s <redacted> install -r build/app.apk

It used to take less than 10. (before I upgraded my device to Nougat).

What is the size of the APK being installed? I have been testing on Nougat for the past week and haven't seen any regression. Also, are you using the Android SDK in third_party or using your own?

14.7MB

My own sdk

Where is this third party one?

Sorry. I assumed you were using the engine repository. In the engine, it is at third_party/android_tools/sdk/platform-tools. Currently, we use Android Debug Bridge version 1.0.32. Maybe we need to recommend updating the SDK if we think certain versions are slow for Nougat.

What parts of an android sdk are needed to use flutter?  Just built/platform tools or does it need all those system images?

https://flutter.io/setup/#android-setup
We need the SDK as well as the tools for building the APK.

What does adb version version say on your machine?

Android Debug Bridge version 1.0.36

Damn, thats actually newer than the one I am using. Lets try export ADB_TRACE=all and see where it is stuck/slow.

Working with Chinmay offline we found his 6P was fine with my setup so it appears to be somethign specific about my Pixel C.

fwiw, I discovered that if I uninstall the app before installing the new one this issue went away.

@apwilson Doesn't flutter run uninstall for you?


Fixed a bug with the google closure compiler failing when trying to c…

…ompile this code. It failed due to scale not being defined in the JS context. Here I have added the var keyword to define it localy. #101

Perfect, thanks @abinash18


Facebook login TWOFACTOR functionality missing

Checklist

[ x ] I'm reporting a broken site support issue
[ x ] I've verified that I'm running youtube-dl version 2021.06.06
[ x ] I've checked that all provided URLs are alive and playable in a browser
[ x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x ] I've searched the bugtracker for similar bug reports including closed ones
[ x ] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-2', '721664', '-v', 'https://www.facebook.com/106937041769662/videos/601957961078153/']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.8.8 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook]<PHONE_NUMBER>78153: Downloading webpage
ERROR: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "c:\users\administrator\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "c:\users\administrator\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "c:\users\administrator\anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "c:\users\administrator\anaconda3\lib\site-packages\youtube_dl\extractor\facebook.py", line 680, in _real_extract
    return self._extract_from_url(real_url, video_id)
  File "c:\users\administrator\anaconda3\lib\site-packages\youtube_dl\extractor\facebook.py", line 528, in _extract_from_url
    self.raise_login_required()
  File "c:\users\administrator\anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 941, in raise_login_required
    raise ExtractorError(
youtube_dl.utils.ExtractorError: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.

Description

Trying to download a facebook post video, debug log shows I successfully logged in, but still shows This video is only available for registered users.. I went thru the facebook login code, didn't find anything about TWOFACTOR functionality, am I missing something?

see under authentication options - https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme

Thanks for reply, if you see the Command-line args in my debug log, I did pass the -2 argument, and I tried multiple times, it always give me this error ERROR: This video is only available for registered users.

strange, i was able to download this video - https://www.facebook.com/106937041769662/videos/601957961078153/
without any authentication. are you signed in to your facebook account ??

Yes, I signed in to my Facebook account, but it didn't go thru the 2 factor approvals, the program should perform like this:
sign in --> 2 factor approvals --> go download videos,
I debugged the code a little bit, I think it doesn't do anything about the 2 factor approvals  part.
I assume you don't have the 2 factor approvals on you facebook account that's why you can download the video.
The following code is from the youtube-dl library ./extractor/facebook.py 343-360, which performs facebook login, and I didn't find anything about the 2 factor approvals.
login_results = self._download_webpage(request, None,note='Logging in', errnote='unable to fetch login page')
if re.search(r'<form(.*)name="login"(.*)</form>', login_results) is not None:
    error = self._html_search_regex(
                   r'(?s)
]+class=(["\']).*?login_error_box.*?\1[^>]*>
]*>.*?

]*>(?P<error>.+?)
',
                   login_results, 'login error', default=None, group='error')
    if error:
        raise ExtractorError('Unable to login: %s' % error, expected=True)
    self._downloader.report_warning('unable to log in: bad username/password, or exceeded login rate limit (~3/min). Check credentials or wait.')
    return

    fb_dtsg = self._search_regex(r'name="fb_dtsg" value="(.+?)"', login_results, 'fb_dtsg', default=None)
    h = self._search_regex(r'name="h"\s+(?:\w+="[^"]+"\s+)*?value="([^"]+)"', login_results, 'h', default=None)

    if not fb_dtsg or not h:
        return


Finishing touches on ophyd refactor

As @klauer rides victoriously off into the sunset for a well-earned break, the rest of us will add a commit or two to his giant refactor PR, #170, before merging. I'm opening this new PR from a branch on my fork, where I have push access to make revisions, but it starts from #170. Start reading there if you are just tuning in.

Closing as not helpful, code in #186


File is not a zip file

I recently cloned the PyPhisher repository from GitHub and attempted to run the script pyphisher.py. However, I consistently encounter the following error message:
[!] File is not a zip file
Could you please provide guidance on how to troubleshoot and resolve this issue? Additionally, if there are any specific requirements or constraints regarding input files that I should be aware of, I would greatly appreciate clarification.
Any assistance you can provide in resolving this error would be highly appreciated. Thank you for your time and support.

@onyx10x You should delete this version and clone from here

Hey @onyx10x its not working on termux what can I do

I have the same problem right now

Clone from here

How do i delete the current version? I am having problems

How do you use the custom 78 in pyphisher

@dak101101 It's rm -rf PyPhisher. Then do a git clone from the given url

@Jamie43211 For this you have to collect website files of the target website

@KasRoudra KasRoudra how do I do that

@dak101101 It's rm -rf PyPhisher. Then do a git clone from the given url

Alright

dak101101 that common remove directory

I'm not getting any tunnels rather then only localhost please help
@KasRoudra

I'm not getting any tunnels rather then only localhost please help

@KasRoudra

@KasRoudra ,    bro work good, thank you very much.
but the question of "Wanna make custom link ?" is not appear for me !, I don't know the reason for that, I did every step correctly, and I think the feature is very important.

@KasRoudra snapchat links not working anymore. they give a blank page

@KasRoudra the github-link dont work anymore...
always come that github deleted and block the site.
In Kali Linux it will username and password for github, but then it wont work...
What can i do? I try install it manually, but then it comes the error: it is no zip file

@KasRoudra the github-link dont work anymore...
always come that github deleted and block the site.
In Kali Linux it will username and password for github, but then it wont work...
What can i do? I try install it manually, but then it comes the error: it is no zip file

clone through here and lets see https://gitlab.com/KasRoudra/PyPhisher

@KasRoudra the github-link dont work anymore...
always come that github deleted and block the site.
In Kali Linux it will username and password for github, but then it wont work...
What can i do? I try install it manually, but then it comes the error: it is no zip file

clone through here and lets see https://gitlab.com/KasRoudra/PyPhisher

Great, it works. You also got the link for Maxphisher? KasRoudra wrote a comment that "Maxphisher" is taken over or something and i read that "Maxphisher" got over 100+ Websites. Is that true? And is it maybe to generate own Pages? And if yes, is there a tool to do it or how it works? Maybe a link with docu or a video would be great. Thx for helping.


Test cases failing with regex changes for S608

@MichaReiser
I have made the changes as suggested in https://github.com/astral-sh/ruff/issues/12044#issuecomment-2357678761.
But this regex is failing for 7 test cases out of 58 in https://github.com/astral-sh/ruff/blob/9259cf91d8dd042f45147fa1be97662833c91919/crates/ruff_linter/resources/test/fixtures/flake8_bandit/S608.py
(For additional test cases, refer - https://github.com/astral-sh/ruff/blob/257359165f845adc1a2bd41aeabfe6d56fbee420/crates/ruff_linter/resources/test/fixtures/flake8_bandit/S608.py#L117 )
I have implemented the regex from bandit as well. Commit - https://github.com/astral-sh/ruff/commit/9259cf91d8dd042f45147fa1be97662833c91919, which is failing for 3 test cases.

I looked into this more and the reason why the multiline f-strings aren't picked up are because of concatenated_f_string that escapes special characters like \n.
https://github.com/astral-sh/ruff/blob/257359165f845adc1a2bd41aeabfe6d56fbee420/crates/ruff_linter/src/rules/flake8_bandit/rules/hardcoded_sql_expression.rs#L124-L129
It's not entirely clear to me why @dhruvmanila added the escape_default call but I'm  sure there's a reason. I want to wait for his reply before changing the behavior. However, he's off this week, so his reply might be a bit delayed.

Meanwhile I will try playing with these configs. Thanks @MichaReiser

It's not entirely clear to me why @dhruvmanila added the escape_default call but I'm sure there's a reason.

Looking back I'm not exactly sure why I added this but I suspect that it was to make sure the regex matched multiline strings. I should've updated the regex instead back then to avoid this bug from ever occurring. I would remove it and update the regex and run the tests. Sorry for the churn @DataEnggNerd.

@dhruvmanila @MichaReiser All checks passed while removing concatenated_f_string.

What's the reason for closing this pr? It sounded like everything working

CI was failing as I have not updated the snapshot. working on it.


Templates folder not created with pip install

Thanks for this nice project !
I have some troubles installing it:
Using the command pip install git+https://github.com/andreasgerstmayr/fava-income-reports.git does create the contents of the templates folder in site-packages/fava_income_reports.
The only files present are monthly_pnl.py and sankey.py
Do you know why the files in fava_income_reports/templates have not been copied ?
This part is probably missing from pyproject.py (https://setuptools.pypa.io/en/latest/userguide/quickstart.html#automatic-package-discovery)
[tool.setuptools.packages]
find = {}  # Scan the project directory with the default parameters

@Geocali thanks! and thanks for reporting this issue.
I've forgot to add include_package_data = True, therefore the package only included the python files and no other files (like the html templates). It should work now.
I missed that because personally I installed the package by cloning the git repository and installing it with pip install -e for local development.


Updated kubectl bash completion usage in the doc.

We have moved the shell script into kubectl completion command in #23801, updated the bash completion usage in the doc.
Fixes #1092

This change is

Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

docs/getting-started-guides/gce.md, line 98 [r1] (raw file):

You may find it useful to enable `kubectl` bash completion:

* For kubectl before v1.3:

"If you're using kubectl with Kubernetes version 1.2 or earlier, you can source the kubectl completion script as follows:"

docs/getting-started-guides/gce.md, line 103 [r1] (raw file):

Since v1.3, there is a new command kubectl completion to do this:

"If you're using kubectl with Kubernetes version 1.3, use the kubectl completion command as follows:

docs/getting-started-guides/gce.md, line 110 [r1] (raw file):

**Note**: The above commands will last for the duration of your bash session. If you want to make this permanent you need to add corresponding command in your bash profile.

Alternatively, on most linux distributions you can also add a completions file to your bash_completions.d like:

Replace "like" with "as follows", as in:
"you can also add a completions file to your bash_completions.d as follows:"

docs/getting-started-guides/gce.md, line 112 [r1] (raw file):

Alternatively, on most linux distributions you can also add a completions file to your bash_completions.d like:

* For kubectl before v1.3:

"For kubectl with Kubernetes v1.2 or earlier:"

docs/getting-started-guides/gce.md, line 117 [r1] (raw file):

For kubectl since v1.3:

"For kubectl with Kubernetes v1.3:"

Comments from Reviewable

thanks Devin, updated the patch

LGTM. Please rebase and I'll merge.

Have rebased the code, thx


Lists

Is sending lists not working anymore?

Fatal error: Uncaught exception 'Pushbullet\Exceptions\ConnectionException' with message 'HTTP Error 400 (invalid_request): The param 'type' has an invalid value.' in /mnt/webr/a0/65/54548565/htdocs/notification/vendor/ivkos/pushbullet/src/Pushbullet/Connection.php:106 Stack trace: #0 /mnt/webr/a0/65/54548565/htdocs/notification/vendor/ivkos/pushbullet/src/Pushbullet/Pushable.php(144): Pushbullet\Connection::sendCurlRequest('https://api.pus...', 'POST', Array, true, 'P63VqvG40bBfEa1...') #1 /mnt/webr/a0/65/54548565/htdocs/notification/spreeradio_kino.php(34): Pushbullet\Device->pushList('Shopping List', Array) #2 {main} thrown in /mnt/webr/a0/65/54548565/htdocs/notification/vendor/ivkos/pushbullet/src/Pushbullet/Connection.php on line 106

Correct, pushing lists and addresses has been deprecated.

Is there an way to send lists with normal notes, so they have a line break between each item (like \n)?

$pb = new Pushbullet(YOUR_KEY);

$items = [
    "Bread",
    "Milk",
    "Cereal"
];

$pb->device("My Device")->pushNote("Items", join("\n", $items));


Updates docker container workflows to improve developer testing

This commit updates the event triggers for the workflows at docker-image-web-ui.yml and docker-azure-function.yml. Now, every push to the 'dev' branch will trigger the corresponding GitHub Action. This enables us to test the workflows changes in the dev branch without delay.

As I noted please ignore in favor of my more recent PR #44


Create And sign extrinsics in dart

Needs polkadart's pr: https://github.com/leonardocustodio/polkadart/pull/315

Needs https://github.com/leonardocustodio/polkadart/pull/355


Model DataDisk as child resource of VirtualMachine

including the defineDataDisk flow impl
.dataDisks() collection on VM
and shortcut .withDataDisk(size)

(see Subnet as an example)

Addressed this in the PR - https://github.com/Azure/azure-sdk-for-java/pull/761

Beta2 released.


Basic CI performance regression

We should run a CI script to conduct basic performance regression testing (wall clock run time and memory consumption).

@frank-emrich has implemented a tool that is capable of plotting performance per commit for a given date range.


Running list_file_entries.py on a disk block device doesn't accept 'all' to list entries for all partitions

Package: dfimagetools-tools
Version: 20211228-1ppa1~focal

# /usr/bin/list_file_entries.py /dev/sdb
The following partitions were found:

Identifier      Offset (in bytes)       Size (in bytes)
p1              116391936 (0x06f00000)  119.9GiB / 128.7GB<PHONE_NUMBER>48 B)
p14             1048576 (0x00100000)    4.0MiB / 4.2MB (4194304 B)
p15             5242880 (0x00500000)    106.0MiB / 111.1MB (111149056 B)

Please specify the identifier of the partition that should be
processed. All partitions can be defined as: "all". Note that you can
abort with Ctrl^C.

Partition identifier(s): all

Unsupported partition identifier(s), please try again or abort with
Ctrl^C.

Please specify the identifier of the partition that should be
processed. All partitions can be defined as: "all". Note that you can
abort with Ctrl^C.

Partition identifier(s):

Can you try HEAD on the same device

Same issue
# apt remove dfimagetools-tools ; apt autoremove
# git clone https://github.com/log2timeline/dfimagetools/
# cd dfimagetools
# python3 setup.py install
<snip>
Finished processing dependencies for dfimagetools==20220129

# /usr/local/bin/list_file_entries.py /dev/sdb
The following partitions were found:

Identifier      Offset (in bytes)       Size (in bytes)
p1              116391936 (0x06f00000)  119.9GiB / 128.7GB<PHONE_NUMBER>48 B)
p14             1048576 (0x00100000)    4.0MiB / 4.2MB (4194304 B)
p15             5242880 (0x00500000)    106.0MiB / 111.1MB (111149056 B)

Please specify the identifier of the partition that should be
processed. All partitions can be defined as: "all". Note that you can
abort with Ctrl^C.

Partition identifier(s): all

Unsupported partition identifier(s), please try again or abort with
Ctrl^C.

Please specify the identifier of the partition that should be
processed. All partitions can be defined as: "all". Note that you can
abort with Ctrl^C.

Partition identifier(s):

Just tested, and "all" works for me. Let's see if this is some edge case with non-contiguous partition identifiers

per chat with @rgayon this has been resolved in HEAD


deduplicating renames

fix for #175

@nosami - pushed a better hash function. btw - is there a way to tell travis not to use mono 4.0.1

Looks much better. I'll test it out later.
You can do pretty much anything you want on Travis. See here https://github.com/OmniSharp/omnisharp-server/blob/master/.travis.yml#L1-L7. It's even possible to run build against a matrix of mono versions.
The only restriction that I'm aware of is that you can't use Windows ;)

Looks good!


How to make GIF like in the readme?

Hi can I ask how to make GIF like the one in README ?

Hi @thuanz123 ,
I uploaded a vscode interactive script (.py) that you can tweak to generate gifs. It is in the tools directory.
Cheers,
Evan

Hi, thank for you reply. One more question, do you know the seeds that generate the two images in the gif? I'm trying to reproducing them

thank I will close this then

Hm sorry for bother you again, what is the true scale of the output using the create_gif code ? I see that it goes from 100 to 151 but not clear how to calculate output scale


Change documentation to generate model overview with docker

[x] Change documentation

Coverage remained the same at 100.0% when pulling b16cd3133828a19b6988c45afe5f4e92ffbae9c4 on Models_overview_with_Docker into 6a15abb651297547813edd8389694b6a9230e227 on master.

Please, do not re-generate the model overview file, it has already been handled in #79.

No problem. Thank's


Upgrade to latest Android / Cordova version

This work item is to upgrade to the latest version of cordova-android, used by cordova to interact with Android devices.
This is a breaking change.
Moving to the latest cordova-android version is required to work with the newest versions of Android, but will also have the side-effect of setting the minimum supported version to Android 5.1 (Android SDK 22). It appears that as of June 2020, worldwide marketshare of Android versions before 5.1 is less than 5%.

Fixed with merge from 23 July 2020.


Upgrade dependancies

Upgraded deps due to deprecation error DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead
Also bumped yarn 3 version due to install errors
Major version for package v3 - v4

Merging after @georgeevans1995 watchfull eye gazed over the changes


Ghost 2.0 release

Hi everyone,
Ghost 2.0 has been released now.
Will this be added to the docker-library as well, possibly with an upgrade path?
Cheers,
Mark

@weipah Ghost 2.0 didn't contain nearly as many breaking changes as Ghost 0.x => 1.x did, so the upgrade process should be fairly trivial. I'll work on getting a 2.0 image created sometime this week.

Thank you @acburdine :)

Hi,
just send this PR.
Not sure if @acburdine would do it differently - it works for me 👍🏻


Add EditorConfig file

I have my editor configured to use two-space tabs by default, and this makes it do the right thing in the redb repo.

Nice! I hadn't heard of this standard before. Cool that it's cross platform


Header title text font

Is it possible to change the font of the header text in the drawer?

Yes, get the text view from the header and then see this example: https://github.com/madcyph3r/AdvancedMaterialDrawer/blob/master/example/src/main/java/de/madcyph3r/example/example/theme/ActionBarOwnFontActivity.java


Getting crash on  @objc AppDelegate.userNotificationCenter(UNUserNotificationCenter, willPresent : UNNotification, withCompletionHandler : (UNNotificationPresentationOptions) -> ()) -> ()

#0Crashed: com.apple.main-threadEXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000042 Raw Text
0 | libsystem_blocks.dylib | _Block_copy + 28
1 | Test iOS | AppDelegate.swift line 0@objc AppDelegate.userNotificationCenter(UNUserNotificationCenter, willPresent : UNNotification, withCompletionHandler : (UNNotificationPresentationOptions) -> ()) -> ()
2 | Test iOS | AppDelegate.swift line 0@objc AppDelegate.userNotificationCenter(UNUserNotificationCenter, willPresent : UNNotification, withCompletionHandler : (UNNotificationPresentationOptions) -> ()) -> ()
3 | Test iOS | FIRMessagingRemoteNotificationsProxy.m line 712FCM_swizzle_appDidRegisterForRemoteNotifications
4 | libdispatch.dylib | _dispatch_call_block_and_release + 24
5 | libdispatch.dylib | _dispatch_client_callout + 16
6 | libdispatch.dylib | _dispatch_main_queue_callback_4CF + 1000
7 | CoreFoundation | CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
8 | CoreFoundation | __CFRunLoopRun + 1660
9 | CoreFoundation | CFRunLoopRunSpecific + 444
10 | GraphicsServices | GSEventRunModal + 180
11 | UIKit | -[UIApplication _run] + 684
12 | UIKit | UIApplicationMain + 208
13 | Test iOS | AppDelegate.swift line 118main
14

Can you share the AppDelegate method where it's crashing?

We are getting on crash on this method
@available(iOS 10.0, *)
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
// Play sound and show alert to the user
FBSDKAppEvents.logPushNotificationOpen(notification.request.content.userInfo)
    completionHandler([.alert,.sound])
}

Looks like some sort of memory corruption issue. Your code should never be crashing on _Block_copy.
The only Firebase symbol in this stack trace is from Messaging's automatic method swizzling. Can you try disabling swizzling and seeing if your code is still crashing?

Closing due to inactivity, will re-open when there's new information.


Migration to  Vue 2.0

Is there any plan to migrate a Vue 1.x app to 2.0?

Recently I'm working on another Vue 2.0 project: leetcode-viewer. If you just need an Vue 2.0 example, leetcode-viewer and  the demo may be a candidate.
(https://github.com/Ma63d/leetcode-viewer).
In view of the current works, it seems that it's not difficult to use Vue 2.0. So surely I will migrate this project to 2.0.
But sorry to tell you that the migration won't be done recently for time reason.
The deadline of my master paper makes me mad. :sob: :sob:

@Ma63d Thanks for the quick update. I understood your priorities.
One small suggestion: If you have simple login management, it could not very useful in the current project.

@fizerkhan  could not very useful?

@Ma63d If we are thinking to use this project for our internal docs, it will great if you have signup options. So everyone can login and update docs. Also if there is any support for english, that will be awesome.

@Ma63d If you take this project indirection of knowledge base docs instead of just blogs, that will be  awesome since there is not much better knowledge base open source projects. But we have too many static blog tools.

I understand your needs. But the blog is created just for personal presentation. If I upgrade it to an multi-user blog, the total blog need to be fully changed and recreated, including the table of database, the backend logic and  UI.
I've designed some functions based on my previous experience in writing blog posts to make the blog conveniently used. For example, this blog admin is like a note app,  which means you can write a note and whenever you think the content has substantial content and depth, publish it. So as far as i am concerned, the blog is convenient.
If I change it to knowledge base docs, some functions must be off and the blog will get more difficult to use than now.
There are a lot of open-source multi-user blog projects, such as b2evolution, LifeType.More generic, wordpress, duraple both meet your need. And this: koa blog.
By the way,  I think confluence is the best one for your internal docs and team collaboration.

@Ma63d Yes you are correct. I agree with you. I also really love the concept of writing my blog just like a note. I might be wrong because I was thinking that it will be useful for other support docs purpose too.
Okay. Now lets focus on migration alone.

@fizerkhan I recently wrote a multi-user blog based on vue2.1, https://github.com/ZinCode/vue-ssr-blog-client
Currently the project is still under development, you can focus on this project, a few days later this project will be on the line, forgive me English slag

@ZinCode Thanks. For me too, English is the second language. Unfortunately I don't know Mandarin. However I will take a look at it.

BTW , Is there any plan to migrate a Koa 1.x app to 2.0?
Wish all the best for your master paper @Ma63d

Thx @Hellowor1d .
Migration of Koa 2.x is important but not difficult. The next version will both upgrade Vue, koa and use SSR.

^^厉害了老铁，先star了，等你升级完毕，期待能给出攻略

@sfyr111 已经在抽空升级了，可以查看 v2 分支。server 端改动了一下，升级了 koa v2， 重新设计了一下代码逻辑，加入了评论功能，封装了 schema 层 和加入了切面编程。前端也还在改。admin 部分的 vue v2改造还没完成。最近入职蚂蚁金服这边，最近怕是没时间再改了，只能后续再加油。
目前的升级计划如下：

升级 vue 全家桶至2.x版本
升级 koa 至2.x版本
升级 webpack 至2.x版本
增加服务器端渲染( SSR )
增加 PWA , 主要是推送功能与启动页
自己手动实现评论功能
样式小幅更改
将1.x版本中考虑的[隐藏已发布文章]功能完成
增加打包完成后的 CDN 上传配置
上HTTPS
可能 基于七牛云 API 实现图片粘贴上传功能, 极简图床这次更新是在太傻逼, 不想用了, 有余力就自己搞粘贴上传

兄弟，你是入职的蚂蚁金服是杭州么？北京有分部么？token登录这我看你的代码，有个问题：
就是token在后台路由中写了一个router.get('/tokens/check',mw.verify_token,check); 这段代码没有看懂，作用是？验证token不是在前台请求头中，发到后台了么，这个是不是调试时拉下的？要不就是有作用没有看明白

@jixianu check 是单纯用来测试 [带了 token 的话是否能通过外部 mw.verify_token 的检查正确抵达业务逻辑]，确实是单纯 debug 用的，因为上线之后也依然用这个接口进行测试了一下。所以就在 master 分支里保留了。最近升级 v2 分支时已经干掉了。
建议不要看 master 分支的代码，最开始写的时候，写的很急，几乎所有的逻辑都在 controller 层，model 层实则只是个输出 ORM 的摆设。业务报错、校验等逻辑都没有切分。controller层又重又乱。 v2 分支改善了这些问题。
但是 v2 分支最近只是改完了 server 部分和 一些 admin 部分，暂时停滞着。


Fix latex blocks in lists

Currently latex display equations do not work inside markdown lists. Currently we work around this using HTML tags within the markdown, but this PR makes a small modification to the converter (just preserving the indentation) to fix the problem.
Changes

Modified the converter to preserve indentation of latex blocks.
Moved the few cases of latex inside lists to markdown instead of HTML.

Additional details
Tests are currently failing but should be fixed by #1617

@frankharkins thanks. i've merged #1617 but this now has merge conflict which i didnt want to attempt to resolve (figured it best if you resolved)


FRENEMIES FEATURE

Description
There are people that I don't want to meet at a conference. Jerks, ex-lovers, scammers, stalkers, etc.
Tag someone a frenemy. They won't know that you've tagged them and you'll see a number on a conference indicating the number of frenemies attending.
This won't show who is attending, just the number. This protects your frenemies from stalking.
Great warning/error copy: "There is someone you don't like at this conference."

Idea from Apoc

Could this be used for stalking? Tag the one target a Frenemy, and you can see their location, even if it's hidden. It's painful to visit each event to see if they're going, but possible.
Should we respect Frenemy permissions around locations?
Can blocking block Frenemy counts?
Checking they have x frenemies before displaying the message doesn't help - they could make fake accounts to pad the number.


[REQUEST] --write-single-json argument

I think it would be helpful for there to be a version of --dump-single-json that wrote the progress to the STDOUT like normal downloading operations, but wrote the JSON file to disk like --write-info-json. This would essentially be --write-info-json for playlists and channels. I am currently writing a website that will use youtube-dl for its youtube video downloading, and video/playlist/channel information gathering. Having this option will allow me to monitor the progress of the information updates easily, which i cannot do with --dump-single-json.
Thanks,
John Lage

This would be less necessary if something solving #2867 was created, but if that is not possible, that is fine.

Do you want the file to be written with the full playlist (at the end) or that each time a video is downloaded the json file is updated?

Either one of those would work, but I guess lets go with the write every
time a video downloads option.
Thanks

--
John Lage


Fix some path verify logging

NOTICE[Wed Jun 30 13:32:22 2021]: Route len 4 is not 4 for purpose...

client rend: C -> G -> L2 -> Rend
client intro: C -> G -> L2 -> M -> Intro
client hsdir: C -> G -> L2 -> M -> HSDir
service rend: C -> G -> L2 -> M -> Rend
service intro: C -> G -> L2 -> M -> Intro
service hsdir: C -> G -> L2 -> M -> HSDir


Uploading built artifacts on travis-ci.com

I've created a mechanism to upload built artifacts on travis-ci.com for release tags.
Related to #15.

Thanks!


Player stalls when playing multi-period live DASH with CDN failover

Have you read the Tutorials? Yes
Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? v4.0.1
Please ask your question
I have setup two DASH streams, assuming:

Stream A: example-01.com/manifest.mpd
Stream B: example-02.com/manifest.mpd
CDN: cdn-example.com/manifest.mpd

The CDN will automatically switch from A to B if A fails
Spec:

Absolute timestamp enabled
Multi-period live stream
Both streams have same representation IDs

Scenarios:

When I have period IDs from A and B in sync, playback is smooth after failover

In sync here means playing period 1 in A is same as playing period 1 in B

When I have period IDs totally out of sync, playback is also smooth

Manifest A has periods [2,3,4,5,6], while B has [12,13,14]
Period 6 in A -> failover -> Period 14 in B -> still plays fine

When I have them "partially" in sync, player stalls

Manifest A has [1,2,3,4,5,6], while B has [1,2]
Period 6 in A -> failover -> Period 2 in B -> stalls

The only error I get is:
Assertion failed: Should not see evicted segments after available segments
I'm planning on fixing such issue but no idea yet

Found that when there's same period ID with totally different segments, the segment indices will have mixed references from both old and new manifests. The index order is also wrong, causing get() to return the wrong segment reference.
I'm planning on adding checks before returning reference from the iterator (perhaps checking the time required against the startTime and endTime in the returned segment reference). Please leave a comment if you have any better idea.
Screenshot for reference:
(Logged the segmentIndex when calling segmentIndex.get)
(note #0 and #1, where #0 is from same period ID but old manifest and #1 is from new)

When I have them "partially" in sync, player stalls

Manifest A has [1,2,3,4,5,6], while B has [1,2]
Period 6 in A -> failover -> Period 2 in B -> stalls

I could be wrong, but I think this is outside of what's allowed in the DASH IOP.  Period IDs are meant to be unique and stable throughout the presentation.  So I believe your CDN failover needs to be fixed to account for that.

@joeyparrish thanks for the feedback. I wonder if that's a good idea to check the time range from the returned segment reference from segment iterator against the presentation time required. Then if it's not within the range, I'll assume the segment iterator/indices/references are invalid, and do the followings:

Clear the period combiner in dash_parser
Period combiner variants will be updated by the new manifest
Getting variants from the period combiner
Replace the old variants with the new ones in ABR manager
Get the suitable variant from ABR manager
Call switchVariant in streaming engine

Although the playback works after the above actions, I'm not sure whether such fix is appropriate/considered good practice.

Maybe the figure will describe the issue better:

Assume period 1 has 2 segments and evicted
We are playing Period 3 Segment 6 (Index #5, 6th segment overall)
At t = 9, failover triggered
We want to get the next segment with index #6
There are only 2 segments in period 1, 4 segments in period 2
New index = (6 - 2 - 4) = period3[0] = 1st segment, period 3
Yields Segment 5'
We get incorrect segment 5', instead of segment D'
Player stalls, and also segment requests return 404 error

I don't think that's something we want to do in mainline Shaka Player.  If your content is well outside of DASH IOP guidelines and the change to support it is non-trivial, our policy is generally to reject those changes.
You may choose to maintain your own fork of Shaka Player to do as you described, but I would recommend instead that your encoder should be fixed to comply with DASH IOP.  The key phrase in IOP is "Interop".  You can do a lot within the DASH spec, but if you want your encoder to interoperate with other off-the-shelf components like Shaka Player, you need to restrict your content in certain ways to make that more feasible.
We apologize for any inconvenience this may cause you.


port to windows

due to an upstream issue in https://github.com/google/gopacket/issues/456 (or should I say npcap?) and https://github.com/golang/go/issues/35095 , device can't be found properly, making pcap unable to open device.
one temporarily solution is to match the ip address of device(pcap) and interface(net), but the problem is eapol could be used in a situation where the user isn't privileged to gain a ip address until logged, it's quite disturbing.

forget about it, let's just add another item in config.toml xd

resolved by https://github.com/diredocks/nyn/commit/9f94ea6b0cefbce635eae3653eb28eb7e6a90bfd


table results labelled as text get unnecessary transformed into loot items

When a better rolltable has a text result it gets transformed into a loot item, this also removes references to items or actors within that text.

Second this issue. Only work-around I've found is - for all text tables anyway - change them back to a default table. Of course this does not help with mixed tables as in the screenshot in the original post.
A fix for this would be great as long text results in Better Tables are currently unusable.

Thanks for your feedback! This issue will be fix in the next release. I also change font size when result is plain text:


Missing aswf/ci-ocio:2020 images in DockerHub

OCIO master now has Python 3 support, but in updating our CI (we moved to GH Actions) I noticed there are no aswf/ci-ocio:2020 images available in DockerHub. I dug through this repo trying to identify where this could be resolved, but it seems like it should be supported already? Thanks for any insight!

Indeed the PR to add these missing images was merged yesterday, but rebuilding all the packages takes a long time on my home machine... All 2020 images are now published as of a few minutes ago though, so things should be OK now!

Ah, thank you very much @aloysbaillet ! I see them there now. Much appreciated!


Set Power Level

Have you had any luck of writing or setting the power level on this module?

yes. Only did rough tests though. Will update software to include TX power adjustment soon ish.

code updated. Now includes TX power level adjustment @tekollt

Thanks for notifying @tmanabc123 , i do currently experiment with the same family reader but the 507 but find the documentation a little off.
Not sure about you, but i am curious if they have implemented the entire ISO requirement for 18000-6 as described. I don't see it handle anti collision and multi-tag read very well , this even goes for their bundled software


Check correlation of most important features

The features we have may represent more than just their named feature due to correlation. For the most important features in our models, we can check their correlation matrix.

Table with rows as the selected features and 2 sets of columns:

features that are not in the model and correlated > 0.9
features within the model that are correlated


add extra useragent.

Hi.
My crawling process includes many requests and despite using a fake, my IP is still blocked.
Please add more fake users like iPhone and Android devices fake user agent.
For example, look at the fake useragents on this site:
And please add the ability to delete a fake useragent from list of fake useragents; in order to prevent this fake user from being used again;
and to avoid being blocked.
Thankful

Maybe you should also try to limit the requests / seconds / minutes you do. Since your IP is banned now, no fake useragent strings will help you with that.
If you are using scrapy for example, you have an option like DOWNLOAD_DELAY:

The amount of time (in secs) that the downloader should wait before downloading consecutive pages from the same website. This can be used to throttle the crawling speed to avoid hitting servers too hard.

If however, you use your own script consider adding sleeps to your crawling process.

Also are you using Amazon AWS?

Also are you using Amazon AWS?No. I am not.

I use the googlesearch library python, which is based on requests and beautifulsoup; And I have also used time.sleep.
Actually; I have an API that receives almost 200 Google page links per request, and I get blocked with more requests.
The IP will be blocked for a few hours, and after that you can request it again.(The duration of the blocking is not known)
I am trying to prevent IP banning by using fake useragent and proxy.
The number of your fake useragent is 260, (and I choose them randomly); while some fake useagents may be used several times, so I need more fake useragent;
I wish the number could be increased to 500.
thanks for the help.

Related to: https://github.com/fake-useragent/fake-useragent/issues/109
and: https://github.com/fake-useragent/fake-useragent/issues/61
We want to switch to another source and also add mobile platforms.


Vulnerability issue under version 2.1.0

under the following dependencies:
opencensus 2.1.0 -> jaeger 0.2.1 -> jaeger-client-go-2.28
can you please assist?
thanks!

Closing, vulnerabilities are fixed and up to date in the latest release.


Add field for email address in bug report form

Sometimes a bug will only affect a specific account, would be good to know who exactly is experiencing the problem.

Fixed.


Clean up rest api classes (final part)

Description
REST API clean up continuation.
Main differences are:

Using functional approach to handle requests instead of inheritance  which (IMHO) simplify code support and reading
All checks and verification stay the same, I only changed names.

Note: the PATCH I will add a bit later. I found some not nice thing in tests (I want to verify it first) which I would like to address separately.
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peternied and @cwperks as i promised. So far all methods aka CRUD. PATCH will be added a bit later.

I fixed current failures

Renamed methods:

getResourceName -> getConfigurationName
getConfigName -> getConfigurationType

@willyborankin I got an email about a comment, but cannot see it any longer:

Renamed methods:
getResourceName -> getConfigurationName
getConfigName -> getConfigurationType

I like the getConfigurationType (or getConfigType) name as it connects to CType well.
Likewise getConfigEntryByName could work for getResourceName, but I am also fine with getResourceName as well. What should we call a single entry in one of the sections of the security config types (internal_users, roles, roles_mappings, etc.)? Should these generally be referred to as ConfigEntries or as resources?

@willyborankin I got an email about a comment, but cannot see it any longer:

Renamed methods:
getResourceName -> getConfigurationName
getConfigName -> getConfigurationType

I like the getConfigurationType (or getConfigType) name as it connects to CType well.
Likewise getConfigEntryByName could work for getResourceName, but I am also fine with getResourceName as well. What should we call a single entry in one of the sections of the security config types (internal_users, roles, roles_mappings, etc.)? Should these generally be referred to as ConfigEntries or as resources?

Yes I reverted found a bug.
Names closer to your suggestion. getConfigName -> getConfigType. A signle entity name I use so far entityName :-) .

Hi, @peternied and @cwperks.
I finished and address changes we discussed.
Changes:

added PATCH
removed all dead code
removed spotless on/off

Added a common EndpointValidator class which uses for all HTTP methods and validate configuration before it will be processed by HTTP response. So PATCH now uses the same set of validations rules as for PUT and DELETE methods.

@willyborankin This PR looks good to me. I like the change this introduces to reduce the amount of notImplemented around the concrete APIs.
What work is remaining before marking this ready for review?

I'm going to add 1 test and open it as ready for review

I don't think we should change when bouncy castle is initialized, doesn't seem needed for this PR. Looks like there might be some tests issues, but once CI is green, looking good to merge from me.
Note; For this latest commit there was a whole host of 'not covered' errors, I've created a PR to prevent these false positive scenarios in the future [1]
* [1] [Retry code coverage upload on failure #3242](https://github.com/opensearch-project/security/pull/3242)

@peternied thank you that you spotted it. I was investigating this problem together with @reta and accidentally added this code to this branch. Sure must be removed and in any case it doesn't solve the problem.

@peternied Thank you the coverage looks better now :-)
Successful in 1s — 83.82% of diff hit (target 62.49%)


[FEATURE] Switch to GH Pages or Publish for Documentation

Scope
Is your feature request related to a problem? Please describe.

After using Publish and GH Pages extensively the past few months, I think that will result in a better flow of documentation than the GitHub Wiki.

Additional context
This is the Javalent Documentation Publish I manage. What is very nice about it, is its very easy to have what you see in your vault, appear in the publish page. We could spin up a GH-Pages, but I'd be willing to help pay for the monthly publish to have that option primarily.
This would also be a way we can show what campaign vaults look like.

[x] #295

@sigrunixia let me understand this a bit better...
You'd like to create a vault with the documentation and use Publish to have it available online?


Initiate work on PutObjectTagging ref PR#71 and issue #72

This fixes issue #72 and builds on PR #71
If the general implementation would work like this as expected, we could extend the test cases a bit and then merge this PR.

Codecov Report

Merging #75 (4d9f6f2) into master (32fb85c) will decrease coverage by 0.20%.
The diff coverage is 63.63%.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@elgohr see this implementation as a first step, your test case is running with this but might be good to check out your real-world case against this to see, whether it actually works and behaves as expected.


”Bâlteni”, ”Cocoreni”, "Moi", "Peșteana-Jiu", "Vlăduleni" are listed in the drop-down menu

Description:
”Bâlteni”, ”Cocoreni”, "Moi", "Peșteana-Jiu", "Vlăduleni" are listed in the drop-down menu alongside their corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Bâlteni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Bâlteni, GORJ (Bâlteni)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Cocoreni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Cocoreni, GORJ (Bâlteni)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Moi" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Moi, GORJ (Bâlteni)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Peșteana-Jiu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Peșteana-Jiu, GORJ (Bâlteni)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Type "Vlăduleni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Vlăduleni, GORJ (Bâlteni)".


Documentation: ReadME docs missing architecture overview

https://github.com/aws-samples/aws-serverless-developer-experience-workshop-python/tree/develop/unicorn_contracts#readme
https://github.com/aws-samples/aws-serverless-developer-experience-workshop-python/blob/develop/unicorn_properties/README.md
https://github.com/aws-samples/aws-serverless-developer-experience-workshop-python/tree/develop/unicorn_web/README.md

Resolved in #21


Loading labeled dataset error with path -- pytorchvideo.data.labeled_video_dataset: Failed to load video with error: "Kinetics700_2020/kinetics700_2020/kinetic_validate/shining flashlight/6qM_YEFgMV8_000149_000159.mp4" not found.; trial 0

Question on how to load labeled dataset correctly in PyTorchVideo
Related to issue: https://github.com/facebookresearch/pytorchvideo/issues/50
I am still trying to get the labeled dataset loaded correctly. It still does not recognize the paths given, even though I am following the instructions above. What is the correct way to provide the video path in order to load correctly in:
self.train_dataset = LimitDataset(  pytorchvideo.data.Kinetics(                                                         data_path=os.path.join(self.args.data_path, "train.csv"),                                                         clip_sampler=pytorchvideo.data.make_clip_sampler(  "random", self.args.clip_duration  ),                                                         video_path_prefix=self.args.video_path_prefix,                                                         transform=train_transform,                                                         video_sampler=sampler,  ) )
See setup of paths and locations below:
pytorchvideo.data.labeled_video_dataset: Failed to load video with error: "Kinetics700_2020/kinetics700_2020/kinetic_validate/shining flashlight/6qM_YEFgMV8_000149_000159.mp4" not found.; trial 0
In validate.csv file:
Kinetics700_2020/kinetics700_2020/kinetic_validate/shining flashlight/6qM_YEFgMV8_000149_000159.mp4 134
Location of video:
/content/gdrive/MyDrive/Deep_Vision/PyVideo/Kinetics700_2020/kinetics700_2020/kinetic_validate/shining flashlight/6qM_YEFgMV8_000149_000159.mp4
Current working directory:
/content/gdrive/MyDrive/Deep_Vision/PyVideo
Datapath:
--data_path 'Kinetics700_2020'
Video datapath: none
--video_path_prefix ""
I have tried various combinations between video_path_prefix and the paths of the videos in the csv files, but still get the same error. I have also checked that the video is in fact in the path shown.
I appreciate in advance the help.

I have the same. Any solutions?

Basically, the paths are computed here.
In your case self._path_prefix is '' and path is provided by the csv file as Kinetics700_2020/kinetics700_2020/kinetic_validate/shining flashlight/6qM_YEFgMV8_000149_000159.mp4
Have you tried the absolute path video_path_prefix to the root video directory? Also, I understand that you want to use the relative path but you probably need to indicate you want to use a relative path. Based on your working directory and the paths you provided, here are the two options you can try:

absolute path: --video_path_prefix '/content/gdrive/MyDrive/Deep_Vision/PyVideo/'
relative path: `--video_path_prefix './'

@juliendenize Thanks for replying it. Yes, please make sure if you provide the right absolute or relative path for the videos.


Investigate how often the openstack test fails

do not merge this ever

50 successful attempts? I find it hard to believe :D

They added more hardware to the PSI this weekend, maybe this issue might be gone without any changes on our side...

Thanks for looking into this. How about we make the openstack not actually fail CI, but instead just count how often it fails/succeeds in our regular runs, and if we see the stats improve we can reenable it?

See #1254


Style problems, borderRadius not working

There seems to be a problem with the style: if I pass style={{ borderRadius: 20 }} nothing happens. I would expect the image to have rounded corners now. Am I right that this is currently not possible or am I doing something wrong?

Hi @Baer05, if you add overflow: “hidden” does it round the image?

Hi @efstathiosntonas, thanks for the super fast response... with overflow:hidden it works as requested. Thank you for your help

You're welcome @Baer05, glad you sorted it out. The overflow thing is a quirk or react-native Image component when using radius on images, it's been around for ages 😄

Ran in to the same issue ... This worked great - thanks!

Unfortunately, this doesn't seem to work for me. Has something changed around this subject?

Hi @Thijmen, nothing has changed 🤷♂
Can you share your code?

Hi @efstathiosntonas, sure;
 <CachedImage
        source={'https://placehold.co/600x400/000/FFFFFF.png'}
        style={{ height: 200, width: 200, marginLeft: 50, borderRadius: 20, overflow: 'hidden' }}
      />
      <Image
        source={{ uri: 'https://placehold.co/600x400/000/FFFFFF.png' }}
        style={{
          height: 200,
          width: 200,
          marginLeft: 50,
          borderRadius: 20,
          overflow: 'hidden'
        }}
      />

Above code results in:

Following code leads to this screen:
  <View>
      <View style={{ overflow: 'hidden' }}>
        <CachedImage
          source={'https://placehold.co/600x400/000/FFFFFF.png'}
          style={{ height: 200, width: 200, marginLeft: 50, borderRadius: 20, overflow: 'hidden' }}
        />
      </View>

      <Image
        source={{ uri: 'https://placehold.co/600x400/000/FFFFFF.png' }}
        style={{
          height: 200,
          width: 200,
          marginLeft: 50,
          borderRadius: 20,
          overflow: 'hidden'
        }}
      />
    </View>

if you also give borderRadius:20 on View?

Leads to the same result:
import { Image, View } from 'react-native'
import { CachedImage } from '@georstat/react-native-image-cache'

export const TestScreen = () => {
  return (
    <View>
      <View style={{ overflow: 'hidden', borderRadius: 20 }}>
        <CachedImage
          source={'https://placehold.co/600x400/000/FFFFFF.png'}
          style={{ height: 200, width: 200, marginLeft: 50, borderRadius: 20, overflow: 'hidden' }}
        />
      </View>

      <Image
        source={{ uri: 'https://placehold.co/600x400/000/FFFFFF.png' }}
        style={{
          height: 200,
          width: 200,
          marginLeft: 50,
          borderRadius: 20,
          overflow: 'hidden'
        }}
      />
    </View>
  )
}

@efstathiosntonas Am I doing something wrong? Are you able to reproduce?

Can we re-open this issue? Currently using react-native 0.72.6 and version 3.1.0 of this package.

I had this problem but it was fixed when I set the resizeMode of the CachedImage to "cover".

Yes, that seems to work for me too @pierre-softimpact! Thanks!


DRILL-7443: Enable PCAP Plugin to Reassemble TCP Streams

One common task in network forensics is reassembling TCP streams from captured network data.  This PR adds this capability to Drill.
Usage
To enable TCP re-sessionization, in the configuration for the PCAP reader, simply set the variable: sessionizeTCPStreams to true.
This can also be accomplished at query time by using the table() method.
SELECT * FROM table(dfs.test.`attack-trace.pcap` (type => 'pcap', sessionizeTCPStreams=> true)}

Results
When this option is enabled, Drill will ignore all packets that are not TCP packets.
Executing a query with this option enables changes the results Drill will return from PCAP files.
You will get the following columns:

session_start_time:  The start time of the session
session_end_time:  The ending time of the session
session_duration:  The duration of the session. This will be a Drill PERIOD datatype.
total_packet_count:  The number of packets in the session
connection_time:  The amount of time it took for the TCP handshake to be completed.  Useful for network diagnostics
src_ip:  The IP address of the initiating machine
dst_ip:  The IP address of the remote machine
src_port:  The port of the originating machine
dst_port:  The port of the remote machine
src_mac_address:  The MAC address of the originating machine
dst_mac_address:  The MAC address of the remote machine
tcp_session:  This is the session hash for the TCP session.  (Long)
is_corrupt:  True/false if the session contains corrupted packets
data_from_originator:  The data sent from the originator
data_from_remote:  The data sent from the remote machine
data_volume_from_remote: The number of bytes sent from the remote host
data_volume_from_origin:  The number of bytes sent from the originating machine
packet_count_from_origin:  The number of packets sent from the originating machine
packet_count_from_remote:  The number of packets sent from the remote machine

+1, LGTM


OpenIdConnectParameterNames.ExpiresIn property is null

After a user has been logged in, I attempt to get the value of:
HttpContext.GetTokenAsync(OpenIdConnectParameterNames.ExpiresIn)
which always returns null.
However the following returns a value:
HttpContext.GetTokenAsync(OpenIdConnectParameterNames.AccessToken)
I would like to check whether an access token is expired before trying to use it. How can I retrieve the value of HttpContext.GetTokenAsync(OpenIdConnectParameterNames.ExpiresIn)?

If you have your CognitoUser, you can get the expiration time via CognitoUser.SessionTokens.ExpirationTime

Thanks. It worked.


Wildcards for subfolders using concact and other tasks?

Is there any way to do something lik /foo/bar/**/* in robo? gulp allows me to read a whole folder including subfolders this way.
I've just checked the code and it doesn't look like it's possible. Could I create a PR that will add that feature to the concat task?

Nevermind, figured it out.


Support Scala 3 on Scala.js

@lolgab, what is your preferred way to proceed here. Should I merge and publish, or would you like to?

@jodersky Whatever you prefer. Let's merge it


Generic inter-core FIFO

This is more like a discussion than an issue, Read the code for Sio and specifically SioFifo.
I was trying to find an inter-core fifo example where instead of a u32 type there is sort of a generic or bytes that I can send and pull. Then I noticed that the SioFifo::write(&mut self, value: u32) only writes bytes to a memory location, and instead of using a generic type the author has gone for a u32. Is there a reason for this u32 usage instead of a generic one?
If it's doable, I am more than willing to contribute and make an infra that supports generics.

It may be better for both usability and performance to use the SioFifo only for coordination purposes, and do the actual data transfer by passing pointers to memory locations. But I'm not aware of any actual implementations. So having some practical examples would be very welcome!

I am working on giving some examples, I don't think the implementation would differ from the one we have now but don't take my word for it I am a novice in Rust.
I will share here If I managed to pull up something, hopefully this weekend.

The Fifo is based on a single register? couldn't we just have used a small portion of the stack for this?


SimpleInjector IoC implementation

Remove need to instantiate proxies

Not needed, using the built-in ASP.NET core IoC solution.


InvalidCastException when accessing enumerator

I'm trying to get a value from my collection. I made a totally new database and inserted a model  consisting only from plain getters and setters with default C# types (string, DateTime, int).
When I try to access this with some enumerator (I hunt it down from using FindAll().ToList()) I get the following error:

System.InvalidCastException: Specified cast is not valid.
at System.Nullable1[T].Unbox (System.Object o) [0x0000d] in <58604b4522f748968296166e317b04b4>:0
at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
at LiteDB.BsonMapper.DeserializeObject (System.Type type, System.Object obj, LiteDB.BsonDocument value) [0x0008b] in <9e5fde0ddc6f45bfbe6bed2535394f2f>:0
at LiteDB.BsonMapper.Deserialize (System.Type type, LiteDB.BsonValue value) [0x00202] in <9e5fde0ddc6f45bfbe6bed2535394f2f>:0
at LiteDB.BsonMapper.ToObject (System.Type type, LiteDB.BsonDocument doc) [0x00028] in <9e5fde0ddc6f45bfbe6bed2535394f2f>:0
at LiteDB.BsonMapper.ToObject[T] (LiteDB.BsonDocument doc) [0x00000] in <9e5fde0ddc6f45bfbe6bed2535394f2f>:0
at LiteDB.LiteCollection1+d__17[T].MoveNext () [0x00090] in <9e5fde0ddc6f45bfbe6bed2535394f2f>:0
at DieselApp.Controller.Data.OrdersController.LoadOrdersAsync () [0x00257] in C:\PROJECTS\MRD\DieselAppV2\Frontend\DieselApp\DieselApp\Controller\Data\OrdersController.cs:45`

I have to add that I use "Nullable<>" for every datatype (that is not nullable by default).

I figured it out with the sourcecode.
I changed the datatype of an property from an enum to a plain int. The enum-string-value was still stored in the database and when the engine tried to parse the string to an int? it failed, of course.
The location is BsonMapper.Deserialize.cs:DeserializeObject(Type, object, BsonDocument):Line 258.
The function is member.Setter(obj, this.Deserialize(member.DataType, val));


All github-links regarding reporting examples in the documentation lead to 404 errors

Citrus Version
3.2.1
Expected behavior
Proper links to the reporting template examples on the Citrus Framework Github
Actual behavior
The links to the template examples lead to 404-page not found errors on your github
Test case sample
First test case:
Click on the "report-templates resources"-link here https://citrusframework.org/citrus/reference/3.2.1/html/index.html#html-reports
this leads to to this page, which doesn't exist:
https://github.com/citrusframework/citrus/tree/master/modules/citrus-core/src/main/resources/com/consol/citrus/report
Second test case:
Go to this page: https://citrusframework.org/samples/reporting/
Click on the link "resources/citrus-application.properties." halfway down the page.
This leads to this page, which also doesn't exist:
https://citrusframework.org/samples/reporting/src/test/resources/citrus-application.properties
Third test case:
Go to this page: https://citrusframework.org/samples/reporting/
Click on the link that says "this sample’s github repository",
this leads to this page:
https://citrusframework.org/samples/reporting/src/test/java/com/consol/citrus/samples/todolist/reporting/ExtentReporter.java
And that too does not exist.

I believe I may have found the new location of the first link (but I don't know for sure):
https://github.com/citrusframework/citrus/tree/main/core/citrus-base/src/main/resources/com/consol/citrus/report
Did citrus-core get renamed to citrus-base at any point in time?


extensions::uncaught_exception_handler:8 Error in event handler for (unknown): TypeError:

extensions::uncaught_exception_handler:8 Error in event handler for (unknown): TypeError: Cannot read property 'size' of undefined
at chrome-extension://ldacmkkiekeppnjkkmffnkfklhkpmcih/scripts/api.js:291:27
at chrome-extension://ldacmkkiekeppnjkkmffnkfklhkpmcih/scripts/api.js:268:11
at chrome-extension://ldacmkkiekeppnjkkmffnkfklhkpmcih/scripts/api.js:41:7

Thank you for the stack trace. I will take a look!
Can you also share…
Chrome version:
Operating System:
Computer type:
URL for page being captured:

@strongant ping 🍍

I use your CaptureAPI Complete the screen capture,Encountered this problem.

@strongant can you also share…
Chrome version: ??
Operating System: ??
Computer type: ??
URL for page being captured: ??

Chrome version: 52.0.2743.116 m (64-bit)
Operating System: Ubuntu
Computer type: HASEE
URL for page being captured: http://www.taobao.com/

Great, thanks for the response. It’s not happening for me with the same chrome version and site on my MacBook running OS X. This happens for you with any URL you try? (I’ll have to try it out on Ubuntu when I get a chance!)
Also, I released v2.0 of the extension just now. Whenever that shows up for you in the app store, can you try that and see if it makes any difference? https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?authuser=1


Code cleanup

Ensure that the code has consistent style by using code formatter, such as JuliaFormatter.
Closes #203

@tlienart Here's a draft PR to look at JuliaFormatter. I tested this on Constant.jl. If there's any other file you want me to test this with, kindly let me know! :)

did you try playing with the parameters a  bit? I like the idea that the formatter would  just get "everything in the same style" (though it  doesn't seem to like vertically  aligning  = signs which I find to  sometimes help with readability (e.g. in metadata); this is a matter of personal preference though, same with the way it handles brackets).
I kind of wonder whether this is worth the effort. Generally we do want something close to it but also flexibility for whatever may  (subjectively) help readability locally.
What do  you think? (and thanks!)

@tlienart The PR's generated from default setting, but here's the list of options that we can modify.
It seems that there is no option to align = vertically and I agree it's nice for metadata or something like that. With that said, we generally only want this in specific block of code and we can always skip the formatter for that block (See here).

Oh that makes sense, well then I'm happy for you to go ahead when you have the time, and use your judgment in terms of where it makes sense to leave the formatting as is, thanks a lot!

I'm closing this old PR to remove clutter. Feel free to re-open.


[Backport 2.3] Update nginx to latest version available

Related to: https://github.com/rancher/rancher/issues/26377
https://github.com/rancher/rancher/issues/26957

Validated in v2.3.8-rc3

Validated nginx-ingress-controller image used is: rancher/nginx-ingress-controller:nginx-0.32.0-rancher1
Comes up successfully using all kubernetes versions (v1.17.6-rancher2-1, v1.16.10-rancher2-1, v1.15.12-rancher2-2) with all different network providers (canal, calico, weave, flannel)


Undefined macros problem

Hi @pablogs9 , i am trying to port this code to Olimex board, i have some issue with the macros defined in kobuki_platform.h such as CONFIG_KOBUKI_UART_PORT,CONFIG_KOBUKI_UART_TXD,CONFIG_KOBUKI_UART_RXD,CONFIG_KOBUKI_UART_BUFFER_SIZE etc. Kindly let me know in which reference you have used this variables to initialize the macros. Whether they are initialized during runtime or they are ESP platform oriented data.
Eager for your reply :))

You don't need to use these macros or these files.
If you want to port this library just modify kobuki_init_serial, kobuki_write_bytes and kobuki_read_bytes with your Olimex code and it should work.
Remove the macros that are not used or giving problems.

Thanks @pablogs9 , i will remove these files, these are the the function which i am also making the changes, i have kept all the headers for compilation which i thought will have some dependency, one more doubt which i have is  kobuki bringup part in the code. Can you point out the code used by for this purpose.

Could you be more specific, I don't understand the question.
You have sample code here: https://github.com/pablogs9/kobuki_espidf_component/blob/main/examples/basic_movement/main/main.c

Ok, sorry for that. normally while running kobuki turtlebot2 package in ROS1, we launch a script file to bring up the kobuki robot, such a code i didn't understand from your code. Can you point out that?

But this is not a ROS library, this is just a C99 library that interfaces with the Kobuki serial interface, in this case in the ESP32.
So you have an API for sending and receiving messages from the Kobuki in your MCU.

@pablogs9 , you have used mutex_lock and mutex_unlock in kubuki.c, is it necessary, i didn't got the logic behind.

They are necessary since kobuki_loop is going to run in a thread and kobuki_set_speed_command is going to be called from another thread and should be synchronized.

Ok, that resource sharing has to be done by the RTOS right? these are linux API's right?

i included the mutex lock, but the arm cross compiler is showing an error undefined reference to pthread_mutex_lock' `

This a component for ESP32 and IDF which is not an ARM architecture. I guess that you should use the mutex implementation of your RTOS.

I removed the mutex implementation and compiled the file and i flashed the board with the elf file. connected with the microROS agent in laptop using a usb uart bridge and the listed ros2 topic list. am getting the following topics
 and while echoing the topic /cmd_vel its showing no msg

cmd vel is a should be a subscription

i mean the robot will not send cmd vel, will receive cmd vel

I connected with the robot its not getting command

You mean this right
RCCHECK(rclc_subscription_init_best_effort(
		&cmd_vel_sub,
		&node,
		ROSIDL_GET_MSG_TYPE_SUPPORT(geometry_msgs, msg, Twist),
		"cmd_vel"));

Yes, but this micro-ROS issues should be in a micro-ROS repo, not here.

Sorry mistakenly closed the issue, i am keeping it open here

Hi @pablogs9  i am trying this on ESP32 board while building i am getting this erros

Hi @pablogs9, i am writing a custom driver for kobuki, i tested your kobuki esp demo and the code running perfectly, i just took a frame from the esp uart and i am listing it here, AA 55 05 01 04 64 00 00 00 67, i am confused whether 67 is the CRC for the frame. Can you show which CRC algorithm is used here. i checked with XOR all the bits but didn't get 67 hex


fix: updates updateNotifier version

Description of changes

update update-notifier package version

Issue

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10691 (343e7f2) into dev (171f51a) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev   #10691      +/-   ##
==========================================
- Coverage   47.37%   47.35%   -0.02%
==========================================
  Files         669      668       -1
  Lines       33063    33052      -11
  Branches     6671     6670       -1
==========================================
- Hits        15663    15653      -10
+ Misses      15722    15721       -1
  Partials     1678     1678

Impacted Files
Coverage Δ

packages/amplify-cli/src/version-notifier.ts

...li/src/domain/amplify-usageData/getUsageDataUrl.ts
100.00% <0.00%> (+12.50%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Enforce + Autoclass: AttributeError: 'functools.partial' object has no attribute 'enforcer'

This works:
from autoclass import autoclass, setter_override
from numbers import Real
from enforce import runtime_validation, config
config(dict(mode='covariant'))  # to accept subclasses in validation

@runtime_validation
@autoclass
class HouseConfiguration(object):
    def __init__(self, surface: Real):
        pass

    # -- overriden setter for surface
    @setter_override
    def surface(self, surface):
        print('Set surface to {}'.format(surface))
        self._surface = surface

t = HouseConfiguration(12)

While this throws an exception AttributeError: 'functools.partial' object has no attribute '__enforcer__':
from autoclass import autoclass, setter_override
from numbers import Real
from enforce import runtime_validation, config
config(dict(mode='covariant'))  # to accept subclasses in validation

@autoclass
@runtime_validation
class HouseConfiguration(object):
    def __init__(self, surface: Real):
        pass

    # -- overriden setter for surface
    @setter_override
    def surface(self, surface):
        print('Set surface to {}'.format(surface))
        self._surface = surface

t = HouseConfiguration(12)

The only difference is the order of the annotations on class HouseConfiguration.

After investigation, the 'wrong' order should be forbidden, since otherwise this would lead to non-intuitive behaviours. For example if there is a second attribute:
from autoclass import autoclass, setter_override
from numbers import Real
from enforce import runtime_validation, config
config(dict(mode='covariant'))  # to accept subclasses in validation

@autoclass
@runtime_validation
class HouseConfiguration(object):
    def __init__(self, surface: Real, name: str):
        pass

    # -- overriden setter for surface
    @setter_override
    def surface(self, surface):
        print('Set surface to {}'.format(surface))
        self._surface = surface

t = HouseConfiguration(12)

Then the setter for surface would by checked by enforce, but not the setter for name. For this reason we will detect and prevent such usage by raising an exception when the @autoclass, @autodict or @autoprops annotations are used after enforce decorator, rather than before.


Upgrade Configurator to 0.3.2

Fixed numeric password regression
Fixed list-options (ALLOWED_NETWORKS, BANNED_IPS, IGNORE_PATTERN)
Improved handling of UTF-8 encoded files (minor issue)

Please don't merge yet. There seems to be another issue: https://github.com/danielperna84/hass-configurator/issues/112

@pvizeli
Could you read through the issue quickly? To me it doesn't seem to be an error with the configurator. It's calling the API the same way as before. Did something in hassio with calling the API change? Or may add-ons like pihole break access to the API?

It seems as if updating the supervisor fixed the problem in one case. If this makes sense, then the PR can be merged.


What is the sequence i should follow to build a correct simulation scenario?

Hello Sir,
I have been trying to contact you on your provided email since Sat, 17 Dec 2022, I wasn't lucky to get any response though.
I tried thoroughly to figure out the requested configurations of the attached files and how to run simulations using your helpful guidance.
I wanted to know, after I include normal motes, in order to include the attacker node I have to make modifications to the core files, these files are used by the normal motes as well during the simulation, would modifications affect the normal motes' behavior?
I searched a lot but no answer!
Will you please inform me or provide some guidance on how to sequence the steps to run a successful simulation scenario?

Hi Laileet,
Sorry for the delay in my response.
To give you an overall instruction on what to do:

First, Compile your normal motes using the tools available in Cooja
Then, modify the part of the source code that you need to perform the attack. It will be easier for you to save the modifications in a file with a different name so that you can see the attacker node in a different color in the Cooja simulation.
After these steps, you can add the motes (in my simulation .sky file) and run the simulation.

About your question ("would modifications affect the normal motes' behavior?"), it seemed that it will affect the normal motes if you do not change the name of the modified file. Thus, if you follow the instruction provided above, it should work fine.

Hi @Laileet ,
Sorry for the delay in my response.
To give you an overall instruction on what to do:
First, Compile your normal motes using the tools available in Cooja
Then, modify the part of the source code that you need to perform the attack. It will be easier for you to save the modifications in a file with a different name so that you can see the attacker node in a different color in the Cooja simulation.
After these steps, you can add the motes (in my simulation .sky file) and run the simulation.
About your question ("would modifications affect the normal motes' behavior?"), it seemed that it will affect the normal motes if you do not change the name of the modified file. Thus, if you follow the instruction provided above, it should work fine.

Hi @Laileet  ,
Sorry for the delay in my response.
To give you an overall instruction on what to do:

First, Compile your normal motes using the tools available in Cooja
Then, modify the part of the source code that you need to perform the attack. It will be easier for you to save the modifications in a file with a different name so that you can see the attacker node in a different color in the Cooja simulation.
After these steps, you can add the motes (in my simulation .sky file) and run the simulation.

About your question ("would modifications affect the normal motes' behavior?"), it seemed that it will affect the normal motes if you do not change the name of the modified file. Thus, if you follow the instruction provided above, it should work fine.

Dear Mr. Alireza,
Hope this finds you well.
Ramadan Mubarak.
I've been trying very hard to make the code run but apparently something i'm doing is wrong, I will be gratful if you would point at it:

The files you're requesting to modify are the core files of contiki 3.0 so i copied that file and named each one after the name of RA scenario such as DR-Contiki3.0.
Then, I modified the timers.h and private.h within the new folder DR-Contiki3.0
Then, i placed the DR-sendernode.c into collect view experiement.
Afterward, i created an experiement with normal nodes and sink from origional Contiki3.0 folder and an attacker node from DR-Contiki3.0 folder created with modifications.

Still, Normal scenario and with attack gave same results!
Please point out my mistake.
Regards,
Layla Mohammad
AHSGS - Computer Science PhD

From: Alireza Lotfi @.>
Sent: Tuesday, February 21, 2023 3:40 PM
To: arlotfi79/RPL-Rank-Attacks @.>
Cc: LAYLA MOHAMMAD MAH'D ALQAISI @.>; Author @.>
Subject: Re: [arlotfi79/RPL-Rank-Attacks] What is the sequence i should follow to build a correct simulation scenario? (Issue #1)
Hi Laileet,
Sorry for the delay in my response.
To give you an overall instruction on what to do:

First, Compile your normal motes using the tools available in Cooja
Then, modify the part of the source code that you need to perform the attack. It will be easier for you to save the modifications in a file with a different name so that you can see the attacker node in a different color in the Cooja simulation.
After these steps, you can add the motes (in my simulation .sky file) and run the simulation.

About your question ("would modifications affect the normal motes' behavior?"), it seemed that it will affect the normal motes if you do not change the name of the modified file. Thus, if you follow the instruction provided above, it should work fine.
—
Reply to this email directly, view it on GitHubhttps://github.com/arlotfi79/RPL-Rank-Attacks/issues/1#issuecomment-1438413808, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVQDA6RIFQDUBOBRI7QRV6TWYSZTRANCNFSM6AAAAAAUCTEAKM.
You are receiving this because you authored the thread.Message ID: @.***>


Split tests in Workflow.cpp into multiple files

I've always disliked how big this file is, having tests for all flows. I didn't want to add even more to it for pinning, so I'm splitting it up :)

Created multiple files for each workflow and moved the appropriate tests there based on the tags they had. For example, moved tests tagged [ExportFlow] to ExportFlow.cpp. Tests that were the only ones with that tag, I left in Workflow.cpp
Created WorkflowCommon.h and WorkflowCommon.cpp with just the shared test source/context definition, and common task overrides.
Cleaned up the #includes and usings

Microsoft Reviewers: Open in CodeFlow

It would be so nice if git could see that I'm just moving code around and it could apply the changes automatically instead of having to do it by hand :(
If we want to take this, can we merge it before I get more conflicts?
The test failures from last run seem to have been a consequence of not having #2767, which only hit the tests once they were executed in a different order.

The actual reason for the test failures was fun to find. There were some test hook overrides that were being set and never cleared when the test using them was done. So subsequent tests would still get the behavior from the override. Moving the tests around changed the order and revealed that. Since it was about a test hook override set at runtime, it would only show if executing the two relevant tests in the same invocation and in a specific order. Not having the fix for export settings was just a red herring. (I'll be mad if after this the tests still fail...)


KAFKA-12203 Migrate connect:mirror-client module to JUnit 5

issue: https://issues.apache.org/jira/browse/KAFKA-12203
Only changes the imports and the dependencies.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712 Given the test results for the last build, I think you can merge this, right?

@chia7712 Given the test results for the last build, I think you can merge this, right?

Given the test results for the last build, I think you can merge this, right?

It produces some failed tests but they pass on my local. I want to check QA again :)

Given the test results for the last build, I think you can merge this, right?

It produces some failed tests but they pass on my local. I want to check QA again :)

The failed Streams tests seem unrelated, but they seem to be failing very often.

The failed Streams tests seem unrelated, but they seem to be failing very often.

org.apache.kafka.streams.integration.AdjustStreamThreadCountTest.shouldAddAndRemoveStreamThreadsWhileKeepingNamesCorrect

It is traced by #9888 and #9887

org.apache.kafka.streams.integration.AdjustStreamThreadCountTest.shouldAddAndRemoveStreamThreadsWhileKeepingNamesCorrect

It is traced by #9888 and #9887


Generate files and folders for osi interface

see title

resolved in https://github.com/fortiss/apollo/commit/0af3898e418b5e6cc0ffc1a94a31bbbb91ce1ca0 @katharinakofend @JiajieFortiss


Fix bug that breaks UI after sorting

Problem was that filteredTasks is observed by a lot of different components. Once we create a new instance, it breaks free from all observers.
Solved by sorting the internalList in UniqueTaskList and raising an event when we mutate the TaskManager.

Don't merge this first, I'll write tests to prevent regression!

Coverage increased (+0.1%) to 91.546% when pulling 57e04ef50d2343948bdf5877ceccdc3c21c0ccf2 on sort-command-bug into 36c8022bc0423b208b7533181b444d5f8952dc42 on development.


The use of starred expressions to create data detracts from understanding required data structure

https://github.com/scipy/scipy/blob/01d8bfb6f239df4ce70c799b9b485b53733c9911/scipy/interpolate/interpolate.py#L2369
Starred expressions can't be readily examined. For users who are attempting to familiarize themselves with the required data structures for RegularGridInterpolator, it adds unnecessary additional complexity.
I would suggest creating the meshgrid outside of the function call so that the purpose of the starred expression is more easily understood.
Despite the description of the structure of data below, it is difficult to adapt to unique user use cases.

PR welcome

Great - I will start taking a look.


[New game]: Musical Memory Game

🎮 Game Request
This game challenges players to test their musical memory by matching pairs of identical sounds.
Point down the features
Sound-Based Matching: Players listen to and remember a series of musical snippets, then match them by clicking on corresponding tiles.
Difficulty Levels: Adjust the difficulty by changing the number of sound pairs, the length of the snippets, or the complexity of the music.
Progress Tracking: Monitor the player's performance with a score system, showcasing their accuracy and speed.
Visual Feedback: Provide visual cues to indicate successful matches and highlight incorrect choices.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Harshitmishra001 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Harshitmishra001 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


drop owner_id and owner_name signals

LGTM, however datachain_server needs to be updated as well. Also, I'm wondering about the consequences in terms of backward compatibility: how does this affect an existing datachain install?

Let's merge this together with the path change. So, it will breaks compatibility only once.
Ps: yeah, server fixes

LGTM, however datachain_server needs to be updated as well.

I have an open PR there.

LGTM, however datachain_server needs to be updated as well. Also, I'm wondering about the consequences in terms of backward compatibility: how does this affect an existing datachain install?

That is difficult to say. In a few places, we do select() all columns and pass it to Node directly, so that's where things might fail.

This PR should probably be rebased on top of #263 so we can merge all the breaking changes together.


I wanna Create an RPM Repository for Fedora/RedHat

if you guys allow me to do it, i will create one i guess:)

Well, go ahead. Just make sure the app mustn't be compiled locally. A PR supporting rpm generation would be better.


test with Ruby3.3

Backported to radjabov in commit 3e41edd7d603dafd3e5dc32e9aa4c01bd664561c.
commit 3e41edd7d603dafd3e5dc32e9aa4c01bd664561c
Author: Brandon Dunne<EMAIL_ADDRESS>Date:   Tue Nov 5 17:23:00 2024 -0500

    Merge pull request #85 from kbrock/ruby3.3

    Ruby3.3

    (cherry picked from commit 82cccec35558e1e7e84cb745669803de9178007a)


[Feature] Tap card to transfer to first available position

More Info
Currently, when tapping a card, nothing happens. The expected behavior is to move the card(s) to the first available position, or perform a shake animation of the cards if no moves are available.
Proposed Implementation

[ ] Create environment key & variable \.cardToShake: UUID
[ ] In GameViewModel add variable cardToShake: UUID
[ ] In GameView, set environment variable
[ ] In CardView, access .cardToShake. If cardToShake id is equal to self
[ ] In GameViewModel, add a function makeFirstAvailableMove(for columnIndex: Int, cardIndex: Int) which:

[ ] Iterates through each card stack, finds first available move and performs that move by calling moveCards(fromColumn:, cardIndex:, toColumn:)
[ ] If no move is found, set's GameViewModel's cardToShake to the given card's id

Fixed with https://github.com/mazjap/SpiderSolitaire/pull/11


Remove all instances of pairs()/ipairs() in core modules

pairs() and ipairs() are no longer necessary with the introduction of the __iter metamethod.
Character Difference/Reduction Counts
By how many characters have our file sizes been reduced after killing the pairs? (All figures are approximate.)
Server Modules:
Commands\Admins - 420
Commands\Creators - 30
Commands\Donors - 20
Commands\Fun - 1460
Commands\HeadAdmins - 90
Commands\Moderators - 2320
Commands\Players - 210
Core\Admin - 330
Core\Anti - 50
Core\Commands - 50
Core\Core - 210
Core\Functions - 420
Core\HTTP - 80
Core\Logs - 20
Core\Process - 80
Core\Remote - 150
Core\Variables - 20
Total: 5960 characters
Client Modules:
Core\Anti - 60
Core\Core - 0
Core\Functions - 240
Core\Process - 0
Core\Remote - 20
Core\UI - 70
Core\Variables - 0
Total: 390 characters

I'm reading this next update.


Fix some typos

One more thing, just noticed sorry. Looks like you need to sign your commit :)
Here are the instructions https://help.github.com/en/github/authenticating-to-github/about-commit-signature-verification

@karencfv no problem, should be signed now 👍 thanks!

Thanks @acrewdson !


Please fix by preserving the http referer properly (and respecting cache-control private).

This is definitely a major annoyance. We want some auto badging on pull requests, branch pages, etc that is a snap todo with referrer info included within a private repo of a private organization. Are there any workarounds?

Sorry, I think the perspective here was that we value the privacy of our users more than hacks around them. Unfortunately I left github a few weeks back and wouldn't be able to make the change to their site anyway.

Surely there are ways to value privacy and preserve this?
All you need to do is preserve the GitHub HTTP referer — either for
cached proxy requests or for direct ones. Doesn't need any other info to
work, but it does need to know the repo/branch it's being rendered on.
Sincerely,

Sai

Sent from my phone; please excuse the concision & autocorrect typos.
On Jun 25, 2015 5:31 PM, "Corey Donohoe"<EMAIL_ADDRESS>wrote:

Sorry, I think the perspective here was that we value the privacy of our
users more than hacks around them. Unfortunately I left github a few weeks
back and wouldn't be able to make the change to their site anyway.
—
Reply to this email directly or view it on GitHub
https://github.com/atmos/camo/issues/43#issuecomment-115404489.

I'm sorry but this behavior isn't going away.


Package MNE-Python 1.0 snapshot

Fixes #50
cc @larsoner

@larsoner I'm not updating Python to 3.10 here, as apparently with the huge stack of software we're now including, dependency resolution fails if we use Python 3.10. Hopefully this will be resolved by the time we do the first 1.0-followup release.

I'm not updating Python to 3.10 here, as apparently with the huge stack of software we're now including, dependency resolution fails if we use Python 3.10. Hopefully this will be resolved by the time we do the first 1.0-followup release.

VTK has no 3.10 release, so we're probably stuck for a while. I think it's fine to be on 3.9 for now

@larsoner There are 3.10 builds of VTK on conda-forge. It's none of our MNE dependencies holding us back here, it's one of the other packages we're including in the installer, I just haven't narrowed down which one. But like you said, sticking with 3.9 should be okay for now

Would you know if the latest stable release of MNE-NIRS is compatible with MNE-Python 1.0

Not sure. I can check Thursday and release a new version if required (currently traveling).

Would you know if the latest stable release of MNE-NIRS is compatible with MNE-Python 1.0

Ok, I am back at my desk and can look at MNE-NIRS now. The main branch of MNE-NIRS is compatible with MNE-Python main, it is not compatible with 0.24. The current released version of MNE-NIRS is compatible with MNE-Python 0.24.
I usually wait until MNE-Python cuts a release, then I update the dependency of MNE-Python in MNE-NIRS to match the latest release. In other words, I would usually wait for MNE-Python to release 1.0. Then I will change the requirements in MNE-NIRS to require mne_python >= 1.0 and cut a new release.
Does this answer your question @hoechenberger

Thanks @rob-luke, this helps!

Let me know if you want me to do anything different @hoechenberger

Im really undecided how to go about this! Any chance you'd be able to join us in tomorrow's dev meeting?

The next meeting is in the 26th at 3am AEST?

Sorry, I won't make 3am (usually I can push myself, but 3am is rough :wink:).
If the release of MNE-Python is made on a week day, then I can ensure a new MNE-NIRS is released the following day (if that helps).

I don't think there's reason to stress out, we'll just have to find a solution that works best for everyone :)

@larsoner I'm not updating Python to 3.10 here, as apparently with the huge stack of software we're now including, dependency resolution fails if we use Python 3.10. Hopefully this will be resolved by the time we do the first 1.0-followup release.

It seems that dipy is the culprit: it currently doesn't support Python 3.10.
https://github.com/conda-forge/dipy-feedstock/pull/37#issuecomment-1002335909