Preloader

Would like to make a preloader
Believe that users should have a indication of a loading element.
Is there an .is-loading class or something.
How can achieve this, thanks?

@rgfx there are two approaches to solve this:

in case your preloader is a gif, you can use it as the default source of element

<img class="lozad" src="loader.gif" data-src="image.png" />

in case you want to use a CSS loader, you can use this selector .lozad:not([data-loaded]) to select the images which are yet to be lazy loaded


The government of Australia has f****d with this`

https://www.eta.homeaffairs.gov.au/ETAS3/etas

Yes. I double checked and restarted chrome, same result. :(
On Monday, December 3, 2018, Jacob Swanner<EMAIL_ADDRESS>wrote:

@brkorb https://github.com/brkorb, I do see that they don't allow
pasting into the "Confirm ..." fields, but when this extension is active I
am able to do so. Are you having trouble even with this extension active on
their site?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jswanner/DontFuckWithPaste/issues/81#issuecomment-443947332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL3OKRw1XDE24j2aNglh657QGq_RV86ks5u1d6FgaJpZM4Y_opU
.

--

Bruce

@brkorb, what color is the extension's icon when you are on that site (grey or blue)?

Grey, of course. :( Attached is the DFWP config page which says, "active"
to me. What am I missing?
On Tue, Dec 4, 2018 at 11:03 AM Jacob Swanner<EMAIL_ADDRESS>wrote:

@brkorb https://github.com/brkorb, what color is the extension's icon
when you are on that site (grey or blue)?

@brkorb, click on the extension icon, then press the "Save" button. The button's icon should then be blue, and you should be able to paste.

Is the java RE anchored or not? i.e. is there an implicit "^" at the start
and "$" at the end, or not? Anyway, my new pattern is ".*", so it doesn't
really matter. Thank you.
On Tue, Dec 4, 2018 at 11:57 AM Jacob Swanner<EMAIL_ADDRESS>wrote:

@brkorb https://github.com/brkorb, click on the extension icon, then
press the "Save" button. The button's icon should then be blue, and you
should be able to paste.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jswanner/DontFuckWithPaste/issues/81#issuecomment-444236316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL3ODKSi_ohiljRpwol_VGAUPhGkxqdks5u1tOkgaJpZM4Y_opU
.

--

Bruce

@brkorb, the patterns are not altered in any way when they are evaluated: https://github.com/jswanner/DontFuckWithPaste/blob/a2fdb5254ceb46567bacd650fb0146e7e08713e0/dfwp.js#L15-L21, but you shouldn't need to add ^/$ to the patterns, especially if the patterns start with <protocol>://.
I would not recommend a pattern like .* to match all sites, as you don't want this extension active on all sites, only problematic ones. This extension will have negative side-effects if active on sites like GitHub which do useful things on paste events (like turning paste of files into file uploads).

Okay :)


Update endpoints.yml

Fixed Port for Action Server to run out of the box

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


cant start in game bot in my ssl host

hi
how can i start geme in ssl host

Sorry, but this repository is just to show the bot I created, and that's why there are no instructions about how to set it up. In case you are interested in how the code could be used, all that you would have to do is to follow the instructions of the Telegram API in order to create and configure your bot. Then, in the web server in which you would have uploaded all the files, you would have to update the file bot_config.php with your values. And that's about it.
Regarding the SSL issue, I can assure you this code works using HTTPS because I was using it in my web server when it was still up and running, and the bot worked perfectly. In fact, the Telegram API requires your webhook to use HTTPS, so SSL is definitely not a problem for this code to run.
My apologies for the immense delay in the answer, I completely forgot about this.


Make it work well with Ubuntu

It is my understanding that  on Ubuntu the ~/.bashrc file needs to be update instead of ~/.bash_profile. I don't know much shell scripting, but could this script detect the distribution and make the changes in the right file?

This overlaps with #15 - which I just picked up to look into it. I definitely would like to see this as well.


Fix #100

Should fix #100: now checks the exit code of dig, and if that fails, tries to get the public IP address by running curl eth0.me.

I messed up my git... Closing this and reopening later. :fire:


Support Any2Tuple

Following program doesn't work.
function main(string[] args) {
(string, int) a = ("foo", 5);
any b = a;
var x = <(string, int)> b;
}

Verified Issue. Fixed in current master.


upgrade from 0.3.7 to latest version

I am trying to update from quite old version to a new one, it is unclear to me what happened but it looks like the existing data is not "retained" between the library updates, is there something I can do about this? I have some users in the app who then upgrade to new version of the app (and new library version) and they don't have the existing data anymore.

I tried IOS, not tried Android yet.


FAT (File Allocation Table) file system for Lions OS

The FAT (File Allocation Table) file system for Lions OS is an asynchronous file system built upon Elm-Chan's FatFs - Generic FAT Filesystem Module (FatFs website). The fatfs for Lions OS supports the FAT12, FAT16, FAT32, and exFAT file system formats.
This implementation also incorporates changes from the pull request titled "Make FS protocol more explicit." The communication protocol between fatfs and clients is based on this enhanced FS protocol.
The transition from a synchronous file system to an asynchronous one is achieved using coroutine. The file system operates as follows: The main coroutine is responsible for receiving and delegating requests and responses to worker coroutines, which in turn invoke the actual file system functionalities, with yielding to other coroutines when encountering blocking operation.

It should be noted that this PR also depends on at least two changes that aren't in sDDF:

the change of SDDF_TRANSFER_SIZE to 512. I think it should be kept to 4096.
the removal of the virtualiser check that the offset passed by the client is on a transfer size boundary. That change does make sense to me.

It will take multiple rounds of review to get this merged but some low-hanging fruit you can work towards is:

using libmicrokitco
having consistent style with all the other code, e.g Client_CH should be CLIENT_CH, the includes should not use relative paths.
documenting the design of the FAT file system in the LionsOS design doc.
Where does ff15 come from? That needs to be documented somewhere but I'm not sure what the best place for it is.
Adding a basic Python script we can use to test FATFS and file systems in general.
Could you explain the relationship between, fatfs_op.c, fatfs_event.c and fs_diskio.c?

One thing I'm a bit confused about is how MicroPython knows whether to use FATFS or NFS, right now in micropython.c it still does init_nfs but offline we were using FATFS just fine. I don't see anything in the Makefile to tell MicroPython to use FATFS instead of NFS? From memory MicroPython only supports one VFS but I might be wrong.

One thing I'm a bit confused about is how MicroPython knows whether to use FATFS or NFS, right now in micropython.c it still does init_nfs but offline we were using FATFS just fine. I don't see anything in the Makefile to tell MicroPython to use FATFS instead of NFS? From memory MicroPython only supports one VFS but I might be wrong.

Fatfs and nfs follow the same set of protocol so micropython does not need to who it is talking to.

Where does ff15 come from? That needs to be documented somewhere but I'm not sure what the best place for it is.

My bad it's in the PR description.

It will take multiple rounds of review to get this merged but some low-hanging fruit you can work towards is:

using libmicrokitco
having consistent style with all the other code, e.g Client_CH should be CLIENT_CH, the includes should not use relative paths.
documenting the design of the FAT file system in the LionsOS design doc.
Where does ff15 come from? That needs to be documented somewhere but I'm not sure what the best place for it is.
Adding a basic Python script we can use to test FATFS and file systems in general.
Could you explain the relationship between, fatfs_op.c, fatfs_event.c and fs_diskio.c?

Good suggestions, I will be working on those. One minor issue is libmicrokitco seems to still have some bugs and I would switch to use libmicrokitco once it works correctly.

the change of SDDF_TRANSFER_SIZE to 512. I think it should be kept to 4096.

Let me add a bit more context to avoid confusion. FATFS is flexible and can work with various sector sizes (e.g., 512 bytes, 1024 bytes, 2048 bytes, 4096 bytes, etc.). However, the sector size that the FAT file system operates on is determined at the time of formatting. When the FAT file system is mounted, the file system driver reads the metadata from the first sector (sector 0), which includes the sector size.
The problem here is that the storage medium has a physical sector size of 512 bytes, and the FAT file system on it is formatted with a 512-byte sector size in mind. The block virtualizer, however, tries to read multiple sectors at a time and emulates a 4096-byte sector size to improve performance. This approach can confuse the file system, as it expects to read one sector and provides a 512-byte buffer, but 4096 bytes are written to that buffer, which inevitably leads to incorrect results.
However, since the file system is aware that the block virtualizer is emulating a 4096-byte sector, it is possible to construct a translation layer to handle this correctly. For example, a read of sector 8 in 512-byte sectors could be mapped to a read of sector 1 by the block virtualizer, followed by copying the first 512 bytes of data. Similarly, a write to a single sector could be handled using a read-modify-write cycle.
Given that the file system currently has only minimal caching mechanisms and reads/writes one sector at a time due to the lack of dynamic memory allocation, I cannot think of any better way to address this issue than using an inefficient translation layer as described.
However, I am open to suggestions if there is a more efficient approach to handle this situation.
Btw, to get the fileio example working, simply creating a disk with a 4096-byte sector size should also work, as long as the sector size is the same as BLK_TRANSFER_SIZE defined in blk/queue.h in SDDF.

Could you explain the relationship between, fatfs_op.c, fatfs_event.c and fs_diskio.c?
fatfs_event.c defines the init process, event handling and is responsible for init, assign request, and wake up worker coroutines.
fatfs_op.c defines the wrapper functions that the worker coroutine is executing, those wrapper functions call the file system operations declared in ff15/source/ff.h. The wrapper functions extract function variables from the args that the event coroutine passes to the worker coroutine, and run the variables with a bunch of sanity checks, then finally pass the variable to file system operations defined in ff15/source/ff.h. The fatfs_event.c and fatfs_op.c's interaction is via the operation_functions function array, fatfs_op.c define those functions and fatfs_event.c assign those functions(requests) to worker coroutines.
fs_diskio.c contains the disk functions that the file system operations call. For example, if the fs want to read a certain sector on the disk, the fs would call disk_read. The disk operation is implemented as enqueuing a disk request to the sddf queue between fs and blk virt and block the worker coroutine. When the fat_event.c receive a response from the blk virt, it wakes up the worker coroutine that blocks on that request.
co_helper.c is an abstraction layer to abstract away the differences of two coroutine libraries that I am using and provide a constant set of coroutine functions to the file system.

Another thing you can work on while we review is having the web server example use the FAT file system instead of NFS. This would be a good test of the FAT FS. The web server also runs on QEMU.

Another thing you can work on while we review is having the web server example use the FAT file system instead of NFS. This would be a good test of the FAT FS. The web server also runs on QEMU.

Right, I have put this on my to-do list.

I see that FATFS depends on libc, what functionality from libc does it depend on?

The MicroPython port, understandably, mentions NFS in various places where it shouldn't. I think the only two places are in:

micropython/fs_helpers.c for the data/command/completion regions.
micropython/micropython.c for the MicroPython VFS initialisation.

I see that FATFS depends on libc, what functionality from libc does it depend on?

Memory functions like memcpy, memset. Str functions like strlen. math functions like isnan and isinf. The header files included are:
string.h, math.h, stdint.h, stdbool.h, stdarg.h.

It should be noted that this PR also depends on at least two changes that aren't in sDDF yet:

the change of SDDF_TRANSFER_SIZE to 512. I think it should be kept to 4096.
the removal of the virtualiser check that the offset passed by the client is on a transfer size boundary. That change does make sense to me.

As discussed offline, both changes aren't necessary/wanted and so we don't need to make any changes to sDDF for FATFS.

It should be noted that this PR also depends on at least two changes that aren't in sDDF yet:

the change of SDDF_TRANSFER_SIZE to 512. I think it should be kept to 4096.
the removal of the virtualiser check that the offset passed by the client is on a transfer size boundary. That change does make sense to me.

As discussed offline, both changes aren't necessary/wanted and so we don't need to make any changes to sDDF for FATFS.

Those two changes are no longer required as the translation layer is implemented and tested. Now no changes are needed to be done for sddf to run the fileio example.

Now that the bugs regarding libmicrokitco are resolved, can you remove all the other co-routine stuff and just leave libmicroktico?

@Cheng-Li1 James' FS protocol changes have been merged so you might want to rebase on main.

@Cheng-Li1 James' FS protocol changes have been merged so you might want to rebase on main.

Done, hope it is the last time I do force push.

Couple notes when I compiled it for something I'm working on locally:

trailing whitespace needs to be removed
blk_config.h should always be included as #include <blk_config.h> in case the user does not have a config directory
#include <fs/protocol.h> -> #include <lions/fs/protocol.h>

There's also some unused variables:
/Users/ivanv/ts/lionsos_tutorial/lionsos/components/fs/fat/io.c:49:13: error: unused variable 'stat'
    DSTATUS stat;
            ^
/Users/ivanv/ts/lionsos_tutorial/lionsos/components/fs/fat/io.c:50:9: error: unused variable 'result'
    int result;
        ^
/Users/ivanv/ts/lionsos_tutorial/lionsos/components/fs/fat/io.c:94:13: error: unused variable 'stat'
    DSTATUS stat;
            ^
/Users/ivanv/ts/lionsos_tutorial/lionsos/components/fs/fat/io.c:95:9: error: unused variable 'result'
    int result;
        ^

These should be caught with compiler flags ideally. We should add -Wall -Werror to the Makefile.

Ignore the trailing whitespace check for everything in dep/ff15 but there's lots in components/fs/fat.


please update em to ~> 1.0.0.beta.1

There are some known problems in 1.8.x with em 0.12.0, em ~> 1.0.0.beta.1 not.
But I don't know whether the rpc server is compitable with em 1.0.0...

We haven't done any work to ensure compat with the new EM beta, we'll put it in the pipeline to verify. Thanks for the heads up


Remove version: Wagnardsoft.DisplayDriverUninstaller version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

This is the latest version in Winget. I am getting status code 200, URL works for me. Please don't remove.

URL: https://www.wagnardsoft.com/DDU/download/DDU v<IP_ADDRESS>_setup.exe
OK
(Automated message - build 922)

Close with reason: Package still available;

This is the latest version on Winget. I am getting status code 200, URL works for me. Please don't remove.

This user's automation could be on a bad network connection, as the false positive rate is high.


How to send the 3 range data?

Ok, so I am finally getting 3 ranges value from three anchors on the tag. I can easily use these to do Trilateration, But my main controller should not be connected to the tag, since I want to track a robot which is moving. How can I change the Tag code so that the range values from Tag are transmitted to a 4th UWB (with its own code), connected to the main controller?

Hello, you could implement, in Tag code, BasicSender example. Then, in your controller with another DWM1000 implement BasicReceive example.
Every Range cycle, you have to send from Tag a new transmision to your controller.

I have 3 bunnyies and want to know how far are them :)

@xforus have you tried doing this with your 3 tags?

Not yet, I'm still learning source code structure to make changes.
Is dificult to me to add a second Tag and don't know best method to interact more than one Tag with more than one Anchor. Timings are mixed and the result is wrong distances.
Need more testing and free time!!

ahan, well please do share your code if you get the 2nd tag working, need it desperately. Thanks

Hi, AliSiddiqui4
Is dificult for me to know which is the best method to implement it.
To implement more Tags, is necessary to write a system of time slots, similar used for anchors, but for tags, in order to not get more than 1 Tag talking at the same time.
I also will need help from someone with more experience!

Hi @xforus
Best of Luck! and let me know if you had any success.

@xforus ok so I tried what you suggested and it worked to some extent. I am receiving the data on a receiver dwm100 from the tag dwm . But I am getting a lot of garbage values like 100 garbage for a single correct value. Not sure what the problem is. I am using the same baud rates and the same Mode.

Hello @AliSiddiqui4 , what do you mean with garbage?
I supose you only send data from one device to another like Basic receiver/sender example...
Do you get this garbage in these examples too?

@AliSiddiqui4 Did you ever get the code for the receiver working correctly? I'm building a system of 3 anchors and one tag and I want a receiver to take the data being outputted by the tag, I tried implementing the send and receive examples but the result is garbled.

Yeah just try using different modes. Also, I do not recommend this whole system, I wasted 3 months to get it to work. In the end, I did get it to work but the tag needed to be within 8-10m of each anchor in order for it to get readings from all three anchors. This is a big disappointment to what the decawave website claim about the range, someone should sue them.

@AliSiddiqui4 I'm using the system inside a room, so the range isn't a problem. I was able to get roughly double that range however. Is there anyway you can share your code for the receiver? I want to compare mine with yours.

Its the same library code with just changes in the mode

@AliSiddiqui4 You are referring to the LOWPOWER,ACCURACY, modes etc?

YES

@AliSiddiqui4 I tried all 6 modes but only LONDATA_RANGE_LOWPOWER allowed me to see my packet albeit the result was still garbled. Is this the mode you had success with?

@AliSiddiqui4 I've tried 3 anchors and 1 tag with long data range accuracy. but I only get data from 2 anchors only, very rarely get data from the third anchor. if I get the data, the data is very different from the other 2 anchors. example: distance between tags and every anchor is 60cm. and data from the third anchor is 2 meters but sometimes negative. What about your data ? Did you get same thing ?


Postgres cannot start after restart!

Repmgr try to connect postgres but it dose note complete start.
This is log on master node.
>>> Setting up STOP handlers...
>>> STARTING SSH (if required)...
>>> SSH is not enabled!
>>> STARTING POSTGRES...
>>> SETTING UP POLYMORPHIC VARIABLES (repmgr=3+postgres=9 | repmgr=4, postgres=10)...
>>> TUNING UP POSTGRES...
>>> Configuring /var/lib/postgresql/data/postgresql.conf
>>>>>> Will add configs to the exists file
>>>>>> Adding config 'shared_preload_libraries'=''repmgr''
>>> Check all partner nodes for common upstream node...
>>>>>> Checking NODE=sp-db-node-0.sp-db...
psql: could not translate host name "sp-db-node-0.sp-db" to address: Name or service not known
>>>>>> Skipping: failed to get master from the node!
>>>>>> Checking NODE=sp-db-node-1.sp-db...
psql: could not translate host name "sp-db-node-1.sp-db" to address: Name or service not known
>>>>>> Skipping: failed to get master from the node!
>>>>>> Checking NODE=sp-db-node-2.sp-db...
psql: could not translate host name "sp-db-node-2.sp-db" to address: Name or service not known
>>>>>> Skipping: failed to get master from the node!
>>> Auto-detected master name: ''
>>> Setting up repmgr...
>>> Setting up repmgr config file '/etc/repmgr.conf'...
>>> Setting up upstream node...
>>> Sending in background postgres start...
>>> Waiting for local postgres server recovery if any in progress:LAUNCH_RECOVERY_CHECK_INTERVAL=30
>>> Recovery is in progress:
>>>>>> RECOVERY_WAL_ID is empty!
>>> Not in recovery state (anymore)
>>> Waiting for local postgres server start...
>>> Wait schema replica_db.public on sp-db-node-0.sp-db:5432(user: replica_user,password: *******), will try 9 times with delay 10 seconds (TIMEOUT=90)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 9 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 8 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 7 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 6 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 5 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 4 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 3 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 2 times more)
psql: could not connect to server: Connection refused
	Is the server running on host "sp-db-node-0.sp-db" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?
>>>>>> Host sp-db-node-0.sp-db:5432 is not accessible (will try 1 times more)
>>> Schema replica_db.public is not accessible, even after 9 tries!

Maybe, the time that the local postgres launch depends on the amount of data
Just increase REPMGR_WAIT_POSTGRES_START_TIMEOUT and it work, but it may not the best solution.


Implement winston on rsyslog extension to log to rsyslog

https://github.com/flatiron/winston
http://www.softwareontheroad.it/devlife/2014/01/winston-on-rsyslog/

TODO:
Fix the lifetime of a winston logger by instantiating a new logger on each request populated dynamically with the transports needed to handle that request. Otherwise not sure how the global winston logger works across requests


file_id_list.scp is empty

Hi,
I am trying to train another voice by using build_your_own_voice example, I have 60 voice samples which are about 2 minutes, it is a small set to test tool. However in the
./05_train_duration_model.sh conf/duration_${voice_name}.conf
command, it exits with
Traceback (most recent call last):
File "/mnt/c/Users/onrat/Documents/IoX-Projects/merlin-tts/merlin/src/run_merlin.py", line 1320, in
main_function(cfg)
File "/mnt/c/Users/onrat/Documents/IoX-Projects/merlin-tts/merlin/src/run_merlin.py", line 551, in main_function
assert cfg.train_file_number+cfg.valid_file_number+cfg.test_file_number == total_file_number, 'check train, valid, test file number'
AssertionError: check train, valid, test file number
for debugging purposes I log the file numbers individually to the promt, it gives
File Numbers:
train:  49
valid:  5
test:   5
total:  0
Then I checked the file_id_list.scp under the folder
$Merlin\egs\build_your_own_voice\s1\experiments$voice_name\acoustic_model\data
and it was empty.
For what reason it might be ?

acoustic_model isn't duration_model,so u should check duration_model\data...

Make sure you have placed your data in build_your_own_voice/s1/database, this must include file_id_list.scp. After running 01_setup.sh, 02_prepare_labels.sh, and 03_prepare_acoustic_features.sh check that the directories experiments/${voice_name}/*/data contain your data.
If they do not contain the file_id_list.scp then copy this over manually yourself.
Additionally, I think you need the file numbers to sum to the length of file_id_list.scp, so make sure they sum to 60 in your case.


(feat): DocumentDataProvider to allow external data sources

Description
Hi everyone 👋🏻
Small suggestion here that can help the bundle supporting extra document data sources, for now, this bundle only support loading document data from entities (without asynchronous supports but more on this later), even if this is the de facto approach when it comes to data handling in Symfony application (thanks to Doctrine), we often use external services like Redis, Kafka and so on, these services contains data and we often need to search on it.
The idea here is to introduce the idea of DocumentDataProvider (or just _X_DataProvider) along with a DataProviderRegistry which allow to use the data providers and allow each provider to return an array that contains data that we can load into indexes.
Basic example
Ok, so, here's a small example:
final class FooDataProvider implements DataProviderInterface
{
    public function getData(): array
    {
        // Fetch data from external data source and return a valid array
    }

    public static function getIndex(): string // static is not a requirement
    {
        return 'foo';
    }
}

Following the same approach, an EntityDataProvider can be created to move the logic from the existing command to a dedicated class.
The final part is a DataProviderRegistry which contains and allow to access and interact with the data providers (sort them, filter them and many more) which can be injected in the command to remove some logic on it and ease both the debug and evolution phase.
Regarding the asynchronous support, when using Messenger and regarding https://github.com/meilisearch/meilisearch-symfony/issues/62, adding this layer can help introduce the asynchronous support by allowing to dispatch a message which can call the registry to persist data into MS.
I've already implemented a solution here but the final implementation can be improved 🙂
Other
--
Thanks for the feedback and have a great day 🙂

I think it'd nice addition :)

Hi 👋🏻
@curquiza If it's good for you, I can start working on a solution, submit a PR then we can see if it fit the bundle and improve the developer experience 🙂

Hello @Guikingone, thanks for your suggestion, I think we can start a work on it! :)


exception subdirectory

how to exception some subdirectory like wp-admin in wordpress?

routers:
  wp-admin:
    rule: wp-admin
    service: no-cache
  rest
    rule: *
    service: cache

services:
  no-cache:
    ...
  rest:
    middlewares: my-cache

middlewares:
  my-cache:
    ...


podman-docker integration

This issue seems to be similar to https://github.com/k14s/kbld/issues/19 but the setup is different.
Have a typical setup for kbld where it is doing image build and pushing image to remote registry. When it fills out the image digest reference in the deployment, it is using the digest which matched what was stored in local image build cache. The digest which the image was stored under in the remote image registry is different though, meaning the image cannot be found by the deployment.
Final step of kbld outputs:
resolve | final: custom-jupyterhub -> lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-
jupyterhub@sha256:0fc073a041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6

Inspection of the image in the local build cache yields:
[
    {
        "Id": "769906fbf88ba54ba5a5267749edda68c2aea96a630b2e2c9aee3b7042eaa860",
        "Digest": "sha256:0fc073a041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6",
        "RepoTags": [
            "localhost/kbld:custom-jupyterhub-769906fbf88ba54ba5a5267749edda68c2aea96a630b2e2c9aee3b7042eaa8
60",
            "lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub:kbld-rand-1586
680932345334383-93222136210142"
        ],
        "RepoDigests": [
            "lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub@sha256:0fc073a
041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6",
            "localhost/kbld@sha256:0fc073a041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6"
        ],

The image reference in the deployment is:
metadata:
  annotations:
    kbld.k14s.io/images: |
      - Metas:
        - Path: /home/eduk8s/hub-v3
          Type: local
        URL: lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub@sha256:0fc073a
041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6
...
    spec:
      containers:
      - image: lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub@sha256:0fc07
3a041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6

The error from kapp when deploying is:
8:47:22AM:     ^ Pending: ErrImagePull (message: rpc error: code = Unknown desc = Error response from daemon
: manifest for lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub@sha256:0fc07
3a041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6 not found: manifest unknown: manifest unknown)

If you rerun just kbld with nothing changed, you get the error:
kbld: Error:
- Resolving image 'custom-jupyterhub': Expected to find same repo digest, but found []string{"lab-jupyter-on
-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub@sha256:0fc073a041e341ca3db2fe40a570d5c22e
b529b591fc90a490737b4d48ca53d6", "lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupy
terhub@sha256:484209beb53e3dae50fc828fa215ac596f9f6f35d6398c113b7ce45b59dec5d2", "localhost/kbld@sha256:0fc0
73a041e341ca3db2fe40a570d5c22eb529b591fc90a490737b4d48ca53d6", "localhost/kbld@sha256:484209beb53e3dae50fc82
8fa215ac596f9f6f35d6398c113b7ce45b59dec5d2"}

which also appears to be picking up the mismatch.
As far as the setup goes, the builds are being done with podman using the podman-docker wrapper on Fedora which results in podman being invoked when docker is run. Thus podman is used to push the image to the remote registry. The remote registry self hosted latest version of the standard Docker image registry.
The image registry was empty before starting. After kbld run, have:
$ curl -u xxx:xxx -X GET https://$REGISTRY_HOST/v2/_catalog
{"repositories":["custom-jupyterhub"]}

$ curl -u xxx:xxx -X GET https://$REGISTRY_HOST/v2/custom-jupyterhub/tags/list
{"name":"custom-jupyterhub","tags":["kbld-rand-1586680932345334383-93222136210142"]}

Running skopeo to inspect the remote image get:
    "Name": "lab-jupyter-on-k8s-03-w01-s003-registry.training.getwarped.org/custom-jupyterhub",
    "Digest": "sha256:cdaeaddf70987d0b895efccaa735ea6efcdb00228a0bdd9f586c78f663c42b3c",
    "RepoTags": [
        "kbld-rand-1586680932345334383-93222136210142"
    ],
    ...
    "Layers": [
        "sha256:462816986e4db9b3ba3ff89114709053ed939e75339c1bf64bb6c8c20bb0ac09",
        "sha256:8a14c0ec1aad906c9703b3be9a4807671a6367d6496d1941ff4a40f488887816",
        "sha256:ea892e6e4eade778ab7349dafb7a078676f4367c7bed5067c2456c204705aeaa",
        "sha256:a8abb9d778483d211484c35e61002e6dde8ca8755c0577a82fe265c65590a786",
        "sha256:f5266c3eb07a9a052ccde05abe2bd4e763a8ffe316dcaef1c3f1b2935515ec14",
        "sha256:255f20c7a19d5ec58bc992bcf3c56cd58c6cd9ffd144c3cbd854a5e4efc72a94",
        "sha256:3699fa7667edd14c6e99940406dd9fb4f2d33e0bced900623bd973bd822ab4d5",
        "sha256:cf5bbb6d527ad8bc3eb29a4b73fa7acfc1fcb2d4bbf17df1b3d5e4176aad33bd",
        "sha256:021fc1973d41319bdb76e723c4f89424d5a9c7a6d3bd5b0d79560722a70e53e3",
        "sha256:b971891c534ff0a70e03c988a9e254b6e33d192e61d1e1352061edb69bba7469",
        "sha256:5fd45b49b7e12c875ca5110ea78b8ff04ac90c79db1c0bbced7a13d55d6f820a",
        "sha256:f291ee79eb30aedf1cf37386b3c3233e193c3a95255a8e8b55e9d5ff41e07409",
        "sha256:028d992643957f2d6b967697e91e7c986eb919016aa88fd997e8b91237cb5fed",
        "sha256:716df0b1c063d005b933667274c2edd3a0d6bf5405ac1390812066543c812a36",
        "sha256:68d6bea7dd2ed44cb44cf70365c75f69e6b30877332dac5d08b333c4de56c6b1"
    ],

So looks like kbld should be working out what the digest is from the image on the remote image registry after it has been pushed, rather than assuming the image will have the same digest value.
cc @jorgemoralespou

hey @GrahamDumpleton,

If you rerun just kbld with nothing changed, you get the error: Expected to find same repo digest...

hmm, it seems that podman-docker returns multiple digests for the same locally tagged image. that's not the behaviour of docker inspect.

So looks like kbld should be working out what the digest is from the image on the remote image registry after it has been pushed

kbld expects docker to record a digest at the time of the push (it uses docker inspect to retrieve it). it also expects that digest matches what was pushed to registry. it looks like podman-docker does not offer same API guarantees as docker, hence it is not compatible with kbld today.
kbld does not ask registry for the digest because pushing process should know what the digest is (given that it's pushing content), and there is no good way to ask registry in a "non-racy" way. theoretically asking registry for the digest for a tag is racy because someone else can override the tag meanwhile.
i havent run podman before, but it might be worth adding it as a builder.

@GrahamDumpleton can it be a problem on podman side? Related to this (https://github.com/containers/libpod/issues/3761)(https://github.com/containers/libpod/issues/3761) maybe?


Autoupdate from page with multiple published versions

How would I go about specifying the "latest version" extraction mechanism from a page like, say, this one? It'd be nice if there was some way to hook in some arbitrary executable for extracting the relevant version string (e.g. in the example I linked I'd want to iterate over all matches to a regex and pull out the highest one). If I could do "checkver": { "exe": "curl ..." }, that would make things super easy.
Semi-related question: does scoop have any support for simply describing a recipe for installing a given version string, without locking the user to the latest? E.g. scoop install<EMAIL_ADDRESS>which would use checkver, autoupdate, and hash to obtain and install the correct artifacts? This way I wouldn't have to maintain a curated manifest that needs to be updated in tandem with the actual publishers of the software.

In the case of Miniconda a regex like this will be enough: Miniconda3-([\d.]+)-Windows-x86.exe. Scoop uses only the first matching result.
scoop install<EMAIL_ADDRESS>was made possible with #1332. As long as the download URL doesn't change (some developers move older versions to a subdirectory) this will create a custom manifest to install that version.


Failure to import on MacOSX Arm64

Describe the bug
Failure to import on MacOSX Arm64, either installed via git clone ... ;  pip install -e .
Log
import plenoptic as po
Traceback (most recent call last):
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3442, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-31aae8407192>", line 1, in <module>
    import plenoptic as po
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/__init__.py", line 1, in <module>
    from . import simulate as simul
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/simulate/__init__.py", line 1, in <module>
    from .models import *
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/simulate/models/__init__.py", line 1, in <module>
    from .frontend import *
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/simulate/models/frontend.py", line 20, in <module>
    from .naive import Gaussian, CenterSurround
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/simulate/models/naive.py", line 8, in <module>
    from plenoptic.tools.conv import same_padding
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/tools/__init__.py", line 1, in <module>
    from .data import *
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/PycharmProjects/XXX/plenoptic/plenoptic/tools/data.py", line 8, in <module>
    from pyrtools import synthetic_images
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/__init__.py", line 1, in <module>
    from . import pyramids
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/__init__.py", line 1, in <module>
    from .GaussianPyramid import GaussianPyramid
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/GaussianPyramid.py", line 3, in <module>
    from .c.wrapper import corrDn
  File "/Users/user/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/223.8617.48/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapper.py", line 17, in <module>
    lib = ctypes.cdll.LoadLibrary(libpath[0])
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/Users/user/mambaforge/envs/XXX/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so, 0x0006): tried: '/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so' (no such file), '/Users/user/mambaforge/envs/XXX/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

System (please complete the following information):

OS: MacOS 13.2 Ventura (M1 Max chip)
Python 3.10 (Mambaforge)

Additional context
Can possibly be remedied using certain tricks, e.g. https://apple.stackexchange.com/questions/436801/m1-mac-mach-o-file-but-is-an-incompatible-architecture-have-x86-64-need-a
This issue seems to be primarily with pyrtools

This does appear to be a pyrtools problem, can you double-check that's the case by just installing pyrtools by itself (in a clean environment) and seeing if you get the same error? So:
mamba create -n pyrtools_test python==3.10
conda activate  pyrtools_test
pip install pyrtools

Here it is: python -c "import pyrtools as pt" 2> pyrtools.log
Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/__init__.py", line 1, in <module>     from . import pyramids   File "/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/__init__.py", line 1, in <module>     from .GaussianPyramid import GaussianPyramid   File "/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/GaussianPyramid.py", line 3, in <module>     from .c.wrapper import corrDn   File "/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapper.py", line 17, in <module>     lib = ctypes.cdll.LoadLibrary(libpath[0])   File "/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary     return self._dlltype(name)   File "/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/ctypes/__init__.py", line 374, in __init__     self._handle = _dlopen(self._name, mode) OSError: dlopen(/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so, 0x0006): tried: '/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so' (no such file), '/Users/orenweiss/mambaforge/envs/pyrtools_test/lib/python3.10/site-packages/pyrtools/pyramids/c/wrapConv.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Alright, I opened an issue for this on the pyrtools issues tracker (I'm also a maintainer for that package), so let's continue the conversation there: https://github.com/LabForComputationalVision/pyrtools/issues/21


python311Packages.ring-doorbell: 0.7.4 -> 0.7.7

Changelog: https://github.com/tchellomello/python-ring-doorbell/releases/tag/0.7.7
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 265468 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.ring
python310Packages.ring-doorbell
python310Packages.ring-doorbell.dist
python311Packages.ring-doorbell
python311Packages.ring-doorbell.dist


Include seed in final name

Including seed in file names makes it easier to load structures and files later without name duplicates.

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

@hypnopump Thanks for your contribution.


EKS Anywhere should validate that user-provided taints do not have duplicate keys

Kubernetes does not support taints with duplicate keys on the same nodes.
Attempting to join a node with duplicate taint keys results in an error.
EKS Anywhere does not validate that user-provided taints have distinct keys.
A validation should be added to ensure that taints provided in their the CP config or WN config have distinct keys.

Validation on Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/core/validation/validation.go#L4991


[2.0]: Change default for Create styles with variables to true

Right now its set to false, causing users to not understand this feature exists

Added to Featurebase Roadmap as a point of feedback to collect that might influence beta testing -	❖💡Create a style powered by a variable


[contributing] Remove code formatting instructions

No format npm script exists.

Codecov Report

Merging #4698 (23960f3) into master (0485967) will not change coverage.
The diff coverage is n/a.

@@      Coverage Diff       @@
##   master   #4698   +/-   ##
==============================
==============================

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 0485967...8cb3260. Read the comment docs.

Closing as stale.


Help me with the example of using environment variables with values for checkov and terrascan

I'm getting issues for using below setup
Azure Devops Pipeline: ci.yaml
parameters:
  - name: workingDir
    type: string

stages:
- stage: TerraformContinuousIntegration
  displayName: Terraform - CI
  jobs:
    - job: StaticCodeAnalysis
      displayName: CI - Static Code Analysis
      pool:
        vmImage: ubuntu-latest
      steps:
      - task: MicrosoftSecurityDevOps@1
        displayName: 'Static Code Analysis - MDFC'
        inputs:
          categories: 'IaC'
          tools: 'checkov,terrascan'
        env:
          GDN_CHECKOV_DIRECTORY:'$(System.DefaultWorkingDirectory)/${{ parameters.workingDir }}'
          GDN_CHECKOV_SKIPPATH: '/pipelines,/examples,/archive'
          GDN_CHECKOV_DOWNLOADEXTERNALMODULES: 'true'
          GDN_CHECKOV_CREATECONFIG: 'checkov-config.yaml'
          GDN_CHECKOV_SHOWCONFIG: 'true'
          GDN_CHECKOV_SKIPCHECK: 'CKV_TF_1'

Logs:
------------------------------------------------------------------------------
Clear:
Clearing folder: /home/vsts/work/1/s/.gdn/.r
Clearing folder: /home/vsts/work/1/s/.gdn/rc
Analyze:
Using environment variable override: SkipPath=/pipelines,/examples,/archive
Using environment variable override: SkipCheck=CKV_TF_1
Using environment variable override: DownloadExternalModules=true
Using environment variable override: CreateConfig=checkov-config.yaml
Using environment variable override: ShowConfig=true
Running Checkov 3.2.199
------------------------------------------------------------------------------
/home/vsts/work/_msdo/packages/nuget/Microsoft.Guardian.CheckovRedist_linux_amd<IP_ADDRESS>/tools/dist/checkov --directory ./ --output sarif --soft-fail --show-config --skip-path /pipelines,/examples,/archive --skip-check CKV_TF_1 --download-external-modules true --create-config checkov-config.yaml --output-file-path /home/vsts/work/1/s/.gdn/.r/checkov/001/checkov.sarif
##[error]Wrote config file to checkov-config.yaml
Tool run time: 5.4715251 seconds
------------------------------------------------------------------------------
Checkov completed with exit code 0
------------------------------------------------------------------------------
If you see the logs, the checkov is still using directory as: --directory ./ instead of value from environment variable: GDN_CHECKOV_DIRECTORY
Also let me know, If I'm okay to use this env variable: GDN_CHECKOV_SKIPPATH with values like this:  '/pipelines,/examples,/archive'. Because checkov is not skipping this path correctly and checking all the files from this directory as well.

Same issue here.
It looks like the GDN_CHECKOV_DIRECTORY and the GDN_CHECKOV_FILE are not working for me. All other environment variables seem to be working except those two.
Can someone please fix this issue?

We need this too. Can someone please fix this? Ping @chrisnielsen-MS @richardtucker @sethRait or anyone from MS.

Hi folks,
With regards to the target directory, that one does work but it has a different environment variable: GDN_CHECKOV_TARGETDIRECTORY
I noticed our wiki had GDN_CHECKOV_DIRECTORY as well, so I fixed the documentation there. With regards to the skip paths, Checkov expects multiple values to be specified separately, like --skip-path /pipelines --skip-path /examples. This is currently not supported by our mechanism of passing values through environment variables, but we plan to add proper support for this soon in an upcoming release.
@cndaan -- we currently do not support the GDN_CHECKOV_FILE argument as it is mutually exclusive with --directory, for which we provide a default value. Once we have proper support for skipping subdirectories, would you still be interested in support for scanning a single file? If there is interest in this scenario separate from avoiding unnecessary scanning, I will add it to our backlog as well.

@chrisnielsen-MS To my knowledge Checkov doesn't support scanning Terraform execution plans without the file argument.
From the Checkov documentation: "Plan evaluation provides Checkov additional dependencies and context that can result in a more complete scan result." https://www.checkov.io/7.Scan Examples/Terraform Plan Scanning.html

Thank you for confirming @masse-solita we will be addressing this in an upcoming release as well.

Great news @chrisnielsen-MS! Any ETA on the new release? 😄

Any news about the new release @chrisnielsen-MS?


fix aria label for name input box in create project from db dialog

This PR addresses https://github.com/microsoft/azuredatastudio/issues/22132

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 42.228%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
30867

Relevant Lines:
67845

💛  - Coveralls


ES Module update

ping @stoe I just found https://github.com/stoe/octoherd-scripts/ - super cool!
Note that I've updated the@octoherd/cli to be built using ES Modules. That will make it easier to make @octoherd scripts compatible with browsers and deno. Also it's just lots of fun to use ES Modules natively in Node :) And because we control the whole ecosystem there is no problem to start out with ESM.
Please let me know if you have any questions or if you need any help migrating

Note that I've updated the@octoherd/cli to be built using ES Modules.

@gr2m, just found out today. Super cool.
Will need to do a little refactoring on my scripts.


SDKs fail to return leaf arrays of structs (GraphQL)

Problem
When implementing https://github.com/dagger/dagger/pull/4387 tests using the Go SDK, we realized that SDKs fail to execute some endpoints that do work as graphQL queries.
After talking with @vito, it turns out that this touches all schemas that return arrays of custom structs:

envVariables
labels (future implementation)

Repro
Go SDK
Given this Go SDK example:
package main

import (
	"context"
	"fmt"
	"log"

	"dagger.io/dagger"
)

func main() {
	ctx := context.Background()
	c, err := dagger.Connect(ctx)
	if err != nil {
		log.Fatalf("debug: %s", err)
	}
	defer c.Close()

	labels, err := c.Container().From("nginx").EnvVariables(ctx)
	if err != nil {
		log.Fatalf("debug2: %s", err)
	}

	fmt.Println("good", labels)
}

We get this error:
$ go run .
debug2 input:1: Field "envVariables" of type "[EnvVariable!]!" must have a sub selection.

Please visit https://dagger.io/help#go for troubleshooting guidance.

Error is consistent with the one encountered on current implementation of labels

GraphQL equivalent
However, the graphQL equivalent:
{
  container {
    from(address: "nginx") {
      envVariables {
        name
        value
      }
    }
  }
}

We get:
{
  "data": {
    "container": {
      "from": {
        "envVariables": [
          {
            "name": "PATH",
            "value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
          }
        ]
      }
    }
  }
}

Why didn't we see it ?
Most of container tests have been implemented as graphQL queries, thus making us unaware of this problem.
cc @vito @aluzzardi

Duplicate of #3457

Duplicate of #3457

Feeling dumb to have not checked 👼 Thanks

Yeah, old issue... this is the second duplicate 🙂


Sphinx fails to build OpenApi

#209 added those lines:
https://github.com/clp-research/slurk/blob/cdf1cc32ac306fba0f8e6c190cfc5c5d6bbba542/slurk/views/api/layouts.py#L13-L22
The documentation cannot resolve the type '[string] | string':
  File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/sphinxcontrib/openapi/openapi30.py", line 142, in _parse_schema
    return _TYPE_MAPPING[(schema_type, None)]  # unrecognized format
KeyError: ('[string] | string', None)

We may have to change the documentation for sphinx or need another solution to bypass this. RapiDoc, Swagger-UI and redoc generates fine. In particular, only this documentation page fails. I'd be fine to just remove it and link to RapiDoc directly.
@wencke-lm

It would be possible to mark ScriptSource as [string] but also accept string. Then, on isinstance(value, str) it returns [value].


how it works?

Hi,
I am a naive for singularity but i want to  use polysolver. I downloaded singularity-polysolver and installed to ubuntu 15.10. following the instruction,
sudo singularity create --size 4000 polysolver.img ###works
sudo singularity bootstrap polysolver.img Singularity ### error
###########################################
wei@lc22up:~/NGS_software/singularity$ sudo singularity bootstrap polysolver.img Singularity
ERROR  : Could not open bootstrap definition file Singularity: No such file or directory
ERROR  : Could not open bootstrap definition file
ABORT  : Retval = 255
############################################################
what is the problem and how to solve?
Thanks,
Wei

If you read the error message, it is telling you that it cannot find the file Singularity. That is this file. Make sure you cd into the folder with that file, or provide the full path to it, in the bootstrap command.


Fixes #3 introducing regex that strips multiline comments

Thanks for the PR! I'll release this in the next hour or so.


Add makefile to provide common build switches

This PR creates a common makefile to provide common building switches. Each platform can set the default switch value. For example, to enable DEFAULT_LOGGING by default, add the following line before the include directive.
DEFAULT_LOGGING ?= 1

This PR aimed at not changing the current default configuration for each platform. If anything changed unwanted, please give comments.

Very nice! LGTM 👍


adding inheritance filter

Signed-off-by: Shawn Hurley<EMAIL_ADDRESS>

Please wait for https://github.com/konveyor/java-analyzer-bundle/pull/23 before merging


IK/FK Match on Metahuman Leg Broken

Reported in the forum
http://forum.mgear-framework.com/t/ik-fk-match-on-metahuman-leg-broken/2771

related to  Shifter: Improve IK/FK matching for legs + foot #92


Remove unused py_utils objects

Remove unused/unnecessary py_utils functions/classes.

Hmmm this one broke master. T'm fixing it.
Maybe because your branch was outdated ?

Sorry @lhoestq, I forgot to update the imports... :/

It's fine, the CI should have caught this tbh. Not sure why it did't fail


Specify Video Output File

There currently is no way to set the output video file. I'd like to use my own location.

Same problem here. Currently I'm immediately renaming/moving after recording is completed.

#64

Hey guys we've created a new ticket to track this issue #336. It's currently set for milestone 1.1.0. Comment there if you have any other questions, thanks!


Production Ready: Recommendation for Kestrel and Linux

What is the recommended way to host a web application on Linux (Centos) using RC1?
I'm figure with iptables command but port 80 never appears to work. I can use a non-standard port such as 5000 just fine.
I've used ngix on windows but not for ASP.NET MVC Application.
Also, how does the domain name or host name affect the hosting.json file, etc?
Any help would be great.

I believe it is:
Windows - Kestrel reversed proxied behind IIS with HttpPlatformHandler
Linux -  - Kestrel reversed proxied behind nginx

@DamianEdwards @glennc do we have any docs (in progress?) on production hosting?

@benaadams There's on wrong answer just choices and some will be better than other. I got nginix running on Linux however, my application just hung. I will try the proxy settings you suggested.
@DamianEdwards I understand this is an Open Source Project but a little direction/recommendation would be helpful. Lol!

@davidfowl @benaadams @DamianEdwards
I'm wonder if Docker is the best choice for hosting and running an ASP.NET application on Linux (Centos).
Any suggestion??

@kscott5 my community member take on it is

Multiple applications/sites at different domains sharing same ip address+port
Multiple Kestrel applications
Route using domain with reverse proxy e.g. IIS/ngnix
(Can use WebListerner on Windows; which does this natively via http.sys)
Multiple virtual directory applications on same path (e.g. /blog, /shop, /admin, /media)
Multiple Kestrel applications
Route using path with reverse proxy e.g. IIS/ngnix
(Can use WebListerner on Windows; which does this natively via http.sys)
Single application with exclusive ip+port use but open to the internet
At this time, use Kestrel behind established publicly hardened reverse proxy e.g. IIS/ngnix
Configure reverse proxy with limits

e.g. max headers, max upload, timeouts etc
Generally they come with sensible defaults.

Single application with exclusive ip+port use but not open to the internet

Can use Kestrel directly

For instance as a services in the background on Linux OS.

This definitely may fall into the last category; if its not one of the previous ones - and using with the newer dotnet cli approach when compiling you can have an executable for your service that that has Kestrel embedded within it.
Other examples for the last case would be

webapi or websocket service backend (not directly internet exposed)
inside container; with routing controlled externally (e.g. IIS/ngnix)
intranet site - not accessible to internet

The common trend here is not directly on port directly accessible to the internet. Though the potential security risk is DoS rather than information exposure.
However, the official recommended approach by Microsoft is one that is also a fully supported one; e.g. you can phone them up and get support; help etc for it and also has a greater in depth analysis behind it; whereas this is just my opinion - so they are very different things :smile:

Double disclaimer; just to make a point.
I am not a security professional and this is just my own personal current opinion; based on what I believe to be a safe conservative approach for anything business critical.
Any you should certainly take any official documentation, advice or recommended scenarios from Microsoft over anything I've said here...

Lol! @benaadams Got It!

Even in an intranet scenario I'd have it behind IIS or ngnix. Never ever trust your internal network. Treat it as a hostile network like you would the internet.

@blowdart but have your honeypot servers have a hotline to HR?

We're still building out our "official" guidance in this area, but as @benaadams points out, it really comes down to your particular scenario. There may be times when it makes sense to expose Kestrel directly, assuming you understand the caveats, just as it may sometimes make sense to expose node.exe directly. But for the vast majority of cases, we'll recommend you have a front-end web server that proxies to your application process (which is running Kestrel).

'''
But for the vast majority of cases, we'll recommend you have a front-end web server that proxies to your application process (which is running Kestrel).
'''
@DamianEdwards I don't understand all the caveats but are you referring to nginx proxy that @benaadams  mention above?

Yes, ngnix on linux

Well, (Accessing a docker container from Windows Host)[http://stackoverflow.com/questions/32975587/accessing-a-docker-container-url-on-windows-host] was a good place to look.
But the best help was the command 'docker-machine ls'. This gave me the VM Box/Container hosted ip address. From there I was able to access my site.
Thanks again!!!!

With all of the performance work you're doing with Kestrel, how does IIS figure into this in terms of performance? I'm assuming IIS can't give you anywhere near the performance that you are now getting via Kestrel, so what does that mean for perf when you are running Kestrel behind IIS (or nginx for that matter)?

@RickStrahl we actively measure direct Kestrel performance on multiple platforms, and on Windows we also measure IIS+Kestrel, and on Linux we measure nginx+Kestrel. For the IIS case, we have an "in" with IIS because of the AspNetCoreModule - that's how Kestrel hooks into IIS. And we have more work planned there that we hope should get even better perf for IIS+Kestrel.

Are those results (iis+kestrel, nginix+kestrel) published somewhere?

Thanks @Eilon. Can you point at any more info on what exactly AspNetCoreModule does? Is there a repo for it? I can't seem to find the native code.Nothing in the IISIntegration repo.

@RickStrahl - AspNet Core Module is a reverse proxy. It's not open source at the moment. It is forked from httpPlatformHandler and replaces it (https://github.com/aspnet/Announcements/issues/164)

It will be open sourced.

Any info anywhere? After my IIS post a few days ago anumber of questions have come up exactly what still works in IIS and what doesn't. UrlRewrite, possible to use IIS for static hosting in the same site/virtual etc.
From what I can see the module takes over IIS completely and nothing runs in the IIS application.

@RickStrahl We're still working on publishing the sources. Not sure how long that will take.

Also, it only takes over because that's how it's registered in the web.config by default.
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>. You can scope it down if you need to.

@RickStrahl We just did the update on the doc regarding ANCM. It won't answer all of your questions, but here's the doc: https://docs.asp.net/en/latest/hosting/aspnet-core-module.html You may also glean some tidbits from the IIS Hotline! doc in the #iis channel at Slack. I would like to expand that doc to address the issues you are raising now, so I'll work on that over the coming days/weeks.

The problem is there's not a lot of control with the path="*" attribute. So if you selectively want to include non Core content (say static files) it's difficult to do this. I suppose if you know you're only dealing with MVC and API you could use:
 path="*."

But even that doesn't work very well because the IIS site or virtual is rooted in the code folder not in the wwwroot folder.

This is the same level of control IIS has always given you, no?

@RickStrahl The simplest solution is just allow Static File Middleware (https://docs.asp.net/en/latest/fundamentals/static-files.html) to take care of static files. Did you have a strong need to avoid the Static File Middleware approach (just curious)?

No not a specific case, but other things have come up. I got several questions about mixing classic ASPX, using re-write Module (actually haven't tried that - that might work).

Ok ... just curious ... the Static File Middleware has been rock solid, and it simplifies things well.
Actually, I'm sort'a telling people to disable the IIS static file module, because if the web.config ever goes MIA or is accidentally renamed, IIS will happily serve sensitive JSON and XML files from the app base path ... anywhere in the app really.

Agree - I'd be happy to use built in tools, but I'm sure there will be interop scenerios where integrateion is required and running out of the binary folder is a problem overall. It'd be much better if IIS was rooted in wwwroot and then has a bin probe to the binary folder to find all the config files. dotnet.exe can still run out of the base folder, but IIS really should be rooted to wwwroot IMHO.

There was a good discussion on it: https://github.com/aspnet/IISIntegration/issues/158
We discussed it for docs here: https://github.com/aspnet/Docs/issues/1264
... and folks can go back to having web.config in wwwroot with a workaround: https://github.com/aspnet/IISIntegration/issues/164

@RickStrahl @GuardRex - I started working on this over the weekend but this discussion prompted me to finish. Hopefully you will find it useful: https://blog.3d-logic.com/2016/06/08/running-asp-net-core-applications-with-iis-and-antares/

It appears the focus of my original question changed. I've notice a few changes related to the current release of .NET Core 1.0.1 preview2. Closing this unless there are some objections.

@RickStrahl This is an old thread, but you asked about effective/ineffective modules with ANCM/ASP.NET Core apps. There's a WIP doc now, and it will be going through the review process at some point. I tested many of the modules to see if they worked in order to put the doc together. It hasn't been reviewed by team members yet, so it probably has a few kinks and bugs.
https://github.com/aspnet/Docs/issues/2367
https://github.com/aspnet/Docs/pull/2609


Android app crashes in Release build but not Debug

My app works fine on Windows (both Debug & Release builds), and on Android if it's a Debug build, but crashes immediately upon launch on Android if it's a Release build.

When I run the Release build from Visual Studio, the Output window shows only Android application is running (debug is disabled in android project properties)
I've tried to "Enable developer instrumentation" in the project settings, but the behavior is the same.
I've tried to add some logging (to RequestBin) in MainActivity as suggested here: https://stackoverflow.com/questions/49649627/xamarin-app-runs-on-debug-but-crashes-on-release . By doing that, I can see that it's crashing in OnCreate, i.e.:

// overriding just so I can log
protected override void OnCreate(Bundle savedInstanceState)
{
   // Log here - reaches RequestBin
   base.OnCreate(savedInstanceState);
   // Log here - doesn't reach RequestBin
}

If I wrap that in a try/catch block, and try to log the caught exception, it doesn't log - so it doesn't seem to be actually throwing an exception.

Addendum:

Added android:debuggable="true"  to the application element in AndroidManifest.xml (per here)
Added all of the following to the Android csproj (per here):

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <DebugSymbols>True</DebugSymbols>
	<Debugger>Xamarin</Debugger>
	<DebugType>full</DebugType>
	<DevInstrumentationEnabled>True</DevInstrumentationEnabled>
	<DefineConstants>DEBUG;TRACE</DefineConstants>
	<Optimize>False</Optimize>
  </PropertyGroup>

Cleaned the solution, quit Visual Studio, then built & ran

I'm then able to see a bit more logging - lines before the crash:
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=<IP_ADDRESS>:8854,server=y,embedding=1,timeout=1703541404
[monodroid-assembly] open_from_bundles: failed to load assembly System.Private.CoreLib.dll
[appname] * Assertion at /__w/1/s/src/mono/mono/metadata/assembly.c:2714, condition `corlib' not met
[libc] Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 19105 (appname), pid 19105 (appname)

