Self-service metrics for Openstack Provider

Hi,
I'm using appliance manageiq and not the dev mode.
Now, I'm facing another issue in the self-service portal. when I provision a VM in manageiq. I cant see metrics there.
Also, I tried with the OpenStack cloud provider and in OpenStack, i enabled ceilometer and shared the screenshot below.

@remo233 Any other info you can give us? ManageIQ versions, appliance or podified, errors from the logs?

@remo233 do you see metrics in the regular UI?  Wondering if it is a self-service UI issue or the metrics are simply not collected

Hi agrare and fryguy,
I think it's manageiq self-service issue and also I connected the ceilometer in OpenStack cloud provider.

@remo233 so you can see metrics in the classic UI but not the self-service UI?

Yes Adam. I can saw metrics in classic ui.
On Mon, Jun 27, 2022, 11:34 PM Monish Selvaraj @.***> wrote:

Yes sure.
On Mon, Jun 27, 2022, 11:33 PM Adam Grare @.***>
wrote:

@remo233 https://github.com/remo233 so you can see metrics in the
classic UI but not the self-service UI?
—
Reply to this email directly, view it on GitHub
https://github.com/ManageIQ/manageiq/issues/21938#issuecomment-1167575396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZO3IVSVSPRPEFNET2RPNXTVRHUHHANCNFSM5Y5TNMOA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Great thanks @remo233 just wanted to double check before assigning this out to providers vs UI team.
@jeffibm can you investigate this issue?

Hi @jeffibm
Any update on this ?

We tried to debug this yesterday and got stuck due to the availability of data in the local env. Will work on this soon..

cc @Fryguy ,

We were able to create a VMware vCenter provider (vsphere002) in local env
Configured the Settings/Region/C&U collections - Clusters and datastore switches are on to select all
Configured Settings/Zone/Server Roles - Capacity & Utilization Coordination, Data Collector, and Data Processor options are ON under default Zone
executed Metric::Capture.perf_capture_timer(ManageIQ::Providers::Vmware::InfraManager.third.id)
After the above steps in local env, the Utilisation button was active and we saw the below screen

However, I am not sure how to cross-check these data with the UI-service repo. I cannot find a record in ui-service related to the newly created provider in ui-classic.

You would have to create a VM through a service in the catalog as opposed to directly.  Easiest way is to create a service catalog item, then actually order it through the service UI (then you know it's one you can see on the service UI side)

@jeffibm @Fryguy
any update on this ?

Yes sure.
On Mon, Jun 27, 2022, 11:33 PM Adam Grare @.***> wrote:

@remo233 https://github.com/remo233 so you can see metrics in the
classic UI but not the self-service UI?
—
Reply to this email directly, view it on GitHub
https://github.com/ManageIQ/manageiq/issues/21938#issuecomment-1167575396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZO3IVSVSPRPEFNET2RPNXTVRHUHHANCNFSM5Y5TNMOA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi,
Is there any news on this ?

Hi,
Is there any news on this ?

Hello, any update about this issue ?

Thanks kbrock for re-open this issue

Hey @remo233, will get an update on this soon...

Hi Jeffibm,
You got any update on this ? I hope

Hi Jeffibm,
You got any update on this ? I hope

Hey @remo233 , I have to get some clarification on how to reproduce this via ui-services as mentioned here in https://github.com/ManageIQ/manageiq/issues/21938#issuecomment-1180775982
Once I get the details will update here soon.

Hi jeffibm,
We created a vm via self service portal but.. then also i cannot able to see the metrics..

is it possible for you to give me a database via gitter?

@jeffibm we should be able to reproduce this without requiring a database from @remo233

Hi @jeffibm and @agrare ,
In your Staging environment, you are able to see the metrics in self-service UI ?

Hi @jeffibm ,
Have you checked this ?

Hi Jeff,
Can i have your number ?

Hi Jeffibm,
Is there any update on the same.

Hey @remo233 , I am currently on it. will update you very soon.

Hey @remo233, so after some digging, it seems like the utilization charts are designed to only show data for the last hour and nothing else unlike the charts in the admin ui which let you select from multiple options. I'm not sure why this is the case, @Fryguy, @agrare do either of you know?
https://github.com/ManageIQ/manageiq-ui-service/blob/master/client/app/services/resource-details/resource-details.component.js#L201-L215
https://github.com/ManageIQ/manageiq-ui-service/blob/master/client/app/services/resource-details/resource-details.component.js#L201-L215

The provider dashboard is an at-a-glance view of your current inventory and status, so I would expect only recent data there without options.

The provider dashboard is an at-a-glance view of your current inventory and status, so I would expect only recent data there without options.

In that case @remo233, would you be able to confirm whether or not you can see vm data from the past hour?


Keep-only presence sensors, for those pesky flappy sensors such as mmwave

This feature will add a new selector on Presence Tracking Options which allows you to choose which of your presence tracking entities will not be considered for presence tracking if the room is not occupied already.
This shall solve some issues with sensors going off because the wind blew a curtain or BLE hopping

Pending tests to merge


[New game]: Math Sprint Game

🎮 Game Request
Math Sprint Game check your IQ
Point down the features
This game checks your IQ speed, how fast you can calculate math solutions with different rounds

1st round 10 questions
2nd round 25 questions
3rd round 50 questions
4th round 99 questions

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @Samriddhi15 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @Samriddhi15 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Not clear how to register aliases

The docs says that "You can also register your own aliases, for example @bower or @npm would be great candidates if you use any of those package managers. " but there are no examples on how to do this.

:heart:


Apotheosis boss dropped item always includes "misc.apotheosis.affix_name.three"

Mod version: 6.1.5
About #818, I found Apotheosis boss dropped item always includes misc.apotheosis.affix_name.three suffix, and this item cannot be renamed by anvil. Even changing the language to English, this bug doesn't be fixed.

6.1.5
Fixed an issue where boss names were failing to translate.

This issue was present in 6.1.4, but does not persist in 6.1.5 - However, the fix is not retroactive.  Reforging the item can fix the name though.


Openlayers V4

Thanks for your amazing library.
Can I use this library with Openlayer V4 ?

Hi, this library tries to keep up with the current stable release from OpenLayers which is v6 right now. Depending on your use case you could try to use an old release from openlayers-editor.


Linter suggestions

Related to https://github.com/primer/view_components/issues/623
Summary
This PR starts to work on linter suggestions, providing a better feedback for users on how to use our components.

Before
After

When does it work?
For now, the linter suggestion supports:

classes that the component generate (not System Arguments / custom classes)
aria- attributes
data- attributes
test_selector ERB block
tag attribute
disabled and type (for Button only)

TODOs

I'm not looking at the content, so the "suggestion" is not auto-correctable since I still don't know how to look at the whole element block (any AST experts here? 😄 ).
Integrating with https://github.com/primer/view_components/pull/612
Dealing with slots

👏🏻 fantastic!
Do you think it's worth waiting on the system arguments mapping work from @jonrohan before we roll this out?

I think this is really good for a PoC. Once that work ships I can integrate it too :)


[Mod Compat] Using JER and connecting to a server can hang the game with certain performance mods.

Mod list:
FerriteCore
Nvidium
Terralith
Mod Menu
Just Enough Effects Descriptions
ImmediatelyFast
Fabric Language Kotlin
ThreadTweak
Create
Noisium
EMI Loot
Enhanced Block Entities
No Chat Reports
Just Enough Breeding
EMI Ores
EMI
Very Many Players
Just Enough Resources
Extra Mod Integrations
Create: Numismatics
EMIffect
Concurrent Chunk Management Engine
EMI Enchants
Just Enough Professions (JEP)
BadOptimizations
EMI Trades
Lithium
Sodium
ModernFix
Fabric API
Fzzy Config
More Culling
Indium
EMI Enchanting
Cloth Config v11
Just Enough Items
EntityCulling
Several Mods are likely clashing, and EMI works fine if only paired with JEI and JER.
Modpack dependant mod list:
Simply Optimized 1.21.1-4.0.2
Create
Create Numismatics
EMI
JEI
JER

If this is working without performance mods, you need to figure out the specific mods causing the issue and report it to them.


feat(grid): allow swapping filter containers

https://github.com/UiPath/angular-components/assets/51370844/e96f5484-f233-49c6-854c-50c872819442

@CatalinB7 can you please take a look?
similar PR has already been merged to Apollo
https://github.com/UiPath/apollo-design-system/pull/2420


Schematics missing

Many thanks for the great project! I am putting together a compact and portable rig. That is what I was missing.
Can please add the schematics? I'd like to understand how this works. Also its not clear what the EXT connector is.
Maybe external power, maybe the ICOM interface.

Hi
I did not draw a schematic, probably somebody did it , I don't know.
That is IC 705 interface.
On Mon, Oct 4, 2021, 2:07 AM Jens Wilke @.***> wrote:

Many thanks for the great project! I am putting together a compact and
portable rig. That is what I was missing.
Can please add the schematics? I'd like to understand how this works. Also
its not clear what the EXT connector is.
Maybe external power, maybe the ICOM interface.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Dfinitski/ATU-10-10W-QRP-antenna-tuner/issues/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD6YS2P44TXAIB33MVBMY3LUFFVFFANCNFSM5FI3HIJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Question: do you plan to provide installer file in the future?

Hi,
Seems like a pretty good project. My issue is that I can't setup proper build tools easily because of special limitations.
Do you plan to provide an installer file with future releases?
Another question is do you intend this project to be free and opensource in the future as well? (I've read the 2 articles on your site which gave me the impression you don't intend to monetize this other than the microsoft store. But would be interested in your plans as I'm currently searching for the proper longterm MPDClient on Windows preferably not webbased :) )
(also installation/building readme would be nice :) )
Thanks for making this project!

My monetization scheme for Stylophone is to provide compiled releases only through the MS Store. (And it's been working pretty well so far!)
It's a bit of a "if you really want to get it for free, it's open-source so build it yourself" thing. (and a few people do exactly that, according to github analytics 🙂)
I don't plan on closing up the source or anything, so compiling yourself will always give you the same experience as the MS Store version.
Since the app is just UWP, there's nothing special involved in building it -- Just Visual Studio with the required workload -- So I don't think it's necessary to add detailed build instructions.
(The iOS port requires Xamarin.iOS and a Mac, but you can just skip it 😁)

I understand, thanks for the quick response and nice approach! :)


