[fix] Pull request code changes.

changes:

change the pubsub adapter client to same pattern. i figured out how to do it. actually it has a package.
pubsub service with empty implementation following getNotificationService
added service level unit test.
I dont think we need to merge notification and pubsub, it is 2 diff concept as pubsub does' t have the recipients.

PR comments:
https://github.com/GoogleCloudPlatform/jit-access/pull/154

LGTM. Please make sure to update the comments on the upstream PR as well related to these changes.


Special resource operator

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?

Your submission should not

[ ] Modify more than one operator
[ ] Rename an operator - please remove and add with a different name instead
[ ] Submit operators to both upstream-community-operators and community-operators at once
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

/test CVP

@zvonkok , Also make sure the operator writes to the status field.

@zvonkok: Important announcement: Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted. You can use nested structure before this date also.

@zvonkok - is this stale?

@zvonkok, If there is no further activity on this PR, please close this  PR.  You can open a new PR when you are ready.


Question about Asyncpg example.

Hi there!
this is from the asyncpg example:
@app.get('/')
async def root_get(request):
    async with app.pool.acquire() as connection:
        results = await connection.fetch('SELECT * FROM sanic_post')
        return json({'posts': jsonify(results)})

I wonder, should I use this line async with app.pool.acquire() as connection for every route? E.g.:
@app.get('/')
async def root_get(request):
    async with app.pool.acquire() as connection:
        results = await connection.fetch('SELECT * FROM sanic_post')
        return json({'posts': jsonify(results)})

@app.get('/foo')
async def foo_get(request):
    async with app.pool.acquire() as connection:
        results = await connection.fetch('SELECT * FROM foo')
        return json({'posts': jsonify(results)})

# etc...

Yes, for every route that is accessing the database you should use that format.

Thanks for your reply!
I wrote some wrappers to reduce the boilerplate:
db.py

async def _fetch_pg(pg_pool, sql, *args, **kwargs):
    async with pg_pool.acquire() as connection:
        return await connection.fetch(sql, *args, **kwargs)

async def _execute_pg(pg_pool, sql, *args, **kwargs):
    async with pg_pool.acquire() as connection:
        return await connection.execute(sql, *args, **kwargs)

# etc...

class pg:
    def __init__(self, pg_pool, *args, **kwargs):
        self.fetch = partial(_fetch_pg, pg_pool, *args, **kwargs)
        self.execute = partial(_fetch_pg, pg_pool, *args, **kwargs)
        # etc...

@bp.listener('before_server_start')
async def init_pg(app, loop):
    """
    Init Postgresql DB.
    """
    app.pg_pool = await create_pool(
        **app.config.PG_CFG,
        loop=loop,
        max_size=100,
    )
    app.pg = pg(app.pg_pool)

I can call pg like this now:

@app.route("/")
async def root(req):
    # ...
    result = await app.pg.fetch(sql)

Hi @feluxe Thanks for the example. I wonder why you use partial function. I have never used that before. Is this a simpler way to do the same?
from asyncpg import create_pool
from sanic import Blueprint

bp = Blueprint('dp')

class pg:
    def __init__(self, pg_pool):
        self.pg_pool = pg_pool

    async def fetch(self, sql, *args, **kwargs):
        async with self.pg_pool.acquire() as connection:
            return await connection.fetch(sql, *args, **kwargs)

    async def execute(self, sql, *args, **kwargs):
        async with self.pg_pool.acquire() as connection:
            return await connection.execute(sql, *args, **kwargs)

@bp.listener('before_server_start')
async def init_pg(app, loop):
    """
    Init Postgresql DB.
    """
    bp.pg_pool = await create_pool(
        **app.config.PG_CFG,
        max_inactive_connection_lifetime=60,
        min_size=1,
        max_size=3,
        loop=loop,
    )
    bp.pg = pg(bp.pg_pool)
    print('-------- setup connection pool --------')

I can call asyncpg like this now:

@app.route("/")
async def root(req):
    result = await app.pg.fetch('SELECT * FROM foo')


Please document GRAYLOG_ELASTICSEARCH_HOSTS

I found some pages who are refering GRAYLOG_ELASTICSEARCH_HOSTS but I haven't found anything here.

@runningman84 The GRAYLOG_ELASTICSEARCH_HOSTS environment variable translates to the elasticsearch_hosts setting in the Graylog configuration file:
https://github.com/Graylog2/graylog2-server/blob/9f2c6ef5c1c0f8b77e73d1298d57c7223087eedf/misc/graylog.conf#L172-L178
You can override any configuration setting from the Graylog configuration file with an environment variable of the the same name with the prefix "GRAYLOG_" and all upper case, e. g. you can override is_master with the GRAYLOG_IS_MASTER environment variable.
This is also described in the documentation at http://docs.graylog.org/en/2.3/pages/installation/docker.html#configuration

yes, but it is not documented on this page and therefore not documented at the Docker Hub:
https://hub.docker.com/r/graylog2/server/

@runningman84 It's documented in the "Configuration" section of the README you've linked to: https://hub.docker.com/r/graylog2/server/


Network issue

Hello,
I got this issue after the first start of the bot. I never had issue since the beginning but now from the last updates the bot doesn't work anymore.
It seems that the containers can't reach the DNS and the other container through the docker network.
Have you an idea to fix that ?
(I tested on a fresh VPS with nothing running on it)
automuteus_1  | 2021/01/25 20:18:22 6.11.0-228d614
automuteus_1  | 2021/01/25 20:18:22 Error connecting to Galactus!
automuteus_1  | 2021/01/25 20:18:22 Program exited with the following error:
automuteus_1  | 2021/01/25 20:18:22 Get "http://galactus:5858/": dial tcp: lookup galactus on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:53848-><IP_ADDRESS>:53: read: connection refused
automuteus_1  | 2021/01/25 20:18:58 6.11.0-228d614
automuteus_1  | 2021/01/25 20:18:58 Error connecting to Galactus!
automuteus_1  | 2021/01/25 20:18:58 Program exited with the following error:
automuteus_1  | 2021/01/25 20:18:58 Get "http://galactus:5858/": dial tcp: lookup galactus on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:40148-><IP_ADDRESS>:53: read: connection refused
galactus_1    | 2021/01/25 20:17:52 No REDIS_USER specified.
galactus_1    | 2021/01/25 20:17:52 No REDIS_PASS specified.
galactus_1    | 2021/01/25 20:17:52 Locking token for 5 seconds
galactus_1    | 2021/01/25 20:17:52 dial tcp: lookup redis on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:38161-><IP_ADDRESS>:53: read: connection refused
galactus_1    | 2021/01/25 20:17:52 Get "https://discord.com/api/v6/gateway": dial tcp: lookup discord.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:57960-><IP_ADDRESS>:53: read: connection refused
galactus_1    | 2021/01/25 20:18:20 No REDIS_USER specified.
galactus_1    | 2021/01/25 20:18:20 No REDIS_PASS specified.
galactus_1    | 2021/01/25 20:18:21 Locking token for 5 seconds
galactus_1    | 2021/01/25 20:18:21 dial tcp: lookup redis on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:35024-><IP_ADDRESS>:53: read: connection refused
galactus_1    | 2021/01/25 20:18:21 Get "https://discord.com/api/v6/gateway": dial tcp: lookup discord.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:59750-><IP_ADDRESS>:53: read: connection refused
galactus_1    | 2021/01/25 20:18:56 No REDIS_USER specified.
galactus_1    | 2021/01/25 20:18:56 No REDIS_PASS specified.
galactus_1    | 2021/01/25 20:18:56 Locking token for 5 seconds

