Metaflow-UI won't connect

Description
When I run the docker image of the UI and redirect it to port 3000, the terminal shows that the processes are being started but the UI shows waiting for connection.
Expected behavior:

The UI would start-up and I would be able to submit DAGs.
Actual behavior:
The UI keeps waiting for connection and the submitted tags shows [Error111] Cnnection refused
Reproduces how often:
Everytime

Versions

Metaflow 2.5 & 2.7
Python 3.8
Ubuntu 20.04

Additional Information

The DAG works fine when submitted without the UI parameters

Can you open the browser developer tools and take a look at what errors you get from the requests from the UI to the server?

On Aug 7, 2022, at 6:49 PM, AbdAlRahman-Odeh-99 @.***> wrote:

Description
When I run the docker image of the UI and redirect it to port 3000, the terminal shows that the processes are being started but the UI shows waiting for connection.
Expected behavior:
The UI would start-up and I would be able to submit DAGs.
Actual behavior:
The UI keeps waiting for connection and the submitted tags shows [Error111] Cnnection refused
Reproduces how often:
Everytime
Versions
Metaflow 2.5 & 2.7
Python 3.8
Ubuntu 20.04
Additional Information
The DAG works fine when submitted without the UI parameters
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Here is what the console shows.

How are you running the metaflow-service? Are you following the instructions here https://github.com/Netflix/metaflow-service ?  The metaflow-service needs to be running for the metaflow-ui to talk to.

Come to think of it, the metaflow-service always kept giving me permission denied error.
My installation was through:
git clone https://github.com/Netflix/metaflow-service.git && cd metaflow-service
docker-compose -f docker-compose.development.yml up

What I can see here is an issue with docker. I looked around the internet and it seems like it is probably an issue with the permissions of your user - https://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue/48957722#48957722 might be a good way to solve the problem.

Thanks @obgibson, this fixed the issue of permission denied, but now there is anew issue with the metaflow backend server. I have removed and r-installed the metaflow-service folder but still got the same issue.

@obgibson Any update regarding this issue ?

Take a look at https://github.com/netflix/metaflow-service#migration-service - there are instructions to first check what version of the schema you have, and to update it if yours is out of date.

Hello @obgibson, I have restarted the installation process, here are the steps that I have done:
1- git clone https://github.com/Netflix/metaflow-service.git
2- cd metaflow-service
3- pip3 install ./
4- python3 -m services.metadata_service.server
At step 4, the following error occurs:
/home/ceip2/metaflow-service/services/metadata_service/server.py:22: DeprecationWarning: loop argument is deprecated
  app = web.Application(loop=loop, middlewares=middlewares)