[Load Balancer] Heath checks being distributed outside the stack - service stays in "Initializing" state

Rancher Version:
1.1.4
Docker Version:
1.12.x
OS and where are the hosts located? (cloud, bare metal, etc):
AWS - Rancher OS rancheros-v0.7.0-hvm-1 (ami-b506a3d5)
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create a cluster of 5 hosts - 3 services and 2 load balancer
Create a load balancer with scale=2 and health checks on some port
Repeat steps 1 and 2 for a different stack - note that the each stack should be tied to the 5 hosts.
When the 2nd stack is deployed, sometimes the load balancer is stuck in "Initializing" state.
Results:
Inspection of > "/etc/healthcheck/healthcheck.cfg" file on the rancher agents shows that the hosts in the current stack has health check rules set for a stack that was previously deployed. I am assuming that is because Rancher was not able to setup the health check on 3 agents in the previous stack.

Current Stack
LB 1 ->	<IP_ADDRESS>
LB 2 -> <IP_ADDRESS>
App Server 1 -> <IP_ADDRESS>:80
<IP_ADDRESS>:80
App Server 2 -> <IP_ADDRESS>:80
<IP_ADDRESS>:80
App Server 3 -> <IP_ADDRESS>:80
<IP_ADDRESS>:80
Different Stack
LB 1 -> <IP_ADDRESS>
LB 2 -> <IP_ADDRESS>
Expected:
Rancher should have option to limit the health check to hosts on the same stack.

This seems to be fixed with Rancher version 1.3.0; closing it.


Helper functions do not return notification object

The following code will quickly explain the problem:
// somewhere in ember code, where magic happens
const notify = this.get("notifications"); // for convience sake
const heldNote = notify.info("Be patient, we're doing things");

//... do some stuff that will take awhile

notify.removeNotification(heldNote);
notify.success("And we're done!");

Sadly the helper methods do not return the notification object, making this impossible, without resorting to addNotification directly, or overwriting them in a extended service.
It would also be nice if the functions there would return something useful (helpers should return the notification for aforementioned reason), while others should return the notification service for function chaining.
notify.clearAll().setDefaultAutoClear(true).setDefaultClearNotification(5000);

Also, shouldn't setDefaultClearNotification be setDefaultClearDuration ?

Also, shouldn't setDefaultClearNotification be setDefaultClearDuration ?

☝ #122

Fixed by #151.


Getting started

I wrote a longer section about getting started. I linked it as first element in the toc. Maybe someone wants to read through it if everything is ok before merging :)
Oh, I also restored the Twitter link that I messed up in an earlier pull request.

Thanks!


error in ms_deformable_im2col_cuda: invalid device function

Hi,
I successfully followed the installation instructions in INSTALL.md, namely:
conda create --name mask2former python=3.8 -y
conda activate mask2former
conda install pytorch==1.9.0 torchvision==0.10.0 cudatoolkit=11.1 -c pytorch -c nvidia
pip install -U opencv-python

# under your working directory
git clone git@github.com:facebookresearch/detectron2.git
cd detectron2
pip install -e .
pip install git+https://github.com/cocodataset/panopticapi.git
pip install git+https://github.com/mcordts/cityscapesScripts.git

cd ..
git clone git@github.com:facebookresearch/Mask2Former.git
cd Mask2Former
pip install -r requirements.txt
cd mask2former/modeling/pixel_decoder/ops
sh make.sh

However, when running the demo I get the following:
[02/23 09:54:12 detectron2]: Arguments: Namespace(confidence_threshold=0.5, config_file='../configs/coco/panoptic-segmentation/maskformer2_R50_bs16_50ep.yaml', input=['/home/weber/Pictures/man.png'], opts=['MODEL.WEIGHTS', '/media/weber/Ubuntu2/ubuntu2/Human_Pose/code-from-source/Mask2Former/model_final_94dc52.pkl'], output=None, video_input=None, webcam=False)
[02/23 09:54:14 fvcore.common.checkpoint]: [Checkpointer] Loading from /media/weber/Ubuntu2/ubuntu2/Human_Pose/code-from-source/Mask2Former/model_final_94dc52.pkl ...
[02/23 09:54:16 fvcore.common.checkpoint]: Reading a file from 'MaskFormer Model Zoo'
Weight format of MultiScaleMaskedTransformerDecoder have changed! Please upgrade your models.  Please do not use them for anything important until they are released as stable. (Triggered internally at  /opt/conda/conda-bld/pytorch_1623448278899/work/c10/core/TensorImpl.h:1156.)
  return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
/mnt/c7dd8318-a1d3-4622-a5fb-3fc2d8819579/CORSMAL/envs/detectron2/lib/python3.8/site-packages/torch/_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values.
To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at  /opt/conda/conda-bld/pytorch_1623448278899/work/aten/src/ATen/native/BinaryOps.cpp:467.)
  return torch.floor_divide(self, other)
error in ms_deformable_im2col_cuda: invalid device function
error in ms_deformable_im2col_cuda: invalid device function
error in ms_deformable_im2col_cuda: invalid device function
error in ms_deformable_im2col_cuda: invalid device function
error in ms_deformable_im2col_cuda: invalid device function
error in ms_deformable_im2col_cuda: invalid device function
[02/23 09:54:17 detectron2]: /home/weber/Pictures/man.png: detected 56 instances in 1.09s

From a web search, it seems that this error occurs when the wrong CUDA is installed. However, I correctly installed cudatoolkit 11.1 from the installation procedure above. What else could be the issue?
FYI - the demo runs fine if I run it on my CPU (using the MODEL.DEVICE cpu)

Hmm, if I do echo $CUDA_HOME, it prints an empty line

[BTW - I can run detectron2 succesfully in this environment]

It seems that pytorch will find the potential path of CUDA_HOME itself. And if it is None, the compling will raise error. So I think it is not the key point of this error.
if CUDA_HOME is None:
    raise NotImplementedError('CUDA_HOME is None. Please set environment variable CUDA_HOME.')

I solved this problem referring to 4.


Rustup

preparing for rustc-push

@bors r+

:pushpin: Commit 535927bc9d583434d07e2b5b09913cd99a8415bc has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 535927bc9d583434d07e2b5b09913cd99a8415bc with merge d1e0f13737c36895b4e0f9d3d6139ab7a8373d1f...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing d1e0f13737c36895b4e0f9d3d6139ab7a8373d1f to master...


Unknown command in UpdateMMA Script

The command "az vmss list --query" says that "az" doesn't exist.  I have connected to Azure with Connect-AZAccount
Perhaps a mention of which modules need to be loaded would be helpful

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

ID: 808e7eb5-6c00-8d2d-b9a7-00381ca8d563
Version Independent ID: fe611a21-c58a-0e52-2c29-52ebc75397d6
Content: Troubleshoot issues with the Log Analytics agent for Windows - Azure Monitor
Content Source: articles/azure-monitor/agents/agent-windows-troubleshoot.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

You need to use the az cli tool and ensure that the correct subscription is selected.
az account set --subscription <subscription name>

@DragonSpeedTheB Thanks for your comment! We will review and provide an update as appropriate.

@DragonSpeedTheB UpdateMMA script shared in the referred Azure document is using az cli commands whereas you have mentioned that you have connected to Azure with Connect-AzAccount Az Powershell cmdlet which I believe is not required in this case. You would have to make sure that you are connected to Azure using az cli command as mentioned here and then set the subscription context as mentioned by @Harfish. Let me know if you still face any issue or error by sharing a screenshot so it helps to provide the appropriate insights to unblock you. Thank you.

Thanks.  That makes much more sense!
On Sat, Apr 29, 2023 at 09:27 KrishnaG-MSFT @.***>
wrote:

@DragonSpeedTheB https://github.com/DragonSpeedTheB UpdateMMA script
shared in the referred Azure document is using az cli
https://learn.microsoft.com/en-us/cli/azure/ commands whereas you have
mentioned that you have connected to Azure with Connect-AzAccount
https://learn.microsoft.com/en-us/powershell/module/az.accounts/connect-azaccount?view=azps-9.7.0 Az
Powershell
https://learn.microsoft.com/en-us/powershell/azure/?view=azps-9.7.0
cmdlet which I believe is not required in this case. You would have to make
sure that you are connected to Azure using az cli command as mentioned
here https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli
and then set the subscription context as mentioned by @Harfish
https://github.com/Harfish. Let me know if you still face any issue or
error by sharing a screenshot so it helps to provide the appropriate
insights to unblock you. Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/108842#issuecomment-1528824106,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJUU4LTIJVCSFZDTBNSHO3XDU6QFANCNFSM6AAAAAAXOMH2GA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Photo Galleries: http://www.flickr.com/dragonspeed
Blog: http://dragonspeed.wordpress.com

@DragonSpeedTheB Glad to know! Closing this issue for now. If you have any further queries with regard to this topic, feel free to comment so we can continue the conversation. Thank you.


add cve link in Harbor API

Coverage decreased (-0.04%) to 54.814% when pulling 5846d7d28dfcb48f16f0d5596165ba87a5a63439 on reasonerjt:add-vuln-link into 987ad06ed71d1a4f00074a42094eee3a4800204f on vmware:master.


Implement threadgroup space

Migrated from https://bugs.webkit.org/show_bug.cgi?id=189111:
At 2018-08-29T23:18:55Z<EMAIL_ADDRESS>wrote:
Implement thread group space

Also make sure it can only work in compute shaders

Metal has two models for thread group variables:

You can mark a variable as a thread group variable, and that means it is shared among the thread group.
If the amount of memory needed for thread group variables is not known at compile time (e.g. you need an array where each thread in the thread group owns an item in the array), the above method won't work. Instead, you mark a pointer argument to the entry point as [[threadgroup(0)]] and there's an API function to set how much threadgroup memory is behind that pointer.

The first one is more simple and easy to understand, but the second one is more flexible. The second one requires you plumbing the pointer all the way through the code from the entry point. There are some graphics algorithms which cannot be implemented with just the first option.


