Download does not work with HighStock

Hi all,
I imported the exporting and export-data modules for export my data in csv in this way.
import ReactHighcharts from "react-highcharts";
require('highcharts/modules/exporting')(ReactHighcharts.Highcharts);
require('highcharts/modules/export-data.src')(ReactHighcharts.Highcharts);

and the export works like a charm.
But if I try to export the data from HighStock, changing only the first line this way:
import ReactHighcharts from "react-highcharts/ReactHighstock";
I receive this error:

Uncaught TypeError: Cannot read property 'dateFormat' of undefined
at export-data.js:547
at Array.forEach ()
at a.each (highstock.js:29)
at a.Chart.Highcharts.Chart.getDataRows (export-data.js:540)
at a.Chart.Highcharts.Chart.getCSV (export-data.js:584)
at a.Chart.Highcharts.Chart.downloadCSV (export-data.js:854)
at a.Chart.onclick (EnvironmentChart.js:71)
at HTMLDivElement.onclick (exporting.js:21)

The chart renders in both ways (with some graphical differences, of course). I cannot find any problem in the highcharts documentation, could this be a problem on how ReactHighcharts.Highcharts is returned?
This is my config:
exporting: {
    csv: {
        decimalPoint: "."
    },
    buttons: {
        contextButton: {
	    menuItems: [
	        {
		    textKey: 'downloadCSV',
                     onclick: function () {
                         this.downloadCSV();
                     }
                 }]
	}
    }
}

I ran into some issues here as well, though mine wouldn't render at all with Highstock when trying to add highcharts-more. Here's what I ended up with that worked for Highstock.
Imports
import Highstock from 'highcharts/highstock';

require('highcharts-more')(Highstock);
require('highcharts/modules/exporting')(Highstock);
require('highcharts/modules/export-data.src')(Highstock);
const ReactHighcharts = require('react-highcharts/ReactHighstock').withHighcharts(Highstock);

Render
<ReactHighcharts config={options}/>

Closing and there has been no activity in this issue for a while.
if this is still relevant, please feel free to reopen


Archive to different db

(also tested with a different database name and host)
cc: @vangberg

Like this @kaspth ? 668c8f7

https://travis-ci.org/firmafon/archiving/builds/172930207


Renamed gem and classes to make them consistent and allow autoloading

Yeah, I'll yank the previous gem and publish this one instead


Get Android 35 Emulator Tests working with SwANGLE

This blocks: https://github.com/flutter/flutter/issues/152374
Here is a sample failing build: https://ci.chromium.org/ui/p/flutter/builders/try/Linux_android_emu android views/11825/infra
W1106 11:30:56.306128  144389 VkCommonOperations.cpp:1022] Selecting Vulkan device: SwiftShader Device (Subzero), Version: 1.3.0
initialize: Supports id properties, got a vulkan device UUID
No protocol specified
No protocol specified
E1106 11:30:56.414060  144389 EmulationGl.cpp:94] Failed to find exactly 1 GLES 2.x config: found 0.
E1106 11:30:56.414084  144389 EmulationGl.cpp:309] Failed to validate creating GLES 2.x context.
E1106 11:30:56.414116  144389 FrameBuffer.cpp:345] Failed to initialize GL emulation.
E1106 11:30:56.415569  144389 RendererImpl.cpp:147] Could not initialize emulated framebuffer

