ValueError: axes don't match array

Hi, help please! :(
I try to create a simple model like
import segmentation_models_3D as sm
import os
sm.set_framework('tf.keras')
os.environ["KERAS_BACKEND"] = "tensorflow"
model1 = sm.Unet(backbone_name="resnet50", input_shape=(32, 96, 96, 1), encoder_weights="imagenet")

but it says ValueError: axes don't match array.
I tried #8
to make os.environ["KERAS_BACKEND"] = "tensorflow" as above shows and nothing!
The tst_keras.py file works for me, I don't understand nothing! (I'm trying to run the code at the beggining in Visual Studio Code, .ipynb file).
Please :(

Update:
The problem is the number of channels. If I try input_shape=(32, 96, 96, 1) instead of input_shape=(32, 96, 96, 3) it works. Can't use Unet for single channel volumes?

As I remember, there is no imagenet weights for single channel input. It can be fixed in code, but currently not supported

Simplest solution is to triplicate input for model)

Simplest solution is to triplicate input for model)

@ZFTurbo
This is a possibility, but it limits my batch size to 3 times smaller. If there is no alternative, it is an option!
In the code of convert_imagenet_weights_to_3D_models.py
code, isn't there an option to do this for a channel?
Thank you very much for your quick reply!

If you increase input from 1 to 3, the required memory for model almost won't change.
Yes, convert_imagenet_weights_to_3D_models.py - this code can be used to generate required weigths from 2D variant for 1 channel only.

If you increase input from 1 to 3, the required memory for model almost won't change.

Doesn't each piece of data take up three times as much space? If not, I prefer this option because it is simpler and because I don't have much time hehe.

Yes, convert_imagenet_weights_to_3D_models.py - this code can be used to generate required weigths from 2D variant for 1 channel only.

Well, I'll try to do it in the future when I have more time!

@ZFTurbo, could you please explain what should be modified in convert_imagenet_weights_to_3D_models.py, so that it is possible to generate weights from 2D variant for 1 channel only?
If I set shape_size_3D = (64, 64, 64, 1), I get:
ValueError: Layer bn_data weight shape (1,) is not compatible with provided weight shape (3,).
In case I also set shape_size_2D = (224, 224, 1), I get:
ValueError: Cannot assign value to variable ' bn_data/beta:0': Shape mismatch.The variable shape (1,), and the assigned value shape (3,) are incompatible.


Remove node 0.10 / 0.12 support?

@rchipka Our appveyor build seems to be broken for node 0.10 and 0.12. Should we remove these or are they still used and required?

I was going to include a fix for this in the 0.18.7 release. I think all we need to do is install an earlier NPM version. Probably should lock down the node-gyp version too just to be safe.

Yup, makes sense!

Should be fixed in v0.18.7
We now have much better pre-compiled binary coverage across different Node versions and OSs!


Split Render Middleware into Pre and Post Opportunities

Right now renderer middleware can only interact with the rendering process before a component has been displayed. This opportunity should be split into two types of middleware:
Pre-Render Middleware - Receives an observable of:

The component to be rendered
Injector of the <route-view> that is handling rendering
Array of providers to be used when creating the component
Route instruction

Post-Render Middleware - Receives an observable of:

The component ref created by the DCL after rendering the component

To clarify, the intent of pre-middleware is to create a hook for other developers to build features like data resolution. Post-middleware is for features like scrolling to an anchor point on hash change and checking if a route view has finished loading.


Jobs with Retries Have % > 100

Storage Explorer Version: 1.0.0
OS Version: Ubuntu 17.04
Steps to Reproduce:

Download some files
Hope one of the downloads has to retry

Expected Experience: Retry % is accurate
Actual Experience: I see 10000%

Don't have much more info for the bug, seems to be a very weird case. Also note the group job saying it is complete when it clearly isn't.
Other notes:

Cancelling the jobs with big %s caused errors in the console. It looks like the context of what this is was lost when handleActivityAction in SeperateProcessJobHandler was called from RemoteActivityManager

I'm running on an VM, which a few times was paused because my disc ran low on space

Ok, I think I've got it.
In SeparateProcessJobHandler.ts, we have activityManager.onExecuteAction(this._handleActivityAction);, but handleActivityAction is not an arrow function, sot it can't be passed in like that. It needs to be like (args) => this.handleActivityAction(args). We should fix this for 1.1.0.

Closing as I can no longer repro.


refactor(Algebra/Category/Ring): make morphisms a structure

Following the pattern of #19065, we introduce a Hom structure for morphisms in SemiRingCat, CommSemiRingCat, RingCat and CommRingCat allowing for many simplified proofs and reducing the need of erw.
Besides the additional explicitness in form of ofHom and Hom.hom, the main regression is friction with the FunLike instance from the general ConcreteCategory API, causing the need for explicit rws between f.hom x and (forget RingCat).map f x. This regression can be fixed by replacing the general ConcreteCategory.instFunLike by a CoeFun (or FunLike) instance that is part of the ConcreteCategory data.
Co-authored-by: Anne Baanen<EMAIL_ADDRESS>

!bench

Okay, I'm happy to proceed here as is. We still have a ways to go, I guess, but this is a forward step and we might as well have it in now.
bors d+

Then lets merge this before it starts rotting.
bors merge


feat: control displayed sponsors

Types of changes
Thanks for sending a pull request! Please fill in the following content to let us know better about this change.
Please put an x in the box that applies

[ ] Bugfix
[X] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Other (please describe)

Description
Describe what the change is
You don't need to explain HOW you change the code. Your code, including comments in the code should explicitly
self-describe enough about how you change the code.

add a new variable is_show to manage sponsor data retrieval via the sponsor API.
testing for a new feature implementation.

issue related: #508

I tested it on staging and found previous logos would disappear.

Is it normal? Should we inform sponsor team to recreate logos for new control?


ERROR:    Exception in ASGI application when using Screen Recording to prototype

When I use other functions, everything is normal. But when I uploaded the screen recording, the error was as follows:
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 250, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in __call__
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/middleware/cors.py", line 75, in __call__
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 82, in app
    await func(session)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app
    await dependant.call(**values)
  File "/root/Workspace/screenshot-to-code/backend/routes/generate_code.py", line 64, in stream_code
    params: Dict[str, str] = await websocket.receive_json()
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "/root/.cache/pypoetry/virtualenvs/backend-1Rb1d6GZ-py3.10/lib/python3.10/site-packages/starlette/websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: CloseCode.ABNORMAL_CLOSURE
INFO:     connection closed

How long is your video?