It doesn't open in a new tab when clicking on picture of Game Jam Banner

Describe the bug
It doesn't open in a new tab when clicking on picture of Game Jam Banner
Steps to reproduce the behavior
1.Navigate to https://www.microsoft.com/en-us/makecode/challenges
2.Click on the picture of Game Jam Banner
Expect behavior
It should open in a new tab
Actual behavior
It doesn't open in a new tab when clicking on picture of Game Jam Banner

Additional context
1.OS: Windows11

@soniakandah if this is intentional, feel free to close it.

It looks like Red Tiger has no option to make clicking on the image open up in a new tab even when the CTA in the module is set to "Open link in new tab".  As far as I could tell, this is not possible in the Feature module.


Moondream fails at some images, unexpected output/messages?

What is the issue?
I'm receiving this message when running moondream on a few jpg images:
[GIN] 2024/08/14 - 22:17:49 | 200 |    407.4667ms |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-14T22:18:35.703-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
The terminal output is something like:  [0.64, 0.5, 0.72, 0.58] instead of a textual description.
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.3.6

The warning is because the server is not configured with OLLAMA_NUM_PARALLEL=1, but doesn't the operation of the model.
Does it always fail on the same images?  Can you post an example of an image that fails?  How do you call the model - CLI, API, python client, etc?  Can you provide code that can be run that replicates the fault?  Can you provide server logs for a failed inference attempt?

Thanks for your interest.
Happens deterministically only to the same (few) images and always to them. Fails with both CLI and ollama-python. In the case of my python script it stalls, probably because of unexpected output format.
Windows session
Microsoft Windows [versão 10.0.22631.4037]
(c) Microsoft Corporation. Todos os direitos reservados.

D:\ImageAnot>ollama run moondream
>>> IMG-20220126-WA0000.jpg

>>> "IMG-20220126-WA0000.jpg"

 [0.64, 0.5, 0.72, 0.58]

>>> "IMG-20220330-WA0001.jpg"

 [0.63, 0.49, 0.73, 0.57]

>>> /bye

Example image files that result in failure:

server log
ggml_cuda_init: GGML_CUDA_FORCE_MMQ:    no
ggml_cuda_init: GGML_CUDA_FORCE_CUBLAS: no
ggml_cuda_init: found 1 CUDA devices:
  Device 0: NVIDIA GeForce RTX 2060, compute capability 7.5, VMM: yes