Addendum:

Enabled "Use Fast Deployment" & disabled Trimming, to try to get Release's project settings more similar to Debug's. It worked.
So I reverted all the other changes, & just isolated Trimming (disabled Trimming on Release build). It also made me disable AOT (Ahead-Of-Time). It worked.

So it seems like Trimming (which I didn't change - was enabled by default) breaks it.

I am not sure what's going on here, but for the record there are uncatchable exceptions in .NET, meaning no matter what you do you will never be able to catch them. They are fairly rare though.

Most likely a trimming issue. Make sure to use as less reflection as possible or edit the csproject file to disable AOT and trimming

yeah, found the issue as trimming in my last follow-up above

@metal450 that means it's by design and should be handled by yours.

So as a newcomer, this was super not intuitive & very time-consuming to figure out. Since it sounds like trimming/AOT are optional optimizations, and are known to cause issues, wouldn't it be far better to default to them being disabled, & just have a note in the docs that they can optionally be turned on, with a warning about the potential side-effects? Rather than having them be on by default, possibly breaking apps, & leading to confusion & support tickets? If they're opt-in, they cannot unknowingly break anyone's app.

@metal450 not sure here. Either way is nit perfect tbh. I'd like to have better support overall from .NET itself but that is comming slowly.

Right, but we have no control over .NET, so what would be wrong with having potentially breaking optimizations be opt-in rather than opt-out?

This happens to nearly everyone wth xaramin and trimming . .  for me i was loading   plugins in dynamically, when  deserializing level files .       a workarounf was  makeing a direct reference to one on the obects in the plugin dll, make cure the caller,  didnt get optimzed out as unused., or the whole dll was trimmed
but for adoption:
if you would look at what feature uses corelib or whatever else  is missing, in your case then make a direct or indrect call to it in your program . Is it something that a typical ui component needsd, or an edge caae?  if its a commonly useable ui feature..
if i google  coreclr or corelib and avalonia, it came  up in older versions..so maybe the little workaroud in the frameowrk, , /and or samples or a note,  or  bild warning will  lhelp noobs.
 if its off by defuault people might evaluate the baresamples  as bloated and not use avalonia. But  ifs typical use case..then we could stick the workaround in the code,  tag it, as workaround,  revisit ..

 Generally, in .net and  tooling for a smart trimmer that runs your code then makes a call graph for trimming , so could be  a enhancement to devstudio , or  xamarin, etc.   in JIT in net 8  the optimizer does a second compile based on each  user.. thats sort of like this.. and.the AOT run some converage code  , then could talk to the bundler thing..   you can just trim sdk also..

 in general.to me seems JIT seems better but you might have to obfuscate if some hack can cost you ..i would not  bother ..
 this casn helpo you decide..

 https://www.reddit.com/r/dotnet/comments/zoxhkp/aot_vs_jit_in_net/

Right, but again, my point was: if this happens to so many people, it really seems like it should be opt-in rather than opt-out, so the default behavior out of the box is not "the one that's likely to crash." Then just have in the docs "enable this option, but be aware that it might cause x."

@metal450 we are not planning to switch that yet as it would be a breaking change. If we feel we have too many support tickets about it for 12.0 release we can rethink that. But for now, templates will stay as they are. AOT has a huge benefit on mobile ans wasm which is worth it.
And to note, you and other get support for free if we or someone from the community finds time to answer.
Thanks for your kind understanding

it would be a breaking change.

Oh really? Assumed it was solely an optimization, so it can only break things when enabled, but not disabled. Just curious, what's the break if it's not enabled?


Allow to commit during import and set start point of import

During import of cca 70M of documents, where json file was aprox 140GB, there occurred Timeout exception (10minutes of inactivity).
I tried to fix this (probably did not succeeded) by more commits during import (c parameter). Also I needed to continue from last successfully saved document, (x parameter). This allows you to continue when an error appears.
As side effect of SolrServerException (timeout) I added 5 retries.

Hi cipous, first of all thank you very much for contributing. Please give me more time, I'll try and have a look at your pull request soon.

Hi cipous, thanks again for contributing. I've approved pull request, but I'm not sure that retrying the commit is right after a Solr Server Exception is the right way to go. Honestly retrying the commit just hides a problem related to the Solr configuration.

Hello!
I am not retriing commit, but insert of last batch.
I had aprox 140GB json that I created from 70M of documents. WHen I was
reimporting to solr, it happened to me, that solr with one core failed
randomly on timeout. It was strange, but alwyas second run passed without
restart of solr or anything else.
I dont like to solution as well, it was quick fix for me for some problem
out of this code. With retry, I was able to import whole json , witout I
had to check in log last processed document and then run it with continue
parameter.
Cipous
On Thu, Jul 19, 2018 at 11:06 AM freedev<EMAIL_ADDRESS>wrote:

Hi cipous, thanks again for contributing. I've approved pull request, but
I'm not sure that retrying the commit is right after a Solr Server
Exception is the right way to go. Honestly retrying the commit just hides a
problem related to the Solr configuration.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/freedev/solr-import-export-json/pull/6#issuecomment-406208317,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AETMdZgjlMW0zyiHnm_mousHoHWDsCP3ks5uIEwFgaJpZM4Uzl0o
.

--
Radek Mensik


feat(repack): include and copy castor composer when repacking

Fix https://github.com/jolicode/castor/issues/477

Replaced by https://github.com/jolicode/castor/pull/485


Do we need to include macaca-ios in package.json?

From https://github.com/xudafeng/app-inspector/blob/master/lib/ios.js#L18

https://github.com/xudafeng/app-inspector/pull/2

$ npm i<EMAIL_ADDRESS>-g


'generate-xcodeproj' is no longer needed and will be deprecated soon

danger-swift edit creates Dangerfile.xcodeproj file via swift package generate-xcodeproj, which may be unusable in the near future.
$ swift package generate-xcodeproj
warning: Xcode can open and build Swift Packages directly. 'generate-xcodeproj' is no longer needed and will be deprecated soon.

It should be editable as a Swift Package.

Note
generate-xcodeproj seems to be dropped on Xcode 14 (Swift 5.8) beta


Improved Tomcat JDBC instructions

Summary of changes:

Generalized the instructions (previously they were specific to MySQL)
Provided a table of driver download links and class names for Postgres, MySQL, and SQL server
Added a note that the connection string for Azure Database for Postgres must be edited (I am getting the database UI team to change this.)
Improved on areas where the instructions were vague (XMl snippet locations, reader following app-level instructions may not see instructions for adding JARs to class path)

@rloutlaw

@JasonFreeberg : Thanks for your contribution! The author, @rloutlaw, has been notified to review your proposed change.

#sign-off


Thanks for your library, I'm stranded though, I wanted to implement alert dialog with listview for my project. I have added FlycoDiaglog_Master library as a dependency to my project but I'm lost, what I'm I supposed to do next?

demo and readme will help you


Can we have a sample for simple API usage?

The samples existing in the samples directory are good to start. Yet as soon as I change from them, because of the lack of documentation, I encounter many weird Java exceptions and I can't find the problems through searching.
Can we have a sample for simple API calls? I'm talking a sample for this URL:
http://stanfordnlp.github.io/CoreNLP/simple.html
Also can we have a sample of how to access annotations (result of NLP annotators) directly in C#, and not pretty print them to the console?

Sample is available here for example.
It is a little bit tricky, but you have to create instance of annotation class and call .getClass().
new CoreAnnotations.TextAnnotation().getClass()

more
// Sample text for time expression extraction
var text = "Three interesting dates are 18 Feb 1997, the 20th of july and 4 days from today.";
var annotation = new Annotation(text);
annotation.set(new CoreAnnotations.DocDateAnnotation().getClass(), "2013-07-14");
pipeline.annotate(annotation);

Console.WriteLine("{0}\n", annotation.get(new CoreAnnotations.TextAnnotation().getClass()));

var timexAnnsAll = annotation.get(new TimeAnnotations.TimexAnnotations().getClass()) as ArrayList;
foreach (CoreMap cm in timexAnnsAll)
{
    var tokens = cm.get(new CoreAnnotations.TokensAnnotation().getClass()) as List;
    var first = tokens.get(0);
    var last = tokens.get(tokens.size() - 1);
    var time = cm.get(new TimeExpression.Annotation().getClass()) as TimeExpression;
    Console.WriteLine("{0} [from char offset {1} to {2}] --> {3}", cm, first, last, time.getTemporal());
}

Added Simple CoreNLP samples translated to .NET


Troubleshooting: heap out of memory

I just had a huge memory leak because of my mistake and I didn't found a solution for it in the web. So for the best I will share how to troubleshoot this problem.
I tried to render my universal application with React on my Express server and when I requested a page I got this error:
<--- Last few GCs --->

[28128:0x3eb7690]   101169 ms: Mark-sweep 1281.4 (1425.3) -> 1280.6 (1425.8) MB, 1489.4 / 0.0 ms  (average mu = 0.133, current mu = 0.016) allocation failure scavenge might not succeed
[28128:0x3eb7690]   103085 ms: Mark-sweep 1281.7 (1425.8) -> 1280.9 (1426.3) MB, 1899.1 / 0.0 ms  (average mu = 0.067, current mu = 0.009) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x2c4dd235c01d]
    1: StubFrame [pc: 0x2c4dd235d5a6]