Same ASGI error, but my error is as follows：
Traceback (most recent call last):
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 250, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in __call__
    await self.app(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/middleware/cors.py", line 75, in __call__
    await self.app(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle
    await self.app(scope, receive, send)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 82, in app
    await func(session)
  File "/home/ljh/.cache/pypoetry/virtualenvs/backend-86_ny3-v-py3.10/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app
    await dependant.call(**values)
  File "/home/ljh/Softwares/screenshot-to-code/backend/routes/generate_code.py", line 260, in stream_code
    completion = await stream_openai_response(
  File "/home/ljh/Softwares/screenshot-to-code/backend/llm.py", line 54, in stream_openai_response
    content = chunk.choices[0].delta.content or ""
IndexError: list index out of range

@nelloloujh are you getting that error when you do video or just a screenshot?

@abi Just use a screenshot.

Hard to debug with just that information. This error
"content = chunk.choices[0].delta.content or ""
IndexError: list index out of range"
usually indicates the Open AI has not given a response. Are you using a screenshot that might trigger moderation blocking?
Does this error happen no matter what the screenshot is? Can you try a simple screenshot like one of google.com?

https://v0.dev/
It free from https://vercel.com/

@abi Could it be caused by the OpenAI Key being unavailable?

@sh731928441 im not sure. Please open a separate ticket and share your logs.

same issue

I got the same error, I had valid key with credits inside it but I keep getting the same error: Exception in AGSI. I tried using to run via Docker too but on docker got the same error.

I am slecting calude sonnet model for rescord screen and got the same error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 285, in ffmpeg_parse_infos
line = [l for l in lines if keyword in l][index]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\uvicorn\protocols\websockets\websockets_impl.py", line 250, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\fastapi\applications.py", line 276, in call
await super().call(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\middleware\errors.py", line 149, in call
await self.app(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\middleware\cors.py", line 75, in call
await self.app(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\routing.py", line 718, in call
await route.handle(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\routing.py", line 341, in handle
await self.app(scope, receive, send)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\starlette\routing.py", line 82, in app
await func(session)
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\fastapi\routing.py", line 289, in app
await dependant.call(**values)
File "D:\mojosolo_projects\screenshottocode\screenshot-to-code\backend\routes\generate_code.py", line 210, in stream_code
prompt_messages = await assemble_claude_prompt_video(video_data_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode\screenshot-to-code\backend\video\utils.py", line 21, in assemble_claude_prompt_video
images = split_video_into_screenshots(video_data_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode\screenshot-to-code\backend\video\utils.py", line 79, in split_video_into_screenshots
clip = VideoFileClip(temp_video_file.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\moviepy\video\io\VideoFileClip.py", line 88, in init
self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 35, in init
infos = ffmpeg_parse_infos(filename, print_infos, check_duration,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mojosolo_projects\screenshottocode.venv\Lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 289, in ffmpeg_parse_infos
raise IOError(("MoviePy error: failed to read the duration of file %s.\n"
OSError: MoviePy error: failed to read the duration of file C:\Users\MUAZ\AppData\Local\Temp\tmpr286buta.webm.
Here are the file infos returned by ffmpeg:
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100
C:\Users\MUAZ\AppData\Local\Temp\tmpr286buta.webm: Permission denied

Same issue

This problem is due to the fact that ffmpeg cannot determine the length of the video. You can try to change the way of video length detection and try a different codec

Same error on Windows trying to use screen recorded.... and I'm having another error when trying to use screenshot, not able to generate code, nether via docker or outside.


docs: fix incorrect link to bark client extension

Changes
Link to bark was incorrectly pointing to a completely unrelated pagination extension.
I fixed the link.
Maybe it makes sense to add the pagination in a new row.

Thanks for catching this 🙏


adding airframe config for s500

This file is a work in progress and will be edited later after fine tuning the gains.

Could we keep this completely generic?
Something like "Generic 500mm Quadcopter" instead of "S500".

Makes sense if there's going to be more specific parameters.

@LorenzMeier This hasn't been fine tuned yet. After solving its "preflight fail: mag inconsistent" check (I faced on the Flyday) I had switched my priority to crazyflie.
I will tune, rename and commit the final parameters on Monday.

This is safe to merge, renaming or additional tuning can continue off of master.


Support xmake-requires.lock to lock all required packages

https://github.com/xmake-io/xmake/issues/1567


Make linkerd webhook to use failurePolicy as Fail

Right now lokoctl's installation methodology has drawbacks where it installs webhooks first thus blocking out the webhook pod and creating a deadlock.  We should fix this problem in lokoctl and change the failurePolicy to Fail.

Another thing to look at is the way lokoctl creates namespace. Currently lokoctl drops all the namespace configs. And creates a namespace imperatively. This is a lossy operation because if a chart ships namespace config with informantion like labels/annotations then all that is lost.
So try creating the namespace for linkerd with the namespace config shipped in the chart. This might break the deadlock introduced right now by lokoctl. Similar issue: https://github.com/kinvolk/lokomotive/issues/647.

Perhaps we should only drop release namespace and not all namespace objects when sanitizing the charts.

with helm's install.CreateNamespace = true, it creates a namespace object and creates it on the fly, rather than create it from the release namespace manifest present in the chart.
If the release namespace manifest exists in the chart, helm throws an error resource already exists.

The original PR eventually removed the failurePolicy: Ignore override, so it is Fail now.


cert-manager - Prevent the Let's Encrypt rate limiting issue

This PR provides a solution to prevent the Let's Encrypt rate limiting issue, i.e. resolves #201
Specifically

Adds the documentation regarding the installation and the usage of kubed to synchronize secrets between multiple namespaces
Drops the cert-manager annotations from the ingresses created by the operator
Drops the registry-credentials secret creation from the setup-courses script

/lgtm


Choose the best global secondary index which consider range key

I use dynamoid in my model as following:
class User
  include Dynamoid::Document

  table name: :line_users, key: :id

  field :parent_id, :string
  field :some_value, :string
  field :some_date_at, :datetime

  global_secondary_index hash_key: :parent_id, range_key: :some_value, projected_attributes: :all
  global_secondary_index hash_key: :parent_id, range_key: :some_date_at, projected_attributes: :all
end

So I would like to search via query like a following code:
User.where(parent_id: parent_id, 'some_date_at.lte': 1.day.ago)

But dynamoid chooses the first finding GSI because it is not consider range key in the GSI selection processing.
https://github.com/Dynamoid/dynamoid/blob/48d167dc06cdb6b9a223ffbc56681f9901c48066/lib/dynamoid/criteria/chain.rb#L315-L321
I modified it to consider the range key.

Great idea 👍.
Though I left some comments

Thank you for your review 😄
I am busy now so I will do it a few days later 👍

That code mean is that it will skip if the range key is already chosen and current GSI's range key is not match query. So the first time in iteration, this logic behaves like same before modified.

I see. It looks good 👍


fix update cart item

updates the correct cart item for increment/decrement quantity

Perfect! For that delay to update the UI we will improve it on our end 👍


Add Ability to Specify Start and End Times for Tasks

This PR is meant to make sure that you can optionally specify the end time of a task (https://github.com/lynchjames/obsidian-day-planner/issues/129). This is meant to allow for predefined tasks to start and end without needing to specify a break or end task. Please make sure I did not break any standards or fail to update any area I needed to.
I did leave the mermaid js section alone as I was not sure what to do with it in particular.
Changes Made:

updated regex to include end hours and end minutes as an optional group which is separated by -, -- or –
change rawTime to rawStartTime and added rawEndTime
added endTime to PlanItem in order to allow for end times to be present
updated the constructor to take new params to initialize new PlanItem properties
changed time to startTime
updated the PlanItem duration calculation to use the endTime if it is present
updated marking past tasks as complete to include the rawEndTime if present
added a new css class and 2 functions to handle the class selection for an empty event and the size selection of the empty event
updated test file to include a task that specifies an end time
updated parser tests to check for the end time being present or missing
fixed other tests broken by the addition of extra params

Note: the timeline does look off when dealing with times with an empty event. The ratio may need adjustment or more css rules may need to include the empty event class.

@lynchjames , if you could take a look and let me know what you think of the preliminary code, that would be very much appreciated.

Thanks for adding this! It was exactly what I was looking for. I gave it a try and it works for me! :tada:

This is obviously abandoned, but I like this plugin so I've merged and fixed this in my fork, where I've merged in other PRs and adding new features:
https://github.com/replete/obsidian-day-planner


feat: no CI on WIP commits

I've been working with my team using ohmyzsh for a couple months now and it's going great!
One problem is that since we pair program a lot, we find ourselves gwiping and gunwiping frequently to share WIP and switch drivers etc. This leads to a lot of CI resources being used unnecessarily. Since [skip ci] is used by the likes of TravisCI, CircleCI, GitLab CI and others I think it's fair to include here. Feedback is welcome! And if not mergeable, we'll probably just put this in our aliases ourselves, but I thought others could benefit.
Thanks!

Great piece of information, thanks!


Unable to use google_cloud_default with Workload Identity

It seems maybe the hardcoded dependency on default SA email prevents us from using this in our production environment using Workload Identity for application SA.
Do you accept PRs?

Please make a PR and we will merge it.
I am currently disassembling google-cloud-default in https://github.com/yoshidan/google-cloud-rust/pull/172,
after the merge will be easier to modify with interface changes.

I just tried the two quick-win ideas I had but it does not seem to have done the trick. Not sure if I'll have time to deep dive into this, but I'll let you know if that changes.
Thanks for the work on this BTW 👍🏻

Hi I am encountering issues using the auth crate with workload identity as well!
A few issues with parsing the JSON generated from workload identity:

The Format struct expects a field name tp in JSON, but the generated JSON contains a field named "type" instead
If I manually edit my JSON's field, I then encounter: unsupported account: external_account

@jaychia Thank you for your report.

1.The Format struct expects a field name tp in JSON, but the generated JSON contains a field named "type" instead

Now I added the rename option to deserialize type
https://github.com/yoshidan/google-cloud-rust/pull/195/files

If I manually edit my JSON's field, I then encounter: unsupported account: external_account

Is the external-account feature enabled?
ex)
google-cloud-pubsub = { version="0.18.0", default-features=false, features=["trace", "auth", "external-account", "rustls-tls"]}

https://github.com/yoshidan/google-cloud-rust/pull/180


NVIDIA guardrails: Remove personal identification information PII from the text

Hi,
I'm trying to ask the LLM to remove PII from the given text, but seems that somehow is not working, when asking same question from chtgpt, it works fine. Maybe you can add such an option to the chat ?
Thanks

It's a good idea, but not a top priority for this open-source project.  We have an enterprise h2oGPT that has some of these features.
But if you give me an anonimized example, I might be able to help craft a better system prompt.  Also the model smartness matters alot here.
In general adding NVIDIA guardrails langchain package into h2oGPT may help.  Basically some rules and runs through the LLM twice with LLM-as-Judge type prompting.  Someone could open a PR and add that.
https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/docs/user_guides/langchain/langchain-integration.md

@pseudotensor Thanks, please have a look on this conversation between customer support and customer.
Subject : Re: Receipt for your payment to [Company]
User : I hope you are well. I want to ask if you have any programs for small businesses like us who have been severely affected by COVID19. Because we are in the sports industry selling team uniforms, our sales have completely dried up since March and our clients cancelled orders. We have pivoted and are now trying to donate face masks from whatever materials we had left and hopefully sell ones from other sources but we are not yet at the point we are able to continue with operational expenses for pretty much not being operational or profitable for our main business. We have frozen payroll until we can get our PPP hopefully soon and whatever small margins we hope to get with masks will be used for making more masks. In light of this; I wanted to ask if you have any programs for payment deferment or grants for your service or our subscription? We have been grateful that companies like Salesforce have provided grants through free subscriptions during this time and other small software companies are offering support. I thought I would reach out to see if you can offer the same, if we have already paid for the year, can you extend the life of the subscription restarting to when we sell Sports again? If so we would be really grateful. On Wed, Apr 22, 2020 at 2:16 PM<EMAIL_ADDRESS>wrote: Hi [Customer1 email], Account ID: [Customer1 email] Attached please find payment receipt for [Company]'s backup service (account [Customer1 email]). This charge has been automatically deducted from your credit card per you payment instructions. If you have any questions about your account or any other matter, please feel free to contact us at<EMAIL_ADDRESS>Thank you, [Company] support team For any questions about your account email<EMAIL_ADDRESS>-- Sincerely, [Customer1 name] Marinshaw Team Mom/Marketing/Everything Else [Customer company name] Direct/Text: [Customer company phone1] Phone: [Customer company phone2] ext 101 Connect with Me on LinkedIn ([Customer linked profile1])"
Support 1 : Hi [Name1], [Customer1 email] We got the below email regarding COVID19 and issues with payment. What we can offer here? They have been with us since 2013. Thanks
Support 2 : Please explain that they are on monthly subscription and pay every month We can offer them : - 25% discount for the next 3 months Or 15 months for yearly subscription (3 months free) payable +90 days. Thanks
Support 1 : Hi [Name1], Thank you. Could you please clarify this "Or 15 months for yearly subscription (3 months free) payable +90 days. ? Should we offer to move to annual and charge for 12 months and 3 months for free? Please advise.
Support 1 : Hello [Customer1 name], Thank you for contacting us. We hope that you, your family and friends are keeping well. We're checking the issue with our management team and will update you once we hear from them. Please let us know if you have any questions. [Name2] Customer Support Specialist
Support 2 : Hi there not sure why we have 21 account for google we only have 6 active employees and max of 10 google licenses 4 of which are not active
Support 1 : Hi [Customer1 name], I've attached a report (under my signature) with all the users in the account. As you can see, there are 9 active accounts and 11 archived accounts. We charge for paused/archived users as we still keep their backed up data archived in our system. If you don't need to back them up, you can delete them from the backup. We advise downlo[Name1]ng the archived data prior to the deletion, as all the related data is removed permanently. Please let me know if you have any further queries. Best Regards, Ariela Customer Support Specialist
Support 2 : Correct. First they need to clean users if they want, as they have a lot of data. We can offer 40% discount for monthly "Should we offer to move to annual and charge for 12 months and 3 months for free?
Support 1 : Hi [Customer1 name], I'm glad to inform you that we recived an approval from my manager to offer you special discounts. First, please deleted the unnecessary users from the account (as I mentioned in the previous mail). The options that we can offer you are: 1. Applying a 40% discount to your account for the next 3 months. 2. Switching to the annual subscription, but for 15 months. It means that you'll receive 2 months free (as we provide on the annual subscription) + additional 3 months for free, and it will be payable +90days. I hope it will help in these difficult times. Please let us know how you'd like to proceed. Best Regards, Ariela Customer Support Specialist
User : Yes I have been trying to delete them for a year but I cant get a resolution from about getting the back up. I had already said I cant download because of the size and asked for options for you to download it to one drive or a hard disk. Please kindly consider not charging us as we have no income due to the shutdown jmourad , casey and all of these should have been gone a long time ago if I can only get a back up. [Customer company] [Customer1 email] pmoore@[Customer company] G Suite Archived 6.1181E+10 455 days ago [Customer company] [Customer1 email] aburrichter@[Customer company] G Suite Archived 2.136E+10 229 days ago [Customer company] [Customer1 email] stephen@[Customer company] G Suite Archived 9.5423E+10 41 days ago [Customer company] [Customer1 email] ali@[Customer company] G Suite Archived<PHONE_NUMBER> 436 days ago [Customer company] [Customer1 email] anne@[Customer company] G Suite Archived<PHONE_NUMBER> 638 days ago [Customer company] [Customer1 email] genevive@[Customer company] G Suite Archived<PHONE_NUMBER> 630 days ago [Customer company] [Customer1 email] lorren@[Customer company] G Suite Archived<PHONE_NUMBER> 153 days ago [Customer company] [Customer1 email] luvie@[Customer company] G Suite Archived 27028444 50 days ago [Customer company] [Customer1 email] kheem@[Customer company] G Suite Archived 22278205 64 days ago [Customer company] [Customer1 email] lexy@[Customer company] G Suite Archived 51906199 49 days ago [Customer company] [Customer1 email] cris@[Customer company] G Suite Archived 56980272 34 days ago Production [Customer1 email] [Customer1 email] [Customer1 email] Salesforce Executing\" User : please do the 40% discount and help me get back up so i dont get charged for 19 accounts, we only have 6 users. If you can consider refunding what I have been charged since I have been asking to get a back up so I can delete, that would go a long way in these times.
Support 1 : Hi [Name1], 1) [Customer1 name] is asking for a 40% discount and a possible refund for paused: "please do the 40% discount and help me get back up so i dont get charged for 19 accounts, we only have 6 users. If you can consider refunding what I have been charged since I have been asking to get a back up so I can delete, that would go a long way in these times." 2) At the same time, she cannot delete the paused users, because she cannot download their data. We already tried in the past, but she failed to because of the poor connection. Seems she still need their data. What other options do we have? A hard drive possible as a one-time solution? Should we discuss it with dev? \"I had already said I cant download because of the size and asked for options for you to download it to one drive or a hard disk. Please kindly consider not charging us as we have no income due to the shutdown jmourad , casey and all of these should have been gone a long time ago if I can only get a back up.
Support 2 : I have added 40% to all. Please add follow up task for 3 months. I'm afraid we cannot refund as for those users as we still keep about 1TB on our side I have checked with DEV before, hard drive isn't an option.
Support 1 : Dear [Customer1 name], Thank you for your email. Our management agreed to apply a 40% discount for your entire [Company] account. Unfortunately, we cannot refund for those users as there are about 1Tb of data. Hope for your understanding. Please feel free to contact us if you have any questions/issues. Stay safe! [Name 3] Customer Support Specialist
User : How do I get the data so I can delete them, considering that I can’t download with my connection as much as I try? I have 12 mb
Support 1 : Hi [Name1], Please see update from the user: "How do I get the data so I can delete them, considering that I can’t download with my connection as much as I try? I have 12 mb " Please advise our next steps.
Support 1 : Dear [Customer1 name], Thank you for the update. I'm checking the issue with our management team for possible solution and will update you asap. [Name2] Customer Support Specialist
Support 2 : First please explain that she have about 1TB of data and not 12MB. We should continue and explain that we are SAAS company and we allow our customers to directly download the data from our app. export data from S3 and shipping it will cost few thousand dollars.
Support 1 : Hello [Customer1 name], Please note that you have 1TB of data in your G Suite task and not 12MB. Since we are a SaaS company, we always allow our customers to download data directly from our app. Here you may check how to do it for G Suite: https://support.[Company].com/hc/en-us/articles/360017905833-Searching-Restoring-and-Downlo[Name1]ng-G-Suite-Backup-Data While exporting the data from S3 and shipping it will cost a few thousand dollars. Alice Customer Support Specialist
Support 1 : Hi [Name1], [Customer1 email] We provided 40% discount to all tasks due to COVID19 and issues with payment. Should we contact them now? Thanks, [Name2]
Support 1 : Hi [Name1], [Customer1 email] Could you please advise if we should contact them? Thank you, [Name2]
Support 2 : Let's keep it as is till end of September Thanks
Support 1 : Hi [Name1], [Customer1 email] Could you please advise if we should contact them? Thank you, [Name2]
Support 2 : Thanks [Name2], Let's leave it for now. Next follow up for the end of December. Thanks
Support 1 : Hi [Name1], [Customer1 email] We provided 40% discount to all tasks due to COVID19 and issues with payment. Should we contact them now? Thanks, [Name2]
Support 2 : Thanks, Please follow up with her and inform her we will need to update discount to 20% No need to follow up. Please add a reminder for 2 weeks from now. If no response just update the discount to 20% Thanks
Support 1 : Hello [Customer1 name], Hope you're doing great. We just wanted to follow-up with you and let you know that the temporary 40% discount that was provided earlier by our management will be decreased to 20%. Please feel free to contact us if you have any questions/issues. Stay safe! [Name2] Customer Support Specialist
Support 1 : Hi [Name1], The discount was updated to 20%. Thanks, [Name2]

@slavag In the above example, you have already anonymized or not yet?  What are you starting with and what is your goal?

Hi @pseudotensor  this is anonymized example (seems to be partial :)) , this is what I'm trying to get from the text that contains company names, emails , end etc. I can send you not-anonymized example from what I did the above example, but only to private email, I don't want to expose that data. Thanks

Sure, so you have a fully non-anonymous version and you want it to filter it.
As you might imagine, it just takes a good model to do that.  There's no real tricks.
Here's an de-anonymous version from OpenAI:
Subject : Re: Receipt for your payment to MegaCloudBackup
User : I hope you are well. I want to ask if you have any programs for small businesses like us who have been severely affected by COVID19. Because we are in the sports industry selling team uniforms, our sales have completely dried up since March and our clients cancelled orders. We have pivoted and are now trying to donate face masks from whatever materials we had left and hopefully sell ones from other sources but we are not yet at the point we are able to continue with operational expenses for pretty much not being operational or profitable for our main business. We have frozen payroll until we can get our PPP hopefully soon and whatever small margins we hope to get with masks will be used for making more masks. In light of this; I wanted to ask if you have any programs for payment deferment or grants for your service or our subscription? We have been grateful that companies like Salesforce have provided grants through free subscriptions during this time and other small software companies are offering support. I thought I would reach out to see if you can offer the same, if we have already paid for the year, can you extend the life of the subscription restarting to when we sell Sports again? If so we would be really grateful. On Wed, Apr 22, 2020 at 2:16 PM<EMAIL_ADDRESS>wrote: Hi<EMAIL_ADDRESS>Account ID<EMAIL_ADDRESS>Attached please find payment receipt for MegaCloudBackup's backup service (account jason.smith@example.com). This charge has been automatically deducted from your credit card per you payment instructions. If you have any questions about your account or any other matter, please feel free to contact us at<EMAIL_ADDRESS>Thank you, MegaCloudBackup support team For any questions about your account email<EMAIL_ADDRESS>-- Sincerely, Jason Smith Marinshaw Team Mom/Marketing/Everything Else Marinshaw Sports Direct/Text: 555-0102 Phone: 555-0103 ext 101 Connect with Me on LinkedIn (linkedin.com/in/jason-smith)
Support 1 : Hi Alex Johnson<EMAIL_ADDRESS>We got the below email regarding COVID19 and issues with payment. What we can offer here? They have been with us since 2013. Thanks
Support 2 : Please explain that they are on monthly subscription and pay every month We can offer them : - 25% discount for the next 3 months Or 15 months for yearly subscription (3 months free) payable +90 days. Thanks
Support 1 : Hi Alex Johnson, Thank you. Could you please clarify this "Or 15 months for yearly subscription (3 months free) payable +90 days. ? Should we offer to move to annual and charge for 12 months and 3 months for free? Please advise.
Support 1 : Hello Jason Smith, Thank you for contacting us. We hope that you, your family and friends are keeping well. We're checking the issue with our management team and will update you once we hear from them. Please let us know if you have any questions. Sarah Miller Customer Support Specialist
Support 2 : Hi there not sure why we have 21 account for google we only have 6 active employees and max of 10 google licenses 4 of which are not active
Support 1 : Hi Jason Smith, I've attached a report (under my signature) with all the users in the account. As you can see, there are 9 active accounts and 11 archived accounts. We charge for paused/archived users as we still keep their backed up data archived in our system. If you don't need to back them up, you can delete them from the backup. We advise downloAlex Johnsonng the archived data prior to the deletion, as all the related data is removed permanently. Please let me know if you have any further queries. Best Regards, Ariela Customer Support Specialist
Support 2 : Correct. First they need to clean users if they want, as they have a lot of data. We can offer 40% discount for monthly "Should we offer to move to annual and charge for 12 months and 3 months for free?
Support 1 : Hi Jason Smith, I'm glad to inform you that we recived an approval from my manager to offer you special discounts. First, please deleted the unnecessary users from the account (as I mentioned in the previous mail). The options that we can offer you are: 1. Applying a 40% discount to your account for the next 3 months. 2. Switching to the annual subscription, but for 15 months. It means that you'll receive 2 months free (as we provide on the annual subscription) + additional 3 months for free, and it will be payable +90days. I hope it will help in these difficult times. Please let us know how you'd like to proceed. Best Regards, Ariela Customer Support Specialist
User : Yes I have been trying to delete them for a year but I cant get a resolution from about getting the back up. I had already said I cant download because of the size and asked for options for you to download it to one drive or a hard disk. Please kindly consider not charging us as we have no income due to the shutdown jmourad , casey and all of these should have been gone a long time ago if I can only get a back up. Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER>0 455 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER>0 229 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER>0 41 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER> 436 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER> 638 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER> 630 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived<PHONE_NUMBER> 153 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived 27028444 50 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived 22278205 64 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived 51906199 49 days ago Marinshaw Sports<EMAIL_ADDRESS><EMAIL_ADDRESS>G Suite Archived 56980272 34 days ago Production<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Salesforce Executing\" User : please do the 40% discount and help me get back up so i dont get charged for 19 accounts, we only have 6 users. If you can consider refunding what I have been charged since I have been asking to get a back up so I can delete, that would go a long way in these times.
Support 1 : Hi Alex Johnson, 1) Jason Smith is asking for a 40% discount and a possible refund for paused: "please do the 40% discount and help me get back up so i dont get charged for 19 accounts, we only have 6 users. If you can consider refunding what I have been charged since I have been asking to get a back up so I can delete, that would go a long way in these times." 2) At the same time, she cannot delete the paused users, because she cannot download their data. We already tried in the past, but she failed to because of the poor connection. Seems she still need their data. What other options do we have? A hard drive possible as a one-time solution? Should we discuss it with dev? \"I had already said I cant download because of the size and asked for options for you to download it to one drive or a hard disk. Please kindly consider not charging us as we have no income due to the shutdown jmourad , casey and all of these should have been gone a long time ago if I can only get a back up.
Support 2 : I have added 40% to all. Please add follow up task for 3 months. I'm afraid we cannot refund as for those users as we still keep about 1TB on our side I have checked with DEV before, hard drive isn't an option.
Support 1 : Dear Jason Smith, Thank you for your email. Our management agreed to apply a 40% discount for your entire MegaCloudBackup account. Unfortunately, we cannot refund for those users as there are about 1Tb of data. Hope for your understanding. Please feel free to contact us if you have any questions/issues. Stay safe! Chris Parker Customer Support Specialist
User : How do I get the data so I can delete them, considering that I can’t download with my connection as much as I try? I have 12 mb
Support 1 : Hi Alex Johnson, Please see update from the user: "How do I get the data so I can delete them, considering that I can’t download with my connection as much as I try? I have 12 mb " Please advise our next steps.
Support 1 : Dear Jason Smith, Thank you for the update. I'm checking the issue with our management team for possible solution and will update you asap. Sarah Miller Customer Support Specialist
Support 2 : First please explain that she have about 1TB of data and not 12MB. We should continue and explain that we are SAAS company and we allow our customers to directly download the data from our app. export data from S3 and shipping it will cost few thousand dollars.
Support 1 : Hello Jason Smith, Please note that you have 1TB of data in your G Suite task and not 12MB. Since we are a SaaS company, we always allow our customers to download data directly from our app. Here you may check how to do it for G Suite: https://support.MegaCloudBackup.com/hc/en-us/articles/360017905833-Searching-Restoring-and-DownloAlex Johnsonng-G-Suite-Backup-Data While exporting the data from S3 and shipping it will cost a few thousand dollars. Alice Customer Support Specialist
Support 1 : Hi Alex Johnson<EMAIL_ADDRESS>We provided 40% discount to all tasks due to COVID19 and issues with payment. Should we contact them now? Thanks, Sarah Miller
Support 1 : Hi Alex Johnson<EMAIL_ADDRESS>Could you please advise if we should contact them? Thank you, Sarah Miller
Support 2 : Let's keep it as is till end of September Thanks
Support 1 : Hi Alex Johnson<EMAIL_ADDRESS>Could you please advise if we should contact them? Thank you, Sarah Miller
Support 2 : Thanks Sarah Miller, Let's leave it for now. Next follow up for the end of December. Thanks
Support 1 : Hi Alex Johnson<EMAIL_ADDRESS>We provided 40% discount to all tasks due to COVID19 and issues with payment. Should we contact them now? Thanks, Sarah Miller
Support 2 : Thanks, Please follow up with her and inform her we will need to update discount to 20% No need to follow up. Please add a reminder for 2 weeks from now. If no response just update the discount to 20% Thanks
Support 1 : Hello Jason Smith, Hope you're doing great. We just wanted to follow-up with you and let you know that the temporary 40% discount that was provided earlier by our management will be decreased to 20%. Please feel free to contact us if you have any questions/issues. Stay safe! Sarah Miller Customer Support Specialist
Support 1 : Hi Alex Johnson, The discount was updated to 20%. Thanks, Sarah Miller

So one can ask the same question of:
From the provided text, list the PII that appears to be not yet anonymized.

Then one can use GPT-4 to double check its work.  Feel free to use gpt.h2o.ai to try out some models there.  Or try your models.

@pseudotensor Thanks, this prompt shows me what's needed to be anonymized, is there prompt that can do the exact anonymisation in gpt.h2o.ai ? as same prompt that I did in openAI, not working in llama2, mistral, zephyr, neural chat. Maybe the prompt need to be different ?
Thanks

My query to GPT-4 was:
List any possible PII in this block of text.  Only list those PII that appear to be not yet anonymized.
\`\`\`
<block of text>
\`\`\`

@pseudotensor not tried mixtral or chatgpt on gpt.h2o.ai yet. If you would write prompt to anonymise text for open source models, how would it looks like ? I created this one, but just getting my text rephrased and keeping PII.
Remove any personal identification information, such as names, addresses, phone numbers, and email addresses, from the following text.

or that
Remove any personally identifiable information (PII) from the text, including but not limited to:

Full names
Usernames
Email addresses
Phone numbers
Addresses
Social security numbers
Credit card numbers
Bank account numbers
Dates of birth
Medical records or personal health information
Driver's license numbers
License plate numbers
IP addresses
Geolocation data
Passwords

Replace names with [NAME] and locations with [LOCATION]. Remove other personal information completely without leaving behind any placeholders. Leave all non-personal text intact.

Thanks

Looks like it's a tough challenge.

llama 13-70b can't do it.
Yi/Capybara fail to reproduce all text, it stops early
Mixtral does good job, but a bit incomplette in places, like very end still has Miller even if first name is redacted.
mistral medium does worse than Mixtral, full name appears at end.
gpt-3.5-turbo does as good as mistral medium, i.e. not great
gpt-4 does best

Here's json dump from h2oGPT for those results.
chats_dae7138c-9526-4544-99c6-08d5d7512811.json

@pseudotensor Wow, thanks a lot !!!!

https://www.guardrailsai.com/docs/examples/check_for_pii


No longer send emails for file ingest/reg (GSI-1170)

Main change: Removed the file registration notifications, including the notification definition, consumer bits, test, and so on.
We were using the [api] version of ghga-service-commons, which was incorrect. I changed it to the basic package version and separately listed pydantic[email] in pyproject.toml. We only use the asyncnullcontext from ghga-service-commons, if you're wondering. The reason to fix this was that commons was including an old fastapi version (and thus starlette) that triggered a vuln alert.
Bumps version to 3.0.0 due to the config change.

We only use the asyncnullcontext from ghga-service-commons, if you're wondering

The standard nullcontext from contextlib can be used with async since Py 3.10.
NOS is already on Py 3.12, so you can simply use that and remove the service commons dependency.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 88.746%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.5%

Covered Lines:
276

Relevant Lines:
311

💛  - Coveralls

@Cito thanks for the tip!


build(workflow): update zip workflow to copy all Lua files

Hi you have forgot add mission_control.lua into PaperWM.zip. I have updated the zip.yml to include all lua files.

Thanks for the fix!


if tablename is a sole number, the querybuilder db->get() fails to escape the tablename string

If your tablename is something like: 001 or another sole number. The querybuilder makes an illegal query on the (mysql) database, because it does not escape the tablename as required by mysql:
https://dev.mysql.com/doc/refman/5.7/en/identifiers.html

Identifiers may begin with a digit but unless quoted may not consist solely of digits.

$this->db->get('001') --> fails
$this->db->get('`001`') --> works (and is my workaround)
is this a bug or by design?
if this is by design, I would like to see the documentation updated next to the function db->get() about this behaviour.
(CI_Version: 3.1.6)

It is neither, though I'd probably classify it as a bug in the changelog.
Numbers are horrible table/column name identifiers, which is why almost nobody uses them and thus why nobody has even thought of making this work. I guess it's fine for the given example - the string 001 - but if it was just 1, we'd never know when that is intentional and when it is an error.

note: not 100% sure about table names, but just a number is not a valid
column name in the SQL standard. it must start with a letter, or one of
the chars '_', '@', '#' if i remember correctly
On 10/09/2017 09:57 AM, Andrey Andreev wrote:

It is neither, though I'd probably classify it as a bug in the changelog.
Numbers are horrible table/column name identifiers, which is why
almost nobody uses them and thus why nobody has even thought of making
this work. I guess it's fine for the given example - the string |001|

but if it was just |1|, we'd never know when that is intentional and
when it is an error.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bcit-ci/CodeIgniter/issues/5291#issuecomment-335087673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAINe3z-lJfo5FMj7palTKTEKI_Q4_Coks5sqdHfgaJpZM4PxR6V.

Since numbers are horrible name identifiers: I've already changed the tablename to have a letter before the number.
But:
Would it not be good practice to just escape all tablenames?
or does this go against the SQL standard?

This is not about "good practice", it's just not as simple as that.
The query builder has very complex logic, and the function that determines what is escaped or not is shared between table and column names. It's not an easy thing to escape table names but not escape field names and even harder to predict whether you actually want such a table name or just passed the wrong variable.
While it may not look hard to do this for get() and from(), the same logic must be applied to table names detected in the middle of a string (e.g. when you write select('001.foo')), it has to work well combined with other QB features like table name prefixing, query caching, etc.
There's enormous potential that the patch would cause other bugs, while the benefit is questionable and maybe useful for 2 people ever. It's just not worth the effort.


Need a new props or a way to show selected filter

Hello Team,
I hope you are doing well and okay.
I have been using this date picker for a long time and now, there is a need to display one filter to be selected once the date picker is opened.

Here is the screenshot of the range filter which needs modification:

This is the screenshot of how it should be displayed when a particular date range is selected.:

UI of selected range filter with selected date:

Classes added after selecting a specific date range filter:

Also following are a few conditions/suggestions that are good to have.

The filter should be selected if any of the mentioned filter's values is selected. Such as If today's date is set then the Today [The filter] should be chosen.
Also if there is an option/props made available to insert the user's custom classes when the filter is selected apart from he Default classes then that will be a good improvement.

I hope this clarifies the requirement and current limitations of the component.
Please let me know if in case you require more information.
Looking forward to try this as soon as possible.

@onesine Any comments on this would be appreciated..

Hi 👋 @sarangshahane
So sorry for the delay in responding.
I'm doing my best to address everyone's concerns. Lately I've been quite busy with work, but I'll deal with your issue as soon as possible.
All PRs are welcome.

@onesine I have opened the PR for this change.
Here is the PR: #187
Looking forward to your feedback.

Hello @onesine ,
Is there any update on this? It's been a year after openng a this PR and issue..
Looking forward to hearing from you.


Use release versions of tools (such as protoc, gogo).

Context: https://github.com/istio/api/pull/591#pullrequestreview-140394392
Our tool dependencies tend to use the master/latest version of the tools. We should update our tooling to target stable/released versions.
Specifically, the docker file in istio/api that creates a docker image with these tools needs to be updated for this purpose.
@kyessenov

@hklai FYI.

Big 👍 . A docker image with all the tools pre-installed seems like the easiest way to do until proper tooling exists for go (bazel/vgo/whatever).


tf.name_scope does not work with tf.layers

When I define a layer with
with tf.name_scope("MY_SCOPE"):
    layer1 = tf.layers.dense(inputs = X,
                             units = 100,
                             kernel_initializer = he_init,
                             activation = tf.nn.elu,
                             name = "layer1")

and try to get its variables with
tf.global_variables(scope="MY_SCOPE")
it returns nothing because name scope did not apply to the layers from tf.layers
Shouldn't their name be
[<tf.Variable 'MY_SCOPE/layer1/kernel:0' shape=(784, 100) dtype=float32_ref>,
<tf.Variable 'MY_SCOPE/layer1/bias:0' shape=(100,) dtype=float32_ref>]
instead of
[<tf.Variable 'layer1/kernel:0' shape=(784, 100) dtype=float32_ref>,
<tf.Variable 'layer1/bias:0' shape=(100,) dtype=float32_ref>]
so that I can use my scope to reach my layers? This works with everything but tf.layers module.

Hi, @aybberk .
Because name_sconpe is only for operations, you should use `tf.variable_scope("MY_SCOPE") which is designed for variables.
You might be interested on the post: What's the difference of name scope and a variable scope in tensorflow?

Thanks for the response @facaiy

@asimshankar Would it be a good idea if TensorFlow could explain the two scopes in the official site in details? This is not the first time when I found people confuse tf.name_scope with tf.variable_scope.


Added a save icon in the save button

Signed-off-by: sayantan1413<EMAIL_ADDRESS>Description
Added a save icon in the save button
This PR fixes #3574
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #3687 (5284f27) into master (fb99abb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3687   +/-   ##
=======================================
  Coverage   20.40%   20.40%
=======================================
  Files          45       45
  Lines        3788     3788
=======================================
  Hits          773      773
  Misses       2810     2810
  Partials      205      205

Flag
Coverage Δ

gointegrationtests
9.34% <ø> (ø)

integrationtests
∅ <ø> (?)

unittests
12.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

Yes sure @warunicorn19 I will try this out.

There are some more changes regarding the overlapping text change I need to do.

@sayantan1413 while we're being picky about this layout, do you mind making the ? next to Load Generators something of a superscript? (making about half the size it is now)?

Yeah sure @leecalcote I will make it half the size😃

Does this look good @leecalcote ?

Does this look good @leecalcote ?

A little too small don't you think? Looks like a copyright symbol.

Does this look good @leecalcote ?

A little too small don't you think? Looks like a copyright symbol.

Feel free to play around a little. This is the first of its kind. It might be that it should be that size, but not positioned like superscript - just vertically-centered in the middle of the line.

Yeah @leecalcote I will play with this a bit.

Remove the PR/Draft label when you are ready for review again.

Hey @warunicorn19 how does it look now?

@sayantan1413 yeah this looks good to me.

Hey @leecalcote I think this look better now 🤔

@sayantan1413 , are we showing any tooltip when the user hovers over it ?

Yes @sudo-NithishKarthik while hovering over it there is a tooltip.


New Testimonial for Francesco Ciulla

Name
FrancescoXX
Title
Amazing Leader and mentor
Description
Francesco is a great mentor, leader and role model in the tech space. His unbeatable contributions in open source makes him an outstanding person and also a great leader in the open source and tech space.

thanks @oyenolaphilipinc


Delete temporary provisioning repo after completing

I think deleteOnExit() only works if the directory is empty.
Fixes https://github.com/wildfly-extras/prospero/issues/81.

Thanks @TomasHofman


Use the built-in Symfony DateTimeNormalizer

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
n/a

License
MIT

Doc PR
n/a

Is the Symfony serializer using the ATOM format by default?

@sroze Yes (it's basically the DateTimeNormalizer of API Platform moved to the Symfony Serializer https://github.com/symfony/symfony/pull/17411). It's why tests pass.

Nice! :+1:

So how do we specify a custom format for a property (other than resorting to custom normalizers)?


Annotations don't work at Grafana 2.6

TypeError: Cannot read property 'from' of undefined
at ZabbixAPIDatasource.annotationQuery

No longer getting any errors when adding an Annotation, however they are not displaying in the graphs.

Maybe now? :)
https://github.com/alexanderzobnin/grafana-zabbix/pull/114

No luck with #114 either unfortunately using rangeRaw.from or range.from

@poxin13 I added fix to panel-triggers branch (it's for Grafana 3.0). I tested with latest pre-build of Grafana 3.0 and it works. I will add fix for 2.6 soon.

@poxin13 try update from develop. I merged @volter patch and fix them (e is undefined error).

Nah, still no go on 2.6 - still nothing displayed on the graphs.

This is now working from develop branch commits.


Example in section "Data transfer with AzCopy" does not work with azcopy 10.3.3 - "unknown flag: --source"

The example in section "Data transfer with AzCopy" does not work with azcopy 10.3.3.
azcopy     --source xxx  --destination https://xxx.blob.core.windows.net/sample-container     --dest-key xxxx     --include "myfile.txt"
Error: unknown flag: --source
Usage:
  azcopy [command]

Available Commands:
  bench       Performs a performance benchmark
  copy        Copies source data to a destination location
  doc         Generates documentation for the tool in Markdown format
  env         Shows the environment variables that you can use to configure the behavior of AzCopy.
  help        Help about any command
  jobs        Sub-commands related to managing jobs
  list        List the entities in a given resource
  login       Log in to Azure Active Directory (AD) to access Azure Storage resources.
  logout      Log out to terminate access to Azure Storage resources.
  make        Create a container or file share.
  remove      Delete blobs or files from an Azure storage account
  sync        Replicate source to the destination location

Flags:
      --cap-mbps uint32      Caps the transfer rate, in megabits per second. Moment-by-moment throughput might vary slightly from the cap. If this option is set to zero, or it is omitted, the throughput isn't capped.
  -h, --help                 help for azcopy
      --output-type string   Format of the command's output. The choices include: text, json. The default value is 'text'. (default "text")
      --version              version for azcopy

Use "azcopy [command] --help" for more information about a command.

unknown flag: --source

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4482b415-9411-f74c-1721-e4a9eda472b3
Version Independent ID: b9f5613e-bafe-b0ab-ae84-70b4ed789b3b
Content: Quickstart - Create a blob with Azure CLI - Azure Storage
Content Source: articles/storage/blobs/storage-quickstart-blobs-cli.md
Service: storage
GitHub Login: @tamram
Microsoft Alias: tamram

@BenjaminHerbert Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@BenjaminHerbert - thanks for your feedback! I have updated the AzCopy section to use AzCopy v10.
#please-close

@tamram @PRMerger12 could you please redirect me to the solution of the issue #46126 ?

@vibhaskashyap - Can you tell me more about what you're looking for? Are you not able to get the example in this section to work?
https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-cli#data-transfer-with-azcopy

Apologies for the late response.
L
ooks like below azcopy command to copy data from the source to target location is not supported. Hence only we are able to copy the dataset is using the Azure Data Factory copy command.
--source syntax is not supported for the below azcopy command. Refer attached CLI version details used to execute the below command. Could you please provide the azcopy command to copy reference data and the transactional data from source to target location.
azcopy
--source https://nyctaxidew.blob.core.windows.net/nyctaxi-staging/reference-data/
--destination https://.blob.core.windows.net/nyctaxi-staging/reference-data/
--source-key $SRC_STORAGE_ACCESS_KEY
--dest-key $AZURE_STORAGE_ACCESS_KEY
--sync-copy
--recursive
Regards
Vibhas Kashyap

From: Tamra Myers @.>
Sent: 05 October 2021 21:46
To: MicrosoftDocs/azure-docs @.>
Cc: VIBHAS KASHYAP @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Example in section "Data transfer with AzCopy" does not work with azcopy 10.3.3 - "unknown flag: --source" (#46126)
@vibhaskashyaphttps://github.com/vibhaskashyap - Can you tell me more about what you're looking for? Are you not able to get the example in this section to work?
https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-cli#data-transfer-with-azcopy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/46126#issuecomment-934557252, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKIIHHTREQ2SITOC2WCSE4TUFMQG7ANCNFSM4KGUWGXQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Added custom host aliases to gateway-otk charts

Description of the change
Added custom host aliases to gateway-otk charts
Benefits

Drawbacks

Applicable issues

fixes #

Additional information
Checklist

[] Chart version bumped in Chart.yaml according to semver.
[] Variables are documented in the README.md
[] Title of the PR starts with chart name (e.g. [charts/gateway])
[] If the chart contains a values-production.yaml apart from values.yaml, ensure that you implement the changes in both files

Updated value.yaml with doc, chart.yaml  with chart version and Readme file


Feat: Custom headers

It would be great to add the ability to define headers https://swagger.io/docs/specification/describing-parameters/#header-parameters.

This is now supported in<EMAIL_ADDRESS>please upgrade and let me know if you have any issues!

Thanks for this but how can I then access the header value?

Pass it through via ctx with your createContext function.

I hopped there where a simpler and more local solution but that works. Thanks @jlalmes


[Feature] Provide table of contents functionality for univer doc

Initial checklist

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Problem
Provide table of contents functionality for univer doc

In the plan


Restore support for colon in jail names

Observed in poudriere-devel-<IP_ADDRESS>71111 on 11.1-REL. Subject says most of it. Having $JAILNAME correspond directly to ${ABI} is a massive time saver to say the least. And colon definitely was not banned before.

It's not a bug, it was an intended change.  Colons cause problems for PATH.

I'll see if I can make it replace : with another value for mounting.

If you can point me to the error (I can honestly say I've had zero problems, so was unaware), I'm happy to help with fixing this one.

The problem is with buildworld using the source tree pathname in PATH.  It's not worth fixing there.

I actually blocked buildworld in FreeBSD base from using : in paths so I'll just revert this Poudriere change.  If you avoid buildworld then it won't be a problem.


Audit CTA links on pages to ensure links go somewhere

@allie251 @Donovon Where the links are all updated except for on the "Join" page where I'm not sure where to go with them.
And the meetup links are still there. I'll address that in the other ticket.


Update guest-configuration.md

Renamed Azure Automanage machine configuration to Azure machine configuration

:shipit:

@mgreenegit
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@mgreenegit,
Thanks for the heads up! To change the article's author, open a PR in the private repo and update the ms.author and author metadata fields:

@jodi-boone
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

PR review team emailed author today

@jodi-boone

@jodi-boone
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

I sent email to @jodi-boone copy to @mgreenegit today.
@MicrosoftDocs/public-repo-pr-review-team

Thank you for your interest in contributing to our documentation. Unfortunately, the changes in this pull-request cannot be accepted because our Content group is migrating content for the "virtual-machines", "virtual-machines-scale-set", "container-instances", and "service-fabric" folders to a new repository: azure-compute-docs.
Short-term, if there are changes in this PR for other folders, you can move forward with those by removing the change(s) to all the above mentioned folders' content.
In the meantime, we are closing this PR and tagging it so that when the content is available in the new repo, we can follow up with the new location information.
#please-close
#label:"migrate-followup"

@bmcder  We’re happy to share that contributions to virtual-machines are once again possible at azure-compute-docs. Please open a PR in the new repo to submit your changes. We appreciated your patience during this migration.


Upgrade graceful-fs dependency

Installing the font-awesome-svg-png package triggers the warning:
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

I just came here to raise the same issue.


falco - add psp configuration capabilities

This PR allows the configuration of pod security policy necessary to get Falco running when the admission controller is enabled.
This is a rebased version of #11605
Checklist

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

/assign @bencer

/assign
/ok-to-test
/lgtm

This PR lacked from ChangeLog entry and upgrades to 0.8.X series without a reason.


DD7to9 crash upon entering a race in London Racer World Challenge

When using DXWrapper, the game works perfectly fine until the car selection menu, however, upon entering a race, after the "intro cinematic" plays, the game freezes just before the start of the race. This only happens with DXWrapper installed. I'm going to attach the log file, in hopes that a fix might be possible. Thank you.
dxwrapper-wr.log

A clarification, in the log, "Cannot load custom library: ddraw_opt.dll" appears, it's not part of the game's files, it was a custom DLL I tried to load through LoadCustomDllPath, in hopes of a quick and dirty fix, however having it loaded or not, didn't change the outcome of the freezing behavior, nor did it change the consequent errors in the log. I had just forgotten to remove the custom DLL load from the .ini, after removing the custom DLL from the directory. I also tried playing with compatibility settings, which did not do anything. The log was taken with all the settings set to their default, except LoadCustomDllPath