[bugfix/issue-172] fixing health check

A similar PR may already be submitted!
Please search among the pull requests before creating one.
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
For more information, see the CONTRIBUTING guide.
Summary

This PR fixes/implements the following bugs/features

[ ] When an internal condition appears to be failing, the healthcheck returns healthy.

Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output.

Closing issues

Fixes https://github.com/thecodingmachine/gotenberg/issues/172
Checklist

[x] Have you followed the guidelines in our CONTRIBUTING guide?
[x] Have you lint your code locally prior to submission (make lint)?
[ ] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally (make tests)?
[ ] Have you updated the documentation (Markdown files under build > docs > content and then make doc)?
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code

Thank you @Tealsky for this PR :smile:
I'll take a look at it 👍

Thank you @Tealsky for this PR
I'll take a look at it

No problem :) But I want to create a test by using mock, but there isn't any mock package in the project. Is it recommended to use mock or not ? Sorry, I'm still new in the Go world.

Looks good for me 👍 I'm just wondering if we should restart Google Chrome when a probe call the healthcheck endpoint 🤔
Did you taste the behaviour "live"?
Concerning tests, currently it is a bit of a mess, as we are testing each Go files individually. I plan to work on a simple solution for v7.

Looks good for me  I'm just wondering if we should restart Google Chrome when a probe call the healthcheck endpoint
Did you test this behaviour "live"?
Concerning tests, currently it is a bit of a mess, as we are testing each Go files individually. I plan to work on a simple solution for v7.

Yes, I have tested the behavior by killing the Google Chrome process, in the docker container (ps -ef | grep 9222).

And, I'm using Kubernetes to deploy Gotenberg. In that case I can configure a liveness probe that will restart the container if the healthcheck is unhealthy. It's working perfectly.

