Comparing checksum while reading lz4 compressed files

You also need to bump the version number. Thanks!

You also need to bump the version number. Thanks!

There was no release for the last version number bump. Should we still bump the version number?

I must have forgotten it. Yes, 3.8.1 has not been released so 3.8.1 should be the next release; no need to bump this one.
You'll need to help me remember what went into 3.8.1 so that I can write the release notes. If you have permission to draft a release, please do so, and I'll press the "publish" button.


[RFE] Improve testing

Currently, I have a locally kind cluster (2 nodes) where I run a handful of tests. It would be good to have this become a GH Action that test each PR.

Test w/ tests on the same node, across node, and hostNetwork.
Test w/ prom (installed via helm)

Longer term, what might be cool is if we can even have our testing run with different CNIs.

Having the json output could help us validate the test execution too.
cc @smalleni


feat: add fn to implement add_members

This PR implements the functionality required in issue #7. Will update this PR by adding the necessary tests once the repository is updated with the test suite.

@RaveenaBhasin could you please resolve the merge conflicts and also use snake_casing instead of camelCasing for you variable names

@Akashneelesh I have resolved the merge conflicts


Tokenizer: support single-quoted strings.

Should fix #5.

This shouldn't change the quoted_text test case to be single_quoted_text but it should add a new single_quoted_text test.
It should probably also test the error conditions like we do further below that.


Corrected misleading routeParams docs comment.

The actual type of this.props.params.portfolioId will be a string as opposed to a number.

Thanks.


Support iso images

This PR also moves src/linux to vendor/linux and adds a defconfig.patch that will be applied to vendor/linux/arch/lkl/defconfig.

Does it make sense to include both these commits in a single PR?

They don't have to be in the same PR but I see no harm in grouping them.

I am more concerned by the fact that vendor.sh always gets the latest master branch of lkl.
So the second commit ( a854d27 ) not only adds support for udf and iso9660 but also updates lkl.
Maybe we should use a tag in vendor.sh ?

Maybe we can use lkl linux as a git submodule and stop copying it.
So we don't have to manually add each source file used by make when we update the defconfig?
What do you think @petrosagg ?


Added B2B Invitations to Postman Graph Collection

Added for both application permission and delegated permission scenarios.

Thanks for the contributions here @JanVidarElven  :-)


Needinfo more than one author to fill regressed_by

Resolves #1475
Dry-run
2022-08-05 00:00:21,777 - INFO - Run tool fuzzing_bisection_without_regressed_by.py
2022-08-05 00:00:27,234 - WARNING - No bzmail for Bogdan Tara<EMAIL_ADDRESS>in bug 1655511
2022-08-05 00:00:28,715 - WARNING - No bzmail for sotaro<EMAIL_ADDRESS>in bug 1716829
2022-08-05 00:00:29,101 - WARNING - No bzmail for Coroiu Cristina<EMAIL_ADDRESS>in bug 1673123
2022-08-05 00:00:39,550 - WARNING - No bzmail for Xidorn Quan<EMAIL_ADDRESS>in bug 1780676
2022-08-05 00:00:39,731 - WARNING - No bzmail for Henrik Skupin<EMAIL_ADDRESS>in bug 1729829
2022-08-05 00:00:39,732 - WARNING - No bzmail for Mats Palmgren<EMAIL_ADDRESS>in bug 1729829
2022-08-05 00:00:45,957 - WARNING - No bzmail for Henrik Skupin<EMAIL_ADDRESS>in bug 1735444
2022-08-05 00:00:45,957 - WARNING - No bzmail for Mats Palmgren<EMAIL_ADDRESS>in bug 1735444
2022-08-05 00:00:54,961 - INFO - Tool fuzzing_bisection_without_regressed_by.py has finished.

Click to expand the dry-run output!
The following bugs contain a fuzzing bisection but regressed_by is empty:

BugSummary

1780676