llama_model_loader: loaded meta data with 20 key-value pairs and 245 tensors from .... (version GGUF V3 (latest))
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
llama_model_loader: - kv   0:                       general.architecture str              = phi2
llama_model_loader: - kv   1:                               general.name str              = moondream2
llama_model_loader: - kv   2:                        phi2.context_length u32              = 2048
llama_model_loader: - kv   3:                      phi2.embedding_length u32              = 2048
llama_model_loader: - kv   4:                   phi2.feed_forward_length u32              = 8192
llama_model_loader: - kv   5:                           phi2.block_count u32              = 24
llama_model_loader: - kv   6:                  phi2.attention.head_count u32              = 32
llama_model_loader: - kv   7:               phi2.attention.head_count_kv u32              = 32
llama_model_loader: - kv   8:          phi2.attention.layer_norm_epsilon f32              = 0.000010
llama_model_loader: - kv   9:                  phi2.rope.dimension_count u32              = 32
llama_model_loader: - kv  10:                          general.file_type u32              = 2
llama_model_loader: - kv  11:               tokenizer.ggml.add_bos_token bool             = false
llama_model_loader: - kv  12:                       tokenizer.ggml.model str              = gpt2
llama_model_loader: - kv  13:                      tokenizer.ggml.tokens arr[str,51200]   = ["!", "\"", "#", "$", "%", "&", "'", ...
llama_model_loader: - kv  14:                  tokenizer.ggml.token_type arr[i32,51200]   = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
llama_model_loader: - kv  15:                      tokenizer.ggml.merges arr[str,50000]   = ["Ġ t", "Ġ a", "h e", "i n", "r e",...
llama_model_loader: - kv  16:                tokenizer.ggml.bos_token_id u32              = 50256
llama_model_loader: - kv  17:                tokenizer.ggml.eos_token_id u32              = 50256
llama_model_loader: - kv  18:            tokenizer.ggml.unknown_token_id u32              = 50256
llama_model_loader: - kv  19:               general.quantization_version u32              = 2
llama_model_loader: - type  f32:  147 tensors
llama_model_loader: - type q4_0:   97 tensors
llama_model_loader: - type q6_K:    1 tensors
llm_load_vocab: missing or unrecognized pre-tokenizer type, using: 'default'
llm_load_vocab: special tokens cache size = 944
llm_load_vocab: token to piece cache size = 0.3151 MB
llm_load_print_meta: format           = GGUF V3 (latest)
llm_load_print_meta: arch             = phi2
llm_load_print_meta: vocab type       = BPE
llm_load_print_meta: n_vocab          = 51200
llm_load_print_meta: n_merges         = 50000
llm_load_print_meta: vocab_only       = 0
llm_load_print_meta: n_ctx_train      = 2048
llm_load_print_meta: n_embd           = 2048
llm_load_print_meta: n_layer          = 24
llm_load_print_meta: n_head           = 32
llm_load_print_meta: n_head_kv        = 32
llm_load_print_meta: n_rot            = 32
llm_load_print_meta: n_swa            = 0
llm_load_print_meta: n_embd_head_k    = 64
llm_load_print_meta: n_embd_head_v    = 64
llm_load_print_meta: n_gqa            = 1
llm_load_print_meta: n_embd_k_gqa     = 2048
llm_load_print_meta: n_embd_v_gqa     = 2048
llm_load_print_meta: f_norm_eps       = 1.0e-05
llm_load_print_meta: f_norm_rms_eps   = 0.0e+00
llm_load_print_meta: f_clamp_kqv      = 0.0e+00
llm_load_print_meta: f_max_alibi_bias = 0.0e+00
llm_load_print_meta: f_logit_scale    = 0.0e+00
llm_load_print_meta: n_ff             = 8192
llm_load_print_meta: n_expert         = 0
llm_load_print_meta: n_expert_used    = 0
llm_load_print_meta: causal attn      = 1
llm_load_print_meta: pooling type     = 0
llm_load_print_meta: rope type        = 2
llm_load_print_meta: rope scaling     = linear
llm_load_print_meta: freq_base_train  = 10000.0
llm_load_print_meta: freq_scale_train = 1
llm_load_print_meta: n_ctx_orig_yarn  = 2048
llm_load_print_meta: rope_finetuned   = unknown
llm_load_print_meta: ssm_d_conv       = 0
llm_load_print_meta: ssm_d_inner      = 0
llm_load_print_meta: ssm_d_state      = 0
llm_load_print_meta: ssm_dt_rank      = 0
llm_load_print_meta: model type       = 1B
llm_load_print_meta: model ftype      = Q4_0
llm_load_print_meta: model params     = 1.42 B
llm_load_print_meta: model size       = 788.55 MiB (4.66 BPW)
llm_load_print_meta: general.name     = moondream2
llm_load_print_meta: BOS token        = 50256 '<|endoftext|>'
llm_load_print_meta: EOS token        = 50256 '<|endoftext|>'
llm_load_print_meta: UNK token        = 50256 '<|endoftext|>'
llm_load_print_meta: LF token         = 128 'Ä'
llm_load_print_meta: EOT token        = 50256 '<|endoftext|>'
llm_load_print_meta: max token length = 256
llm_load_tensors: ggml ctx size =    0.22 MiB
llm_load_tensors: offloading 24 repeating layers to GPU
llm_load_tensors: offloading non-repeating layers to GPU
llm_load_tensors: offloaded 25/25 layers to GPU
llm_load_tensors:  CUDA_Host buffer size =    56.25 MiB
llm_load_tensors:      CUDA0 buffer size =   732.30 MiB
llama_new_context_with_model: n_ctx      = 2048
llama_new_context_with_model: n_batch    = 512
llama_new_context_with_model: n_ubatch   = 512
llama_new_context_with_model: flash_attn = 0
llama_new_context_with_model: freq_base  = 10000.0
llama_new_context_with_model: freq_scale = 1
llama_kv_cache_init:      CUDA0 KV buffer size =   384.00 MiB
llama_new_context_with_model: KV self size  =  384.00 MiB, K (f16):  192.00 MiB, V (f16):  192.00 MiB
llama_new_context_with_model:  CUDA_Host  output buffer size =     0.20 MiB
llama_new_context_with_model:      CUDA0 compute buffer size =   160.00 MiB
llama_new_context_with_model:  CUDA_Host compute buffer size =     8.01 MiB
llama_new_context_with_model: graph nodes  = 921
llama_new_context_with_model: graph splits = 2
INFO [wmain] model loaded | tid="6788" timestamp=1723766686
time=2024-08-15T21:04:46.557-03:00 level=INFO source=server.go:632 msg="llama runner started in 29.03 seconds"
[GIN] 2024/08/15 - 21:04:46 | 200 |   29.8517702s |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-15T21:06:03.612-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
[GIN] 2024/08/15 - 21:06:04 | 200 |    526.0926ms |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-15T21:06:12.622-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
[GIN] 2024/08/15 - 21:06:14 | 200 |    1.5735209s |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-15T21:06:34.538-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
[GIN] 2024/08/15 - 21:06:36 | 200 |    2.0112613s |       <IP_ADDRESS> | POST     "/api/chat"

Looks like Moondream may output a bounding box instead of a description.
I was not expecting it!
Maybe it is just a matter of dealing with this other operation type and discovering how to make Moondream understand I want a description.
Additionally, it looks like the warning is unrelated to the strange behavior of the model as you mentioned.
More tests
Well, I tried to add a prompt message, but the behavior is too strange. Same description to both text images. At least, I have a description output now and my script should not crash.
>>> Describe the image "IMG-20220126-WA0000.jpg"

The image is a blurry photo of an outdoor scene, possibly taken during sunset or dusk. The focus appears to be on
the sky and the surrounding environment rather than the main subject in the frame.

>>> "IMG-20220126-WA0000.jpg"

The image shows a blurry picture of a sunset over an outdoor scene, with the sun setting behind some trees or
other objects. The focus is on the sky and the surrounding environment rather than the main subject in the frame.

>>> Describe the image "IMG-20220330-WA0001.jpg"

The image shows a blurry picture of an outdoor scene, possibly taken during sunset or dusk. The focus appears to
be on the sky and the surrounding environment rather than the main subject in the frame.

Server log
time=2024-08-15T21:32:29.780-03:00 level=INFO source=server.go:632 msg="llama runner started in 6.36 seconds"
[GIN] 2024/08/15 - 21:32:29 | 200 |    7.2102511s |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-15T21:32:46.241-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
[GIN] 2024/08/15 - 21:32:49 | 200 |    3.6831915s |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-15T21:33:18.287-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
[GIN] 2024/08/15 - 21:33:22 | 200 |    4.1394721s |       <IP_ADDRESS> | POST     "/api/chat"
time=2024-08-15T21:34:18.586-03:00 level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
[GIN] 2024/08/15 - 21:34:22 | 200 |    3.8304122s |       <IP_ADDRESS> | POST     "/api/chat"

The ollama CLI recognizes that an image is attached by detecting filepaths in the prompt.  A plain filename will be just a random string:
$ ollama run moondream:1.8b-v2-q4_0
>>> "IMG-20220330-WA0001.jpg"

 [0.62, 0.5, 0.69, 0.56]

>>> describe ./IMG-20220330-WA0001.jpg
Added image './IMG-20220330-WA0001.jpg'

The image is a newspaper article in Spanish that provides information about the registration of JBS, a Brazilian bank. The headline reads "JBS Registra Lucro de RS 20,5 bilhos em 2021 e faz o melhor ano da historia", which translates to "JBS registered $20,5 bilhos in 2021". The article also includes details about the company's financial situation and a list of their assets.

The text is written in Spanish, with some words appearing in both English and Portuguese. The layout of the newspaper page features a header at the top that reads "JBS Registra Lucro de RS 20,5 bilhos em 2021 e faz o melhor ano da historia", followed by a list of assets below it.

Calling via the API seems to work as well, so if ollama-python is having issues, it might be a different problem.
echo '{"model": "moondream:1.8b-v2-q4_0","messages":[{"role":"user","content":"describe this image","images":["'"$(base64 IMG-20220330-WA0002.jpg)"'"]}],"stream":false}' | curl -s http://localhost:11434/api/chat -d @- | jq

{
  "model": "moondream:1.8b-v2-q4_0",
  "created_at": "2024-08-16T01:08:40.0730596Z",
  "message": {
    "role": "assistant",
    "content": "\nThe image is a screenshot of an article from a newspaper, specifically the A Itudera do Futuro da Industria. The text on the screen reads \"A Atividade de detecao e futuro da industria\", which translates to \"An industrial action and future development\". The article is displayed in two columns with the left column being slightly larger than the right one, creating a balanced layout.\n\nThe newspaper's logo can be seen at the bottom of the image, indicating that it is a reliable source for news and information."
  },
  "done_reason": "stop",
  "done": true,
  "total_duration":<PHONE_NUMBER>,
  "load_duration": 11746213,
  "prompt_eval_duration":<PHONE_NUMBER>,
  "eval_count": 112,
  "eval_duration":<PHONE_NUMBER>
}

Thank you very much Sir!!
Well, the CLI worked for the first file, but not for the second:
>>> "./IMG-20220126-WA0000.jpg"
Added image './IMG-20220126-WA0000.jpg'

The image shows a newspaper page with the headline "A descrito da industria do futuro e". The article is written
in Portuguese and discusses the future of industry. It also includes an image of a building, which could be
related to the topic being discussed. The text on the page appears to be in a foreign language, but it seems to
focus on the development of industries for the future.

>>> "./IMG-20220330-WA0001.jpg"
Added image './IMG-20220330-WA0001.jpg'

I don't want to take more of your time, but I'll put the part of my script that gets the image descriptions here:

client = ollama.Client(host='http://localhost:11434', timeout=30)

class Describer:
    instruction = 'Describe the image using strong key-words.'

    def describe(self, file_path):
        try:
            result = client.generate(
                model='moondream',
                prompt=self.instruction,
                images=[file_path],
                stream=False
            )['response']
            #img = Image.open(file_path, mode='r')
            #img = img.resize([int(i/1.2) for i in img.size])
            #img.show()
            return result
        except:
            print("\n***TIMED_OUT*** "+file_path+"\n")
            return 'Timed out.'

describer = Describer()

it does help to add instruction to the prompt, try describe this image: "./IMG-20220330-WA0001.jpg.

Your python script worked fine for me for both images:
$ ./6365.py IMG-20220330-WA0001.jpg

The image is a newspaper article in Spanish, titled "JBS Registra Lucro de RS 20,5 bilhos em 2021 e faz o melhor ano da historia". The headline of the article is prominently displayed at the top. The text is written in white against a dark background, making it easy to read and understand.

$ ./6365.py IMG-20220330-WA0002.jpg

The image is a screenshot of an article from a newspaper, with the headline "A. Atividade do futuro da industria" prominently displayed at the top. The main body of the article is written in white text against a dark background, and it appears to be a summary or a news report about a new industrial project.

The article is divided into several paragraphs, with each paragraph containing different pieces of information related to the industrial project. The layout of the article seems to follow a typical newspaper format, with the headline at the top followed by the main body and then possibly some additional details or quotes at the bottom.

Yes. It worked indeed.
>>> Describe "./IMG-20220330-WA0001.jpg"
Added image './IMG-20220330-WA0001.jpg'

The image is a newspaper article in Spanish that provides information about the registration of JBS, a Brazilian
bank. The headline reads "JBS Registra Lucro de RS 20,5 bilhos em 2021 e faz o melhor ano da historia", which
translates to "JBS registered for $20,5 bilhos in 2021". The article also includes the names of the companies
involved and a link to their website.

The text is written in Spanish, with some words appearing in both English and Portuguese. The layout of the
newspaper page features a gray background, white text, and black text elements such as logos or bullet points.

Thanks again.
Another time, I'll try to figure out what my script is doing wrong (it failed in 80 images of about 3000 when I ran it a month ago) so we can be sure there is no real issue.

Looks like the problem is with quantized version of Moondream 2.
D:\ImageAnot>ollama run moondream:1.8b-v2-fp16
>>> Describe "./IMG-20200711-WA0005.jpg"
Added image './IMG-20200711-WA0005.jpg'

The image shows a screenshot of a webpage that displays text in both Spanish and English. The website is
organized with the main content written in white, while other information is presented in smaller, red font below
it. The page contains various columns containing different details about media and audio, with some columns
showing more detail than others. This combination of language elements and visual organization makes it an
accessible resource for a broader audience interested in multimedia and related subjects.

>>> /bye

D:\mageAnot>ollama run moondream
>>> Describe "./IMG-20200711-WA0005.jpg"
Added image './IMG-20200711-WA0005.jpg'

>>>

Tested with 2967 images with moondream fp16: 44 of them had an empty string as output.
The server didn't crash this time like it would happen with the 4-bit quantized version of the model.


Add support for ASGI root_path for openapi docs

ASGI specifies the root_path connection scope variable. This is the path the application is mounted under (the equivalent of WSGI's SCRIPT_NAME).
This PR ensures that this root is used as a prefix for the openapi.json URL, as a prefix for paths contained in openapi.json and by the oauth2 redirect endpoint to redirect back to the swagger docs.
To override the path the ASGI server provides you can still explicitly set the openapi_prefix variable.
Do note that this is a breaking change for applications that overriden openapi() themselves.
This should fix/related to https://github.com/tiangolo/fastapi/issues/829

I guess this PR solves the same issue that I was having (I didn't even know about issue #829). I solved my problem by just adding the prefix to the redirect url. You can see what I did on my proposed PR https://github.com/tiangolo/fastapi/pull/1159. But it seems to me that your solution involves more steps that I may have been missing. Could you explain?
I will probably delete https://github.com/tiangolo/fastapi/pull/1159 since it is redundant, now that you've done this 😄

Great! :rocket:
Thanks for the patience, it took me a bit of time to review this as I wanted to first re-read the WSGI and ASGI specs to make sure I wasn't missing anything.
And then to test it all with an actual reverse proxy with path prefix stripping (what the root_path would be used for).
I refactored it a bit and took the opportunity to deprecate openapi_prefix in favor of the new root_path :fire: :rocket:
And I added a bunch of docs to explain how the root_path works and to document how to test it all with a real proxy using Traefik.
Thanks for your contribution! :rocket: :tada: :cake:


Support the fragment spread group when defining alphabetize rule's groups

Is your feature request related to a problem? Please describe.
I'd like to be able to use the alphabetize graphql-eslint rule, and keep all fragment spreads grouped together, preferably at the end of the selection set.
Describe the solution you'd like
The rule already supports the groups option, which supports any literal string or the '*' string for "everything else."
I'd like to be able to configure the rule this way:
'@graphql-eslint/alphabetize': [
  'error',
  {
    groups: ['id', '*', '...'],
    selections: ['OperationDefinition', 'FragmentDefinition'],
  },
]

So that this selection set:
{
  updatedAt
  ...SomeFragmentB
  ...SomeFragmentA
  id
}

Would end up being alphabetized this way:
{
  id
  updatedAt
  ...SomeFragmentA
  ...SomeFragmentB
}

Since this line uses the node's name, the ... part of the spread is gone from the lexical comparison, which results in fragment spreads being sorted as if they were just regular field selections:
{
  id
  ...SomeFragmentB
  ...SomeFragmentA
  updatedAt
}

Describe alternatives you've considered
I've considered supporting regular expressions in the groups option, but that seemed like an overkill, even before I realized that ...SomeFragment is anyways treated as SomeFragment.
Additional context
Not much to add. I did code up a solution locally, mostly to understand how it ended up sorting items the way it did, but I'm waiting for a discussion on this issue to conclude before moving forward.

@dimaMachina, is there anything additional I could provide here to help drive the discussion forward?
I'd love to hear your thoughts on this and the proposed solution. 🙏🏻

@dotansimha, sorry for bugging you here 🙇🏻 — I noticed you're one of the maintainers of this repo, and thought I might reach out.
I'm not sure what the recommended path forward here is, and would love your advice or help with this issue and its proposed solution. I'd love to be able to contribute, and appreciate your help!


gwyddion: 2.60 -> 2.61

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gwyddion/versions.
meta.description for gwyddion is: "Scanning probe microscopy data visualization and analysis"
meta.homepage for gwyddion is: "http://gwyddion.net/"
meta.changelog for gwyddion is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.61 with grep in /nix/store/w3n4ggj96hdyisvdfmmsj5vpdynfq1m8-gwyddion-2.61
found 2.61 in filename of file in /nix/store/w3n4ggj96hdyisvdfmmsj5vpdynfq1m8-gwyddion-2.61

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
gwyddion

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/w3n4ggj96hdyisvdfmmsj5vpdynfq1m8-gwyddion-2.61 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gwyddion https://github.com/r-ryantm/nixpkgs/archive/0bba0f15dc10d2c9a1ab19d3374f6a45f22f9748.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/w3n4ggj96hdyisvdfmmsj5vpdynfq1m8-gwyddion-2.61
ls -la /nix/store/w3n4ggj96hdyisvdfmmsj5vpdynfq1m8-gwyddion-2.61/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gwyddion

Maintainer pings
cc @cgevans for testing.

Result of nixpkgs-review pr 184218 run on x86_64-linux 1

1 package built:

gwyddion


Update merge script to also display version in commit

Overview

Update the merge script so the pom new version is also displayed in the commit message.
This change is a

[ ] Bug fix
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that will change exisiting functionality)
[ ] Documentation update

Description

Motivation/Links

How was this tested?

Todos

[ ] Ensure unit tests pass
[ ] Update documentation for changes (if necessary)

Codecov Report

Merging #22 (3e7a331) into master (ad577e3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #22   +/-   ##
=========================================
  Coverage     77.47%   77.47%
  Complexity      120      120
=========================================
  Files            24       24
  Lines           404      404
  Branches         12       12
=========================================
  Hits            313      313
  Misses           78       78
  Partials         13       13

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 ad577e3...3e7a331. Read the comment docs.


cleanup windows kubelet build instructions

This change is

this is a quick one:

before (rendered): https://github.com/Azure/acs-engine/blob/master/docs/kubernetes-build-win-binaries.md

after (rendered): https://github.com/colemickens/acs-engine/blob/3e49b8717090a0e95841aea718bf3dc5a5964fe2/docs/kubernetes-build-win-binaries.md

@acs-bot test this please


[Feature Suggestion] Respect .hidden file

Many file managers such as Dolphin, Thunar, Nautilus and others support hiding files and holders using a .hidden text file.  It would be nice if LSD was able to also support this behaviour.  So a user creates a .hidden file with the names of files or directories in it (one per line).  When a user runs LSD in that directory it picks up the .hidden file and then doesn't display any files which match.
This behaviour can be easily over ridden with the -a option which will still show all files irrespective of whats in the .hidden file.  I know lots of people are using this hide things like the snap directory on those Linux desktops which run them.

I am not sure if this is something that a lot of people would be using. There was a proposal to add a feature to add gitignore, which I believe more people would be using.
https://github.com/Peltoche/lsd/issues/218

.gitignore could work but as .hidden files are already used by the majority of GUI file browsers on Linux I think this feature is used more than people my realise as not everyone who uses Linux necessarily uses or understands git.  Thankfully their file formats are identical so once we can parse the file we just have to check if either of the two files are present.

I would really appreciate if such a feature was added. I constantly use an external drive that is shared with a couple of Windows machines that constantly create System Volume Information/ and $RECYCLE.BIN/ directories that just really annoy me. In such situations I usually just create a .hidden file and put such files inside. That does actually work in Dolphin but sadly not in lsd

Related (and I can open another issue if necessary), lsd should respect chflags hidden on macOS:
$ /bin/ls -lO total 8 drwx------    3 dsully  staff  -        96 Jul  1  2019 Applications drwxrwxr-x@   4 dsully  staff  hidden  128 Jul 18 09:17 Creative Cloud Files drwx------@  14 dsully  staff  -       448 Jul 18 09:12 Desktop drwx------@  12 dsully  staff  -       384 Jul 20 15:38 Documents drwx------@  25 dsully  staff  -       800 Jul 21 10:28 Downloads drwx------@  83 dsully  staff  hidden 2656 Jul  2 07:47 Library drwxr-xr-x@   3 dsully  staff  hidden   96 Jul  3 09:19 Mounts

@SleeplessSloth  .. you could use --ignore-glob as the windows folders are a global issue:
lsd --ignore-glob 'System Volume Information' --ignore-glob '*RECYCLE.BIN'

Create alias. Should work as a workaround ..


Jscoe 90/grpc server to server communication

Please see the README for the project description. This project is intended to show how to use gRPC for server-to-server communication. 3 services have been built, they share a similar architecture and configuration with some shared code, so when you view one, you can immediately get a picture of the other 2.
The article to understand the project: https://docs.google.com/document/d/1UoxRm94VquMzlQdRYYPklK_QC48ldwAqACZ_YGpG3ME/edit

Looks great, a few neat-picks:

There are a few functions that return void so there's really no point in explicitly returning.
The use of ts-ignore is concerning

@michaeltintiuc
Point one: Habit 😄. Removed it.
Point two: The definitions generated by the proto-loader are not seen by TS. It would require a lot of code to do that typing and the project would have gone much bigger and the article much longer. I wrote about it in the article and provided an alternative to going around using ts-ignore. But for this tutorial, I choose this to reduce how much code it will need.

Very neat code, well documented and pretty clear. Great stuff, would love to see a brown bag event demo for this code if you are interested to know more about how it works. Koll stuffz!

Thank you for this glowing review. It's exciting to read 😄. I'll be happy to do the brown bag event, but I have never done one before, so I have no idea how to do it. I'll ask some questions and set it up.


[PT Plugins] Translation fixes and improvements

Summary of the Pull Request

Add a comment to resx of system plugin.
Fix translation of examples in Time and Date plugin description.
Prevent translation of number examples in calc plugin settings.

PR Checklist

[x] Closes: #18843, #17377, #18934
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Local build to validate strings.

@jaimecbernardo, @stefansjfw, @crutkas
Can one of you please restart the pipeline. The test process reached time limit.

/azp run

Maybe but doubtful

Holiday weekend in US. Every will have Monday off


ENABLED_AUTH not working when deploying from local

I have set the ENABLED_AUTH in .env, rebuild the app, and deploy to azure from local, it keep resorting back to blocking the chat.  Am I missing something to force the environment to be set?
Currently I resort to, as a work around for my POC.
const getUserInfoList = async () => {
setShowAuthMessage(false);
}

nvm, you need to update the azure.yml file to remote move the configuration to a blob storage so the application can use.


Undefined array key "responseBody"

when i initialized the class i am getting this error :  Undefined array key "responseBody"

Nice i just solve the issue now the problem is that in InitTrans class the checkoutUrl is under responseBody, and i think that you forgot to return only responseBody datas so it's returning the all data, untill i filtered it like this $init['responseBody']['checkoutUrl']

Thank you 😊
It's been a while since I updated this repo, would you like to be a contributor?
Looking forward to your response.

It's my pleasure sir because it solved my problem.
On Tue, 28 Nov 2023, 12:58 pm Simon Ugorji @.), <
@.> wrote:

Thank you 😊
It's been a while since I updated this repo, would you like to be a
contributor?
Looking forward to your response.
—
Reply to this email directly, view it on GitHub
https://github.com/Octagon-simon/Monnify/issues/1#issuecomment-1829697132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH67GUEY4VIVJF2BW2OKD43YGXGVFAVCNFSM6AAAAAA75SZVX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGY4TOMJTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

And sir as you can see i am not professional in github so the word
contributor in github pls need more explanation
On Tue, 28 Nov 2023, 1:05 pm Abasu kala Tv, @.***> wrote:

It's my pleasure sir because it solved my problem.
On Tue, 28 Nov 2023, 12:58 pm Simon Ugorji @.), <
@.> wrote:

Thank you 😊
It's been a while since I updated this repo, would you like to be a
contributor?
Looking forward to your response.
—
Reply to this email directly, view it on GitHub
https://github.com/Octagon-simon/Monnify/issues/1#issuecomment-1829697132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH67GUEY4VIVJF2BW2OKD43YGXGVFAVCNFSM6AAAAAA75SZVX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGY4TOMJTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Python3 support and code cleanup

This PR adds Python3 support (not a big change, only one line), and also cleans up the code (PEP8)

@ZingBallyhoo Thanks! I'll have a look at it asap and merge it.


Added basic site structure

Established the basic site structure, including a content collection for the various collections (we'll probably want similar for "news" and the "shop" sections). Established in bootstrap and various other plugins for astro.

This looks good. I do wonder about using Bootstrap for a couple of reasons:

It has quite a heavy overhead for layout—lots of nested divs to deal with all the flex box things.
It tends to do things right, which is not what we want :)

I'll approve the PR so we can carry on moving.


problems with Google API

Hi! 🌳
I tried to make this script working with Heroku but I've encountered these errors:

2019-04-29T11:06:55.994549+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=****** .herokuapp.com request_id=**************** fwd="*****************" dyno= connect= service= status=503 bytes= protocol=https

2019-04-29T11:06:57.048418+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=****** .herokuapp.com request_id=***************** fwd="************" dyno= connect= service= status=503 bytes= protocol=https

Trying the terminal/Python way:

Traceback (most recent call last):
File "/Users/*******/fest.py", line 2, in
from googleapiclient import discovery
ImportError: No module named googleapiclient

I tried several times to re-install google api ( sudo pip install --force-reinstall google-api-python-client) with no success... :(

Did you use the "Deploy to Heroku" button to deploy or did you do it manually?

I used the button :)

I'm having trouble reproducing this error but it does look like you're trying to run it as a web service when it's intended to run as a cron worker.
try running the Procfile command with the heroku CLI:
heroku run --app <your-app-id> python -m fest.heroku

I should update this repo's README to say this but the way its intended to work is for you to make a scheduled job using the Heroku Scheduler add-on.

any luck?

nope :( this is the error I get:
Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/app/.heroku/python/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/app/fest/heroku.py", line 19, in <module>
    GOOGLE_SERVICE_ACCOUNT = json.loads(os.environ['GOOGLE_SERVICE_ACCOUNT'])
  File "/app/.heroku/python/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/app/.heroku/python/lib/python3.6/json/decoder.py", line 342, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)

That error indicates that the value of your GOOGLE_SERVICE_ACCOUNT environmental variable isn't valid JSON. Here are the instructions for getting your service acct set. up.

That was definitely an issue, but I found some other missing steps! :P
GOOGLE

when you download the JSON is not clear how to set it in the Heroku environment (guide), in our case the variable name is "GOOGLE_SERVICE_ACCOUNT" and not "GOOGLE_APPLICATION_CREDENTIALS"
heroku config:set GOOGLE_SERVICE_ACCOUNT="$(< credentials.json)"
in alternative is possible to copy/paste it in a new variable from the web interface :)