For this PR: https://github.com/flutter/flutter/pull/158017/files
My understanding is that with SwANGLE, there is a translation pipeline of:
Vulkan -> OpenGL (SwiftShader)
OpenGL -> GLES (ANGLE)
Also, only test engine targets compile swiftshader support, per:
$ grep -rnI 'swift.*shader' --include='BUILD.gn' | grep -v 'third_party\/'
display_list/testing/BUILD.gn:37:# causes linkage problems with swiftshader.
testing/BUILD.gn:222:use_swiftshader = enable_unittests && shell_enable_gl
testing/BUILD.gn:223:if (use_swiftshader) {
impeller/playground/BUILD.gn:22:    "backend/vulkan/swiftshader_utilities.cc",
impeller/playground/BUILD.gn:23:    "backend/vulkan/swiftshader_utilities.h",

I think the first thing we should try is to repro the failure locally, and then see if we can do a local engine build with some of these build rules tweaked and then see if it will work.

Swiftshader is a software implementation of a Vulkan driver, whereas ANGLE is a OpenGL(ES) to X backend translator . For a device with no native graphics driver, I'd expect something like:
Vulkan App -> Swiftshader
GLES App -> ANGLE -> Swiftshader
Given that these logs are being printed at startup, I don't think this has anything to do (directly) with Flutter. Instead I suspect the emulator itself is trying and failing to initialize its software drivers.

Given that these logs are being printed at startup, I don't think this has anything to do (directly) with Flutter. Instead I suspect the emulator itself is trying and failing to initialize its software drivers.

@jonahwilliams Ok, so you think that the host OS is missing some dependency?

I don't know why its failing.

And even if we get past starting up the emulator, would you expect SwANGLE to work with our current engine binaries?

If its working correctly it shouldn't matter. At least the flutter engine will be using Vulkan and talking to Swiftshader directly, but that doesn't mean that other parts of the Android UI in the emulator aren't using GL

And even if we get past starting up the emulator, would you expect SwANGLE to work with our current engine binaries?

If its working correctly it shouldn't matter. At least the flutter engine will be using Vulkan and talking to Swiftshader directly, but that doesn't mean that other parts of the Android UI in the emulator aren't using GL

That makes sense.


Incorrect padding errors from Fernet encryption

No matter what password I use or where (what OS) I run the container, adding an Airflow connection through the CLI returns this error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 171, in get_fernet
    _fernet = Fernet(fernet_key.encode('utf-8'))
  File "/usr/local/lib/python3.6/site-packages/cryptography/fernet.py", line 34, in __init__
    key = base64.urlsafe_b64decode(key)
  File "/usr/local/lib/python3.6/base64.py", line 133, in urlsafe_b64decode
    return b64decode(s)
  File "/usr/local/lib/python3.6/base64.py", line 87, in b64decode
    return binascii.a2b_base64(s)
binascii.Error: Incorrect padding

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 32, in <module>
    args.func(args)
  File "/usr/local/lib/python3.6/site-packages/airflow/utils/cli.py", line 74, in wrapper
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/airflow/bin/cli.py", line 1151, in connections
    new_conn = Connection(conn_id=args.conn_id, uri=args.conn_uri)
  File "<string>", line 4, in __init__
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
    manager.dispatch.init_failure(self, args, kwargs)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 187, in reraise
    raise value
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/state.py", line 411, in _initialize_instance
    return manager.original_init(*mixed[1:], **kwargs)
  File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 695, in __init__
    self.parse_from_uri(uri)
  File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 717, in parse_from_uri
    self.password = temp_uri.password
  File "<string>", line 1, in __set__
  File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 735, in set_password
    fernet = get_fernet()
  File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 174, in get_fernet
    raise AirflowException("Could not create Fernet object: {}".format(ve))
airflow.exceptions.AirflowException: Could not create Fernet object: Incorrect padding

BUT: adding the login info through the UI Connections tab works totally fine. I've tried changing passwords but that doesn't help. The command I'm using:
airflow connections -a --conn_id first_conn --conn_uri postgresql://jgage:password@domain:port/schema
Any ideas?

The exports in entrypoint.sh weren't working - not sure why

Any idea why this problem was occuring? I'm experiencing the exact same problem and have no clue on why the exports aren't working.

I don’t know either. I have it so that my Makefile exports the key directly in the shell every time I build a container, but then I can’t view the connections in the UI. Super weird

Look at script/entry point.sh - you’ll see that a Python command is being run and exported as an environment variable to create the Fernet key
Copy the Python code and package it into an export statement with the env variable name FERNET_KEY
In config/airflow.cfg, the fernet key is being defined as $FERNET_KEY, so its meant to pull from whatever you set the env variable as
Whenever you run a container, run that export statement - I do it through Docker exec in my Makefile

Note: this is definitely not the optimal way to do it, but I haven’t been able to get it to work at all in any other way. I tried putting it at the end of the entrypoint script, I tried running it as a command in the Dockerfile, but to no avail

@gagejustins - I'm working on this same issue right now as well.  I will let you know what I come up with.

Please do, so I don't need to be embarrassed when I show my personal Airflow setup to my coworkers 🥇

Here are my logs related to this issue:
/entrypoint.sh: line 5: REDIS_HOST:=redis: command not found
/entrypoint.sh: line 6: REDIS_PORT:=6379: command not found
/entrypoint.sh: line 7: REDIS_PASSWORD:=: command not found
/entrypoint.sh: line 9: POSTGRES_HOST:=postgres: command not found
/entrypoint.sh: line 10: POSTGRES_PORT:=5432: command not found
/entrypoint.sh: line 11: POSTGRES_USER:=airflow: command not found
/entrypoint.sh: line 12: POSTGRES_PASSWORD:=airflow: command not found
/entrypoint.sh: line 13: POSTGRES_DB:=airflow: command not found

The variable assignments are being executed as commands.

I had the same issue, it was due to the fact that my Fernet keys were not the same on all the Airflow containers (webserver, scheduler and workers), which are being passed into Airflow via the Docker Env FERNET_KEY. Once I confirmed that all the containers had the same Fernet key this problem was solved.

I have v1.10.1 and airflow initdb for postgesql 11 failed too.
I required:
--python
>>> from cryptography.fernet import Fernet
>>> fernet_key= Fernet.generate_key()
>>> print(fernet_key.decode())
somelongkeyval
then

--bash
export FERNET_KEY='somelongkeyval';
airflow initdb;

In my case, the fernet_key was loaded as '{FERNET_KEY}' when I tested 'airflow test ...' command.
(I wrote some logs at the 'airflow/models/init.py' file)
It means that os env. variables are not called correctly when the 'airflow.cfg' is loaded.
So I wrote my fernet_key to 'airflow.cfg' directly.
[core]
...
fernet_key = f0e......
...
And It worked!

HI
In my case, this work for me:
bash
FERNET_KEY=$(python -c "from cryptography.fernet import Fernet; FERNET_KEY = Fernet.generate_key().decode(); print(FERNET_KEY)")
export FERNET_KEY=$FERNET_KEY

If you are looking for a consistent fernet key across executions to run on your host for development, you can use
: "${AIRFLOW__CORE__FERNET_KEY:=${FERNET_KEY:=$(python -c "import platform, hashlib, base64;print(base64.urlsafe_b64encode(hashlib.scrypt(platform.node().encode('utf8'),salt=platform.os.getenv('USER').encode('utf8'), n=2, r=8, p=1, dklen=32)))")}}"

on script/entrypoint.sh and it will create a consistent key.

I was running into the same issue on Mac and found out it was my misunderstanding of how shell works:
The way I interact with the container was by docker exec -it {my-container-name} bash, which opens another process beside the original process that runs entrypoint.sh
Since it's a separate process, it doesn't have access to the environment variables exported by the entrypoint.sh. Therefore if I do echo $AIRFLOW__CORE__FERNET_KEY it returns null value, which is the reason of Incorrect padding errors
Now if I do source /entrypoint.sh before running airflow connection, the connection will be successfully added, but that means the fernet_key used will be different from the airflow.cfg. Therefore I guess the best way is to manually generate a fernet_key and pass it as an environment variable when you do the docker run, e.g. --env FERNET_KEY={my_key}
Hope this helps

Had the same issue, followed these steps to generate the Fernet key and replaced it in the airflow.cfg file. Worked out well!

i was having no problems with this until i ran airflow resetdb... now it seems i cannot connect to the postgres instance any more and i get this error.

I'm using mount volume in Postgres container to save connections which I create in the first-run That way I think I'll be able to save connections across all container runs (I assume my understanding is correct about the way of saving airflow connections),  and then I spin up my containers (webserver and postgres) with local executor.  Then I create a connection and bring down containers and bring them up again. After that, I'm not able to edit the newly created connection. It gives me an invalid token error. Does anyone have a clue?
I've tried to set FERNET_KEY in the docker-compose file as suggested in the readme, but didn't help.

Hi @JavidY Could you please share steps for the below step
I created a custom volume on Postgres in docker-compose-LocalExecutor.yml to persist metadata

Hi @KarthikRajashekaran ,
For creating volume I've modified docker-compose-LocalExecutor.yml.
I've added a new section for volume under postgres container. Additionally, I've declared the new volume at the very bottom of the .yml file. The name (source) for the new volume is "airflow_metadata". You can pick whatever name you want. And destination for the volume  is "/var/lib/postgresql/data" which is the default location for database files for. That is where all metadata is written.
For postgres container in compose file now whole section looks like below.
postgres:
    image: postgres:9.6
    environment:
        - POSTGRES_USER=airflow
        - POSTGRES_PASSWORD=airflow
        - POSTGRES_DB=airflow
    volumes:
        - airflow_metadata:/var/lib/postgresql/data

And declaration of new volume at the end of file is like this:
volumes:   airflow_metadata:

Shoud I have below at the end of the file ?
And declaration of new volume at the end of file is like this:
volumes: airflow_metadata:

Got an error
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in "./docker-compose-LocalExecutor.yml", line 37, column 34

Please check below

I am having this issue on current Airflow 1.10.6. Will appreciate any hints.

@KarthikRajashekaran this is how my .yml file looks like:

@JavidY Thanks able to spin up .. I followed the steps you have mentioned 1-4
Have added connections and variable to UI . Stopped the container and re-ran the docker-compose ...I lost those connections and variables again

@KarthikRajashekaran did you rebuild the image after hardcoding fernet key into local entrypoint.sh file?
I can see that you're not using your local image but puckel/docker-airflow:latest. In this case, your webserver container is still using entrypoint.sh from puckel/docker-airflow:latest image. So, in a way your changes in entrypoint.sh is not regarded.

I have restarted using docker-compose . Then manually added the connections to UI ..
docker-compose -f docker-compose-LocalExecutor.yml up -d

That is ok. But before adding connections you need to change entrypoint.sh file as I mentioned in my second comment in this thread. You need to generate fernet key and hardcode it inside the shell file.
You need to carry out all the steps from my comment to achieve the desired result.

@JavidY It worked well .thanks a lot . One last help
In the airflow.cfg the sql_alchemy_conn is commented out
what is the syntax for postgre db

you're welcome @KarthikRajashekaran  :)

@JavidY I am trying to write to file in as below . but it failed
Error as
 No such file or directory: '/usr/local/airflow/tmp/snowflake_roles.csv

part of code as below
TMP_DIRECTORY = os.path.join(os.path.abspath("."), "tmp")
  with open(ROLES_PATH, "w") as roles_file, open(
        ROLE_GRANTS_PATH, "w"
    )

be shure to copy /paste all the output from
python -c "from cryptography.fernet import Fernet; FERNET_KEY = Fernet.generate_key().decode(); print(FERNET_KEY)"
including the trailing "="
Example.
python -c "from cryptography.fernet import Fernet; FERNET_KEY = Fernet.generate_key().decode(); print(FERNET_KEY)"
6cLsuD9kKqr70xN5PKlFgJuGahER3DKmWtyseR8dZIA=

in mac if you doble click on the key, it will not select the traling '='  🗡

for me setting this in my docker-compose.yaml worked
  webserver:
      build: .
      restart: always
      depends_on:
          - postgres
      environment:
          - LOAD_EX=y
          - EXECUTOR=Local
          - AIRFLOW__CORE__FERNET_KEY="<generated-key>"

I have the same issue while I was trying to add a new variable using the UI Admin tab -> Variables. The UI showed me an error message Could not create Fernet object: Incorrect padding
In my case, as @eduard-sukharev pointed out that Fernet key must be 32 url-safe base64-encoded bytes, but apparently I created one with illegal characters :joy:
Solution is simply, I created a new one using openssl rand -base64 32, put it in our secret storage (we use Vault), and did the following
airflow@cdcf48897012:~$ /entrypoint.sh airflow resetdb

The entrypoint.sh contains the routine of reading the secrets from Vault, so it has to go first.

To update for folks who may find this for a google search, this was happening for me because my key was not base64 encoded (no = at the end). Changing AIRFLOW__CORE__FERNET_KEY= so it had a proper value allowed me to resetdb

I will add this as another alternative if people want to still pull the image and use the SequentialExecutor for quick demos.
docker pull puckel/docker-airflow
YOUR_FERNET_KEY=$(openssl rand -base64 32)
docker run -d -e AIRFLOW__CORE__FERNET_KEY=$YOUR_FERNET_KEY -p 8080:8080 puckel/docker-airflow webserver

@javidy  and @zachliu I followed the steps you stated and I was able to run  /entrypoint.sh airflow db reset but still when I click on connection I get the error again.
Please I need help resolving this.

Can you send me the error logs
Regards,
Vénu Kasyap Tangirala

On Mar 14, 2022, at 10:43 PM, gabidoye @.***> wrote:

@javidy and @zachliu I followed the steps you stated and I was able to run /entrypoint.sh airflow db reset but still when I click on connection I get the error again.
Please I need help resolving this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.


Codes for vertex classification

Hi,
Your work is very impressive! Could you please provide the codes of GXN for vertex classification? Thanks!

Hello, thank you for this very interesting work. I'm also interested in the codes of GXN for node classification "Cora, Citeseer,pubmed"

Very good paper! I'am also interested in the code of GXN for node classification, could you provide it ? Thank you very much!


Bs5 theme (1st version)

Adds a bootstrap 5 theme that works ok with simple forms (it needs more work to work on all forms). It can be tested locally (http://localhost:8083/?id=MHL.731&theme=bs5). I came across with some problems that needed code changes:

OverlayTrigger doesn't accept ref anymore, it accepts a show prop instead. I solved this by showing/hiding the OverlayTrigger this way:
this.setState({show: true}); // works for bs5
this.overlayRef?.show(); // works for bs3
It's not an ideal solution since you have to remember to do these both in every component that use OverlayTrigger.
Panel has changed to Card and it doesn't accept the same props than the Panel (for example it doesn't accept the expanded prop). I solved this in the ErrorPanel component by removing the expanded prop from the Panel and adding in prop to Panel.Collapse and it seems to work for both bs3 and bs5.

Good work! I made some changes:

Add Panel.Footer to the theme interface, so a footer can be rendered in a style framework agnostic way (instead of having both bs3 & bs5 footer classes in the code)
OverlayTrigger accepts only show param, but not ref. bs3 theme implements the show prop and so doesn't need the ref anymore. This way the code using the theme interface doesn't have to know about the internals of the theme implementation. In general, we should avoid the need for passing refs to the theme components, as the code shouldn't assume what the internals behind the theme implementation look like.


Update VS Code Galley page -- broken link for code-cracker.github.io

Just want to send a quick note that the second link on your VS code gallery page  https://visualstudiogallery.msdn.microsoft.com/ab588981-91a5-478c-8e65-74d0ff450862 is broken and the link should be updated to code-cracker.github.io :smile:
Keep up the great work!

@BethMassi Thanks Beth, we will fix it.

@BethMassi Fixed. Thanks for letting us know.

Also fixed for the VB one.


"Title Case" and "Sentence case" in the headers in docs

Documentation Is:

[ ] Missing or needed?
[ ] Confusing
[ ] Not sure?

Please Explain in Detail...
Some of the page headers and sidebar items use "Title Case" and some of them use "Sentence case".
Your Proposal for Changes
Can be fixed quite trivially.
Example
No response

Could you assign me to this please.

Hey @AbhayKatoch, please feel free to submit a PR and/or kick-off a conversation on the scope of this change.

Looking through the files the only inconsistent file is https://github.com/chartjs/Chart.js/blob/master/docs/getting-started/installation.md which you already fixed in https://github.com/chartjs/Chart.js/pull/10816 so I think this can be closed 🤔

@LeeLenaleee Makes sense!


SWA fails to call slow API

I have a SWA built using Angular that is linked to a BYO Function App.  The Function App links to a Serverless Azure SQL Database.
The system works fine until the SQL Database falls asleep.  When this happens, the function encounters errors while it wakes SQL up.  The function is configured with a long SQL Connection Timeout (180 seconds).  It also uses EFCore with resilient connections (default configuration provides 6 retries).  The combination of SQL Connection Timeout and EFCroe resiliency works well outside of the SWA environment - the function automatically retries, per configuration and ultimately succeeds in getting data from SQL after waking it up.
However, the same is not true when the function is linked to SWA and invoked from the client.  The client appears to receive an HTTP 500 error after about 30 seconds.  However, when viewing the log stream of the function app, it appears to continue running and completes its job - even after the client fails with the 500.  It appears as if there is some sort of load balancer/proxy in between the SWA and BYO function that has set a timeout value of about 30 seconds.  Is this true?  Is there a way to adjust this timeout?

I dug deeper into this problem and found that the issue really surrounds calling a slow API.  There's a repro available here: https://github.com/jvannor/SlowApiTest
This repro has an Angular app with two buttons.  The first button calls a "fast" API and works fine.  The second button calls a "slow" API (C# function with a thread.sleep in it).  The slow button always fails at/around the 45 second mark.
Run the slow API call under fiddler and you'll see it comes back like this:
HTTP/1.1 500 Internal Server Error
Transfer-Encoding: chunked
Date: Thu, 12 May 2022 14:55:22 GMT
14
Backend call failure
0

Ah!  I'm having the same issue!  I'm using managed functions instead of BYO, and my function succeeds in about 45 seconds and shows a 200 response in Application Insights.
The client shows a 500 response, however, with "Backend call failure" inside it.  There's not much to go on, but I suspect a similar issue to @jvannor based on observed behavior.  I've tried to adjust timeouts anywhere I can, but there's still something messing it up.
Note that I also tried turning on the Enterprise-edge feature, and that exhibited the same behavior but with a 504 error message.

I am seeing this issue as well for an managed function that returns ~700KB data and takes ~50+ seconds because my function was waiting to complete responses from upstream api. A simple retry (reload page) seems to then complete the request magically in 4-5seconds.

I'm also experimenting the exact same issue as @trademark18 mentionned.
Managed function and 45s to get a 500 error message with "Backend call failure".

I also get the same error, 500 return code and "Backend call failure". However, in my case, this already happens after 10 sec.
As a first step towards a fix, could the "Backend call failure" please be logged to Application insights. It's so strange to see the function succeed with 200, don't see anything in the trace nor exception logs but still get a 500 error as the response.

Hi I also see the 500 "backend call failure". I use Azure Static Web Apps with bring your own function. I have one function that takes about 60 seconds to complete and usually the first time I call it after a re deployment it returns this error. There AI logs show that the function completes with 200 so I currently have no means to track down where this is coming from.

Hi everyone, the timeout for any SWA or SWA API request is 45 seconds. It seems like these are long running operations that could be better achieved with async patterns https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview?tabs=csharp-inproc#async-http

Is there a way to increase this timeout or is there no other way around it than changing my deployed infrastructure (e.g. switching to durable functions)?

Hey, how do we increase this?

This continues to cause problems. It's clear that SWA is for limited scenarios as this problem could be resolved but clearly MS is busy elsewhere.

For me the 500 responses were caused by missing / outdated settings. In Azure Portal I navigated to Settings => Configuration and copied the relevant settings from my local.settings.json. Solved :)

This seems like a critical issue for adoption for any enterprise/well-used website.

Hi everyone, the timeout for any SWA or SWA API request is 45 seconds. It seems like these are long running operations that could be better achieved with async patterns https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview?tabs=csharp-inproc#async-http

@thomasgauvin  If you are uploading a stream from the frontend, durable functions are not going to help here. This really is a blocker to use BYO function with SWA. Why not make the timeout configurable?
Consumption plan functions have a default timeout of 5 min, premium functions even 30 minutes.

This needs to be fixed. We're trying to run a stream response which could take more than 45 seconds, and wouldn't fit an async paradigm.

This 100% needs to be fixed. Will likely have to switch away from Azure because of the problem.


Updated client and play json

Hey, thanks for the PR. However, we are still using spray-json, so I can't merge this PR. If there is some way to swap out the JSON library, I'm happy to discuss it.

We've added support for play-json, making this PR moot.


Provide a Save command for the bot file configuration (don't save without asking)

Use this query to search for the most popular feature requests.
Is your feature request related to a problem? Please describe.
My bot file settings were gone when I changed them in the Bot Framework Emulator.
Describe the solution you'd like
I changed the endpoint settings in the Bot Framework Emulator to test the same bot at another endpoint. I did not know that it would save it directly to my bot file and overwrite my previous settings.
Describe alternatives you've considered
When I change the settings in the Bot Framework Emulator I would like to have a save command to save my settings to the bot file. As long I have not explicitly saved my settings in the Bot Framework Emulator I do not want my bot file changed.
Additional context
I mean the settings page when I right-click the an endpoint (e.g. development or production) and click on "Edit configuration".
[enhancement]

This is closely related to #1172. Even if it's by design for the emulator to edit your .bot files, that isn't clear. It's very easy to accidentally delete your endpoints/services.

Adding @mewa1024 for design consideration.

Changing the button from "Submit" to "Save" makes sense to me.

The text have been changed to 'Save' in #1296


Fix Edge API

Change userAgentGenerator.py to use lowercase keys in getEdgeVersions
Fixes  #232

Interesting, guess this fixes a bug? How do you reproduce, just by deleting sessions folder and logging in?

Nice catch, thanks!


Update for the response on the /vms endpoints

Is there any additional context for this change? I'm assuming y'all are just filling in missing fields but would be nice to know for sure.


Update ReadMe Test Badges to reflect tests on Main not latest PR

Update ReadMe Test Badges to reflect tests on Main
title

created failing draft diffs, badges stayed green


Idea/Enhancement: Show a list of projects for commands where one is required but not supplied

I've (partly, no solution support) implemented the command to list projects, and I got to thinking that maybe Forge could show a list of available projects (like the template list when making a new project) for the commands where a project is required but the supplied in the arguments.
Example: forge.exe list files would then list the available projects and wait for a selection instead of doing nothing.
I haven't used Forge enough for "real world" work yet to know if it would bring enough value to make it worth having or if it is preferable in a general workflow to have Forge do nothing if the project argument is missing.
(Also after my brain woke up again I realized this was a better place to discuss it than on slack.)

I'm not really sure what is "real world" Forge usage - I've been using it mostly as utility for Ionide's project management, and in this part I don't use any "interactive" commands.

This is very out-of-date now (I just stumbled back past it) and not really in any kind useful with how Forge is used presently, so I'll close this again.


multiple ports and networks in blockade.yml

is there a way to expose multiple ports and networks in blockade?
bitcoin2:
image: bitcoinnetwork_bitcoin2
ports:
- {19200: 19200}
- {19201: 19201}
networks:
- front-tier
- back-tier
container_name: bitcoin2
something like this does not work?

you can specify multiple ports for a container, like:
ports: {19200: 19200, 19201: 19201}

However there is no support for multiple networks. What is your use case? I don't have a need for this at the moment, but I will consider it for a future enhancement. Thanks!


Use start, not run when starting containers.

This is really about separating the creation of a container from the running of the container (which are currently combined, but separate from building the image.)
Is there power in that separation?

Would be helpful if we want to have real pet containers.
Currently, each run is ephemeral.
Not sure if I want to go 100% of the way there, though.


query: is not a valid json string

I am getting the following exception when firing this command
esxport -q '{"query": {"match_all": {}}}' -i index_name -o index_name.csv
Error: Error: Invalid value for '-q' / '--query': '{query: is not a valid json string, caused Expecting value: line 1 column 1 (char 0)
What am I doing wrong?

Strange. Works fine for me.

Something related to windows.
Do you have wsl , git or msys2 installed ? Can try in those terminal instead of windows CMD.

Closing as no additional info was received.


CORE-6714: DP2: Ensure java doc jars Published correctly for runtime-os

Publishing of the necessary javadocs for the following:

corda-combined-worker
corda-db-admin
corda-db-admin-impl
corda-json-serializers
corda-simulator-api
corda-simulator-runtime

combined-worker javadoc jar doesn't appear to be being generated/published on the pipeline stages. Will need to investigate further tomorrow. FYI @LizR3


Feature request: Add ignored_datas like a ignored_params

Feature description
Add ignored_datas like a ignored_params, to skip some part of data.
Use case
Is there a specific goal that this would help you accomplish, or can you provide any other context about how you would like to use this feature?
In case of POST method some details of requests put in data field. Because some piece of data could contain information which is not suitable for cache key.
Workarounds
Is there an existing workaround to accomplish this?
It looks like not
Plan to implement
Are you interested in submitting a PR to implement this?
I'm not sure that I'm ready to do that.

Good news, ignored_parameters already applies to keys in a JSON request body:
https://requests-cache.readthedocs.io/en/stable/user_guide/matching.html#selective-parameter-matching
Do you have a content type other than JSON that you want this to work with?

For sure your approach is suitable for me.
In my case I'm trying caching POST request like this:
async with aiohttp.ClientSession() as session:
    async with session.post(url,
                            json={
                                'from': 'some datetime object in ISO fromat',
                                'to': 'some datetime object in ISO fromat',
                                'parameter': 'some data'}
                            )

But to and from fields should be ignored at all.

Ah, if you're using the json argument, I believe ignored_params will already work for you:
from aiohttp_client_cache import CachedSession, SQLiteBackend

cache = SQLiteBackend('demo_cache', allowed_methods=['GET', 'POST'], ignored_params=['to', 'from'])

async with CachedSession(cache=cache) as session:
    r = await session.post('https://httpbin.org/post', json={'to': 1, 'from': 1, 'parameter': 1})

    # If 'to' or 'from' change, it's still a cache hit
    r = await session.post('https://httpbin.org/post', json={'to': 2, 'from': 2, 'parameter': 1})
    print(r.from_cache)

    # If 'parameter' changes, it's a cache miss (response will be cached under a different key)
    r = await session.post('https://httpbin.org/post', json={'to': 1, 'from': 1, 'parameter': 2})
    print(r.from_cache)

Give that a try and let me know if that does what you want.
I haven't advertised that feature yet in the docs because IMO it's not quite complete, since it only handles a request body passed via json. The part that's not implemented yet is a request body passed via the data argument that's already encoded, which is a bit trickier to handle since it might be application/json, application/x-www-form-urlencoded, multipart/form-data, or an aiohttp.FormData object.

Hello!
Sorry for a long answer, I wrote simple flaks server and http client based on your lib. It looks ok.
But on other hand I still have the issue with my app. I will investigate it deeper and get back with results later.

Sure. What kind of issue are you having with your app?
It may be unrelated, but generally Flask and asyncio don't mix well. You can technically use async functions in Flask, but it won't be truly async since WSGI uses a single worker and doesn't have native async support. You may get better results with either:

requests + requests-cache + Flask, or
aiohttp + this library + either the aiohttp web server or an ASGI web framework like FastAPI or Quart

I'm closing this for now, but feel free to open another issue if you have any more problems. Or we can reopen this one, if you or someone else need this to work with something other than a request body passed via the json argument.


Minor fixes

Various minor changes:

Fix a heading
Disable the automatic "Overview" heading
Fix formatting of term-definition lists
Set a Git attribute for markdown files

@swift-ci Please test.

@swift-ci Please test.

@swift-ci Please test.
Retrying because the failure looks like a CI issue:

dyld: lazy symbol binding failed: can'''t resolve symbol _swift_task_create in /Users/ec2-user/jenkins/workspace/pr-swift-book-macos/branch-main/swift-book/.build/plugins/Swift-DocC/cache/Swift_DocC because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
dyld: can'''t resolve symbol _swift_task_create in /Users/ec2-user/jenkins/workspace/pr-swift-book-macos/branch-main/swift-book/.build/plugins/Swift-DocC/cache/Swift_DocC because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded

@swift-ci Please test.


It stoped working

After I updated to Obsidian 0.15.6, clicking on any header in the sidebar does nothing. It doesn't jump to that header in the file editor.
Please help.

Seconding this - I'm having the same issue

yeah,I encountered the same situation。
in quiet-outline sidebar，Every time I click, the label will be expanded。
clicking on any header in the sidebar does nothing

I noticed this issue and it will be fixed in couple of days. 😉

I noticed this issue and it will be fixed in couple of days. 😉

Nice

fixed in 0.3.2 ✅

It works again indeed ! Thanks for this quick fix.

Thank you!


Create Posts “heard-it-on-the-radio”

Automatically generated by Netlify CMS

👷 Deploy Preview for enchanting-chaja-c384e5 processing.

Name
Link

🔨 Latest commit
b58c2c5efb438b4a982bf2152b92a501c6739618

🔍 Latest deploy log
https://app.netlify.com/sites/enchanting-chaja-c384e5/deploys/66d3891b3ddf0300080bba1d


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/141 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 2f8443c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2f8443c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update packages to version 0.12.0 for next release

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Assigns vipb package versions to 0.12.0 (.. having built the <IP_ADDRESS> packages, thus packages automatically marked with <IP_ADDRESS>)
Why should this Pull Request be merged?
This is standard procedure for releasing new versions of this repo
What testing has been done?
Having installed all updated packages:

Verified that basic measurement generates, is runnable in its default state, and enumerates & functions in InStudio
Verified that the build spec works out-of-the-box and creates a measurement exe that enumerates & functions in InStudio
Made various modifications to the default measurement; it responded appropriately in Instudio

Changed logic in Measurement Logic.vi
Injected an error on the error rail of Measurement Logic.vi

Successfully ran NI-DMM example in LV / InStudio (although it is currently built against an older template, this example still works)
Ran G Autotests against installed VIs, all passed

Test adding a comment to see if a Bug is created.


Update node_exporter to v1.5.0

Issue #, if available: https://github.com/aws/eks-anywhere-packages/issues/741
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.14


Magic release

After #1102 is merged, I would like to make the release for the MAGIC project.

Will give you feedback on #1102 by the end of the day.


Add mini chatbot to the website

assign me i like to work on it, it give better user experience , add gssoc-ext,hactoberfast accepted and level 3 @MinavKaria

Hi @ruchikakengal! Thanks for opening this issue on Ratna Supermarket. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

You are good to go, I hope you meet the expectation

Ok
On Fri, 4 Oct 2024, 7:46 pm Minav Karia, @.***> wrote:

You are good to go, I hope you meet the expectation
—
Reply to this email directly, view it on GitHub
https://github.com/MinavKaria/Ratna-Supermarket/issues/50#issuecomment-2393821244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKL6BCSVF3URKVZSEET4CSTZZ2PNFAVCNFSM6AAAAABPLNKFYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTHAZDCMRUGQ
.
You are receiving this because you were assigned.Message ID:
@.***>

I would like to work on this issue. Can you please assign this to me ?

@CharuSivani you are good to go


runtime(java): Optionally highlight the :: token for method references

This token will be highlighted, similar to the arrow of
lambda expressions, whenever g:java_highlight_functions is
defined.
Also:

Improve the recognition of switch-case labels
(D-Cysteine).
Remove insignificant empty statements in syntax test
files.

References:
https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.13
https://github.com/fleiner/vim/pull/1

The suggested changes have been applied.

thanks!


Blink Shuts Down Account for Unsupported Log In

When using this plugin, after approximately 10 days, blink disabled my account reporting that this was an unsupported log in and may only utilize IFTTT or Alexa.  Once I removed this plugin, they were able to restore my account.

This is very unfortunate. I’d guess this is Amazon using a security excuse for locking down the cameras to only use Alexa. IFTT is not a solution unfortunately, in Europe it hobbled as a solution with very few options and in general I’ve found it unreliable. I’ll be looking for a more open platform to replace my Blinks.


Should we Use The Points in the CSV instead of Team Id ?

As mentionned by Jérôme Lévesque, there might be a difference between the team Id (from 1 to 14) and the loading zones (i.e. "zone de chargement" ZCi) in the map.
Thus, should we use the data in the CSV to figure the right numbers ?

As just posted by the teacher, here is the right mapping between differents terms :

Team X
Loading zone X
ZC X

Thus, I suggest we swap the term "team_id" to "loading_zone" to take into consideration that there might be loading zones not owned by a "grue team".


Update pixels.json

Checklist

[ x] I only edited the _data/pixels.json file.

[ x] I entered the username in the pixels.json that I'm also using to create this pull request.
[ x] I acknowledge that all my contributions will be made under the project's license.

Changes only pixels.json


fix for #104 site column not exists on adding to existing content type

fix with check for existing field, if not - log for debug and throw an error, with the same description like the debug log, without description the bug in the pnp:templatexml is not findable for the end user, using powershell or any adapted sample code

Hi @braegelno5, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Hi Torsten,
Unfortunately in this PR we have almost the same issue of the previous one (PR#356). I cannot do proper testing or solve the conflicts without the source branch. Please re-submit your PR keeping the source branch alive. If you have any issue keeping the source branch alive, please let us know and we will be more than happy to support you in managing the task. We're afraid about not being able to merge this, but I will close this PR, waiting for a new one. Thank you again.


(DO NOT MERGE) Quick fix to use local webtransport crates

Until a new version of webtransport-proto can be pushed to crates.io

Assumes a checkout of webtransport-rs alongsize moq-rs

Address an issue with WebTransport handshakes that appears with Chrome 117+.

Fixed in 5e4eb420c0922c6b82230775f5ead3e6b11950e6


Support additional Kaniko options

Is your feature request related to a problem? Please describe.
I am running an internal registry in my kubernetes cluster and as such I am not using SSL.
Kaniko seems to offer an --insecure option which is not available on this plugin.
Describe the solution you'd like to see
Kaniko doesn't seem to have that many flags and it should be possible to support them all.
Describe alternatives you've considered
Instead of keeping EXTRA_OPTS itnernal expose it to the users. It kind of goes against the idea of having settings but that the only other solution.
Additional context

@benjamin-bergia thanks for opening this issue. Would you be up for submitting a PR? 🙂

I might have some days next week to give it a go.

Hi @sagikazarmark, I am sorry I spend a week on kaniko and despite all my changes I still can't get it to work for me.
I ended up moving to buildah and as such I won't be able to provide anything for this issue


[New Command] Ensure-DbaLogin

Is this:

[x] feature

Use Case
Accelerates deployment scenarios by ensuring the necessary logins exist.
Details
A new command that makes sure a login exists on an instance and has the necessary settings/permissions.
Example usage:
Get-Content instances.txt | Where-Object { $_ -like "uat*" } | Ensure-DbaLogin -Name "foo" -Privilege "sysdamin" -DefaultLanguage "British"
Get-Content instances.txt | Where-Object { $_ -like "dev*" } | Ensure-DbaLogin -Name "bar" -Privilege "dbowner" -DefaultLanguage "British"

Sooo ... basic usage:

Accepts [DbaInstanceParameter[]] as input from pipeline
Can specify all default user settings
Supports all system wide privileges in any combination
Supports per-database privileges (one parameter per privilege, accepts array of databases)
Supports parameter -Mode ([DbaMode]) with default mode "Lazy", determining behavior when a database doesn't exist

Hey @FriedrichWeinmann - nice idea! But Ensure is not an approved verb.
Chrissy

Damn!
How about New-DbaLogin with an -Update switch that makes it not error out on an already existing user? (Which a command with the New- Verb should by default)

Based on PR sounds more like a Test-DbaLogin?
On Jun 14, 2017 11:20 AM, "Friedrich Weinmann"<EMAIL_ADDRESS>wrote:

Damn!
How about New-DbaLogin with an -Update switch that makes it not error out
on an already existing user? (Which a command with the New- Verb should
by default)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/1447#issuecomment-308483469,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKr2mxFfsBl58jMvN7Oyqy4hjK6IzVn5ks5sEAhjgaJpZM4N6Dxw
.

"Test-" performs no changes. This one does.

It seems to me that if New-Item -Force creates or replaces a file (or whatever) then New-DbaLogin -Force is what we want to do here.

Ok there is no Cmdlet called New-DbaLogin apparently. I'm going to gather new information and then form a new opinion!

Ok so I think New-DbaLogin should wrap around Add-SqlLogin, with splatting, unless -Force is specified. Then I think the easiest path would be

Get all the users, server roles and server perrms associated with the login
Drop the login
Create the login with Add-SqlLogin
Reassocaite the users with the login
Reassocaite the users with the server roles
Reassocaite any preexisting server permissions and roles.

However I think some paramaters passes to Add-SqlLogin could conflict with existinf permisions, i.e. DENY vs GRANTs.

Cleaning up issues...
Someone wants to tackle this can re-open it.


Expandable commit bodies

UPDATE: Here is how it looks right now:

Original post
I've taken some time to try to work on some kind of solution to the expandable commit message bodies that was talked about in #2939 and #2944, but trying to make it work like it does on GitHub and GitLab. It is however a very rough work in progress as I've never programmed in Go before nor have I much experience with JQuery.
There are several issues with this right now:

~It shows the expand button for every commit, even if it's not required.~
~The commit bodies doesn't expand properly, the text get squished together in one line and I'm not sure how to display it over several lines~
~There's quite a bit of code duplication going on with the commit bodies~

I'd like a helping hand with this to figure out how to best solve it, as I'm not a Go programmer.

You should add function that checks if message contains newlines and returns true if it does and false otherwise. This way you can add:
{{if IsMultilineCommitMessage .Message }}
<button ....
<p class="commit-body" ....
{{end}}

Where can I find how .Message works? It seems it always contains a newline and it makes my function always return true.

Okay, I've fixed all the commit having the box for showing the commit body, now I've just gotta figure out how to properly render it in HTML.

Add comments to public functions

I've managed to make it place the commit bodies somewhat properly into the HTML now, my biggest hurdle now is getting the cells to stop moving when you expand the commit bodies. The image below shows what happens, when you press the [...] button it moves the commit time, avatar, username and SHA-code into the middle of the cell, which makes the whole layout jump around when you press it.
How would I stop that from happening?

Also, where do we display the commit messages in Gitea? I need to update all the places where we show the commit message to this new format.

To stop jumping you need to add vertical-align: top to css

I've updated the code with the suggestions from you guys, but I also changed the vertical-align setting from top to baseline, otherwise the text gets ever so slightly bumped upwards.

I've fixed a few other issues, however there are some things I want to change but I'm not sure whether they are out of the scope of this request, namely properly listing commits in issues and pull requests.

Do only one thing in PR. It's better to submit multiple PRs. You also need to do make generate-stylesheet to update index.css

Like this? I ran make generate-stylesheet and ran make stylesheet-check locally and it passes there.

@sondr3 yes. Now you need to add missing comments:
/srv/app/src/code.gitea.io/gitea/modules/templates/helper.go:283:1: comment on exported function RenderCommitBody should be of the form "RenderCommitBody ..."
19s
18
/srv/app/src/code.gitea.io/gitea/modules/templates/helper.go:301:1: exported function IsMultilineCommitMessage should have comment or be unexported

Weird, I must've looked at an old build log by accident because it gave an error on the stylesheets. I'll fix it tomorrow.

I've added comments like the output said but I still got the same message and locally I get a bunch of totally different errors. Any ideas?

Codecov Report

Merging #2980 into master will decrease coverage by 0.04%.
The diff coverage is 23.52%.

@@            Coverage Diff             @@
##           master    #2980      +/-   ##
==========================================
- Coverage   32.73%   32.68%   -0.05%
==========================================
  Files         267      267
  Lines       39189    39204      +15
==========================================
- Hits        12828    12814      -14
- Misses      24539    24570      +31
+ Partials     1822     1820       -2

Impacted Files
Coverage Δ

modules/templates/helper.go
50.35% <23.52%> (-2.12%)
:arrow_down:

models/repo_indexer.go
45.54% <0%> (-6.44%)
:arrow_down:

modules/indexer/repo.go
60.86% <0%> (-2.61%)
:arrow_down:

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 6ad4990...f55878c. Read the comment docs.

Alright, the tests are passing. I had to force push the latest commit again for it to properly test it for some reason, but hey. If anybody wants to give this a go I'd appreciate it!

LGTM

LGTM

@ethantkoenig needs your approval.

Alright, fixed the spaces not being tabs. Given that this pull request contains some 20 commits, should I squash them together or just keep them as is?

@sondr3 just keep them as is. We will merge with squash.

LGTM


*_PRELOAD_WEBPACK_ENTRY is not correct under product mode got from renderer process

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.0.0-beta.64
Electron version
v19.0.8
Operating system
Windows 10 (1826)
Last known working Electron Forge version
No response
Expected behavior
_PRELOAD_WEBPACK_ENTRY is not correct under product mode got from renderer process.
It will get _...webpack*renderer*renderer*{entry_name}\preload.js_.
The root cause is in WebpackConfig.ts line 92.  return `require('path').resolve(__dirname, '../renderer', '${entryPoint.name}', 'preload.js')`;
  getPreloadDefine(entryPoint: WebpackPluginEntryPoint): string {
    if (entryPoint.preload) {
      if (this.isProd) {
        return `require('path').resolve(__dirname, '../renderer', '${entryPoint.name}', 'preload.js')`;
      }
      return `'${path.resolve(this.webpackDir, 'renderer', entryPoint.name, 'preload.js').replace(/\\/g, '\\\\')}'`;
    }
    // If this entry-point has no configured preload script just map this constant to `undefined`
    // so that any code using it still works.  This makes quick-start / docs simpler./*  */
    return 'undefined';
  }

For the solution, please reference to line 75
  return `\`file://$\{require('path').resolve(__dirname, '..', '${inRendererDir ? 'renderer' : '.'}', '${entryPoint.name}', '${basename}')}\``;
Actual behavior
Cannot get right path in renderer process.
Steps to reproduce
Print the preload entry in renderer process.
eg.
console.log(ELECTRON_TABS_PRELOAD_WEBPACK_ENTRY);
Additional information
No response

Merging into https://github.com/electron/forge/issues/1590


Auto start on reboot option

Is your feature request related to a problem? Please describe.
Running dashboard on Ubuntu 21.04 on a test server and seems to work perfectly fine other than adding peers although i use a different WG setup so may related to that.
One thing i have however noticed on all builds is having to log back in via putty and start the service after any server reboots which can be annoying at times.
Describe the solution you'd like
option within settings to set or add set dashboard to load on boot or instructions how to add a script / job to do this if desired.

This is a great idea, i will add this into the next version

I think this issue can be resolved with systemd.

This issue resolved in the next released ;)

Sorry on late response have followed the guide to startup on a reboot although downloaded file and edited and reuploaded as dont like the VIM editors in putty.
Good news is though it worked for me running ubuntu 21.10 which is my test server next steps will be to get dashboard loaded on to my PROD servers on 20.04.3 which i did have original dashboard on but loving the latest builds and always seems to be getting better so keep up the great work.


CB-11368 android: Resolve content URLs produced by contacts plugin

Platforms affected
Android
What does this PR do?
This PR does a safe assigment of returning value from resourceSizeForCursor to variable 'size'.
What testing has been done on this change?
Manual testing
Checklist

[x] ICLA has been signed and submitted to<EMAIL_ADDRESS>[x] Reported an issue in the JIRA database
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.

This bug was happening because of invalid assignment of null value to variable of primitive type

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link

LGTM


Patch release for fixing cyclical dependency

This release fixes an issue where it was not possible to follow the deprecation notice for moving to createApp from @backstage/frontend-defaults due to cyclical dependencies.

Closing as not feeling it's worth it right now, can migrate in 1.32.0 when it's been fully removed instead.


Measurement testing required for Interrupt processing on software

For estimation performance we need measurements about how fastly interrupts processed in processor in classical variant and how fastly processed with this component

Full time required for interrupt from component to processor is **583 clock periods (2.915 us)**, time to transit processor from idle state to interrupt handler is **176 clock periods(880 ns)** using this component, which requests data from device and process interrupt by internal logic.
Current version API perform processing without data output to terminal is **407 clock periods (2.035 us)**.
Can I improve this value? I dont know, but after estimate interrupt processing without component, i will analyze this.


Fix(chrome-only): Change autocomplete from 'off' to 'nope'

In order to fight chrome's non-standard behaviour on inputs.
fixes: https://github.com/algolia/autocomplete.js/issues/247
See above issue to get more context.
ToDo: regenerate dist files

Coverage remained the same at 88.842% when pulling 1b92e666ba8211031910323f3587f6a737e21620 on sdwvit:patch-1 into 1fa725f81ebdef7cd05804b1bede904babd0f13f on algolia:master.

Thanks! I'll take a look and see the impact of this

Could this get merged? Running in this problem as well with places.js.

@mbardelmeijer & @sdwvit, sorry for the delay here; I have released this as 0.34.0 because I finally had time to confirm it worked as I expected yesterday

Can 0.35.0 be tagged with the reverted code?

has been released @king724

Thank you!!

for future reference, you could have used 0.33.0 without issue if you were having the issue @king724


fixed dashboard affinity spacing

What this PR does / why we need it:
fixed dashboard affinity spacing
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

I hit the same bug today, and was going to open the same PR. @desaintmartin or @kfox1111, any chance we could move this one along?

/lgtm


chore: project addition by khushi

Add a new project to the list
I want to add a Fiverr Clone project by creating a new card.
please assign under gssoc
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

@khushimarothi We are not providing any labels for project additions as they are not associated with solving any issues.

Okay so I am closing this one and will create a new that will address an issue 😊


Formatter config can be a map

The documentation mentions that you can configure the logger like this:
:logger.update_handler_config(:default, :formatter, {Basic, []})
However, this will give a dialyzer error, because :logger.update_handler_config requires the options to be a map: https://www.erlang.org/doc/apps/kernel/logger.html#update_handler_config/3 and https://www.erlang.org/doc/apps/kernel/logger.html#t:formatter_config/0.
This PR changes the format/2 callback to supports opts that are maps and updates the docs so that users don't get dialyzer errors.

coverage: 100.0%. remained the same
when pulling 374e0b9abb406a2e540ffd4c17973ed6c8dd5454 on qdentity:fix-logger-opts-maps
into a43bcd39021c4df16c657f446b71e1e9d62fbb17 on Nebo15:master.


add to email new process information

@AndreeaDora - where are we standing with this, do we managed to fix the test? was the logic fixed?

@soninob - we did  not manage to make the test work. The implementation is working but the test is not working.


Bug report test case 9

Tested Version
v0.0
Description
The code compiled but it shouldn't. There are too many registers on a line
Steps
Create example.asm with a line of code: add ra rb rc rd
Compile and run assembler.exe
cmdline: assembler.exe example.asm example.bin
Context
Doing the test cases before the pull request: "Merge of preprocessor as of 2/16
Actual Result (optional screenshot)

Security Criteria
3
Discovery/Resolve Date
02/16/24
Expected Result
Send an error
Possible Solution
//
Other
//

This issue was resolved in this commit by adding a check after a third param for non null values.
Code added:
if ((token = strtok_r(NULL, " ", &saveptr)) != NULL) {
        printf("Error: Too many arguments passed in operation on line: %" PRIu64 "\n", *lineNumber);
        line->mnemonic = SKIP;
        line->lineNumber = *lineNumber;
        line->param1_t = NULL_;
        line->label = NULL;
        return GENERIC_ERROR;
    }


BotConfiguration backed ICredentialProvider

Adds the BotConfigurationEndpointServiceCredentialProvider which is
an ICredentialProvider implementation that can be used to provide
credentials from an endpoint service defined in a .bot file.
Fixes #1164

DO NOT MERGE THIS YET
This is just to get some discussion started on the implementation #1165.

This takes the approach of referencing Microsoft.Bot.Connector from Microsoft.Bot.Configuration, that should still be decided on.
This needs unit tests, I'll write those as soon as there's agreement on whether or not this even moves forward.

Here's what this could look like in typical Startup.cs:
 services.AddBot<MyBot>(options =>
{
    // … other options ...
    options.CredentialProvider = BotConfigurationEndpointServiceCredentialProvider.Load(_hostingEnvironment.EnvironmentName);
});

This particular method uses the BotConfigurtion::LoadFromFolder method under the covers to load any .bot file from the current directory. In reviewing the code you can see there are a couple of other overloads to help with other scenarios such as specifying the exact file or already having a BotConfiguration instance from some place else.

Wrote unit tests, but fully expect one test to fail right now which is something we should discuss. There is one method that calls BotConfiguration::Load which scans the file system for a .bot file and loads the first one it finds. Since the unit tests will either deploy a file or not, I can't have that test combined with a test that expects the file to be there. Do we:
a) remove the method from the API and force this to be the user's problem 😞
b) comment out this test for now 😢
c) use moles to intercept the call to the file system API 😭 💀

