Not yet uploaded to PyPI?

the README/docs reference installing via
# From Pypi
$ python -m pip install aiopmtiles

but this seems to fail / no package is found on pypi.org ( https://pypi.org/search/?q=aiopmtiles )

sorry @jackharrhy, just seeing your message now.
It's not yet on pypi (in usually write the docs first 😓) and I'm not sure if it will at one point.
I'm meeting with @bdon next week and we will discuss what's the future of this project and if we should take aiopmtiles directly to pmtiles


Deploying upgraded stack on multiple nodes with low disk space doesn't fail

Current behaviour
We have 3 VPS in grid with stack containing single service (simplified situation for example purpose). One of our VPS (n.3) is running out of disk space. When we create and push new version of image to our registry using same tag as previous version (eg. latest) and deploy stack to our grid, this situation happens:

agents on VPS 1 and 2 pull new image and start deploying containers with correct version
agent on VPS 3 fails to download newer image due to insufficient disk space, but silently proceed to starting new containers.
deployment is successfully completed

Problem
The deployment is marked as successful, but we are still running new version only on 2/3 of our grid.
Solution
Although I'm not saying this is Kontena agent's fault and failure is on our side...should it be possible to check if service is running all containers with same image? Or at least fail to deploy when new image isn't successfully pullled?

agent on VPS 3 fails to download newer image due to insufficient disk space, but silently proceed to starting new containers. [...] Or at least fail to deploy when new image isn't successfully pullled?

I would expect that to be the case, it's a bug if an image pull fails and the deploy still succeeds. Certainly, trying to deploy a service with a nonexistent image tag will fail the deploy, so I'm not sure what would have happened here.
Can you find any hints from the kontena service events around the time of the deploy, or the docker logs kontena-agent on the VPS3 node? Is there both a pulling image .... and pulled image ... event for that service instance?

I would expect that to be the case, it's a bug if an image pull fails and the deploy still succeeds

Actually, I was wrong here, that only applies to nonexistant image tags that are missing from both the remote image registry and local Docker images.

We've considered these kinds of image tagging inconsistencies across service instances on different nodes before, but it's difficult because the master doesn't actually have access to the image registries. It would need to ask some agent to resolve the image tag to the nominal sha256:... image ID for the image tag at that point in time, and then all agents would need to pull that specific image version... that may be possible using Docker image names like registry.development.kontena.local/redis@sha256:bc0144c45eecc20e6ee75b6cbc075fb27cb165b306c3997b01b7a24057226504
However, all of these issues with inconsistent image versions can be avoided by not using tags like latest. If you deploy each new stack version with an unique image tag like image: registry/foo:20171011 that changes for each version bump, you can avoid all of these issues, and all nodes will be guaranteed to either be running that specific image version, or for the deploy to fail.

Or at least fail to deploy when new image isn't successfully pullled?

Whether the agent's image pull retry/fallback logic is appropriate or not is a good question... I might be of the opinion that it would be better to report the errors to the user and let them decide if they want to retry or fallback to the older image, but then there isn't really any way for the user to skip the image pull during the deploy either... and transient docker pull errors are actually surprisingly common.
Agreed that the agent fallback to the local image version can lead to inconsistencies and cause issues, though.


add readme for documentdb starter, and spring-data-documentdb

@ZhijunZhao @aovechki

@yungez,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


refactor imputation transformation

Small refactoring of AddObservedValueIndicator transformation.
Removed unnecessary fields:

dummy_value: This is imputation-method-dependent and should not be an argument of the transformation. Instead the transformation should take as input the imputation method with this field set already.
convert_nans: This is unnecessary since we can just use None as imputation method.

With the above change we have control IF we want to do imputation or not in the transformation by including a hyperparameter in the estimator (setting it to the appropriate imputation method or to None). This gives the flexibility to select from a model-based imputation method (e.g. if set to None use a sample from the predictive distribution since the imputation from the transformation is disabled) or from a transformation based imputation (e.g. a dummy value).
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #907 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #907      +/-   ##
==========================================
- Coverage   85.80%   85.80%   -0.01%
==========================================
  Files         195      195
  Lines       11853    11851       -2
==========================================
- Hits        10171    10169       -2
  Misses       1682     1682

Impacted Files
Coverage Δ

src/gluonts/transform/feature.py
98.41% <100.00%> (-0.02%)
:arrow_down:


Add an optional db number parameter to SentinelMonitoredRedisClient a…

…nd SentinelMonitoredRedisBlockingClient
related to this issue : https://github.com/etaty/rediscala/issues/126

I think it would be better to just expose a function createClient: (String, Int) => RedisClient = (ip, port) => new RedisClient(ip, port, name = "SMRedisClient" as the parameter of SentinelMonitoredRedisClient as the next guy will ask for changing the name or be able to set the password, or some other crazy stuff.

case class SentinelMonitoredRedisClient( sentinels: Seq[(String, Int)] = Seq(("localhost", 26379)),
                                         master: String,
                                         createClient: (String, Int) => RedisClient = (ip, port) => new RedisClient(ip, port, name = "SMRedisClient")
                                       (implicit system: ActorSystem,
                                        redisDispatcher: RedisDispatcher = Redis.dispatcher
                                        ) extends SentinelMonitoredRedisClientLike(system, redisDispatcher) with RedisCommands with Transactions {

  val redisClient: RedisClient = withMasterAddr(createClient)
  override val onNewSlave  =  (ip: String, port: Int) => {}
  override val onSlaveDown =  (ip: String, port: Int) => {}
}

I tried to expose the createClient function as a parameter like in your example, but the compiler throws me an error :
could not find implicit value for parameter _system: akka.actor.ActorSystem
Error occurred in an application involving default arguments.

The problem is that the RedisClient instantiation in default function parameter needs a implicit ActorSystem.
Do you have any idea to make it right ?

I will try to have a look at it this weekend.
I think the only way is to separate the config (RedisConfig) from the implicits (system and dispatcher), but i would require a large refactoring...

If you don't want to go into the large refactoring, I can add to my first commit, password and name parameters. It will do the job for a first version.

yeap we can do that, thanks

One of my build task failed, I saw you already encountered this problem, is there a build stability issue ?

Yep It happens with travis, probably related to some timing, as travis cpu are really slow.

Ok thanks.

snapshot available
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies += "com.github.etaty" %% "rediscala" % "1.7.0-SNAPSHOT"


[Bug]: Unresponsive navbar

Bug Title
Unresponsive navbar
Description of BUG
Navbar is unresponsive on mobile devices.
Reporduction URL of bug
No response
Bug Issue Type
Frontend
Screenshot of the issue if in UI/ Document

Are you taking this issue fix
Yes

hey, can u assign this to me

I'm not a maintainer, I'm also asking to be assigned to this issue

@chibuike-19 , am assigning this issue for navbar
Please fix navbar responsiveness

@rohitsinghind ,
Can you please check the homepage banner responsive issue and fix that
Appreciate you for checking this

@chibuike-19 , am assigning this issue for navbar Please fix navbar responsiveness

Ok @jsvigneshkanna I'm working on it now

@chibuike-19 ,
let me know if you need help

Hi @saroshfarhan ,
Nothing is Mundane in open source 😜
Development steps:

fork the repo and checkout your forked repo branch in local (git checkout ``)
cd tailwind_ui_components
**3. npm install (this will install all the dependencies)
npm run dev (this will start the local server)**
make changes and play around with the code
once changes are tested please commit those
and raise a pull request to my repo

@chibuike-19 ,
Any update? let me know if any problem facing

Hi @saroshfarhan ,
Nothing is Mundane in open source 😜
Development steps:
1. fork the repo and checkout your forked repo branch in local (git checkout ``)

2. cd tailwind_ui_components

3. **npm install (this will install all the dependencies)**

4. **npm run dev (this will start the local server)**

5. make changes and play around with the code

6. once changes are tested please commit those

7. and raise a pull request to my repo

check for issue or features and start contributing to our cool project and become a cooler contributor 😎

@jsvigneshkanna thank you so much for this step-by-step guide, really appreciated 🚀

@saroshfarhan ,
Check for easy issues in issue page


Default message_size_limit to 50MB

Add MESSAGE_SIZE_LIMIT variable in .env to allow setting the message size limit for postfix.
The current (default) message size limit of postfix is 10240000 bytes, or roughly 10MB.

Perfect and actually a great idea, I was thinking of implementing this in a couple weeks. Thanks!

Cheers!


Added support for replacements in stringify (fixes #15)

To answer #15, I added a $replacements array to the slugify method. Is offers more flexibility on what is changed.
I didn't test it, so please review the code and add test cases first before merging. Thanks!

This change is

Thanks for the enhancement, merged here: https://github.com/voku/Stringy/commit/e4af1e689ee29817c59332fb59aa16245499cd0d


STEAMPS3 - AsyncTCPSocket created Server Error

So I run my server and it stays fine for about several hours, until it starts spamming
STEAMPS3 - AsyncTCPSocket created
or
STEAMPS3 - AsncTCPSocket destroyed
Then either a lot or all of the players connected disconnect or go AFK (Probably because of the EasyAFK plugin).

I am pretty sure this is lag.

@falsechicken is there a way to fix this?

@falsechicken this is also the reason why I posted about an auto restart topic on Rocket and issue on Github. I just wanted to know if there was another way to see which is the best option.

Getting a faster CPU on the server, Reducing the number of players, etc. Really there is not much you can do outside of that.
Also if you have problems with plug-ins, most of them have GitHub pages you can report bugs to. Its under the plug-in info section on the Rocket plug-in page. The source code link.

@falsechicken Sorry to be such a bother, but I have actually found out that it could also be because of exploiters/hackers. My server and many others have been victim to attacks of hackers, which could do a number of things to the server, like a DDOS attack. I have even spoke to the people who play my server on a daily basis that there are too many hackers joining. Furthermore, I delt one of these exploiters personally as I was playing normally in my own server. I really hope a solution will come to this. I have wanted to run an Unturned server for a year, but was never able to until I built my computer Christmas of 2015.

Hackers are a problem. But that could also be your problem. Home servers tend to lag... I got that message all the time when I hosted on my home PC.

DDOS has to be prevented with a hardware solution or and or firewall...

I was just giving an example of what could have been happening. I don't know for sure because it is either during the day when I'm at school, or at night.

years later
it's not lag, some combination of machines trying to connect have multiple interfaces (e.g. more than just loopback and eth0). for some reason the steam p2p server protocol(?) (still today) barfs on this. I had this exact problem trying to join my friend in No Man's Sky. turn off all your other interfaces, try again.

@victort, are you sure?
I use Windows and I only have one interface enabled, yet I still get this from time to time but only when my server is under high load.
I've also heard another explanation somewhere else that this might just be the server reporting that the connection between it and some player has been dropped (probably because of the player having a bad connection).

RocketMod 4 is not supported anymore. Please only open issues about RocketMod 5.


Typo in highlights.lua

The highlights contain the following lines:
https://github.com/navarasu/onedark.nvim/blob/89dde4963ad198c9b6144dee3d5e8bcbb7559ddc/lua/onedark/highlights.lua#L185-L186
These captures should be:
<EMAIL_ADDRESS>= colors.Fg,
<EMAIL_ADDRESS>= colors.Fg,

That is, "enviroment" [sic] in the published code should be "environment".
The mispelled captures cause subtle problems, which I was banging my head against the wall about until I figured this out.
I'd be happy to create a quick PR to fix this, if this helps!
Anyways, thanks for the fantastic theme :)

Thank you for finding this. Even I missed this while review. I will fix it right away


inconsistent indent in the SPDX identifier

Some identifier contains tab or spaces. Let's unify those to spaces
eg)
 * @file	neuralnet.cpp ->  * @file  neuralnet.cpp

:octocat: cibot: Thank you for posting issue #1083. The person in charge will reply soon.


ColumnDefinitionBuilder.ifNotExists() not yet available

Hi there,
In the ColumnDefinitionBuilder docs, there is mention of the ifNotExists method. Unfortunately, it's not available in version 0.27.3 yet, when can we expect a new release with this functionality (that I'm very eager to use !!!) ?
Cheers,
Quentin

Hey 👋
We don't have a roadmap. When we decide to cut a release. You can install directly from kysely's master branch for now.

The method shouldn't be in the docs yet though. I'll fix that.


Add task queue to hst pipeline

This is the pull request with task queue & queue manager implementations. Once the first pull (https://github.com/SETI/pds-hst-pipeline/pull/37) is merged into master, I'll merge the updated master to this branch and only the changes related to task queue & queue manager will show up in files changed tab at that time.

Example command to fresh start a full hst pipeline process for some proposal ids:
python pipeline/pipeline_run.py --prog-id 7885 9059 9296 05828 11656

Main changes related to this pull:

Use sqlalchemy to store the task queue. Each row represents the task queue of
a proposal id & visit, and it will have columns of the proposal id, visit, task num
(current task), task priority, status (current task status), and task command. Each
row will have an unique combination of proposal id & visit columns. These will make
sure tasks for these cases can be run in parallel:

tasks of different proposal ids
tasks for different visits of the same propsal id

Implement the intelligence to determine the next task for the subprocess list.
Add these modules:

update_hst_program
update_hst_visit
queue_manager

Next items for the project (will work in this order, project status: https://github.com/orgs/SETI/projects/14/views/1):

Update the first pull request (https://github.com/SETI/pds-hst-pipeline/pull/37) based on the review comments & feedback
In this pull branch, check each task and make sure whenever errors happen, task queue will be properly updated. We will either:

Remove the task queue for the proposal id or
Keep the task queue for the proposal id but change the status from running to waiting so that we know where to restart the task for the given proposal id next time.

In this pull branch, add tests for label templates
In this pull branch, test run on more proposal ids to check for unexpected failures & errors

Merge to https://github.com/SETI/pds-hst-pipeline/pull/37


More tests for ReactiveOutputStream

@g4s8 please, take a look, test with binary file and pipied streams is stuck.

@olenagerasimova please see PipeOutputStream#write docs https://docs.oracle.com/javase/7/docs/api/java/io/PipedOutputStream.html#write(byte[], int, int)

This method blocks until all the bytes are written to the output stream.

It means the method write of output stream is waiting PipedInputStream to read the data. It's supposed to use this piped stream asynchronously, e.g. by reading and writing from different threads. So the problem is that you call join() on .write() method of ReactiveInputStream before reading the data. I tried to modify your code into this and it works:
    void transferResourceToPipedStream() throws IOException {
        try (
            PipedInputStream in = new PipedInputStream();
            PipedOutputStream out = new PipedOutputStream(in)
        ) {
            final byte[] data = this.getBinFile();
            final byte[] res = new byte[data.length];
            CompletableFuture<Void> future = new ReactiveOutputStream(out)
                .write(Flowable.fromArray(ByteBuffer.wrap(data)), WriteGreed.SYSTEM)
                .toCompletableFuture();
            int offset = 0;
           int read;
           while ((read = in.read(res, offset, res.length)) > 0) {
               offset += read;
           }
            future.join()
            MatcherAssert.assertThat(
                res,
                new IsEqual<>(data)
            );
        }
    }

@g4s8 thanks, corrected tests


Update README in humble branch

Mark Garden as released. Use humble instead of rolling for rosdep.

@j-rivero do you mind to sign the commit ?


Crash in Flurryplcrash_async_macho_symtab_reader_read

Describe the bug
Crash in Flurryplcrash_async_macho_symtab_reader_read happen on iOS14.0 (not sure whether happens on other os)
Sample crash log
Date/Time:           2020-10-27 16:28:46.5423 +0530
Launch Time:         2020-10-27 16:08:01.0157 +0530
OS Version:          iPhone OS 14.1 (18A8395)
Release Type:        User
Baseband Version:    3.00.01
Report Version:      104
Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<jp.co.rakuten.RakutenSuperSearchTest>:7821 exhausted real (wall clock) time allowance of 10.00 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 13.300 (user 13.300, system 0.000), 22% CPU", | "Elapsed application CPU time (seconds): 9.973, 17% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread:  0
Application Specific Information:
abort() called
Thread 0 name:  CrWebMain  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Flurry_iOS_SDK                	0x00000001149be87c Flurryplcrash_async_macho_symtab_reader_read (in Flurry_iOS_SDK) + 80
1   Flurry_iOS_SDK                	0x00000001149be860 Flurryplcrash_async_macho_symtab_reader_read (in Flurry_iOS_SDK) + 52
2   Flurry_iOS_SDK                	0x00000001149beae0 plcrash_async_macho_find_best_symbol (in Flurry_iOS_SDK) + 72
3   Flurry_iOS_SDK                	0x00000001149be9d0 Flurryplcrash_async_macho_find_symbol_by_pc (in Flurry_iOS_SDK) + 132
4   Flurry_iOS_SDK                	0x00000001149c0664 Flurryplcrash_async_find_symbol (in Flurry_iOS_SDK) + 116
5   Flurry_iOS_SDK                	0x00000001149ba7ac plcrash_writer_write_thread_frame (in Flurry_iOS_SDK) + 96
6   Flurry_iOS_SDK                	0x00000001149ba28c plcrash_writer_write_thread (in Flurry_iOS_SDK) + 444
7   Flurry_iOS_SDK                	0x00000001149b9b84 Flurryplcrash_log_writer_write (in Flurry_iOS_SDK) + 704
8   Flurry_iOS_SDK                	0x00000001149bcdc4 plcrash_write_report (in Flurry_iOS_SDK) + 80
9   Flurry_iOS_SDK                	0x00000001149bbddc signal_handler_callback (in Flurry_iOS_SDK) + 100
10  Flurry_iOS_SDK                	0x00000001149b82bc internal_callback_iterator(int, __siginfo*, __darwin_ucontext*, void*) (in Flurry_iOS_SDK) + 76
11  Flurry_iOS_SDK                	0x00000001149b8220 $_0::~$_0() (in Flurry_iOS_SDK) + 16
12  libsystem_platform.dylib      	0x00000001dbc5928c 0x1dbc54000 + 21132
13  libsystem_pthread.dylib       	0x00000001dbc5ec74 0x1dbc5c000 + 11380
14  libsystem_c.dylib             	0x000000019cea6bb4 0x19ce30000 + 486324
15  Flurry_iOS_SDK                	0x00000001149bcebc -[FlurryPLCrashReporter enableCrashReporterAndReturnError:].cold.2 (in Flurry_iOS_SDK) + 20
16  Flurry_iOS_SDK                	0x00000001149bbf64 mach_exception_callback (in Flurry_iOS_SDK) + 280
17  CoreFoundation                	0x0000000193d6e8b4 0x193c4d000 + 1185972
18  libobjc.A.dylib               	0x00000001a7e5c704 0x1a7e52000 + 42756
19  libc++abi.dylib               	0x00000001a7f5b2a8 0x1a7f4c000 + 62120
20  libc++abi.dylib               	0x00000001a7f5b234 0x1a7f4c000 + 62004
21  libdispatch.dylib             	0x000000019396cadc 0x193969000 + 15068
22  libdispatch.dylib             	0x0000000193970348 0x193969000 + 29512
23  FrontBoardServices            	0x00000001a2daa0e0 0x1a2d4f000 + 372960
24  FrontBoardServices            	0x00000001a2da9d88 0x1a2d4f000 + 372104
25  FrontBoardServices            	0x00000001a2daa2ac 0x1a2d4f000 + 373420
26  CoreFoundation                	0x0000000193ceb81c 0x193c4d000 + 649244
27  CoreFoundation                	0x0000000193ceb718 0x193c4d000 + 648984
28  CoreFoundation                	0x0000000193ceaa94 0x193c4d000 + 645780
29  CoreFoundation                	0x0000000193ce4d20 0x193c4d000 + 621856
30  CoreFoundation                	0x0000000193ce44bc 0x193c4d000 + 619708
31  GraphicsServices              	0x00000001aa7f6820 0x1aa7f3000 + 14368
32  UIKitCore                     	0x0000000196691164 0x195b12000 + 12054884
33  UIKitCore                     	0x0000000196696840 0x195b12000 + 12077120
34  PRODUCT_NAME                  	0x00000001007830ac 0x10077c000 + 28844
35  PRODUCT_NAME                  	0x00000001007828a0 0x10077c000 + 26784
36  libdyld.dylib                 	0x00000001939abe40 0x1939ab000 + 3648
This Bug is About
Please choose the closest item by replacing [ ] with [x].

[ ] Integration
[x] Analytics
[ ] Ads
[ ] Messaging/Push
[ ] IAP
[ ] Remote Configuration
[ ] Flurry Website/Dashboard
[ ] Other

Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

[x] iOS
[ ] tvOS
[ ] WatchOS

Environment
Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

Flurry SDK: v11.1.1
XCode:11.7
iOS:14.0

To Reproduce
N.A.
Screenshots
N.A.
Additional context
Are you using Flurry Push/Messaging? No
(iOS) Are you using CocoaPods or manual binary integration? manual cocoapods

@celiasty917 Thank you for using Flurry Analytics. We are looking into this issue and will provide more details.

I am facing same issue, kindly share detail when is next release?

exhausted real (wall clock) time allowance of 10.00 seconds

The Flurry SDK configures PLCrashReporter to symbolicate crash reports on the device.
In this case, the application crashed, PLCrashReporter intercepted the crash, and then the symbolication took too long, so iOS forced the process to abort.
I don't think this is iOS 14 specific, though it's possible something about iOS 14 makes symbolication slower.
It's also possible the app was already hanging for a few seconds, then it crashed, leaving PLCR with less than 10 seconds to symbolicate the report.
Unfortunately, there's not enough information in this report to make any further diagnosis.


SBC

Add a step implementing model checking by simulation based calibration

a general procedure for SBC in and of itself would be huge.
the stumbling block is the procedure for generating data.
for a given Stan model, the data-generating process is somehow implicit in the model.
but to test with SBC, we need to be able to write the script or program to generate the simulated data and then do the simulations, which means running the model 100s of times.   here's where clusters can help, but still, hugely expensive computationally.


obsolete transform api with Gradle sync

I am currently on Gradle 7.3.1.
This becomes an issue in Gradle 8.0
When I apply the plugin: apply plugin: 'com.huawei.agconnect'
API 'android.registerTransform' is obsolete.
It will be removed in version 8.0 of the Android Gradle plugin.
The Transform API is removed to improve build performance. Projects that use the
Transform API force the Android Gradle plugin to use a less optimized flow for the
build that can result in large regressions in build times. It’s also difficult to
use the Transform API and combine it with other Gradle features; the replacement
APIs aim to make it easier to extend the build without introducing performance or
correctness issues.
There is no single replacement for the Transform API—there are new, targeted
APIs for each use case. All the replacement APIs are in the
androidComponents {} block.
The Transform API uses incremental APIs deprecated since Gradle 7.5. Please add
android.experimental.legacyTransform.forceNonIncremental=true to
gradle.properties to fix this issue. Note that this will run transforms
non-incrementally and may have a build performance impact.
For more information, see https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-api.
To determine what is calling android.registerTransform, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: app

the APMS uses the transform API.
If you do not use the APMS, stop it temporarily. If you use the APMS, do not upgrade to JDK11.
After the next version of the AGC is released, the APMS of the AGC will be compatible with gradle7 + jdk11.
But this tip will not be eliminated for that time.
We plan to adapt to gradle8.0 in March. After the adaptation finished, this message will not be displayed.

We plan to adapt to gradle8.0 in March 2023.
After the adaptation is complete, this prompt will not be displayed.

We plan to adapt to gradle8.0 in March 2023.
After the adaptation is complete, this prompt will not be displayed.

Thank you. I look forward to the new update.

gradle 8.0 is released. What can stop working if I remove apply plugin: 'com.huawei.agconnect' from gradle?

As a workaround you could consider adding apmsInstrumentationEnabled=false to your gradle.properties file. This will disable HTTP/HTTPS network request monitoring, but you will be allowed to upgrade to gradle 8.0. More information can be found here


[CSGO] "Curl is not installed!" - Ubuntu 14.04 x64

Hello, I'm trying to use the CS:GO server script on an Ubuntu 14.04 x64 install.
csgoserver@brick:~$ which curl
/usr/bin/curl
csgoserver@brick:~$ curl
curl: try 'curl --help' or 'curl --manual' for more information
csgoserver@brick:~$ ./csgoserver install
    fetching functions/fn_functions...FAIL

Curl is not installed!

Fixing this now

just uploaded an updated csgoserver. Please test and let me know. Thanks

Looks good, thanks so much for the quick response!

Still having the issue "fetching functions/fn_functions...FAIL"

Same problem in Black Mesa, not fixed.

Just tested on Debian 8 x64 updated, it's working.
@fuckpaypal Do you actually have curl installed ?
@dgibbs64 Could you please add curl as a requirement on game server pages when you got time ?
It's not present at least on CS GO and Black Mesa DM pages (the only two i checked).

@UltimateByte looks like the website didnt update it as I told it too. Should be fixed now :D

Perfect, it is :)


Malformed proxy settings fail in unclear ways

I noticed this bug setting up a new Chromebook with a freshly downloaded crouton on 24 July 2017.  I attempted to set up new partitions of "trusty" and "Xenial".  This was on a network where the proxy was at <IP_ADDRESS>:8118.
Both went part way, downloading and installing some packages.  Then there was a series of errors reporting that it was unable to connect to "8118:80".  This looks like a parsing or argument passing error somewhere.
There were no problems with installation when I moved to a network with direct connectivity.

Are you still able to repro?  Could you please post the logs around where it failed?  If it's failing partway through downloading packages, it may be an upstream bug.

I'll recheck, probably Wednesday.  I'm not  sure about logs.  I never
tried tee and re-directs of stdout/stderr with the chromium bash.  I hope
that's sufficient for log.
It's conceivable that it's upsteam, but it happens in the transition
between the downloads of the updates for packages that I've selected for
installation (those work) and the re-building of the X/CRAS/etc. that is
part of crouton (those get the incorrect proxy).
Kind Regards,
Robert Horn | Agfa HealthCare
Interoperability Architect | HE/Technology Office
T  +1<PHONE_NUMBER>
Agfa HealthCare Corporation, Gotham Parkway 580, Carlstadt, NJ 07072-2405,
USA
http://www.agfahealthcare.com
http://blog.agfahealthcare.com
Click on link to read important disclaimer:
http://www.agfahealthcare.com/maildisclaimer
From:   David Schneider<EMAIL_ADDRESS>To:     dnschneid/crouton<EMAIL_ADDRESS>Cc:     Robert Horn/MOPOO/AGFA@AGFA, Author<EMAIL_ADDRESS>Date:   08/29/2017 02:37 AM
Subject:        Re: [dnschneid/crouton] Proxy setting error in crouton
installer (#3341)
Are you still able to repro? Could you please post the logs around where
it failed? If it's failing partway through downloading packages, it may be
an upstream bug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It's still there.

Using the command, the error shows up when the package checks begin.  First, some are IGN, and then some are errors.  This is on the network that is proxied.  Note that when the error is finally reported, the proxy is wrong.

sudo sh ~/Downloads/crouton -P <IP_ADDRESS>:8118 -t xiwi,xfce -r xenial -e -u
...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Installing target core...
Preparing environment...
Preparing software sources...
Ign:1 http://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease
Ign:2 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Release
Ign:3 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages.diff/Index
Ign:4 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Translation-en
Ign:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages
Ign:4 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Translation-en
Ign:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages
Ign:4 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Translation-en
Ign:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages
Ign:4 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Translation-en
Ign:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages
Ign:4 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Translation-en
Ign:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages
Ign:4 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Translation-en
Err:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ Packages
 Cannot initiate the connection to 8118:80 (<IP_ADDRESS>). - connect (22: Invalid argument)
Ign:6 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:8 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Ign:9 http://archive.ubuntu.com/ubuntu xenial Release
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates Release

I tried suppressing the proxy while still on the network that is proxied.  Now there is an immediate error.

sudo sh ~/Downloads/crouton -P “”  -t xiwi,xfce -r xenial -e -u
...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Installing target core...
Preparing environment...
Preparing software sources...
 Done
Sorry about the cut and paste logs.  I couldn't figure out how to capture the output from crouton into a file.

What happens if you do -P http://<IP_ADDRESS>:8118/?  Maybe apt's config is treating <IP_ADDRESS> as the protocol.

That's the problem.  It needs the protocol.  I recall there used to be a clearer error when that was missing.  Thank you.
I also noticed that it will use the same protocol for both http and https.  Some proxy/client combinations require that https:// be used for TLS and http:// be used when not TLS.
It's too bad proxy can't be inherited from the Chromebook settings.  I had to get them right for basic Chrome functions to work.

If you can figure out some way to do it...
Do we need some sanity checking on the -P input?

The proxy reference is required to be a URL and a format catcher could have caught that one.
All URLs for an IP-based protocol take the form   "//:@:/" where parts can be left out.  But all valid URLs will contain the string "//" and there will be something in .  That would have caught this error.
It might also make sense to limit proxies to start with "http://", "https://", and "ftp://".  The apt-get manual only identifies http and ftp as proxy options.  Perhaps a warning if the string does not start with "http://", "https://", or "ftp://", and an error if there is not a "//" somewhere in the string.

What happens if you do -P http://<IP_ADDRESS>:8118/? Maybe apt's config is treating <IP_ADDRESS> as the protocol.

It works for me!

The proxy reference is required to be a URL and a format catcher could have caught that one.
All URLs for an IP-based protocol take the form "//:@:/" where parts can be left out. But all valid URLs will contain the string "//" and there will be something in . That would have caught this error.
It might also make sense to limit proxies to start with "http://", "https://", and "ftp://". The apt-get manual only identifies http and ftp as proxy options. Perhaps a warning if the string does not start with "http://", "https://", or "ftp://", and an error if there is not a "//" somewhere in the string.

Thanks, it works for me!


Blows up on Node JS 12

Environment:

Node Version**: 12.20.2
Redis Server Version:    Don't even get that far
Node Redis Version<EMAIL_ADDRESS>Platform: Pick one

Per your change log :
Dropped support for Node.js 10.x, the minimum supported Node.js version is now 12.x  <---
NO!   This happens.
$ node
Welcome to Node.js v12.20.2.
Type ".help" for more information.
> require('redis')
/Users/rheo/dev/projects/npm-redis-makes-me-sad/node_modules/redis/dist/index.js:42
            ...options?.modules

Duplicate of #2117


For discussion: adding Pydantic for metadata models

This is a proposal for how to represent complex nested data structures from the Airtable API. This proposal would benefit from, but does not strictly require, removing ApiAbstract (see #257).
tl;dr
I'd like to add pydantic as a dependency and use that to serialize and deserialize Airtable models from their metadata APIs.
Rationale
Most Python developers these days use supportive development tools that can provide type hints, autocomplete, and more. Developers who need to interact with the nested data structures returned by the Airtable API would benefit from being able to navigate those within their code editors' tooling.
Some projects using this library might also want to enforce strict typing, and today there's no common way for them to ensure that the properties they reference on pyairtable's return types actually exist.
Design
The module layout is very open to discussion, but it could be something like this:

pyairtable/

metadata/ (new)

field_schema.py: Models for each type of field config.
base_schema.py: Models for base and table schemas, permissions, and invites.
webhooks.py: Models for interacting with webhooks.

api/

api.py: We might add some utility methods for accessing metadata APIs.
enterprise.py (new): Define an Enterprise class and methods for managing users and retrieving audit logs.
workspace.py (new): Define a Workspace class and methods for managing workspace permissions.
base.py: Add Base methods for retrieving and managing base schemas, permissions, and webhooks.
table.py: Add Table methods for retrieving and managing table/field schemas.

Example
From a user's perspective, this will be relatively transparent. They will call methods that we expose on classes defined in pyairtable.api, and retrieve normal Python data structures that they can interact with:
>>> table = Table("api_key", "appId", "tblId")
>>> schema = table.get_schema()
>>> type(schema)
<class 'pyairtable.metadata.base_schema.TableSchema'>
>>> schema.id
'tblId'
>>> schema.fields[0].id
'fld1VnoyuotSTyxW1'
>>> schema.fields[0].type
'singleLineText'

For now I'm not envisioning these data structures knowing how to call the API or save modifications to themselves. We can probably start with bespoke methods for each type of modification, for example:
>>> table = Table("api_key", "appId", "tblId")
>>> table.get_schema().description
'Apartments to track.'
>>> table.update_schema(description="Apartments we're tracking.")
>>> table.get_schema().description
"Apartments we're tracking."

I haven't taken the time to think through the exact names/signatures of every method we'd add, but I think we can probably consider those as we go.
Deprecation
We would mark the existing functions in pyairtable.metadata as deprecated, for removal in 3.0.0. Alternatively we could mark them as deprecated in a point release (1.5.1) and then remove them in 2.0.0. My instinct is to err toward compatibility.
Future
A couple other ideas that I haven't explored much:

It is possible we could make ORM-like features with these objects, such as manipulating their state and calling .save() directly. For now I've not contemplated this too deeply, as I am mostly focused on being able to read state from the API.

We could have a dict-like (backwards compatible) Record dataclass that defines id, created_time, and fields. I consider that out of scope for this proposal because it's data and not metadata. I think pyairtable.orm is a better pattern to follow.

Alternatives considered

Just return Dict[str, Any]. Sure, it works, but where's the fun in that? :grin:
Just return TypedDicts. The number of TypedDict definitions to create and maintain would make this alternative no less complex or burdensome for the package's maintainers, but it would represent significantly less functionality for developers who use this library.
Use dataclass-factory. We've used this library in the past with some success. However, it has not seen updates for several months, so I thought it might be prudent for us to rely on pydantic instead (which is being actively developed).
Use dataclasses-json. Same rationale as above.
Use dataclasses-jsonschema. Same rationale as above.

Thoughts?

@mesozoic , could you please clarify if there will also be a provision for generating the Pydantic schema for the table metadata?

@mesozoic , could you please clarify if there will also be a provision for generating the Pydantic schema for the table metadata?

My first thought here is just to use Pydantic to represent all the complex metadata we get back from the API (schemas, webhooks, etc). Building a Pydantic model to reflect a table's data is an interesting idea, but I'm not sure how useful it will be (since the ORM module does not use Pydantic under the hood).
If I'm not quite getting your meaning, perhaps you could clarify your use case?

The way I'm using pyairtable with Pydantic at the moment, and I'm pretty new to Pydantic:
Base class for any AirTabel data:
Note that the record_id and record_created_time are excluded from serialization. This way we can get a record, modify it, and call table.update() on the same object.
from pydantic import BaseModel, Field

class AirTableRow(BaseModel):
    record_id: str = Field(None, alias=str("id"), exclude=True)
    record_created_time: str = Field(None, alias=str("createdTime"), exclude=True)

    class Config:
        extra = "forbid" # Catch typos and field name changes
        allow_population_by_field_name = True

    @classmethod
    def from_dict(cls, d):
        return cls(record_id=d["id"], record_created_time=d["createdTime"], **d["fields"])

Now for each table, we need to define the schema.
Note that the calculated field, again, is excluded from serialization, as it can't be part of an update.
class Data(AirTableRow):
    field1: str = Field(None, alias=str("Field 1"))
    field2: int = Field(None, alias=str("Field 2"))

    calculated_field: int = Field(None, alias=str("Calculated Field"), exclude=True)

Now using the class with pyairtable:
table = pyairtable.Table(AT_API_KEY, "appDsQdcFsh1bJlGE", "Test")

data = [ Data.from_dict(d) for d in table.all() ]
data

[Data(id='rec4yN9Jr6cjH6zbW', created_time='2023-07-09T07:39:40.000Z', field1='Hello there.', field2=345, calculated_field=357),
 Data(id='recJSJdoiBdNOqeTP', created_time='2023-07-09T07:39:40.000Z', field1='General Kenobi!', field2=123, calculated_field=138)]

Here is what happens if we serialize the data:
list(map(lambda x: x.dict(by_alias=True, exclude_unset=True), data))

[{'Field 1': 'Hello there.', 'Field 2': 345},
 {'Field 1': 'General Kenobi!', 'Field 2': 123}]

So to update a record, we can do
data[1].field2 = 4321
table.update( data[1].record_id, data[1].dict(by_alias=True, exclude_unset=True) )

{'id': 'rec4yN9Jr6cjH6zbW',
 'createdTime': '2023-07-09T07:39:40.000Z',
 'fields': {'Field 1': 'Lalalala', 'Field 2': 345, 'Calculated Field': 353}}

Or with a new Data object (I split it into 2 lines for better readability):
update = Data(field1="Lalalala")
table.update(data[0].record_id, update.dict(by_alias=True, exclude_unset=True))

{'id': 'recJSJdoiBdNOqeTP',
 'createdTime': '2023-07-09T07:39:40.000Z',
 'fields': {'Field 2': 4321,
  'Field 1': 'General Kenobi!',
  'Calculated Field': 4336}}

This provides at least some type of safety and working IntelliSense. There is definitely space for improvement, for examples we could have a way to
data = Data.all()

return a List[Data].
What I'm suggesting is, let's have an official tool that takes the table schema from airtable, and generates the pydantic boilerplate. Would it make sense? Is there enough information provided by the API to generate it automatically?

@xl0 What you're describing seems like an interesting approach to consider when we get around to autogenerating ORM classes from table schemas (probably 3.0; see roadmap in #249). I think we'll need to weigh whatever advantages or new features it provides against whatever ways it might break backwards-compatibility with the current ORM module.
This thread was intended solely to suggest using Pydantic (vs. plain old dicts) for metadata like schemas, webhooks, etc. Seems like that's probably acceptable, since this is not the only thread where I've heard general enthusiasm for using Pydantic in more places :)


ForgePowebiView Input

Hi, could you give an example of how Document_URN and ACCES_TOKEN must be written?
Y have the folowing problem when I start the visual with "pbiviz start"
info   Building visual...
error  LESS  style/visual.less :  The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

I am having exactly the same problem. Any news related to this?
By the way, I am filling out those variables that you've mentioned directly from the variables from my Forge Viewer app, for now, I am not generating a custom endpoint for generating tokens on demand.


Score is not displayed in the Public Leaderboard

Hi there,
I'm attending a competition with the following link : https://www.codabench.org/competitions/3909
I submitted my results last night and the score is displayed in "My Submissions" tab as follows :

But in the Public Leaderboard of "Results" tab, my score is not displayed. I have reloaded many times until now, but my score is still not displayed.

Is this a bug or I forgot any important step?
Thank you so much for your help!

Please click this button in for your submission to add it to the leaderboard

Please click this button in for your submission to add it to the leaderboard

Ok, It works. Thank you so much for my ignorant question :(


[msal-node] b2c samples

This PR adds 3 standalone B2C samples to msal-node:

b2c-auth-code: a confidential client application using auth code grant
b2c-auth-code-pkce: a public client application using auth code grant with PKCE
b2c-silent-flow: a public client application using silent-flow

All 3 samples implement standard B2C user flows: sign-up-sign-in, password-reset and profile-edit
All 3 samples are registered in B2C demo tenant fabrikamb2c.onmicrosoft.com
I've avoided using Express sessions and used request state parameter instead to manage application state.
Note: merging should be coordinated with #2530 for (3) above

Coverage remained the same at 82.219% when pulling 360805ccc0610d1ddee2a10815ecea41b8b2d68f on msal-node-b2c-samples into fc150c85612660d20f14e823ca32495a75b0b312 on dev.

Can we merge this as #2530 is now merged?


Upgrade sonarqube 10.6.0-community

Fix #10150

@murdos @pascalgrimaud a ticket was created https://sonarsource.atlassian.net/browse/SONARJAVA-5058


CLI Design Discussion

Current State
Currently all options are implemented at the top level, no matter they are from pkgconf, pkg-config or specific to CPS. This could mean a chaotic command line interface as we implement more and more features. This could also lead to a hard situation where we had to break compatibility with pkgconf or pkg-config if we want to add CPS-specific capabilities to ones of the options provided by them.
Proposal
Provide compatibility through subcommands, i.e. cps-config pkgconf should behave in the same way pkgconf behaves, and the same goes for cps-config pkg-config. Everything else outside of those two subcommands are purely CPS-specific territory.
Benefits

More freedom in designing an CPS-specific interface. We can design the interface to work in whatever way we please, unburdened by prior design decisions.
A clearer and more familiar interface for people using cps-config as a drop-in replacement for pkgconf and pkg-config. We could even aim for a situation where people can alias pkg-config to cps-config pkg-config and expect things to still work.
We could even go one step further to make cps-config fall back to the other tools when used in "compatibility mode" but CPS files are not available.

@dcbaker @tylerjw @bretbrownjr I'm planning to start implementing some actual features but I feel it could be beneficial to have a brief discussion on what kind of interface, on a high level, that we would want to work towards

I like this idea!

I like this idea. To go further we might eventually consider doing the argv[0] == "pkg-config" trick so that cps-config` can be installed as pkg-config, though that would mean we'd need to support doing pkg-config lookup as well. If/when we get to that I have some code from an old project we might be able to steal for that purpose.

I am happy to participate. Let me know how I can help.

I imagine something like #70 would be crucial to making this happen. Based on that we could also talk about what we consider the first release of cps-config, maybe an interesting level of compatibility with pkg-config for all libraries available on ubuntu?

Closing as this has already been implemented and merged


New TZ CI error

Describe the issue
https://github.com/ietf-tools/datatracker/actions/runs/5091821736/jobs/9152355962
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

This is a mismatch between Faker's timezone list and what's known to pytz. Since we're going to switch to zoneinfo instead (#5635), this should be fixed in terms of zoneinfo's timezone list.


feat(Alerts): Update stop page alerts to match schedule alerts

Summary of changes
Format the timestamp and the description of the alerts on the stop page to match the formatting on the schedule page.

Asana Ticket: Improve Alert Timestamp Presentation

General checks

[ ] Are the changes organized into self-contained commits with descriptive and well-formatted commit messages? This is a good practice that can facilitate easier reviews.
[ ] Testing. Do the changes include relevant passing updates to tests? This includes updating screenshots. Preferably tests are run locally to verify that there are no test failures created by these changes, before opening a PR.
[ ] Tech debt. Have you checked for tech debt you can address in the area you're working in? This can be a good time to address small issues, or create Asana tickets for larger issues.

New UI, or substantial UI changes

[ ] Cross-browser compatibility is less of an issue now that we're no longer supporting IE, but changes still need to work as expected in Safari, Chrome, and Firefox.
[ ] Are interactive elements accessible? This includes at minimum having relevant keyboard interactions and visible focus, but can also include verification with screen reader testing.
[ ] Other accessibility checks such as sufficient color constrast, or whether the layout holds up at 200% zoom level.

New endpoints, or non-trivial changes to current endpoints

[ ] Have we load-tested any new pages or internal API endpoints that will receive significant traffic? See load testing docs
[ ] If this change involves routes, does it work correctly with pertinent "unusual" routes such as the combined Green Line, Silver Line, Foxboro commuter rail, and single-direction bus routes like the 170?

🔔 thorough! I'm wondering if you had considered applying the formatting in the backend controller via AlertView.format_alert_description/1 on the alert.description or Dotcom.JsonHelpers.stringified_alert/2 on the whole alert? I'm curious if there was some problem rendering that in React?

I did ask about doing it on the backend during standup, and what I understood from the conversation was people wanted me to copy the logic over to the front end.


add UAT: HTTP request

RN to run the project the user must run nix develop, then cargo run and they can access some user documentation
Its good to know how to send a request. Write a unit to send an http request to  https://httpbin.org/get

[ ] Status: 200 OK

https://fasterthanli.me/series/building-a-rust-service-with-nix/part-4

https://github.com/tokio-rs/axum/tree/main/examples
https://docs.rs/axum/latest/axum/#examples
How to integrate an example?


[21.05] gnomeExtensions.dash-to-panel: 40 -> 43

Motivation for this change
Backport of https://github.com/NixOS/nixpkgs/pull/127350.
Supports GNOME 40
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 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.

ping @eduardosm merge conflict

ping @eduardosm merge conflict

Fixed


[Test] [Mobile] Keyboard behaving strangely on smartphones

In the mobile version, keyboard input behaves strangely. When typing a capital letter, the cursor position jump backward by one position in some cases. This leads to the following input
Professoren ⨝ Vorlesungen
being turned into
Professoren ⨝ orlesungenV

Cannot reproduce with Android 9, Firefox 68.8, Google Keyboard.
Might be related to https://github.com/codemirror/CodeMirror/issues/6145 and https://github.com/codemirror/CodeMirror/issues/5844 and eventually will  be solved with CodeMirror 6.

@mmayerl please tell OS, tested Browsers (at least chrome, firefox), Keyboard and if this also happens without the join symbol.

I am using EasyMDE which uses CodeMirror and on Android phones, when typing a space, the cursor shows the space being typed, then the cursor jumps back deleting the space. This only happens on Android on-screen keyboards. When I use a physical bluetooth keyboard, this does NOT happen. Also, I'm using Chrome in Android 10.


Feature: Align report Reporter api with mutation-testing-elements

Is your feature request related to a problem? Please describe.
When we first started with Stryker there was no mutation-testing-elements.
There is a lot of overlap with the mutation-testing-report-schema field names, but subtle differences. See differences below.

Stryker
mutation-testing-elements

MutantStatus.TimedOut
MutantStatus.Timeout

estimatedNetTime
duration

coveredByTests (boolean)
coveredBy (array, an empty array means not covered)

testFilter (array)
coveredBy

testFilter (undefined)
static (true/false)

runAllTests (boolean)
static (true/false)

errorMessage, ignoreReason
statusReason

nrOfTestsRan
testsCompleted

id (number)
id (string)

We also have a lot of types that represent a mutant in different states of execution:

Mutant -- a mutant generated and placed, but coverage is not yet measured.
MutantTestCoverage -- internal type in Stryker core. A mutant of which coverage is measured, ready to be tested.
MatchedMutant -- Like MutantTestCoverage but it's reporter API equivalent.
MutantResult  -- The final state of a mutant.
MutantResult (mutation testing elements) -- The final state of a mutant (mutation testing elements variant).

Describe the solution you'd like
End up with 3 interfaces of mutants: Mutant, MutantTestCoverage, MutantResult. All of them are based on the mutation testing elements naming scheme.
Describe alternatives you've considered
Additional context
This is a breaking change because it will hit the Reporter API.

@Garethp please take a look as well, since you will be hit by this issue

Closed with #2798


simple example not working

I am using cuda-8.0, tensorflow 1.4.1 on ubuntu 16.04 and when trying to run the example, I get the following:
This is running on a gtx 960m, when running on a gtx 1060 it runs fine, is the 960m supported?
(ml) hyz@hyz-XPS-15-9550:~/prog/blocksparse/examples$ python simple.py
2017-12-08 11:06:57.447347: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2017-12-08 11:06:57.560860: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-12-08 11:06:57.561241: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 960M major: 5 minor: 0 memoryClockRate(GHz): 1.0975
pciBusID: 0000:01:00.0
totalMemory: 1.96GiB freeMemory: 1.55GiB
2017-12-08 11:06:57.561274: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 960M, pci bus id: 0000:01:00.0, compute capability: 5.0)
2017-12-08 11:06:59.663068: W tensorflow/core/framework/op_kernel.cc:1192] Internal: invalid resource handle
Traceback (most recent call last):
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1323, in _do_call
return fn(*args)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1302, in _run_fn
status, run_metadata)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InternalError: invalid resource handle
[[Node: BlocksparseMatMul_000000 = BlocksparseMatmul[C=4096, K=4096, alpha=1, axis=1, bench=0, beta=0, blocks=8168, bshift=5, dtype_dw=DT_FLOAT, dtype_w=DT_FLOAT, dtype_x=DT_FLOAT, dtype_y=DT_FLOAT, locks=0, locks_dx=0, segments=128, segments_dx=128, shared=608, shared_dx=656, _device="/job:localhost/replica:0/task:0/device:GPU:0"](_arg_Placeholder_0_0/_1, w/read, BlocksparseMatMul/fprop_lut/_3, BlocksparseMatMul/bprop_lut/_5, BlocksparseMatMul/updat_lut/_7)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "simple.py", line 27, in
result = sess.run([y], feed_dict = {x: np.ones((minibatch_size,hidden_size), dtype='float32')})
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 889, in run
run_metadata_ptr)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1120, in _run
feed_dict_tensor, options, run_metadata)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
options, run_metadata)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: invalid resource handle
[[Node: BlocksparseMatMul_000000 = BlocksparseMatmul[C=4096, K=4096, alpha=1, axis=1, bench=0, beta=0, blocks=8168, bshift=5, dtype_dw=DT_FLOAT, dtype_w=DT_FLOAT, dtype_x=DT_FLOAT, dtype_y=DT_FLOAT, locks=0, locks_dx=0, segments=128, segments_dx=128, shared=608, shared_dx=656, _device="/job:localhost/replica:0/task:0/device:GPU:0"](_arg_Placeholder_0_0/_1, w/read, BlocksparseMatMul/fprop_lut/_3, BlocksparseMatMul/bprop_lut/_5, BlocksparseMatMul/updat_lut/_7)]]
Caused by op 'BlocksparseMatMul_000000', defined at:
File "simple.py", line 22, in
y = bsmm(x, w)
File "/home/hyz/prog/blocksparse/blocksparse/matmul.py", line 383, in call
shared=self.fprop_shared, shared_dx=self.bprop_shared, bench=bench, name=name
File "", line 631, in blocksparse_matmul
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 328, in apply_op
op_type_name, name, **keywords)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
op_def=op_def)
File "/home/hyz/ml/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1470, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InternalError (see above for traceback): invalid resource handle
[[Node: BlocksparseMatMul_000000 = BlocksparseMatmul[C=4096, K=4096, alpha=1, axis=1, bench=0, beta=0, blocks=8168, bshift=5, dtype_dw=DT_FLOAT, dtype_w=DT_FLOAT, dtype_x=DT_FLOAT, dtype_y=DT_FLOAT, locks=0, locks_dx=0, segments=128, segments_dx=128, shared=608, shared_dx=656, _device="/job:localhost/replica:0/task:0/device:GPU:0"](_arg_Placeholder_0_0/_1, w/read, BlocksparseMatMul/fprop_lut/_3, BlocksparseMatMul/bprop_lut/_5, BlocksparseMatMul/updat_lut/_7)]]

The compute capability of the 960 is 5.0 while the one for 1060 is 6.1

Sorry, I should have realized sm_50 hardware was still being used.  For Maxwell I only have it compiled for sm_52.  This is easily fixed.  Just update this line to major, minor = 5, 0
https://github.com/openai/blocksparse/blob/master/generate_kernels.py#L241
And change the arch=compute_52,code=sm_52 compiler flags here to arch=compute_50,code=sm_50
https://github.com/openai/blocksparse/blob/master/Makefile#L28
Then go ahead an rebuild to see if that fixes things.  I'll update this in the next release.


README run instructions update

Running the Closure Compiler from inside of Eclipse is a bit of a struggle, thanks to the bug in eclipse described here. Since the README instructions contains information about how to build the project using Eclipse, I find it appropriate that these extra instructions on how to run the project using Eclipse are included in the README as well. This has been tested and verified by me and @lbercken, but I suggest you try it out as well if you have the time.
This PR goes well together with my two previous PRs (#2351 and #2352).

Squashed the commits. All three PRs now only contain a single commit each.


Error while onstalling on Mac OS x

While installing on Mac, when typing sudo npm install in the directory, I get this error:

same here!

Could be some issue with outdated dependencies.  I will take a look and push a fix.
Thanks for reporting.

I have updated the dependencies to latest versions, along with whatever changes were necessary for things to compile and work again.
Please give it a shot.  I am not 100% sure if things are stilling working as expected.  If you do find something broken, please open a new issue.


expiration cache

Hi,
I've a problem, but I think it's more with my code not the lib.
I'm using mysql-cache like this :
const MysqlCache = require('mysql-cache')
var connection = new MysqlCache({
    host: '<IP_ADDRESS>',
    user: 'user',
    password: 'xxxxx',
    database : 'mydb',
    cacheProvider: 'memcached',
    cacheProviderSetup: {
      serverLocation: '<IP_ADDRESS>:11211',
      options: {
          'retries':10,
          'retry':10000,
          'maxExpiration':30
      }
  }
});

So I would like the cache expire after 30 seconds. But in reality it never expire and keep serving the cache.
What am I doing wrong ?

I finally found :
const MysqlCache = require('mysql-cache')
var connection = new MysqlCache({
host: '<IP_ADDRESS>',
user: 'user',
password: 'xxxxx',
database : 'mydb',
cacheProvider: 'memcached',
TTL: 60,
cacheProviderSetup: {
serverLocation: '<IP_ADDRESS>:11211',
options: {
'retries':10,
'retry':10000,
}
}
});


Multithreading

Hi,
TDME2 has the ability to clone worlds and keep them in synch. These operations are synchronized by mutexes in my code.
Usually this also means a world has its own thread and got only accessed by its own thread.
In my special case with ASW I have two worlds.

Original world, means static and dynamic and collision bodies and physics resolving and such

Cloned world, basically only with static bodies, I even do not call update() on it and only do raycasting for path finding.

Do you see any issues using RP3D this way?
Best regards
Andreas

Hello,
I do not see any problem with this but I do not know all the details of your code. However, keep in mind that for the moment ReactPhysics3D is not really thread safe. You have to make sure to lock the objects on your side. I am currently working on multi-threading in order to run the collision detection on multiple threads. Hopefully the code will become more and more thread-safe in the future.

Hi,
Is there any update on the ability to run collision detection on multiple threads. For example if I am calling testoverlap on a large group of objects each with their own callback method that stores its own list of bodies that have been overlapped, like the one providing in the sample:

And eachcall of this testoverlap for each of the 100 enemies, is sent as a job in my job system. And is to be dealt with on different threads similar to a parallelfor, would that be of any issue? Since many testoverlaps may be called at the same time.
Thank you!

Currently, it is not safe to call multiple times testoverlap() in different threads. It is plan to support multithreading for the collision detection for the v0.8.0 release of the library (at the end of the year hopefully).


Particles cannot be seen with latest version of BeatSaber or LIV

Since the last update of BeatSaber particles can no longer be seen though LIV

To further elaborate: Ever since Beat Saber 1.20 or so, particles can only be seen in the main window of Beat Saber - if watching mixed reality or avatars via LIV, no particles work at all, including note cut, saber clash, wall clash, none of them work when viewing through LIV. Any chance of this getting fixed? I love the mod aside from this small problem!


Failed to download citric-receiver; download in Safari works fine

General troubleshooting steps

[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
brew cask can't download citric-receiver from; says download from http://downloadplugins.citrix.com.edgesuite.net/Mac/CitrixReceiverWeb.dmg failed.
However the same URL works fine in Safari; I can literally Cmd+Click on the URL in iTerm2 to download the file.. I just noticed that the downloaded file contains the ASCII text "File not found." 😕
Output of your command with --verbose --debug
$ brew cask fetch --debug --verbose citrix-receiver
==> Downloading external files for Cask citrix-receiver
==> Downloading http://downloadplugins.citrix.com.edgesuite.net/Mac/CitrixReceiverWeb.dmg
==> Calling curl with args ["http://downloadplugins.citrix.com.edgesuite.net/Mac/CitrixReceiverWeb.dmg", "-C", 0, "-o", #<Pathname:/Users/swiesner/Library/Caches/Homebrew/Cask/citrix-receiver--latest.dmg.incomplete>]
/usr/bin/curl --remote-time --location --user-agent Homebrew/1.X.Y (Macintosh; Intel Mac OS X 10.12.6) curl/7.54.0 --fail http://downloadplugins.citrix.com.edgesuite.net/Mac/CitrixReceiverWeb.dmg -C 0 -o /Users/swiesner/Library/Caches/Homebrew/Cask/citrix-receiver--latest.dmg.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'citrix-receiver' with message: Download failed: http://downloadplugins.citrix.com.edgesuite.net/Mac/CitrixReceiverWeb.dmg
Error: Fetch incomplete.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/fetch.rb:12:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask >1.2.0 (no git repository)
caskroom/homebrew-cask (git revision 5867a; last commit 2017-07-31)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3670 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-eid (6 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (159 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="de_DE.UTF-8"
PATH="~/.local/bin:~/.cargo/bin:~/.gem/ruby/2.4.0/bin:~/Library/Python/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/usr/local/bin/fish"

I guess the download moved, or is currently down.  I'm sorry for the noise.


fix: stop manually managing waiting treads in quantum task batch requests

Description of changes:

In the quantum task batch requests, in some cases, when the number of the max parallel parameter was less than the number of tasks submitted, we would create unnecessary threads and use our own mechanism for gating them. I changed this so we rely on the ThreadPoolExecutor for limiting the number of threads that we use.

Testing done:

tox

General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

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

Looks good to me. Can you test a batch of 100 circuits to make sure nothing goes wrong?

Looks good to me. Can you test a batch of 100 circuits to make sure nothing goes wrong?

I modified the line here: https://github.com/aws/amazon-braket-sdk-python/blob/main/test/integ_tests/gate_model_device_testing_utils.py#L454
to be in range(100) rather than 10, and re-ran integration tests (successfully):
test/integ_tests/test_simulator_quantum_task.py::test_batch_bell_pair[arn:aws:braket:::device/quantum-simulator/amazon/sv1] PASSED [ 97%]
Is that adequate?
Thanks,
Milan

Looks good to me. Can you test a batch of 100 circuits to make sure nothing goes wrong?

I modified the line here: https://github.com/aws/amazon-braket-sdk-python/blob/main/test/integ_tests/gate_model_device_testing_utils.py#L454
to be in range(100) rather than 10, and re-ran integration tests (successfully):
test/integ_tests/test_simulator_quantum_task.py::test_batch_bell_pair[arn:aws:braket:::device/quantum-simulator/amazon/sv1] PASSED [ 97%]
Is that adequate?
Thanks,
Milan

Can you actually test with larger (e.g. 20~25 qubit) circuits? The worry with testing tiny circuits only is that by the time you send your 30th circuit the first circuit is already done, and so it's hard to test the SV1 concurrency limit.

Looks good to me. Can you test a batch of 100 circuits to make sure nothing goes wrong?

I modified the line here: https://github.com/aws/amazon-braket-sdk-python/blob/main/test/integ_tests/gate_model_device_testing_utils.py#L454
to be in range(100) rather than 10, and re-ran integration tests (successfully):
test/integ_tests/test_simulator_quantum_task.py::test_batch_bell_pair[arn:aws:braket:::device/quantum-simulator/amazon/sv1] PASSED [ 97%]
Is that adequate?
Thanks,
Milan

Can you actually test with larger (e.g. 20~25 qubit) circuits? The worry with testing tiny circuits only is that by the time you send your 30th circuit the first circuit is already done, and so it's hard to test the SV1 concurrency limit.

I've verified on a 25 qubit circuit in the integration test, and it still passes.


[NEW ALGORITHM] Cycle Detection in a Directed Graph (Using DFS)

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.
Name:
Cycle Detection in a Directed Graph (Using DFS)
About:
Propose a new algorithm to be added to the repository
Cycle detection in a directed graph using Depth-First Search (DFS) works by tracking visited nodes and using a recursive call stack to check for back edges, which indicate cycles. In this algorithm, each node is marked as "visited" when first traversed and added to a "recursion stack." If the DFS reaches a node that’s already in this recursion stack, a cycle exists because we've encountered a back edge, meaning we can reach the same node via a different path. Once a DFS path completes, the node is removed from the recursion stack, ensuring that only the current recursive path is checked for cycles. This method is efficient, with a time complexity of O(V+E), making it suitable for applications like dependency resolution and detecting infinite loops in graphs.
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1
gssoc-extd
Assignees:

[X] Contributor in GSSoC-ext
[X] Want to work on it

assigned


Add default session timeout 3s.

Summary
Try to fix issue: #671, now bot starts faster.
General Info

[x] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[x] This PR fixes an issue (please put issue # in summary).
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Thanks for the PR! Unfortunately, there's an issue with aiohttp's default timeout implementation that causes conflicts with the library's cleanup process. I'll implement this myself in the TLS refactor.


What are the funding source membership routes and logic?

It isn't clear to me what the togglefundingsourcemembershipapproved route does, e.g.:
/en-gb/funding/togglefundingsourcemembershipapproved/
It seems to redirect to:
/en-gb/funding/list/
Potentially just permissions guards, but I have not tested/investiaged this.

It seems that funding can belong to multiple users, but only one project.
Presumably the intention was to allow each user to add funding source to their projects. This is not the case.
There are 3 options that I can see:

prevent users from having multiple funding source
prevent funding sources from belonging to multiple projects.
remove funding source membership table

There is also a one-to one relationship (currently) between projects and funding sources.
The argument for keeping funding source membership table is that we would have a system where a funding source has multiple users, and the multiple users are permitted to add the funding source to multiple projects.
A much simpler implementation could be that each funding source (which potentially has an owner which manages it) can be added to multiple projects.
This would be much, much simpler - but has the downside that multiple people can't allocate/deallocate the projects on any given funding source. I'm not sure that this is worth the considerable complexity of the funding membership workflow.
The funding membership implementation isn't particularly clean anyway, and could be done much simpler.

There is also a one-to one relationship (currently) between projects and funding sources.

https://github.com/M4rkD/cogs3/blob/9cbe980a89e766d9a5e024e37480c2ca9f017916/project/models.py#L115 suggests otherwise?

A much simpler implementation could be that each funding source (which potentially has an owner which manages it) can be added to multiple projects.

What would the UI for this look like? All users can see every funding source on the system to potentially add to their projects? The intent of having users be "members" of a funding source was that they would only have visibility of funding sources they had indicated they wanted to use by supplying an ID code for it; I can't see how you'd implement this without something resembling what we have now.


Postfix and dovecot logging timestamp

Both postfix and dovecot already log the date/time.
dovecot logs:

Dec 29 09:07:10 imap-login: Info: Login<EMAIL_ADDRESS>method=CRAM-MD5, rip=<IP_ADDRESS>, lip=<IP_ADDRESS>, mpid=12345678, TLS, session=<12345678>

postfix has pretty the same format but with the hostname after the date/time.
The date/time can probably be disabled in dovecot by setting log_timestamp to an empty string. The default is:
# Prefix for each line written to log file. % codes are in strftime(3)
# format.
#log_timestamp = "%b %d %H:%M:%S "

I couldn't find a similar option for postfix, even logging to stdout is relative new for postfix.

Ok, thanks for reporting this. As long as the timestamps are there by default, we should drop the T directive in env/LOG_SCRIPT.
Merging it now.


Add onDone or onClose or something, just to allow to do some clean up after the analyzer done processing

Description:
Like we have the createPlugin entryPoint we need another function that allow us to do some clean up after the analyzer finish his job
// This is the entrypoint of our custom linter
PluginBase createPlugin() => _ExampleLinter();

// This should be called after the analyzer done
void onDone() {
//Doing some clean up here.
};

What sort of thing do you want to cleanup?
That's doable. Although it'd likely instead be a dispose method on PluginBase

We had to have a global Set that we filled with some strings on addMethodInvocation and then recheck this Set on another addMethodInvocation
This lint has been working fine till now but when we remove any method that added to this Set on the lint
the lint never worked because this string is still on the Set from the previous analyzer check
So we need to call .clear() after the analyzer done

Oh, you mean you want a per execution disposal?
That's tricky. I'm not sure whether that's something I'd want to add.
It means your lint is stateful, which is likely a bad idea.
Why do you have a global Set? Can't you make this non-global?

@rrousselGit
Unfortunately not,
Because each DartLintRule is running per Single File, so that we can't have a lint that can check the whole project files at once.
That's why we add this global static Set to fill from one addMethodInvocation and then check code from another addMethodInvocation using this Set

Checking the entire project at once is not something supported.
If you need this for the sake of checking the entire project at once, then it is not a reasonable use-case. We'd first need to officially support project-wide analysis before trying to support special cases for it.

@rrousselGit
Any updates?
Or at least could you guide me where should I ask for this feature or If I want to contribute then where should I start?

Well I don't really have a plan to include this is in the package at the moment.

Okay, thanks for your response 😊


Prefetch plugin: add  --fetch-query option

Add the ability to hint the next to-be-prefetched url in a query string.

[approve ci clang-format]

plugin.cc.orig shouldn't be here.

Sorry! Pushed a commit to rm.


Handle JavaScript dialogs

Implements JS dialog handling, as discussed in https://github.com/keathley/wallaby/issues/169.

Hey @keathley I've got an initial version done, would you mind taking a look?

Thanks for this @padde! This looks pretty good to me. My only thought was that it might make sense to make accept_alert etc. chainable. I'm not sure if thats a good idea or not. Being able to see the message is definitely useful. I wonder if we could do that with another callback as the 3rd argument or if that api would just get messy. What do you think @PragTob?

Oh @keathley - having it chainable would be great, although with accept_dialogs being chainable I'm not sure how important it is as you can just use that if you don't care and then use the more detailed methods if you care about the values and then it's not so bad that it isn't chainable.
I'd like them to be chainable, but two functions as arguments seems weird as interface for a function. :|

Thanks for the comments guys, all valid points. Will push some improvements soon.
Regarding the chainable API issue let me summarize:

accept_alert(session, fun) -> string (current solution)

not chainable
OTOH there is accept_dialogs for when we don't care about messages

accept_alert(session) -> session, then last_message(session) -> string

easily implemented with PhantomJS (in fact the current solution internally does this)
not an option because it would be incompatible with the WebDriver spec, which only allows to get the message of the currently visible prompt before interacting with it

current_message(session) -> string, then accept_alert(session) -> session

easily implemented with WebDriver
not an option because this is not possible with PhantomJS - it has no concept of "the current dialog". At the time when we know the message the alert is already accepted/dismissed

accept_alert(session, trigger_fun, message_callback_fun) -> session

I agree having to supply two callback functions seems weird
I don't like having to trust the underlying code to actually invoke the assertion

On a more general note, I dislike the fact that the current solution mixes concerns by both interacting with the interface and querying it for the alert message. Alas, it seems near impossible to overcome the limitations of PhantomJS' implementation in this regard.

@keathley @PragTob everything should be fixed now. Your opinion on this comment might result in additional changes though.

Oh and maybe I should add a section to the README about handling JavaScript dialogs?

I think we could get this in now, thanks for the README section @padde - thoughts @keathley ? :)

Nice! Any ideas when we can expect a release?
By the way: awesome experience working with you guys, shows once again what a wonderful community this is. Greatly appreciated, thanks!

@padde Thanks! I've added it to our 0.17.0 release milestone. Hopefully it won't take too long to get that out.

@padde I'm going to do a final review of everything here, but is there anything else that you think we need to look at before we merge?

@keathley I'd like to add the guard for the input_value in accept_prompt (see https://github.com/keathley/wallaby/pull/173#discussion_r109278665) before merging. Other than that we should be good to go.

@keathley added the guard for the input_value with accept_prompt/3, should be good to go now I think.

Okay I think this should be good to go now, besides - we might need it at work :D
I'll try to dig through and file some issues we've mentioned.

Ok just found one case where I really want to open an issue, if I missed any others please feel free tom open them :)


Simple Interest Calculator

Title of article
Write a Java programme to calculate simple interest.
Additional information
P : Principle Amount
T : Time Period
R : Rate of Interest
Enter P : 5000
Enter T : 10
Enter R : 5

Simple Interest : 2500

Code of Conduct

[X] I have read and agree to the Codinasion project's Code of Conduct

I have this one ready.

Thanks for your contributions to this project ❤

Thanks for your contributions to this project +1

My pleasure! Thank you for the opportunity.

Thanks for your contributions to this project +1

My pleasure! Thank you for the opportunity.

Anything you wanna suggest to improve this project, based on your experience 😃


Add security-focused pipeline to scan for effective potential malware detection

Checking for the possible malware in the actual code would be awesome. This will complement the back-to-source binary analysis of software packages.
There are a few nice things we could add to such a pipeline:

clamav of course
https://github.com/DataDog/guarddog by @christophetd and team and is also behind this dataset https://github.com/nexB/vulnerablecode/issues/1406
https://github.com/intel/cve-bin-tool by @terriko though this is more about package detection but it could complement nicely the work in VulnerableCode
and likely a few more

@pombredanne what would be the output of this pipeline?
Some kind of report? Attaching extra data to the codebase resource?
If this pipeline includes various tools, how do we aggregate those various data output?