Assertion failure: positionedParts && positionedParts->Contains(aFrame) (Asked to unregister a positioned table part that wasn't registered), at /builds/worker/checkouts/gecko/layout/tables/nsTableFrame.cpp:308

1735444

Assertion failure: false (item should have finite clip with respect to aASR), at /builds/worker/checkouts/gecko/layout/painting/nsDisplayList.cpp:2594

1729829

Hit MOZ_CRASH(BUG: Unable to find glyph key cache!) at gfx/wr/webrender/src/glyph_cache.rs:118

1716829

Large allocation [@ webrender::api_resources::ApiResources::update]

1673123

Assertion failure: GetOutputRectInRect(aRect).Contains(aRect), at src/gfx/2d/FilterNodeSoftware.cpp:611

1655511

AddressSanitizer: SEGV /builds/worker/checkouts/gecko/docshell/shistory/ChildSHistory.cpp:74:13 in mozilla::dom::ChildSHistory::Index()

Checklist

[x] Type annotations added to new functions
[x] Docs added to functions touched in main classes
[x] Dry-run produced the expected results
[ ] The to-be-announced tag added if this is worth announcing

The tool will fail when PMO is not linking to a valid Bugzilla email, see https://github.com/mozilla/relman-auto-nag/issues/1609#issuecomment-1206010961.

Could you attach the second part of the dry run, that shows who would be needinfoed on those bugs?


Add measurements types to readme

Add and explain the four measurement types to the readme as they relate to the functions in BGNN_Snakemake:

using landmarks
using bbox
area
angle

@thibaulttabarin do we want to make something similar to part 3 in the readme for the functions "measure_lm", "measure_bbox", etc.?

@thibaulttabarin all the rescaling of the image occurs before landmarks and measurements are extracted, correct? All that information is in BGNN_Snakemake (or rather will be)?

tag version corresponding to the question
https://github.com/hdr-bgnn/BGNN-trait-segmentation/releases/tag/0.0.5
1 - Rescaling is more a resizing to the original size of the cropped images used as an input to maruf's Traits-segmentation
2 - the Resizing happen in the Segmentation_main.py https://github.com/hdr-bgnn/BGNN-trait-segmentation/blob/5dc0ab34201ac2b715e784849acdb2a38e962da5/Segment_mini/scripts/segmentation_main_rescale_origin.py#L92-L95
3- In the output folder Segmented/ (on OSC) containing the output form Maruf, all the segmented images are resize to original cropped size
Those information need to be concluded in the documentation

I'll make an issue for that on BGNN_Snakemake


GDScript syntax highlighting

it would be nice to have support for GDScript, the scripting language for the Godot game engine. It also appears that prismjs already has support for it as well, as gdscript.
As an aside, I could open a pull request to add support for it, but I won't get around to it for a while and I don't know how to build the code to test that my change actually works. It would be nice if the README had instructions for that.

good point about the README being incomplete
i added setup instructions
i found out the way i included languages is not supported by Prism.js, so i changed it to include every language
you can now use GDScript!


added my project screenshot from dorahacks

Please review and merge my PR @AKSHITHA-CHILUKA

Create a new PR


What is the difference between callbacks.model_checkpoint and callbacks.metrics_over_trainsteps_checkpoint?

Hi, it's me again. Thanks for your earlier fast response! As I have been fine-tuning interpolation model since you released the code, I found it hard to understand the main idea of callbacks.model_checkpoint and callbacks.metrics_over_trainsteps_checkpoint in your code.
I observe that there are distinct specified steps for each, and they're all seemed to be a model checkpoint. So just want to ask you what is the difference between them, and if I change the every_n_train_steps what could happen?
Many thanks!

Hi. The checkpoint saved in model_checkpoint will be replaced after each every_n_train_steps (thus only one checkpoint will be left), while that in metrics_over_trainsteps_checkpoint will be saved for every every_n_train_steps.

Oh! So, if I load the model from the model_checkpoint or the metrics_over_train_steps checkpoint, it's the same, right?

yeap


Mentions channel messages not showing before focusing the tab first

If you start chatterino but you don't focus the tab /mentions, you get a highlight in that tab but you don't get the messages there until you focus it first.
To test, open chatterino, get pinged by a bot or something and see the /mentions tab highlight.
Click it and it has no message.

You'll need to be more specific about how to set up the test. I tried with 2 separate tabs. one with channel pajlada, and one with only a /mentions
I started chatterino with the pajlada tab active, let someone type my name, then I switched to the /mentions tab and the message was there

I was using 4270c402fb6ca3e81d5f685ad2f36b90414ede24 in the video

Removing this line in my settings.json fixes it:
"smoothScrollingNewMessages": true

still exists in Chatterino Nightly 2.1.5 (commit 367b1970f, 22.09.2019)
quick fix is to disable Smooth scrolling on new messages

Brought up again in #1617 so it's definitely still relevant

Yes, I wanted to post that proof on #1617 but I'll do that here instead https://i.nuuls.com/kepuX.mp4


board-image/revyos-sipeed-lpi4a: Bump to 0.20240720.0-matrix.bot

Bump revyos-sipeed-lpi4a from 0.20231210.0 to 0.20240720.0-matrix.bot.
Identifier: [HASH[aa9a7a87f6e08bd49a81dce55770765cf0fcdb5569864d91116af147]]
This PR is made by ruyi-index-updator bot.

It's a little bit strange that the version numbers contain "matrix.bot" while in fact the respective packages are not generated by the bot. Could you remove the marker or at least move it to a comment inside the file? After that it should be ready to go. Thanks!

It's a little bit strange that the version numbers contain "matrix.bot" while in fact the respective packages are not generated by the bot. Could you remove the marker or at least move it to a comment inside the file? After that it should be ready to go. Thanks!

This part in the version number is because, the pr and file is generated by a CI in support matrix. So I made it as an identifier. If it is unnecessary, I'll move it in the file, cause if the file has any problems, an identifier is still needed to indicate something is happening in the CI program instead of a human error.


Feature/fix setup typo

This pull request fixes a typo in the setup.py file, where sdc was written sdxc. It also adds namespace_packages=['sdc'] to the setup.py file, closing #6.

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   80.38%   80.38%
=======================================
  Files           8        8
  Lines         413      413
  Branches       15       15
=======================================
  Hits          332      332
  Misses         81       81

Continue to review full report at Codecov.

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


Unable to locate GoXLR Audio Script, sampler disabled

Hello, first of all, thank you so much! I tried the goxlr-on-linux but no success, and now... it's almost perfect!
I just got 2 issues to solve:

The title of this issue, when i try  to run the daemon i get this message:

escribano@escribano:/usr/bin$ goxlr-daemon
22:21:20 [INFO] Starting 12 workers
22:21:20 [INFO] Started GoXLR configuration interface at http://<IP_ADDRESS>:14564/
22:21:20 [INFO] Tokio runtime found; starting in existing Tokio runtime
22:21:20 [INFO] Connected to possible GoXLR device at Bus 003 Device 010: ID 1220:8fe0
22:21:20 [INFO] Configuring GoXLR, Profile: Default, Mic Profile: Default
Unhandled Tag: animationTree
22:21:20 [ERROR] Unable to locate GoXLR Audio Script, Sampler Disabled.

I didn't find any reference to this audio script, I really dunno what this is.

I don't see the audio channels so I can change the OS to properly map the input/output to the desired port.
The only port I found in my system is "Multichannel Output - GoXLR" which simply doesn't work at all.

I'm missing something? Thanks

Hi, can you let me know what distro you're using please?
The util doesn't support the sampler yet, so that error can be ignored (I'll hide it in future releases until it's finished).
I updated the readme last night noting that audio setup needs to be handled separately from the utility, for distributions running older packages you may need to use the GoXLR on Linux setup script to sort your audio.

Got it! so I'll ignore it!
Here is the info you asked:
escribano@escribano:~$ uname -a
Linux escribano 5.15.0-43-generic #46~20.04.1-Ubuntu SMP Thu Jul 14 15:20:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I'll also check the readme and try to use the setup script from the other repo.
Can't wait to make it work so i can try to help too!
Thanks!

@FrostyCoolSlug it worked!
After uninstalling everything and running the script from scratch, it installed everything well and it worked!
Thanks a lot!


last line of downloaded files doesn't end with a new line

Hence command cat *.tsv > master.tsv doesn't treat the last line as a proper line and concatenates it with the first line of the next file.

Fixed in https://github.com/edgarminers/python-edgar/pull/19


Improve mvim script's finding of MacVim.app

For some reason, the mvim script had "/Applications" as the seventh item in the list of places to look for MacVim.app.  Given that the overwhelming majority of all users are bound to have MacVim.app in /Applications, put it first in the list.
Also, eliminate a needlessly long line by making an array out of the places to check.

Probably the items in the list after the fourth one should be removed, since it's hard to imagine someone actually puts MacVim.app there.  But I left them in for backward compatibility.

Thank you @chdiza, I'm a bit busy doing overtime work this weekend, but as soon as I can I'll look into it and merge.

ping

The relative priorities seem wrong to me in the new script; if you have MacVim.app both in ~/Applications and /Applications or any other case user vs. system directory conflict the user installation should have precedence IMO.

It's officially advised to not have two copies of MacVim on one's machine.  Having two copies has been the cause of plenty of weirdness over the years.


Buffered command support

Adds support for buffered VDU commands
This is achieved thru VDU 23, 0, &A0, bufferId; command, <args>
There are commands to write a stream to a given buffer ID, "call" the VDU stream with a given buffer ID (send it to a VDU stream processor), clear a buffer ID, and to adjust the contents of a buffer.
This system allows for multiple streams to be stored against a given buffer ID. This allows for data to be sent over in multiple packets, of variable size. A bitmap or sound sample can therefore be sent over in multiple packets, rather than having to be sent over in a single data packet. When a stream is written to a buffer ID it is retained, and is not cleared after the buffer has been "called". Therefore if your intent is to use this functionality purely for packeted comms with the VDP you will need to explicitly clear a buffer after using it.
Commands are also present to allow for adjusting values within buffers, conditionally calling buffers (if conditions are met) and allowing data packets that would otherwise have been sent from the VDP to the eZ80 to be captured into a buffer.  These essentially allow for reasonably complex functions to be able to be run on the VDP.
Another PR will come soon that provides documentation and examples for this command set.  (Some limited documentation is already present in the code.)

hey @breakintoprogram thanks for merging this in.  this merge actually puts Quark ahead of my Console8 fork 😀
sorry for not raising a PR yet with docs.  I've got most of the commands documented, but need to improve them a bit and write some more examples.  I'd hoped to make more progress, but I've caught a cold and just haven't fancied trying to write anything. 😀  I expect I'll get back to it after the weekend.

No worries - thanks for all the contributions so far!


[Bug] version <IP_ADDRESS> Restarting broker consumes historical data

Search before asking

[X] I searched in the issues and found nothing similar.

Version
My brokers are using version <IP_ADDRESS> and there are three of them, used for handling delayed messages. Last night, due to a hardware issue, I restarted one of the brokers. As a result, all the messages that were supposed to be consumed by that broker on that day were re-delivered.
Minimal reproduce step
restarted
What did you expect to see?
How to resolve this issue?
What did you see instead?
re-delivered
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Restarting broker consumes historical data

There is no <IP_ADDRESS> in upstream. Do you use the version of any vendors'?
Also, 2.8.x is end of life in upstream, the least maintained version is 2.10.4 now.

Hello,
We are encountering the same behavior on our Pulsar cluster in 3.1.
It's a topic with long retention time (90 days) with delayed message that are acknowledged once consumed.
When restarting broker the pulsar backlog metric is getting back to the full backlog and we reprocess ~2M messages.
Here is a grafana screenshot after the broker restart showing pulsar_subscription_back_log metrics on the topic

If you have a workaround or a solution that will be great!

Hello,
We are encountering the same behavior on our Pulsar cluster in 3.1. It's a topic with long retention time (90 days) with delayed message that are acknowledged once consumed. When restarting broker the pulsar backlog metric is getting back to the full backlog and we reprocess ~2M messages. Here is a grafana screenshot after the broker restart showing pulsar_subscription_back_log metrics on the topic
If you have a workaround or a solution that will be great!

@Ouriel What's your code looks like? I mean how do you create the consumers?

We are using pulsar through Infinitic.io framework
Here is the consumer code : https://github.com/infiniticio/infinitic/blob/v0.13.0/infinitic-transport-pulsar/src/main/kotlin/io/infinitic/pulsar/consumers/Consumer.kt
The setup of topic is also done by the framework here:
https://github.com/infiniticio/infinitic/blob/v0.13.0/infinitic-transport-pulsar/src/main/kotlin/io/infinitic/pulsar/admin/PulsarInfiniticAdmin.kt


Fixed an image placement error for pseudo-elements

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide/whats-new.md
:white_check_mark:Succeeded

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


connect exception

How can i fix this issue?
'''
Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Failed to connect to api.openai.com/2001:0:0:0:0:0:480e:cf5f:443
at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:45)
at io.reactivex.internal.observers.BlockingMultiObserver.blockingGet(BlockingMultiObserver.java:90)
at io.reactivex.Single.blockingGet(Single.java:2002)
at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:217)
at com.theokanning.openai.service.OpenAiService.createCompletion(OpenAiService.java:88)
at example.OpenAiApiExample.main(OpenAiApiExample.java:20)
'''
computer:Apple M1
system: Mac OS
IDE:IntelliJ IDEA 2022.2.1 (Community Edition)
Thanks!

@cryptoapebot  😄 Thanks for your reply. The sample project is work now.
Due to the API not being open to China, my solution was to set the proxy to global mode.

my solution was to set the proxy to global mode.

@amszsthl ,Should you please tell me the detail of set  the proxy to global mode? I faced up the same problems.Thanks in advance.


Updates to latest docker images, aligning maven version

This uses latest java images, and aligns with the following tools provided by them:

maven:3.9.8
maven-help-plugin:3.4.1
maven-dependency-plugin:3.7.1

To align, we run "mvn wrapper:wrapper -Dtype=bin" to update maven and manually change any pom or script references to share the above plugin versions.
Besides text replacement for current java versions, this also had to switch docker-compose to docker compose as the former is no longer in the base image.
This intentionally doesn't touch anything else, or maven plugins that aren't cached in the java image.

ps this same change needs to happen on zipkin, -aws and -gcp, but testing it here first. (works or you would see failed tests)


Build errors on latest versions

It seems like there's been some updates to SQLite.swift or SQLite.
In MessageManager::loadMessagesAfterDate, the calls to Expression have the following error:
Missing argument label 'value:' in call

Interesting. I'll take a look. Is this an issue only when compiling or with the packaged app too?

Just add
typealias Expression = SQLite.Expression to MessageManager


Add Solana command

This PR adds the solana command, allowing users to request devnet solana
also updates the createConfigFile, changing its name to createOrUpdateConfigFile
the reason for this change is because support for multiple blockchains requires us to store multiple addresses

Everything looks good to me, just a tiny little change is required and the pull request would be ready to be merged.

done :)


RMAP resource support

BTW, I can't build trunk anymore, getting the following error — did you forget to commit a lurker?
/Users/uli/Programming/ResForge/ResForge/Template Editor/NCB/NCBTest.swift:288:29: error: ambiguous use of 'parser(of:)'
        NCBTestComparisonOp.parser()
                            ^