What's the plan for this change? I'm not sure what to do with the PR.

So this is totally up to you guys. I am floating is as a way to reduce the significant amount of boilerplate all of the samples had in place to read the endpoint from the .bot file. If there's agreement that bottling that all up in a reusable component that works within an existing extension point (e.g. ICredentialProvider) then I will happily polish this up. Note that this also ports over to JS/TS land nicely as well because they also have the credential provider concept there.
The big open question is the level of comfort around the dependency chain and someone other than me should be making that call. The cleanest solution involves introducing another package, but that might reduce discovery.

I was just thinking of this, and quite like it. Do you have time to chat about this tomorrow? I would be nice to rif on the "SimpleCredentialPRovider" that we have now, and see if we can improve it with our BotConfiguration plumbing.

Awesome, love to discuss. I am working with a partner all day tomorrow, but perhaps we can find a few extra minutes when I'm over at City Center on Thurs?? 😊

As we move away from BotFiles, having a credential provider that works directly with appsetttings.json, or with out BotConfiguration classes, seems the right choice. The existing "Simple" one pulls from appsettings but is probably too primitive.
I would like to revisit this as part for 4.4 amid the rationalization of our Config file story.

Closing the PR for now, as our changes around .bot files (their removal) impact this. We can revisit later this cycle, or in 4.5.