Concerning the tests, I am a little annoyed to reduce the code coverage :(

Actually my bad, I read your PR too fast: you're just checking that Google Chrome is viable, but you do not try to restart it directly from the the ping handler. Perfect 😄
I've added a minor suggestion, as soon as you update this line I can create a new release 👍

Concerning the tests, I am a little annoyed to reduce the code coverage :(

As v7 code will be drastically different from current version, that's OK 😉

Thank you very much @Tealsky 🎉


[Errno 13] Permission denied: '/opt/tower-venvs/ansible4/lib/python3.6/site-packages/OpenSSL' when installing

Describe the bug
Hello there,
I get this error when I try to install this lib in a dedicated venv.
source bin/activate

which pip
/opt/tower-venvs/ansible4/bin/pip

pip install git+https://github.com/vmware/vsphere-automation-sdk-python.git
Collecting git+https://github.com/vmware/vsphere-automation-sdk-python.git
  Cloning https://github.com/vmware/vsphere-automation-sdk-python.git to /tmp/pip-req-build-1eolr94m
  Running command git clone -q https://github.com/vmware/vsphere-automation-sdk-python.git /tmp/pip-req-build-1eolr94m
Processing //tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/vapi-client-bindings/vapi_client_bindings-3.7.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/vapi-common-client/vapi_common_client-2.30.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/vmc-client-bindings/vmc_client_bindings-1.54.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/nsx-python-sdk/nsx_python_sdk-<IP_ADDRESS>.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-<IP_ADDRESS>.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-<IP_ADDRESS>.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-<IP_ADDRESS>.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-1eolr94m/lib/vmc-draas-client-bindings/vmc_draas_client_bindings-1.18.0-py2.py3-none-any.whl
Collecting lxml>=4.3.0
  Downloading lxml-4.7.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.4 MB)
     |################################| 6.4 MB 427 kB/s
Requirement already satisfied: pyVmomi>=6.7 in ./lib/python3.6/site-packages (from vSphere-Automation-SDK==1.71.0) (7.0.2)
Requirement already satisfied: setuptools in ./lib/python3.6/site-packages (from vapi-client-bindings@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-client-bindings/vapi_client_bindings-3.7.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (57.0.0)
Collecting pyOpenSSL>=18.0.0
  Downloading pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB)
     |################################| 55 kB 445 kB/s
Requirement already satisfied: requests>=2.21.0 in ./lib/python3.6/site-packages (from vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (2.25.1)
Requirement already satisfied: six>=1.12 in ./lib/python3.6/site-packages (from vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (1.16.0)
Requirement already satisfied: cryptography>=3.3 in ./lib/python3.6/site-packages (from pyOpenSSL>=18.0.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (3.4.7)
Requirement already satisfied: cffi>=1.12 in ./lib/python3.6/site-packages (from cryptography>=3.3->pyOpenSSL>=18.0.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (1.14.5)
Requirement already satisfied: pycparser in ./lib/python3.6/site-packages (from cffi>=1.12->cryptography>=3.3->pyOpenSSL>=18.0.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (2.20)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./lib/python3.6/site-packages (from requests>=2.21.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (1.26.5)
Requirement already satisfied: chardet<5,>=3.0.2 in ./lib/python3.6/site-packages (from requests>=2.21.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in ./lib/python3.6/site-packages (from requests>=2.21.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in ./lib/python3.6/site-packages (from requests>=2.21.0->vapi-runtime@ file://localhost//tmp/pip-req-build-1eolr94m/lib/vapi-runtime/vapi_runtime-2.30.0-py2.py3-none-any.whl->vSphere-Automation-SDK==1.71.0) (2021.5.30)
Using legacy 'setup.py install' for vSphere-Automation-SDK, since package 'wheel' is not installed.
Installing collected packages: pyOpenSSL, vapi-runtime, vapi-common-client, vmc-draas-client-bindings, vmc-client-bindings, vapi-client-bindings, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, nsx-python-sdk, nsx-policy-python-sdk, lxml, vSphere-Automation-SDK
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/tower-venvs/ansible4/lib/python3.6/site-packages/OpenSSL'
Check the permissions.

Should I use sudo here?
Thanks for your help !
Reproduction steps
Run the install command from a venv as a non admin user

pip install git+https://github.com/vmware/vsphere-automation-sdk-python.git

### Expected behavior

Lib to be installed without any error

### Additional context

_No response_

I used "sudo" and it's ok.
Weird that the lib needs to update things in "site-packages". Everything should be installed in the venv only.


gtk4-macros: Improve error reporting, add failure tests

The error messages here are quite spammy and fail the whole code generation step for non-fatal errors like duplicate attributes. So let's reduce the error reporting to only emit and then continue on, e.g. just generate an empty clause in the trait so as not to trigger any additional errors. This only works on nightly for now but will "just work" if and when Diagnostic gets stabilized because of proc_macro_error.
@GuillaumeGomez Could this be maybe improved in any way with trybuild2?

I'll take a look tomorrow.

Sadly the improved error reporting only works on nightly, but at least we can get some more unit tests here

For the errors, I can extend trybuild2 to allow substring matching on "normal" tests as well.

May not be necessary, I think compile_fail_check_sub is enough here?

Should be at least.


Configure PolicyPreWebhooks and PolicyPostWebhooks [#97]

Purpose
Add the ability to configure a list webhooks to run before a PrivacyRequest executes (PolicyPreWebhook) and after a PrivacyRequest executes (PolicyPostWebhook).
This just allows you define the configuration - the ability to actually trigger these callbacks will be added in followup #98.
Changes

Added two tables to store webhooks: policyprewebhook and policypostwebhook - this was originally going to be a single table, but because keys need to be unique for an entire table, this could cause unexpected behavior, and I think we should think of them as two separate objects.
Added (2) bulk endpoints to set the list of PolicyPreWebhooks and PolicyPostWebhooks.  Webhooks should be sent in the desired order. Any webhooks not in the request body will be removed.

PUT /policy/{policy_key}/webhook/pre_execution
PUT /policy/{policy_key}/webhook/post_execution

Added (2) PATCH endpoints to update the attributes on a single webhook.  Because an update to order can affect the order of other webhooks, any order changes are included in the response where applicable.

PATCH /policy/{policy_key}/webhook/pre_execution/{pre_webhook_key}
PATCH /policy/{policy_key}/webhook/post_execution/{post_webhook_key}

Added (2) GET List endpoints to view all Pre-Execution or Post-Execution webhooks for a Policy

GET /policy/{policy_key}/webhook/pre_execution
GET /policy/{policy_key}/webhook/post_execution

Added (2) GET Detail endpoints to view a single Pre- or Post-Execution Webhook for a Policy

GET /policy/{policy_key}/webhook/pre_execution/{pre_webhook_key}
GET /policy/{policy_key}/webhook/post_execution/{post_webhook_key}

Added (2) DELETE Detail endpoints to delete a single Pre- or Post-Execution Webhook for a Policy. Note that deleting one webhook can cause other webhooks to have their orders rearranged.  If order is changed, a summary is returned in the response.

DELETE /policy/{policy_key}/webhook/pre_execution/{pre_webhook_key}
DELETE /policy/{policy_key}/webhook/post_execution/{post_webhook_key}

Allow setting secrets on an https ConnectionConfig, by defining the start of an HTTPSConnector.  Unlike other ConnectionConfigs, we don't attempt to test the connection.
Add documentation and postman collections
Split out the logic that commits resources to the db on create and update so we can do this at the end of a lot of adjustments to multiple webhook resources
Dry up code that fetches Policy and ConnectionConfig or throws a 404

Ticket
Resolves #97

thanks for your comments @stevenbenjamin!
I see your point, but in my opinion, it is a more intuitive user experience to treat these resources as entirely separate collections of objects, and manage them independently in the API and the database.   The main driver for this was that webhooks have an order attribute.  An update to a Pre-Execution Webhook's order can potentially adjust the order of other Pre-Execution Webhooks but not Post-Execution webhooks.  The original plan was to have a single endpoint to update both pre and post, but it felt confusing to be updating two distinct groups of resources within one request.  I then moved to having multiple endpoints but still storing the webhooks behind the scenes in a single table.  However, there was still a dependency between the two groups, in that you couldn't create a Pre-Execution webhook that had the same key as a Post-Execution webhook.
So to your point of getting rid of the key constraint entirely,  I still think we should have keys for webhooks, as webhooks are resources that will be reused again and again, where folks might want a human-readable way to refer to them: for example, I could create an  "app_logout_webhook" that logs users out of my mobile app after I've removed all of their other data from my system.   This seems to differ from a PrivacyRequest which is created and used once - it would be cumbersome to require creating a key there each time.
So if Webhooks should have keys, then I'd want them to be consistent with other similar resources in that they are unique keys, because we've created an expectation elsewhere of "this is how a key works".
Finally, addressing the complication of adding webhooks in other places, I really only see one other type of webhook, and that's ones that are integrated into the query traversal, webhooks that are capable of acting like a datasource.  With current architecture that would be achieved by attaching a DatasetConfig to an https ConnectionConfig, without the need for another table.  If architecture changes, adding a third table for the third type of hook doesn't seem to be a big lift.

Re: webhooks structure, I do see your point. I'm not sure that in the long run a human-readable key ("is it "app_logout_web_hook or app-logout-webhook"?) is that much simpler than "001-ADF4-33221....", and it does mean youi end up with weird uniqueness violations where you might not expect them, but it definitely helps with references when you're returning a re-ordered set, so I can see how that pushes the requirement.


Doesn't work well with html plugin

I was working on an app which uses the "@elysiajs/html" plugin, but depending on where I call .use(compression()), my browser would either download a file when I load my route, or it wouldn't apply compression at all.
For example, this code just made my browser download the file
new Elysia()
  .use(compression())
  .use(html())

but this code just never ran the compression
new Elysia()
  .use(html())
  .use(compression())

I am doing some other things in my app, so maybe there is another issue, but my fix was the remove the html() plugin and instead directly set the content-type in my routes so allow compression to be applied.

Will have a look, ty for reporting 👍

Same happened to me a couple of hours ago

Same happened to me a couple of hours ago

Try upgrading to 0.0.4 and see if its still happen 🙏

Same happened to me a couple of hours ago

Try upgrading to 0.0.5 and see if its still happen 🙏

Reinstalled 0.0.5 but same happens. Depending on where I put it, it either doesn't do anything at all, or causes the browser to download a file

Seem like I can't reproduce on my end, can you provide the code snippet for me?

Host: localhost:4000
User-Agent: insomnia/8.1.0
Accept: */*
Content-Type: text/html; charset=utf8
Content-Encoding: deflate
Date: Sat, 30 Sep 2023 06:04:09 GMT
Content-Length: 80

Here's my implementation
import { Elysia } from 'elysia'
import { html } from '@elysiajs/html'
import { compression } from 'elysia-compression'

const app = new Elysia()
  .use(html())
  .use(compression({ type: 'deflate' }))
  .all('/', () => ({ value: 'Hello, World!' }))
  .get(
    '/html',
    () =>
      `

          <title>Hello World</title>

Hello World

      `,
  )
  .listen(4000)

console.log(
  `Elysia is running at http://${app.server?.hostname}:${app.server?.port}`,
)

export type App = typeof app

@Gusb3ll
import { Elysia } from "elysia"
import { swagger } from "@elysiajs/swagger"

import logger from "./plugins/basicLogger"
import successResponseFormatter from "./plugins/successResponseFormatter"

const app = new Elysia()
  .use(logger)
  .use(swagger())
  .use(successResponseFormatter)
  // Simulate a delay of at most one and a half second
  .get("/:id", ({ params: { id } }) => Bun.sleep(Math.random() * 1_500).then(() => ({ id })))
  .all("*", ({ set }) => { set.status = 404; return { success: false, error: "Not found" } })
  .listen(3000)

console.log(`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`)

This is my app. I tried introducing compression at every level, and even commenting out all additional functionality, like plugins.
Maybe it's working for you because you're returning HTML and I'm returning JSON?

Seem like I can't reproduce it somehow even with your snippet, cloud you provide me a repo of the issue?
import { Elysia } from 'elysia'
import { swagger } from '@elysiajs/swagger'
import { compression } from './src'

const app = new Elysia()
  .use(swagger())
  .use(compression())
  .get('/:id', ({ params: { id } }) =>
    Bun.sleep(Math.random() * 1_500).then(() => ({ id })),
  )
  .all('*', ({ set }) => {
    set.status = 404
    return { success: false, error: 'Not found' }
  })
  .listen(3000)

console.log(
  `🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`,
)

The result

Host: localhost:3000
User-Agent: insomnia/8.1.0
Accept: */*
Content-Encoding: gzip
content-type: application/octet-stream
Date: Sun, 01 Oct 2023 03:13:19 GMT
Content-Length: 30

Also swagger is working fine too

Somehow the content-type header is malformed
Host: localhost:3000
User-Agent: insomnia/8.1.0
Accept: */*
Content-Encoding: gzip
content-type: application/octet-stream -> should be application/json
Date: Sun, 01 Oct 2023 03:13:19 GMT
Content-Length: 30

so when you open it in the browser it will download it

The current workaround should be just setting the header explicitly
  .get('/:id', ({ params: { id }, set }) => {
    set.headers['Content-Type'] = 'application/json'
    return Bun.sleep(Math.random() * 1_500).then(() => ({ id }))
  })

and now you can open it in the browser without it being downloaded with the compression applied

#5, please make sure to have compression plugin use after HTML plugin

Should be working on 0.0.6 now

I found it wasn't playing well with the swagger plugin neither, so I chose to implement compression myself https://github.com/BTS-CM/beet_api/blob/main/src/lib/cache.ts#L17 though i'll now need to add a compression flag so swagger can spit out uncompressed data too lol


Remove the unused pyDeprecate dependency

What does this PR do?
See title
Does your PR introduce any breaking changes? If yes, please list them.
None, at least unless users were relying on our installation
Before submitting

[n/a] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @carmocca @akihironitta @borda

Seems it is used in our codebase :innocent:

Void is a no-op. It's not worth the dependency. Removed in https://github.com/Lightning-AI/lightning/pull/14472/commits/c4cdaf776e334b6c513560149a015f50b141a15e


Command "python setup.py egg_info" failed with error code 1

I'm trying to install your package, however I get the following output when running pip install pytube:
Collecting pytube
/Library/Python/2.6/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Using cached pytube-0.4.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "/private/var/folders/g1/xfn1bgkd0vldlqztlpy8cp440000gn/T/pip-build-6qJlVB/pytube/setup.py", line 4, in
from pytube import version
File "pytube/init.py", line 7, in
from .api import YouTube
File "pytube/api.py", line 6, in
from .models import Video
File "pytube/models.py", line 14, in
from pytube.utils import sizeof
File "pytube/utils.py", line 3, in
import argparse
ImportError: No module named argparse
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/g1/xfn1bgkd0vldlqztlpy8cp440000gn/T/pip-build-6qJlVB/pytube
Any idea how to solve this?

pip install argparse
You should use a more up to date version of python - or potentially upgrade your OS X version.


Is there going to be a fix for the iptv removal?

I need the counties & category m3u for the latest iptv.org list.
is this going to be fixed and usable again?
In the mean time, Is there any way you could provide me with the latest
countries & categories m3u list
with the EPG if possible please?
Cheers! ;D

https://github.com/orgs/iptv-org/discussions/12#discussioncomment-5019786

just found that, you beat me to it. Thanks.


Performance problem: Window module causing unnecessary layout reflow

In the Runtime code there is a draw function that checks for Window module and calls resizeIfNeeded if it exists.
function draw()
{
    update(elm.node.firstChild, savedScene, scheduledScene);
    if (elm.Native.Window)
    {
        elm.Native.Window.values.resizeIfNeeded();
    }
    savedScene = scheduledScene;
}

resizeIfNeeded calls  node.clientWidth and node.clientHeight that trigger layout reflow.
Because draw function happens very often, this affects the performance and makes it impossible to use Window module to calculate dimensions in HTML5 games that render on every requestAnimationFrame.

Seems that this is in the project from old times, tracked the resizeIfNeeded call down up until this commit https://github.com/elm-lang/core/commit/1af7914fe8c57d241cdd237c03d9c4c316b1f80a

Below are two timelines of my game, one before, and another one after I deleted resizeIfNeeded call from the draw function.

You can see that the second one is mostly green with the frames painted in less than 20ms.

The question is, why is it there in the first place, and can it be removed?

I guess it can be removed. I do not think elm-lang/window will have this issue.


Update DeviceSegmentedReduce documentation to provide run-to-run guarantee.

DeviceSegmentedReduce reduces each segment using the same kernel as DeviceReduce, and thus provides the same run-to-run consistency guarantee for non-associative types. The documentation for DeviceSegmentedReduce should be updated to reflect this.
E.g. this bit: https://github.com/NVIDIA/cub/blob/a8910accebe74ce043a13026f8e71d678cddd6c1/cub/device/device_reduce.cuh#L91-L95
needs to be added to here: https://github.com/NVIDIA/cub/blob/a8910accebe74ce043a13026f8e71d678cddd6c1/cub/device/device_segmented_reduce.cuh#L72

I would like to work on this issue🙂

Thanks! It's all yours :)


Reconsolidate Airlock design steps

The airlock requires copy/paste of SAS URLs. This means we still have to enable paste into the workspace, and since we can't limit the size of the paste buffer, we have an infiltration risk.
The current design also enforces one-time access to the storage, and the SAS URL expires. It can be more useful to allow permanent R/O access to the import area from the VM for approved requests, so the user can create new VMs and pull the files down locally, instead of having to juggle them on local storage.
Then, instead of the user needing to go to the Storage Explorer with a SAS URL for an approved import, they can use a script (which we will provide) to browse/fetch from that storage area. In it's simplest form, it could take the import request ID and pull down the file. Or, it could be the Storage Explorer, pre-configured to browse the approved import data.
For exports, this could again be a simple script, that uploads the data to a storage area and creates the request automatically.
In both cases, this requires the VM to have a service role, or something, that allows it to access the storage.
This will also require modifications to the UI, to not bother with SAS URLs on the workspace-side of the equation, and to the SDE core, to not expire imported data.
Another bonus here is that this gives us a permanent audit trail of the imported data, and we can archive it with the workspace, if so desired.


Fix flaky tests

There is a few tests that are occasionally failing. We should fix those. (e.g. SubscriptionSpec)

looks fine now


Update Raven version [WIP]

Overview
This PR fixes #222, #145
Changes:

Raven version is now 254

Related Issue / Discussion
To rebuild:
make raven_clean
make raven_dev

Additional Information
Lots of failing tests... need to understand what changed.
Links to other issues or sources.

The PET_OUDIN implementation changed since we found a bug in there. So, all models that use that PET option (in RVI) will give different results.

I've checked and fixed all failing tests except one: In test_emulators.py, there is a test for HMETS_OST where we calibrate HMETS (with fixed seed) and then rerun HMETS with the optimized parameter set. However there is a small difference in NSE, like if there was a difference of 1 day in the simulation, but the tests seem setup correctly. Need to investigate this further.

Fixed, now all passes.

I think we'd better merge this even though the travis build is broken.

I agree, merging.


Add a goto:top button

The button should match the overall styling of the website and it should also have similar animations, please assign it to me and add the hacktoberfest label

The button should match the overall styling of the website and it should also have similar animations, please assign it to me and add the hacktoberfest label

Okay

Okay i've assigned it

Sorry,but your repo has been excluded


Conditional Logic

Any provision for conditional logic.
ie. if boolean checked show a field

Certainly, yes.

Thanks any idea how do i start on this?

sorry I should have elaborated but was on mobile and prematurely pressed "Comment". I meant to say this is certainly in the works but not currently implemented.
If you would like to contribute, the goal is to have conditional logic as one of the field edit panes/tabs and user can select:

the field(s) that triggers the action (should be filterable list)
how the action is trigger (ie. valueEquals, isEmpty, isCompleted, wasClicked etc)
the result/action (showField, hideField, clearField, setFieldValue)

Ok I don't think my skill level is that good. I'll get a freelancer to tweak it and maybe pass it on.


Changing the location of temporary files

Description
atoti stores temporary files under /tmp. Currently, I have  not found any hint on how to change the location of temporary files from /tmp to another directory.

atoti uses the tempfile Python library to generate temporary files. You can change the location at which they are created by setting the TMPDIR environment variable.

I tested and verified that setting TMPDIR works. Thank you. This solves our issue.


Dependabot updates dependency to lower version

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
nuget
Package manager version
Integrated in NET7 SDK
Language version
C# 11
Manifest location and content before the Dependabot update
No response
dependabot.yml content
https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/.github/dependabot.yml
Updated dependency
Oracle.ManagedDataAccess.Core 3.21.100 -> 3.21.41
What you expected to see, versus what you actually saw
Dependabot should not change line
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="3.21.100" Condition="'$(TargetFramework)' != 'netstandard2.0'" /> to
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="3.21.41" Condition="'$(TargetFramework)' != 'netstandard2.0'" />
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/pull/1938
Smallest manifest that reproduces the issue
No response

I had a similar issue. PR, I'm not using a dependabot yml to configure it. In my case this was a PR for npm changes, but it lowered the version of one package from 5.2.9 to 5.1.7


Update Globals “site_data”

Automatically generated by Netlify CMS

👷 Deploy Preview for shimmering-marigold-4f5b4a processing.

Name
Link

🔨 Latest commit
8d064cc060a66a7c837f85221080dd171014f94f

🔍 Latest deploy log
https://app.netlify.com/sites/shimmering-marigold-4f5b4a/deploys/64ff9498db270c0008ffa1c4


Implement Google Sign-out

Description

The user should log out when tapped on the Logout button as shown in the screenshot.
Currently, the user directly gets navigated to the initial screen without getting logged out.

Screenshots

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Private profile: lib/screens/profile/private_profile.dart
Google Firebase Auth: lib/services/auth.dart
Initial Screen: lib/screens/initial_screen.dart
Check for the access token expiry because the user should again login after a certain period of time (Like - a few days after logging in)

Additional data
Google Firebase auth is already setup, you just need to implement google signout.

Hey, I would like to work on this.

Okay, cool @sarthakvaishnav09.
Please make sure to follow the updated guidelines given in the README.

@Mohitmadhav I ran into a new issue while logging in using email and password.
The getter 'uid' was called on null.
Also, the profile tab keeps on loading forever, so I'm not able to reproduce this error. (This happens when I sign up for this first time in the app, later on when I log in with the same email the error of null uid arises)
PS : The google signOut method in auth.dart seems completed already.
What should I do?

@Mohitmadhav I ran into a new issue while logging in using email and password.
The getter 'uid' was called on null.
Also, the profile tab keeps on loading forever, so I'm not able to reproduce this error. (This happens when I sign up for this first time in the app, later on when I log in with the same email the error of null uid arises)
PS : The google signOut method in auth.dart seems completed already.
What should I do?

Yeah @sarthakvaishnav09, I have assigned that issue to someone else.
You just check for google signout.

Also in the file private_profile.dart change the push replacement code because the user is navigating back to the Initial screen. Hope you understood.
So remove the gesture detector, and do sign out inside the onPressed function.


make animated history

Codecov Report

Merging #66 (2428965) into main (0439619) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   94.08%   94.08%
=======================================
  Files          32       32
  Lines        3586     3586
=======================================
  Hits         3374     3374
  Misses        212      212

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 0439619...2428965. Read the comment docs.


tests error

I download the package and run the test. it reports
FAIL: test_comparison_to_nPLS (tests.test_OnPLS.TestOnPLS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/bioguo/Desktop/OnPLS/tests/test_OnPLS.py", line 86, in test_comparison_to_nPLS
    assert(np.linalg.norm(Xhat[0] - np.dot(t, p3.T)) < 5e-14)
AssertionError

I've made the bound slightly less tight. Could you try now? What version of Python are you using, and what OS? I've observed some minor differences coming from random number generation on different systems.

My OS is OSX10.11,python version is 2.7.9

在 2016年9月30日，01:59，Tommy Löfstedt<EMAIL_ADDRESS>写道：
I've made the bound slightly less tight. Could you try now? What version of Python are you using, and what OS? I've observed some minor differences coming from random number generation on different systems.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tomlof/OnPLS/issues/1#issuecomment-250543446, or mute the thread https://github.com/notifications/unsubscribe-auth/AIqsmwt1MnYZbTzxPRU8sxxqzU0sD1c2ks5qu_x1gaJpZM4KKCUo.

Ok, then something is broken. I will see if I can get a hold of a computer with OSX. Or perhaps you could try and see how it breaks?
I have currently only tested it on Windows 7 with Python 2.7.11 and on Ubuntu 14.04 with Python 2.7.6 and Python 3.4.3.
If you have access to another computer you could test on that one for now.
Also, I know there were some issues with the version of Python that was shipped with OSX some years ago. Perhaps that is still an issue? If so, you could try to use the official OSX build of Python.

I've been able to run the tests on OSX 10.8.5 and Python 2.7.5, and they run fine, without any problems.
Have you been able to see if you can figure out why it crashes?
I might be able to run it on Sierra, and will try that approach as soon as I can.

I will try to figure out why it crash in my computer.

在 2016年10月5日，20:34，Tommy Löfstedt<EMAIL_ADDRESS>写道：
crashes

Hi,
Could you send me a simple manual for the program, I will try follow your manual maybe it will help me to figure out why it crashed.Thanks!
Best,
Kai Guo

在 2016年10月5日，20:34，Tommy Löfstedt<EMAIL_ADDRESS>写道：
without

I've added a quick start guide to the Readme file on the package's first page. Perhaps it could help you?

Sure! I will follow the manual, Thanks!


Create Cython.js

Cython is a superset of Python with additional features/abilities for C/C++ programming ( http://cython.org/ ).
I would like to contribute to more "language" files in EnlighterJS. Please feel free to provide feedback so that I can continue to help you (and comply with your coding-standards) with your project.
This "Cython.js" file is a derivative of your "Python.js" file.

Dear DevynCJohnson,
thanks for your contribution. do you have any language testcases which can be used as demo and for verification (.e.g somethink like http://enlighterjs.andidittrich.de/Language.Python.html) ?
best regards, Andi

Yes, I have Cython code that can be used as a small demo. How would you like me to submit the demo code? What format would you like (i.e. Cython code as plain-text, HTML page with code in pre tags, etc.)?
Would it be okay with you if I contribute additional programming languages in the future? Do you have standards/rules as to what languages are acceptable for being supported by EnlighterJS?

All language testcases/examples are located in Resources/TestcaseData/<lang>.html as html snippet (like https://github.com/AndiDittrich/EnlighterJS/blob/master/Resources/TestcaseData/python.html).
They have to contain a simple inline example as well as a complex language testcase including as much as practicable language elements. Please add it as pull request.
Especially basic language elements are important to test the rules and the tokenizer. For example
PHP
/** String's */
echo 'this is a simple string';

echo 'You can also have embedded newlines in
strings this way as it is \'
okay to do'; // Don't you agree

// Outputs: Arnold once said: "I'll be back"
echo 'Arnold once said: "I\'ll be back"';

/** Numbers */

$a = 1234; // decimal number
$a = -123; // a negative number
$a = 0123; // octal number (equivalent to 83 decimal)
$a = 0x1A; // hexadecimal number (equivalent to 26 decimal)
$a = 1.234;
$b = 1.2e3;
$c = 7E-10;

I will add a detailed description/list to the Contribution Guidelines later as well as some standards/rules.
I'm looking forward for any language contribution. Generally language files should be as small as possible (e.g. use regex instead of keywords).
What languages do you plan to contribute ? Maybe i should create a wiki page for organization pupose ?

Okay, I created the demo Cython code. I am more than happy to make any modifications to the demo as you wish.
If it is okay with you, I would like to add

Squirrel
XNA
Basic/Gambas/Visual-Basic
and more

I use EnlighterJS on my website (DCJTech.info), which is a website about computers and programming. Obviously, I see a need for additional language support since I have articles discussing a variety of languages.
I enjoy programming and I love to help with programming projects. Please feel free to tell me if I ever do something wrong in your project. I will not be offended. I want to help while complying with your coding standards and program structure. Feel free to communicate with me using my personal email address (DevynCJohnson@Gmail.com), if that would be more convenient for you.

Sounds great!
I've optimized your cython code: https://github.com/AndiDittrich/EnlighterJS/blob/master/Source/Language/Cython.js
you've only added additional keywords, right ?

Yes, I only added additional keywords. Cython is a subset of Python with additional C-like features.


global database and blogs no longer in the blog list?

i constantly add and remove blogs, mostly when a blog goes offline, with the new global database i was wondering if i save a copy of the _files file and then remove the offline blog and re add the _files does the crawler still look at and consider that content when the connecting blog is no longer acticly part of the blog/crawl list? and if not is there some way to make one large reference list located somewere other then the blogs folder, so the already downloaded blogs info can persist even when a blog is removed, i would think it would also help with redundency, insted of 50 blogs lists with the same content info there would just be one.

All *_files.* from the Download Location (Settings-General) are loaded into memory during startup.
If you add a blog, those files will be added to the in-memory-global database.
If you remove a blog in TumblThree, those files will be removed from the in-memory-global database.
If you put a random _files.tumblr in the Download Location with filenames in the Links array you don't want to download again before starting TumblThree, those filenames will be checked even if there is no corresponding .tumblr in the index folder.


[Feature request] The -o option can only be passed once

First off, thank you for creating this amazing project!
I find the -o option useful, but I wish I could use it to run multiple scripts instead of only one. For example,
wal -R -o reload-dunst.sh -o demonstrate-notifications.sh -o reload-plan9.sh

Why not create a script that calls all of those scripts?
El dom., sept. 2, 2018 10:06 AM, Hugo<EMAIL_ADDRESS>escribió:

First off, thank you for creating this amazing project!
I find the -o option useful, but I wish I could use it to run multiple
scripts instead of only one. For example,
wal -R -o reload-dunst.sh -o demonstrate-notifications.sh -o reload-plan9.sh
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dylanaraps/pywal/issues/295, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKojSRFdtHwJjuMI0ofL36K6nC-4D9Lqks5uXAIcgaJpZM4WWqoy
.

This should be closed. Thanks @roguh.


0.6.3 comping error. (i dont need 0.7.x)

Describe your bug here.

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No.

remove the zoom thing in FlxGame, and use hxCodec 2.5.1

remove the zoom thing in FlxGame, and use hxCodec 2.5.1

What is FlxGame? I don't have such a .hx...

You mean this?

yes

You're the only one who could help me in a week, damn it... Thank you so much, good luck.  Thank you so much, good luck. Bye!! <3

np, and cya <3


Overlord2/mabdeljalil Version 2

The controller code is really nice. You achieved that by making your model big, which is good! (I'd argue your model could probably being broken up more IMO).
One thing I have more strong feelings about is:
https://github.com/msabdeljalil/level_up_exercises/blob/overlord2/mabdeljalil/overlord/app/models/bomb.rb#L12
  def initialize(args)
    @activation_code = activation_check(args[:create_activation_code])
    @deactivation_code = deactivation_check(args[:create_deactivation_code])

You can rename ******_check(arg) to something more intuitive. Maybe default_*****_code(arg) I'm not positive.


vernemq failed to start within 15 seconds

I have a cluster with two nodes , after loadtest ,I stop the node, and when I use " vernemq start " to start the node ,it can not start with the message: " **vernemq failed to start within 15 seconds, see the output of 'vernemq console' for more information. If you want to wait longer, set the environment variable WAIT_FOR_ERLANG to the number of seconds to wait. **"
After that I used “vernemq console”，then show me:
15:57:25.757 [info] Application plumtree started on node<EMAIL_ADDRESS>15:57:25.806 [info] Application jobs started on node<EMAIL_ADDRESS>15:57:25.806 [info] Application asn1 started on node<EMAIL_ADDRESS>15:57:25.807 [info] Application public_key started on node<EMAIL_ADDRESS>15:57:25.839 [info] Application ssl started on node<EMAIL_ADDRESS>15:57:25.877 [info] Application sasl started on node<EMAIL_ADDRESS>15:57:25.893 [info] Application riak_sysmon started on node<EMAIL_ADDRESS>15:57:25.922 [info] Application os_mon started on node<EMAIL_ADDRESS>15:57:25.923 [info] Application cowlib started on node<EMAIL_ADDRESS>15:57:25.942 [info] Application ranch started on node<EMAIL_ADDRESS>15:57:25.972 [info] Application cowboy started on node<EMAIL_ADDRESS>15:57:25.991 [info] Setup running ...
15:57:25.992 [info] Directories verified. Res = ok
15:57:25.993 [info] Setup finished processing hooks (Mode=normal)...
15:57:25.993 [info] Application setup started on node<EMAIL_ADDRESS>15:57:26.109 [info] Starting reporters with []
15:57:26.109 [info] Application exometer_core started on node<EMAIL_ADDRESS>15:57:26.447 [info] Application vmq_systree started on node<EMAIL_ADDRESS>15:57:26.454 [info] Systree Reporter initialized; Opts: []
15:57:26.495 [info] Application vmq_passwd started on node<EMAIL_ADDRESS>15:57:26.523 [info] Application vmq_acl started on node<EMAIL_ADDRESS>16:00:33.226 [info] plumtree peer service event handler 'vmq_cluster' registered
16:00:38.979 [error] CRASH REPORT Process <0.184.0> with 0 neighbours exited with reason: {timeout,{gen_server,call,[exometer_report,{change_reporter_status,vmq_report_systree,disabled}]}} in application_master:init/4 line 133
16:00:38.982 [info] Application vmq_server exited with reason: {timeout,{gen_server,call,[exometer_report,{change_reporter_status,vmq_report_systree,disabled}]}}
I use "du -hs /var/lib/vernemq/meta/ /var/lib/vernemq/msgstore/" ，it shows:
40M	/var/lib/vernemq/meta/
253M	/var/lib/vernemq/msgstore/
is it there have a lot of stored client & sub & offline msg that make it can't start??
or it can be start but it should take much more 15 sec.
so I use "vernemq console" agian, after wait a long time ,it start success with no error report,
and then I retry sometimes, I found many times it will report error and start failed. only one time start succssed.
when I delete the "/var/lib/vernemq/* " , it is started very fast.
so I guess if there have a lot of  client & sub & offline msg stored,the vernemq can hardly start. how to fix that? thank you!
and the "vmq-admin session list" also have problem ,when there have many sessions ,It always show:" RPC timeout... ..." can not list the sessions.

Thanks!
It's a bug we have to address quickly. I remember I have also seen it, after disabling the systree plugin and load testing.
@dergraf do you see what causes it?

Thank you for your quick reply! wish it could be fixed later.

Is related to erlio/vmq_server#18

Closed due to not relevant anymore (the whole metric subsystem changed since 0.13.1). Also make sure to upgrade to the newest version 0.14.2.


Node size related to connection strength

Is your feature request related to a problem? Please describe.
Curious if there is a way to have dynamic node sizes where the node is bigger the more connections it has?

Hi @maccman ,
To the best of my knowledge, there is no built-in property that would allow you to do this.
However, when passing the list of your nodes in the data prop, you can specify the size property for each node. You can compute the number of links for each node and change the size property for each one depending on its number of connections.

Sounds good! Trying to create something like the below:


handle failed edge cases

Description
This pull request includes changes to the testprojects/tests.go file, focusing on improving the TriggerUnDeploy and TriggerUnDeployAndWait functions. The main updates involve modifying the return types and enhancing error handling to provide more detailed feedback.
Improvements to TriggerUnDeploy function:

Changed the return type of TriggerUnDeploy from []error to (bool, []error) to indicate whether the undeploy operation was triggered successfully. (testprojects/tests.go)
Updated error handling to return a boolean flag along with errors, providing more context on the operation's success. (testprojects/tests.go) [1] [2]

Enhancements to TriggerUnDeployAndWait function:

Modified TriggerUnDeployAndWait to check the boolean flag returned by TriggerUnDeploy and proceed accordingly. (testprojects/tests.go)
Improved state handling by adding checks for specific states such as ProjectConfig_State_UndeployingFailed and ProjectConfig_State_Draft to provide more accurate status updates. (testprojects/tests.go)
Added logging for successful undeploy completion and removed redundant code. (testprojects/tests.go)

Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

:tada: This PR is included in version 1.39.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


The UITableView's height is reduced while scrolling up

if you scroll up your tableview then its height is reduced.

any news about this?

I am having the same issue

The same issue to me

Hello, thanks for reporting this issue. I can't replicate this on any table view with the latest commit on master. Can you please try the demo, or perhaps provide a way to replicate the issue?

Having the same issue. Does it help that I calculate the height of the rows dynamically? Also, depending where in my viewDidLoad I set self.shyNavBarManager.scrollView = self.tableView, the height of the table changes also.

I'm also seeing this. Anybody have any fixes for it?

set scrollview and extensionView  in viewWillAppear but before super.viewWillAppear
it did the trick for me
hope it works for you guys


qemu: 2.6.1 -> 2.7.0 for CVEs

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/18856
qemu-kvm (4 issues)

[x] #686857 (search, files)  qemu-kvm: code execution
[x] #687235 (search, files)  qemu: information leak
[x] #666755 (search, files)  qemu: three vulnerabilities
[x] #674496 (search, files)  qemu: multiple vulnerabilities

qemu (12 issues)

[x] #700388 (search, files)  qemu: directory/path traversal
[x] #692861 (search, files)  qemu: multiple vulnerabilities
[x] #695959 (search, files)  qemu: two vulnerabilities
[x] #691104 (search, files)  qemu: denial of service
[x] #690402 (search, files)  qemu: denial of service
[x] #689261 (search, files)  qemu: two vulnerabilities
[x] #687235 (search, files)  qemu: information leak
[x] #686861 (search, files)  qemu: denial of service
[x] #680800 (search, files)  xen: multiple denial of service vulnerabilities
[x] #666755 (search, files)  qemu: three vulnerabilities
[x] #674609 (search, files)  qemu: privilege escalation
[x] #674496 (search, files)  qemu: multiple vulnerabilities

Things done

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

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Thanks to @NeQuissimus and @joachifm on this.

Awesome, thanks. I didn't get around to trying this today...

Also fixes #18954.

@fpletz do you have opinions on what happens before this merge? I built locally and it seems okay. I didn't give it too much of a test though.

I ran the boot tests and they appear to have passed.


Bootstrap 4 CSS error when minifying with webpack, causes loss of SCSS running build:production

Submit a feature request or bug report

[x] I've read the guidelines for Contributing to Roots Projects
[x] This is a bug report
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and NPM Debugging Guidelines post and followed them (if applicable)
[x] This is not a personal support request that should be posted on the Roots Discourse forums

What is the current behavior?
Any SCSS added after the autoload of bootstrap 4 is not applied after running yarn run build:production.
$navbar-dark-toggler-icon-bg and $navbar-light-toggler-icon-bg cannot be minified correctly, and webpack encounters a syntax error.
Error is not encountered when using yarn run build as no minification happens. The new styles are present since no syntax error is encountered.
This fails silently, unless disabling postcss-safe-parser which then shows an error in the console (see below).
I removed all styles except for Bootstrap's styles and added a style before and after, the style after bootstrap is included is omitted on production build.. Before bootstrap is visible on production build.
What is the expected or desired behavior?
Expected that updates to scss files would reflect in production minified css output, and minify without error.

Bug report
Please provide steps to reproduce, including full log output:

Use Bootstrap 4.0.0
Add sass styles after the autoload of Boostrap @import "./autoload/**/*";
Run yarn run build:production
Observe that the sass styles are omitted from the output
Set  parser: undefined in the postcss.config.js file.
Observe Syntax Error:

 at runLoaders (C:\wamp64\www\new-template\wp-content\themes\new-template\node_modules\webpack\lib\NormalModule.js:195:19)
    at C:\wamp64\www\new-template\wp-content\themes\new-template\node_modules\loader-runner\lib\LoaderRunner.js:364:11
    at C:\wamp64\www\new-template\wp-content\themes\new-template\node_modules\loader-runner\lib\LoaderRunner.js:230:18
    at context.callback (C:\wamp64\www\new-template\wp-content\themes\new-template\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
    at Promise.resolve.then.then.catch (C:\wamp64\www\new-template\wp-content\themes\new-template\node_modules\postcss-loader\lib\index.js:189:44)
    at <anonymous>

 @ multi ./scripts/main.js ./styles/main.scss

 error  in ./resources/assets/styles/main.scss

Module build failed: ModuleBuildError: Module build failed: Syntax Error

(4927:59433) Unclosed block

Please describe your local environment:
Bootstrap Version: 4.0.0
WordPress version:  4.9.2
OS: Windows 10
NPM/Node version: 8.9.1 64-bit
Where did the bug happen? Development or remote servers?
Development

Guess Bootstrap 4 needs better documentation at Getting started>Webpack section describing how to set everything up and describe compatible minifiers

I noticed this too, everything was loading good during local development when using yarn start. But once I push to production with yarn build:production, loading Bootstrap 4 would somehow make all my SCSS not included.

Same, any new styles add toSCSS file would not compile to production build.
Bootstrap 4.0.0

I had a similar issue with font awesome (v4.7.0). When I removed font awesome from autoload the yarn build:production works fine. Otherwise only bootstrap is included in the main.css, and nothing else added to main.css

@nacm declare $fa-font-path before @import and it will work fine
// Import Font Awesome from node_modules
$fa-font-path: "../../../node_modules/font-awesome/fonts" !default;
@import "~font-awesome/scss/font-awesome";

TL;DR
1.
In Your assets/styles/main.scss insert at the top of the file (yes, before @import "common/variables";, we need the functions for str-replace()):
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";

2.
In Your styles/common/_variables.scss insert:
$navbar-dark-toggler-icon-bg:       url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{str-replace(str-replace(#{$navbar-dark-color}, "(", "%28"), ")", "%29")}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
$navbar-light-toggler-icon-bg:      url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{str-replace(str-replace(#{$navbar-light-color}, "(", "%28"), ")", "%29")}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

The Problem aren't the spaces. The brackets from the stroke='#{$navbar-dark-color}' causes the problem. So if we str-replace() the ( with %28 and the ) with %29 you can run yarn run build:production without removing your scss.

I am having the same issue and had to extract the variables out of the boostrap module 😢

@sandrowuermli This gave me back the toggler icon, but then broke production again...

please follow @QWp6t's solution above


Python: Mapping Function Choice Behaviors to OpenAI Api

Motivation and Context
Fixes #7020
Description
The actual mapping resulted into a Bug which let the Behavior "NoneInvoke" to Result in no more Functions being called by the model.
Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

@nmoeller per my explanation in #7020 this is not a bug, and there is no fix required here. Closing the PR.


consensus: make TickHardForkLedgerView fields strict

While preparing PR #4014, I noticed the forecast function for CardanoBlock was lazy. This small patch makes it strict.
This is a Draft PR because I'm not totally sure we want it to be strict.

I think this will only cause minor improvements to the performance. The main benefit is that is much less confusing for profiling, etc.
So: let's merge it and await the normal per-release benchmarking to catch any regression.
If that benchmark does show regressions, then we can suggest removing it with a trivial git revert on a branch and trying that in the next benchmark run.

I think this will only cause minor improvements to the performance. The main benefit is that is much less confusing for profiling, etc.
So: let's merge it and await the normal per-release benchmarking to catch any regression.
If that benchmark does show regressions, then we can suggest removing it with a trivial git revert on a branch and trying that in the next benchmark run.

I'd rather we detect any performance regressions sooner rather than later, but if we can't run a full-blown benchmark we will have to merge. I asked @kosyrevSerge if we could do something to try to detect any performance regressions earlier, but if we can't, then let's go ahead and merge.

bors r+

bors retry


MM-42655 Improve memoization of permission selectors

I'm going to talk about the channel permissions selectors below, but the same applies to the ones used for teams and groups as well.
The previous versions of haveIChannelPermission was memoized with createSelector, but because it takes arguments, two components calling haveIChannelPermission for different channels would pave over each others' results, possibly multiple times in a single render cycle. I tried just removing that, but the internal selectors it used to generate a set of all permissions for a given channel also had the same problem.
Instead of just removing all memoization which would've just gave us the same result (recalculating everything constantly), I changed it instead so that we generate a map of permissions for each channel and use that in haveIChannelPermission. Because permissions cascade, this does mean we have to check multiple sets of permissions (as opposed to before where all permissions were in one big set), but that should have a negligible effect on performance.
I also considered using a selector factory for haveIChannelPermission or getMyChannelPermissions instead of what I ended up with, but that seemed way more complicated and would require changes in a lot more files.
Ticket Link
https://mattermost.atlassian.net/browse/MM-42655
Release Note
Improved performance of permission selectors

/e2e-tests

The command /e2e-test requires the build docker check to pass.

/e2e-test

/e2e-test

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/177117


Changing name of PinConfigure -> Pin

PinConfigure is a bulky and large name to write as well as to read and
say out loud. Its means seems a bit confusing. Simply calling it a Pin
makes more sense.
It also makes Gpio's inheritance of Pin make more sense.
Gpio "is a" pin VS Gpio "is a" PinConfigure
Where the later doesn't make a whole lot of sense.

Codecov Report

Merging #198 into master will not change coverage.
The diff coverage is 96%.

@@           Coverage Diff           @@
##           master     #198   +/-   ##
=======================================
  Coverage   81.94%   81.94%
=======================================
  Files          32       32
  Lines        1257     1257
=======================================
  Hits         1030     1030
  Misses        227      227

Impacted Files
Coverage Δ

firmware/library/L1_Drivers/system_timer_test.cpp
97.87% <ø> (ø)
:arrow_up:

firmware/library/L1_Drivers/gpio.hpp
100% <ø> (ø)
:arrow_up:

firmware/library/L1_Drivers/system_timer.hpp
91.66% <ø> (ø)
:arrow_up:

firmware/library/L0_LowLevel/uart0.hpp
100% <ø> (ø)
:arrow_up:

firmware/library/L1_Drivers/pwm.hpp
100% <ø> (ø)
:arrow_up:

firmware/library/L1_Drivers/i2c.hpp
2.91% <0%> (ø)
:arrow_up:

firmware/library/L0_LowLevel/uart0.cpp
62.93% <100%> (ø)
:arrow_up:

firmware/library/L1_Drivers/pwm_test.cpp
100% <100%> (ø)
:arrow_up:

firmware/library/L1_Drivers/adc_test.cpp
100% <100%> (ø)
:arrow_up:

firmware/library/L1_Drivers/adc.hpp
97.87% <100%> (ø)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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


Show message in kubectl get wf and argo list

We don't surface the message for either. We should as it would be very helpful for understanding why a workflow failed.
https://github.com/argoproj/argo-workflows/blob/9c901456a44501f11afc2bb1e856f0d0828fd13f/util/printer/workflow-printer.go#L57
https://github.com/argoproj/argo-workflows/blob/9c901456a44501f11afc2bb1e856f0d0828fd13f/pkg/apis/workflow/v1alpha1/workflow_types.go#L122
This feature will have massive big bang for the buck.

@alexec Can I pick this ??
/assign


A zombie process occurs when using https ping on a URL caused by busybox wget

/data $ ps -o pid,ppid,pgid,user,stat,comm
PID   PPID  PGID  USER     STAT COMMAND
    1     0     1 1000     S    supercronic
   51     0    51 1000     S    sh
   57    51    57 1000     R    ps
/data $ wget https://google.com -o /dev/null -q
/data $ ps -o pid,ppid,pgid,user,stat,comm
PID   PPID  PGID  USER     STAT COMMAND
    1     0     1 1000     S    supercronic
   51     0    51 1000     S    sh
   59     1    58 1000     Z    ssl_client
   60     1    58 1000     Z    ssl_client
   61    51    61 1000     R    ps

https://github.com/spinnaker/spinnaker/issues/4479
https://github.com/qdm12/gluetun/issues/1494#issuecomment-1492879220

Thank you for reporting the error and for the PR.
Initially, BusyBox's wget was used because it is built into Alpine and does not take up additional space. Compared to adding a wget dependency, I prefer to add curl and replace wget with curl. Curl provides comprehensive functionality and may be used in PR #161.
I will fix this issue along with PR #161, so I will close your PR for now.
Thanks again.


test: add test unit for multi datasource

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style
[ ] Refactor
[ ] Doc
[ ] Other, please describe:
[x] Test

The description of the PR:
Add test unit for multi datasource
Other information:

tks, but not need test


Errors are thrown when typing in the Text Editor

The problem
Describe the bug
When typing in the text editor, the console spits out two errors every time a character is typed.
res://addons/dialogic/Editor/TimelineEditor/TextEditor/CodeCompletionHelper.gd:63 - Trying to assign value of type 'Nil' to a variable of type 'Array'.
Couldn't find the given section "DES" and key "hidden_event_buttons", and no default was given.
To Reproduce
Steps to reproduce the behavior:

Go to the Text Editor
Just start typing!

System (please complete the following information):

OS: Windows 11
Godot Version: 4.1.1.stable (Steam)
Dialogic Version: 2.0 Alpha 9

Thanks for the report! I think this is already fixed on the main branch. Hopefully we can wrap up some of the currently happening work and release a new alpha version in the coming weeks.


fixing my first test issue

there is text structure for fixing issue and needs to be refined please fix it.

closing my issue

Add RCSTempUSR's file

issue is resolved


Reemplazo para ManhwasNet

Source name
Ntrgod
Source link
https://ntrgod.com/
Source language
Español
Other details
+18
NSFW
Manhwa
Doujin

Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

Theme is similar as TuManhwas,

Reemplazar que?


fix #180

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

The PR fulfills these requirements:

[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Changed the Python image to use the slim version, also installing the gcc library for the arm64 architecture. I have tested the build process with this command:
docker buildx build --platform linux/amd64,linux/arm64 .

@MarcOrfilaCarreras
Thank you for the Docker image size fix. Appreciated.


[Feature] Add GeSPMM and unify sampling training

Description

Add GeSPMM as a substitude for torch.spmm and gespmm can be used with "--fast-spmm" in command
Add ClusterGCN and unify sampling-based training

Checklist
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [$CATEGORY] (such as [Model], [Doc], [Feature], [Bugfix])
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[ ] Code is well-documented
[ ] To my best knowledge, examples are either not affected by this change,
or have been fixed to be compatible with this change
[ ] Related issue is referred in this PR

Our team(DGL) conducts extensive benchmarking comparing existing SPMM solutions. However, the result suggests CUDA 11's cusparseSpMM is better than ge-spmm in most cases, and ge-spmm's performance is sensitive to hyper-parameters (the default setting works for NVIDIA V100 but performs terribly on an NVIDIA T4 GPU), you have to maintain a table collecting best settings for different devices for stable performance. btw, Cuda 11.2.1 further accelerates their sparse CUDA kernels (which leverages TensorCore thus several times faster).
I mean ge-spmm has research value but its idea could be easily adopted into cusparse with new CUDA release. Considering the vast development of CUDA/Cusparse it might be more meaningful to rely on vendor (like NVIDIA) instead of a hand-written algorithm (I mean it would be harder to catch up as cusparse evolves).
btw, I'm curious about the positioning of CogDL, would you like to make it a platform comparing different algorithms/models or a relatively low-level library? If former, do you have interest in collaborating more with our team (DGL has a direct collaboration with NVIDIA/Intel/other vendors, and their latest progress on accelerating GNNs can be reflected in DGL in a very short time)?
For operators, most of them are exposed in dgl.ops and it's easy to use them even without DGL's message-passing interface. For example, DGL's gspmm/gsddmm supports multi-dimensional tensors and broadcasting thus can be directly applied to multi-head models like GAT, which is much faster and memory-efficient (the spmm you implement for multi-head spmm requires copying node data to edges, resulting in significant GPU memory footprint) and should be beneficial to your project. We can discuss more if you have further concerns (e.g. do we need to expose more low-level APIs in Python-end).

@yzh119 Thank you very much for your attention and valuable suggestions!
We will further conduct experiments to test the performance of ge-spmm and other SPMM solutions in different settings and devices. Relying on the vendor is surely a good choice, while it might also be acceptable to try a hand-written algorithm like ge-spmm, featgraph. We will consider the integration of cusparse carefully. Thanks for your advice.
CogDL now fully supports models implemented using DGL, like dgl_jknet in cogdl. And later we will consider adding more models using DGL.
For operators, we are still developing other operators like sddmm, which will be included in next version. DGL provides fantanstic implementations of many operators, but it seems that they all require DGLgraph as the data structure. It will need a major modification to our framework. And we would be willing to try to use DGL operators if without DGLgraph dependency.
DGL is a very excellent library and has a lot of advantages for us to learn from. We have also been users of DGL : )
Thank you very much again for your attention!

Thanks for your reply, yes I noticed that some of your models uses DGL but
they are not efficient (e.g. in JKNet you use User-Defined Functions
instead of builtin functions, which was not optimized).
For operators, I think we can expose the API without DGLGraph argument, our
team are discussing what will be the appropriate form and will inform you
once we have further updates.
Best regards,
Zihao
On Sun, Feb 28, 2021 at 6:25 PM THINK2TRY<EMAIL_ADDRESS>wrote:

@yzh119 https://github.com/yzh119 Thank you very much for your
attention and valuable suggestions!
We will further conduct experiments to test the performance of ge-spmm and
other SPMM solutions in different settings and devices. Relying on the
vendor is surely a good choice, while it might also be acceptable to try a
hand-written algorithm like ge-spmm, featgraph. We will consider the
integration of cusparse carefully. Thanks for your advice.
CogDL now fully supports models implemented using DGL, like dgl_jknet
https://github.com/THUDM/cogdl/blob/master/cogdl/models/nn/dgl_jknet.py
in cogdl. And later we will consider adding more models using DGL.
For operators, we are still developing other operators like sddmm, which
will be included in next version. DGL provides fantanstic implementations
of many operators, but it seems that they all require DGLgraph as the
data structure. It will need a major modification to our framework. And we
would be willing to try to use DGL operators if without DGLgraph
dependency.
DGL is a very excellent library and has a lot of advantages for us to
learn from. We have also been users of DGL : )
Thank you very much again for your attention!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/THUDM/cogdl/pull/193#issuecomment-787429559, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZ2NMZBE65ZNYZQLNG5O3TTBIKZPANCNFSM4YKADYLA
.


chore temporary disable two phase read for `TableQueryPla…

…nActionQ`
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.93 seconds
stream load tsv:          514 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.9 seconds inserted 10000000 Rows, about 334K ops/s
storage size:<PHONE_NUMBER>1 Bytes


Updates to data combination and release schedule, June 2024

Code changes:

Removes duplicate timestamps if two overlapping instruments happen to coincide. Defaults to instrument with latest start date
Error checking if an instrument is not included in release schedule

Data selection changes:

Updates from Jens Mühle and Chris Harth on dates to switch between instruments (22/5/24). These have been applied to many instruments, based partly on Paul Krummel's MD to Medusa recommendations for CH3CCl3 and CFC-113
Overlap for CMN from Jgor Arduini (17/5/24), but these may be subject to change following the AGAGE meeting
Addition of TAC from Joe Pitt (22/5/24)

Data selection changes:

Include ZEP ADS data for hcfc-124 following email from Chris Lunder (2024-06-13)

Data selection changes:

Include CGO ADS data for hcfc-124 following email from Paul Krummel (2024-06-13)

This last commit fixes a few inconsistencies in the TOB data. But important to note that I also changed the default naming for some variables, to address inconsistencies. E.g., benzene -> c6h6, etc.

Last commit includes Paul Krummel's instrument changeover dates. His methodology is as follows:
NOTE – the current (June 2024) ALE and GAGE data in gccompare are on LOCAL time for each of the sites!
CH4 – GAGE/AGAGE transition when AGAGE starts. Transition from AGAGE to Picarro when Picarro starts. Also, want to use Picarro2 for whenever Picarro1 data are missing – maybe use Picarro2 whenever there is more than 12 hours of missing Picarro1 data?
CH3CCl3 – Ale/GAGE transition date selected for when records almost match – there is a largish offset prior to this date. GAGE/AGAGE transition date based on when the AGAGE precision improved considerably. There are also large jumps in the early AGAGE record that correspond to tank changes.
CFC-11 – have based the cutoff dates on CFC-11S. Both records have various steps which must be cal tank changes. Picked ALE/GAGE transition when the two records first matched relatively closely. GAGE/AGAGE transition when AGAGE started.
CFC-12 - Picked ALE/GAGE transition when the two records first matched relatively closely. GAGE/AGAGE transition when AGAGE started.
CFC-113 - GAGE/AGAGE transition when AGAGE started. Might revisit this someday …
CCl4 – initial AGAGE data quite noisy, pushed transition date forward by a couple months.
N2O – Dang the early N2O data are variable and ugly! Picked ALE/GAGE transition when the two records first matched relatively closely. GAGE/AGAGE transition when AGAGE started. **When we are completely happy with the Picarro N2O data we will set a transition date to move to that instrument – it will require a scaling factor between SIO-16 and NOAA-2006A scales.
ADS to Medusa transitions – mostly based on time when overlap looked the best. Most of them are when the Medusa starts. Some species have small steps at the transitions.
NOTE – use GCMD CHCl3 as the primary record – I changed this in the spreadsheet. This should be the case at ALL 5 core AGAGE sites that have GCMD instruments!
SF6 – GC ECD data from 2001 until transition date. Have placed the transition date in the GCMD column, but might need a separate one for GCECD?
H2 – switch from GC-MRD to GC-PDD when PDD data start

Am going to close this PR, as it's become a bit of a mess. I'll try to be more disciplined about not mixing changes to the data files and code in the future.


Debugging challenges don't mark as completed

Challenge Name

Debugging
Issue Description

The first two challenges (Introduction to Debugging Challenges and Use the JavaScript Console to Check the Value of a Variable) don't mark as 'done' upon completing.
Browser Information

Browser Name, Version: Chrome, version 63.0.3239.132 (Official Build) (64-bit)
Operating System: Windows 10
Mobile, Desktop, or Tablet: Desktop

Screenshot

Hi @zk433.
Thank you for reporting this.
I just confirmed by testing this on beta.freecodecamp.org and mine doesn't mark the challenge as done either.

I tested this locally and it seems to be marking the challenge as done. I wonder if it was patched in a PR and hasn't been pushed to prod yet. One of the freecodecamp team will know if it has been fixed.

Strange it works for me:

Could be a Windows specific issue?

I'm able to reproduce this issue on both live and local versions. It occurs when user is not logged in, and it's not just for the Debugging section but for the entire curriculum. Could this have something to do with localStorage or something like that?

I am logged in when I have the issue.
@raisedadead it's possible, I have Windows. @Asjas , @huyenltnguyen , what OS are you using?

@zk433 I'm on Windows too.
I just did a quick check on the official FCC, the completed challenges don't get marked if I'm not signed in. So this is by design then, which means... nope, I can't reproduce it.

I tested this on Windows 10 and Linux Mint. Neither completes the challenges for me.

Hi @zk433 @Asjas could you check and report if there are any errors in your browser DevTools console?

@raisedadead This is the only thing I get in the DevTool Console.
Chrome
DOMPropertyOperations.js:139 Mixed Content: The page at
'https://beta.freecodecamp.org/en/challenges/debugging/introduction-to-the-debugging-challenges'
was loaded over HTTPS, but requested an insecure image 'http://imgs.xkcd.com/comics/debugging.png'.
This content should also be served over HTTPS.

[Violation] 'click' handler took 197ms
[Violation] Forced reflow while executing JavaScript took 75ms

FF Dev Edition
Content Security Policy: The page’s settings blocked the loading
of a resource at data:application/javascript;base64,KGZ1b... (“script-src”).

@raisedadead  strangely, the challenges now mark as complete. I don't know why and what has changed, but it works on my side now.

@raisedadead I tried reproducing this, there are two cases:

When I'm signed-in
The challenge gets completed and there's a tick mark on the map's block.
When I'm not signed-in
The challenge gets completed but there's no tick mark on the map's block.

To reproduce, follow the below steps:

Open Incognito tab and try the challenges. They'll pass but they'll not be shown as completed on the map.
Sign-in to your account and then try the challenges again, everything works fine.

When I'm not signed-in
The challenge gets completed but there's no tick mark on the map's block.

This behaviour is expected.

Works for me as well on Windows. I'll assume this has been fixed, as it can no longer be reproduced. If anybody else does still run into this issue, please leave a comment here.
Happy coding!


Share image is cropped when sharing on Facebook

Look into the dimensions of the sharing image we used in the original demo as this wasn't an issue


Need help with installation

Hello,
I have just discovered your script (by the way, thank you very much for the work), I have two questions to ask you:
1 / This is a script that works only with Node.js, is that right? Does the script need a database to work?
2 / To install the script, send all the source files to our server and modify the file config.js? Does it have other files to modify?
thank you very much

Yes,  and no it doesnt need a database. You can modify any file how you would like. But yws the config is what you will need for it to work.

Hello iDefineHd,
Thank you,
2 / To install the script, send all the source files to our server and modify the file config.js? Does it have other files to modify?

No problem. I also answered that above.

Thats correct.
And once done, start with "node index.js"

Thanks a lot for your answers
What price to customize the basic design?
What are your tips for getting started with this site style quickly?

You should be able to do it yourself. But add me if you want help. http://steamcommunity.com/id/iDefineHD/
Site style? Css?

Yes, Change the colors and maybe the structure

Hello,
In the config.js file, I need to fill in identitySecret, do I find this information or on Steam?
Thank you

Use this to get your identity and shared secret values: https://github.com/Jessecar96/SteamDesktopAuthenticator

Go to the folder maFiles you should see some (depending on how many acounts are running on sda) .maFile files. They are all named like .maFile find the one you need and open it in your text editor. Just look through the file until you find shared_secret and identity_secret.

https://dev.doctormckay.com/topic/1000-shared-secret-and-identity-secret/

I just configure the program and when I look at the .maFile file that the program generated, I have a large amount of encrypted code I guess. How to recover identitysecret in?

You have to remove encryption under "Setup Encryption", otherwise the file will be encrypted.
https://media.pepzwee.com/1e3154c.png

Perfect, I recover the data.
Thank you very much @pepzwee.
Do you advise me to use Steam Desktop Authenticator for bots? Is this really reliable?

I don't use Steam Desktop Authenticator for my bots, because they are bots and I've already written scripts for them to handle trading and everything I'll need.
I use it on my main and alt accounts that I do manual trading with since it's rather easy to use and I don't have to find my phone every time I need to accept something. It's reliable and safe to use as far as I know.

Ok, the bot is automatic for exchanges on your script. I do not need to generate a token on each exchange ?!

The bot does everything automatically. I do suggest you to familiarize with the code before you use it in production though.

Yes, I started looking at the code. I just installed the files on my server but my host is in maintenance.

Also.. this script will not run with Apache or Nginx unless you know how to setup reverse proxies.

I apache on the server. What would it be like configuration?

I don't know what configuration Apache would need. Keep in mind your host would also have to be able to run Node scripts.

My hosting is able to run Node.js but it works with Apache. Do you advise me which hosting service to run the script? There is an HTML file so we must apache or another distribution.

You don't need Apache nor Nginx. Serving HTML files is done within the script you don't need to worry about that.

Agree and you advise me which host to run your script?

Any host that is able to run Node.js scripts will do.

Yes but the problem is that apache is already installed and we can not delete it. You can not advise me a host?

I mainly use these services and their VPS/Dedicated servers
DigitalOcean, Vultr, OVH

I have already used OVH. The problem is that I do not know how to configure a Linux distribution, I use the Plesk panel. to help me. If apache is enabled, must Nginx be enabled for your script to work?

No, the easiest option is to have both disabled. If you can't have them disabled you need to setup a reverse proxy.

Precisely, Nginx integrates a Reverse Proxy Server through Plesk.


Test Flowzone PR 484

Auto-generated by https://github.com/product-os/flowzone/pull/484
Will be closed automatically once the PR is merged.

Auto-closing pull request


[Do not merge] Update ci-arm image to use tag 20231013-060139-71caa19f9

Note: Temporary PR for testing it in upstream CI.
Update ci_arm image to use tag tlcpackstaging/ci_arm:20231013-060139-71caa19f9

Update ACL to 23.05 version

Cc @Liam-Sturge, I will close this so that we can submit a change coming from the tlcpack repo.


Add AICS datasets

Update variance papar dataset name + description:
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>5562v2.full
and add these:

https://www.allencell.org/drug-perturbation-pilot.html
Drug Perturbation Dataset V2.csv
https://www.nature.com/articles/s41598-021-94732-1
https://www.cell.com/cell-systems/fulltext/S2405-4712(21)00156-3

Julie just reported this (variance dataset still has placeholder description text), bumping it a bit since people might be clicking through it when new manuscript goes out soon.


Configure User's Client Display preview to be responsive

Configure User's Client Display preview to be responsive

PR: https://github.com/NationalSecurityAgency/skills-service/pull/479

:+1:


Runtime Java 6 support - but Java 7 API called

I'm not sure, if perhaps just the project description is deprecated, but netty currently states to run on java 6, but netty 4.1.15 calls java.nio.channels.SocketChannel.shutdownInput and java.nio.channels.SocketChannel.shutdownOutput, which are according to javadoc introduced since 1.7.
Calling that java 7 stuff would force android to use also a higher API level.
So is this intended? Or are there other solutions possible?

@boaks it works because it will only call these methods if you run on a java version >= 7:
        if (PlatformDependent.javaVersion() >= 7) {
            javaChannel().shutdownOutput();
        } else {
            javaChannel().socket().shutdownOutput();
        }

So while we use newer java stuff when possible we will fall-back to the "old" way if needed.

@boaks It does as we always assume java version 6 on android ;)
https://github.com/netty/netty/blob/4.1/common/src/main/java/io/netty/util/internal/PlatformDependent0.java#L804


[core] Reduce bundle size 🚀

From 7.7 kB to 1.8 kB.

It's not quite what I wanted to achieve. Let me make a couple of PRs before merging this.

@TrySound The fix is around inlining the runtime helpers. It should avoid duplicates between babel 6 & babel 7. Also, webpack seems to have an issue with tree-shaking the babel-runtime/types modules. This is unrelated to your previous pull-requests. What the link?

@oliviertassinari Duplicating between babel6 and babel7 doesn't matter. Now you duplicate babel7 which could be reused in another lib.

@TrySound Why is the duplication between babel6 and babel7 no an issue? It can happen very quickly:

https://unpkg.com/<EMAIL_ADDRESS><EMAIL_ADDRESS>
Instead, this PR is following react-transition-group approach:

<EMAIL_ADDRESS>

@TrySound Duplicate still happens, yes indeed. Our only hope is the gzip algo. I also want to update from babel6 to babel7 for transpiling the source. I'm happy to try out another approach, but I think the current approach is a better default than what we had before.

It's following the same approach that some of the most used packages in the react ecosystem
We stop required babel 6 runtime that duplicate with babel 7 from Material-UI.

The next package to fix is react-scrollbar-size. Maybe it's simply a package we should include in Material-UI, with that, we should save 6kb gzipped from the Material-UI bundle.

I'm fixing everything. Take a look at my next PRs. Helpers are good when you know how to use them.

I will take care about react-scrollbar-size


[Feature] [e2e-infra] Support duplicate data varification

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
In the 0.6 BanyanDB release, we missed an important feature reported by #12219.
The list data verification should include whether there is duplicate data.
@fgksgf @kezhenxu94  Could you suggest what could be done and how to verify?
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @yswdqz, are you still working on this? If not, can I pick up this issue, or I can go ahead and push my idea forward.

@zzzk1  Of course, you're welcome to participate if you're interested, and if you have any questions, feel free to ask me.

@zzzk1 Hello, is there any progress, or is there something blocking?

If @zzzk1 no longer spends time on this, I will work on it starting from October 1.

Changing the owner back to you. I don't see update for weeks.


Binary wheels don't support numpy 2.0

It looks like the binary wheels for ts2vg don't support numpy 2.0. I'm getting this error when I use ts2vg installed via the macOS wheel:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Building from source fixes this issue. I think pushing a new release to pypi is all that is needed. We ran into this in our CI pipeline (https://github.com/neuropsychology/NeuroKit/issues/1009)

Thanks for reporting! I'll take a look.

I've just published a new version of ts2vg (1.2.4) to address this (and some other very minor setup improvements).
The wheels for ts2vg 1.2.4 should be compatible with both NumPy 1.xx and NumPy 2.0.
Please check if it's solved.
Unfortunately I've had to drop support for Python 3.6-3.8, since numpy 2.0 is not compatible with those.
Users in Python 3.6-3.8 can continue using ts2vg by using ts2vg<1.2.4 and numpy<2.0.

Thanks! this is fixed.


Onchange event for select component.

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?
I am using formly for dynamic form generation but I am facing problem in cascading selection.
eg:
when select box 1 is selected then based on the selection it should call API and update the selection box 2 list.I am using custom template for select box and whenever selection is changed then I wrote a event to detect that by from there I have to update the selection box b templateOptions.
Please tell us about your environment:
Mac OS,visual Studio Code,webpack

Angular version: 2.0.X
angular 7

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
All browsers

Language: [all | TypeScript X.X | ES6/7 | ES5]

Node (for AoT issues): node --version =

you can use change event:
templateOptions: {
  change: (field, $event) => ...
}

-- (selectionChange)="onSubmit($event,field,form)"
++ (selectionChange)="to.change && to.change(field, $event)"

Thanks @aitboudad
One more doubt how can i get all formly fields json reference in custom FormlyFiled component(Custom template)

field.parent to get the parent field

-- (selectionChange)="onSubmit($event,field,form)"
++ (selectionChange)="to.change && to.change(field, $event)"

Changed code
@Component({
  selector: 'app-formfield',

 template?: '.<div class="demo-full-width margin-top" [formGroup]="form">
    <mat-select [placeholder]="field.templateOptions.placeholder" (selectionChange)="to.change && to.change(field, $event)" [formControlName]="field.key" [formlyAttributes]="field" >
    <mat-option *ngFor="let item of field.templateOptions.options" [value]="item">{{item.name}}</mat-option>
    </mat-select>
    </div>',
  styleUrls: ['./formfield.component.css']
})
export class FormfieldComponent extends FieldType {
           changeOption(key) {
               this.http.get('https://jsonplaceholder.typicode.com/users')
                .subscribe((users: any[]) => this.getField(this.fields, key).templateOptions.options =
                  users.map(u => ({ label: u.name, value: u.id })));
               }
  getField(fields, key: string): FormlyFieldConfig {
       for (let i = 0, len = fields.length; i < len; i++) {
              if (fields[i].key === key){
                          return fields[i];
            }
      if (fields[i].fieldGroup && fields[i].fieldGroup.length > 0) {
        return this.getField(fields[i].fieldGroup, key);
        }
       }
     }
```
`

**Appcomponent.html**

```
<form role="form" novalidate [formGroup]="form" (ngSubmit)="submit()">
      <formly-form [model]="model" [fields]="fields" [form]="form">
      <button type="submit" class="btn btn-primary">Submit</button>
      </formly-form>
  </form>
```

**Appcomponent.ts**

```
export class AppComponent {
  form = new FormGroup({});
  fields: FormlyFieldConfig[] = [{
    className: 'row',
    fieldGroup: [
      {
        className: 'col-xs-12',
        type: 'select',
        key: 'documenttype',
        templateOptions: {
          options: [
            { value: '1', label: 'Soccer',nextKey:'documentRole' },
            { value: '2', label: 'Basketball',nextKey:'documentRole' }
          ],
          valueProp: 'value',
          labelProp: 'label',
          label: 'Select Box',
          placeholder: 'selectbox',
          change:(field, $event) => {
          }
        },
      }
    ]
  },
  {
  className: 'row',
  fieldGroup: [
    {
      className: 'col-xs-12',
      type: 'select',
      key: 'documentRole',
      templateOptions: {
        options: [
          { value: '1', label: 'Cricket' },
          { value: '2', label: 'VolleyBall'}
        ],
        valueProp: 'value',
        labelProp: 'label',
        label: 'selectbox',
        placeholder: 'selectbox',
      },
    }
  ]
}];
```

Now based on selection of field key documenttype input options for select key documentRole values has to be changed.It should perform a API request and then list should be updated.
If I mention code on **change** of template options it is working but if i get the filed json from service call then it is reading as string.
I am not aware how to make it to be dynamic.

sorry but I haven't much time to track all your questions we've provided a bunch of examples in our demo site to avoid a such case, consider using stackoverflow or http://gitter.im/formly-js/ng2-formly.
Thanks!

sorry but I haven't much time to track all your questions we've provided a bunch of examples in our demo site to avoid a such case, consider using stackoverflow or http://gitter.im/formly-js/ng2-formly.
Thanks!

Thanks @aitboudad  for responding all of my queries. :)

@aitboudad I want to get repeat index on change of select. Can you check it and give me a solution ?
https://stackblitz.com/edit/angular-47rdkm-egsdne?file=src/app/app.component.ts

@anasvn field.parent.key

@aitboudad I'm getting is field.parent.key  as undefined

the provided example use V4, try with V5.

This property is not working with when used with PrimeNG . Can you please help.

Could you please provide snippet code to implement dropdown change in ngx formy.?

@lizarajesh see https://github.com/ngx-formly/ngx-formly/issues/1595#issuecomment-495608792

I have used ngx-formly to create a form . I have to create a progress bar which is dynamic and gets incremented as soon as a field is filled . I am unable to do that . If you could help

@medhamansi use modelChanges output to get notified whenever model changes and calculate the progress value based on your criteria :).
@Component({
  selector: 'formly-app-example',
  template: `
    <formly-form
+     (modelChanges)="modelChanges($event)"
    ...></formly-form>
  `,
})
export class AppComponent {
+  modelChanges(model) {
+    // update progress value
+  }
}

Hi Team,
I am using ngx-formly in my application.
where for dropdown change event, On first select its giving null, where as on second selection it gives first selected value.... can guide me what is the issue...
{
fieldGroupClassName: 'row',
fieldGroup: [
{
key: 'org_id',
type: 'select',
className: 'col-lg-6 col-sm-12',
templateOptions: {
key_name: 'name',
label: 'Organization:',
required: true,
label_col: 'col-sm-2',
field_col: 'col-lg-6 col-sm-12',
placeholder: 'Please Select',
options: this.getOrgnization, // --> this is the function where the options comes and populate in the dropdown.
change: (field , $event) => {
console.log(field.model.org_id);
}
}
get getOrgnization(): any {
this.http.subUrl = '/get_master/get_organization';
return this.http.postData();
}
please respond at the earliest...
Thanks in andvance.

@mritunjaybs151086 use https://github.com/ngx-formly/ngx-formly/issues/1851#issuecomment-544483541

you can use change event:
templateOptions: {
  change: (field, $event) => ...
}

bind change event to formly with ionic custom select box with json
My code is here..
constructor(public eventService: EventService) {
this.eventService.getEventOverviewFields().subscribe((fields: any) => {
this.editForm = new FormGroup({});
this.fields = fields.map((field: any) => {
if (field.fieldGroup) {
field.fieldGroup.map((fg1: any) => {
if (fg1.fieldGroup) {
fg1.fieldGroup.map((fg2: any) => {
if (fg2.fieldGroup) {
fg2.fieldGroup.map((f: any) => {
if (f.templateOptions && f.templateOptions.changeExpr) {
f.templateOptions.change = Function('field', '$event', f.templateOptions.changeExpr).bind(this);
}
if (f.templateOptions && f.templateOptions.keyupExpr) {
f.templateOptions.keyup = Function('field', '$event', f.templateOptions.keyupExpr).bind(this);
}
});
}
});
}
});
}
return field;
});
  console.log("this.fields", this.fields);

  this.setTotal();
});

.
.
.
.
{
"className": "col-lg-4 col-12 single-field",
"key": "startGel",
"type": "numberSelect",
"defaultValue": 0,
"templateOptions": {
"label": "Start Gel",
"selectOptions" : {
"startValue": 0,
"endValue": 1
},
"unit": "P",
"changeExpr": "this.changeStartGel($event, field)"
}
},
.
.
.
.
.
My custom select component

{{to.label}}

{{to.label}}

{{ item.label }}

{{to.unit}}


Improve existing translations

Hi, I've read all currently translated files and made some small changes, mostly typo fixes.

Thanks for your good work, dont forget to join our discord group chat https://discord.gg/KCaP5Q3B


Revert "Rename Session and Transaction classes"

This reverts commit dfd5d8f4533fadf1ca15834e0c2cdde06f96453e. (#4894)
Conflicts:
proxy/ProxyClientSession.cc
proxy/http/HttpSM.h

I'd like to revert the renaming around Proxy Session / Transaction for now. The reasons are:

I am not sure enough this renaming is reasonable and will not need another renaming
Refactoring on master over the long term makes merging master to other branches difficult

I am +1 on doing the refactoring, but I want to see and discuss the design before we start making changes to not monkey around with our master code.

\cc @a-canary

another conflict...

Resolved the conflict.


[NIFI-12903] style updates for drag/drop UX

This PR creates reuseable styles for all cdk drag/drop UX. Please test with connection prioritizers as well as parameter context inheritence.

Will review...


Unusual Model Utility Gap: Gradient Difference vs Ascent (Llama2)

Hi, I noticed that for Llama2(forget10), gradient difference shows much lower model utility (~0.27) than gradient ascent (~0.63) in the leaderboard. This seems unusual since gradient difference is designed to maintain performance on the retain set while unlearning.
Interestingly, in Phi model results, gradient difference shows higher utility than ascent as expected. Could you help explain this significant performance gap in Llama2 implementation?
Thanks!

Apologize for the confusing. Previously there's a bug in the leaderboard csv generation. We have uploaded a new version. Meanwhile, I will rerun evals again to double check. Thanks for your comments!


Y29GAM cannot start

My camera cannot start and the yellow light is constantly on. Can you give me the original firmware? thanks
<IP_ADDRESS>_202103291039home_y29gam
<IP_ADDRESS>_202006090939home_y29gam

Here it is:
backup_y29ga.gz