/Users/uli/Library/Developer/Xcode/DerivedData/ResForge-bohszdqvzzudmqfyjsctcalnlsmj/SourcePackages/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/CaseIterableRawRepresentable.swift:63:22: note: found this candidate
  public static func parser(
                     ^
/Users/uli/Library/Developer/Xcode/DerivedData/ResForge-bohszdqvzzudmqfyjsctcalnlsmj/SourcePackages/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/CaseIterableRawRepresentable.swift:79:22: note: found this candidate
  public static func parser(
                     ^
/Users/uli/Programming/ResForge/ResForge/Template Editor/NCB/NCBTest.swift:220:64: error: cannot convert value of type '([any NCBTest], NCBTestComparison?) -> NCBTestCounted' to expected argument type '(_) -> NCBTestCounted'
    static let parser: AnyParser<Substring, Self> = Parse(Self.init) {
                                                               ^

BTW, I can't build trunk anymore, getting the following error — did you forget to commit a lurker?

Gah, compatibility differences between Xcode versions. I've tweaked the code there to fix the issue.

Looks like you lost the RMAP template in your latest changes?

Looks like you lost the RMAP template in your latest changes?

Whoops. I put it in the ResourceMappings.rsrc now, so we don't have a merge conflict.
Maybe we should split up that file, and/or move some of the templates with their editors (i.e. DITL, DLOG etc -> DialogResources.rsrc in the Dialog editor etc.?) That would give us a memorable rule, and avoid merge conflicts on resource files.


Allow alternative logger selection

Closes https://github.com/Jasig/cas/issues/1493

Add support for a loggerFactory environment property to allow specific selection of logger binding, in cases where CAS ends up with more than one binding and the environment is not amenable to changes. This should also help with faster startup times rather than initial context scans. The property is optional and if none is provided, CAS will fallback to the current behavior.
Reorganize the logger initialization logic to be consistent with the remaining servlet initializers.
Updated docs to explain how an alternative framework such as Logback can be used.

+1


Categories for grading

Maybe we could add the ability to assign a category to each submission instead of a grade and later map these categories to grades. A category would belong to exactly one exercise (but there would usually be multiple categories per exercise).
The main advantage of this would be to have a very easy way of changing the grading in case Felix and Martin aren't happy with the grading (without having to "foresee" this and using the actual grade value as a kind of category, e.g. giving 42 points to everyone who made a certain mistake and changing the value later with an appropriate SQL query).
An example would be to have a category "Zeiger allgemein statt Funktionszeiger" which would probably be assigned a zero grading.
In terms of GUI I'm thinking of replacing the grading field with a dropdown menu (should support keyboard input to search for entries) which can be used to select the appropriate category. It should also be possible to create a new category "on the fly" in the grading-view.
In terms of data model, I would suggest to replace the grading column of the submission table with a category_id foreign-key column mapping to a (new) table categories which has the following columns: id, exercise_id, grade, name.
Open for discussion.

I was thinking about the same thing :-)
If you want to work on it, go ahead. I guess I don't have time for it this week...

Well, me neither (at least for this week) - but I wanted to start a little discussion about how to do it and what has to be considered to make it a useful feature.


mbedtls_ssl_read blocking when esp32 try to download a bunch of files with maximum speed through https with mbedtls API (IDFGH-4089)

Dears,
I'm trying to download a bunch of files through https from the server, however, sometimes the mbedtls_ssl_read function block the task and keeps blocking always, I refer to the esp/example/protocols/https_mbedtls, also I have modified some parameter of LWIP and mbedtls in menuconfig,
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=16
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=64
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=64
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
CONFIG_ESP32_WIFI_TX_BA_WIN=32
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP32_WIFI_RX_BA_WIN=32
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=65534
CONFIG_LWIP_TCP_WND_DEFAULT=65534
see the attachment, is this a bug for the esp32?
The startup log is like this, hope it will help
rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7036
load:0x40078000,len:14736
load:0x40080400,len:4112
entry 0x40080678
I (29) boot: ESP-IDF v4.3-dev-907-g6c17e3a64-dirty 2nd stage bootloader
I (29) boot: compile time 16:56:18
I (30) boot: chip revision: 3
I (34) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed      : 40MHz
I (46) boot.esp32: SPI Mode       : DIO
I (50) boot.esp32: SPI Flash Size : 8MB
I (55) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (64) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (79) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (86) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (94) boot:  3 factory          factory app      00 00 00010000 00280000
I (101) boot:  4 ota_0            OTA app          00 10 00290000 00280000
I (109) boot:  5 ota_1            OTA app          00 11 00510000 00280000
I (116) boot: End of partition table
I (120) boot: Defaulting to factory image
I (125) boot_comm: chip revision: 3, min. application chip revision: 0
I (132) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x6cb70 (445296) map
I (334) esp_image: segment 1: paddr=0x0007cb98 vaddr=0x3ffbdb60 size=0x03480 ( 13440) load
I (341) esp_image: segment 2: paddr=0x00080020 vaddr=0x400d0020 size=0x15e910 (1435920) map
I (962) esp_image: segment 3: paddr=0x001de938 vaddr=0x3ffc0fe0 size=0x0166c (  5740) load
I (965) esp_image: segment 4: paddr=0x001dffac vaddr=0x40080000 size=0x00404 (  1028) load
I (969) esp_image: segment 5: paddr=0x001e03b8 vaddr=0x40080404 size=0x1b6fc (112380) load
I (1048) boot: Loaded app from partition at offset 0x10000
I (1049) boot: Disabling RNG early entropy source...
I (1060) psram: This chip is ESP32-D0WD
I (1061) spiram: Found 64MBit SPI RAM device
I (1061) spiram: SPI RAM mode: flash 40m sram 40m
I (1066) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (1073) cpu_start: cpu freq: 240
I (1077) cpu_start: Pro cpu up.
I (1081) cpu_start: Single core mode
I (1978) spiram: SPI SRAM memory test OK
I (2007) cpu_start: Pro cpu start user code
I (2007) cpu_start: Application information:
I (2007) cpu_start: Project name:     toky_phase_2
I (2011) cpu_start: App version:      4c9bfc3-dirty
I (2017) cpu_start: Compile time:     Oct 10 2020 15:43:51
I (2023) cpu_start: ELF file SHA256:  65d7fd56ae3c7c50...
I (2029) cpu_start: ESP-IDF:          v4.3-dev-907-g6c17e3a64-dirty
I (2037) heap_init: Initializing. RAM available for dynamic allocation:
I (2043) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
I (2050) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (2056) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (2062) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (2068) heap_init: At 3FFC8828 len 000177D8 (93 KiB): DRAM
I (2075) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (2081) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (2087) heap_init: At 4009BB00 len 00004500 (17 KiB): IRAM
I (2094) spiram: Adding pool of 3933K of external SPI memory to heap allocator
I (2103) spi_flash: detected chip: gd
I (2106) spi_flash: flash io: dio
I (2111) cpu_start: Starting scheduler on PRO CPU.
I (2116) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations

Thanks for reporting, we will look into.

Hi @NOA-Vernon Thank you for reporting the issue.
I don't see any obvious issue with your modified configurations.( Considering you have enough RAM available ).
Can you please provide the full debug log ( enabling log output with debug level ) !, you have mentioned some attachment, but I am unable to find it.

@AdityaHPatwardhan  I run the task below, it happens sporadically, you can test the  /esp-idf/examples/protocols/https_mbedtls  example for downloading a bunch of files through HTTPS, one by one.
static void download_get_task(void *pvParameters){
//char buf[1024];
int ret, flags, len;

int i = 0;

uint8_t read_http_header = 0;
int8_t download_flag = 0;
char* p = NULL;

float cur_per = 0.0;
float pre_per = 0.0;
int total_read = 0;
uint8_t led_stat = 0;
TickType_t update_tick = xTaskGetTickCount();
TickType_t updateled_tick = xTaskGetTickCount();
TickType_t readhttp_tick = xTaskGetTickCount();

mbedtls_entropy_context entropy;
mbedtls_ctr_drbg_context ctr_drbg;
mbedtls_ssl_context ssl;
mbedtls_x509_crt cacert;
mbedtls_ssl_config conf;
mbedtls_net_context server_fd;

mbedtls_ssl_init(&ssl);
mbedtls_x509_crt_init(&cacert);
mbedtls_ctr_drbg_init(&ctr_drbg);
ESP_LOGI(TAG, "Seeding the random number generator");

mbedtls_ssl_config_init(&conf);

mbedtls_entropy_init(&entropy);
if((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy,
								NULL, 0)) != 0)
{
	ESP_LOGE(TAG, "mbedtls_ctr_drbg_seed returned %d", ret);
	download_flag = -1;
	//abort();
	goto exit;
}

ESP_LOGI(TAG, "Attaching the certificate bundle...");

ret = esp_crt_bundle_attach(&conf);

if(ret < 0)
{
	ESP_LOGE(TAG, "esp_crt_bundle_attach returned -0x%x", -ret);
	download_flag = -1;
	//abort();
	goto exit;
}

ESP_LOGI(TAG, "Setting hostname for TLS session...");

 /* Hostname set here should match CN in server certificate */
//if((ret = mbedtls_ssl_set_hostname(&ssl, WEB_SERVER)) != 0)
if((ret = mbedtls_ssl_set_hostname(&ssl, fodetail.file[0].server)) != 0)
{
	ESP_LOGE(TAG, "mbedtls_ssl_set_hostname returned -0x%x", -ret);
	download_flag = -1;
	//abort();
	goto exit; //
}

ESP_LOGI(TAG, "Setting up the SSL/TLS structure...");

if((ret = mbedtls_ssl_config_defaults(&conf,
									  MBEDTLS_SSL_IS_CLIENT,
									  MBEDTLS_SSL_TRANSPORT_STREAM,
									  MBEDTLS_SSL_PRESET_DEFAULT)) != 0)
{
	ESP_LOGE(TAG, "mbedtls_ssl_config_defaults returned %d", ret);
	download_flag = -1;
	goto exit;
}

/* MBEDTLS_SSL_VERIFY_OPTIONAL is bad for security, in this example it will print
   a warning if CA verification fails but it will continue to connect.

   You should consider using MBEDTLS_SSL_VERIFY_REQUIRED in your own code.
*/
mbedtls_ssl_conf_authmode(&conf, MBEDTLS_SSL_VERIFY_OPTIONAL);
mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL);
mbedtls_ssl_conf_rng(&conf, mbedtls_ctr_drbg_random, &ctr_drbg);

#ifdef CONFIG_MBEDTLS_DEBUG
mbedtls_esp_enable_debug_log(&conf, CONFIG_MBEDTLS_DEBUG_LEVEL);
#endif
if ((ret = mbedtls_ssl_setup(&ssl, &conf)) != 0)
{
	ESP_LOGE(TAG, "mbedtls_ssl_setup returned -0x%x", -ret);
	download_flag = -1;
	goto exit;
}

//download_file_init();
memset(folder_download_fname, 0x00, sizeof(folder_download_fname));
sprintf(folder_download_fname, "//story/%s", fodetail.story_uuid);
if( tfcard_create_directory(folder_download_fname) != 1){
	//create folder failed
	ESP_LOGE(TAG, "create folder %s failed", folder_download_fname);
	download_flag = -1;
	goto exit;
}

total_read = 0;

for(i = 0; i < fodetail.file_num; i++){

	//sdcard/
	memset(folder_download_fname, 0x00, sizeof(folder_download_fname));
	sprintf(folder_download_fname, "/sdcard/story/%s/%s", fodetail.story_uuid, fodetail.file[i].file_name);
	folder_download_fp = fopen(folder_download_fname, "wb");
	if (folder_download_fp == NULL) {
		ESP_LOGE(TAG, "failed to open the file for writing: %s", folder_download_fname);
		download_flag = -1;
		goto exit;
	}
	ESP_LOGI(TAG, "%d, start to write file: %s", i, folder_download_fname);

	mbedtls_net_init(&server_fd);

	//ESP_LOGI(TAG, "Connecting to %s:%s...", WEB_SERVER, WEB_PORT);
	ESP_LOGI(TAG, "Connecting to %s:%s...", fodetail.file[i].server, fodetail.file[i].port);

	if ((ret = mbedtls_net_connect(&server_fd, fodetail.file[i].server,
			fodetail.file[i].port, MBEDTLS_NET_PROTO_TCP)) != 0)
	{
		ESP_LOGE(TAG, "mbedtls_net_connect returned -%x", -ret);
		download_flag = -1;
		goto exit;
	}

	ESP_LOGI(TAG, "Connected.");

	//mbedtls_ssl_set_bio(&ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL);
	mbedtls_ssl_set_bio(&ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, mbedtls_net_recv_timeout);

	ESP_LOGI(TAG, "Performing the SSL/TLS handshake...");

	while ((ret = mbedtls_ssl_handshake(&ssl)) != 0)
	{
		if (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MBEDTLS_ERR_SSL_WANT_WRITE)
		{
			ESP_LOGE(TAG, "mbedtls_ssl_handshake returned -0x%x", -ret);
			download_flag = -1;
			goto exit;
		}
	}

	ESP_LOGI(TAG, "Verifying peer X.509 certificate...");

	if ((flags = mbedtls_ssl_get_verify_result(&ssl)) != 0)
	{
		/* In real life, we probably want to close connection if ret != 0 */
		ESP_LOGW(TAG, "Failed to verify peer certificate!");
		bzero(buf, sizeof(buf));
		mbedtls_x509_crt_verify_info(buf, sizeof(buf), "  ! ", flags);
		ESP_LOGW(TAG, "verification info: %s", buf);
	}
	else {
		ESP_LOGI(TAG, "Certificate verified.");
	}

	ESP_LOGI(TAG, "Cipher suite is %s", mbedtls_ssl_get_ciphersuite(&ssl));

	ESP_LOGI(TAG, "Writing HTTP request...");

	size_t written_bytes = 0;

#if CONFIG_SPIRAM
char* req_str = (char*)heap_caps_malloc( 512 , MALLOC_CAP_SPIRAM);
#else
char* req_str = (char*)malloc( 512 );
#endif
memset(req_str, 0x00, 512);
sprintf(req_str, REQUEST_str, fodetail.file[i].url, fodetail.file[i].server);
ESP_LOGI(TAG, "req_str: %s", req_str);
do {
ret = mbedtls_ssl_write(&ssl,
(const unsigned char *)req_str + written_bytes,
strlen(req_str) - written_bytes);
if (ret >= 0) {
ESP_LOGI(TAG, "%d bytes written", ret);
written_bytes += ret;
} else if (ret != MBEDTLS_ERR_SSL_WANT_WRITE && ret != MBEDTLS_ERR_SSL_WANT_READ) {
ESP_LOGE(TAG, "mbedtls_ssl_write returned -0x%x", -ret);
download_flag = -1;
goto exit;
}
} while(written_bytes < strlen(req_str));
	ESP_LOGI(TAG, "Reading HTTP response...");
	read_http_header = 0;
	download_flag = 0;

	do
	{
		len = sizeof(buf) - 1;
		bzero(buf, sizeof(buf));
		ESP_LOGE(TAG, "before mbedtls_ssl_read, ret");
		ret = mbedtls_ssl_read(&ssl, (unsigned char *)buf, len);
		ESP_LOGE(TAG, "after mbedtls_ssl_read, ret = %d", ret);
		if(ret == MBEDTLS_ERR_SSL_WANT_READ || ret == MBEDTLS_ERR_SSL_WANT_WRITE)
			continue;

		if(ret == MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY) {
			ret = 0;
			break;
		}

		if(ret < 0)
		{
			ESP_LOGE(TAG, "mbedtls_ssl_read returned -0x%x", -ret);
			break;
		}else if(ret == 0)
		{
			ESP_LOGI(TAG, "connection closed");
			break;
		}else{

			len = ret;
			ESP_LOGD(TAG, "%d bytes read", len);
			/* Print response directly to stdout as it is read */
			for(int i = 0; i < len; i++) {
				putchar(buf[i]);
			}
		}
		//vTaskDelay(5/portTICK_RATE_MS);

	} while(1);

	mbedtls_ssl_close_notify(&ssl);

exit:
mbedtls_ssl_session_reset(&ssl);
mbedtls_net_free(&server_fd);
	if(ret != 0)
	{
		mbedtls_strerror(ret, buf, 100);
		ESP_LOGE(TAG, "Last error was: -0x%x - %s", -ret, buf);
		download_flag = -2;
	}

	if (folder_download_fp != NULL) {
		fclose(folder_download_fp);
	}

	if( download_flag < 0){
		break;
	}

	vTaskDelay(100/portTICK_RATE_MS);

}
if( download_flag >= 0){
	ESP_LOGI(TAG,"download succ");

}else{
	ESP_LOGI(TAG,"download failed");
}

vTaskDelete(NULL);

}