#wget https://discord.com/api/v6/gateway
--2021-01-25 20:22:55--  https://discord.com/api/v6/gateway
Resolving discord.com (discord.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to discord.com (discord.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35 [application/json]
Saving to: 'gateway'

gateway                                         100%[=====================================================================================================>]      35  --.-KB/s    in 0s

2021-01-25 20:22:55 (3.95 MB/s) - 'gateway' saved [35/35]

Thanks & Regards,

We can try to help in the Discord! https://discord.gg/u22Rg92y

We can try to help in the Discord! https://discord.gg/u22Rg92y

Resolved in the Discord server. This was a result of the Docker daemon configuration + VPS networking issues relating to DNS


Anti Tooling breaks Symbols

Describe the bug:
Anti Tooling breaks Symbols
Config and Small code sample
Config:
{
  target: "node",
  preset: "low"
}

Code:
var sym1 = Symbol();

sym1;
sym1;

Output:
var sym1=Symbol();+(sym1,sym1)

Error:
(node:32216) UnhandledPromiseRejectionWarning: TypeError: Cannot convert a Symbol value to a number

The Anti Tooling feature combines expressions and chooses a random unary operator (void, typeof, -, !, +, or ~) which can cause errors with symbols. Anti Tooling, which currently has no option to be turned off, should not use unary operators that perform numeric conversions to avoid this error from occuring. The other operators work correctly.

Also experiencing this with BigInt.


deis register -> deis auth:register indirection/improvement

After installing and starting the deis platform via deisctl, the deisctl tells you:
Please use `deis register` to setup an administrator account.
However when you type:
deis register
you get:
Usage: deis auth:register <controller> [options]
As a new user of Deis, I'd find this confusing as my first assumption is that deis register doesn't exist, but it has moved to deis auth:register. Instead, what is actually happening is I just didn't pass in a controller.
A few options:

improve the output of deisctl after the start of the platform to tell the user to now use the deis cli to register an account (with the correct instructions, maybe even putting in the controller IP/DNS entry for them)
be more vague on how you register a user via the deis cli from deisctl
change the usage output of deis register to show as deis register not deis auth:register
give the user of the deis cli a bit more help on what option/argument they missed (in my case: controller)

How would changing the message to Please use 'deis register <controller>' to setup an administrator account. sound?

Alternatively: Please set up and administrative account. See 'deis help register'.

I like @technosophos' idea. A bit more future-proofed.

Yeah, I think that @technosophos's suggestion would work well.

I think the bigger question is when did deis register break? It definitely used to work - my provision helper script looks like:
#!/bin/bash

deis register http://deis.apps.carmstrong.io --username=chris --password=adsf<EMAIL_ADDRESS>deis keys:add ~/.ssh/deis.pub

@carmstrong it's not broken, I was just complaining about the output and what it led me to believe the first few go-rounds with setting up a cluster.

I was just complaining about the output

Gotcha. Made more sense on a second read-through.

PR #4276


feat(client): fetch get-session-user without checking jwt

This is a step we will likely need to take before changing the
authentication flow, but I'd like to do it now to simplify the
interaction with the new api.
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

@raisedadead if you reckon the extra requests from logged-out users will be too much, I'll come up with another solution. I do think we'll need to pull this bandaid off at some point, though.

The context is that we are planning to use a httpOnly session cookie in the new api, so the client cannot check that cookie before requesting the session user. Simply making the request regardless seemed like the simplest solution.
I'm not sure how best to test this, but I'll try to come up with something.

I'm not sure how best to test this, but I'll try to come up with something.

That's fine; at least add the context somewhere better than a comment.
Plainly speaking, the PR touches code that we use in production if merged. If you ask someone to read the OP or commit a message, they will have zero idea of what you are talking about.


[Publisher][UI] API create dropdown overlap with API list view

Select API list view and then select API create dropdown. This list overlaps with the api list. See the image

Fixed in 3.0.0 beta


BUG: memory access bug in read_csv causing segfault

closes https://github.com/pydata/pandas/issues/5664
the added test covers the original issue, though I cannot reproduce that on master; the one mentioned in the comments still segfaults on master (if repeated few times) and is fixed by this pr.

can you add a release note, otherwise lgtm

@jreback added the release note

thank you sir!


Eureka metadata url not properly auto-configured for 'https'

Hi,
If I use secure-port in my configuration and I don't specify the management.port, then spring cloud does not change my eureka statusPageUrl and other url's to https.
The if condition at line number 114 in EurekaClientAutConfiguraiton.java (spring-cloud-netflix-eureka-client: 1.2.6 release) prevents it from changing the scheme and it lets netflix configure the url . In netflix's InstanceInfo.java there is no check for secure port and the protocol is hardcoded to http.
I am not sure where to raise this issue, but since I am using spring-cloud-netflix I am putting this here

Can you show us the configuration that you think should work?

eureka:
  instance:
    hostname: localhost
    secure-port-enabled: true
    secure-port: 8080

This should configure the statusPageUrl as https://localhost:8080/info. Instead the url is http://localhost:8080/info
All eureka meta url's are configured to http
I can specify an explicit url, but will the above not be easier? Moreover, if I specify a different management. it configures it properly.

Is that all of the configuration?  Shouldnt you also be enabling SSL via Spring Boot configuration?

Yes. I think I have that. Here is my full configuration
spring:
  application:
    name: test-app

server:
  port: 8762
  ssl:
    key-store: classpath:keystore-local.p12
    key-store-password: abcd123
    keyStoreType: PKCS12
    keyAlias: 1
    enabled: true

eureka:
  instance:
    non-secure-port-enabled: false
    hostname: <IP_ADDRESS>
    prefer-ip-address: false
    secure-port-enabled: true
    secure-port: ${server.port}
  client:
    service-url:
      defaultZone: https://localhost:8761/eureka

Am I missing some other ssl configuration?

Looks like your configuration is a little off, it should be

eureka:
  instance:
    nonSecurePortEnabled: false
    hostname: <IP_ADDRESS>
    prefer-ip-address: false
    securePortEnabled: true
    secure-port: ${server.port}
  client:
    service-url:
      defaultZone: https://localhost:8761/eureka

As far as the status page URL goes, looks like this was discussed in #176.  Looks like the behavior you are observing has been that way for a while.  Does it effect other service discovery clients?

configuration is a little off

Hmm... but everything works fine with my current configuration and /eureka/apps shows these configurations as expected.
<hostName><IP_ADDRESS></hostName>
<app>TEST-APP</app>
<ipAddr><IP_ADDRESS></ipAddr>
<status>UP</status>
<overriddenstatus>UNKNOWN</overriddenstatus>
<port enabled="false">8081</port>
<securePort enabled="true">8081</securePort>

Does it effect other service discovery clients?

Except for the status page url and other health check url's everything works fine. Are there any plans to change that (auto configure the url's) or should I just provide the absolute url in my config file?

I am going off what our documentation states about registering secure applications.  I would stick with what the documentation states.
We dont have any plans that I know of to change how things work.  We can mark this issue an an enhancement and if we get enough interest in making the change we can take a look at it.  Or if you (or someone else) would like to submit a PR for the change that is always welcome as well.

Ok. Thanks for your help.

I think it's will be interesting to make it auto configurable.
In my case, i use config server (spring cloud) and it will be useful to manage this configuration only on application-profile.yml for all services, because with the current version and as @raiRaiyan said, the https url for health check and status must be hardcoded for every service with eureka.instance.health-check-url and eureka.instance.status-page-url.

I don't understand why eureka.instance.secure-port can't be used as a placeholder.

with this configuration
spring:
  application:
    name: secureclient
server:
  port: 5678
  ssl:
    enabled: true
    key-store: classpath:keystore.jks
    key-store-password: password1234
    key-store-provider: SUN
    key-store-type: JKS

eureka:
  client:
    service-url:
      defaultZone: https://localhost:8761/eureka
  instance:
    non-secure-port-enabled: false
    secure-port-enabled: true
    secure-port: ${server.port}
    statusPageUrl: https://${eureka.hostname}:${eureka.instance.secure-port}/info
    healthCheckUrl: https://${eureka.hostname}:${eureka.instance.secure-port}/health
    homePageUrl: https://${eureka.hostname}:${eureka.instance.secure-port}/

the https://localhost:8671/eureka/apps return
<homePageUrl>https://localhost:${eureka.instance.secure-port}/</homePageUrl>
<statusPageUrl>https://localhost:${eureka.instance.secure-port}/info</statusPageUrl>
<healthCheckUrl>https://localhost:${eureka.instance.secure-port}/health</healthCheckUrl>
<secureHealthCheckUrl>https://localhost:5678/health</secureHealthCheckUrl>

@REME-AlarmTILT
you can create a new bean of EurekaInstanceConfigBean and set the urls above when EmbeddedservletContainerInitializedEvent fired


Dice command

The command !dice  should return a number from 1 to  at random and send it in the chat.

I'll get it :)


SCT-1233 Add get_namespace to core code

Pull Request Test Coverage Report for Build 131

14 of 14 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 95.402%

Totals

Change from base Build 130:
0.1%

Covered Lines:
581

Relevant Lines:
609

💛  - Coveralls


Firefox 36.0 and Firebug 2.0.8 hangs

This is in a Windows 7 machine.
After the Firefox 36.0 upgrade when I reload a page that has Firebug active Firefox hangs for a while. It takes 10+ seconds for Firefox+Firebug to become responsive again.
If I turn off Firebug the page reloads just fine.
Note that the page is being served from localhost by Tomcat. Another clue is that this application uses Sencha ExtJS library. This does not seem to happen when debugging other pages from the internet.
I wish I had more information but had to go back to Firefox 35.0.1 for now to continue working.
thanks

Thanks for this report however this repo and issue tracker is only specific to Firefox.next i.e Firefox 3 please can you report this over at https://github.com/firebug/firebug/issues


Convert to Python3

No reason to wait till Jan 2020 IMO

Solved in https://github.com/mandatoryprogrammer/TrustTrees/commit/cb897eef20cb4e090792beb58d3298ce32143b09
I should probably bump ✊ the version now.


CMOS-143: Add improved CB7 single-cluster overview dashboard

This commit adds a version of the single-cluster-overview dashboard compatible with CBS 7.x. It keeps around the 6.x version for the time being, but the Couchbase Inventory will now link to 7.x.
This PR is independent of #79, though testing it will require configuring CMOS the "old-fashioned way" (i.e. docker cp, not the GUI) until that PR is merged.

Rerunning screenshot action at https://github.com/couchbaselabs/observability/actions/runs/1444598709


--enable-test-discovery is now deprecated

The latest SwiftPM have removed --enable-test-discovery option since https://github.com/apple/swift-package-manager/pull/3053
Error: warning: '--enable-test-discovery' option is deprecated; tests are automatically discovered on all platforms

Closing as resolved.


Avoid double dependency on copy-css task

The copy-css task was called too early, before the user.csspath param was computed, leading to the CSSs being copied to a folder called "${user.csspath}" and not being used at all in the JavaHelp output.

:+1: for 2.2.5.


Enforce or Prevent Type for header parsing

From the code here: https://github.com/spiral/roadrunner-http/blob/master/src/PSR7Worker.php#L136
$key is passed straight to str_replace which accepts string|array and not int which can result in
Fatal Error (E_ERROR): Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, int given in /opt/project/vendor/spiral/roadrunner-http/src/PSR7Worker.php:137

As you can imagine, this could have big consequences for rr users. You should enforce the type or prevent it (skipping it)

Done: https://github.com/spiral/roadrunner-http/releases/tag/v2.0.3


Add Getting Started section to README

README Update
Please add a getting started section to the README so folks know how to start with this project.

Added Getting Stared section to README file.


console.logging Sets doesn't show items

console.log(set) where set is a Set object renders as Set {  }. Clicking on that Set object shows the methods on Set, but still doesn't show the values. By contrast, Arrays render as Array [ ...items... ] (and can be further expanded).
Example playground: https://playground.solidjs.com/?hash=-1802735031&version=1.4.1

Neat! This is an issue with eruda's internal library luna, specifically this file. Feel free to copy this comment there


procdump: init at 1.0.1

Motivation for this change
Resolves #49771
/cc @colemickens
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: procdump
Partial log (click to expand)
cp procdump.1 /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1/share/man/man1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1
shrinking /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1/bin/procdump
gzipping man pages under /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1/bin
patching script interpreter paths in /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1
checking for references to /build in /nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1...
/nix/store/gnkvd65ss5zkrs9zahfdv9gdqhcbykzi-procdump-1.0.1

Success on x86_64-linux (full log)
Attempted: procdump
Partial log (click to expand)
cp procdump.1 /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1/share/man/man1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1
shrinking /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1/bin/procdump
gzipping man pages under /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1/bin
patching script interpreter paths in /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1
checking for references to /build in /nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1...
/nix/store/jlnwnki4mzpsg5jnf7civ8kfmz6lzkv6-procdump-1.0.1

$ sudo procdump -s 1 -M 1 -p4322

ProcDump v1.0.1 - Sysinternals process dump utility
Copyright (C) 2017 Microsoft Corporation. All rights reserved. Licensed under the MIT license.
Mark Russinovich, Mario Hewardt, John Salem, Javid Habibi
Monitors a process and writes a dump file when the process exceeds the
specified criteria.

Process:                firefox (4322)
CPU Threshold:          n/a
Commit Threshold:       >=1
Threshold Seconds:      1
Number of Dumps:        1

Press Ctrl-C to end monitoring without terminating the process.

[23:18:06 - INFO]: Commit: 299 MB

where are those stored?

LGTM! :tada:

yes. upstream should merge this quickly.

where are those stored?

In the current working dir (now that it really works)
$ sudo procdump -s 1 -M 1 -p 721

ProcDump v1.0.1 - Sysinternals process dump utility
Copyright (C) 2017 Microsoft Corporation. All rights reserved. Licensed under the MIT license.
Mark Russinovich, Mario Hewardt, John Salem, Javid Habibi
Monitors a process and writes a dump file when the process exceeds the
specified criteria.

Process:                nscd (721)
CPU Threshold:          n/a
Commit Threshold:       >=1
Threshold Seconds:      1
Number of Dumps:        1

Press Ctrl-C to end monitoring without terminating the process.

[12:47:26 - INFO]: Commit: 2 MB
[12:47:28 - INFO]: Core dump 1 generated: nscd_commit_2018-11-16_12:47:26.721

$ ll nscd_commit_2018-11-16_12\:47\:26.721
-rw-r--r-- 1 root root 453609880 16 nov.  12:47 nscd_commit_2018-11-16_12:47:26.721

Submitted sigset fix upstream: https://github.com/Microsoft/ProcDump-for-Linux/pull/50 if you don't mind including :).


split service resource to multiple separate resources

Add the following resources:

aiven_kafka
aiven_kafka_connect
aiven_kafka_mirrormaker
aiven_pg
aiven_mysql
aiven_cassandra
aiven_elasticsearch
aiven_grafana
aiven_influxdb
aiven_redis

GitHub friendly documentation will be added in a separate PR.

From practical reasons better start reviewing this PR after - https://github.com/aiven/terraform-provider-aiven/pull/240

Converted to draft as this is waiting a final decision on v2 development


Meta: add "Discussions" to GitHub repo?

I didn't see any forum or other community location for discussion / general Q&A for SMT listed on the project website.  Various other open-source projects have enabled GitHub Discussions for their GitHub-based repositories and I thought maybe SMT might consider doing so too.
Examples:

MOOSE: https://github.com/idaholab/moose/discussions
Dakota: https://github.com/orgs/snl-dakota/discussions
Firedrake: https://github.com/firedrakeproject/firedrake/discussions

Ok, it's enabled now.


[Feature-Request] Tiered Licensing Model for S3

The why:
I certainly could be wrong, but I suspect the cost entry point for the S3 models will be higher than the entry point for the current S2 models (by how much, I don't know).  I currently have three cameras (OAK-D and 2xLites) and each serve only one purpose.  Once I write the pipeline, it just runs that pipeline and doesn't do much more.  So, I have an idea to maybe allow you to lower the entry point for the S3 series and if its not possible on the S3 since its in development, maybe consider it for the S4 or something.
The what:
Implement a tiered licensing model that enables certain capabilities.  For example, one license could be just for using it as a depth camera, another for on-board pointcloud/slam/vio, another could machine learning/etc.  If I was to get an S3, it would likely just be used for SLAM and not for anything else and perhaps that could be an avenue for Luxonis to lower the entry point by only enabling that capability.  If one day I decide to repurpose it for object/facial recognition, then I could purchase a license that would enable that.  Obviously, you could just have an 'all of the above' license that could unlock it completely.
The how:
Yeah, well, I have no idea how, but I'm sure someone could figure it out :)

Hi @madgrizzle ,
Interesting proposition, my initial thought would be that many customers would probably dislike that.
Recently BMW got a huge backlash for it's heating seats subscription model, as people want to "own the car" they bought, including all it's hardware features. There were also people hacking into it to avoid paying subscriptions etc. I think from our standpoint it would be better to keep the current business model (sell hardware, software is free/opensource), especially in this market. Thoughts?
Thanks, Erik

From our standpoint, I don't think it would be the best business decision to sell $250 BOM cost cameras for $350 (after taxes).
And food for thought: from a larger perspective, we are a platform company, and as such we mainly don't sell to end-user, other companies integrate these technology into their product which they sell to the end-user. As you mentioned academia/hobbyist - this is a small portion of our sales, as they buy maybe a couple of devices. But when companies integrate our technology into their own products we are talking about 1000s, even 10s of thousands of devices, which is the bigger portion of our sales. (and note; our business model was designed by much smarter people than me, which have years of experience is leading businesses) Thoughts?

Well, I was making up numbers and suggested the $250 was a base price (that included profit/etc.)
But if you are a platform company, I assume you sell in volume at discount to them (i.e., not list price).  I certainly understand if consumers/researchers is not a market you are after.  But if it is, then for then perhaps consider a way for people to get into an S3 (tiered licensing or, cough Kickstarter cough).  For consumers, the OAK-D-Lite is certainly accessible (I have two) but its not the S3 and can't do certain things (i.e., SLAM).  Nothing prevents you from having different B2B and consumer approaches.

Feedback from the team; we likely won't be focusing on this in the near future.


Use docker-machine ssh on version 0.5.* of docker-machine

I get non-fatal, but annoying errors about tcp and bad certs if I use your ssh command as opposed to docker-machine ssh on 0.5.1

The specific error is:
channel 2: open failed: connect failed: Connection refused

again the scripts still work it just spews that while it's "Waiting for Kubernetes cluster to become available..."

I think that we should just switch to docker-machine ssh for port forwarding since it now supports this out of the box. Can you update the PR to do so?

I've added the killing to kube-down.   Sadly the old ssh 1:1 correspondance with the command we ran is gone, so I have to detect something different than what we run, it now looks like:
/usr/bin/ssh -o PasswordAuthentication=no -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=no<EMAIL_ADDRESS>-i /Users/jhuffaker/.docker/machine/machines/default1/id_rsa -p 51174 -f -N -L 8080:localhost:8080
I could maybe expand my pgrep and pkill match to include<EMAIL_ADDRESS>to make it tighter.
I'm struggling a bit to think through the right behavior in a lot of these cases.

I tested the stuff that is up by running kube-up and kube-down both with an existing ssh session forwarding 8080 and without.  In the case where there isn't an existing one it starts up and shutsdown (and properly kills the forward).
In the case where there is an existing forward it maintains the existing behavior of not starting a new one, and not killing it on kube-down.  But basically kubectl won't work and it will hang waiting for kube to become available.
If we want to change that second behavior I can just move to killing all ssh sessions that are holding 8080.

thoughts?  The current ssh command gives a bunch fun things around needing to type yes to accept the cert and other issues with known hosts as well as the connect failed I mentioned above.

@huggsboson thanks for that. Just had a small comment about the error message. Otherwise LGTM, happy to merge it in.

Cool, much better error text.  Patchset updated.


Pomodoro not working on chrome : Version 62.0.3202.94 (Official Build) (64-bit)

I have installed the plugin on the chrome Version 62.0.3202.94 (Official Build) (64-bit) on mac osSierra 10.12.6.
When I start the pomodoro from the chrome menu, it shows that it has started, but after the cycle is completed it is still in the active state and no notification of the completion is coming.
So I checked the history, still, no activity is recorded.

I actually just published an update that changed the timer logic to use some built-in Chrome APIs, so it's very possible I introduced a bug.
What version of Marinara are you using (Options > Feedback > Version)?
If you go to the Chrome extensions page, enable "Developer mode", click "background page" under Marinara, then select "Console", do you see any errors there?

I am using VERSION 13
For testing purpose now I have set pomodoro timing  to 1 minute - PFA describing the setting, before and after. After each minute I was getting a sound of "clock", but it did not transition its state to short break

background page - No error here

Thanks again. I appreciate the help, and sorry for the inconvenience. Version 13 is the newest version with the timer changes, so that's likely the issue.
I'm trying to reproduce the issue, but I have been unable to so far. I will try your settings.
Also, just to be clear, at the end of the timer, it should popup a desktop notification (like this) and a tab notification (like this). It will not automatically go to the short break until you click the toolbar button or one of the other short break buttons.

At the end of the timer, did the little red badge on the icon disappear, or was the badge still there with the "1m" text?

I think I might've found the issue. According to the chrome.alarms API:

In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 1 minute but may delay them an arbitrary amount more. That is, setting delayInMinutes or periodInMinutes to less than 1 will not be honored and will cause a warning. when can be set to less than 1 minute after "now" without warning but won't actually cause the alarm to fire for at least 1 minute.

To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.

My extension is loaded unpacked since I'm developing it, so I never hit this limitation. On your machine, since you downloaded it from the store, the 1-minute+ limitation exists, so Chrome could be delaying the alarm "an arbitrary amount more".
If you run the timer and just let it sit for a while, does it eventually complete?

This is bizarre. I'm using the same OS version as you, the same Chrome version as you, on a laptop discharging the battery (as your screenshot shows), I've downloaded the extension to a brand new user profile, and I still cannot reproduce the behavior you're seeing.
I'm at a loss. I changed over to the chrome.alarms API because I thought it would be more reliable than the setTimeout/setInterval route, but it seems that's not the case. If I cannot reproduce this issue, I will just rollback to using setTimeout/setInterval and publish an update.

@schmich

I did not get any desktop notification and a tab notification after completion of the time.
The red mark of the time on the tomato image was still visible even after the time got completed
Once I had tried for setting the time to 25 minutes with timer sound speed of 1 minute, I had waited for around 45 minutes still no notification or anything in the history, the red mark on the chrome was still making it visible to 25 minutes.

Thanks for the details. The Chrome extension documentation is frustratingly opaque about something as simple as implementing a timer. It looks like I will just rollback to setTimeout/setInterval until I can dig deeper and find a better alternative.
I apprecate your patience and assistance. I should have Version 14 published to the Chrome Web Store shortly.

@schmich thank you so much for the quick turnaround.
Will wait for the update, thanks :)

I've published Version 14. If you refresh on the extensions page, it should automatically update. If you could try running with a short timer again and report back, I would appreciate it.

@schmich it is working perfectly

Great to hear! Thanks agian for your time and help.


Bump versions of various GH actions we use to those that are based on Node@16

Fix https://github.com/k8gb-io/k8gb/issues/965
Reason: get rid of the deprecation warnings, check the issue above for details.
Signed-off-by: Jirka Kremser<EMAIL_ADDRESS>

amended and pushed also actions/upload-artifact v2 -> v3


"make ship" and "make truck" are missing dependances

These targets will fail if several other tasks have not been completed first. No helpful error message is produced.
One way to resolve this is to add the dependent targets check-uid check-mcw set_user_id gpio_defaults to ship and truck.
Also, the path ../mgmt_core_wrapper/gds/mgmt_core_wrapper.gds which appears in both of these targets could be replaced with $(MCW_ROOT)/gds/mgmt_core_wrapper.gds. That hardcoded path requires that MCW_ROOT be a subdirectory of CARAVEL_ROOT.

make gpio_defaults
export USED_ID=<your favorite 8 digit hex number>
make set_user_id
make ship
This should work. @derekcom17

Yes I believe that should work.
If that is the intended script for make ship, then could you consider putting that script in the readme or somewhere obvious to new users?


.d.ts file saved，but didn't declare any js functions or vars.

// Type definitions for mySampleOut
// Project: [LIBRARY_URL_HERE]
// Definitions by: [YOUR_NAME_HERE] <[YOUR_URL_HERE]>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'OutModuleName' {
export = mySampleOut;    //legacy ts module export

}