[ASK] Office Tool是否支持给Office软件启用Copilot？

如题

不

Why not?

很麻烦系

Please kindly explain how troublesome it is.

Please kindly explain how troublesome it is.

Copilot for Office is a paid service.


Non-composable Android apps

Can i use this library with an Android App that doesn't use compose? The implementation with gradle works fine, but when i tried to call the method in my OnViewCreated of a Fragment, I get conflicts, so I assume this library only works for Compose Apps?
Thanks!

Let's make it work! How would you like to integrate it in your app?

@juaparser It is possible today by using PermissionsUiContracts.RequestBackgroundLocation. I have added a sample app made with java and without compose. https://github.com/warting/permissions-ui/pull/81
Let me know if you would like to use it in some other way.


[bug] Delete doesn't update to imap server / IOException readStringUnti

Deleting an email in my inbox deletes it locally but does not delete it on the imap server.  It used to work.
When I look at folders I see this message for inbox:
IOException readStringUnti
Or
Exception: Message count -1
This is a big deal for me.  The inbox is large, and I get lots of spam I want to delete.

I turned on debugging, and looked at k9mail-errors.
There is a massage with subject Push error for INBOX.
Comtents below.
K9-Mail version: 5.006
Device make: samsung
Device model: SCH-I545
Android version: 5.0.1