Security context: 0x15acf0c1e681 <JSObject>
    2: matchPath(aka matchPath) [0x20eeef3432a9] [/home/user/reactive_express/node_modules/react-router/matchPath.js:~36] [pc=0x2c4dd2369489](this=0x3dc73e0026f1 <undefined>,pathname=0x0f56e700f3f9 <String[1]: />)
    3: arguments adaptor frame: 3->1
    4: /* anonymous */(aka /* anonymous */) [0x3ea2f3f9d8a1] [/home/use...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x8d20d0 node::Abort() [node]
 2: 0x8d211c  [node]
 3: 0xb02b6e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xb02da4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xef02e2  [node]
 6: 0xef03e8 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node]
 7: 0xefc512 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0xefce44 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xeffab1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0xec8fd4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
11: 0x116846e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x2c4dd235c01d
Aborted

Version
"react-router-dom": "^4.3.1"
Test Case
//server.js
import express from 'express';
import path from "path";

import React from 'react';
import ReactDOMServer from 'react-dom/server';

import { StaticRouter } from "react-router-dom";

import App from './components/App';

const server = express();

const port = 3000;

server.use(express.static(path.join(__dirname, "../public")));

server.get('/', (req, res) => {
    res.status(200).set({"Content-Type": "text/html"});

    let context = {};

    let template = ReactDOMServer.renderToString(<StaticRouter context={context} location={req.url}><App /></StaticRouter>);

    res.send(template);
});