Above is the all content in the saved .d.ts file.
here is how I use dtsmake in command line:
C:\Users\Administrator>dtsmake -s E:\laya\protobufTest\bin\libs\bytebuffer.js --
dist E:\laya\protobufTest\bin\test\sampleOut -n mySampleOut -e -S legacy -M OutM
oduleName

here is result:
v:3.10.10
dtsmake started.
[CMD]node "C:\Users\Administrator\node_modules/tern/bin/condense" --name mySampl
eOut E:\laya\protobufTest\bin\libs\bytebuffer.js --no-spans
[SRC]E:\laya\protobufTest\bin\libs\bytebuffer.js
File saved. (E:\laya\protobufTest\bin\test\sampleOut.d.ts)

.d.ts didn't have any function or var definitions.
Please! How to use this tool correctly?
Please! How to use this tool correctly?

I  have same problem, Do you have fix it?


The Roadmap

Yet another roadmap...
Moving from https://github.com/MetaMask/eth-ipfs-browser-client/issues/1
Ethereum Browser Light Client Roadmap (MVP)
Divided in five big areas

Obtaining Data from devp2p
Kitsunetto: metamask peer network
Bridge Peers: Make eth contain available to libp2p
Browser Peers Why we are here
Metamask Extension Ops

OBTAINING DATA FROM devp2p