java.io.IOException: readStringUntil(): end of stream reached
	at com.fsck.k9.mail.store.ImapResponseParser.readStringUntil(ImapResponseParser.java:356)
	at com.fsck.k9.mail.store.ImapResponseParser.parseTaggedResponse(ImapResponseParser.java:198)
	at com.fsck.k9.mail.store.ImapResponseParser.readResponse(ImapResponseParser.java:50)
	at com.fsck.k9.mail.store.ImapResponseParser.readResponse(ImapResponseParser.java:29)
	at com.fsck.k9.mail.store.ImapStore$ImapConnection.readStatusResponse(ImapStore.java:2775)
	at com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(ImapStore.java:2925)
	at com.fsck.k9.mail.store.ImapStore$ImapFolder.executeSimpleCommand(ImapStore.java:862)
	at com.fsck.k9.mail.store.ImapStore$ImapFolderPusher$1.run(ImapStore.java:3151)
	at java.lang.Thread.run(Thread.java:818)

There are also a lot of debug messages that look like this.
They have subject
IOException readStringUntil(): end of stream reached
K9-Mail version: 5.006
Device make: samsung
Device model: SCH-I545
Android version: 5.0.1

com.fsck.k9.mail.MessagingException: IO Error
	at com.fsck.k9.mail.store.ImapStore$ImapFolder.ioExceptionHandler(ImapStore.java:2208)
	at com.fsck.k9.mail.store.ImapStore$ImapFolder.expunge(ImapStore.java:2117)
	at com.fsck.k9.controller.MessagingController.processPendingMoveOrCopy(MessagingController.java:2342)
	at com.fsck.k9.controller.MessagingController.processPendingCommandsSynchronous(MessagingController.java:1997)
	at com.fsck.k9.controller.MessagingController.access$1000(MessagingController.java:111)
	at com.fsck.k9.controller.MessagingController$12.run(MessagingController.java:1935)
	at com.fsck.k9.controller.MessagingController.run(MessagingController.java:435)
	at java.lang.Thread.run(Thread.java:818)