server.listen(port, () => console.log(`Example app listening on port ${port}!`))

//App.js
import React from 'react';
import { Route, Switch, Link } from "react-router-dom";

import Somewhere from './Somewhere'

export default class App extends React.Component {
    render() {
        return (

Hello, world!

                <Link to="/somewhere">Go to Somewhere</Link>

                <Switch>
                    <Route exact path="/" component={App} /> // This line is deadlock
                    <Route exact path="/somewhere" component={Somewhere} />
                </Switch>

        );
    }
}

Steps to reproduce

Run the server
Request a page
Wait unit Node will throw out of memory error

Expected Behavior
Response of fully rendered page with full routing support
Actual Behavior
Waiting of response until Node will crash
Also, that kind of behavior may be and on the client side, i.e. the browser will freeze while the script trying to load requested route
Cause of the Problem
As a commented in my code before this code is making a memory leak
App extends React.Component {
    render() {
        return (

Hello, world!

                <Link to="/somewhere">Go to Somewhere</Link>

                <Switch>
                    <Route exact path="/" component={App} /> // This line is deadlock
                    <Route exact path="/somewhere" component={Somewhere} />
                </Switch>

        );
    }
}

Because the App component rendered in the "/" route it also tries to render another App component since <Route exact path="/" component={App} /> line, and new component tries to render another one, and so on until it will takes all allowed memory...
Solution
To solve this problem you simple need to lift down a routed component:
class Hello extends React.Component {
    render() {
        return (

Hello, world!

                <Link to="/somewhere">Go to Somewhere</Link>

        );
    }
}