[ ] Devp2p Node Scrapper
[ ] Block Header Sync
[ ] Snapshot download

KITSUNETTO (Metamask peer network)

[ ] Add mustekala box mk1 docker to repo

[ ] Deploy

[ ] Signalling servers

[ ] Docker package
[ ] Deploy
[ ] Network bootstrapping

[ ] PubSub Testing for blockchain head update

[ ] May include signature of messages / "network of trust" ?

[ ] Messaging testing

[ ] Request an "index"

[ ] Metrics

[ ] Collection

BRIDGE (Make eth contain available to libp2p)
(go-ipfs)

[ ] Mount RedisDB Datastore problem
[ ] Bootstrap into kitsunetto
[ ] Custom Content Routing System

[ ] Sharding criteria, metadata indexes, "delta computations", etc

[ ] Publish new blockchain head
[ ] Respond to requests

[ ] eth - ipld dag requests
[ ] CRS indexes requests

PEERS
(js-ipfs)

[ ] Bootstrap into kitsunetto
[ ] Subscribe to new blockchain head
[ ] Custom Content Routing System

[ ] Maintaining Ethereum Trie Shards

[ ] Deterministic and/or discrete
[ ] Incentive system
[ ] Updating them on triggers, request indexes, compute deltas, request parts.

[ ] Manage other peers requests

[ ] eth - ipld dag requests
[ ] CRS indexes requests

Metamask Extension Ops

[ ] eth_blockNumber
[ ] eth_getBalance
[ ] ... more to come. (See breakdown in comment below)

break down of rpc methods and node requirements (updated)
client
  eth_protocolVersion
  eth_syncing
  eth_coinbase
  eth_mining
  eth_hashrate
  eth_gasPrice
  eth_accounts
  eth_sign
  eth_sendTransaction
  eth_sendRawTransaction
  eth_newFilter
  eth_newBlockFilter
  eth_newPendingTransactionFilter
  eth_uninstallFilter
  eth_getFilterChanges
  eth_getFilterLogs

client broadcast
  eth_sendRawTransaction

ipfs
  eth_getBlockByHash
  eth_getUncleByBlockHashAndIndex

ipns/block syncing (head tracking)
  eth_blockNumber

ipld:selectors (selectors/transforms)
  eth_getBlockTransactionCountByHash
  eth_getUncleCountByBlockHash

index:txToBlock (coselector)
  eth_getTransactionReceipt
  eth_getTransactionByHash
  eth_getTransactionByBlockHashAndIndex

log query?? / geth bloomFilterTrie / index:logToTx
  eth_getLogs (+index:logToTx)

lazy vm (slow) / remote vm + proofs (faster)
  eth_call
  eth_estimateGas

index:CHT
  eth_call
  eth_estimateGas
  eth_getBalance
  eth_getStorageAt
  eth_getTransactionCount
  eth_getCode
  eth_getBlockByNumber
  eth_getTransactionByBlockNumberAndIndex (+index:txToBlock)
  eth_getBlockTransactionCountByNumber (+ipld:selectors)
  eth_getUncleCountByBlockNumber (+ipld:selectors)
  eth_getUncleByBlockNumberAndIndex
  eth_getLogs (+log query)


Azure IOT Central updates for DotNet SDK release for RP version 2021-06-01

Changes Included
This release removes legacy S1 SKU,
adds support for regions while removing geographies (for location),
releases new RP version 2021-06-01,
and adds support system-assigned Managed Identities in IoT Central.
All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[X] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[X] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[X] I have read the contribution guidelines.
[X] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[X] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[X] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[X] Include updated management metadata.
[X] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

@gansvv There are a few constants deleted from the API, which is a breaking change. We need to bump the version to 4.0.0. Others looks fine. Thanks.

Thanks, I've updated version to 4.0.0. cc @archerzz

@gansvv Pipeline is broken due to test failure. It seems that the test recordings are obsolete. Could you re-record the tests? Thanks.

@gansvv Pipeline is broken due to test failure. It seems that the test recordings are obsolete. Could you re-record the tests? Thanks.

Done. Added to PR.

The codes look good. Please roll back the change in ci.mgmt.yml and packge-lock.json which will have impact on others as well.

Done.

/check-enforcer override

The test actually passes. The failure is due to timeout in macOS node, which should be fixed in pipeline.


Join account domin not always domain Joined

We use domain trusts, so I can use my account to add machines to other domains.
Expected Behavior

I expect my domain account to be used to add the machine to the domain.
Current Behavior

An attempt will me made to use an account of the same username in the domain joined to add the machine to the domain.  This account might not exist.
Possible Solution

Fortunately, the same object with the username and password also has the domain.
Current code:
$IdJoinDomainElement = $identificationElement.AppendChild($unattendXml.CreateElement('JoinDomain', 'urn:schemas-microsoft-com:unattend'))

$Null = $IdJoinDomainElement.AppendChild($unattendXml.CreateTextNode($domain))