ERROR:AsyncPostgresDB:global:Exception occurred
Traceback (most recent call last):
  File "/home/ceip2/metaflow-service/services/data/postgres_async_db.py", line 78, in _init
    self.pool = await aiopg.create_pool(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 300, in from_pool_fill
    await self._fill_free_pool(False)
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 336, in _fill_free_pool
    conn = await connect(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 1225, in _connect
    await self._poll(self._waiter, self._timeout)  # type: ignore
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 881, in _poll
    await asyncio.wait_for(self._waiter, timeout)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
    return fut.result()
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 788, in _ready
    state = self._conn.poll()
psycopg2.OperationalError: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

ERROR:AsyncPostgresDB:global:Exception occurred
Traceback (most recent call last):
  File "/home/ceip2/metaflow-service/services/data/postgres_async_db.py", line 78, in _init
    self.pool = await aiopg.create_pool(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 300, in from_pool_fill
    await self._fill_free_pool(False)
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 336, in _fill_free_pool
    conn = await connect(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 1225, in _connect
    await self._poll(self._waiter, self._timeout)  # type: ignore
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 881, in _poll
    await asyncio.wait_for(self._waiter, timeout)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
    return fut.result()
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 788, in _ready
    state = self._conn.poll()
psycopg2.OperationalError: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

ERROR:AsyncPostgresDB:global:Exception occurred
Traceback (most recent call last):
  File "/home/ceip2/metaflow-service/services/data/postgres_async_db.py", line 78, in _init
    self.pool = await aiopg.create_pool(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 300, in from_pool_fill
    await self._fill_free_pool(False)
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 336, in _fill_free_pool
    conn = await connect(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 1225, in _connect
    await self._poll(self._waiter, self._timeout)  # type: ignore
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 881, in _poll
    await asyncio.wait_for(self._waiter, timeout)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
    return fut.result()
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 788, in _ready
    state = self._conn.poll()
psycopg2.OperationalError: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/ceip2/metaflow-service/services/metadata_service/server.py", line 52, in <module>
    main()
  File "/home/ceip2/metaflow-service/services/metadata_service/server.py", line 37, in main
    the_app = app(loop, DBConfiguration())
  File "/home/ceip2/metaflow-service/services/metadata_service/server.py", line 24, in app
    loop.run_until_complete(async_db._init(db_conf))
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/ceip2/metaflow-service/services/data/postgres_async_db.py", line 98, in _init
    raise e
  File "/home/ceip2/metaflow-service/services/data/postgres_async_db.py", line 78, in _init
    self.pool = await aiopg.create_pool(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 300, in from_pool_fill
    await self._fill_free_pool(False)
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/pool.py", line 336, in _fill_free_pool
    conn = await connect(
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 1225, in _connect
    await self._poll(self._waiter, self._timeout)  # type: ignore
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 881, in _poll
    await asyncio.wait_for(self._waiter, timeout)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
    return fut.result()
  File "/home/ceip2/.local/lib/python3.8/site-packages/aiopg/connection.py", line 788, in _ready
    state = self._conn.poll()
psycopg2.OperationalError: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

Any luck with working this out? It looks to me like postgres is not running?
If not, jump onto the slack channel where you can get help a bit more synchronously.

@obgibson
Unfortunately, I had no luck solving this yet, and yes I think it is a problem with Postgres.
Is there a way to run it using an alternative Database such as MySQL?
Please provide me with the link for the slack channel.

http://chat.metaflow.org/ - put your question in the #ask-metaflow channel.
I don't think that MySQL could be swapped in easily. Let's see if we can get postgres working for you.

Recently fixed in metaflow-service. https://github.com/Netflix/metaflow-service/pull/309

@obgibson @jaeyow
Thank you for your support.
Running the following steps solved it for me:
git clone https://github.com/Netflix/metaflow-service.git && cd metaflow-service
docker-compose -f docker-compose.development.yml build
docker-compose -f docker-compose.development.yml up
docker run -p 3000:3000 -e METAFLOW_SERVICE=http://localhost:8083/ asd8511tw/metaflow-ui


Transformer phases update

Instead of checking if there is a "n" in the transformer parameter for the default phases, I prefer to have the intersection between the bus phases and "abcn" for "y/z" or "abc" for "d" winding. It seems more coherent with the connections of the other elements of the API (especially the lines) which we could describe as "by default connect everything we can and check that this is coherent with the models we have".
It also seems more natural to me that the phases are not determined by a transformer parameter, because a parameter should not define the way the transformer is connected. So with that change, the phases are now determined when the connection is made.
I changed the checks accordingly.
I'm going to let this PR open for now if I need other changes for engine.

I updated the json script and the old json files (only 2 affected) to use the same semantics


Compiling with arm-eabi

I want to add this port to an application with a large code base.
The code base is compiled on windows with msys and arm-eabi-toolchain (gcc-linaro-6.2.1-20170623-win32). I got the compiler on my computer but its too large to share via github-repository.
Does anyone tried to compile this port with arm-eabi, another toolchain or can point me in the right direction?

Can i just change the arm-eabi 32-bit compiler to 64-bit without problems?

Can i just change the arm-eabi 32-bit compiler to 64-bit without problems?

aarch64-none-elf should work. (but I'm not sure if or not the latest GCC version can work correctly)

I will try mingw-w64-i686-arm-none-eabi-toolchain

That's arm-none-eabi, not aarch64-none-elf.

Can i just change the arm-eabi 32-bit compiler to 64-bit without problems?
aarch64-none-elf should work. (but I'm not sure if or not the latest GCC version can work correctly)
Do you mean that aarch64-none-elf should work for the code base which is compiled by arm-eabi-toolchain (gcc-linaro-6.2.1-20170623-win32)?
So i need an aarch64-none-elf compiler which has the same version of GCC (probably from 2017)?

Do you mean that aarch64-none-elf should work for the code base which is compiled by arm-eabi-toolchain (gcc-linaro-6.2.1-20170623-win32)?

What I mean is just that a GCC compiler toolchain marked as 'aarch64-none-elf' (e.g. obtained from [1]) should work for compiling this UART sample.
[1] https://developer.arm.com/downloads/-/gnu-a

I dont find the xil_smc.h in any project folder, so it must be located in the libxil.a or in an installation-directory of arm-eabi-toolchain?

I'm not sure why your toolchain environment tries to access Xilinx related files like libxil.a or xil_smc.h. You should check your build configuration.

What I mean is just that a GCC compiler toolchain marked as 'aarch64-none-elf' (e.g. obtained from [1]) should work for compiling this UART sample.

That's working fine for the UART-sample. I want to compile my large code base and the UART-sample with one compiler.
aarch64-none-elf sadly doesn't work for the code base (due to this error). And arm-eabi does'nt work for the FreeRTOS-port (due to missing 64-bit instructions).
The code base is based on the Xlinx Zynq board (where FreeRTOS is also ported for). My aim is to change this port so the RPi4 is working with FreeRTOS and the large code base (maybe xil_smc.h is used in a driver). Your port serves me the FreeRTOS-part, so now I will tackle the other driver related stuff.
Yes, I will check, what exactly is hidden in the libxil.a or in the xil_smc.h files. Probably I don't need them.
Thank you so far, for your help @TImada - I will keep this thread updated

I will keep this thread updated

Close this issue as the it has nothing with your build environment for the code base any more.

I changed the compiler to gcc-arm-8.2-2018.08-i686-mingw32-aarch64-elf.tar.xz.
It works for your port, but i have to convert the large codebase from 32-bit to 64-bit, yay


Getting error Failed to create a WebGL2 context.

Hi @markhobson,
Thank you for this image. I was looking an image with the same configuration. I appreciate your contribution to our community. Thank you 😊.
I have a query i hope you will take a look at this.
I am currently using this image markhobson/maven-chrome:jdk-8 for launching chromeheadless in Linux OS. But i have 3D components in my application(Canvas). When i run by using this image it gives me an error in the console "THREE.WebGLRenderer: A WebGL context could not be created. Reason: " "Failed to create a WebGL2 context.".
I even added and tried with chrome options but it is still giving same error
chromeOptions.addArguments("--no-sandbox");
chromeOptions.addArguments("--headless=new");
chromeOptions.addArguments("--disable-extensions");
chromeOptions.addArguments("--use-gl");
chromeOptions.addArguments("--disable-dev-shm-usage");
chromeOptions.addArguments("--disable-gpu");
I need to open chromeDriver with the following flags/options
--use-angle=swiftshader
--use-gl=angle
--in-process-gpu
What would you suggest the best option is here?
Thank you

Hi @MohaseenKhan, I'm glad this image is useful.
I'm not familiar with those arguments but that is generally the way to pass arguments to ChromeDriver - see Capabilities and ChromeOptions. In their examples addArguments doesn't take the -- prefix, have you tried that?

Closing due to inactivity.


Make an epub version of the documentation served via OPDS

The documentation will be generated as epub and added to an OPDS feed so we can add it to Thorium Redaer, browse it in context and test features as reading.

WIP https://github.com/edrlab/thorium-reader-doc/tree/as-epub/sources

The epub version of the documentation is now developed and maintained at publications / thorium3-documentation


Update CHANGELOG for 1.7.5 release

Motivation
Update the CHANGELOG for 1.7.5
Description
no additional changes
Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bors merge


Django cron jobs

Cron jobs

Synchronise CiviCRM to local databse every 6hrs
Upload recorded attendance to CiviCRM every 5min

Behaviour confirmed on localhost with staged environment.
source env/stage.sh
docker-compose up

Removing --quiet from crontab, [dryrun] is shown in the logs.
With --quiet in crontab (as committed), logs show
django_1    | crond: USER root pid  25 cmd python /srv/app/manage.py export_attendance --quiet

(without details, if there's nothing to do)


Update glutin

This was updated in Cargo.lock in #2328 but not in Cargo.toml.

Since this is a non-breaking change there is no need to bump the version in the Cargo.toml and the automatic update using the Cargo.lock file is entirely sufficient.


fix GraceTimeOut documentation

Documentation stated that GraceTimeOut describes the timeout between
hot-reloads, which is not the case. GraceTimeOut describes the timeout
Traefik uses to finish serving active requests before stopping only.

The doc update reflects my understanding of the actual behavior as well.
There was some discussion on the desirable behavior in the past though. @emilevauge to chime in.


Need tokens

My PAT is being rate-limited. (it's also used for scorecard weekly cron).
We need some more donation. We could have a GENERIC_BLAZE_TOKEN, GENERIC_TOKEN, etc from different people
/cc @ianlewis @asraa

Is the rate limiting per-user? or per-token? If it's per-token you could just make more tokens?

it's per-user, unfortunately

Hrm, and no ORG PAT tokens I guess?

what do you mean by ORG token? I'm not aware of them. Do they have specific features?
Note: we could also create a few "bot" accounts, if that's possible without too much burden

I just meant a PAT token that's attached to an organization. Yah, bot accounts are not ideal but are one solution.

We should also investigate a bit and doc why we need the PAT tokens so we can more easily get rid of them.

I think one way to help solve this issue is to use a PAT for the things we need to use a PAT for and github.token for everything else.
Things I've noticed we need a PAT for so far:

git push doesn't trigger subsequent workflows if pushed using a github.token: https://github.community/t/push-from-action-does-not-trigger-subsequent-action/16854

GITHUB_TOKEN also has a rate limit but it's much lower than a PAT: 1000 requests per repo per hour
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions
Each PAT has a rate limit of 5000 request per repo per hour
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-personal-accounts
Some of our scripts use quite a lot of requests. For example, e2e-create-release.sh performs up to 202 requests per execution.


[Android] Optimization for Termux?

~ $ nuitka3 --version
Nuitka:WARNING: Cannot detect Linux
Nuitka:WARNING: distribution, this may prevent
Nuitka:WARNING: optimization.
1.2.7
Commercial: None
Python: 3.10.9 (main, Dec 11 2022, 16:28:02) [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0
Flavor: Unknown
Executable: /data/data/com.termux/files/usr/bin/python3.10
OS: Linux
Arch: aarch64
Distribution: Unknown None

~ $ nuitka3 fib.py
Nuitka:WARNING: Cannot detect Linux
Nuitka:WARNING: distribution, this may prevent
Nuitka:WARNING: optimization.
Nuitka-Options:INFO: Used command line options: fib.py
Nuitka-Options:WARNING: You did not specify to
Nuitka-Options:WARNING: follow or include
Nuitka-Options:WARNING: anything but main
Nuitka-Options:WARNING: program. Check options
Nuitka-Options:WARNING: and make sure that is
Nuitka-Options:WARNING: intended.
Nuitka:INFO: Starting Python compilation with Nuitka '1.2.7' on Python '3.10' commercial grade 'not installed'.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:WARNING: Cannot detect Linux
Nuitka:WARNING: distribution, this may prevent
Nuitka:WARNING: optimization.
Nuitka:INFO: Running C compilation via Scons.
Nuitka:WARNING: Cannot detect Linux
Nuitka:WARNING: distribution, this may prevent
Nuitka:WARNING: optimization.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:INFO: Backend linking program with 10 files (no progress information available).
Nuitka-Scons:WARNING: You are not using
Nuitka-Scons:WARNING: ccache.
Nuitka:INFO: Keeping build directory 'fib.build'.
Nuitka:INFO: Successfully created 'fib.bin'.
~ $

neofetch

~ $ neofetch
         -o          o-            u0_a478@localhost
          +hydNNNNdyh+             -----------------
        +mMMMMMMMMMMMMm+           OS: Android 11 aarch64
      `dMMm:NMMMMMMN:mMMd`         Host: OPPO PCKM00
      hMMMMMMMMMMMMMMMMMMh         Kernel: 4.14.180-perf+
  ..  yyyyyyyyyyyyyyyyyyyy  ..     Uptime: 12 days, 16 hours, 36 mins
.mMMm`MMMMMMMMMMMMMMMMMMMM`mMMm.   Packages: 217 (dpkg), 1 (pkg)
:MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM:   Shell: bash 5.2.15
:MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM:   CPU: Qualcomm SDM730G AIE (8) @ 1.804GHz
:MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM:   Memory: 4409MiB / 7551MiB
:MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM:
-MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM-
 +yy+ MMMMMMMMMMMMMMMMMMMM +yy+
      mMMMMMMMMMMMMMMMMMMm
      `/++MMMMh++hMMMM++/`
          MMMMo  oMMMM
          MMMMo  oMMMM
          oNMm-  -mMNs

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

I have added detection of Android as an OS, might come in handy if we find issues with creating standalone, have your tried that too?

Also Termux Python is detected as a Python --flavor, so --version output with factory would be interesting to see if it works for now.

I enhanced the check, seems Android was not detected, please try again or use 1.3, the change is in there too.
This is part of the stable release 1.3 that I just made.


feat: フォーカス状態（peek状態 or DBのview）のPage IDを取得するメソッドを追加

ミスって即mergeしてしまった…

一応どちらもテスト通ってたのでOKとする。

https://github.com/gatchan0807/notion-url-parser/actions/runs/7860394120/job/21447523470
https://github.com/gatchan0807/notion-url-parser/actions/runs/7860394120/job/21447523412

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
takeshiyu, @thoolihan, @jianlei, @tonykoop, @stdafx-h, @m1noon, @nitaj96a, @izifortune, @sun0720, @eldimious, @profikid, @kakirastern, @dugushaonian, @xuyao91, @hahmed, @crossai-2033, @FlareBlizzard, @cgeek, @nomadrat, @genme, @michalSkwarek, @lrita, @ZBNAWESOME, @LeafSQiang, @pocketwalker, @chendinghao, @karlboyle, @vivekrajx, @bryanleejh, @Charming-ai, @imri, @beatsforthemind, @titanism2197, @shizhifang886, @pornprasit, @cesalazar, @farfeduc, @liutian1937, @behram, @carmelopullara, @lpwithgy, @h3110w0r1d, @Orecic, @nightelfy, @artemvs77, @socreative, @yuyang08, @huingZM, @bitsnaps, @xiaoyijun1406410320


Multiple Schedulers in a cluster.

Feature Request:
We're using Dask to distribute the computation tasks to multiple servers. There is 1 dask-scheduler and 5 dask-worker servers. My question is: is there a way so that multiple dask-schedulers can be used? I'm asking this because single dask-scheduler can't avoid single point of failure, and sometimes, if the requests are in a very high volume, the single-scheduler could be a bottleneck of the performance. Do you have any plans to make this feature available in future? Or what do you think is the best practice?

With the current design of dask, only a single scheduler is used. In practice this doesn't seem to be a problem for most uses, and changing it would require a large amount of work (and increased overhead). We have no current plans to make this available. Are you finding real workloads that you can profile and show the scheduler is the bottleneck?

Closing, feel free to open new issues if you can provide reproducible examples showing performance issues.

@jcrist sorry for commenting on the closed issue but is there a plan to allow multiple scheduler inside a dask-cluster in future ? My use case is that I want to run DAGS in dask-workers with its own virtual environment. For example, owner ABC will have a DAG file XZY which needs to run in dask-worker with its own virtual environment. And then the owner MNO will have its own DAG file PQR which needs to run in a dask-worker with a different virtual environment.  Is there a workaround for this ? Thanks.

There is no plan to support this. Generally dask clusters are transient and short-lived - for your use case I suggest starting a new temporary dask cluster for each job you're running. See https://docs.dask.org/en/latest/setup.html for more on deployment options.

thanks @jcrist for your kind reply. I was able to spin up multiple dask-yarn clusters in a single node. But what I found out is whenever I use Client(scheduler:port) to direct the DAG to the scheduler, the DAG gets passed from one scheduler to another basically creating dependency between different dask-yarn clusters. I would kindly like to ask you if there is a way to direct those DAG directly to a specific scheduler without having to relay from one scheduler to another ?

@jcrist also, when you say to start new temporary dask clusters for each job, how exactly do you recommend to start those clusters temporarily ? currently I am spinning up clusters in the very beginning and using them without shutting them off. In this scenario I am seeing dependency between the clusters as the DAGs are passed from one main cluster to other clusters. Solution I am looking for is to direct the DAGs directly to a specific cluster without entering any intermediate cluster.


Report max CPU usage

Add max CPU usage of nodes and control plane components in metrics-report.yml

Add max CPU usage of nodes and control plane components in metrics-report.yml

Can you add max CPU usage for the remaining components too?, that way the dashboard won't fail, since it has a repeat for rule for each component

Even one or two spikes, which can be ignorable, can result in showing high max CPU usage. Should we instead capture histogram_quantile(0.90)?


Maven deploy URL from README is broken.

The URL called out in the README does not appear to resolve correctly:
http://vadev.mantech.com:8081/nexus/content/repositories/snapshots
The README in general could use a lot of love.

Info on the deploy URL has been changed. Deployment should use the altDeploymentRepository property defined in a users settings.xml file.
In addition, lots of new stuff have been pushed, and there will be more active development on this source base going forward.
There will be "lots of love" added here, and to the KOMET documentation, they will evolve in parallel.


brew install fails with SHA256 mismatch

Has anyone seen this when trying to install via homebrew on an M1 Mac?
==> Fetching keith/formulae/git-pile
==> Downloading https://github.com/keith/git-pile/archive/refs/tags/0.4.0.tar.gz
Already downloaded: /Users/keny/Library/Caches/Homebrew/downloads/a620102ff8aa0a9771a1baa34f68fee0c17baef0beedd3e64001b3dde152533f--git-pile-0.4.0.tar.gz
Error: git-pile: SHA256 mismatch
Expected: 417fbb477904f4ac476c0c369008a42e6e17e5365c1ef1d527c001bad2656481
  Actual: 9921c816b1594cbcede13ec5fb58339a07d372998fcc557eea203a1542ef4844
    File: /Users/keny/Library/Caches/Homebrew/downloads/a620102ff8aa0a9771a1baa34f68fee0c17baef0beedd3e64001b3dde152533f--git-pile-0.4.0.tar.gz
To retry an incomplete download, remove the file above.

Deleting the file and retrying
brew install keith/formulae/git-pile
doesn't work.
And any relation to this project? https://github.com/git-pile/git-pile

Github is having an issue with SHAs of generated archives right now. Since that has a huge impact on lots of communities, ideally we don't do anything here for now.

Deleted that file and retried again and it installed today.  Didn't know Github was having a SHA issue yesterday.
Closing issue.  thx.


Priority discussions for with the OSCAL team.

Epic to cover all discussions with the OSCAL team.

Closing this as an epic as current way of working is to raise issues as they come.


[BUG] fix playlists edge cases

Playlists work most of the time, but sometimes the bot just won't play them because a single song in the playlist won't play.
This is likely due to age restricted videos, and a simple solution would just be to wrap the dangerous part in a trycatch block.

Also duplicate with #9


fix: refactors vgmanager-controller code

This commit refactors the vgmanager-controller code.
Signed-off-by: N Balachandran<EMAIL_ADDRESS>

Not very clear from the PR or commit what refactoring was done.

/retest


Install Error (Error creating table 'yourls_url'.) etc.

[ ] Check you are using the LATEST release or the development branch.
[ ] Make sure you have SEARCHED existing issues first.
[ ] Read the GUIDELINES linked in the yellow notice box above.
[ ] COMPLETE this issue template.

Describe the bug
After installing YOURLS on Ubuntu 16.04 I click "Install YOURS" button and I receive this error:
    Error creating table 'yourls_url'.
    Error creating YOURLS tables.

    File .htaccess successfully created/updated.
    Table 'yourls_options' created.
    Table 'yourls_log' created.

To Reproduce
Steps to reproduce the behavior:
Install based on these instructions: http://yourls.org/#Install

YOURLS is in /var/www/YOURLS
apache2 points to /var/www/YOURLS and finds the correct site at mydomain.com/admin
mariaDB db created
user/config.php created with correct DB values for mariaDB
click on "Install YOURLS" and get the error above.

Expected behavior
I don't know what should happen after I install YOURLS but I guess a "Success" message.
Screenshots
Not necessary.  The description is a cut and paste.
Environment (please complete the following information):

YOURLS version: 1.7.2

Plugins enabled: none

PHP version: 7.0
Other relevant details depending on the context (server OS & version, MySQL version, browser version, …)
Ubuntu 16.04
apache2

Additional context
I don't think the problem is mariaDB permissions because the installed had success creating two tables but failed at one table (Error creating table 'yourls_url'.)
I removed the database and re-installed and tried again.  The error is consistent.

Interesting that there's no Could not insert sample short URLs message there.
As far as tracking this error down, see if you can find PHP/MariaDB log files. The full error spit out by the database should be in one of those, and from there we can actually figure out what's going wrong.

@dgw /var/log/mysql/error.log is blank (I cleared it and removed the db, re-created, re-installed and the log has no entries). So that is not helping.  But the error is the same as it was.

Interesting that there's no Could not insert sample short URLs message there.

No I do not see that error anywhere.
I'll look for PHP logs but right now I think there are no mySQL errors.  Does PHP require some config that is not mentioned here: https://yourls.org/#Install ?

I think php should be logging to /var/log/apache2/error.log and that is also empty (after the same process)

@dgw This really makes me think that YOURLS is expecting something to exist which does not exist but the server functions fine and there are no PHP or mySQL errors.  It is maybe a configuration error with YOURLS?  Maybe?

@dgw Does it help to tell you that I just discovered that the password in user/config.php is not salted?  Did something not run?

Here is the debug info with debug set to true in config.php:
myurl.com/admin:
DB driver: pdo
SELECT `option_name`, `option_value` FROM `yourls_options` WHERE 1=1

Click Install YOURLS
myurl.com//admin/install.php?

    Error creating YOURLS tables.

    File .htaccess successfully created/updated.
    Table 'yourls_options' created.
    Table 'yourls_log' created.

Not sure why the database character set was causing an issue, but glad you figured it out!


What does volumes do? We have DATA_PATH_HOST, who using docker  volumes

In docker-compose.yml, all service using DATA_PATH_HOST to save data, nobody using docker volumes, so who is using docker volumes? why still here?
for examle:
volumes:
  mysql:
    driver: ${VOLUMES_DRIVER}

It's bind a host directory, so i think mysql volume is unnecessary.
volumes:
        - ${DATA_PATH_HOST}/mysql:/var/lib/mysql

I am confused. Can someone tell me why?
BTW:
Is that a mistake? .data is a old version path, should it be use ${DATA_PATH_HOST}/certbot/certs？
certbot:
      build:
        context: ./certbot
      volumes:
        - ./data/certbot/certs/:/var/certs

bump

Yeah I was wondering this as well.


flutter error un expected

Type: Bug
This issues happend un expectdly on my device causing errors using getx with flutter "localization"  so wherever I open any project it gives me the same, Iam done with this please solve this problem!
VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Validate/Whitelist props on core component/view types

We should ad prop whitelisting/validation in BlueprintBackend.setProperty: https://github.com/nick-thompson/blueprint/blob/master/packages/react-juce/src/lib/BlueprintBackend.ts#L149
This would help us to avoid sending unnecessary props through to native. If a prop is set that is not recognised by the ViewInstance type we should avoid calling through to __BlueprintNative__.setViewProperty.
This is motivated after hitting a bug in which passing through a mobx-state-tree model as a prop caused Duktape/EcmascriptEngine to fall over (likely due to some sort of object cycle).

Adding performance label to this as it's likely to have a significant impact.


Attach route information to schedule data

Attach route id, operator id, mode of transit. Maybe share as protobuf? Then when you select the filters in the left, the animation should update. Probably good to have the data filtering in a worker then? Or can you use deck's DataFilterExtension? I'm not sure if it works with strings...

You already load the routes data in ssp_geom.py, so you can just attach the route properties easily.


Write a new README and getting started guide

Should be similar to the https://github.com/extism/ruby-sdk README when i am done with it.

This is fixed by #14


MB-4097 | Updating Env Vars I missed the first time

Description
I missed these on the first pass.

Jira story for this change

Messages

:book:
:link: MB-4097

  Generated by :no_entry_sign: dangerJS against b9254f151e3cd3c181338ea5191013bb5d89ca0b


fix: OB-28708 add round robin

Creates a python script that will associate each test directory with a customer id that is passed in as a comma separated list via GHA secret.  Assumes that all environments are in staging and all have same content reviewer username and password.

3 of 4 existing variables stay the same and only array of customer ids is new.

Curious if this branch / branch's workflow has been tested with our content repos ?


fix example api version

ARM (Control Plane) API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[ ] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[x] Other, please clarify:

fix example api versions

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

 Viewing API changes
fix example api versions

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

/pr RequestMerge

Your PR is not ready for merge. Refer to the Next Steps for Merge comment for the current state:  https://github.com/Azure/azure-rest-api-specs/pull/29525#issuecomment-2181526849.

/pr RequestMerge


Atom on Windows

I am runnin Windows and can't figure out how to make all text files open in atom. Also I can't figure out how to install shell commands in atom. Can anybody help?

I do not have windows in front of me, but this should help as far as default files:
https://support.microsoft.com/en-us/help/4028161/windows-10-change-default-programs
I do not use Atom, so I am not sure about how to install the terminal support. Maybe these will help?
https://flight-manual.atom.io/using-atom/sections/atom-packages/
https://atom.io/packages/atom-terminal

@zeemakn to open a text file in atom make sure its first in the proper folder that you wanted it in, also that its a .txt file. Then you go to open folder and open the folder its in. That will automatically open the file. Or you can create a new file if that helps any? I am not sure.
Also @spkvfx also has some good links if what you're looking for is more that.

As far as getting the atom terminal, it would seem taht you could use win-R to open a new terminal, and then type:
apm install atom-terminal
If I understand it, this should execute the Atom Package Manager and install the atom-terminal package.
Then restart Atom and cntrl-shift-t to open a new terminal starting at the current project directory.

I had the same problem as I'm also using Windows, but I decided to just open the program with the executable and move on with the assignment. I tried finding a solution, but it all just seems a little too complicated for me at the moment as it seems you need make windows on a command level understand the shortcut to launch the program. Much like you have to establish the powershell with a Mac computer. Let me know if you find a solution!

On a mac it isn't too difficult. You just Get Info then "Open With" then there is some checkbox that is something like 'Always Open With This'. If the windows support file I linked does not work, power users can directly associate file types using the registry, but I would not recommend this approach unless you're already familiar with how to do so; but if you really want to break your PC:
https://docs.microsoft.com/en-us/windows/desktop/shell/default-programs
Keep in mind that the way the operating system knows what file type it is will be by the extension. So if you define a .txt to always open with Atom, this will not extend to .js or .md

On Windows, you should be able to set the default program to open text files by right-clicking your file that you want to open, open with, select Atom and there should be a box to open all files of this type with this program. Hope this helps!!

Adding to @scottyG86 comment, you might be interested in changing what windows uses as a default program to open the specific files..
On Windows 10..
https://support.microsoft.com/en-us/help/4028161/windows-10-change-default-programs
Windows 7:
https://support.microsoft.com/en-us/help/18539/windows-7-change-default-programs

You can right click on the type of file you want to change, click properties, and then, click Change... next to Opens with: and change the program to Atom.


Add consul_services fact listing all services registered and healthy nodes

It's a port of our internal fact that we rely on a lot for discovering databases etc in multi-tier applications (with masterless puppet) and for leader election of clustered services that do not have their own quorum protocol. For example:

Sorry, I'm going to veto this, I think it is too expensive and iffy to run as a fact. (at my work we are very sensitive to running expensive facts)
If you want you can make a contrib folder and put it in there?
As an alternative to your use-case, I highly recommend using consul-template to write in the vars you need into files in real time without a puppet run.


404 on https://beefore.readthedocs.io/

The readme says docs are at https://beefore.readthedocs.io/
but today I got a creative asciiart instead:
Read the Docs
Log in

    \          SORRY            /
     \                         /
      \    This page does     /
       ]   not exist yet.    [    ,'|
       ]                     [   /  |
       ]___               ___[ ,'   |
       ]  ]\             /[  [ |:   |
       ]  ] \           / [  [ |:   |
       ]  ]  ]         [  [  [ |:   |
       ]  ]  ]__     __[  [  [ |:   |
       ]  ]  ] ]\ _ /[ [  [  [ |:   |
       ]  ]  ] ] (#) [ [  [  [ :===='
       ]  ]  ]_].nHn.[_[  [  [
       ]  ]  ]  HHHHH. [  [  [
       ]  ] /   `HH("N  \ [  [
       ]__]/     HHH  "  \[__[
       ]         NNN         [
       ]         N/"         [
       ]         N H         [
      /          N            \
     /           q,            \
    /                           \

Copyright 2010 - 2016. Created by Eric Holscher, Charles Leifer, and Bobby Grace for the 2010 Django Dash.
GitHub | Docs. Made by humans.
//Update;
Readthedocs refers to several required steps;
1.Account on Readthedocs to link to the code here on github.
https://read-the-docs.readthedocs.io/en/latest/getting_started.html#import-docs
2.Folder /docs to contain the Sphinx website, constructed via make after pip install sphinx.
The first  tutorial is here https://youtu.be/oJsUvBQyHBs?t=446
Part [1] the admin here would need to do.
Part [2] I could at least make a hello world type of doc, if that is agreeable.

Thanks for the report. I need to flesh out the docs for beefore - but first I need to get the code to a point where it's stable enough to push a release to PyPI. It's not that far off, though.

First run at documentation created in pr #18
This was mainly done to give me an understanding of what happens. I hope that it also points people into the right direction.
Anything that's further needed, please let me know

@freakboy3742 with the PR being merged in, this can be close now.


fix ImageExpand component in storefront app to show XIcon button so that user can return back to the product page by clicking the button

I issued a problem related to this pull request(#612).
But I couldn't find any commits to resolve it recently.
So I tried to fix it myself and now I make a pull request.

Closed in favor of https://github.com/saleor/react-storefront/pull/645


Typos and styling

Fixes for typos and styling while proofreading.
I also have more extensive feedback on the book which needs some more discussion. I can make an issue for that or send you an email - whichever method you find easiest!

Wow. You found surprisingly many things in parts I thought to be quite polished :sweat_smile:
Great job, thanks!
An issue for the book sounds like the best way, as this is an "open" book, and things can be discussed openly. If you are not sure about certain things and prefer to voice that opinion privately, feel free to drop me a mail :)


Replace image lightbox implementation

Material Box lightboxing of images is problematic (see #293 for details), so I replaced its use with a different library: Featherlight.
Reasons for choosing Featherlight:

It has an MIT license (should not be any issues with UCCSER using it)
It's open source and is actively maintained
It seems to be fairly customizable and easy to work with

I tried to replicate the existing experience provided by Material Box. One difference is the growing/shrinking effect when an image is zoomed in/out that MB provides is not available with Featherlight (at least not easily achievable). MB is able to do that easily because it uses the same image for the normal view and zoomed view; however, that is related to the positioning problems noted in #293.
Another difference in the Featherlight implementation is that images are never scaled up past the image's full size. I personally prefer this, but that restriction could be overridden with some CSS changes if desired.

Thanks @oughter, this is great work! I love the work you have done. I've pulled the branch into our repo and made some changes:

Correctly loaded featherlight.min.js
Added white background to images with transparent backgrounds (quite a few in the Programming Languages chapter)
Added zoom out icon to whole overlay
Move the custom CSS rules to website.scss. This keeps all our custom CSS rules in the one file, which is evaluated by the SCSS processer. End result is the same, but easier to manage our code from MaterializeCSS.
I think I got images to display at 100% size (rather than 94%) without scroll bars (overflow: hidden on the parent did the trick).
Updated documentation.

I've been checking images throughout the guide and worked well so I've merged in into out development branch. Thanks again!
I have one question for you: We are currently still writing our documentation, but even without it, how hard was it to figure out the structure of the repo (especially dealing with setting files and HTML templates)?

@JackMorganNZ, thanks for going over my work!

We are currently still writing our documentation, but even without it, how hard was it to figure out the structure of the repo (especially dealing with setting files and HTML templates)?

I didn’t have trouble with the repo structure, and I was able to quickly trace through the generate python script to figure out where files get loaded from (although I apparently didn’t do the third-party JS script loading correctly). As someone who recently worked on the codebase without prior exposure to it, I can provide feedback for the documentation if that will be helpful.


Given When Then

Thanks for this library.
It seems to me that it might be better to combine the "given when then" int one gwt short cut.
So I created the following snippet
"GIVEN WHEN THEN function":{
	"scope": "typescript, javascript",
	"prefix": ["gwt"],
	"body":["${1|Given,When,Then|}(() => {",
		"  $2",
		"});"],
	"description": "Given When Then"
}

Thanks!
Do you want to create a PR for it?
you can add it to the Javascript snippets

Not really sure how to do it in this case.   But I would love to try
On Wed, Oct 7, 2020 at 5:23 PM Shai Reznik<EMAIL_ADDRESS>wrote:

Thanks!
Do you want to create a PR for it?
you can add it to the Javascript snippets
https://github.com/hirezio/vscode-testing-snippets/blob/master/snippets/snippets-js.json
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hirezio/vscode-testing-snippets/issues/1#issuecomment-705201712,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYSBFSFR3STUNYJBQZTASTSJTL6FANCNFSM4SEVBKTQ
.

Awesome!
Please follow this guide -
https://github.com/hirezio/vscode-testing-snippets/blob/master/CONTRIBUTING.md
and let me know if you need any help along the way or if something isn't clear there and needs more clarification.
Thanks!


Fixed #29706 -- Missing using=db call in RenameContentType._rename

Ticket #29706

@charettes Here is a pull request for the issue I spoke with you about.

Can you add a test? tests/contenttypes_tests/test_operations.py might be the place.


rolls on<EMAIL_ADDRESS>

What is the current behavior?

What changes are you suggesting?

Additional information

Checkwrap #1360 #1358 #1361 #1362

What is the current behavior?
What changes are you suggesting?
Additional information

PR+Bugzilla +bedrock#hi.eml*


[WIP] Proxy Implementation

This PR is not ready for review but feedback on structure is welcome !

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kiril Kabakchiev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

osb-broker-lib and go-open-service-broker-client use glog and here we use logrus, how do these logging libs play together?

By using osb-broker-lib and go-open-service-broker-client here we interpret each OSB request and send an "equivalent" one to the SM.
For example if some platform sends some additional data in the request body or headers, we will not forward this to SM.
Wouldn't it be simpler and more generic if we just forward the http request to SM? We could use httputil.ReverseProxy for that.

Please push vendor directory.. I've been building for 20 minutes


cannt work at init_worker_by_lua_file

the nginx debug info:
init_worker_by_lua_file error: ...lua/traffic-monitoring/lua-resty-http/lib/resty/http.lua:90: API disabled in the context of init_worker_by_lua* stack traceback: 	[C]: in function 'ngx_socket_tcp' 	...lua/traffic-monitoring/lua-resty-http/lib/resty/http.lua:90: in function 'new' 	/usr/local/nginx/conf/lua/traffic-monitoring/report.lua:4: in main chunk 2016/03/31 19:12:38 [error] 10#0: init_worker_by_lua_file error: ...lua/traffic-monitoring/lua-resty-http/lib/resty/http.lua:90: API disabled in the context of init_worker_by_lua*

You need to familiarise yourself with the ngx_lua module more thoroughly. Please review the documentation: https://github.com/openresty/lua-nginx-module
Specifically, note that ngx.socket.tcp is not available at the init or init_worker phases, and the solution you are probably looking for is to use ngx.timer.at to start a light thread during the init_worker. This child thread will have the ability to create tcp sockets. Examples: https://github.com/openresty/lua-nginx-module#ngxtimerat
In general, if you're unsure about something to do with OpenResty, I'd encourage you to ask on the mailing list rather than file a but report against a specific module.


Test compatibility of Springboot 2.6.7 and 2.5.13

As title.
FYI:https://github.com/Azure/azure-sdk-for-java/issues/28498

/azp run java - spring - tests

/azp run java - spring - tests


Can I modify a local xlsx file?

Hi,
Sorry if this has already been answered.. I found one similar question but didn't quite understand.
Is it possible to read in an xlsx file from html (e.g., input type ="file"), then edit and save the file using javascript? My code so far is:
function handleFile(e) {
    var files = e.target.files; // FileList object
    var i, f;
	for (i = 0, f = files[i]; i!= files.length; ++i){
		var reader = new FileReader();
		var name = f.name;
		reader.onload = function(e) {
			var data = e.target.result;
			var workbook = XLSX.read(data, {type: 'binary'});
			var firstsheetname = workbook.SheetNames[0]
			var addressofcell = 'D1';
			var worksheet = workbook.Sheets[firstsheetname];
			var desiredcell = worksheet[addressofcell];
			var desiredvalue = desiredcell.v;
			var x = document.getElementById('list');
			x.innerHTML = desiredvalue;
			worksheet["A1"] = { t: 's',  v: "HI" };
			};
		};
		reader.readAsBinaryString(f);
	}
  document.getElementById('files').addEventListener('change', handleFile, false);

For example, how do I simply change the value of cell 'A1' to 'HI'?
Is it possible to do this in a browser?
Thanks
B

Did you find the answer for this?

Hi, yes I figured it out in the end!
Cheers

From: lazarus<EMAIL_ADDRESS>Sent: 13 July 2019 5:51 PM
To: SheetJS/js-xlsx
Cc: jarbe644; State change
Subject: Re: [SheetJS/js-xlsx] Can I modify a local xlsx file? (#1461)
Did you find the answer for this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/SheetJS/js-xlsx/issues/1461?email_source=notifications&email_token=ALTZUXMY3NVQ4OMIC3R6VLDP7IBZTA5CNFSM4G7TXONKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3VKLQ#issuecomment-511137070, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALTZUXPH6VWKNJ6R77FYQPLP7IBZTANCNFSM4G7TXONA.

Mind to share how to do it?

Of course, it's been a long time though so will do my best to pull the relevant bits from my code, it's changed a lot since then..
First of all at the bottom of my HTML I have links to various sheetJS files that I have saved locally:
<script src="dist/shim.min.js"></script>
	<script src="dist/xlsx.full.min.js"></script>
	<script src="dist/cpexcel.js"></script>
	<script src="dist/jquery.min.js"></script>
	<script src="main.js"></script>

</body>

Second I have some of the variables declared globally at the beginning of my main.js document:
var files;
var wookbook;

Third I have an event listener and file upload function:
window.addEventListener("beforeunload", function(e) {
	e.preventDefault();
	e.returnValue = '';
});

//Handle the file upload
function handleFile(e) {
    files = e.target.files; //  <-- FileList object
	var f = files[0];
	var reader = new FileReader();
	reader.onload = function(e) {
		var data = e.target.result;
//Create the workbook object to be edited.
		workbook = XLSX.read(data, {
			type: 'binary', cellFormula: true, cellStyles: true,
			});
		};
		reader.readAsBinaryString(f);
}

Fourth I have a function which updates/edits the excel sheet based on user inputs. Initially I declared variables to use throughout the function (j, l, and z are passed over from the html when the user clicks a button) :
function update (j, l, z){ // <-- j = worksheet number, l = initial cell coordinate, z = formnumber (beginning at 0)
	var sheet = workbook.SheetNames[j]; //  <-- Place of sheet in workbook (starting at 0)
	var worksheet = workbook.Sheets[sheet];
	var currentform = document.forms[z];

Finally I have a loop that works through the user's input and puts it into the excel sheet:
if (complete){
		for (k = 1, l; k <= num.length; ++k, l++){ // <-- k = question number, L = row in excel
			var check = "q" + k.toString(); //  <-- Question number
			var cell = $('form:eq('+z+') input[name='+check+']:checked').val() + l.toString(); //  <-- Which cell the data should be entered into
			worksheet[cell] = { //enter a 1 into the appropriate cell
				t: 'n', // <-- t: 'n' indicates the cell is a number cell
				v: "1" // <-- v holds the value
				};
			}
		handleInputChange(z);
		}

Oh, Extra finally I have the following at the very end of my main.js to download the excel with today's date. The function is called by the user clicking a button:
function submit(){
	var today = new Date();
	var dd = String(today.getDate()).padStart(2, '0');
	var mm = String(today.getMonth() + 1).padStart(2, '0'); // <-- January is 0!
	var yyyy = today.getFullYear();

	today = dd + mm + yyyy;
	var initial = document.getElementById("initial").value;
	XLSX.writeFile(workbook, initial + " " + "Psychometrics" + " " + today + ".xlsx");
}

document.getElementById('files').addEventListener('change', handleFile, false);

Hope this of some use to you! Sorry I'm not entirely sure which bit is important for making it work it was so long ago!


Problems in executing python demo.py -data full

Hello, I made the above mistake when EXECUTING A. I hope I can get the answer

I have the same problem, did you fix it?


Fix installation of pycocotools

Since the pypi package is not official, I prefer installing from github repository.


Apply rewrite for EXCLUDE top-level columns in Trino and Spark; apply SELECT * expansion

Issue #, if available: None
Description of changes:
Applies the same changes from https://github.com/partiql/partiql-scribe/pull/49 to Trino and Spark.

Simplifies the EXCLUDE rewrite for top-level columns
Expands all SELECT tbl.* and SELECT tbl.struct.*

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

In some local testing, verified the transpilations:
Assuming input table tbl w/ 3 top-level columns col1, col2, col3 (assumed to be a boolean):

Input Queries
Input (simple)
SELECT * EXCLUDE t.col3
FROM tbl AS t
WHERE t.col3

Input (JOIN case)
SELECT * EXCLUDE t1.col3,
	t2.col3
FROM tbl AS t1,
	tbl AS t2
WHERE t1.col3
	AND t2.col3

Input (subquery case)
SELECT subq.*


Distrubute pip packages for Linux ARM64

Is your feature request related to a problem? Please describe.
I've had many issues building/installing symforce. Having pip packages available can help significantly with this.
Describe the solution you'd like
Currently, pip packages are only distributed for x86_64 macos, ARM64 macos, and x86_64 linux (see https://pypi.org/project/symforce/0.9.0/#files )
I'd like ARM64 linux to be added.
Describe alternatives you've considered
I've generally just tried to build symforce myself, and that will be my immediate workaround here: building BOTH with pip install . for python compatibility AND with cmake for C++ compatibility, because I haven't figured out how to get either one to give a full install. However, for convenience and reliability, I think having more pre-built packages will be a great addition.
Additional context
Add any other context or screenshots about the feature request here.

This should be pretty doable I think
For reference:

https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation
e.g. https://github.com/pydantic/pydantic/pull/2358


[Event Request] Codeunit 90 "Purch.-Post" OnBeforeTempInvoicePostBufferAssign

Hi, Could You please add the following event to Codeunit 90, function CalculateVATAmountInBuffer?
local procedure CalculateVATAmountInBuffer(PurchHeader: Record "Purchase Header"; var TempInvoicePostBuffer: Record "Invoice Post. Buffer" temporary)
    var
        CurrencyDocument: Record Currency;
        VATPostingSetup: Record "VAT Posting Setup";
        RemainderInvoicePostBuffer: Record "Invoice Post. Buffer";
        VATBaseAmount: Decimal;
        VATBaseAmountACY: Decimal;
        VATAmount: Decimal;
        VATAmountACY: Decimal;
        VATAmountRemainder: Decimal;
        VATAmountACYRemainder: Decimal;
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeCalculateVATAmountInBuffer(PurchHeader, TempInvoicePostBuffer, IsHandled);
        if IsHandled then
            exit;

        VATAmountRemainder := 0;
        VATAmountACYRemainder := 0;

        CurrencyDocument.Initialize(PurchHeader."Currency Code");

        if TempInvoicePostBuffer.FindSet() then
            repeat
                case TempInvoicePostBuffer."VAT Calculation Type" of
                    TempInvoicePostBuffer."VAT Calculation Type"::"Reverse Charge VAT":
                        begin
                            VATPostingSetup.Get(TempInvoicePostBuffer."VAT Bus. Posting Group", TempInvoicePostBuffer."VAT Prod. Posting Group");
                            IsHandled := false;
                            OnPostInvoicePostingBufferOnAfterVATPostingSetupGet(VATPostingSetup, TempInvoicePostBuffer, IsHandled);
                            if not IsHandled then begin
                                VATBaseAmount := TempInvoicePostBuffer."VAT Base Amount" * (1 - PurchHeader."VAT Base Discount %" / 100);
                                VATBaseAmountACY := TempInvoicePostBuffer."VAT Base Amount (ACY)" * (1 - PurchHeader."VAT Base Discount %" / 100);

                                if PurchHeader."Currency Code" <> '' then
                                    VATBaseAmount := CurrExchRate.ExchangeAmtLCYToFCY(
                                        PurchHeader.GetUseDate(), PurchHeader."Currency Code",
                                        VATBaseAmount, PurchHeader."Currency Factor");

                                VATAmount := VATBaseAmount * VATPostingSetup."VAT %" / 100;
                                VATAmountACY := VATBaseAmountACY * VATPostingSetup."VAT %" / 100;
                                //NEW CODE
                                OnBeforeTempInvoicePostBufferAssign(VATAmount, VATAmountACY,TempInvoicePostBuffer);
                                //END NEW CODE
                                TempInvoicePostBufferReverseCharge := TempInvoicePostBuffer;
                                if TempInvoicePostBufferReverseCharge.Find() then begin
                                    VATAmountRemainder += VATAmount;
                                    TempInvoicePostBuffer."VAT Amount" := Round(VATAmountRemainder, CurrencyDocument."Amount Rounding Precision");
                                    VATAmountRemainder -= TempInvoicePostBuffer."VAT Amount";

                                    if PurchHeader."Currency Code" <> '' then
                                        TempInvoicePostBuffer."VAT Amount" := Round(
                                            CurrExchRate.ExchangeAmtFCYToLCY(
                                                PurchHeader.GetUseDate(), PurchHeader."Currency Code", TempInvoicePostBuffer."VAT Amount", PurchHeader."Currency Factor"));

                                    VATAmountACYRemainder += VATAmountACY;
                                    TempInvoicePostBuffer."VAT Amount (ACY)" := Round(VATAmountACYRemainder, Currency."Amount Rounding Precision");
                                    VATAmountACYRemainder -= TempInvoicePostBuffer."VAT Amount (ACY)";

                                    TempInvoicePostBuffer."VAT Base Amount" := Round(TempInvoicePostBuffer."VAT Base Amount" * (1 - PurchHeader."VAT Base Discount %" / 100));
                                    TempInvoicePostBuffer."VAT Base Amount (ACY)" := Round(TempInvoicePostBuffer."VAT Base Amount (ACY)" * (1 - PurchHeader."VAT Base Discount %" / 100));
                                end else begin
                                    if PurchHeader."Currency Code" <> '' then
                                        VATAmount := Round(
                                            CurrExchRate.ExchangeAmtFCYToLCY(PurchHeader.GetUseDate(), PurchHeader."Currency Code", VATAmount, PurchHeader."Currency Factor"))
                                    else
                                        VATAmount := Round(VATAmount);

                                    TempInvoicePostBuffer."VAT Amount" := VATAmount;
                                    TempInvoicePostBuffer."VAT Amount (ACY)" := Round(VATAmountACY, Currency."Amount Rounding Precision");

                                    TempInvoicePostBuffer."VAT Base Amount" := Round(TempInvoicePostBuffer."VAT Base Amount" * (1 - PurchHeader."VAT Base Discount %" / 100));
                                    TempInvoicePostBuffer."VAT Base Amount (ACY)" := Round(TempInvoicePostBuffer."VAT Base Amount (ACY)" * (1 - PurchHeader."VAT Base Discount %" / 100));
                                end;
                                NonDeductibleVAT.Update(
                                    TempInvoicePostBuffer, RemainderInvoicePostBuffer, CurrencyDocument."Amount Rounding Precision");
                                TempInvoicePostBuffer.Modify();
                            end;
                        end;
                    TempInvoicePostBuffer."VAT Calculation Type"::"Sales Tax":
                        if TempInvoicePostBuffer."Use Tax" then begin
                            TempInvoicePostBuffer."VAT Amount" := Round(SalesTaxCalculate.CalculateTax(
                                TempInvoicePostBuffer."Tax Area Code", TempInvoicePostBuffer."Tax Group Code",
                                TempInvoicePostBuffer."Tax Liable", PurchHeader."Posting Date",
                                TempInvoicePostBuffer.Amount, TempInvoicePostBuffer.Quantity, 0));
                            if GLSetup."Additional Reporting Currency" <> '' then
                                TempInvoicePostBuffer."VAT Amount (ACY)" := CurrExchRate.ExchangeAmtLCYToFCY(
                                    PurchHeader."Posting Date", GLSetup."Additional Reporting Currency",
                                    TempInvoicePostBuffer."VAT Amount", 0);
                        end;
                end;

            until TempInvoicePostBuffer.Next() = 0;
    end;

Event:
      [IntegrationEvent(false, false)]
    local procedure OnBeforeTempInvoicePostBufferAssign(var VATAmount: Decimal; var VATAmountACY: Decimal;var TempInvoicePostBuffer:Record "Invoice Post. Buffer" )
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11826.


Steps to reproduce:
import requests
print("hello")

Logs
Output from Python output panel

Output from Console window (Help->Developer Tools menu)
[/Users/johnlyu/.vscode/extensions/ms-vscode.cpptools-0.15.0]: Command `workbench.action.gotoSymbol` appears multiple times in the `commands` section.
/Applications/Visual Studio Code 2.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4183 [/Users/johnlyu/.vscode/extensions/ms-vscode.cpptools-0.15.0]: Command `workbench.action.showAllSymbols` appears multiple times in the `commands` section.
 Use os.tmpdir() instead.

Please could you provide a screenshot of VS Code along with the following:

Errors displayed
The debugger options selected (this is generally available on the bottom left of the debugger screen)

Output window
Nothing in OUTPUT tab.
What do you mean by caught exceptions?
Does VS Code break into these exceptions?
Yes, it break into these exceptions while if I uncheck uncaught exceptions the script finish with on errors.

Please could you provide the full path to python?
which python

I wonder if the problem in pdb but it works well in terminal
$python3 -m pdb -c continue test.py
hello

I have set "python.pythonPath": "python3",
 which python3
/usr/local/bin/python3

The debugger should work if you hit the continue button.
I understand this doesn't answer why its breaking into those exceptions.
Please provide the contents of your launch.json file
Also could try installing Python from here https://www.python.org/downloads/ and let me know if you get the same errors with that version of Python.

Default launch config is used for test.py
        {
            "name": "Python",
            "type": "python",
            "request": "launch",
            "stopOnEntry": true,
            "pythonPath": "${config:python.pythonPath}",
            "program": "${file}",
            "cwd": "${workspaceFolder}",
            "env": {},
            "envFile": "${workspaceFolder}/.env",
            "debugOptions": [
                "RedirectOutput"
            ]
        }

Removed python3 by brew uninstall --force python3 and reintall it with official package python-3.6.4-macosx10.6.pkg, the same errors occurs.

Thats very odd.
@brettcannon @ericsnowcurrently
Are you able to replicate this issue on your PC or Mac?

No issue on my Windows 10 box.

@brettcannon utils.py comes from import requests, I can caught exceptions like this by import requests, numpy, transitions and so on.
No sitecustomize.py or PYTHONSTARTUP

Example of import numpy

ok, this looks interesting, i dont think theres anything wrong with the extension, you seem to have something wrong with your setup, cuz the above exceptions are being reported.
These are valid exceptions and are being reported because the flag Uncaught Exceptions is selected.
The question is why do you have so many of these, thats whats unusual.

Please could you debug the following code:
import sys
print(sys.executable)

/usr/local/opt/python3/bin/python3.6

@PaleNeutron
Please could you make the following change and test the issue once again:

Ensure you have the latest version of the extension
Change "type": "python", to "type": "pythonExperimental", in your launch.json

@DonJayamanne  Everything works fine! Thanks a lot.


In unitary_eig, check preconditions before performing computing eigenvalues

They are pre-conditions after all.
Also defines cirq.is_normal.

The diagonal check is not cheaper because it requires first computing the factorization, which is much more expensive than checking whether the matrix is normal. The purpose of performing the check should be to prevent the expensive computation from happening in the event of a failed check.

I disagree. You're only taking into account the cost when the matrix fails to be normal. In this case before the PR we indeed pay the full cost of the Schur decomposition which is greater than the cost of commutativity check. However, the commutativity check costs more when the matrix is in fact normal. Consequently, as long as we think that non-normal inputs are rare this PR increases the overall cost.
(That said, I don't think the increase is going to be a problem in practice.)

Ah, I see what you're saying. I still prefer the semantics of the change that I made (and again, users can always disable the check).

Yes, I agree with your PR: it is weird that check_precondition checks a post-condition. I don't think we were discussing a significant cost and in any case it can be disabled, so LGTM.


Remove duplication between cli and sbt-plugin code

There is some code duplication between cli and sbt-plugin code (argument parsing and more). It should be refactored out. Library could be used to do argument parsing (e.g. scallop) to remove fuzzy matching on strings.

obsoleted by #208


Unable to install a module from PSGallery

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Tried installing the module SNMP from PowerShellGallery. The below error was thrown:
➜ ~  Install-Module -Name SNMP
Install-Module: The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'.

So I tried 'Import-Module PowerShellGet`, the below error was thrown:
➜ ~  Import-Module PowerShellGet
Import-Module: Errors occurred while loading the format data file:
C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml, , C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml: The file was skipped because of the following validation exception: File C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..

Tried several fixes like setting execution policy, changed the 'SecurityProtocol' according to this announcement, nothing worked
I've been facing this issue for quite some time now. Please let me know if anymore detail is required.
Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Expected behavior
PS> Install-Module -Name SNMP
... Module installed successfully (Not sure about the actual output)

Actual behavior
PS> Install-Module -Name SNMP
Install-Module: The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'

Error details
PSMessageDetails      :
Exception             : System.Management.Automation.CommandNotFoundException: The 'Install-Module' command was found in the module 'PowerShellGet', but
                        the module could not be loaded. For more information, run 'Import-Module PowerShellGet'.
                         ---> System.Management.Automation.CmdletInvocationException: Errors occurred while loading the format data file:
                        C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml, , C:\program
                        files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml: The file was skipped because of the following
                        validation exception: File C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml cannot be
                        loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..

                         ---> System.Management.Automation.RuntimeException: Errors occurred while loading the format data file:
                        C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml, , C:\program
                        files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml: The file was skipped because of the following
                        validation exception: File C:\program files\powershell\7\Modules\PackageManagement\PackageManagement.format.ps1xml cannot be
                        loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..

                           at System.Management.Automation.Runspaces.InitialSessionState.ThrowTypeOrFormatErrors(String resourceString, String errorMsg,
                        String errorId)
                           at System.Management.Automation.Runspaces.InitialSessionState.UpdateFormats(ExecutionContext context, Boolean update)
                           at System.Management.Automation.Runspaces.InitialSessionState.Bind_UpdateFormats(ExecutionContext context, Boolean updateOnly)
                           at System.Management.Automation.Runspaces.InitialSessionState.<>c__DisplayClass130_0.<Bind>b__1()
                           at System.Management.Automation.Runspaces.InitialSessionState.Bind(ExecutionContext context, Boolean updateOnly, PSModuleInfo
                        module, Boolean noClobber, Boolean local, Boolean setLocation)
                           at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModuleManifest(String moduleManifestPath, ExternalScriptInfo
                        manifestScriptInfo, Hashtable data, Hashtable localizedData, ManifestProcessingFlags manifestProcessingFlags, Version
                        minimumVersion, Version maximumVersion, Version requiredVersion, Nullable`1 requiredModuleGuid, ImportModuleOptions& options,
                        Boolean& containedErrors)
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
                           at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
                           at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1
                        output, PSInvocationSettings settings)
                           at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output,
                        PSInvocationSettings settings)
                           at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, IList`1 output, PSInvocationSettings settings)
                           at System.Management.Automation.PowerShell.Invoke[T]()
                           at System.Management.Automation.CommandDiscovery.AutoloadSpecifiedModule(String moduleName, ExecutionContext context,
                        SessionStateEntryVisibility visibility, Exception& exception)
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.CommandDiscovery.TryModuleAutoDiscovery(String commandName, ExecutionContext context, String
                        originalCommandName, CommandOrigin commandOrigin, SearchResolutionOptions searchResolutionOptions, CommandTypes commandTypes,
                        Exception& lastError)
                           at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes,
                        SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context)
                           at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource)
                           at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements,
                        CommandBaseAst commandBaseAst, CommandRedirection[] redirections, ExecutionContext context)
                           at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][]
                        pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                           at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
TargetObject          : Install-Module
CategoryInfo          : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

Environment data
PS> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Please create new issue in https://github.com/PowerShell/PowerShellGet

The exception is thrown from the following code that is checking on whether the system is locked down.
Does your computer have a system-wide lock-down through WLDP or AppLocker?  /cc @TravisEz13
https://github.com/PowerShell/PowerShell/blob/64d2fe26f3957eeb400e48234accbc8e643ef929/src/System.Management.Automation/security/SecurityManager.cs#L170-L180

Does your computer have a system-wide lock-down through WLDP or AppLocker

@daxian-dbw  I'm sorry, I don't know how to check this. May I know?

This code pass is only when you have AppLocker disallow policies.
You really need to work with your IT department.
These are the documents to get the Group Policy, which is how AppLocker policy is applied.
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpresult
gpresult /h <path to report.html>

Here is the documentation about AppLocker script policy:
https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/applocker/script-rules-in-applocker

Adding needs triage to make sure the security WG reviews this.

@WG-Security
We agree the above investigation.  It is not clear what policy is being applied so it is not possible to comment more, except that the policy requires that PowerShell denies loading PowerShellGet.  We recommend that you investigate the AppLocker policy applied to the system.


ReadWriteMemory::get_polys_r1cs by reference

ReadWriteMemory::get_polys_r1cs() is extremely slow (here) because it clones all of the underlying not once but twice. On a ~16M cycle count trace on a 64 core machine it takes 2% of end-to-end time.
First: remove the double clones from self.v_read and self.v_write_rd. Double clones come from a clone in DensePolynomial::evals() then another in .flat_map(...).collect().
Second: refactor get_polys_r1cs() to return lifetimed references to the underlying vectors via DensePolynomial::evals_ref() rather than cloning / reallocating at all.
It may be helpful to review the tracing strategy for performance testing.

hey! Would be happy to take this!

Great! Feel free to ask questions here.

Closed by #307


Sync Bitcoin

Can anyone tel me that how to syc bitcoin and check sync status in ubuntu?
I am asking this because deposit address is not generating
Thanks in advance

Hi. The issue is not related to Peatio. You can always google for bitcoind materials on the net. For example https://en.bitcoin.it/wiki/Running_Bitcoin


Add -Denable-fp16=true build to CI

Some code could break build with -Denable-fp16=true option, like https://github.com/nnstreamer/nntrainer/pull/2545. I think it would be helpful to add this build to CI to ease the burden on reviewers.

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

@skykongkong8 What do you think?

Good point.
As far as I am concerned, Reason why -Denable-fp16 is not included in current CI is because it is relatively newer option than the others.
Even for now, I personally think that it is not really matured to be checked for every PR, because we have multiple plans to refactorize the structure of half-precision formats. I need more opinions about this. @jijoongmoon

You may add enable-fp16 build test in CI.
You may limit test coverage or error reporting mechanisms for enable-fp16, too. (you can let github-action gracefully ignore failed TCs, too, so that we can see the number of failed cases but the CI says "OK".)
Anyone needing this may add it.

@skykongkong8 @myungjoo I'll add this to CI. Thanks for comment!

Great! Thanks for pointing this issue out :)


Add steps for running WebNN NPU

PTAL, thanks! @Honry @huningxin @ibelem

@huningxin @Honry do you have any comments for merging this PR? Thanks

Upload a new commit, PTAL, thanks! @ibelem @Honry @huningxin

Updated to address your comments, PTAL again, thanks! @huningxin


Bluetooth: gatt: Allow to use CONFIG_BT_GATT_DYNAMIC_DB without CONFIG_BT_GATT_SERVICE_CHANGED

Describe the solution you'd like
If GATT Services are registered/unregistered only before Bluetooth is enabled, the GATT database would not change (from remote device's perspective). We could allow to use the dynamic database GATT API when Service Changed support is disabled in that case (register/unregister functions could return an error when GATT Service is registered after Bluetooth was enabled).
Additional context
Disabling support for Service Changed could allow developers to save quite a lot of memory (even~3500B of FLASH + ~ 500B of RAM when I checked locally; needed to remove implementation of sc_indicate to build successfully). The feature could be useful for memory-limited devices.

Hi, Have you investigated how to apply this feature(removal of Service Changed)? Have you prepared some sort of patch? I just came to this topic and found your question.

To quickly test the feature, you could remove dependency on CONFIG_BT_GATT_SERVICE_CHANGED from CONFIG_BT_GATT_DYNAMIC_DB and comment out the mentioned sc_indicate implementation in bluetooth/host/gatt.c (to prevent build failures).  Then you can disable the CONFIG_BT_GATT_SERVICE_CHANGED in your configuration. Make sure that you do not register any GATT Services after Bluetooth is enabled in that case too.
Proper solution may require applying additional changes to the code (to ensure that there are no hidden assumptions related to the removed dependency). Apart from that. I think that  it would be good to add checks ensuring that no GATT Service is registered/unregistered after Bluetooth is enabled (we could either return an error or at least assert that).
I do not have patch for this one, but applying fixes mentioned in my first comment locally should be straightforward.


[Release-1.5] Change to comma separated value for app_container (#25441)

Please provide a description for what this PR is for.
Change to comma separated value for app_container (#25441) …
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ X] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@gargnupur: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
b6ecacc8d053b42c83e2fcf78e6665ffe8f2c6fc
link
/test gencheck_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@gargnupur: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
b6ecacc8d053b42c83e2fcf78e6665ffe8f2c6fc
link
/test gencheck_istio_release-1.5

integ-telemetry-k8s-tests_istio_release-1.5
b6ecacc8d053b42c83e2fcf78e6665ffe8f2c6fc
link
/test integ-telemetry-k8s-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@gargnupur: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio_release-1.5
b6ecacc8d053b42c83e2fcf78e6665ffe8f2c6fc
link
/test integ-telemetry-k8s-tests_istio_release-1.5

integ-istioio-k8s-tests_istio_release-1.5
76cdc2fdcc7e73efdc74f1ab6961aee35e566e04
link
/test integ-istioio-k8s-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-istioio-k8s-tests_istio_release-1.5


ID and Command columns

The overview table needs an id column at the very left and a command column to the right of the experiment name.

I was thinking about that, but what to do with the long ObjectIds? Do you
want to show them too?
2017-05-03 21:56 GMT+02:00 Klaus Greff<EMAIL_ADDRESS>
The overview table needs an id column at the very left and a command
column to the right of the experiment name.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chovanecm/sacredboard/issues/31, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADcaesqFhfpp3DnJK5l1YIaxTQoIcURvks5r2NvwgaJpZM4NP4JS
.

--
S pozdravem
Martin Chovanec

Yes. They will be a bit annoying, but they will be a thing of the past soon, so I'd just show them anyway.

Done in 683baa10efefe178fc462c8a7d097d4539faaf6e and 6bf122978cd139dcef036e0cacf6d62701639a92 (develop branch)

Sweet!


bug: nav-direction not working with ng-repeat

Type: bug
Platform: all
I want to use nav-direction in the way it's documented in the docs but unfortunately it just doesn't do anything at all.
I tried using it like this:
<a nav-direction="forward" data-ng-href="#/main/tabs/{{tabItem.path}}" data-ng-repeat="tabItem in tabItems track by $index">
but it doesn't work. I have a tabbed interface and the href points to a different tab than the current one. Here is a codepen with the issue. Everything works smoothly until I add ng-repeat. In the codepen, I am talking about the buttons on the home-tab. The first two work as expected since they are in the same tab but as soon as you click on 'about' you can see the problem.
Thankfully, someone in the forum found out about the $ionicViewSwitcher.nextDirection function which I am using now. If this would be officially supported / documented, my problem would be solved. Since this is undocumented, my concern right now is that it might vanish at any time and then I would have to find out how to do this again.
You can find the forum discussion here.

Greetings @jonathanherdt!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @jonathanherdt!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.

Seems a priority issue similar to #2741
A workaround is to move nav-direction and href to a child element in ng-repeat


Silence the transaction warning 🔇

Would it be possible to silence the transaction warning. It's good to have but in some cases I really don't mind and am just bothered that this warning keeps getting logged.

Hey! Could you go into a bit more detail about why Drizzle's transaction API is preferred in your case, even though it does not isolate transactions? Isolation is one of the main reasons to use a transaction.


Add MongoKitten

Adds the MongoKitten project
Project URL
https://github.com/OpenKitten/MongoKitten
Category
Databases
Why it should be included to awesome-ios (mandatory)
MongoKitten supports both SPM and Cocoapods as well as iOS, macOS and Linux. I believe that all developers that use MongoDB either through an embedded database or using a MongoDB server will find our APIs powerful and useful.
Checklist

[x] Has 50 Github stargazers or more
[x] Only one project/change is in this pull request
[x] Isn't an archived project
[x] Has more than one contributor
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 4 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

3122
525
https://appreviewtimes.com

3208
503
https://www.reddit.com/r/iOSProgramming/

3307
500
http://www.swiftplayhouse.com/

3309
307
http://mtjc.fm/ redirects tohttps://mtjc.fireside.fm/

  Generated by :no_entry_sign: Danger


Metadata translation works differently according to Power BI tenants.

Describe the bug
Metadata translation does not work simultaneously with the language setting of browser.
To Reproduce
Steps to reproduce the behavior:

Add metadata translation (ex: en_US and ja_JP) to some Measures using Tabular Editor.
Save the Power BI report and upload it into a Power BI workspace.
Switch to Browser language to Japanese (Power BI workspace language setting is set to "default(browser language)")

Expected behavior
In every tenant,translation behavior is the same.
Observed behavior
In one tenant,They are translated into English
But, in the other two tenants,they are translated in Japanse.
Application specifics

Tabular Editor 2.X version: 2.17.2
Semantic Engine used: Power BI Desktop(Version:2.114.803.0 64-bit )
Model Compatibility Level: not sure

Additional context
In all 3 tenants, Pro licenses are assigned.
In the tenant where texts are translated in English, I'm guest user to the tenant, but am assigned admin role in the workspace.
Questions
Do any admin settings of Power BI tenants affect metadata translation's behavior of each tenant?

Unfortunately, this is not a Tabular Editor specific problem. Please raise this issue on the Power BI community forums or raise a support ticket with Microsoft.


Onboarding Wisconsin

This is a ticket to track the work being done to onboard Wisconsin. Keep any notes and info here and then close it out when they go to production.

closing will create a new one when WI onboards


Regenerated rest api client and Refactored workspace connection parameters

Replaces #558 and #564
Main changes:

Regenerated the rest api client based on latest swagger
Refactored the parameters to connect to a workspace into its own class
Gathered common constants into a new _constants.py file
Cleaned up code/logic of the _authentication module
Cleaned up and fixed some bugs in the unit test framework
Refactored, cleaned up, and added more tests for the workspace connection parameters and authentication
Fixed many linting errors

Thank you for cleaning up the _DefaultAzureCredential and Workspace!
Since we now have auto-generated documentation for azure-quantum package we would need to pay attention what classes get added into it. I think the changed in this PR won't add any documentation for us as the WorkspaceConnectionParams is private and is not defined in __all__ anywhere, but otherwise they would go into documentation.

Cool!
I kept it out of __all__ for this reason.
Is there a way to run the doc-gen locally to see the results?

Superseded by #579


qt5 based implementation

note: this is not integrated into the build - I have no idea of premake in combination with qt
but I still hope it can serve as a reference
I tried to match your coding style - if something isn't how you wanna it to be, please let me know.

just for reference (as no premake is there) - here is the cmake build script that i'm using.
set(LIB nativefiledialog)
set(SRCS nfd_common.c nfd.h)

set(EXTRA_INCLUDE_DIRS)
set(EXTRA_LIBRARIES)

if (APPLE)
	set(SRCS ${SRCS} nfd_cocoa.mm)
	set(EXTRA_LIBRARIES ${EXTRA_LIBRARIES} AppKit)
endif()

if (MSVC)
	set(SRCS ${SRCS} nfd_win.cpp)
endif()

set(QT FALSE)
if (LINUX)
	find_package(Qt5Widgets)
	if (${Qt5Widgets_FOUND})
		set(SRCS ${SRCS} nfd_qt.cpp)
		set(QT TRUE)
	else()
		pkg_check_modules(GTK3 gtk+-3.0)
		if (GTK3_FOUND)
			link_directories(${GTK3_LIBRARY_DIRS})
			add_definitions(${GTK3_CFLAGS_OTHER})
			set(SRCS ${SRCS} nfd_gtk.c)
			set(EXTRA_INCLUDE_DIRS "${EXTRA_INCLUDE_DIRS} ${GTK3_INCLUDE_DIRS}")
			set(EXTRA_LIBRARIES "${EXTRA_LIBRARIES} ${GTK3_LIBRARIES}")
		else()
			find_program(ZENITY zenity)
			if(ZENITY)
				set(SRCS ${SRCS} nfd_zenity.c)
			else()
				message(FATAL "Could not find any working dialog")
			endif()
		endif()
	endif()
endif()

add_library(${LIB} ${SRCS})

if (QT)
	qt5_use_modules(${LIB} Widgets)
endif()

if (EXTRA_INCLUDE_DIRS)
	target_include_directories(${LIB} PRIVATE ${EXTRA_INCLUDE_DIRS})
endif()
if (EXTRA_LIBRARIES)
	target_link_libraries(${LIB} ${EXTRA_LIBRARIES})
endif()

I see the primary benefit of NFD being avoiding large libraries like QT.  If you are linking QT, why would you want NFD?

There is also gtk; )
And it just allows me to us the lib on different desktop environments with native support for the directory picker.

Unfortunately, Qt's Cmake is incompatible with our build system.  I will not be maintaining Cmake or incorporating it into NFD.  Pre-generating build scripts with Premake as we do is far better for our users.
I have no idea how to maintainably support Qt via Premake and I find the rationale for Qt's existence in NFD at all circumspect, as one of the main goals is to allow library users to avoid linking Qt or Wx.  There is also a question of license compatibility which I am not even going to render an opinion on at this point.
I am going to pass on this PR


UPNP functionality?

It would be awesome cause there are no 1.17.1 mods with such option for casual non-techy guys

I know nothing about UPnP, and it would add a library and increase the weight and scope of the mod...
I have my reservations about this, but it's not out of the question.

Well, if anyone here understands UPnP, you can help out.

@DimiDimit maybe you could look at this mod which does have UPnP Port forwarding
https://www.curseforge.com/minecraft/mc-mods/mcwifipnp

That mod seems to be using WaifUPnP...

+1. UPnP is available on all the alternatives, but I prefer the settings of this particular mod a lot more. You could also look into adding support for using another LAN mod that has UPnP simply for the UPnP integration alone, while keeping this mod on top.