App extends React.Component {
    render() {
        return (

App

                <Switch>
                    <Route exact path="/" component={Hello} /> // There is no memory leak now
                    <Route exact path="/somewhere" component={Somewhere} />
                </Switch>

        );
    }
}

Since the issue is solved, it can be closet.


A11y: Focus Indicator for Promotion submit button has insufficient contrast

The Focus Indicator for the Promotion submit button has insufficient contrast against the background. It must have sufficient contrast for both the button hover state AND the background.
{panel:bgColor=#fffae6}
Button should probably match the same styling as the buttons to remove products from the cart (see linked ticket).
{panel}

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38924
[created from NEXT-38924, comment 505551]

[public]

Status Change: In Progress

Work on this issue has started. It is now being implemented.
[created from NEXT-38924, comment 511516]

[public]

Status Change: In Review

Work on this ticket is complete and is now pending review.
[created from NEXT-38924, comment 512094]

[public]

FixVersion Change: <IP_ADDRESS>

This issue will be / was solved in Shopware version <IP_ADDRESS>.
[created from NEXT-38924, comment 515392]


Ensure snapshot test of action commitment is agnostic about serialization

The commitment test in astria-sequencer is sensitive to changes in the serialization procedures: because protobuf serialization is not deterministic, an update to prost (the rust protobuf library we used) can cause this test to break, even though the commitment scheme was not change (the order in which action are serialized should probably not affect the commitment).
Related: #310

Closing this in favor of #320


Remove workaround

I think the workaround can be removed now?
As far as I could see it's working fine. Feedback is appreciated 😀

Thank you for this!!


[HUDI-5538] Fix ContinuousFileSource and ITTestDataStreamWrite for flink 1.16 support

As mentioned here https://github.com/apache/hudi/pull/7584#issuecomment-1370531069, JsonRowDataDeserializationSchema should be opened in flink 1.16. This PR does opening of deserializer in all places of use
Change Logs

Updated azure to run flink tests with 1.16 version

Moved JsonDeserializationFunction from test utils to main utils. It is needed to do the fixes below

Synchronized quickstart ContinuousFileSource with test utils ContinuousFileSource

Fixed several tests freezing with NPE in ITTestDataStreamWrite on flink 1.16

[Map -> row_data_to_hoodie_record (4/4)#3] WARN  org.apache.flink.runtime.taskmanager.Task [] - Map -> row_data_to_hoodie_record (4/4)#3 (c24fd03f94105404d61b4e42c1d737cb_20ba6b65f97481d5570070de90e4e791_3_3)
switched from RUNNING to FAILED with failure cause: java.lang.NullPointerException
	at org.apache.hudi.avro.HoodieAvroUtils.getFieldVal(HoodieAvroUtils.java:515)
	at org.apache.hudi.avro.HoodieAvroUtils.getNestedFieldVal(HoodieAvroUtils.java:548)
	at org.apache.hudi.avro.HoodieAvroUtils.getNestedFieldValAsString(HoodieAvroUtils.java:533)
	at org.apache.hudi.keygen.KeyGenUtils.getRecordKey(KeyGenUtils.java:144)

Impact
Fixed NPE in ContinuousFileSource and in ITTestDataStreamWrite on flink 1.16
Risk level (write none, low medium or high below)
Low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

rebased on the latest master


History Widget

Implementation of #66 for the History widget

[ ] History widget

[x] Preview image
[x] Respect language setting
[x] Respect theme setting

[ ] Schedule widget

[ ] Preview image
[ ] Respect language setting
[ ] Respect theme setting

Coverage decreased (-2.8%) to 18.507% when pulling fdb9f70d251d9f2576e867a9dd741ad7b44467fc on issue_66/widget into 1c308c8909ba3cefbc8a6724a1f267704ea21728 on master.

Coverage decreased (-0.5%) to 20.817% when pulling 62cbc39cc09f320da4bce793b100dc901ec63def on issue_66/widget into 1c308c8909ba3cefbc8a6724a1f267704ea21728 on master.

Coverage decreased (-0.5%) to 20.812% when pulling 12b37cec834b2b786c2002ecfddd05e22662aff7 on issue_66/widget into 828d03a6ef065e72a09f0cc4fa5c0dc543eb7f30 on master.

Coverage decreased (-0.7%) to 22.285% when pulling 2c648b5f9405ce247a9fd5aa840b959e666fabfb on issue_66/widget into 8b32e27b8e468f13b942313a80761569a61f4f05 on release/1.6.

Coverage decreased (-0.7%) to 22.285% when pulling 2c648b5f9405ce247a9fd5aa840b959e666fabfb on issue_66/widget into 8b32e27b8e468f13b942313a80761569a61f4f05 on release/1.6.

RealmManager_* tests will be re-enabled with the refactoring of Realm, coming in a later PR.

Changes Unknown when pulling d5c4f263f15679bd142209a3e760516ab212ac06 on issue_66/widget into ** on release/1.6**.

Coverage decreased (-0.6%) to 22.351% when pulling 6abc4360e0baff8c1c4319502ae299b3cf2d4bf5 on issue_66/widget into 1d71e110fc2c2a1eec1ba89356e6bbfae135a4d7 on release/1.6.

Coverage decreased (-0.6%) to 22.351% when pulling 6abc4360e0baff8c1c4319502ae299b3cf2d4bf5 on issue_66/widget into 1d71e110fc2c2a1eec1ba89356e6bbfae135a4d7 on release/1.6.


Editing repopulated form

the readme is not that clear to me and i'm having problems finishing the input to a database.
When i get my data into the form, edit and save it:
<Form defaultFields={form.fields} value={formValues} renderer={renderer}>
  <FormButton
    label="Save"
    onClick={(formData) => {
    console.log(formData);
    this.props.updateTicket(formData);
  }}
  />
</Form>

I see the original unaltered data in formData, not the updates i've done. Obviously i'm missing a step.

Are you using the value prop on the <Form> on purpose? Possibly you wanted to use the defaultValue prop instead? The latter sets the starting values, the former will override your form values on each re-render of the form (state change)

That does sound like a bug - what renderer are you using?

I've just checked this and you're absolutely right that this isn't working correctly - my sincere apologies. I'll dig into this and see if I can resolve the problem asap. Thanks for bringing it to my attention and I'm sorry it has taken this long to start looking into it.

I've not forgotten about this - I've had a few attempts at fixing this but I've still got a test failing which I haven't got to the bottom of yet. Hopefully I'll have a solution soon.


Changing paths to processing_provider and its modules to let Python in QGIS to read them.

Paths to local library "processing_provider" wasn't well defined (lack of "." [dot]), so Python wasn't capable to read it. The same rule in main provider.py module.
Since now QGIS 3.24 and 3.26 can use "rvt-qgis"

Hey sorry for my late response. I merged the PR, thank you for your contribution. I will realease a new RVT QGIS version shortly.

It work well now. Thx


refactor(CsrfResponseFilter): implement response filter interface

Implementing the interface will allow for future support for injecting implementations.  It could also be a proof of concept for a future PSR proposal.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.785%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
244

Relevant Lines:
247

💛  - Coveralls


Ansible request for FAQ,md and Teams URLs, descriptions

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

[ ] Missing install
[x] Bug in infrastructure documentation
[ ] Request for new playbook addition

Details:

Looking at the FAQ.md - there are two sections re: AdoptOpenJDK teams.
besides the (expected) switch from AdoptOpenJDK to adoptium there appears to be some changes in the teams names.
compare AdoptOpenJDK teams (names) via: https://github.com/orgs/AdoptOpenJDK/teams (30 teams) and the names in the FAQ.

- [adoptopenjdk-infrastructure](https://github.com/orgs/AdoptOpenJDK/teams/adoptopenjdk-infrastructure) - write access to the repository which lets you be an official approver of PRs (
triage doesn't)
- [infrastructure](https://github.com/orgs/AdoptOpenJDK/teams/infrastructure) - higher level of access for system administrators only
- [admin_infrastructure](https://github.com/orgs/AdoptOpenJDK/teams/admin_infrastructure) - The Admin team - can force through changes without approval etc.

and
## Jenkins access

The AdoptOpenJDK Jenkins server at [https://ci.adoptopenjdk.net](https://ci.adoptopenjdk.net) is used for all the
builds and testing automation. Since we're as open as possible, general read
access is enabled. For others, access is controlled via github teams (via
the Jenkins `Github Authentication Plugin` as follows. (Links here won't work for
most people as the teams are restricted access)

- [release](https://github.com/orgs/AdoptOpenJDK/teams/jenkins-admins/members) can run and configure jobs and views
- [build](https://github.com/orgs/AdoptOpenJDK/teams/build/members) has the access for `release` plus the ability to create new jobs
- [testing](https://github.com/orgs/AdoptOpenJDK/teams/testing/members) has the same access as `build`
- [infrastructure](https://github.com/orgs/AdoptOpenJDK/teams/infrastructure/members) has the same as `build`/`testing` plus can manage agent machines
- [jenkins-admins](https://github.com/orgs/AdoptOpenJDK/teams/jenkins-admins/members) as you might expect has access to Administer anything

NOTE: https://github.com/adoptium (No TEAMS URL, i.e., 0 teams (it seems, only 3 people).

A closely related .md file that needs URL updating is:

https://github.com/adoptium/ci-jenkins-pipelines#readme
Likely - all the readme's of all the repositories (boring :p)

The teams were all revised as part of https://github.com/adoptium/infrastructure/issues/1084#issuecomment-688443553 and what's in there is pretty much the current state, although you're right that the full set of doc updates didn't get done at the time by the look of it. I'll get the FAQ updates done today.


Update ls.video-embed.js

Hi Alexander. Do you think this might be useful to be able to control the thumbnail size? I ran into this issue a couple of times with the thumb size of standard hqdefault quality being too low. This way one can easily switch from hqdefault or maxresdefault.

Sorry that I haven't answered you. I implemented your request but did it a little bit differently. I hope you are ok with it. Good idea!!!


Automate Labeling of Pull Requests

Implement a bot or script to automatically suggest labels based on the content of pull requests. Include a review step to ensure the suggested labels are accurate. This will streamline the labeling process and improve organization.

Assign Me please. I'll work on it. Thanks!


Move verbosity into the start of the program

Codecov Report

Merging #47 (4ecd8fd) into main (c4037f6) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          292       292
  Branches        37        37
=========================================
  Hits           292       292

Impacted Files
Coverage Δ

src/magic_tiler/magic_tiler.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


stable/kube2iam: added support for aws access keys

Added a secret resource to allow setting AWS access keys and region

bumping CLA.

/ok-to-test

/lgtm


Add remove or reset documentation

After few hours, find this solution for reset token after failed login attempt.

See our demo page with the Angular approach without using barebones Javascript: https://ngx-turnstile.pages.dev/template-driven-form-example. You can reset Form Control and have it do it again. Does that work as intended?

this do the job done but i dont think it work on latest release. @choyiny

Resolved in 0.1.0.


fade Option

Is there any plan to support fade option any soon?

yes
On Fri, Feb 27, 2015 at 6:35 PM, Edygar de Lima Oliveira <
<EMAIL_ADDRESS>wrote:

Is there any plan to support fade option any soon?
—
Reply to this email directly or view it on GitHub
https://github.com/akiran/react-slick/issues/23.

implemented in https://github.com/akiran/react-slick/pull/66