Caused by: java.io.IOException: readStringUntil(): end of stream reached
	at com.fsck.k9.mail.store.ImapResponseParser.readStringUntil(ImapResponseParser.java:356)
	at com.fsck.k9.mail.store.ImapResponseParser.parseTaggedResponse(ImapResponseParser.java:198)
	at com.fsck.k9.mail.store.ImapResponseParser.readResponse(ImapResponseParser.java:50)
	at com.fsck.k9.mail.store.ImapResponseParser.readResponse(ImapResponseParser.java:29)
	at com.fsck.k9.mail.store.ImapStore$ImapConnection.readStatusResponse(ImapStore.java:2775)
	at com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(ImapStore.java:2925)
	at com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(ImapStore.java:2902)
	at com.fsck.k9.mail.store.ImapStore$ImapFolder.executeSimpleCommand(ImapStore.java:858)
	at com.fsck.k9.mail.store.ImapStore$ImapFolder.expunge(ImapStore.java:2115)
	... 6 more

The stack traces indicate that K-9 Mail reaches the end of the stream while parsing the response to a sent command. It's possible that the app sends an invalid command that leads to the server closing the connection to the client.
When debug logging is enabled K-9 Mail writes the commands sent to the server to Android's (in-memory) system log. Can you please try to get us these messages.
Instructions can be found here: https://github.com/k9mail/k-9/wiki/LoggingErrors

Yes, I'll get the system log info.  Unfortunately I won't be able to do all those debug logging extraction steps today (that is a LOT of setup steps!), but I'll get them done ASAP.
Is there any other data I can provide that'd be useful without having adb attached, beyond the k9mail-errors I've already included?

I got the log, but it's big; GitHub won't let me post it here. Please look here for the log:
https://drive.google.com/file/d/0B6AaBLBsShVbODJnVm5vcEtIdFU/view?usp=sharing
Suggestions eagerly welcome.  Thanks.

I've also posted the log here: http://www.dwheeler.com/misc/k9-log.txt - it's exactly the same file as on Google Drive, it's just in two places to make sure you can see the information.
If there's something else you need me to do to help debug, let me know.  Thanks.