Hi @NOA-Vernon Sorry for the late reply, I was unable to reproduce this on my side. I can see you are creating multiple ssl connections for each file to download. Can you please tell me what it the number of files. If I have read above code correctly I think multiple connections are present simultaneously.It is highly probable that the error your are facing is because of a large number simultaneous connections but I would still like to see a complete debug log where the actual error message is printed.
1 ) Can you please provide a complete code with which I could be able to reproduce.
2 ) Provide a complete debug log in which error message can be seen.
Thank you.

@AdityaHPatwardhan can you test to download a bunch of files through HTTPS,  by testing this example esp-idf\examples\protocols\https_mbedtls, the HTTPS server is from Azure from the client, sorry for that I can't provide you the URL, I just add a for loop in this example for downloading a bunch of different files.

Hi @NOA-Vernon I am able to download file from AWS s3 bucket repeatedly with your configurations, I dont see any obvious problem on my side. I couldn't get an Azure URL to test for myself, but I dont think having an azure URL should cause any problem as far as handshake is succeeded.
Do you face such error every time you use that to download the files ?

@AdityaHPatwardhan No, it happened sporadically and stuck at the ret = mbedtls_ssl_read(&ssl, (unsigned char *)buf, len) without returning, so I don't know what's wrong happen during calling this function.

Then I think that it might be some network issue which is unrelated to the ESP. What is the frequency of this error, like you face it frequently ( and randomly) or you have faced this very few times ! ( like once or twice ).

@AdityaHPatwardhan If this is the network issue, how to set the mbedtls_ssl_read expired timeout, is there an example regarding it?

you can set the timeout_ms  value in the esp_tls_cfg_t at the start of the TLS connection establishment. You can get relevant info about the options in the esp_tls_cfg_t at this link. You can also take a look at the ESP-TLS documentation for more details.

My Bad, I mistakenly suggested to use an esp_tls option.( which internally uses mbedtls ). In your case you can set the timeout for mbedtls_ssl_read by setting the value of  read_timeout in the mbedtls configuration (mbedtls_ssl_config).

Hi @NOA-Vernon if the problem is resolved, can you please close the issue ? thank you.

Hi @NOA-Vernon if the problem is resolved, can you please close the issue ? thank you.


battery: use context manager with battery app and add unit tests

This refactors the battery app by the ContextManager, and adds some tests for the application codes.
Checklist

[x] npm run test-local passes
[x] tests and/or benchmarks are included
[ ] documentation is changed or added

Jenkins CI is pass at https://ci.rokid.com/view/Yodaos/job/rokid-ci-yodart-unit-tests/1374/.


Update play store listing details

I updated the description, but that's it so far

We've done this now right? Or do we need to update more stuff

I want to update the screenshots.now that we have pinned chats tbh


Health Check doesn't support start_period.

There is an optional parameter for health checks; startPeriod.
As of today, that parameter doesn't appear to be supported by the Module:
https://github.com/terraform-aws-modules/terraform-aws-ecs/blob/8b97783def49997d18a6fcb00dc21ce1edc0f538/modules/container-definition/main.tf#L22-L26
This is really useful for containers which have a long init period; greater than 60 seconds on average.
Reference: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#container_definition_healthcheck

@mdgreenwald, you can add this parameter to the custom health_check map variable, and it will be defined in the container definition creation.
The mentioned merge operation is just for safety that default values are added.
Also, you have to add the command parameter as well to the health_check map
for example,
      health_check = {
        command     = ["CMD-SHELL", "curl -f http://localhost/health || exit 1"]
        interval    = 30
        retries     = 3
        timeout     = 3
        startPeriod = 60
      }

@ivan-sukhomlyn Thanks, so the correct parameter is startPeriod and not start_period as I would expect from other Terraform parameters.

Yes, the correct one is startPeriod as in the mentioned documentation because the ECS container definition at the module is a JSON object that is used at the task definition.
For example, other parameters are defined in camel case style as well
https://github.com/terraform-aws-modules/terraform-aws-ecs/blob/8b97783def49997d18a6fcb00dc21ce1edc0f538/modules/container-definition/main.tf#L40-L43

Thanks, sorry for the confusion.


Update suse-create-upload-vhd.md

Fixing note removing "blocklisting" making note clearer

@srijang
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. After you sign off, we can commit the suggested changes before we merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

closing commit as I have other changes and would like 1 commit for all changes.

#sign-off


Transfer a partially completed job from one cluster to another & restart?

Can one transfer a partial FALCON job from one cluster to another cluster, by simply copying the files and restarting the job?

No one? hmmmm

Can be done - we spoofed the directory path in a Singularity container.


Check on Hugo's new Markdown processor

In v0.60 Hugo changed their default Markdown processor from Blackfriday to Goldmark. This required some minor changes in Quire v0.18 to maintain consistency in Quire's output, but there are a few issues that should be looked at again in the future:

In the current version, straight apostrophes (Quire's) are not auto-converted into curly apostrophes (Quire‘s) like they were in Blackfriday. However it looks like there was a recent PR to Goldmark that fixed this we just need to see if that's the case once this merge makes it into Hugo's version.
Goldmark does auto covert straight quotes surrounding text into curly quotes ("This is a quote" --> “This is a quote”) however if the text inside ends in punctuation ("This is a quote.") the quotes aren't converted. This is probably worth posting as an issue in Goldmark/Hugo after a bit more testing.
In Blackfriday, we were able to specify hrefTargetBlank: true in the config so that any links going to external sources would open in a new window. This was a nice feature that I think makes a lot of sense on the reader end, but is no long possible with Goldmark, except by using Goldmark's Markdown Render Hooks and Templates option, which might also be interesting to look into in general.

Fixed in last version of Quire using Hugo (0.20.4) and in all later versions of Quire using 11ty


AWS credentials does not respect $AWS_DEFAULT_PROFILE

When using the credentials from '~/.aws/credentials', the '[default]' profile is always used. When using the aws-cli, it either uses '[default]' or the entry specified by the environment variable '$AWS_DEFAULT_PROFILE'. It would make more sense if docker-machine did the same.

@Tritlo we rely on the aws-sdk-go for everything related to aws. The goal is to ensure the aws driver benefits from everything built there by amazon.
Unfortunately aws-sdk-go does not support AWS_DEFAULT_PROFILE, we opened https://github.com/aws/aws-sdk-go/pull/554 for this matter. We rather continue relying on the aws-sdk-go features than monkey patch here.

So it appears per https://github.com/aws/aws-sdk-go/pull/554#issuecomment-183439395 that the AWS_DEFAULT_PROFILE is a legacy flag only used by aws cli, as the aws-sdk-go wont support it, we sont either. :disappointed:
Closing this, feel free to re-open if we missed something.

Oh, ok then. Could you add a mention to 'AWS_PROFILE' to the documentation
though? It's quite confusing if one is used to the "legacy" standard.
On fös., 12. feb. 2016 at 20:11, Jean-Laurent de Morlhon <
<EMAIL_ADDRESS>wrote:

Closed #3045 https://github.com/docker/machine/issues/3045.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/machine/issues/3045#event-548938859.

--
Matthías Páll Gissurarson

It's AWS_PROFILE.


Multi-Task Deep Neural Networks for Natural Language Understanding

집현전 중급반 스터디

2022년 7월 3일 일요일 9시
이경로님 임승원님 박범수님
논문 링크: https://aclanthology.org/P19-1441.pdf

Abstract
In this paper, we present a Multi-Task Deep Neural Network (MT-DNN) for learning representations across multiple natural language understanding (NLU) tasks. MT-DNN not only leverages large amounts of cross-task data, but also benefits from a regularization effect that leads to more general representations in order to adapt to new tasks and domains. MT-DNN extends the model proposed in Liu et al. (2015) by incorporating a pre-trained bidirectional transformer language model, known as BERT (Devlin et al., 2018). MT-DNN obtains new state-of-the-art results on ten NLU tasks, including SNLI, SciTail, and eight out of nine GLUE tasks, pushing the GLUE benchmark to 82.7% (2.2% absolute improvement). We also demonstrate using the SNLI and SciTail datasets that the representations learned by MT-DNN allow domain adaptation with substantially fewer in-domain labels than the pre-trained BERT representations. The code and pre-trained models are publicly available at this https URL.

https://docs.google.com/presentation/d/1zdwQqVTqoLAfuyAJ2W6uVbiSuehFr3i4/edit?usp=sharing&ouid=106291530285244306793&rtpof=true&sd=true

발표링크: https://www.youtube.com/watch?v=Oy3Jv9P7i5w&list=PL2tRglRS_GqjCcBVM26gYNdoOnX12lLIh&index=13


can't build 1.17 beta 3

Generating snapshot script at "/var/tmp/portage/app-editors/atom-1.17.0_beta3/work/atom-1.17.0-beta3/out/startup.js" (192)Error: ENOENT: no such file or directory, open 'exception-reporting'
  at Error (native)
  at Object.fs.openSync (fs.js:641:18)
  at Object.fs.readFileSync (fs.js:509:33)
  at /var/tmp/portage/app-editors/atom-1.17.0_beta3/work/atom-1.17.0-beta3/script/node_modules/electron-link/lib/generate-snapshot-script.js:28:27
  at undefined.next (native)
  at step (/var/tmp/portage/app-editors/atom-1.17.0_beta3/work/atom-1.17.0-beta3/script/node_modules/electron-link/lib/generate-snapshot-script.js:3:191)
  at /var/tmp/portage/app-editors/atom-1.17.0_beta3/work/atom-1.17.0-beta3/script/node_modules/electron-link/lib/generate-snapshot-script.js:3:361

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:

I have the same problem in Slackware 64 current trying to compile atom 1.17.0 and atom 1.18.0-beta0, trying with node 6.9.1 or with node 7.10.0 (I know that the max version in verify-machine-requirements.js is 6), npm is 4.6.1.
Same error.
I build packages for a Slackware repository, how can I make with this error?

bug is gone for me, I don't know what were causing it

The problem is line 9 in script/lib/generate-startup-snapshot.js
const snapshotScriptPath = path.join(CONFIG.buildOutputPath, 'startup.js')
looking for startup.js that does not exist.
I did a search in every directory created by the build process but it does not exist.
I'm sorry for my bad english

With git master:
Generating snapshot script at "/opt/slackers/git/esterni/atom-build/atom-git/out/startup.js" (188)Error: ENOENT: no such file or directory, open 'exception-reporting'
at Object.fs.openSync (fs.js:584:18)
at Object.fs.readFileSync (fs.js:491:33)
at /opt/slackers/git/esterni/atom-build/atom-git/script/node_modules/electron-link/lib/generate-snapshot-script.js:26:27
at Generator.next (:null:null)
at step (/opt/slackers/git/esterni/atom-build/atom-git/script/node_modules/electron-link/lib/generate-snapshot-script.js:3:191)
at /opt/slackers/git/esterni/atom-build/atom-git/script/node_modules/electron-link/lib/generate-snapshot-script.js:3:361


[Edge Throughput] Container system software install via provisioning code

Goal: to install system software to use containers inside of Docker
Tasks:

[ ] Review (and reference) setup script from box-by-box comparison https://github.com/cncf/cnfs/blob/a0891365df28f89258100db5225df918610e75ca/comparison/box-by-box-kvm-docker/install_docker_prereqs.sh#L3-L21

A copy of this script can be used, or
convert to anisble (including using existing roles from https://galaxy.ansible.com/)

[ ] Create code to provision the container system software

[ ] Move the hugepages setup out of the docker specific script / anisble role

[ ] Update the README with the new steps to install Docker software.

Use markdown format example, https://github.com/cncf/cnfs/blob/1c0b3986f7f2cdf53481bbb81fef72c54c6e9888/comparison/box-by-box-kvm-docker/README.md

Testing:

[ ] Test that docker is installed correctly with: docker run hello-world

invalid


New staff join as a 'excutive' problem occurs in Query page

Query page wrong url gives error 404
https://user.ecbsdev.xyz/query/Home?uo=1&acid=1

how to reproduce?


Allow individual removal of users instead of removing all users without vote

Closes #88
TODO:

[ ] Make kick button less prominent

Yes, that's a great point. I will give your suggestions a try - let's see how it looks and feels.

The kick button is now less prominent by implementing your suggestion in dcc182:


Password prompt broken on Windows console

The password prompt seems to be broken on my Windows 8.1 machine (Zend Framework 2.4.2).

It only reads uppercase characters.
It shows the characters that are entered.
When enter is pressed, the star characters suddenly popup.

This only happens in the default Windows console, not in the MINGW32 console (git bash).

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
New issue can be found at: https://github.com/zendframework/zend-console/issues/22


Minor sorting issues

As it is, "Death Cab For Cutie" and "Death Cab for Cutie" are considered different artists, which is not the ideal situation.

So that I don't spam with multiple small issues, I changed the title of this issue. I've found another sorting issue: the disc tag is not considered for albums with more than one disc, so tracks end up sorted by track number first, then by something else. This again is not ideal.

I'm not sure the best way to approach your first request, I'm still thinking about it. If multiple tracks have a similar artist name, but have different cases, how do we know which is correct? For example, it'd be bad to display death cab for cutie when some tracks have Death Cab for Cutie.
@demize -- I don't seem to have the disc number problem, however. I checked the queries in code, and they are sorting properly by disc number. I also tried a couple of my own multi-disc albums and they are also correct. Just to confirm, you're seeing tracks from multiple discs ordered like: 1, 1, 2, 2, 3, 3, ... instead of 1, 2, 3... 1, 2, 3? If so it sounds like more tag parsing issues. What types of files seem to be exhibiting this behavior?

For the case normalisation, the best option might be to store whatever you come across first, then compare normalized cases for everything else. That way you know you're getting a tag that makes sense (hopefully; otherwise why would it be tagged at all?) and the normalisation still works, it's just more hidden.
I'll get back to you later on the disc number issue, since I'm currently on the way to work and don't have any way to check right now.

Disc number issue appears to be solved, apparently. Not sure if you changed something or if it was just something weird on my end, but I'm not seeing it anymore.

Hello. I'm just coming across this project. Regarding the disambiguation issue, it seems as though the case that @demize proposed would be an outlyer, in which case maybe it would be best to prompt the user to select the correct tag.

I'm not convinced it's possible to get a large collection of music and not have different cases for some artist names, and the default behavior in most software (every desktop music player I've ever used other than this one, and most mobile music players I've used as well) is to normalize the names. The outlier would be any situation where the capitalization matters, seeing as nobody is going to choose another band's name and capitalize it differently.

If I were to look into experimenting with this, what would be a way of generating some sample files to create the collision?

The easiest way would probably be to use something like MP3Tag to manually set a bunch of artist tags. It's a pretty simple collision, so that's a workable testing solution here. The only real pattern is that two albums have the same artist with different capitalization: whether that's 'for' vs 'For' or 'deadmau5' vs 'Deadmau5' doesn't seem to matter.

Just tacking on to this that I've had a similar issue. Emerson, Lake and Palmer, Emerson, Lake And Palmer, and Emerson, Lake & Palmer are all treated as different artists. I have noticed that other media players like Lollypop and Plex will sort all of these under Emerson, Lake & Palmer. In this case, it looks like it's choosing the first artist name. It may be worth investigating how other media players figure out which artist to sort under, as well as how they figure out artists with differing names, in this case more than case, are actually the same.

I don't want to disturb such a dreamy project, but the solution other projects have is to disambiguate and merge using MusicBrainz IDs. MusicBrainz taggers also leave an albumartistsort tag that can be used as a display name, because all albums of the same artist have identical albumartistsort tags.
Obviously this is not what you're going for here. But the idea is the same. Allow users to set up a custom tag to disambiguate/merge albums. I think two tags would be overkill for this project, albumartistsort is not even used for scrobbling in the first place.
Having the player decide automagically whether two tag variations belong to the same artist is a fantasy. I have two artists called Meg in my library and multiple language spellings of some Korean groups. Either the user fixes the tags to not be ambiguous, or the player handles a secondary tag that the user has to leave in place manually anyways.
MBIDs are out of the scope of this project, I can tell. Just an extra tag could do the trick instead. But what do I know. I don't even use this player. Just my two cents.


Chore/best practice

Added 'wrapping' to the Prettier config so that the README is properly wrapped. Then, removed the encumbent 'Accessibility' section and added a couple of new ones.
Will be simplest to review just this commit - the diff is a bit of a mess.

Merging seeing as it's only to the next branch. Changes can be made in PR.


SSHing to mono instance as "root" always asks for password

I cannot ssh to a newly created instance with default.key.
SSHing as "caretaker" works.
Provider: scaleway
archi: mono
HEAD SHA: 10e48969983ba55720dc767b5aa69874938bb165
Logs:
root@scw-vigorous-kowalevski:~/dev/hashistack/inventories/hs_devone/group_vars/hashistack/secrets# ssh -i default.key -v<EMAIL_ADDRESS>OpenSSH_8.9p1 Ubuntu-3ubuntu0.1, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 163.172.. [163.172..] port 22.
debug1: Connection established.
debug1: identity file default.key type 3
debug1: identity file default.key-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.4p1 Debian-5+deb11u1
debug1: compat_banner: match: OpenSSH_8.4p1 Debian-5+deb11u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 163.172..:22 as 'root'
debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC:  compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC:  compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:GNLadCqPfrlhpj8wBwsTHIK5Fuw34algxis64bcxxzY
debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '163.172..' is known and matches the ED25519 host key.
debug1: Found key in /root/.ssh/known_hosts:4
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: default.key ED25519 SHA256:az+kPqAgiAPvEJrZMzON5UxV5izWAWkJt0HINBFdpAI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256<EMAIL_ADDRESS>debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: default.key ED25519 SHA256:az+kPqAgiAPvEJrZMzON5UxV5izWAWkJt0HINBFdpAI explicit
debug1: Server accepts key: default.key ED25519 SHA256:az+kPqAgiAPvEJrZMzON5UxV5izWAWkJt0HINBFdpAI explicit
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
<EMAIL_ADDRESS>password:

Hi @makp0
You don't need to connect directly with root user after host custom.
Just use root via "sudo -i" if needed

Hi @makp0
You don't need to connect directly with root user after host custom.
Just use root via "sudo -i" if needed

I've already figured by trial and error 🙂 But thank you for swift response.
Maybe it's worth mentioning in docs that default user is caretaker which sudos into root using "sudo -i".
Because it took me quite a time to figure. It should facilitate log extraction for any future issues.

I think we need to enhance the documentation on this whole infra and auto-magic service account creation. Adding label and an associated issue.

@aurelienmaury
DiscoveryI was in search of an all-in-one (Consul, Nomad, Vault) production-grade HashiCorp pack solution that can run in an affordable cloud. I first tried searching on GitHub, but your project didn't stand out much there with just 30+ stars. This is surprising given the quality of your project.I then checked out these awesome project lists:https://github.com/jippi/awesome-nomadhttps://github.com/mehdihadeli/awesome-software-architecture/blob/main/docs/iaas/nomad.mdhttps://developer.hashicorp.com/nomad/toolsMake sure your project is featured on at least the last two lists.I found some interesting tools like Caravan with HA 3 server setup in the more expensive AWS, Azure, and GCP clouds. Their AWS option was broken, but Azure worked. It covered my need for a production environment, but not a development one. So I continued searching and eventually found your project.As a long-time Hetzner user, I was initially hesitant to try Scaleway. Additionally, I've always been a bit wary of Ansible without any solid reason.DocumentationI appreciate your documentation, but there is always room for improvement:I had a hard time figuring out the correct values for these environment variables:export SCW_DEFAULT_REGION="..."
export SCW_DEFAULT_ZONE="..."
I finally guessed correctly on my fifth attempt:export SCW_DEFAULT_REGION="fr-par"
export SCW_DEFAULT_ZONE="fr-par-1"
You should either explain where to find these values or consider whether it makes sense to infer the region from the zone. Is the region always a substring of the zone?I'm a big fan of convenience scripts. I found your Makefile to be too granular, which led to me constantly checking and waiting for each stage to finish. I ended up creating a script for a one-line deployment since I was redeploying frequently while trying to find a working branch and commit. Consider simplifying your Makefile and providing a convenience script in your documentation.If you include a convenience script in your documentation, consider placing it on the front page. The script could prompt users to fill in the .env.secrets variables while showing example values or all possible values (or even selecting them) for regions, similar to how a project with CDKTF does. Additionally, you could create a tool that guides users through filling in the required parameters and then generates customized documentation with those parameters. This would make the documentation even more user-friendly.User ExperienceI spent a significant amount of time waiting for redeployments. The main branch was broken due to an outdated Terraform provider, and the development branch was also not functional. If I hadn't been desperate for a solution, I might have continued searching for an alternative.It's unfortunate when a project's main branch can become broken due to an external dependency. I assume this was not the case from the beginning. Tools like Nix can resolve such issues, but I've had difficulty getting projects like bitte up and running. Please consider addressing these concerns to enhance the user experience.

My script:
#!/bin/bash
set -e -x

instance_name="devtwo"

dir_path="hashistack/inventories/hs_${instance_name}"

if [ -d "$dir_path" ]; then
  (cd "$dir_path" && source ~/.bashrc && direnv allow . && eval "$(direnv export bash)" && make scaleway_destroy)
fi

apt-get update && apt-get install git make sudo -y
rm -rf hashistack
git clone https://github.com/wescale/hashistack.git
cd hashistack
git checkout dev
cp ./../.env.secrets .env.secrets
make install-requirements
source ~/.bashrc && direnv allow .
eval "$(direnv export bash)"
make prepare
make init_instance name="${instance_name}" parent_domain=tradent.link archi=mono
cd "inventories/hs_${instance_name}"
make stage_0_scaleway stage_1_auto_prerequisites stage_2 stage_3
cat group_vars/hashistack/secrets/root_nomad.yml

My script:
#!/bin/bash
set -e -x

instance_name="devtwo"

dir_path="hashistack/inventories/hs_${instance_name}"

if [ -d "$dir_path" ]; then
  (cd "$dir_path" && source ~/.bashrc && direnv allow . && eval "$(direnv export bash)" && make scaleway_destroy)
fi

apt-get update && apt-get install git make sudo -y
rm -rf hashistack
git clone https://github.com/wescale/hashistack.git
cd hashistack
git checkout dev
cp ./../.env.secrets .env.secrets
make install-requirements
source ~/.bashrc && direnv allow .
eval "$(direnv export bash)"
make prepare
make init_instance name="${instance_name}" parent_domain=example.link archi=mono
cd "inventories/hs_${instance_name}"
make stage_0_scaleway stage_1_auto_prerequisites stage_2 stage_3
cat group_vars/hashistack/secrets/root_nomad.yml


Prop default value cannot be set correctly

Version
2.6.11
Reproduction link
https://codepen.io/Tsdy/pen/vYXGXEr
Steps to reproduce
function fun() {}
        const vm = new Vue({
            el: '#App',
            components: {
                MyComponent: {
                    props: {
                        text: {
                            type: [Boolean, Function],
                            default: fun
                        }
                    },
                    template: `<div></div>`
                }
            }
        })
        console.log(vm.$children[0].text)
    // undefined

What is expected?
I can find the text property in the vm.$children[0]
What is actually happening?
vm.$children[0].text is undefined

default: () => fun

You need to use a function for objects (any non primitive like objects, functions, arrays): https://vuejs.org/v2/guide/components-props.html#Prop-Validation


Merge changes from 'staging' to 'main' (Update Image Tags for github-repository-dispatcher-service2)

Summary
Description

Image Tag Update: "github-repository-dispatcher-service2"

Jira Ticket Links
PR Links

null

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactoring (restructing existing code without changing any functionality)
[ ] This change requires a documentation update

Testing Checklist
Changes tested on

[ ] staging (pre-prod)
[ ] MABL Tests Link (if any)
[ ] Successful Workflow Links (if any)

Error: The following fields are empty: Description, Jira Ticket Links, PR Links
Hint: Pull Request description is too short. Please add relevant information about the changes.


KERNEL: Enable matmul correctness test suite on CNDA3

https://github.com/openxla/iree/pull/16510 and https://github.com/openxla/iree/pull/16549 for this.

https://github.com/openxla/iree/pull/16558 for this too.

All landed. Closing now.


fix(android): ensure we don't disable playback when player is ENDED

fix issue #2690
ensure we don't pause playback when player is ended.
In this use case, Exoplayer send a EVENT_PLAYBACK_STATE_CHANGED event, then onEnd JS event is triggered a second time

Tested and it's fixed


Display and View fallback options for settings and api

After adding support for context-specific anatomy token resolution in color management display and view options, we must now ensure value validation and provide fallback options. We're introducing a semicolon separator in values, allowing for multiple options where the order is important.
Testing steps:

version up dev number in package.py
deploy addon version to your server and bundle
make sure core colormanagement is enabled
notice hints on ayon+settings://nuke/imageio/viewer/display
add values in the way hints suggesting
open nuke in any context and see that all is working well.

I tried with this setting below:

nuke launched with the display and view setting

The context works without issue.

I tried with this setting below

@moonyuet thank you very much for the testing. Yeah that is looking promissing. I wonder if you could rather use anatomy tokens, something like {project[code]}_{parent}_{folder[name]};sRGB

This way we should be able to even test that formating on context is working.

I tried with this setting below

@moonyuet thank you very much for the testing. Yeah that is looking promissing. I wonder if you could rather use anatomy tokens, something like {project[code]}_{parent}_{folder[name]};sRGB
This way we should be able to even test that formating on context is working.

It's working


Fix CollisionMeshData bug in GenericInstanceMeshData after mesh data manipulation

Motivation and Context
CollisionMeshData is used to reference mesh geometry during construction of collision objects for physics simulation. Manipulation of geometry data in GenericInstanceMeshData::uploadBuffersToGPU caused this reference set in GenericInstanceMeshData::loadPLY to be incorrect. This PR aims to fix this bug.
Moved from #333 as suggested by @msbaines.
How Has This Been Tested
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #389 into master will increase coverage by 7.75%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #389      +/-   ##
==========================================
+ Coverage   53.86%   61.62%   +7.75%
==========================================
  Files         164       58     -106
  Lines        7719     2702    -5017
  Branches       82       82
==========================================
- Hits         4158     1665    -2493
+ Misses       3561     1037    -2524

Flag
Coverage Δ

#CPP
?

#JavaScript
5.53% <ø> (ø)
:arrow_up:

#Python
76.88% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

src/esp/nav/GreedyFollower.cpp

src/esp/gfx/PTexMeshShader.h

src/esp/geo/OBB.h

src/esp/gfx/Renderer.cpp

src/esp/assets/Attributes.cpp

src/esp/assets/GltfMeshData.cpp

src/esp/gfx/PrimitiveIDDrawable.h

src/esp/physics/PhysicsManager.cpp

src/esp/sensor/Sensor.cpp

src/esp/geo/OBB.cpp

... and 94 more

Continue to review full report at Codecov.

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

You may also want to consider adding a small test that verifies that collisionMesh is correct after uploadBuffersToGpu.

I think the only assets we have of this type are Replica which are not yet testable due to asset size. Once the RecomputeNavmesh test is active and we address the size issue, we can add a Replica scene to that test which will catch scrambled meshes.
If you have another idea for a quick test to add we can do so. 🤔

You may also want to consider adding a small test that verifies that collisionMesh is correct after uploadBuffersToGpu.

I think the only assets we have of this type are Replica which are not yet testable due to asset size. Once the RecomputeNavmesh test is active and we address the size issue, we can add a Replica scene to that test which will catch scrambled CollisionMeshData.
If you have another idea for a quick test to add we can do so. 🤔

You could create a simple ply mesh with a cube. The test could be:
GenericInstanceMeshData instanceMeshData;
instanceMeshData.loadPLY(filepath);
CollisionMeshData &collisionMesh1 =  instanceMeshData.getCollisionMeshData();

// some assertions on collisionMesh1
instanceMeshData.uploadBuffersToGPU(false);
CollisionMeshData &collisionMesh2 =  instanceMeshData.getCollisionMeshData();
// some assertions on collisionMesh2


The Great Merge

Change of graphic design, adding styles with CSS.
And new updates of variables.

I think it's a great merge!


Fix a deployment issue that when project name contains "project"

deployment fails.
Update Tensorflow and gcloud.
Modify web server to make it work on type script compiler with strict mode.

LGTM

merged into datalab_managed


[SHIPA-2084] Adds app deploy update

shipa-2084
App Deploy Update was never implemented. I just duplicated Create. Removed the ForceNew property as updates throw an error if all the objects, app in this case, are Force-New.
And...adds nginx to ingress.type and modifies ingress.service_type to validate against Ingresses (https://shipa-io.slack.com/archives/CS3KL4BK7/p1635534210083900?thread_ts=1635534032.083700&cid=CS3KL4BK7)

I just tested the solution locally and it looks good. Both validation + the re-deployment of the application work as expected 👍


Fix to match familyname / fullfont check to allow for matching with nameID 16/21

Updating the com_google_fonts_check_name_match_familyname_fullfont check to properly consider name ID 16 / 21 rather than failing out after ID 1
Description
The com_google_fonts_check_name_match_familyname_fullfont check, at present, appears to issue a fail if it does not match the font full name to the family name in name ID 1. However, under certain circumstances (Bold Condensed), there will be an inherent mismatch due to preserving the RIBBI quad in Name ID 1:
Name ID
1 - TestName Condensed
2 - Bold
4 - TestName Bold Condensed
16 - TestName
17 - Bold Condensed
21 - TestName
22 - Bold Condensed
This update modifies the check to evaluate Name ID 1, Name ID 16, and Name ID 21 first, and issuing a "pass" if it finds a match among any of the three.
To Do

[ ] update CHANGELOG.md
[ ] wait for all checks to pass
[ ] request a review

Please add a code-test with the example for which the check is misbehaving and then make sure the modified check passes the code-test.
Code-tests for this check are located at https://github.com/googlefonts/fontbakery/blob/998a9805de840efc2f64c08565b6a777bb9ccc39/tests/profiles/name_test.py#L188

@felipesanches Honestly I am pretty confused by the whole "tox" thing and how to read the output it produces. However, I think I've updated the name_test.py file with another test case ("Mada-Medium.ttf") that will fail with the previous version of test_check_name_match_familyname_fullfont as it relies on the naming present in the typographic family name.
I've verified that the font file will pass with the updated test_check_name_match_familyname_fullfont (verified running the check directly via fontbakery).
I think it would also be worth adding a check for the WWS name, but I didn't see one among the existing set of test fonts that has that name field.

ok, I'll look into this at some point next week. Thanks


Add GitLab to ADOPTERS.md

GitLab is now using Falco to provide Container Host Security protection

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design
/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@samwhite-gl: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

663da89 Add GitLab to ADOPTERS.md

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign kris-nova
You can assign the PR to them by writing /assign @kris-nova in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @samwhite-gl! It looks like this is your first PR to falcosecurity/falco 🎉

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

663da89 Add GitLab to ADOPTERS.md

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

The DCO gate is very annoying - appologies. The sign-off text needs to be in the "body" of the commit.
This should do the trick by replicating the same string you have on the first line, later on in the "body" of the commit message.
git commit --amend --signoff
git push --force

If you don't want to deal with the gate just let me know, and I will co-author with a sign-off to satisfy our DCO. Whichever you prefer

If you don't want to deal with the gate just let me know, and I will co-author with a sign-off to satisfy our DCO. Whichever you prefer

Thanks @kris-nova, if you could co-author a commit, that would be fantastic.

Replaced by https://github.com/falcosecurity/falco/pull/1290 with DCO from yours truly.


remove postgres92

Signed-off-by: Timothy Ehlers<EMAIL_ADDRESS>Description
Creating a branch from https://github.com/chef/chef-server/pull/2110 to rebase and be able to run through the test pipeline
https://buildkite.com/chef/chef-umbrella-master-chef-server/builds/75#_

Merging this since the original PR #2110 was already approved and the tests are green. Thank you for your contribution @tehlers320


Ensure label in get_id is normalized

We might want to use the label contained in the id from get_id to compare and/or help calculate things (e.g. #1968). In order to do that it would be helpful to ensure it's normalized like other labels.
Effectively this PR makes an id that looks like this today
//foo/bar:baz some-config-here

look like this instead
@//foo/bar:baz some-config-here

Making it "normalized" so it can be compared with actual labels.

(should've made a draft, forgot that fixtures would break here)

(I'm glad ./test/update_all_fixtures.sh exists)

We shouldn’t normalize the label in the target id. It should be an opaque type, and we really shouldn’t do any logic based on it. See #2085 for progress towards that.

We shouldn’t normalize the label in the target id. It should be an opaque type, and we really shouldn’t do any logic based on it. See #2085 for progress towards that. I have another change locally that hashes the value to make it a true opaque type.

Ok! Put up this to get some feedback, will close and go with a different approach to what I intended to do do enable the test suite stuff. Thx for the context and example!


[wip] wafHook: don’t depend directly on python

Uses python as fallback when it is not in the environment.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

What is the motivation? What issue does it solve?

motivation https://github.com/NixOS/nixpkgs/issues/69305#issuecomment-534205526

Why not move wafHook to pythonPackages as proposed in #69305?

@veprbl python-packages.nix is for libraries, not for anything for which we happen to want to have a version per interpreter.

@FRidh As far as I am concerned, waf is a library that allows you to create your own build system. Yes, you have to use their executable as an entry point and don't do explicit imports in most of the cases, but it still acts as a library.

what's the status of this ? I would like to convince ns-3 folks to try nix (they have lots of problem with the different dependency interactions that could be solved with nix) and this is kinda blocking.

@FRidh As far as I am concerned, waf is a library that allows you to create your own build system. Yes, you have to use their executable as an entry point and don't do explicit imports in most of the cases, but it still acts as a library.

Either that or removing the python fallback which feels hackish.
Either way we need to choose before 20.03. it's a simple problem.

@matthewbauer: Slightly off topic but since the change anyways require mass rebuild: Have you considered also making wafHook optionally dependent on waf itself as well? The recommendation from the author is for waf to be shipped with the project so I guess that's the case for most packages. If that's indeed the case in Nixpkgs the default wafHook could be provided without waf. This would then reduce the impact of future wafpackage updates.

@xbreak There is no need to piggyback things just because there is a mass rebuild. If you think that you need a certain change and you can implement it yourself, then just submit it as a separate PR.

@xbreak has a point here, all waf project I know embed their own waf. If we don't consider waf as a  library, making it optional from the hook forces the user to set a python version. It's a convolutad way of doing the equivalent of python3Packages.wafHook but less hackish than the current one.

If we don't consider waf as a library, making it optional from the hook forces the user to set a python version. It's a convolutad way of doing the equivalent of python3Packages.wafHook but less hackish than the current one.

It is slightly different than how we work with hooks typically, but to me this seems like the best solution proposed thus far.

If that's indeed the case in Nixpkgs the default wafHook could be provided without waf. This would then reduce the impact of future wafpackage updates.

I'm not sure I understand what is being proposed here. Do I understand correctly, that this will result in the following two options:

nativeBuildInputs = [ wafHook waf ]; for when we use waf from nixpkgs

nativeBuildInputs = [ wafHook python ];
wafPath = "./waf";

?
And then a more explicitly coupled way could look like:

nativeBuildInputs = [ wafHook ];
nativeBuildInputs = [ (wafHook.override { waf = "./waf"; }) ];

@veprbl right that's how I see it.

Any status on this, ns-3 really needs an update and relies on this (being something) getting merged.

@eyJhb Would you like to finish this?

If I had the competences to do so, I really would! :)

Closing in favor of https://github.com/NixOS/nixpkgs/pull/106533.


How to auto resume after error?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

How to auto resume after an error like ERROR: unable to download video data: Remote end closed connection without response
Auto resume/retry until it's finished at 100%?
[download]  27.7% of ~2.14GiB at  1.09MiB/s ETA 21:36 (frag 969/3507)[download] Got server HTTP error: Downloaded 572509 bytes, expected 674168 bytes. Retrying (attempt 1 of 10) ...

[download]  43.1% of ~2.13GiB at  1.16MiB/s ETA 16:53 (frag 1510/3507)ERROR: unable to download video data: Remote end closed connection without response

Other error that stops download and doesn't resume
ERROR: unable to download video data: <urlopen error [Errno 0] Error>
Real life situation, leave file download over night and find it aborted and incomplete.
Current solution: Resuming it manually works. Over and over until it's finished at 100%.

You seem to have a bad network environment, perhaps some censorship firewall?
You could use a command script that runs yt-dl to download the target until it succeeds, with some delay between attempts. How you do that will depend on your system.

What command indicates that target succeeded at 100%? (Windows batch)

Since by its very design ytdl (and by extension, ytdlp) doesn't return process codes (and changing to that is a massive rewrite), I can think of just 2 abstract ways:

A parent script (Bash, PowerShell, not Command Prompt/Batch) runs ytdl, receives its verbose output, looks for specific substrings indicating errors, sends a termination signal, and relaunches ytdl.

(Admittedly I dunno much about this one, so it might not work this way) A parent Python script uses ytdl as a module, receives its thrown errors, terminates ytdl, and relaunches ytdl.

This IF %ERRORLEVEL% NEQ 0 seem to work. Thank you.


Repo sync for protected CLA branch

The pull request is created from master637508467583956108 to master to fix git push error for protected CLA branch

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


editor should ignore line ending edits

The TS formatter produces line ending edits in some cases. This seems to make the editor fail which results in rejecting the edit. The code that make the edit fail is:
            if (loserCursorsMap.hasOwnProperty('0')) {
                // These commands are very messed up
                console.warn('Ignoring commands');
                return false;
            }

@alexandrudima it is best if I show you the failing edits on my machine. I disabled parts of the code again to not make the formatter fail.

The failing edit tree looks like this:
[1,8] [1,9] '\n'
[3,17] [3,18] '\n'
[3,18] [3,18] '    '
[4,1] [4,5] '        '

To test do the following

in file formattingProvider.ts uncomment the additional settings in the method getFormatOptions at the end of the file.
build and run. Create ts file with the content

class A {
    someProperty = false;
    someMethod() {
    this.someMethod();
    }
}

format the file

Thanks!


vr-common => godot-xr-tools

Switch from the old vr-common to the new godot-xr-tools

Annoying formatting rules, need to exclude those for related addons. Will do that over the weekend, bedtime :)

Annoying formatting rules, need to exclude those for related addons. Will do that over the weekend, bedtime :)


Added Presentation Request Handling Spec

The file elaborates on how the AttributeDir shall be used to handle field verification, registration of new fields for schemas and also how a wallet would resolve a request.
Linked To Issue #6

@bharatkashyap would love to hear your feedback on this. Thank you.


Update composer.json

Thanks so much for offering us this pull request. We're actually refactoring the library to remove the requirement for the guzzle adapter - you can see what we're working on in #182 is you're interested. I've also increased the version of the adapter that we'll install if users want one.
Since we're already working on this, I'll close this pull request but thank you so much for sending it over and taking an interest in our library, it's greatly appreciated!


Display named regions and function call regions

This is part of my GSoC project.
This PR will display named regions and function call regions as control flow region.

From looking at the screenshot, I think the font size can be larger :)

Superseded by https://github.com/spcl/dace-webclient/pull/173


Release 1.1.8 unavailable

It seems that version 1.1.8 was not published to jitpack.io: https://jitpack.io/com/github/jillesvangurp/es-kotlin-client/1.1.8 is empty...
Could not find com.github.jillesvangurp:es-kotlin-client:1.1.8.
        Searched in the following locations:
          - https://jitpack.io/com/github/jillesvangurp/es-kotlin-client/1.1.8/es-kotlin-client-1.1.8.pom

Thanks for letting me know; I'll look into what is going on there.

It looks like they were having some server issues. The build log is gone and it actually queued a new build for the same tag now.
I also tagged a <IP_ADDRESS> which seems to have built successfully:
https://jitpack.io/com/github/jillesvangurp/es-kotlin-client/<IP_ADDRESS>/build.log
Same commit hash. So no changes otherwise. So, either version should work now. I just rebuilt one of my projects against 1.1.8 and that seems to have worked.


Gettext Build Error

Environment

Alpine Linux 3.1.19
musl-1.1.5 (libc)
gettext-0.19.3 (gnu)
go-1.3.3
lxd commit lxc/lxd@75a7f053c2e981dc1ca5cf5ebdc5fa49bfcf7ade

Error
After running make or trying to just run go get github.com/lxc/lxd . The gettext errors are produced as shown below.
go install -v ./...
github.com/gosexy/gettext
# github.com/gosexy/gettext
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_bind_textdomain_codeset':
../../gosexy/gettext/gettext.go:61: undefined reference to `libintl_bind_textdomain_codeset'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_bindtextdomain':
../../gosexy/gettext/gettext.go:72: undefined reference to `libintl_bindtextdomain'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_dcgettext':
../../gosexy/gettext/gettext.go:85: undefined reference to `libintl_dcgettext'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_dcngettext':
../../gosexy/gettext/gettext.go:100: undefined reference to `libintl_dcngettext'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_dgettext':
../../gosexy/gettext/gettext.go:111: undefined reference to `libintl_dgettext'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_dngettext':
../../gosexy/gettext/gettext.go:124: undefined reference to `libintl_dngettext'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_gettext':
../../gosexy/gettext/gettext.go:143: undefined reference to `libintl_gettext'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_ngettext':
../../gosexy/gettext/gettext.go:155: undefined reference to `libintl_ngettext'
/tmp/go-build282493908/github.com/gosexy/gettext/_obj/gettext.cgo2.o: In function `_cgo_b28bc486a664_Cfunc_textdomain':
../../gosexy/gettext/gettext.go:177: undefined reference to `libintl_textdomain'
collect2: error: ld returned 1 exit status
Makefile:15: recipe for target 'default' failed
make: *** [default] Error 2

Hmm, that issue should probably have been filed against gosexy/gettext rather than here since it's not code we own.
Looking at it quickly, it looks like musl doesn't implement libintl at all so none of the gettext functions are present for musl users. That means that there's nothing gosexy/gettext can do about it since that go project is a straight libc binding, if the underlying libc is incomplete, then it'll just fail to build.
As for LXD, translation support for our client is much more important to us than supporting a less common (and apparently incomplete) C library, so unfortunately, short of switching to glibc or some other more complete C library, you're out of luck.

So still the wrong place for this bug, but the error still suggests that you had a C header for those functions, it's just the linker failing somehow.
I wonder if adding -lintl as a linker flag would solve that. I'll give it a quick try (I can't test it since I don't use musl, but I can make sure it still builds with glibc at least).

Hmm, unfortunately that's not very fixable with Go...
Passing -lintl on a glibc system makes the build fail (because it's built-in). And Go doesn't support any kind of detection for the cgo LDFLAGS...
However it looks like you can set CGO_LDFLAGS in the environment to get cgo to use extra flags.
Can you try running:
env CGO_LDFLAGS=-lintl go install -v ./...
See if that somehow helps?

Thank You
Thank you for your very prompt reply. After reading your reply, I agree this isn't the right place for requesting a fix. I just wanted to post a notice that I ran into an issue of trying to compile and let the developers make of the information of what they wish. :smile:
Compile Success
I tried your suggestion and it compiles! Thanks :smile:
Runtime Error
Despite the successful compile, now I'm getting a malloc error. No need to re-open or for me to post a new issue until I investigate this further.
fatal error: runtime: C malloc failed

goroutine 16 [running]:
runtime.throw(0xf17908)
	/usr/lib/go/src/pkg/runtime/panic.c:520 +0x69 fp=0xc208065d28 sp=0xc208065d10
runtime.cmalloc(0xffffffffffffffff)
	/usr/lib/go/src/pkg/runtime/cgocall.c:185 +0x5d fp=0xc208065d50 sp=0xc208065d28
github.com/lxc/lxd/shared._Cfunc__CMalloc(0xffffffffffffffff, 0xffffffffffffffff)
	github.com/lxc/lxd/shared/_obj/_cgo_defun.c:42 +0x27 fp=0xc208065d60 sp=0xc208065d50
github.com/lxc/lxd/shared.GroupName(0x3e9, 0x0, 0x0, 0x0, 0x0)
	/home/admin/gocode/src/github.com/lxc/lxd/shared/util.go:416 +0x9e fp=0xc208065e30 sp=0xc208065d60
main.init·1()
	/home/admin/gocode/src/github.com/lxc/lxd/lxd/main.go:32 +0x33 fp=0xc208065ef8 sp=0xc208065e30
main.init()
	/home/admin/gocode/src/github.com/lxc/lxd/lxd/response.go:205 +0x99f fp=0xc208065f50 sp=0xc208065ef8
runtime.main()
	/usr/lib/go/src/pkg/runtime/proc.c:240 +0xda fp=0xc208065fa8 sp=0xc208065f50
runtime.goexit()
	/usr/lib/go/src/pkg/runtime/proc.c:1445 fp=0xc208065fb0 sp=0xc208065fa8
created by _rt0_go
	/usr/lib/go/src/pkg/runtime/asm_amd64.s:97 +0x120

goroutine 17 [runnable]:
runtime.MHeap_Scavenger()
	/usr/lib/go/src/pkg/runtime/mheap.c:507
runtime.goexit()
	/usr/lib/go/src/pkg/runtime/proc.c:1445

goroutine 18 [runnable]:
bgsweep()
	/usr/lib/go/src/pkg/runtime/mgc0.c:1976
runtime.goexit()
	/usr/lib/go/src/pkg/runtime/proc.c:1445

goroutine 19 [runnable]:
runfinq()
	/usr/lib/go/src/pkg/runtime/mgc0.c:2606
runtime.goexit()
	/usr/lib/go/src/pkg/runtime/proc.c:1445

goroutine 20 [runnable]:
os/signal.loop()
	/usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
	/usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x32

goroutine 17 [syscall]:
runtime.goexit()
	/usr/lib/go/src/pkg/runtime/proc.c:1445


_setState() do not thrown error if the state argument is not defined as a class in the _states() method

Can you provide a bit more context or example code?

If I call
this._setState('NotDefinedStateClass')
I'm expecting a
throw new Error("NotDefinedStateClass in sot defined")
if
class NotDefinedStateClass
is
undefined.


Add a wiki: Anti-Idle: The Game

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://aitg.fandom.com
Link to destination (independent) wiki: https://aitg.miraheze.org

Added in v3.8.0


FormKitSchema: if conditions does not work inside a $cmp

Reproduction
https://formkit.link/6ec8add33a2f17328e7e3e1f7e71ee40
Describe the bug
Current:
When using a condition inside of a component, the condition is not working.
Expected:
Conditions should also work when formkit inputs are wrapped by a component in a schema.
Environment
• OS: macOS
• Browser Chrome
• Version 116.0.5845.187

Ok — so technically this is working as expected, but im sympathetic to the poor DX here. Whenever you render a component the context available to the children is the slot data of the default slot. That’s currently just the way schema works — this is intentional to prevent unintended interference of multiple data sets — you can think of it as a new scope.
Perhaps we should instead close-over the existing values and have them be shadowed by the new slot data. In other words your $value would still be accessible unless the Test.vue component exposed a value prop to the default slot. The alternative is explicit scoping. For example, in a language like php scope is not automatically closed-over, instead it has to be explicitly named (with a use statement):
<?php
$scopedVariable = 'abc'
array_map(function($v) use ($scopedVariable) {
  //
}, $myArray)

There are pros and cons to both, I think I would lean towards implicit scopes since most users of FormKit are familiar with JavaScript.
Workaround
You can still pass the data through your components, you just need to do it explicitly:
https://formkit.link/ab14aab6d5dc70f16a5359e605208d6d

Thank you for providing the details and the workaround, that helps alot. Maybe we should add this to the documentation, until the enhancement would be done.

FWIW — closing this in favor of #200, whatever solution we come up with there should be portable to schema.