something really hidden is that after creating the New service account  you need to add the Google API email (which you find in the service account details) to the calendar, in order to assign "writing permissions", otherwise you get "You need to have writer access to this calendar." error (found here).

FACEBOOK

I got an error also by the Facebook API telling me that the token was expired, so I checked the guide and I extended the life of the token :D

After many trials and errors I made it working! ...but...is not working as expected! :P
I'll open a new issue since it's a behavioural problem.


[PE-D][Tester D] Logo of the product is still that of the addressbook

Overview
The logo that is displayed upon launching the product on my Windows laptop is still that of AB3. Might be beneficial to change it to something more unique and relevant to the product and its use case. This is a small fix that can really enhance the product and help users better appreciate its purpose. (Doesn’t fit well with the product)
Steps to reproduce

Launch the product using the jar file as recommended
View the task bar of your laptop and the top left corner of the window to see existing AB3 logo

Expected outcome
A unique logo that reflects that this is a hackathon management software.
Actual outcome
Generic AB3 logo that does not complement the use case and functionality of the product well.
Potential solution
Replacing the picture with a more appropriate one for HackLink would be great

Labels: severity.VeryLow type.DocumentationBug
original: ararchch/ped#21

descriptive title: :heavy_check_mark:
enough details: :heavy_check_mark:
severity/type labels chosen are not too far off: :heavy_check_mark:
non-confrontational tone: :heavy_check_mark:
points out a potentially problematic behavior (or a good way to improve the product): :x: (not exactly a problem, but the app icon is not much related to the app's purpose)

Good report

Purely cosmetic issue, not allowed to fix/change.


unixPB enable core dumps on macOS

Checklist

[x] commit message has one of the standard prefixes
[ ] FAQ.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[ ] inventory changes, ensure bastillion is updated accordingly

fixes: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1282
Grinder before change: https://ci.adoptopenjdk.net/job/Grinder/5835/tapResults/
Grinder after change: https://ci.adoptopenjdk.net/job/Grinder/5837/tapResults/

TASK [Common : Install Build Tool Casks] ***************************************
failed: [localhost] (item=adoptopenjdk10) => {"ansible_loop_var": "item", "changed": false, "item": "adoptopenjdk10", "msg": "Updating Homebrew...\nError: Calling brew cask install is disabled! Use brew install [--cask] instead."}
failed: [localhost] (item=packages) => {"ansible_loop_var": "item", "changed": false, "item": "packages", "msg": "Error: Calling brew cask install is disabled! Use brew install [--cask] instead."}

TASK [Common : Install Build Tool Casks] ***************************************
failed: [localhost] (item=adoptopenjdk10) => {"ansible_loop_var": "item", "changed": false, "item": "adoptopenjdk10", "msg": "Updating Homebrew...\nError: Calling brew cask install is disabled! Use brew install [--cask] instead."}
failed: [localhost] (item=packages) => {"ansible_loop_var": "item", "changed": false, "item": "packages", "msg": "Error: Calling brew cask install is disabled! Use brew install [--cask] instead."}

Isn't the ulimit here being run as a one off during the ansible session as opposed to being permanent?

@sxa it's a one-off. It seems to be set before running the tests but if it's not set correctly before creating the /cores directory we run into permission issues

Isn't the ulimit here being run as a one off during the ansible session as opposed to being permanent?

@sxa it's a one-off. It seems to be set before running the tests but if it's not set correctly before creating the /cores directory we run into permission issues

I don't understand how that can be the case - which permission issues are related to the ulimit? Can you give specifics as I'd rather not have unecessary things in there that could cause confusion (So if it really is needed the reason should be documented in a comment). We're not generating any cores in the playbook (Hopefully!) so I can't see how the ulimit would affect the creation of a directory.

Not quite sure yet what it's complaining about - ansible-lint does not object in the same way when run on my local machine.

I'm sure I ran the failing testcase earlier today on test-macstadium-macos1014-x64-1 after I changed the /cores permissions to 0774, and it succeeded with ulimit 0, I didn't change it...

just tested it again, confirmed that I don't need the ulimit command. Updating the PR


Mat buttons module not imported

What is this about?
This issue should be very easy to fix:
Buttons on the screenshot are not material, because example does not import the module.

Simple fix

Reproduce issue Slide: Locally or in prod

Find the file and add MatButton module. It think it's here:
apps/codelab/src/app/codelabs/angular/material/samples/basic/app.module.ts

Verify it does not show up in other slides where it shouldn't be (e.g. before we talk about buttons)

Fun fix
It would be cool to point the missing module to user, and ask the user to import the module, it seems like more fun and more work

I would like to work on this

Go for it


chore: make fee aggregation permissionless

Description and Motivation

This PR makes the fee aggregation permissionless on the fee collector contract.
Related Issues

Checklist:

[x] I have read Migaloo's contribution guidelines.
[x] My pull request has a sound title and description (not something vague like Update index.md)
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation.
[x] The code is formatted properly cargo fmt --all --.
[x] Clippy doesn't report any issues cargo clippy -- -D warnings.
[x] I have regenerated the schemas if needed cargo schema.

Will be fixing tests soon.


Competencies page should display previous reflections and link to reflection assessments.

Expected behaviour
On the competencies page user should see a table of previous reflections. See ticket #377  .
There should be a button directing users to Competency Reflections /questionnaires/categories
Actual behaviour
Competencies route leads to previous feature.
Checklist

[x] This issue is linked to the appropriate project.
[x] This issue has appropriate labels.

Today I worked on:

creating CompetenciesView component.
adding a button to the componeent with "Competency Reflections" label which will be linked to the assessment categories page.
preparing a placeholder of a route in App.tsx  for routing to the assessment categories page.

What needs to be done:
[ ] Create a table of previous reflections. (It will be handled within #377. Once #377 is closed, I will merge the branch to this issue branch.)
[ ] Add a route to the assessment categories page. (After /questionnaires/categories route is created by #375, I will do this.)

i believe a route to Competency Reflections /questionnaires/categories is changed to /competency according to this on discord.

I believe a route to Competency Reflections /questionnaires/categories is changed to /competency according to this (https://discord.com/channels/954138293765812264/967098504046592010/989612253672255528) on discord.

We can also include all 5 category buttons on the /competency route and wouldn't have to worry about that middle step of /questionnaires/categories .

After today's discussion, the route will be /questionnaires/categories.


Inital timeline+Work on the Migration from projects to /work

Docker build is fixed but is increased in the time it takes???? Not sure why

This would solve #60 and #44 However #44 Needs to be finished before this can be merged

This would solve #60 and #44 However #44 Needs to be finished before this can be merged

This also adds one thing too #59 /blog/dmo

Here is a conformation that the site builds the new content
Browser metadata
Path:      /blog/dmo/
Browser:   Firefox 115.0 on Windows 10
Viewport:  1920 x 967 @1x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved


[Task]

Description
support http sd protocol to auto monitoring instance
refer:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config
https://prometheus.io/docs/prometheus/latest/http_sd/
https://gitee.com/dromara/RuoYi-Cloud-Plus/blob/2.X/ruoyi-visual/ruoyi-monitor/src/main/java/org/dromara/modules/monitor/controller/PrometheusController.java
Task List

[ ] support http sd protocol to auto monitoring instance
[ ] relate use document

I'd like to help!

#1618

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

#1618


fix: default readiness endpoint

:bug: fix: default readiness endpoint

This bug is not expressed, because the correct values are currently read from template manifests rather than static defaults, but once that bug/decision is changed per #1281; this incorrect default would have manifested in incorrect initial functions.

/lgtm


Shift form submission from Netlify Forms to Firebase

Currently, the form data is accepted by Netlify forms
Netlify forms can't be used as our website is using node as backend
we want to save it to Firebase DB

Not needed now

Not needed now


Account Settings - Arrow visibility

Ux suggestion: Should the arrows be a little more prominent? Maybe a little bigger and in black color? I'm sure older people would have to squint to see it.

Verified this issue on dev app v1.9.5(330)

they seem fine here
https://xd.adobe.com/view/586337d9-4b1f-4d3b-9431-d48711ef8697-0d30/screen/fa994876-936a-4324-9cea-a582c39e759a/


Introduce namespace concept

Description
Some of the resources created by the topic / reservation manager use a prefix, which allows us to "namespace" these resources. The problem with this approach is that when metrics are produced for the prefixed resources, it make it increasingly more difficult to group by name when they are namespaces with a prefix.
Instead of using the prefixed names in the metrics, it would be better if a "namespace" dimension was used to help group the same resource names.

@marclop the goal of this task is to remove  the namespace from a metric name and instead set it as dimension on the metric document, right?
Is it clear how the prefix can be identified?

Correct that's the overall goal. The specifics are a bit unclear at the moment, but we'll probably need to surface it as a field in the configuration structs and propagate it down to the metrics.


line 2 : "intractable to simulate on quantum computers" -> intractable to simulate on classical computers

[Enter feedback here]

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

ID: 778bb870-f8c3-348f-245e-d7a5f385d8f9
Version Independent ID: 1b6a2026-3d7b-8a84-971d-4fb2242a84b6
Content: Introduction to the Quantum Chemistry Library - Azure Quantum
Content Source: articles/user-guide/libraries/chemistry/index.md
Service: azure-quantum
Sub-service: qsharp-guide
GitHub Login: @QuantumWriter
Microsoft Alias: ageller

Good catch! Thanks!


Only track user interactions with a name

Stop tracking user interaction that are not label, this happens when the target element has not attributes, for instance the document.

Codecov Report

Merging #100 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   96.23%   96.23%
=======================================
  Files          26       26
  Lines         637      637
  Branches       80       80
=======================================
  Hits          613      613
  Misses         24       24

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 60e7d71...46c96de. Read the comment docs.


Document how to authenticate with an app

I was excited when Ruben announced that we can start testing our apps, but I've been tinkering with it and I didn't manage to get authentication working :(.
I am using the @inrupt/solid-client-authn-browser package in my app, and I've searched this repo for hints on what to do. If anything, I found indications that authentication isn't implemented yet. Looking at the authentication epic, most of the issues are still open.
I managed to create a POD looking at the POD Creation integration tests, but that's as far as I got. When I try to log in with my application, it's calling a .well-known/openid-configuration endpoint that doesn't seem to exist in this repo.
It's worth mentioning that I have no idea what DPoP is, I was hoping to delegate that to a package and focus on building my app (like I did with solid-auth-client). My app is currently working with NSS and ESS, so there must be something I'm missing here.

We have implemented authenticated requests (#358), so a client can identify themselves to the (resource) server and be granted or denied access based on WebACL authorization.
The implementation of an identity provider, which is what you are referring to above, is under development (#423).
So the current server can accept authenticated request (with tokens created from an identity provider), but cannot yet generate the tokens clients need to make authenticated requests to itself or other servers (since it is not yet an identity provider).

Ok I see, in that case I don't understand what I'm supposed to do with @inrupt/solid-client-authn-browser.
For now, I guess it's enough to test my app without using any authentication library against a server configured with AllowEverythingAuthorizer (similar to this config file).

what I'm supposed to do with @inrupt/solid-client-authn-browser.

You can log in to an identity provider, and then this library will authenticate any requests made to CSS, such that CSS can rely on your identity.
An example scenario is described here: https://github.com/solid/community-server-demos/blob/main/solid-world-2020-dec/steps.md I am going through those steps in this video: https://vimeo.com/487088029 The demonstrated app uses the authentication library: https://github.com/RubenVerborgh/solid-patch-tool/blob/main/main.js

That's great, thank you I'll take a look.
I think you should add a link to solid/community-server-demos in the readme of this project :).

@RubenVerborgh I have yet another question, I hope you don't mind me asking :) I also think it could be useful for other app developers who end up reading this.
I've looked at the sample apps you mentioned, and I think now I understand what's going on. I have recently become familiar with the identity provider / pod provider distinction, because I had been using node-solid-server and it fulfils both roles. For example, looking at solid community, my webId is https://noeldemartin.solidcommunity.net/profile/card#me and my data is stored under https://noeldemartin.solidcommunity.net/*. So it is the same domain and, as a user, it's easy for me to understand that I need to login using noeldemartin.solidcommunity.net when asked for a url.
In the current status of CSS (which I know is in beta! I'm just trying to understand what's going), the identity provider is not implemented yet. So an app needs to know two things: the identity provider to obtain an authorization token (broker.demo-ess.inrupt.com in your example) and the pod provider (localhost or wherever CSS is deployed). So an app that supports this workflow needs to ask users for a url two times: first the identity provider (which is hard-coded in your example, but I suppose that wouldn't happen in a real application) and then the pod provider to read/store data.
Assuming I understood all that correctly, my question is: How does this look once CSS is production ready? (or any server for that matter). I think it's already difficult for users to understand what url they need to use when logging in, if my app has to ask two urls instead of one, that increases the barrier of entry even more. Is there something in the Solid spec, or even done in practice, to avoid that? For example, having the identity provider return the user's preferred pod provider or something. What comes to mind from the apps I've build is reading the pim:storage from the user's profile, but in this example I see it's actually pointing to something else (ldp.demo-ess.inrupt.com). Is it just a workaround until CSS is production ready, or shouldn't my apps be relying on pim:storage in the first place?

Assuming I understood all that correctly, my question is: How does this look once CSS is production ready?

That would be a lookup via solid:oidcIssuer (but @matthieubosquet is working on another suggestion).
You can see what this looks like in my profile at https://ruben.verborgh.org/profile/#me, where I indicate my identity provider and storage location (indeed via pim:storage).


OOP school library: refactor your code

Maked sure YAGNI, KISS, and DRY rules and Ruby style guide are respected.
Followed SOLID principles.
Paid special attention to the "Single-responsibility Principle".
Ensured that the role of main.rb is only to start your code and ask the user for the initial choice of options (or to quit).
Extracted some pieces of logic into separate class.

Thank you! Project merged 🎉


Cache templates

Description of the Change
This refactors cache steps into a template.
Verification Process
Ran CI with these changes.
Release Notes
N/A

I think the template is OS-aware without the windows|macos|linux parameters, due to the "$(Agent.OS)" part.
I think we can actually factor the parameters out/delete them.

Agent.OS gives different strings such as Window_NT depending on the agent that is being used. Here , we want the exact windows string.


chore: Split related to custom js libs for module instances

ApplicationDetail DTO split for extension.
Custom JS libs methods modified for extensibility.

Summary by CodeRabbit

New Features

Enhanced search capabilities within the application.
Improved JavaScript library management and visibility for applications.

Improvements

Streamlined the process of adding JavaScript libraries to application contexts.
Extended application detail inheritance for better code reuse and organization.

Bug Fixes

Adjusted method calls to align with updated JavaScript library management functions.

Refactor

Renamed methods to more accurately reflect their functionality.
Refactored methods to handle sets of items, improving efficiency and scalability.

Documentation

Updated method documentation to match new signatures and behaviors.

/ok-to-test


Add user_id property to client

Pull request summary

Exposes the user_id associated with the token. This is useful as a unique identifier in applications where we only want a single instance configurable by the user.
Checklist

[x] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.
[x] I have updated the changelog with a quick recap of my changes.

[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Missing changelog and documentation updates, otherwise looks good

Sure, no problem. I do have other PRs I want to propose before a version bump. So I will update changelog without a version heading for now.

You can just leave the header as Master, Development etc

You can just leave the header as Master, Development etc

I don't see nick referenced in the docs except for the examples so I'm not sure of user_id should be disclosed anywhere else.


Support Spark bit_count and bit_get functions

Support Spark bit_count and bit_get functions.
Fixed: #5011

Hi @mbasmanova @bikramSingh91 would you help take a look?

Hi @bikramSingh91 would you help review this PR? Thanks!

Hi @mbasmanova , could you help find a member from your side who can review this PR? thanks!

@mbasmanova Thanks for your reviewing!
Updates:
1, use bits::countBits to replace std::bitset.
2, fix docs and add more negative UTs for bit_get

@mbasmanova Thanks for your more helpful comments.
Updates:

Fix docs for input arguments type support and return value type.
Use VELOX_ASSERT_THROW instead of EXPECT_THROW, and refine error message.


Abnormal stop

Pull the recent commits (it was fixed with https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3.5/commit/6462763db550994ca6e0955cf3233173d905855e)

@morpheusthewhite Thanks for the PR. Merged to master

Thank You ，Ｉ have solved the problem


pixelfed: view account menu item takes a long time to show up

should be fixed with rewritten startup code


The attribute "selected" is unfortunately named

It clashes with the standard attribute "selected", and some tools (htmlmin for instance) does some harmful transformations on such attributes (selected="value" => selected). There are workarounds though.

@dlarsson - What attribute on what component?

DataTableDirective, the "selected" attribute. I'm guessing this attribute is propagated to subcomponents as well (?).

I do not see a selected attribute in MDN. https://developer.mozilla.org/en-US/search?q=selected
Can you reference where you see this?

Oh right. Well,  has a "selected" attribute, for instance: http://www.w3schools.com/tags/att_option_selected.asp

Is this actually causing a conflict?

Only indirectly. We're running grunt-contrib-htmlmin on our HTML files, and it (optionally) modifies boolean flags such as "selected" from 'selected="...."' to 'selected', i.e. it removes the attribute value. You could very well argue that this tool is doing the wrong thing, as it doesn't distinguish the HTML standard attribute "selected" from yours, plus there are work arounds (don't enable this option). There might be other issues with reusing a standard attribute name as well, I don't know. I wouldn't say this is a serious problem, but it is at least a bit unfortunate, and may cause some people some headache trying to figure out why selection doesn't seem to update the passed in scope variable.


unsupported type: ptr

As described in https://github.com/mitchellh/copystructure/issues/2, I'm seeing this issue when using copystructure on Go 1.7:
panic: unsupported type: ptr [recovered]
	panic: unsupported type: ptr

goroutine 3050 [running]:
panic(0x421e40, 0xc420436580)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
testing.tRunner.func1(0xc4204386c0)
	/usr/local/go/src/testing/testing.go:579 +0x25d
panic(0x421e40, 0xc420436580)
	/usr/local/go/src/runtime/panic.go:458 +0x243
github.com/mitchellh/reflectwalk.walk(0x454020, 0xc420336988, 0x94, 0x4b7dc0, 0xc42049a000, 0x0, 0x0)
	/Users/bgentry/myproject/vendor/src/github.com/mitchellh/reflectwalk/reflectwalk.go:129 +0x251
github.com/mitchellh/reflectwalk.walkStruct(0x471ce0, 0xc420336980, 0x99, 0x4b7dc0, 0xc42049a000, 0x0, 0x8120d0)
	/Users/bgentry/myproject/vendor/src/github.com/mitchellh/reflectwalk/reflectwalk.go:264 +0x3ad
github.com/mitchellh/reflectwalk.walk(0x471ce0, 0xc420336980, 0x99, 0x4b7dc0, 0xc42049a000, 0x0, 0x0)
	/Users/bgentry/myproject/vendor/src/github.com/mitchellh/reflectwalk/reflectwalk.go:126 +0x311
github.com/mitchellh/reflectwalk.Walk(0x471ce0, 0xc420336980, 0x4b7dc0, 0xc42049a000, 0x471ce0, 0xc420336980)
	/Users/bgentry/myproject/vendor/src/github.com/mitchellh/reflectwalk/reflectwalk.go:70 +0x155
github.com/mitchellh/copystructure.Copy(0x471ce0, 0xc420336980, 0xc420336980, 0x471ce0, 0xc420336980, 0x1)
	/Users/bgentry/myproject/vendor/src/github.com/mitchellh/copystructure/copystructure.go:12 +0x64

If I add reflect.Ptr to the case statement on reflectwalk.go line 116:
	case reflect.Bool, reflect.Chan, reflect.Func, reflect.Int, reflect.String, reflect.Invalid, reflect.Ptr:

then everything seems to work fine.

actually, j/k, that doesn't fix it at all. The type of struct I'm trying to use this on comes from GRPC protobuf generation. It contains several levels of nested pointers, one of which is fulfilling an unexported interface (due to a protobuf oneof type).
I did try this other package and it seems to handle a deep copy on my struct with no issues: https://github.com/mohae/utilitybelt/blob/master/deepcopy/deepcopy.go

Fixed by #9


Model Creation Error

I am trying to test the scanner integration with the most recent updated code.  But when I try to create the model, I get the following error:
forseti inventory create
forseti model create inventory --id 82 henry4ccc

ERROR:root:Exception calling application: (_mysql_exceptions.DataError) (1406, "Data too long for column 'warnings' at row 1") [SQL: u'UPDATE model SET state=%s, message=%s, warnings=%s WHERE model.name = %s'] [parameters: ('PARTIAL_SUCCESS', 1656, 'Role missing permissions: roles/containeranalysis.notes.attacher\nRole missing permissions: roles/resourcemanager.organizationCreator\nRole reference ... (216651 characters truncated) ... projects/stable-device-182522?fields=name&alt=json returned "Required \'compute.projects.get\' permission for \'projects/stable-device-182522\'">\n\n', 'henry4ccc')]
Traceback (most recent call last):
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/grpc/_server.py", line 390, in _call_behavior
    return behavior(argument, context), True
  File "/usr/local/google/home/henryc/git/forseti-security/google/cloud/forseti/services/model/service.py", line 56, in CreateModel
    request.background)
  File "/usr/local/google/home/henryc/git/forseti-security/google/cloud/forseti/services/model/modeller.py", line 54, in CreateModel
    doImport()
  File "/usr/local/google/home/henryc/git/forseti-security/google/cloud/forseti/services/model/modeller.py", line 49, in doImport
    import_runner.run()
  File "/usr/local/google/home/henryc/git/forseti-security/google/cloud/forseti/services/model/importer/importer.py", line 205, in run
    self.session.commit()
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 906, in commit
    self.transaction.commit()
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 461, in commit
    self._prepare_impl()
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 441, in _prepare_impl
    self.session.flush()
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2171, in flush
    self._flush(objects)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2291, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2255, in _flush
    flush_context.execute()
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 389, in execute
    rec.execute(self)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 548, in execute
    uow
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 177, in save_obj
    mapper, table, update)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 737, in _emit_update_statements
    execute(statement, multiparams)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 945, in execute
    return meth(self, multiparams, params)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 263, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1053, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context
    context)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception
    exc_info
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/usr/local/google/home/henryc/.virtualenvs/forseti-security/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
  File "build/bdist.linux-x86_64/egg/MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
  File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
DataError: (_mysql_exceptions.DataError) (1406, "Data too long for column 'warnings' at row 1") [SQL: u'UPDATE model SET state=%s, message=%s, warnings=%s WHERE model.name = %s'] [parameters: ('PARTIAL_SUCCESS', 1656, 'Role missing permissions: roles/containeranalysis.notes.attacher\nRole missing permissions: roles/resourcemanager.organizationCreator\nRole reference ... (216651 characters truncated) ... projects/stable-device-182522?fields=name&alt=json returned "Required \'compute.projects.get\' permission for \'projects/stable-device-182522\'">\n\n', 'henry4ccc')]```

@ahoying, can you please take a first look at this?  If this is something for felix/jiyun, can you please take a look?

I located the bug which is super weird. https://github.com/GoogleCloudPlatform/forseti-security/blob/5eef92d9d1481467bdb3b50f1d078f564211347a/google/cloud/forseti/services/dao.py#L1585
item.warning_store is not empty when created.
itemx = Model() will also create a new object warning_store is from previous import.
The initialization of warning_store in Model is unstable.

The last bit of the warning message states that the compute.projects.get permission is missing, which means the service account doesn't have the compute.networkViewer role assigned. Can you verify the IAM bindings for the service account on the organization level?

+------------------+
| length(warnings) |
+------------------+
|            15163 |
|            15592 |
|            15163 |
|            30586 |
|            15422 |
|            30845 |
|            15422 |
|            30845 |
|            15422 |
|            15422 |
|            30845 |
|            15422 |
|             NULL |
|            15422 |
|            30845 |
|             NULL |
|            15422 |
|            30845 |
+------------------+
I will take a look on the permission and role. But as you can see, when model import from inventory, the warnings do

The inventory warnings are added to the model warnings here:
https://github.com/GoogleCloudPlatform/forseti-security/blob/2.0-dev/google/cloud/forseti/services/model/importer/importer.py#L202
Is that what you are referencing?


New version BitFloats: 0.0.2

Registering: BitFloats
Repository: https://github.com/rfourquet/BitFloats.jl
Version: v0.0.2
Commit: 05f2675e451c9891003614620182efab7b662146
Proposed by: @rfourquet
Reviewed by: @rfourquet
Reference: https://github.com/rfourquet/BitFloats.jl/commit/05f2675e451c9891003614620182efab7b662146#commitcomment-33476404

Consider using
[compat]
julia = "1.1"

instead.

Thanks for the tip! I just left what "gen_project.jl" generated without a second thought.


Remove old code that should have been removed with prior changes

Looks OK. Would be nice to add a Test to FateCommandTest for fate print.

Which prior changes should these have been associated with? Can you mention the commit or issue/PR number in the body of this commit log when you merge?

Yeah, sorry, will do. I was putting something up quickly for Mike, he ran into an issue while testing.

I did think of one thing. You could use assertThrows() to catch the exceptions, when they are thrown.

You could use assertThrows() to catch the exceptions, when they are thrown.

I'm not following - I'm not catching any exceptions in the test. There is some error information printed to output, but no error is thrown.


Infinite carousel

Would it be possible to have an infinite carousel? So that when you're on the last slide and you click the next button, you go back to the first slide.

Duplicate of #41.
Sorry, but currently it's not possible. I'm planning such a feature for the 2.0 release though.

Is there any updates on this feature?

Hello,
I'm interesting in this feature too. any news about ?
Thanks


[Enhancement] Print datasize column in human readable format in show tablet statement

Enhancement
print datasize in human readable format  e.g. 1K 234M 2G

Good advice.
Could you submit a PR to improve it?

Good advice. Could you submit a PR to improve it?

ok, I'll submit a PR


Simplifying the ShowMeThisModel Scene + Finalizing Motion Planning Scene

Summary of Changes

Simplified How cast_scene_and_build works for all scenes so that we can more easily use scene
Introduced an RRT Module that Feeds Plans to the Basic MotionPlanningScene
Increased the number of triggers for computing code coverage
Made sure to close figures after saving them with the DiagramWatcher
Modified How Role objects are defined to include a list of port assignments (don't need separate places for outputs and inputs anymore)
Introduced Cupboard Object for Motion Planning Examples

Codecov Report
Attention: Patch coverage is 68.60902% with 167 lines in your changes missing coverage. Please review.

Project coverage is 84.43%. Comparing base (28c7bbe) to head (13552ef).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

...ke/motion_planning/systems/prototypical_planner.py
0.00%
80 Missing :warning:

...rc/brom_drake/scenes/roles/role_port_assignment.py
63.73%
33 Missing :warning:

...brom_drake/scenes/motion_planning/offline/shelf.py
75.00%
17 Missing :warning:

...brom_drake/scenes/types/motion_planning/offline.py
59.45%
15 Missing :warning:

.../brom_drake/motion_planning/algorithms/rrt/base.py
92.59%
6 Missing :warning:

...m_drake/scenes/debug/show_me/show_me_this_model.py
81.81%
4 Missing :warning:

...rake/motion_planning/systems/rrt_plan_generator.py
96.05%
3 Missing :warning:

...rc/brom_drake/control/arms/joint_arm_controller.py
0.00%
2 Missing :warning:

...drake/motion_planning/algorithms/motion_planner.py
90.00%
2 Missing :warning:

src/brom_drake/scenes/types/base.py
75.00%
2 Missing :warning:

... and 2 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   79.15%   84.43%   +5.27%
==========================================
  Files          41       64      +23
  Lines        1166     2095     +929
==========================================
+ Hits          923     1769     +846
- Misses        243      326      +83

Flag
Coverage Δ

?

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

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


[Bug]: 'NoneType' object has no attribute 'compute_score'

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
524699da7d9b7b7c607b6f76cafb03b57528fdd6
Other environment information
AWS EC2
Ubuntu 24.04 LTS
4 vCPUs
16GB RAM

Actual behavior
Using the Agent template HR recruitment pitch assistant, I'm getting the response > 'NoneType' object has no attribute 'compute_score'.
The model is gpt-4o.
I have a 9 page PDF document uploaded to the knowledge base and the settings are in the attached image below.

Expected behavior
Should respond based on the knowledge base.
Steps to reproduce
1. Setup system models using OpenAI gpt-4o.
2. Create agent from template HR recruitment pitch assistant
3. Chat.

Additional information
No response

It seems you have configured rerank model for retrieval, and what rerank model did you use?

It seems you have configured rerank model for retrieval, and what rerank model did you use?

 I actually need to click on the x icon to remove the default rerank model. I thought it was disabled cause it'
s in gray.