Do you need any other info?

I switched to a different mail server with the same email, still fails.  Here's another K9mail internal error message..

-------- Original Message --------
From: K9mail internal ...
Sent: October 18, 2015 8:36:36 PM EDT
Subject: SocketTimeoutException: Read timed out
K9-Mail version: 5.006
Device make: samsung
Device model: SCH-I545
Android version: 5.0.1
com.fsck.k9.mail.MessagingException: IO Error
at com.fsck.k9.mail.store.ImapStore$ImapFolder.ioExceptionHandler(ImapStore.java:2208)
at com.fsck.k9.mail.store.ImapStore$ImapFolder.setFlags(ImapStore.java:2192)
at com.fsck.k9.mail.store.ImapStore$ImapFolder.moveMessages(ImapStore.java:1230)
at com.fsck.k9.mail.store.ImapStore$ImapFolder.delete(ImapStore.java:1258)
at com.fsck.k9.controller.MessagingController.processPendingMoveOrCopy(MessagingController.java:2328)
at com.fsck.k9.controller.MessagingController.processPendingCommandsSynchronous(MessagingController.java:1997)
at com.fsck.k9.controller.MessagingController.access$1000(MessagingController.java:111)
at com.fsck.k9.controller.MessagingController$12.run(MessagingController.java:1935)
at com.fsck.k9.controller.MessagingController.run(MessagingController.java:435)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.net.SocketTimeoutException: Read timed out
at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:728)
at java.io.InputStream.read(InputStream.java:162)
at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:149)
at java.io.BufferedInputStream.read(BufferedInputStream.java:234)
at com.fsck.k9.mail.filter.PeekableInputStream.peek(PeekableInputStream.java:34)
at com.fsck.k9.mail.store.ImapResponseParser.readResponse(ImapResponseParser.java:42)
at com.fsck.k9.mail.store.ImapResponseParser.readResponse(ImapResponseParser.java:29)
at com.fsck.k9.mail.store.ImapStore$ImapConnection.readStatusResponse(ImapStore.java:2775)
at com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(ImapStore.java:2925)
at com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(ImapStore.java:2902)
at com.fsck.k9.mail.store.ImapStore$ImapFolder.executeSimpleCommand(ImapStore.java:858)
at com.fsck.k9.mail.store.ImapStore$ImapFolder.setFlags(ImapStore.java:2187)
... 8 more

The new update fixed this bug.  THANK YOU VERY MUCH.  I'm closing this bug out.

On my S7 (Android 6) with K9 version 5.010 I can't delete mails on the server. It's very strange cause on my previous Smartphone S3 (Android 4.4.x) it worked pretty well. Any ideas?

Please raise a separate issue rather than commenting on this one and provide device logs.


Ability to Start Calendar on Time Tab

Sorry for filing so many tickets, but I have another feature that would  be really handy.  Right now there's no way to open the calendar on the time-picking tab.  This is controlled by this.state.tab in input-moment, but that state isn't set from any prop.
If there was either a way to pass a tab prop, and have this used as the initial state, or have some other sort of mode="time",  "showTime={true}", etc. that would be great.  I could even file a pull request for it, if you just let me know which prop to use.
Thanks.

This is enabled by #78.


Documentation for Harmonium's Styles without React

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

For feature requests: why should the behavior change?
It is hard to figure out from the documentation what styles and classes are available without react. It would be helpful to have something along the lines of the following to get a better idea:
http://tachyons.io/#style
https://tailwindcss.com/components
https://getbootstrap.com/docs/4.1/components/alerts/

I'm not going to fight this one going stale if there are no plans of action in place yet. If it closes we'll just create another one or reopen this one when the time is right for action


Manim mishandling imports or import confusion

Description of bug / unexpected behavior
My file structure is as follows:
# root of git repo
.git
└── project
    ├── __init__.py
    ├── utils
    │   ├── __init__.py
    │   ├── timeline.py
    │   └── utils.py
    ├── scenarios
    │   ├── __init__.py
    │   └── basic.py

I have a Scene defined in basic.py. basic.py also has an import from timeline.py. Whether I use an absolute or relative import I get an error when running manim render:
Using: from project.utils.utils import function
I get: ModuleNotFoundError: No module named 'project'
Using: from ..utils.utils import function
I get: ImportError: attempted relative import with no known parent package
The behavior is the same no matter what directory I run manim render from, e.g. in either the root folder or in the /project/scenarios folder.
I'm running manim render -pql project/scenarios/basic.py AnimateScenario
What am I doing wrong here from an import perspective / why is manim causing this behavior?
Expected behavior
Expect manim render ... to run successfully with current reasonable usage of imports in my project
How to reproduce the issue
Replicate folder structure above.
Logs
Terminal output

PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR

System specifications
System Details

OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)): Mac OS X
RAM: 16GB
Python version (python/py/python3 --version): 3.9.7
Installed modules (provide output from pip list):

❯ poetry show                                                                                 ✔  1889  22:48:50
attrs                             21.2.0    Classes Without Boilerplate
backports.entry-points-selectable 1.1.0     Compatibility shim providing selectable entry points for older implementations
certifi                           2021.5.30 Python package for providing Mozilla's CA Bundle.
charset-normalizer                2.0.5     The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
click                             8.0.1     Composable command line interface toolkit
click-default-group               1.2.2     Extends click.Group to invoke a command without explicit subcommand name
cloup                             0.7.1     Option groups and subcommand help sections for pallets/click
colorama                          0.4.4     Cross-platform colored terminal text.
colour                            0.1.5     converts and manipulates various color representation (HSL, RVB, web, X11, ...)
commonmark                        0.9.1     Python parser for the CommonMark Markdown spec
cython                            0.29.24   The Cython compiler for writing C extensions for the Python language.
decorator                         5.1.0     Decorators for Humans
distlib                           0.3.2     Distribution utilities
filelock                          3.0.12    A platform independent file lock.
glcontext                         2.3.4     Portable OpenGL Context
idna                              3.2       Internationalized Domain Names in Applications (IDNA)
iniconfig                         1.1.1     iniconfig: brain-dead simple config-ini parsing
manim                             0.10.0    Animation engine for explanatory math videos.
manimpango                        0.3.0     Bindings for Pango for using with Manim.
mapbox-earcut                     0.12.10   Python bindings for the mapbox earcut C++ polygon triangulation library.
moderngl                          5.6.4     ModernGL: High performance rendering for Python 3
moderngl-window                   2.4.0     A cross platform helper library for ModernGL making window creation and resource loading simple
multipledispatch                  0.6.0     Multiple dispatch
networkx                          2.6.3     Python package for creating and manipulating graphs and networks
numpy                             1.21.1    NumPy is the fundamental package for array computing with Python.
packaging                         21.0      Core utilities for Python packages
pillow                            8.3.2     Python Imaging Library (Fork)
platformdirs                      2.3.0     A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
pluggy                            1.0.0     plugin and hook calling mechanisms for python
py                                1.10.0    library with cross-python path, ini-parsing, io, code, log facilities
pycairo                           1.20.1    Python interface for cairo
pydub                             0.25.1    Manipulate audio with an simple and easy high level interface
pyglet                            1.5.21    Cross-platform windowing and multimedia library
pygments                          2.10.0    Pygments is a syntax highlighting package written in Python.
pyobjc-core                       7.3       Python<->ObjC Interoperability Module
pyobjc-framework-cocoa            7.3       Wrappers for the Cocoa frameworks on macOS
pyparsing                         2.4.7     Python parsing module
pyrr                              0.10.3    3D mathematical functions using NumPy
pytest                            6.2.5     pytest: simple powerful testing with Python
python-dateutil                   2.8.2     Extensions to the standard Python datetime module
requests                          2.26.0    Python HTTP for Humans.
rich                              10.11.0   Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
scipy                             1.6.1     SciPy: Scientific Library for Python
screeninfo                        0.6.7     Fetch location and size of physical screens.
six                               1.16.0    Python 2 and 3 compatibility utilities
stripe                            2.60.0    Python bindings for the Stripe API
toml                              0.10.2    Python Library for Tom's Obvious, Minimal Language
tox                               3.24.4    tox is a generic virtualenv management and test command line tool
tqdm                              4.62.3    Fast, Extensible Progress Meter
urllib3                           1.26.6    HTTP library with thread-safe connection pooling, file post, and more.
virtualenv                        20.8.0    Virtual Python Environment builder
watchdog                          2.1.5     Filesystem events monitoring

LaTeX details

LaTeX distribution (e.g. TeX Live 2020):
Installed LaTeX packages:

FFMPEG
Output of ffmpeg -version:
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with Apple clang version 12.0.5 (clang-1<IP_ADDRESS>)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-avresample --enable-videotoolbox
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100

Additional comments

Forgot to try the following which works successfully:
$ poetry shell
python3 -m manim render -pql project/scenarios/basic.py AnimateScenario


How to lazy-export

So I have something like this
module Foo
  @require Compose include("draw.jl")
end

draw.jl defines a draw_it() function. I want to export draw_it from Foo, but I can't do
module Foo
  export draw_it
  @require Compose include("draw.jl")
end

because draw_it doesn't isn't defined apparently. How is this supposed to look?

Woops how did I get on Jewel.jl


Update CONTRIBUTING.md

fixed links (Handlebars, context-builder.js and editing content)
fixed some spell errors.

Off-topic: First pull request. I feel like I didn't do anything substantial here. I was just going through how to contributing.md for the issue  https://github.com/electron/electronjs.org/issues/1156
Point me in the right direction.
Disclaimer: I have been introduced to the world of open-source as a part of Software Architecture course of my uni. Electron is the project I chose to contribute to and I'm loving how the Electron community works. Hoping to learn a lot!

Great work, @Shivam-Miglani. Thanks!


avoidKeyboard doesn't work on android devices

Versions

Android: 8.1 & 9.0
react-native-modal: 11.5.6
react-native: 0.62.2
react: 16.11.0