Proposed code:
$IdJoinDomainElement = $identificationElement.AppendChild($unattendXml.CreateElement('JoinDomain', 'urn:schemas-microsoft-com:unattend'))

$Null = $IdJoinDomainElement.AppendChild($unattendXml.CreateTextNode($JoinAccount.GetNetworkCredential().Domain))

Steps to Reproduce (for bugs)

Context

I've only tested in one domain and it's fine.  I have not tried to join a machine to a different domain yet, but will eventually do so.
Your Environment

Module version used:
Operating System and PowerShell version:

I see the update.  Thanks.


Ingress controllers should bind to terraform provisioned IPs

Via terraform, bedrock should provision an IP address (with a corresponding dns label), to which an ingress controller will bind to within Kubernetes.

Currently, the dns label is derived from ip address name with a "-dns" suffix that we an make it configurable with a variable.

Current status: istio ingress provisions its own public IP address within the aks resource group, and not the management resource group. Each ingress controller service should be configured with a pre-provisioned IP like so: https://docs.microsoft.com/en-us/azure/aks/static-ip#use-a-static-ip-address-outside-of-the-node-resource-group

Provided guidance via docs.ms.com link


Testing Network Stack / Auto-generation of In-Memory Tor Networks

Haskell-tor explicitly defines its network stack as something that can be plugged in later. Which means that we could, just as easily, create a totally fake network. This would make testing some features a lot easier and more convenient.
The end goal would be to be able to randomly generate (via QuickCheck) a small Tor network, and then be able to define end-to-end properties regarding that network: that when you open a connection to a legit host through a Tor circuit, you get the entire data stream correctly, for example. We could then expand this end-to-end testing as we add features.

Work on this is going on in the 'testing' branch.


Persist drag&dropped ROM files in localStorage

It's not perfect yet, but definitely usable. IMO, it's in a good enough shape to merge into master. What do you think?
Features:

ROMs that are drag&dropped will persist over browser sessions, so they do not need to be drag&dropped again when you want to play your own ROMs and there's no need to edit configuration files. (Unless you want a ROM to be playable by all users that visit the site)
On the front page there is now a separate list for ROMs that have been added for the user.
"Add ROM files" button on the front page that can't be missed. In current master version drag&drop functionality is a bit difficult to discover.
Persisted ROMs can be deleted.

Some things to add later:

[ ] Delete button is not properly centered when editing persisted ROMs. It's a couple of pixels off, but I am not sure how to fix this idiomatically with reactstrap. I could do a position: relative type of hack but that's probably not good, right?
[ ] Indicate how much localStorage space is left
[ ] Ability to delete all localStorage-persisted roms at once
[ ] Disallow adding files that are not NES roms
[ ] Disallow NES roms that match the hash of previously uploaded roms, preventing duplicates
[ ] Ability to edit the names of the added ROMs
[ ] Allow zipped NES roms, and automatically zip all non-zipped roms to save space in localStorage
[ ] Expand drag&drop area to the whole window
[ ] Animate adding and deleting ROMs from/to the library
[x] Display ROM title on RunPage when playing a persisted game Done
[ ] General library management functions: play count, ROM list ordering by different criteria etc.

Awesome. Just taken a proper look and it all works great. As you say, some room for refactoring, but we can defer that to the future.
I pushed up a few UI improvements:

Made this feel more like a history of what you've played, rather than a library of stuff. That makes the information hierarchy much simpler.
Used a simple "X" to delete ROMs instead of the modal interface.
Redirect straight to the ROM when you upload it. Fits better with the history model, and let's you get straight to playing. :)

Thanks for your help!


Puml files don’t get rendered anymore

Here’s a simple puml file that doesn’t render.
I’m on iPadOS 18.1
/'
Test
'/
@startuml test
start
:Test;
@enduml

Here’s a simple puml file that doesn’t render.
I’m on iPadOS 18.1
/'
Test
'/
@startuml test
start
:Test;
@enduml

Hi @Pytheas01 thanks for feedback i'll check asap

Hi @Pytheas01  the app add automatically  @startuml and @enduml markers so you have write simply
/'
Test
'/

start
:Test;

Hi @Pytheas01

Could you share some screenshots concerning problem ?
Could I add you as my beta tester with TestFlight so you can get the last version and I can understand better the problem  ?


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In 32bc2e5, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 12899 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in c4415f2 after 4 minutes.


[Bug]: iam_policy_allows_privilege_escalation is raising false positives

Steps to Reproduce
When looking at the scan results for "Ensure no Customer Managed IAM policies allow actions that may lead into Privilege Escalation" it look like we are getting bad results for it now using Prowler version 3.8.2.
If I run a scan on an AWS IAM policy defined with the below json I get the failure -
Custom Policy arn:aws:iam::xxxxxxxxxxx:policy/app-user-policy-hertzcp-pprd allows privilege escalation using the following actions: {'iam:CreateAccessKey'}
The below is the AWS IAM policy json that it scanned and as you can see the policy does not have 'iam:CreateAccessKey' within it :
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "",
            "Effect": "Allow",
            "Action": [
                "es:List*",
                "es:Get*",
                "es:Describe*"
            ],
            "Resource": "*"
        },
        {
            "Sid": "",
            "Effect": "Allow",
            "Action": "es:*",
            "Resource": "arn:aws:es:us-west-2:xxxxxxxxxxxx:domain/g-clients-infra-pprd/*"
        }
    ]
}

When I used prowler version 3.4.1 it did not find/report on the above issue.
Also -
Prowler version 3.8.2 now reports the below policy as passing for "Ensure no Customer Managed IAM policies allow actions that may lead into Privilege Escalation"  :
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "",
            "Effect": "Allow",
            "Action": "sts:AssumeRole",
            "Resource": "arn:aws:iam::*:role/xena-role"
        }
    ]
}

When a scan using prowler version 3.4.1 was run the above policy was reported as a failure for "Ensure no Customer Managed IAM policies allow actions that may lead into Privilege Escalation".
I would believe that this policy should still be reported as a failure and that Prowler version 3.8.2 has issues.
Expected behavior
The first policy should pass and the second policy should fail.
Actual Result with Screenshots or Logs
prowler-output-741743798098-20230823103540.csv
How did you install Prowler?
From pip package (pip install prowler)
Environment Resource
EKS and ran the scan locally
OS used
MacOS
Prowler version
3.8.2
Pip version
21.1.3
Context
No response

Thanks for reporting it @ernievd, I'll take a look and this and let you know once I've a fix.

The above PR is the fix ⬆

When do you think a new major release will be created with this fix?

I think tomorrow maybe.

I see that it did not make it into the latest release from today - 3.9.0


"busybox"doesn't work on non-ARM CPUs

https://github.com/android-dtf/dtf/commit/3d8d24744599360360b57830a8d324399ff1832d


Add support for import()

VSCode: 1.12.1
I'm using Webpack 2 import() to dynamically load a scss file like this:
import("./styles/main.scss");

VSCode throws the following error:

severity: 'Error'
message: 'Declaration or statement expected.'
at: '1,1'
source: 'js'

Is there any way to suppress this error?

We are tracking this issue upstream: https://github.com/Microsoft/TypeScript/issues/14495
You cannot suppress that individual warning but you can suppress all error checking by setting "javascript.validate.enable": false if this error is getting in the way
Closing as upstream


Feature: Kubernetes-Compatible Resource Schema and API

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
For starters nanocl should be able to consume existing k8s yaml schemas for resources without need for external tool. In the long term, achieving feature parity with k8s will significantly ease adoption. This extends to API as well, it should have same response/request models as k8s. This would allow nanocl to take advantage of existing tools like ArgoCD, OPA and many more.
Describe alternatives you've considered
Alternative to natively supporting processing k8s compatible schemas would be to have some converter tool, which makes migration much more complex process.
Additional context
K8s has incredibly rich ecosystem, nanocl being compatible with them would be huge benefit for the project.

Hey @dtsulik, thanks for you interest in the project !
The main idea behind nanocl is to be a developer tools first and make things simpler than kubernetes.
This is why we don't have the same spec.
Currently maintaining 2 specs will be huge work as i'm alone.
I'll keep the issue open, if the community chooses to follow the kubernetes API, we will, as nanocl is also a community tool.
But i'll prefer to see a rewrite of argoCD for nanocl to be honest, with his virtual machine capability it shouldn't be a big deal.
I wanted to make something similar as github workflows but that run on nanocl.

I agree with @dtsulik to keep the same spec if we want nanocl adoption.

I think converter tool is the best agreement, but maintain it could be a mess so should be done by someone using k8s and nanocl regularly

This does not have to be a direct implementation, but a separate opt-in component that and does translations for kubernetes API objects to the nanocl API objects.


Does not work on Galaxy S21 FE

That is android 12.

Please try https://github.com/mimi89999/Network

Yes, it works, thanks.

Works for android 13 too with one UI 5.0.


Fix NPE for EqualsAlwaysReturnsTrueOrFalse

Fixes an exception that occurs when the equals method contains no
dedicated return expression.
Closes #2103

Codecov Report

Merging #2124 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #2124   +/-   ##
=========================================
  Coverage     80.62%   80.62%
- Complexity     2015     2017    +2
=========================================
  Files           336      336
  Lines          5802     5802
  Branches       1057     1058    +1
=========================================
  Hits           4678     4678
  Misses          563      563
  Partials        561      561

Impacted Files
Coverage Δ
Complexity Δ

...etekt/rules/bugs/EqualsAlwaysReturnsTrueOrFalse.kt
84.21% <100%> (ø)
14 <0> (+2)
:arrow_up:

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 58b6f2e...5dd88d3. Read the comment docs.