Description
avoidKeyboard property doesn't work on Android devices. The modal window still moves up, with the keyboard open.

I am having the same issue, the keyboard comes on top of the modal

I am also having the same issue, the keyboard covers the the modal.

@samimhakimi I solved the issue by dynamicaly changing the position of the modal

I have the same problem with Android with a Bottom Modal, any update about this?

I'm having this same issue, only on Android. Regardless of the value of avoidKeyboard prop the modal will always move up when the keyboard pops up. I also have android:windowSoftInputMode set to resizePan.

Any updates on this issue?

was able to workaround this by omitting the avoidKeyboard prop and wrapping the modal content in KeyboardAvoidingView

was able to workaround this by omitting the avoidKeyboard prop and wrapping the modal content in KeyboardAvoidingView

@formaldehydeson Thank you for your suggestion. Can you explain in more detail what you did exactly?

<Modal isVisible={this.props.visible}>         <KeyboardAvoidingView           behavior='padding'           pointerEvents='box-none'           style={{margin: 0, flex: 1, justifyContent: 'center'}}>               .....rest of modal content         </KeyboardAvoidingView> </Modal>

It isn't working for me on iOS either. Also, when I add the workaround above, which requires flex: 1, it triggers the onBackdropPress bug #466 where it doesn't trigger if the first child has flex: 1...
the backdrop press is more needed for my use case than this, so I have to go with the broken keyboard avoid for now...

<Modal isVisible={this.props.visible}> <KeyboardAvoidingView behavior='padding' pointerEvents='box-none' style={{margin: 0, flex: 1, justifyContent: 'center'}}> .....rest of modal content </KeyboardAvoidingView> </Modal>

the keyboardAvoidingView will do nothing in this example on android without the enableOnAndroid={true} are you sure that fixed it?

@formaldehydeson

I'm having this same issue, only on Android. Regardless of the value of avoidKeyboard prop the modal will always move up when the keyboard pops up. I also have android:windowSoftInputMode set to resizePan.

I'm having this problem too.  I see that avoidKeyboard defaults to false.  I also explicitly set it to false.  I can see that it's not rendering a KeyboardAvoidingView, but I'm still getting the behavior.  Hmmmm.
If I switch from react-native-modal to the default Modal from react-native, I get the same behavior.  This appears to be built in.
I ended up wrapping my Modal contents in a <View style={{ minHeight: vh(100) }}> at the top level.
I have a little helper function around Dimensions.get('window') that looks like this:
function window() {
  return Dimensions.get('window');
}

export function vh(size: number) {
  const { height } = window();
  return height * size / 100;
}

It's a frustrating solution for sure . . . but it did the trick for me.

<Modal isVisible={this.props.visible}> <KeyboardAvoidingView behavior='padding' pointerEvents='box-none' style={{margin: 0, flex: 1, justifyContent: 'center'}}> .....rest of modal content </KeyboardAvoidingView> </Modal>

pointerEvents='box-none'

this works for me


Rewrite Hive Driver to Avoid Hive Server

Hive Server proves to be very unstable - at least in our Cloudera 5.5.2 environment: memory and resource leaks lead to restarts at regular intervals. We would like to get rid of this hassle by rewriting the Hiver Driver to submit Hive jobs the Hive Shell way directly without depending on Hive Server

Done in Release 0.6.1


add reachable precheck

Related issue: https://github.com/rancher/rancher/issues/11950
Add url access precheck in validation.

Thank you, just update.


Create CODE_OF_CONDUCT.md

Copy/paste of https://github.com/dotnet/docs/blob/master/CODE_OF_CONDUCT.md
That's a long and difficult to parse sentence. Can we break it up?

That's the standard used in the .NET repos: https://github.com/dotnet/corefx/blob/master/CODE-OF-CONDUCT.md

I'd ping @jongalloway if we want to standardize on a different message for the code of conduct file.

I just want to use the standard for our org. But that sentence is difficult to understand and I'm sure it MT terribly.

I don't disagree with you. Here's what MicrosoftDocs uses:
https://github.com/MicrosoftDocs/azure-docs/blob/master/CODE_OF_CONDUCT.md
@JasonCard I don't see that file in the loc repos.

@JasonCard I don't see that file in the loc repos.

Is that because it's missing from this repo?

Here's what MicrosoftDocs uses:
https://github.com/MicrosoftDocs/azure-docs/blob/master/CODE_OF_CONDUCT.md

Much better.
Merging this for now. Hopefully we can standardize on  https://github.com/MicrosoftDocs/azure-docs/blob/master/CODE_OF_CONDUCT.md

@mairaw @Rick-Anderson We were not sure if CODE_OF_CONDUCT.md should be localized or not, so it was on hold. I'll follow up on this question and get back to you.

I'm not sure either. I just merged into live so you should have the english version soon. @jongalloway  probably knows.

Since you localize the contributing file, I'd probably localize this one as well.

@mairaw That's a good point, I'm going to go ahead and have the CODE_OF_CONDUCT.md localized in HT. It looks the same for .NET and ASP.NET, so once it's localized for one, then translation can be recycled. cc @Rick-Anderson


Split WinObjC.Compiler out of WinObjC.Language

This commit introduces an independent WinObjC.Compiler package that can
be released separately from the rest of the WinObjC infrastructure. It
contains only clang, ClangCompileTask and the header map maker.
objc2winmd, SBResource, ConsumeRuntimeComponent, the Objective-C
dependency, WinObjCRT and /WHOLEARCHIVE support all remain in
WinObjC.Language. objc2winmd depends on the "public header"
infrastructure in cl-additions (now ClCompile.Additions), so that lives
in WinObjC.Language as well.
tools/msvc has been split and replaced with WinObjC.Compiler/
and WinObjC.Language/assets.
A few options have been migrated to WinObjC.Language as part of this
split. Due to limitations in the VS project system's property sheet
schema, this required the introduction of another settings group, "Clang
(WinObjC)", to house items including "Use WOCStdLib."
This change also introduces a new flag bookkeeping item,
ClangCompile.InternalCompilerFlags, which is patched into the
commandline template by the task instead of inserted into it during rule
evaluation. This is to allow WinObjC.Language to add items to the list
of compiler flags before any user options are evaluated.

This change is

We probably don't need depends.exe and depends.dll in this package: they're unused.

Depends may not be safely removeable here. Issues:

We need to copy WinObjCRT.dll into the built product
We only want to copy it if it was used in the build inputs
DO we need WinObjCRT in .Compiler? If not, we can make it clang-only... but if we do, we need a complicated dance to depend on WinObjCRT.lib from libobjc2 and libdispatch.

Downsides to keeping WinObjCRT in this package: It's not "just clang and clang support" if we do that.

Decision: Move winobjcrt and the other IW-specific command line args to WinObjC.Language.

Merged externally as part of #2869


Unable to login "app not validated by Google"

When trying to login using Google account, it says "this application is not verified by Google to use this".

Yes that's true. We only get this page

Hmm, that's strange, I'm using it regularly and works fine. Maybe I need to try with a new account.

So my friend tried this as well. App failed to work on Google Chrome for Android, but it worked on Firefox. I don't know how can I explain that since it's an issue with Google's authentication and doesn't look like bug with the app

@mitul45
I'm not able to login
getting the following error

Maybe only the app creator is allowed to authenticate until Google verifies the app? Here's the Google support page about this issue.

Thanks, let me check that.

I remember submitting it for verification earlier to Google but somehow it didn't go through. Trying agian now.

Any update on this matter, would really like to try this out!

Hey @blombergniklas, sorry for the delay.
I did got a response from Google – basically they asked me to put some more info about what/how of the app before asking for login.
If your app is meant to be public, please ensure that your app’s homepage
URL features content associated with your brand, accurately represents
your true identity, and clearly describes the functionality of your app.

I'll submit for review once I've added that info and keep this thread updated.

is there some update on this? 😊

I also received a similar message, but I guess this repo is not maintained actively.

@mitul45 let me know if you need any help from community to maintain, this I can also jump in.

maybe we can help push changes; to migrate from oAuth to api_key-based access?
getting the same error "This app is blocked"

Is there any plan to put this project back to life?

Hey everyone, thanks for the report. Unfortunately, I won't be able to put time into this although I can review the PRs if you want to contribute:)

@mitul45 any news? How can we self host this? Can we create the Google App ourselves and give the scopes to it? Please help!

It's over.


switch hide_ancestor to hide_pagetypes, remove hiding of RedirectorPage

SS 5.2 changes hide_ancestor to hide_pagetypes
RedirectorPage should not be hidden by default. SuperLinker Redirection takes care of that when replacing the page type

This needs a new major as it breaks in SS 4

Released as 2.0.0 👍


Update README.md

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9100282) 27.19% compared to head (d5a7c3f) 27.19%.
Report is 4 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   27.19%   27.19%
=======================================
  Files           4        4
  Lines        1721     1721
=======================================
  Hits          468      468
  Misses       1253     1253

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


No such option: --model-class Did you mean --model-name?

Based the latest vidore-benchmark pkg,
When i want to reproduce the colpali results,
and use the following cmd,
vidore-benchmark evaluate-retriever
--model-class colpali
--model-name vidore/colpali-v1.2
--collection-name "vidore/vidore-benchmark-667173f98e70a1c0fa4db00d"
--split test
However, the error "No such option: --model-class Did you mean --model-name? " occured
Following is the screenshot

Hi @yydxlv,
Assuming you have installed vidore-benchmark==4.0.2 (latest), you should refer to the README from the associated tag which you can find here.
With 4.0.2, the equivalent command to the one you have shared in the issue is:
vidore-benchmark evaluate-retriever \
    --model-name vidore/colpali-v1.2 \
    --collection-name "vidore/vidore-benchmark-667173f98e70a1c0fa4db00d" \
    --split test

FYI, the next major release of vidore-benchmark as well as the main branch will allow to use a custom model checkpoint with --model-name (today --model-cass colpali always point to vidore/colpali-v1.2). So if you need the flexibility of choosing your own checkpoint, use the main branch but note that it's not stable yet.