error with ppcaEmbed.m

I try to run the demo function demOilFgplvm1.m. However it throws the following error:
Error using  *
Inner matrix dimensions must agree.
Error in ppcaEmbed (line 50)
X = Ycentre_u(:, 1:dims)_diag(1./sqrt(v(1:dims)));
Error in fgplvmCreate (line 30)
X = initFunc(Y, q);
Error in demOilFgplvm1 (line 21)
model = fgplvmCreate(latentDim, d, Y, options);
The error comes from the function /mltools/ppcaEmbed.m. It shows that Ycentre has dimension 1000x12, u has dim 1000x2 and diag(1./sqrt(v(1:dims))) has dim 2x2; therefore these dimensions do not match. Can you explain this?
My Matlab version is R2015a.

Ahh, I see. Matlab should call the ppcaEmbed function in the netlab package instead. The readme file should be updated to inform users that Netlab is still needed.

You're right, you're not the only one that has been confused by that. I've created a pull request, thanks for the comment.

@TuBui  Hi,is there the ppcaEmbed function in the netlab package? I can't find it.

@buaaCCJ ppcaEmbed is in GPmat: https://github.com/SheffieldML/GPmat/blob/master/mltools/ppcaEmbed.m


TextField does not stop key event propagation to parent/window event handlers

Typing a key into a TextField will continue to propagate the key event to any parent composables using onKeyEvent or the window onKeyEvent, as far as I can tell. An example can be found here. The documentation for Window()'s onKeyEvent parameter seems to suggest that individual UI elements can consume key events before it reaches the window-level handler and it is explicitly stated in Modifier.onKeyEvent(), but this doesn't work for TextField input (and others as well, although TextField is the only one I've seen it with).
For my specific use case, I'd like to capture space key events anywhere in the application to play/pause audio, but only if the user doesn't have a TextField focused. I haven't been able to find a way to do this with either of these methods - composable or window-based - since it's a terrible experience to play/pause audio if the user adds a space to a text field.

Not very friendly indeed

individual UI elements can consume key events before it reaches the window-level handler and it is explicitly stated in Modifier.onKeyEvent()

In your example, there is no Modifier.onKeyEvent { true } declared for the TextFields.
TextField(
     modifier = Modifier.onKeyEvent { true },
     ....

If it's declared, the input events do not propagate up.
Does it help when you try it?

Sorry for the very late response - yes, adding onKeyEvent { true } does seem to fix the problem. I'm not sure why I was returning false in the example I linked. So this is a workaround, but it seems like it should be the default behavior for TextFields to avoid requiring this in every text field.
The logic appears to be coming from TextFieldKeyInput which for example seems to only consume KeyDown events (although many KeyDown events from typing still make it to my global key event handler).

The .onKeyEvent { true } works but prevents the Tab key to switch to the next input.
.onKeyEvent { it.key != Key.Tab } may do the trick.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Acorn parser options (ecmaVersion)

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
It's impossible to provide options for Acorn parser.
What is the expected behavior?
Being able to provide options for Acorn parser.
If this is a feature request, what is motivation or use case for changing the behavior?
I want to provide ecmaVersion: 9 option to support object spread props, which is now supported out of the box on node and latest browsers...
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
node 9.5.0
webpack 3.11.0

Upgrate to webpack 4, which supports ES2018.

Thanks, spread props no longer throw after upgrading to v4. Closing the issue, because it solved my problem.
However the ability to provide these options could be useful in other cases, so it should be taken into consideration...

Hm, compilation is around 100ms slower, which I can live with, but sources are wrapped in inline eval ...  I quess this is configurable with devtool? I want sources exactly the same as the original, just glued together ... don't you have a quick tip for the config?


Add Sleep Before Metadata Extraction

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

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

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

Description of your issue, suggested solution and other information
I am attempting to download an entire organization's videos for them from vimeo, which requires downloading the original quality video. In order to get the link for the original quality video, youtube-dl has to get the JSON metadata. JSON metadata on vimeo appears to be rate limited to something on the order of once per 5 seconds or so. This means if I were to resume the download of all the videos, when it is going through all the ones that it has already downloaded it will break the rate limit for the JSON metadata, preventing me from getting any original videos. --sleep-interval and --max-sleep-interval work for preventing rate limiting on downloads, but there needs to be a sleep that occurs before metadata extraction, so even when youtube-dl goes through all the videos that it has already gotten, it can be spaced out to comply with rate-limiting.

FWIW, I had the same issue with Pluralsight.

Download new content with subs and sleep, no issue.
Attempt to resume a partial course. Because some files already exist, youtube-dl skips and requests metadata with only a few seconds timeout between requests. A few dozen of those and I was getting HTTP 403 errors and a captcha when logging to web site.
Wait a few days, try again. I no longer resume a partial download anymore, simply delete the whole thing and restart to ensure proper sleep. No issues whatsoever since.

Providing concrete logs of this would put my account at risk, but it's very likely the lack of a metadata sleep that caused it.
(PS I was using --embed-subs which fails if .srt timestamps are outside the video duration. Fixed by using --ignore-errors from now to keep going)

sleep should take BEFORE any connections made. Because in some cases the server responds to 403 during metadata extraction. Getting the issue with the following
 youtube-dl  --sleep-interval 10 https://www.sonyliv.com/details/episodes/6022124397001/Ep.-92---Viraj-With-A-Plan---Ladies-Special---3-April-2019


release v0.13.0

Description

Related issues

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update (this needs a follow up PR)

Changes Made

update dependencies
#434
#435
#447
#449
#452
#453
#455
#456
#457
#458
#474
#475
#481
#482
#483
#484
#486
#493
#495
#496
#499
#522
#528
#529
#533
#543
#544
#559
#560
#573
#621
#623
#624
#627
#653
#655
#656
#661
#666
#669
#672
#674
#685
#696
#715
#728

Testing

[x] Unit Tests
[x] Integration Tests

Mentions

All look good to me, but for the PRs https://github.com/CSCfi/metadata-submitter-frontend/pull/434 and https://github.com/CSCfi/metadata-submitter-frontend/pull/435 I think they already exist in v0.11.0 ?

All look good to me, but for the PRs #434 and #435 I think they already exist in v0.11.0 ?

might be true, I will adjust


Add types to requirement classes

Part of #7782
I stopped adding safe navigation operators (&.) and type assertions (T.must) and started using the escape hatch (T.unsafe). Mainly because I am unsure what the expected behaviour is supposed to be in. My main goal with this project is to get as much as possible to as high a type checking level as possible. T.unsafe can be dealt with at a later date when attempting to get to strong.

Nice, we just had a bug yesterday that types could have caught: https://github.com/dependabot/dependabot-core/pull/8037

Will split this into smaller PRs


Kenito profiler: UT failure after enable PTI (TestAutograd::test_profiler)

🐛 Describe the bug
2024-08-08T06:02:04.0982790Z =================================== FAILURES ===================================
2024-08-08T06:02:04.0985298Z __________________________ TestAutograd.test_profiler __________________________
2024-08-08T06:02:04.0985755Z Traceback (most recent call last):
2024-08-08T06:02:04.0986502Z   File "/home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_autograd.py", line 4603, in test_profiler
2024-08-08T06:02:04.0987176Z     with profile(use_kineto=kineto_available()) as p:
2024-08-08T06:02:04.0987850Z   File "/home/sdp/miniforge3/envs/xpu_op_0/lib/python3.10/site-packages/torch/autograd/profiler.py", line 315, in __enter__
2024-08-08T06:02:04.0988397Z     self._prepare_trace()
2024-08-08T06:02:04.0988976Z   File "/home/sdp/miniforge3/envs/xpu_op_0/lib/python3.10/site-packages/torch/autograd/profiler.py", line 322, in _prepare_trace
2024-08-08T06:02:04.0989570Z     _prepare_profiler(self.config(), self.kineto_activities)
2024-08-08T06:02:04.0990166Z RuntimeError: Fail to enable Kineto Profiler on XPU due to error code: 200
2024-08-08T06:02:04.0990450Z
2024-08-08T06:02:04.0990618Z To execute this test, run the following from the base repo dir:
2024-08-08T06:02:04.0992197Z     PYTORCH_TEST_WITH_SLOW=1 python test/test_autograd.py TestAutograd.test_profiler
2024-08-08T06:02:04.0992562Z
2024-08-08T06:02:04.0992791Z This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
2024-08-08T06:02:04.0993420Z =========================== short test summary info ============================
2024-08-08T06:02:04.0996133Z FAILED test_autograd_xpu.py::TestAutograd::test_profiler - RuntimeError: Fail to enable Kineto Profiler on XPU due to error code: 200

Versions
Latest PyTorch

Should assign to Zejun, but he is not the member of the project so far.

TestAutograd::test_profiler failure：AttributeError: module 'torch.xpu' has no attribute 'profiler。


Flakey tests with realHover

I am running a suite of tests on a navigation menu, where hovering over a main menu item shows a submenu. There are 42 test cases in total.
However, each time I run through the suite of tests there are 4 to 8 tests failing, as realHover did not trigger the submenu to be displayed. It is different tests (submenu items) failing each time, so not an issue with the menu, and it any case the same menu items are passing for other tests.
I have updated to the latest 1.8.1 release (and Cypress 12.12.0) and tried setting different positions in the options, but it is still not reliably triggering 100%.
Looking through the Cypress events the get I use is working correctly, as when viewing the history the menu item to hover over is highlighted.
Is this something I am missing? Or could it be related to the lack of actionability waits (#270)?

Please provide a reproduction of such a flaky tests and I can take a look


Binwalk supports Python 3.6+.

···Processing dependencies for binwalk==2.2.1
Finished processing dependencies for binwalk==2.2.1···

Ehh

Can you explain


no support for service account

FileNotFoundError: [Errno 2] No such file or directory: 'credentials.json'
No option to use service account file, or to specify its location.

it is already there, please follow this: https://github.com/ab-anand/ZDrive#initial-setup


SSR + SEO: render on server but defer client loading

I'm trying to optimize my loading strategy. My number one concern is SEO. I want server side rendering, but I also want the end user to have a smart incremental loading experience.
I was wondering if it would be possible to have a mode that renders on the server, but defers client side loading. This way, you could have something on screen, and available to the Google bot, that wasn't interactive yet. A LoadingComponent in this scenario could be designed as a transparent overlay, to be hidden once client side loading completes.

I think the problem is react doesn't allow you to skip rendering subtrees and no-one could come up with a hack yet that would skip checksum checking and skip subtree rendering. So if you render in server and in if you lack JS for subcomponent in the client side, you cannot render your App at all. If you do, your server rendered subcomponent would be replaced with a placeholder (such as Loading component). If you really want to do it, you cannot stick to having a single root App for your whole application. You must have multiple roots and then you can load/mount them separately.
That won't allow you to have deep incremental component loading with full SSR. However that probably doesn't make much sense anyway.

@mschipperheyn @anilanar
I followed this thread here and here is one possible solution implementing LoadingComponent:
class LoadingComponent extends Component {
    shouldComponentUpdate() {
        return false;
    }
    getExistingHtml(selector) {
        if (typeof document === 'undefined') {
            return null;
        }
        const node = document.querySelector(selector);
        return (node && node.innerHTML) ? node.innerHTML : `Error: Element with ${selector} not found`;
    }
    render() {
        const selector = this.props.asyncLoading;
        const html = this.getExistingHtml(selector);
        return
;

    }
}

const Header = asyncComponent({
    resolve: () => import('path/to/header' /* webpackChunkName:"deferred" */),
    LoadingComponent
});

*Rendering*

Downside is your are rendering 2x on the client and in dev you get a mismatch error, but you save bandwidth / parse / execute of the bundle which is very significant performance gain for our use case and worth it.


Set therubyracer as a development dependency

Execjs should handle the presence of a Javascript runtime, whether it's Node, therubyracer, or something else. Specifically requiring this dependency unnecessarily makes this gem heavier

@zachahn That sounds right to me. Thank you!
@jonkessler, do you have any thoughts?

Fair point. 👍

@zachahn I went ahead and released 1.0.1 with your fix included. Thank you for contributing!

Awesome, thanks all!


AIS is now taken quite long, even if decoder state is precomputed

This is fixed now. I'll go ahead and close this!


Tokens returned by Prism.tokenize() may have content which is an Array

Example: "class MyClass {}" in "java" syntax
Such a case is handled by assuming that the array will always contain one element (this assumption is simply based on observations. A more thorough understanding will require looking to Prismjs code)
Fix for issue https://github.com/SamyPesse/draft-js-prism/issues/10

Hey, I've taken over this repo from Samy. Are you still interested in moving this PR forward? If so, how does it compare to #17 and #18?

I decided to merge #17, since it solves the issue really well. Thanks for taking the time to contribute to this module!


Pre-populate the Date field of the New-PodeWebDateTime element in Form

I was trying to pre-populate the Date field of the New-PodeWebDateTime element in a form with the current date.  I tried using the -DisplayDate (string) parameter but that didn't seem to do anything and I can't seem to find any explanation anywhere about what that parameter is supposed to do.
Am I missing something easy?

The -DefaultDate and -DefaultTime allow you to change the label value (ie: from Date: to something else).
There isn't a way to specify a default date/time currently, but I can have a look at implementing it!


Disable gold rain on x00 levels when nothing is gained

On x00 levels when wormholes are still remaining, the gold rains are wasted in bulk since the autoclicker has been disabled at the same time. This change attempts to correct this waste by not using gold rain whenever the clicker is disabled.

Problem is gold rain and wormhole share the same timer. With this it will not use gold rain until after all wormholes are used up, by then gold is pretty useless.

Is it any better now, where you see the gold rain ticking down without anyone gaining from it (unless they click manually)? If you have an idea for a better way to handle the problem - I will freely admit that my suggested change was a very quick first attempt.

An alternative would be to disable gold rain on x00 levels completely...

I think it may be a good idea to leave it in for one reason: there are a few scripts that nuke bosses unless theres gold rain active. While the people using the script don't directly benefit from the gold rain, it does help indirectly by preventing at least those scripts from nuking.

Gonna leave it in, gold rain doesn't really help us anymore but it does help at least delay other scripts and randoms from nuking.


Create translation for Brazilian Portuguese (pt_BR)

Hello,
This project is awesome and a want help with a translation for brazilian portuguese, soon I'll send a PR with a translation.
Cheers.

That's great! Looking forward to it!

Created PR :)

Thanks, great job! Merged!


remove a call to process-message

process-message needs to be refactored away: it just makes a call to another function.

Also: check stringify

This now corresponds to https://github.com/Clojure-Intro-Course/babel/issues/40 in the migration repository.


"Fatal crash": Looking for solutions

Description
Reproduction Steps
Add more steps as nessecary.

Make sure that all mods listed below are activated
Load game
Crashes around 5-6 mins in when the section "Sunny Properties"

Mod List
73 active mods

TM:PE xx.xx
81 tiles
Achieve it!
Advanced Stop Selection
Advanced Vehicle Options 1.8.5
Airport roads 1.3.7
Ambient Sounds Tuner
Cargo hold fix
Cinematic camera
Control building level up
CSL Show more limits
Decal prop fix
Dynamic Resolution
Extra Landscaping tools
Extra train station tracks
findit! 1.55.4
fine road anarchy 1.3.5
fine road tool 1.3.7
forest brush
garbage bin controller
improved public transport 2
Japanese localization RD (for road names)
kaguki jp ambiance pack
konnos Japanese sounds
less steam
loading screen mod
more network stuff
move it 2.4.1
network extensions 2
network skins 2
network tiling
no abandonment
no death care
no fires
no radioactive desert and more!
No seagulls
one way train tracks
plop the growables
ploppable asphalt
ploppable rico
prefab hook
procedural objects 1.5.5
prop and tree anarchy
prop it up! 1.4.4
prop line tool
prop precision 1.0.1
prop snapping
prop unlimiter
quay anarchy
railway replacer
realistic walking speed
remove dirt (tree related)
remove need for pipes
removes street arrows
service vehicle selector 2
shadow strength adjuster
single train track ai
spawn points fix
surface painter
theme decals
tram station track
transparency LOD fix + Cloud Assets enabler
transport line rendering fix
tree movement control
tree snapping
ultimate eye candy
ultimate level of detail
unlimited money
unlimited trees mod
unlimited outside connections
unlock all
WG citizen life cycle rebalance

Output Log

error.log.txt
Additional Info
Though my memory spikes to 96%... my ram capacity has never been an issue in the past. My computer has 16 gigs of ram and a GTX 960 graphics card.

It looks like you've shared error.log; we need the output_log.txt instead
See: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/wiki/Share-your-Cities-Skylines-log-file

Initialize engine version: 5.6.7f1 (e80cc3114ac1)
GfxDevice: creating device client; threaded=1
Direct3D:
Version:  Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 960 (ID=0x1401)
Vendor:   NVIDIA
VRAM:     2016 MB
Driver:   <IP_ADDRESS>59
Begin MonoManager ReloadAssembly
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.UI.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.UI.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.Networking.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ColossalManaged.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ColossalManaged.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICSharpCode.SharpZipLib.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICSharpCode.SharpZipLib.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICities.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICities.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\PopsApiWrapper.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\PopsApiWrapper.dll into Unity Child Domain

Completed reload, in  0.034 seconds
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\System.dll (this message is harmless)
 Initializing input.

 Input initialized.
desktop: 1920x1080 60Hz; virtual: 3200x1080 at 0,0
 Initialized touch support.
UnloadTime: 0.880051 ms
Game mode
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.261557 ms
Machine ID: 15c298cb78917409bb9964cc446525b360aa1f30
Model: MS-7922 (MSI)
OS: Windows 10  (10.0.0) 64bit
Language: English
CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 core(s))
System Memory: 16332
Gfx Device: NVIDIA GeForce GTX 960
Gfx Version: Direct3D 11.0 [level 11.1]
Gfx Memory: 2016
Gfx Shader Model: 50
Game Version: 1.12.1-f2-steam-win
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
API: Steam Type: Steam
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Setting initial resolution to 1920 1080 True  [Core]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Setting vsync to 2  [Core]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Raw Command Line: E:\Games\steamapps\common\Cities_Skylines\Cities.exe
Arguments: E:\Games\steamapps\common\Cities_Skylines\Cities.exe
[CommandLine - Internal]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Can you just drag the output_log.txt file on to the comment text box below - it will upload it as a file, rather than paste it.

output_log.txt

by chance, is there any way that I can fix it?
On Fri, Jun 7, 2019 at 5:03 AM Aubergine<EMAIL_ADDRESS>wrote:

Reopened #356
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356
.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYBIRW336WSI54EGFJLPZJFAJA5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR3QF73A#event-2397069292,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYFYDPV2FKDEC3UH6PSOTPZJFAJANCNFSM4HVWFLGA
.

I would try to increase page file (from your error log - only 47GB ~150MB free) because it looks like it's too low for your set of subscribed assets. Extend it up to e.g. 55-60GB and try again.

I will try it out

Ok, so it's crashing during the loading process (specifically near the end while mods are initialising).
It's not a TM:PE error, but let's see if we can get this fixed anyway...
The following assets are causing errors in the log (unlikely to cause the crash, but might as well unsubscribe them):

Culvert
HSBC Tower
Hiraya_00

These are breaking due to missing required items (I suggest unsubscribe them for now, until the crash bug is resolved):

Glass Cube Metro Station - requires Metro Overhaul Mod
Beijing Inner City Wall Accessories - requires invisible paths and draggable wall

There are issues with the following mods:

Control Building Level Up - this mod is obsolete and game breaking; is the "Historic building" option (on building info panels) in the base game instead
Prop Unlimiter (asset id: 886603352) - no longer in workshop, was game breaking; unsubscribe
Remove Dirt - obsolete; use Hide It instead
Advanced Toolbar - incompatible with some of the other mods you use, use Resize It instead

I also noticed you have two versions of Network Skins installed. I would suggest using the older one for now, as Network Skins 2 has some crash bugs (its still in beta). Note also that Network Skins 2 won't be compatible with the Road Options (Color Changer++) mod.

So I tried it again and I got another crash. I did all of the changes except 1 which is related to (asset id: 886603352) I looked through my game and I couldnt find it. Is there by chance a way to locate and manually remove the file?
output_log.txt

The 886603352 mod will appear as something like "Prop Unlimiter" in Main Menu > Content Manager > Mods.
On disk it is likely living in: E:\Games\steamapps\workshop\content\255710\886603352 folder.
Try removing that first (ideally via Content Manager > Mods screen) and see if that fixes it.
If that doesn't fix it:

Try disabling any graphics enhancement mods (things like Ultimate Eye Candy, Relight, Softer Shadows, etc).
Make sure your graphics card drivers are up to date (download latest versions direct from Nvidia website)
Try forcing DirectX 9 using the -force-d3d9 launch parameter

If it's still not working after all that, then it's most likely that you're just running out of RAM due to all those workshop assets. Unsubscribe any you don't use; you can see your subscribed assets in Steam Workshop: Go to the Workshop tab, on the right where it says "Your files" choose "Subscribed Items" from the drop-down list, then you see everything you've subscribed in there and can unsubscribe any you don't use.
Note: Don't unsubscribe any roads or tracks (or any mods that add roads/tracks) as that will also break game loading (see How to remove workshop networks for correct procedure; but you need to be able to load your save game to do it).

So ive updated my drivers to the latest version and i have removed the prop unlimiiter mod.
I haven't removed my graphics mods just yet. But id id get another crash.
output_log.txt
1 of the crashes crashed my entire system and I unfortunately didnt get an output log for that one.
2 other crashes before this one didnt give me out put logs.

Ok, try adding the --noWorkshop launch option; while present, it will disable all your assets and mods essentially returning game to vanilla state. If it still crashes, for example when starting a new game on new map, that would rule out all the workshop stuff and indicate that the game itself is causing the problem in which case you'll need to submit a bug report to Paradox (more details here).
I noticed you've moved the game to drive E: - when did you make that change? Did these crashes start after doing that? If so, it's likely you used wrong procedure to move game to that drive, see: How to move the game to a different disk drive.

So once I put in the start process for --noworkshop the game opened and I was able to load into a new map.
When I started to run the game again with the no workshop setting off it crashed.
output_log.txt
About the E: drive The game has been on my E: drive ever since I originally downloaded it. So I dont think that is the factor behind my computer's stalling crashes.

That most recent log shows you are running out  of memory:
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 4194320!
Crash!!!

You need to unsubscribe workshop assets / skip vanilla assets / buy more RAM, or a combination of those things. Otherwise the game will just keep crashing when it runs out of memory.

Hmm... I see. Well I have been considering in upgrading my computer as of recent so I suppose that the time to upgrade has come.  Thanks for the help.

How big is your page file now, I'm just curious?
As far as I know game will try to use that virtual memory when system is low on RAM, always...
Games and other programs are designed to use page file when running low on RAM available or loaded objects are not frequently used(like game assets).
I've never had a problem loading savegame. I have 16GB and I could load savegame with 2k-2.5k assets enabled( >60GB in-memory) without problems and even with running debugger which took around 2-3GB RAM.
If your page file is too small, the game will crash to desktop without any notification and that's clear sign that your page file is too small to load game with current amount of game assets.

Whats a good size recommendation for page file right now mine is set to
system preference
On Sat, Jun 8, 2019 at 4:02 PM Krzysztof<EMAIL_ADDRESS>wrote:

How big is your page file now, I'm just curious?
As far as I know game will try to use that virtual memory when system is
low on RAM, always...
Games and other programs are designed to use page file when running low on
RAM available or loaded objects are not frequently used(like game assets).
I've never had a problem loading savegame. I have 16GB and I could load
savegame with 2k-2.5k assets enabled( >60GB in-memory) without problems and
even with running debugger which took around 2-3GB RAM.
If your page file is too small, the game will crash to desktop without any
notification and that's clear sign that your page file is too small to load
game with current amount of game assets.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYEYY2FN43MNTPDDNX3PZQ3BBA5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIAH4A#issuecomment-500171760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYFYEK6MZQ3ODSBQKOYK3PZQ3BBANCNFSM4HVWFLGA
.

Depends on how many workshop assets you have subscribed. Sometimes <20GB would be enough but I've had a chance to load savegames where having 60GB wasn't enough to load game without crash. If you use 'system preference' please check if you have free disk space available because system will grab that free space for page file to increase it's size if necessary.

I checked the limits of my page file turnes out that my C: drive was
running out of memory when loading  the game. So I added a new page file to
my E: drive which has more space open and I got the game to run normally
again so I can say with relief that the problem has been solved.
On Mon, Jun 10, 2019 at 6:59 AM Krzysztof<EMAIL_ADDRESS>wrote:

Depends on how many workshop assets you have subscribed. Sometimes <20GB
would be enough but I've had a chance to load savegames where having 60GB
wasn't enough to load game without crash. If you use 'system preference'
please check if you have free disk space available because system will grab
that free space for page file to increase it's size if necessary.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYCCGRP3FTEFPIOGWU3PZZM35A5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJ6QBY#issuecomment-500426759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYFYCCONHSBZTGDX2ZCXDPZZM35ANCNFSM4HVWFLGA
.


HelpTaskPlugin: Incompatible with Configuration Cache when taskpath is specified

It is incompatible because:
Only scheduled tasks are stored into configuration cache, the specified task follows --task would not be scheduled and won't be part of our stored work graph in most cases.
To get an instance of that task, the plugin tries to reconfigure the project, but task Help is already registered into task container once configuration cache is loaded, it cannot be registered again, which causes failure of the reconfiguration.
Fixes #21056
Signed-off-by: Xin Wang<EMAIL_ADDRESS>
Fixes #?
Context

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Thanks again for your analysis of the issue, and your proposed solution, @scaventz.
We ended up deciding to go ahead and make the help task --task option compatible with configuration cache. See: https://github.com/gradle/gradle/pull/21419


Update documentation

Fixes #79

@killianrochet For checking the documentation build locally you need to install the package and the doc/requirements.txt dependencies. Then you can build the html documentation using make clean & make html. The output will be in the _build subfolder.

@JuliaSprenger I've built your branch locally to create the documentation, and it's nice and clear, I can't see any problems or anything! It brings back memories of when I had to create the documentation ahah !
I think that separating RedCap and eLabFTW was a good idea, even for the documentation.

Nice! Then it's up to you to hit the merge button ;)


Does Creevey support the storiesOf syntax?

I've been trying to get this to work on our project (Storybook 6.3, Angular) and while I can run the Creevey UI, no stories are appearing.
Does Creevey work on storybook files which are defined using storiesOf, as opposed to the export default export const syntax?
We have developed our own DSL to simplify the definition of stories, and it uses storiesOf under the hood.

Hi. Creevey supports storiesOf API. But if it doesn't work, I think the issue in a your DSL, and Creevey doesn't understand it. Creevey transforms source code to be able load it into node js and grab stories meta from storybook api.
I'm going to implement another approach, where Creevey doesn't need to transform source files. I hope, I can make PoC in August.

That's good to know. As of now, I think we won't be able to use the tool, as it seems to be pretty finackey. I attempted to use it with our stories which use "out of the box" @storybook/angular, and it refused to build.
Even this simple example did not build:
import { storiesOf } from '@storybook/angular';

storiesOf('Some thing', module).add('The Story', () => {
  return {
    template: '
Hello world!
'
  };
});

We are using Angular 12 and Storybook 6.3.
If you're able to make a release which doesn't depend on building the story files, but can instead interact with Storybook independently of the source files, that would be terrific! Hot reloads (automatically removing / adding stories as you are using the tool) isn't as important as the ability to catch visual regressions.
You've done fantastic work - If there's any way a newb can help, let me know.

Error output from that very simple example:
[Creevey:3024] INFO => Starting Master Process
Unexpected error while loading D:\rideshark-front-end\rs-frontend\movies\carpool-2.0\cancel-passenger-reservation.movie.ts: ReferenceError: Zone is not defined
Unexpected error while loading D:\rideshark-front-end\rs-frontend\movies\carpool-2.0\share-first-carpool.movie.ts: ReferenceError: Zone is not defined
Unexpected error while loading D:\rideshark-front-end\rs-frontend\movies\carpool-2.0\share-first-carpool.movie.ts: ReferenceError: Zone is not defined
[Creevey:26024] INFO => Starting Worker for chrome

@bryanrideshark, oh looks like my latest stories transformation doesn't work in angular, I'll take a look. Thanks for the report.
And if you are using webpack to build storybook, you can define 'useWebpackToExtractTests' flag in creevey config. It switch to fallback mode for extracting stories meta.