[Connection Issue]: Alexa is working, GH not

Version
3.0.0-alpha.55
Matter Controller
Google Home
Things you tried
Hello,
the addon works great with Amazon Alexa, but after Binding a new Bridge to GH all devices are marked as offline...
May be it is a Bug or is the mistake on my Site?!
Thanks for your Work on this great addon!!!
Relevant log output
.

What deployment method do you use?
Home Assistant AddOn
Did you already check the following?

[ ] Does your network include any VLAN setup?
[ ] Do you have any special firewall rules / services in place?
[ ] Is IPv6 enabled in your LOCAL network?
[ ] If you are using the docker deployment: Is IPv6 enabled within your docker daemon config?
[ ] If you are using the docker deployment: Do you run the container with host network?

Documentation & Issues

[X] I have reviewed the documentation and the linked troubleshooting guide.
[X] I have searched the issues for a similar problem.

You didn’t checked the IPv6 checkbox. Does it mean that ipv6 is deactivated in your local network?
This is required for GH to see services as online and to control them

You didn’t checked the IPv6 checkbox. Does it mean that ipv6 is deactivated in your local network? This is required for GH to see services as online and to control them

Hello,
Ipv6 is enabled in the local Network...
Thx for further help

Can you describe your setup a bit?
How are you running HA? Physical Server (e.g. raspberry) or virtual machine (e.g. proxmox)?
Do you have any special network setup in place? VLANs / Subnets? Is GH in the SAME VLAN/subnet?
 Please verify with ping6 from another machine in the same subnet/vlan.
Do you have any related addons running on the same HA instance? E.g. the official matter addon, or the old matterbridge addon?

special network setup

Hello,
i am running HA on a virtual machine with proxmox, ip 6 is in my router enabled and working fine, i checked this several times
i use the official matter addon from HA, no special addons or the old matterbridge...
Alexa is working very fine, only at GH all devices are marked as offline :/

491eb00d_hamh_2024-12-18T15-05-47.733Z.log
maybe it helps to find the problem?
i deleted the binding to GH and did the setup again... this is the log after adding the bridge to GH

hello, i am very stupid i think...
i had no google hardware at my home network for example an google home mini...
after buying a google home mini i set it up in my local network and then directly google home worked, all devices are online over the matterhub...
sorry for opening the issue...
thx


Modified paths to work with Windows

Resolves #106
Changing paths such as "C:\users..." to "/c/users..."  This resolves the problem of "docker: Error response from daemon: invalid mode: /build." when run from Windows cmd prompt

I want to agree with you but see:
https://github.com/rawtxapp/rawtxapp/issues/5#issuecomment-403309739
and
https://github.com/rawtxapp/rawtxapp/issues/5#issuecomment-403275408


Update Sample App

Update sample app and readme instructions to use awsconfiguration.json generated using amplify cli

Add a basic UI test for the S3TransferUtilitySampleSwift

Are we giving an error message if amplify / awsconfiguration is not setup correctly?


[Feature]: Add EIP6963 Support

Is your request related to a problem?
Hello,
I hope this message finds you well. I'm interested in DApp developing and I see that EIP-6963 could significantly benefit the project by solving unfair competition for Wallet Providers and lack of interoperability.
Could you please confirm whether there are plans to integrate EIP-6963 into the project? If yes, is there a rough timeline for when this feature might be available?
Understanding your stance on this would greatly aid in planning my development efforts.
Thank you for your time and your contributions to this project. Looking forward to your response.
Best regards
Feature Description
support EIP6963 which supports discovering multiple injected Wallet Providers in a web page without window.ethereum
Alternative Solutions
No response
Anything else?
No response

@lzg0321 thank you for opeing this feature request. Implementing 6963 is on the roadmap but currently our team is spread thin so we dont have an exact date we can begin implementing this functionality. I will raise this with our product team and keep you update on a timeline.

Any updates on this? 🙂

This is available with the latest version of @web3-onboard/injected
Please feel free to let us know if there are any other issues!


Fixes FieldDoesNotExist

Copied from https://github.com/javrasya/django-river/issues/38#issuecomment-276683457

@javrasya here's the pull request i mentioned

Coverage remained the same at 88.551% when pulling bd26cf126c56027cf154dfe747bc0a5cfc555e09 on psychok7:fix_riverexception into 9b53a4af938f5b843c5a4d8a536856cb2ab51b27 on javrasya:master.

A test is broken. I fixed it, can you please rebase from master @psychok7, then we can merge your PR.

@javrasya done

Coverage remained the same at 88.551% when pulling c8032f27c379d0a81460f0ea1c9f8b1ae2144f6a on psychok7:fix_riverexception into c46d72299126564f83750040c130a5dc9cd91c06 on javrasya:master.

Coverage remained the same at 88.551% when pulling c8032f27c379d0a81460f0ea1c9f8b1ae2144f6a on psychok7:fix_riverexception into c46d72299126564f83750040c130a5dc9cd91c06 on javrasya:master.


Render input bugfix

Closes https://github.com/rwjblue/ember-qunit-codemod/issues/38
updateEmberTestHelperImports wasn't constrainied to testExpressions when invoking findTestHelperUsageOf like all the other usages were, so I mimicked the logic.

superseded by https://github.com/rwjblue/ember-qunit-codemod/pull/50


test-branch/execute-job/quoted-authorization/4724a54b-e632-466d-bb63-3c3874265be0

PR for testing cf75d28238b080c5f39b9de65ee6b5a8e1b642a2

/canonical/self-hosted-runners/run-workflows cf75d28238b080c5f39b9de65ee6b5a8e1b642a2


[BUG] User is able to enter more than 1 space in a row on the name input stage of the Sign-up via passwordless

Steps to reproduce:

Open https://goodqa.netlify.app/
Click on the Sign-up button
Click on the "Don't have a social account? Try this" button
Complete the Phone number verification via the Passwordless method
Enter the name in the input field on the sign-up page
Enter more than 1 space in a row before/after the name
Pay attention to the entered spaces in the input field

Expected result: It shouldn't be possible to enter more than 1 space in a row before/after the name in the name input field on the Sign-up page
Actual result: User is able to enter more than 1 space in a row on the name input stage of the Sign-up via passwordless
Environment: QA 1.18.0-0
Devices list: Desktop // Windows 10 // Chrome v.87.0.4280.88
Additional info:  after creating of wallet user's name is shifted due to many spaces
Attachment:
https://www.dropbox.com/s/nflr938hm5iegn4/There is no validation of input space as first symbol.mp4?dl=0

@omerzam The issue is reproduced when the user enters the spaces after the name and after creating of wallet user's name is shifted due to many spaces.
Checked on the QA 1.21.0-0
Devices Desktop // Windows 10 // Chrome v.87.0.4280.88
Video: https://www.dropbox.com/s/fnjvm8wv7lww6my/The space after the name in the input field.mp4?dl=0

@omerzam The issue is reproduced when the user enters the spaces after the name and after creating of wallet user's name is shifted due to many spaces.
Checked on the QA 1.21.0-0
Devices Desktop // Windows 10 // Chrome v.87.0.4280.88
Video: https://www.dropbox.com/s/fnjvm8wv7lww6my/The space after the name in the input field.mp4?dl=0

@sirpy @omerzam The issue is not reproduced.
Checked on the  QA 1.21.0-1
Devices list: Desktop // Windows 10 // Chrome v.87.0.4280.88

@sirpy @omerzam The issue is not reproduced.
Checked on the  QA 1.21.0-1
Devices list: Desktop // Windows 10 // Chrome v.87.0.4280.88


xgb.XGBClassifier and xgb.train give very different results

I have found that xgb.XGBClassifier fit and predict, and xgb.train + xgb.predict are giving hugely different answers.
I started off by using xgb.train + predict to get a quick look at how my data set trains. Things went well with a auc of 0.8 when comparing the prediction of the training y to the predicted yhat.
I then used the xgb.XGBClassifier, entered all of the same parameters and got back a score of 0.51 for auc on the y vs yhat. I then check all of the docs I can find on the sklearn parameters and the xgb parameters and double check and retrain the sklearn. Still it gives back a bad score of 0.51.
What is going on here? I understand that this is very likely a user error, but I exhausted all scenarios that I can think of. What information can I provide to help diagnose this issue?

Can you provide a minimal code example?

I can give code, however I think I know what the problem was. xgb.train(objective='binary:logistic'),predict() is equivalent to xgb.XGBClassifier().predict_probab(). Is this correct? I was using  xgb.XGBClassifier().predict() for my comparison of the two models and so my auc score was very different. I have changed to using .predict_probab and seems to be the same auc now. I think this issue could be marked as resolved.

@JoshuaC3, you are correct that XGBClassifier().predict_proba() is the same as the Booster.predict() when using 'binary:logistic' objective.  However, I believe that XGBClassifier().predict_proba() will give you an array of 2n_samples in a binary problem (with the first column in the array being the probability of 0 class and the second being the probability of 1 class).  Booster.predict() will give you a 1n_samples vector where it is just the probability of the 1 class.
You should be able to close this issue if you comment below.


[RFC] Embedding function serde proposal

Ideally, we'd like to be able to persist the embedding function along with the lancedb table so that users don't need to manually go through the embedding step.
Pickle is only a reference. Cloudpickle is not for persistent storage. TorchScript/ONNX tend to be very heavy-weight.
Instead, the proposal is that we:

encode each embedding function as a pydantic model
there will be a registry of embedding functions
the pydantic model will be serialized as schema metadata (json)
the registry will be used to load the model back when reading

See this gist for a rough sample implementation:
https://gist.github.com/changhiskhan/baf787c0a0ca3b1556a20430c3c513f8

one thing to note in the gist is that the function is only mapped to a single column (the source), which means here we don't really know what's the designation vector column. So probably the metadata schema here needs some tweaking

Marking this completed as we have an initial version implemented.


Music system is modified

Issue No - #155
I have made the music system responsive and every functionalities are working properly.

@SO1ee  Thank you for your contribution. Looking forward to more such amazing contributions 🥂


[Feature Request]: Separate llama_index.llms.huggingface integration into two integrations for local inference vs lightweight API wrapper.

Feature Description
llama-index-llms-hugginface currently implementes both a HuggingFaceLLM based on local inference using transformers (with heavy dependencies like torch, and HuggingFaceInferenceAPI which can be used both locally, but also as lightweight API-wrapper around huggingface-hub[inference] to access remotely hosted text-generation endpoints.
(Source file: https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/llms/llama-index-llms-huggingface/llama_index/llms/huggingface/base.py)
However, the latter lightweight wrapper cannot be imported without installing the dependencies for the former.
Reason
Using the lightweight HuggingFaceInferenceAPI wrapper from llama_index.llms.huggingface currently pulls in excessive dependencies like transformers, torch, and cuda which are not required at runtime.
Value of Feature
HugginfFaceInferenceAPI is usable with URL endpoints with only minimal lightweight dependencies (hugginface-hub[inferece]). This will be extremely valuable for many users who want to access existing URL endpoints without installing expensive and unnecessary dependencies on the client.

FWIW, we got a standalone implementation of HuggingFaceInferenceAPI working in my project by modifying the source file above. I would be willing to work on a PR, but I don't know quite where to start about changing existing integration packages, and whether that would be desired by the core team.


fallback function not working as expected

Describe the bug
I made a custom mapping for '.' that completes the selection and (in theory) inserts a '.' after the completion entry. However the '.' does not appear when completing an entry, only when the menu is not visible.
Minimal config based on this
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true }),
    ['.'] = function(fallback)
		if cmp.visible() then
			cmp.confirm({select = true, behavior = cmp.ConfirmBehavior.Insert})
		end
		fallback()
	end,
  },

  sources = {
    { name = "nvim_lsp" },
    { name = "buffer" },
  },
}
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())

require'lspconfig'.cssls.setup {
  capabilities = capabilities,
}
EOF

To Reproduce

trigger the completion menu
type '.'
item gets completed but no '.' gets inserted

Expected behavior
'.' gets inserted
Additional context

    ['.'] = function(fallback)
      if cmp.visible() then
        cmp.confirm({select = true, behavior = cmp.ConfirmBehavior.Insert}, fallback)
      else
        fallback()
      end
    end,

Please try the above example.

The cmp.confirm is asynchronous so you should call fallback after confirmation has done.

Working now, thank you  🙏


Editing an instance on a target in controller WebUI shuts down instance, but shows it as running

Bug Report
System Information

Operating System (Including distribution name and version number) Ubuntu 20.04.5 LTS
AMP version and build date (Always use the version number, 'latest' is not valid!) <IP_ADDRESS> Bleeding - CI Build Date 22/11/2022 21:32
Which AMP release stream you're using (Mainline, Nightly or FastTrack)  Bleeding - CI Build Date 22/11/2022 21:32

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do? Edit an instance (ie. Change Docker Container RAM allocation)
What are you expecting to happen? After editing, instance should shut down and show as being offline within the WebUI
What is actually happening? ('Nothing' is not an acceptable answer!) After editing, instance shuts down but shows as online in the WebUI - instance correctly shows as offline in the target WebUI

Reproduction

Login to Controller
Deploy instance
Edit Instance (Right Click > Edit)
Change any parameter requiring instance shutdown (ie. Container RAM allowance)
Click save
See Instance shut down, and show offline for a split second
See Instance shows as "Online" even after manual refresh
Double click on instance, see the error message saying the instance is offline

This seems to be an issue when not using the controller for shutdown commands as well, where the controller seems to lose track of whats running and whats not.

This isn't an issue as of 2.5 and the streaming status.


[GH-#111] After adding a peer add his peers

closes #111

Hmm... I didn't know about this issue. This conflicts with my work on #115.

I suggest, I will try to propose an overall solution to peer sync this evening.

Yeah maybe it is conflicting, but we need both issues solved. Could you integrate these changes in your work?

@thepiwo I will try to do that this evening, but at the moment I think this PR conflicts with my design choices. I will try to think how to make everything work this evening and probably I will propose some solution.

After analysing possibilities I took the test fix and max_peers limit from this code. Sadly most of this code conflicts with peer sync design I would like to introduce with #123. Sorry for not realizing the conflict earlier!

@cytadela8 so we merge this, prior to #123?

@thepiwo We ignore this. I cherry-picked one commit and rewritten max_peers.

replaced with #123


Fix modrinth pack format

Modrinth made changes to the pack format or it was never correct on our end.
This PR does the following:

change extension to mrpack
rename index.json to modrinth.index.json
add fileSize for each mod in modrinth.index.json
add sha512 hash for each mod

Will be fixed when PackDev is readded.


Add automatic cache clean-up

Hi,
I think LocalSend should add automatic cache clean-up.

In v1.6.0, this app now cleans the app on every app start when files are removed from selection. It is not optimal yet, but it should be a lot better than before.


WrappingHStack causes high CPU usage

Hi Daniel!
First of all: Thanks for your awesome work! :)
I noticed that using WrappingHStack in longer lists is quite CPU intensive (not sure if https://github.com/dkk/WrappingHStack/issues/4 already addresses my point - if so, feel free to close this issue).
Here is an example:
    var body: some View {
        ScrollView {
            ForEach(1..<300) { index in
                WrappingHStack {
                    Text("This")
                    Text("is")
                    Text("a")
                    Text("test")
                    Text("!1!!")
                }
            }
        }
    }

I checked what is causing the high CPU usage and found that the InternalWrappingHStack.init method is being called hundreds of times. Launching the app without further interaction already results in 597 calls. I made a small video that shows how a very small interaction skyrockets the number of calls:
https://user-images.githubusercontent.com/4895293/202419019-9270850a-ff0c-43ab-9c36-e568df55a288.mp4
I have no clue what's going on. I believe that GeometryReader in WrappingHStack.swift triggers these calls. However, as the video shows, the width does not change at all. Is there a possibility to react only to relevant changes to reduce the number of InternalWrappingHStack.init calls significantly?
(I had some success by moving the GeometryReader out of WrappingHStack.swift into the view that uses WrappingHStack and passing the width to WrappingHStack, but my knowledge of SwiftUI is too limited to understand what's going on with the height in WrappingHStack.swift)
Again, thanks a lot! :)

Ill try to inspect it when I can, but I didn't have much luck improving performance so far, since the View generics are very limiting

This is what happens:

WrappingHStack is called
Uses GeometryReader to know the width, which will be used to calculate which views go on which lines (initial height for the GeometryReader is 0)
After the lines are calculated, the body of InternalWrappingHStack is defined, which creates a height update.
The update calls onPreferenceUpdate on the .bounds anchor. This allows to set the right height, which in turn redraws the InternalWrappingHStack, resulting in a goto step 2. Which should be ok, since it will not create another update on the anchor because the height stays the same this time.

However, there is a problem where onPreferenceChange might get called because of rounding errors, which should be solved with the if abs(height - $0) > 1, but it is not since onPreferenceChange redraws everything even when there are no state changes, which sometimes creates an additional unnecessary cycle.
I have no solution for this problem yet, I could use a bit more cachingBut for folloup runs.
Also, in your specific case lazy loading might help, since the really bad performance you are getting is related to the fact that you load everything at once:
ScrollView {
       LazyVStack {
               ForEach(1..<300)

I also would appreciate some help from the community ;)

Hi Daniel!
Thanks for your explanation! I tried the "LazyVStack" approach, and it actually reduces the number of calls a bit (344 initial calls compared to 597 calls without LazyVStack). This ~50% reduction also seems to be the case when interacting with the list.
However, I am still hesitant to use it in production for longer lists. Would be great if someone has an idea how to optimize this further. 🙂🤞


MSL: argument buffers wrong address space when > 8192 bindings

When binding more than 8192 bindings in a descriptor-set with argument_buffers enabled, the constant address space for the argument buffer is illegal.
program_source:14:19: error: size of constant buffer cannot exceed 65536
kernel void main0(constant spvDescriptorSetBuffer0& spvDescriptorSet0 [[buffer(0)]])

A proposed solution would be to change the address space to 'device' when spirv-cross detects that the constant buffer size would exceed 65536 bytes in case of argument buffers?
GLSL
#version 460

uniform layout(rgba32f, binding = 0, set = 10) writeonly image2D myImages[8000];
uniform layout(rgba32f, binding = 1, set = 10) writeonly image2D myImages2[193];

layout(local_size_x = 32, local_size_y = 1, local_size_z = 1) in;
void main()
{
    vec4 foo = vec4(8,6,4,2);
    imageStore(myImages[1], ivec2(0, 0), foo);
    imageStore(myImages2[1], ivec2(0, 0), foo);
}

MSL:
#include <metal_stdlib>
#include <simd/simd.h>

using namespace metal;

constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(32u, 1u, 1u);

struct spvDescriptorSetBuffer0
{
    array<texture2d<float, access::write>, 8000> myImages [[id(0)]];
    array<texture2d<float, access::write>, 193> myImages2 [[id(8000)]];
};

kernel void main0(constant spvDescriptorSetBuffer0& spvDescriptorSet0 [[buffer(0)]])
{
    float4 foo = float4(8.0, 6.0, 4.0, 2.0);
    spvDescriptorSet0.myImages[1].write(foo, uint2(int2(0)));
    spvDescriptorSet0.myImages2[1].write(foo, uint2(int2(0)));
}

Cheers,

It would be quite iffy for SPIRV-Cross to perform this change automatically. Perhaps adding an option which forces an IAB to become device rather than constant would be appropriate.

Thanks for the quick reply!
An option that forces device on an IAB would work, the only downside I see to this is that this option would be global for the IABs within a kernel, which might not be ideal when having multiple IABs that contain different data eg texture arrays vs an IAB that contains only a small amount of buffers.
The device address space is important for the bindless usecase where the amount of descriptors exceeds 8K.

There would be an option to opt-in to say "set 0 is large, use device, set 1 is small, use constant", etc. But this needs to be driven by the API user. SPIRV-Cross should not hallucinate this since it will mess with pipeline layouts, etc, for things like MoltenVK, and I really don't want to add weird heuristics here.

I understand, that solution should work!
Thanks!


Rename Complete class method

Renaming method to make it easier to understand

Codecov Report

Merging #105 (0693787) into master (44c42dd) will decrease coverage by 0.36%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #105      +/-   ##
============================================
- Coverage     65.61%   65.24%   -0.37%
  Complexity      472      472
============================================
  Files            90       90
  Lines          1585     1597      +12
  Branches        170      172       +2
============================================
+ Hits           1040     1042       +2
- Misses          500      510      +10
  Partials         45       45

Impacted Files
Coverage Δ

.../main/java/seedu/address/model/order/Complete.java
31.25% <ø> (ø)

...n/java/seedu/address/storage/JsonAdaptedOrder.java
0.00% <0.00%> (ø)

...va/seedu/address/logic/commands/CommandResult.java
80.95% <0.00%> (-7.29%)
:arrow_down:

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...eedu/address/logic/commands/EditPersonCommand.java
97.01% <0.00%> (ø)

...eedu/address/logic/commands/FindPersonCommand.java
100.00% <0.00%> (ø)

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 44c42dd...0693787. Read the comment docs.


ISPN-6997 PessimisticTxPartitionAndMergeDuringRuntimeTest.testOriginatorIsolatedPartition random failures

https://issues.jboss.org/browse/ISPN-6997
https://issues.jboss.org/browse/ISPN-7960

Handle lock failures with a regular rollback command.
Don't send TxCompletionNotificationCommands from
PessimisticLockingInterceptor.
Add lock recipients to the affected nodes even in case of failure.
Send commit/rollback to all affected nodes, even if the cache
topology did not change.
Do not change protocols when the cluster changes size
Do not create a remote transaction when the originator is not a
cluster member.
Remove the originator check in TxInterceptor.

@rvansa I tried to explain what's happening in the JIRA comments. Basically UNICAST3 retransmits all messages sent to nodes from a different partition after the merge, if the cluster didn't stay split for long (https://issues.jboss.org/browse/JGRP-2194), and the ISPN-6997 commit is to make sure that if a LockControlCommand is delivered after the merge, the follow-up PrepareCommand or RollbackCommand is delivered as well.
Unfortunately, that fix breaks something else: if the split happens during commit, the originator's partition is still available when the target is suspected, so the commit is retried, and somehow it arrives on the other partition (not sure why, but it doesn't matter, it could just as well be retransmitted during the merge, and delivered before our transport is notified of the merged view). The remote node sees a new topology id, replays the modifications, and then rolls back the transaction because the originator isn't in its cluster view. The problem is that the transaction is not supposed to be rolled back in either partition, the originator is supposed to commit it after the merge instead, so the ISPN-7960 commit avoids the rollback by moving that originator check from TxInterceptor.verifyRemoteTransaction() to TransactionTable.getOrCreateTransaction().

Integrated into master, thanks @danberindei


Porting index refresh from previous release

Fixes #48

Looks good, I will do some testing of this next week.

Oh, and if can you add yourself to the contributors list in CONTRIBUTORS.rst, and add a change note in CHANGES.rst that would be great!

Changed the name of this merge requeste, since "backporting" means the exact opposite of what I meant XD
Should be good now 👍🏻

Any update

@regebro If there is no issue with the merge request, then can we merge it?

No, the only issue is time for me to test it.


Reception - remove kitchen when closed

Pull request link to the issue: #135.

Codecov Report

Merging #136 (fad9d00) into main (ca69730) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
- Coverage   26.10%   26.08%   -0.03%
==========================================
  Files          24       24
  Lines         969      970       +1
  Branches      526      527       +1
==========================================
  Hits          253      253
- Misses        469      470       +1
  Partials      247      247

Impacted Files
Coverage Δ

src/Core/Plazza.cpp
0.00% <0.00%> (ø)

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 ca69730...fad9d00. Read the comment docs.


Korean IME does not work in Firefox

file:///C:/Alex/src/vscode/src/vs/editor/test/browser/controller/imeTester.html

@alexandrudima I'm trying to verify all IME related bugs and seeing this one marked as August but still open, will you fix this for this sprint?

I will try fixing it today, if there is enough time, otherwise I may postpone it (as I don't think it ever worked).

This is because Firefox emits a composition end after gk even though typing sr still composes the first glyph. I am certain this never worked and would need to be handled especially from all other inputs.

I tested Firefox 52 and now it works well. If we set any conditional breakpoint then it will break the composition state but if there is no breakpoint at all, it looks good.

Closing per @rebornix last comment


static assert that bundles do not have duplicate types

Objective

Currently it is possible for a user to define a bundle that contains duplicate types. However, this is incorrect and can lead to various bugs.
Partially addresses #2387

Solution

Implement a static check for Bundles that when using #[derive(Bundle)] will fail to compile if any of the inner types are duplicates.

As a quite note, this is sort of a first pass solution.
I don't believe this handles nested bundles yet, however, I just wanted to see if this is the general direction we want to go with this issue.

Another option would be to have trait AssertDistinctComponentsMyBundle {} and then an impl of this trait for each field type. That will result in a conflicting trait impl if the types are equal.

Another option would be to have trait AssertDistinctComponentsMyBundle {} and then an impl of this trait for each field type. That will result in a conflicting trait impl if the types are equal.

This is how the current implementation is conducted... 🙃 (I'm pretty sure?)

Oops, I thought it used a trait method and then error on ambiguity or something like that.

This should now also work with nested bundles!!
However,
#[derive(Bundle)]
struct A {
    a: usize,
}

#[derive(Bundle)]
struct A {
    #[bundle]
    a: A,
    b: usize,
}

will still compile since you cannot implement traits for foreign types...
I still think this addition is a nice QOL improvement, however we should keep an issue open to track nested bundle static checking.

@TheRawMeatball I'm curious what your thoughts are with this issue.
From what we've seen, it's not possible to assert at compile time that bundles are correct (due to nested bundles).
However is this current PR even worth pursuing?
As in should we support static checking for a single layer or not support it until we can find a solution for nested bundles.

IMO failing if we know something is incorrect is worth doing, even if we can't catch every case.

Going on a tangent about nested bundle: is the possibility to do it really worth it? I'm not completely convinced. The issues raised in #1588  and #2331 when trying to use it are valid, and if we don't even use it in standard Bevy I would argue this should be removed.

I'd strongly prefer nested bundles over fully static assertions personally. They're very useful for spawning more complex entities.

#[derive(Bundle, Debug)]
pub struct Position {
    pub x: u8,
    pub y: u8,
}

gives:
error[E0119]: conflicting implementations of trait `static_assert_Position_does_not_have_duplicate_types::AssertDistinctComponentsForPosition` for type `u8`
  --> src/main.rs:46:10
   |
46 | #[derive(Bundle, Debug)]
   |          ^^^^^^
   |          |
   |          first implementation here
   |          conflicting implementation for `u8`
   |
   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

Looks pretty good to me! Hopefully in the far future when more rust features are stable we can make it work for nested stuff too, but for now this seems like a useful compromise.

I just realized, this impl may not work with generic bundles....

There's a few problems with the PR, including generic bundles, and not being able to recurse and check nested bundles.
I'm going to close this for now, and if I can find a more viable solution I'll open an new PR accordingly.


Remove final from EpollEventLoopGroup

Netty version: 4.1.0.CR7
Feature request: Please remove final from EpollEventLoopGroup for consistency with NioEventLoopGroup
Context:
We've been using NioEventLoopGroup in part of our project where we extend it and override the various submit, schedule and invoke methods to log any exceptions which occur when the tasks (Runnable/Callable) execute.
We're working on an extension to our project which utilizes EpollEventLoopGroup and would like to implement the same extension here however EpollEventLoopGroup is marked final so we aren't able to  subclass it.
I did check the issues already reported and see that Issue #4727 already mentioned this, and included a check-in of the change.  However it looks like Issue #4819 backed out this change, and then was backed out itself.

@bdnettleton - In the end the change was never actually committed because there would be more interface changes required and the scope of changes to accomplish my initial goal (full wrapping of the EventLoopGroup) increased substantially, and in the end I found another way to approach the problem. I think was also a feeling that NioEventLoopGroup should have been final from the start, but we can make it final now bcz we don't want to break backwards compatibility.  However if there is a concrete use case that cannot easily be accomplished other ways then perhaps its better to make NIo and Epoll consistent ... @normanmaurer - WDYT?

Thanks for the quick response.
Here's a little more about our use case as background.
We're extending NioEventLoopGroup with code below.  Our goal is to catch basic coding errors in tasks we submit to the EventLoopGroup and get them into our logging framework (basic but unfortunately still common things like NullPointerExceptions).
public static final Logger LOG = LoggerFactory.getLogger(IsmNioEventLoopGroup.class);

...

protected Runnable decorate(Runnable r) {
    return new Runnable() {

        @Override
        public void run() {
            try {
                r.run();
            }
            catch(RuntimeException e) {
                LOG.error("Unhandled Exception", e);
            }
        }
    };
}

@Override
public <T> Future<T> submit(Runnable task, T result) {
    return super.submit(decorate(task), result);
}

We also override the rest of the schedule and invoke methods with similar calls to decorate.
If there is a better way to log all errors in submitted tasks then we can alter our code appropriately.

@bdnettleton SingleThreadEventExecutor does log any Throwable from task.run().
Recently, there is also a way to log/handle rejected tasks via this PR if that interests you.

@bdnettleton - Agreed it seems like what you want can be accomplished (or is already accomplished) via other means. Is there anything else you need that cannot be done?

+1 ... I would prefer to keep it final

Am 28.06.2016 um 18:16 schrieb Scott Mitchell<EMAIL_ADDRESS>@bdnettleton - Agreed it seems like what you want can be accomplished (or is already accomplished) via other means. Is there anything else you need that cannot be done?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

This is "fixed" in the master branch where its possible to extend this stuff


Balance state not shown at startup

Had to switch to another page then switch back to update the balances.

can't reproduce anymore

As mentioned by Matt this may not be fixed.

for me, the balance shows 0 for 1 second before updating to the actual balance. ideally, the user would see a loading icon until the actual balance was available.

Can't reproduce this anymore after our recent changes.


Feature: Support InfluxDB v0.9+

This pull request experimental support for InfluxDB but only v0.9+. Because InfluxDB has no backward compatibility for older than 0.8.
Config

Type: influxdb
Options:

Url (url) (mandatory)

Add Data Source command
bin/run ./manage.py ds new -n example -t influxdb -o '{"url":"influxdb://root:root@localhost:8086/example"}'

This is great and much appreciated! I wanted to add InfluxDB support for a long time...


Can not register service to consul while packaging as war file

My maven dependency version like below:
<spring.version>4.3.8.RELEASE</spring.version>
<spring.boot.version>1.5.3.RELEASE</spring.boot.version>
<spring.boot.version>1.5.3.RELEASE</spring.boot.version>
<spring.cloud.version>Dalston.RELEASE</spring.cloud.version>
<spring.cloud.consul.version>1.2.0.RELEASE</spring.cloud.consul.version>

My Application class like below:
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = "td.item.mapper")
public class Application extends SpringBootServletInitializer{

    protected static Logger logger = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean();
        List<String> arguments = runtimeMxBean.getInputArguments();
        logger.info("jvm args: " + arguments);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(Application.class);
    }
}

and my bootstrap.yml like this:
spring:
  application:
    name: td-service-item
  cloud:
    consul:
      discovery:
        health-check-path: ${management.context-path}/health
        health-check-interval: 15s
        instance-id: ${spring.application.name}:${vcap.application.instance_id:${spring.application.instance_id:${random.value}}}
        tags: qa
        prefer-ip-address: true
      host: <IP_ADDRESS>
      port: 8500
      config:
        enabled: true
        watch:
          enabled: true

When i run this application on the embedded tomcat  it works fine. but when i packaging this as a war file and run on an external tomcat , it doesn't register the service to consul.
Is there any way to work around this problem?
Thanks

Duplicates #302

@spencergibb Thanks


is it possible to turn autocomplete off?

Is it possible to turn the autocomplete off on the input tag of the date picker?  The autocomplete is hiding part of the calendar popup (Chrome Version 68.0.3440.106)

Yes, I see. I'll try to figure out something.
@amcculloughflexera may be you found some workaround already?

I think I found a solution. Set autoComplete="off" on your input component. Like this:
<DateInput autoComplete="off" />

And note a camel case, it matters.


error tile could not be read

the error i got was "Couldn't read Tiles_616" ussing no mods

I'm guessing your paths aren't set correctly.  Go to Settings and change the texture path to point to your terraria install.


Markdown output should pass markdownlint

tl;dr
To maximize compatibility of exported markdown, gd2md should conform to markdownlint conventions.
Motivation
We're regularly using Google Docs to write and collaborate, and later export results to GitHub as issues, or as .md files to be included in a Docusaurus instance. Because we're using multiple different methods for displaying .md content, we use markdownlint to be sure it will render as intended. It would be great if gd2md could, at least by default, conform to conventions to maximize compatibility.

Is there a problem rendering the converted Markdown? If so, please file a bug for that issue.
If I have time someday (!), I might try to write a formatter that would prettify the Markdown output, but that may not happen soon (and I suspect there are many competing standards for formatting!).

Understood and thanks @evbacher. Closing for now.


ERROR worker.py:772 -- Exception raised in creation task: The actor died because of an error raised in its creation task, ray::TaskLoader.init()

Hi, @huy-ha
Thank you for your open source!
When I try to run python main.py --mode benchmark --tasks_path benchmark/ --load ours/ours.pth --num_processes 2 --gui, I get the follow errors. I try to fix them, but fail.
At first, the error is:
(TaskLoader pid=111640) 2023-04-12 22:54:24,948	ERROR worker.py:772 -- Exception raised in creation task: The actor died because of an error raised in its creation task, ray::TaskLoader.__init__() (pid=111640, ip=<IP_ADDRESS>)
(TaskLoader pid=111640)   File "/home/xhr/xhr/mulit_arm/decentralized-multiarm-main/environment/tasks.py", line 342, in __init__
(TaskLoader pid=111640)     assert len(self.files) > 0
(TaskLoader pid=111640) AssertionError

In the end, the error is:
Traceback (most recent call last):
  File "main.py", line 83, in <module>
    simulate(args, config)
  File "main.py", line 55, in simulate
    observations = ray.get([e.reset.remote() for e in envs])
  File "/home/xhr/anaconda3/envs/multiarm2/lib/python3.7/site-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
    return func(*args, **kwargs)
  File "/home/xhr/anaconda3/envs/multiarm2/lib/python3.7/site-packages/ray/_private/worker.py", line 2380, in get
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError: ray::ParallelBenchmarkEnv.reset() (pid=111642, ip=<IP_ADDRESS>, repr=<environment.benchmarkEnv.ParallelBenchmarkEnv object at 0x7f48e1a42dd0>)
  File "/home/xhr/xhr/mulit_arm/decentralized-multiarm-main/environment/baseEnv.py", line 582, in reset
    self.setup_task()
  File "/home/xhr/xhr/mulit_arm/decentralized-multiarm-main/environment/baseEnv.py", line 617, in setup_task
    min_task_difficulty=self.min_task_difficulty)
  File "/home/xhr/xhr/mulit_arm/decentralized-multiarm-main/environment/tasks.py", line 282, in setup_next_task
    self.task_loader.get_next_task.remote())
ray.exceptions.RayActorError: The actor died because of an error raised in its creation task, ray::TaskLoader.__init__() (pid=111640, ip=<IP_ADDRESS>)
  File "/home/xhr/xhr/mulit_arm/decentralized-multiarm-main/environment/tasks.py", line 342, in __init__
    assert len(self.files) > 0
AssertionError

My conda environment is created from the provided environment.yml file. My system is ubuntu20.04.
Can you get me some suggestions? I need your help.

Hello, i also meet the same problem.  It seems there need some .json file for the task.

Hello friend,I'm glad to have someone to work on this with. I also encountered the same problem, could you tell me in detail how to solve it? I would appreciate it. @GuQian-Alex @mamimaka

When I changed the *.json in line 337 of 'environment/tasks.py' to *.p, the error was not reported. This should be caused by the mismatch between the code used by the author and the environment configuration file.


Add gambling website: freeslotshub.com

Website : www.freeslotshub.com
It seems like a bunch of gambling websites point to this one.

@StevenBlack I have added this to my gambling list.

I stepped in cat poop some how and got it in the carpet and have no idea how to get it out

Thanks @Sinfonietta closing now.


Use round-robin dialer in keymaster.

Ping?

2nd ping? I'd like to get this in before upping the version number.

do the issues of dominator compilation on go 1.11 and go 1.12 affect this patch?

No, this should be fine with newer versions.


question - download

Hi, can the addon be downloaded somehow? Or do I have to put it together myself?

This is currently in progress, not finished yet. I don't think it's a good idea to use this on a production server yet.

OK thank you for answer. Good luck with the development!


How do I create a DLL for this library?

I'd like to use amoeba as an external library in Smalltalk but don't know how to generate a DLL from the header file.
Is there a one line script for doing so with gcc or other C compiler?

Got it: gcc -shared -O2 -DAM_IMPLEMENTATION -xc ameoba.h -o ameoba.dll'

The DLL loads fine, but the example fails with an invalid memory access error in am_setrelation(c1, AM_EQUAL). It seems to be happening inside the call to am_multiply https://github.com/starwing/amoeba/blob/master/amoeba.h#L594 since it gets further if I change the relation to AM_GREATEQUAL.
Are there any other flags that need to be set for 32-bit builds? I did try again with -DAM_USE_FLOAT but that didn't seem to make a difference.

Which system your on? maybe I could try it out. It works well on my Mac.

I have tried the DLL build on Windows. Could you give me a segfaul example? the test.Lua seems work.
gcc -o amoeba.dll -mdll -DLUA_BUILD_AS_DLL .\lua_amoeba.c -LC:\Devel\Lua54\lib
 -llua54


[SPARK-48237][BUILD] After executing test-dependencies.sh, the dir dev/pr-deps should be deleted

What changes were proposed in this pull request?
The pr aims to delete the dir dev/pr-deps after executing test-dependencies.sh.
Why are the changes needed?
We'd better clean the temporary files generated at the end.
Before:
sh dev/test-dependencies.sh

After:
sh dev/test-dependencies.sh

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually test.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @dongjoon-hyun

Please file a JIRA issue, @panbingkun .

Please file a JIRA issue, @panbingkun .

Done, thanks!


feat: minimal rpc client

closes #163

Are we using this as a replacement for the spammer packages?

@mempirate yes, see #163


All Sorting Algo in Python

Kindly Assignthis issue to me, happy to contribute

@shreerajbhamare Done!

@HarshwardhanPatil07 I want to contribute kindly assign this task to me.

Follow Code of Conduct Make sure you Star the Repository!

Follow Code of Conduct Make sure you Star the Repository!

Thank you for merging my pull request!
Please can you add the the tag Hactoberfest Accepted 2023.
Because I received this from the HactoberFest mail..
"Your PR/MR has not yet been accepted by a maintainer of X the repository. To be accepted, a maintainer either : SORT: needs to merge your PR/MR, add the hacktoberfest- accepted label, or leave an overall approving review. For more information about how exactly we validate PR/MRS for contributors, check the details on our participation page."

Hey @HarshwardhanPatil07 , I'm proficient in sorting algorithms in Python and I'm eager to contribute. Could you please assign me an issue related to sorting algorithms? I'm excited to start working on it

I want to contribute kindly assign me please


hashable-<IP_ADDRESS> can't compile its test suite

The builds fails with the message:
tests/Regress.hs:8:18:
    Could not find module `Regress.Mmap'
    Use -v to see a list of the files searched for.

I guess that file is missing from the Cabal file and thus the release tarball?

Could you provide complete instructions to reproduce and include cabal and OS version please? This works for me:
git clone https://github.com/tibbe/hashable
cd hashable
# Check out master at time of writing:
git checkout -b repro 7438adcfb233eb326a99ea12a8baf3356c93ffc9
cabal configure && cabal sdist
mkdir tmp
cd tmp
tar zxf ../dist/hashable-<IP_ADDRESS>.tar.gz
cd hashable-<IP_ADDRESS>
cabal test

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3

$ curl http://hackage.haskell.org/package/hashable-<IP_ADDRESS>/hashable-<IP_ADDRESS>.tar.gz | tar xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23845  100 23845    0     0   149k      0 --:--:-- --:--:-- --:--:--  253k

$ cd hashable-<IP_ADDRESS>

$ ghc --make Setup && ./Setup configure --enable-tests && ./Setup build && ./Setup test
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
Configuring hashable-<IP_ADDRESS>...
Building hashable-<IP_ADDRESS>...
Preprocessing library hashable-<IP_ADDRESS>...
[1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )
[2 of 3] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.o )
[3 of 3] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.o )
In-place registering hashable-<IP_ADDRESS>...
Preprocessing test suite 'tests' for hashable-<IP_ADDRESS>...

tests/Regress.hs:8:18:
    Could not find module `Regress.Mmap'
    Use -v to see a list of the files searched for.

With GHC 7.8.4 (a.k.a. Cabal 1.18.x) this works fine.

Still works for me. Try this somewhat more explicit command line, so you see which Cabal version Setup.hs gets linked against.
ghc-7.6.3 --make Setup -no-user-package-db && ./Setup --version && ./Setup configure -w ghc-7.6.3 --enable-tests --user && ./Setup build && ./Setup test

Note that I

added -no-user-package-db when building Setup.hs to make sure I use the version of Cabal in the global package DB (i.e. the one that shipped with GHC, unless you've installed an updated version in your global package DB), and
added --user to the configure step as I have the test dependencies installed in the user package DB.

Also you didn't tell me which OS you're on. Regress.Mmap has an OS guard in front of it in hashable.cabal.

/tmp/hashable-<IP_ADDRESS>$ uname -a
Linux peti 3.14.27 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64 GNU/Linux

/tmp/hashable-<IP_ADDRESS>$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3

/tmp/hashable-<IP_ADDRESS>$ ghc-pkg list
/nix/store/0x4kjirfmwpfpqvfl41q3h7v69rfs6h7-ghc-7.6.3/lib/ghc-7.6.3/package.conf.d
   Cabal-1.16.0
   HUnit-<IP_ADDRESS>
   QuickCheck-2.7.6
   ansi-terminal-<IP_ADDRESS>
   ansi-wl-pprint-<IP_ADDRESS>
   array-<IP_ADDRESS>
   base-<IP_ADDRESS>
   bin-package-db-<IP_ADDRESS>
   binary-<IP_ADDRESS>
   bytestring-<IP_ADDRESS>
   containers-<IP_ADDRESS>
   deepseq-<IP_ADDRESS>
   directory-<IP_ADDRESS>
   extensible-exceptions-<IP_ADDRESS>
   filepath-<IP_ADDRESS>
   ghc-7.6.3
   ghc-prim-<IP_ADDRESS>
   haskell2010-<IP_ADDRESS>
   haskell98-<IP_ADDRESS>
   hoopl-<IP_ADDRESS>
   hostname-1.0
   hpc-<IP_ADDRESS>
   integer-gmp-<IP_ADDRESS>
   mtl-2.2.1
   old-locale-<IP_ADDRESS>
   old-time-<IP_ADDRESS>
   pretty-<IP_ADDRESS>
   primitive-<IP_ADDRESS>
   process-<IP_ADDRESS>
   random-1.1
   regex-base-0.93.2
   regex-posix-0.95.2
   rts-1.0
   template-haskell-<IP_ADDRESS>
   test-framework-<IP_ADDRESS>
   test-framework-hunit-<IP_ADDRESS>
   test-framework-quickcheck2-<IP_ADDRESS>
   text-<IP_ADDRESS>
   tf-random-0.5
   time-<IP_ADDRESS>
   transformers-<IP_ADDRESS>
   unix-<IP_ADDRESS>
   xml-1.3.13

/tmp/hashable-<IP_ADDRESS>$ ghc-7.6.3 --make Setup -no-user-package-db && ./Setup --version && ./Setup configure -w ghc-7.6.3 --enable-tests --user && ./Setup build && ./Setup test
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
Cabal library version 1.16.0
Configuring hashable-<IP_ADDRESS>...
Building hashable-<IP_ADDRESS>...
Preprocessing library hashable-<IP_ADDRESS>...
[1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )
[2 of 3] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.o )
[3 of 3] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.o )
In-place registering hashable-<IP_ADDRESS>...
Preprocessing test suite 'tests' for hashable-<IP_ADDRESS>...

tests/Regress.hs:8:18:
    Could not find module `Regress.Mmap'
    Use -v to see a list of the files searched for.

I can reproduce it now. It's a bug in Cabal-1.16 that makes it not put the file in the tarball even though it's listed in the .cabal file. Solution: upgrade to a new cabal (backporting the fix is not worth it.)

Why would I want to update Cabal? I have no intention of building a release tarball. I just want to compile the tarball that's published on Hackage.

The tarball on Hackage contains the file:
$ cabal unpack hashable-<IP_ADDRESS>
Unpacking to hashable-<IP_ADDRESS>/
$ ls hashable-<IP_ADDRESS>/tests/Regress
Mmap.hsc

Using a newer cabal to build the test suite works:
Old Cabal:
$ ghc-7.6.3 --make Setup -package Cabal-1.16.0 && ./Setup --version && ./Setup configure -w ghc-7.6.3 --enable-tests --user && ./Setup build && ./Setup test
Cabal library version 1.16.0
Configuring hashable-<IP_ADDRESS>...
Building hashable-<IP_ADDRESS>...
Preprocessing library hashable-<IP_ADDRESS>...
[1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )
[2 of 3] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.o )
[3 of 3] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.o )
In-place registering hashable-<IP_ADDRESS>...
Preprocessing test suite 'tests' for hashable-<IP_ADDRESS>...

tests/Regress.hs:8:18:
    Could not find module `Regress.Mmap'
    Use -v to see a list of the files searched for.

New Cabal:
$ ghc-7.6.3 --make Setup -package Cabal-<IP_ADDRESS> && ./Setup --version && ./Setup configure -w ghc-7.6.3 --enable-tests --user && ./Setup build && ./Setup test
[1 of 1] Compiling Main             ( Setup.hs, Setup.o ) [Distribution.Simple changed]
Linking Setup ...
Cabal library version <IP_ADDRESS>
Configuring hashable-<IP_ADDRESS>...
Building hashable-<IP_ADDRESS>...
Preprocessing library hashable-<IP_ADDRESS>...
[1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )
[2 of 3] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.o )
[3 of 3] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.o )
In-place registering hashable-<IP_ADDRESS>...
Preprocessing test suite 'tests' for hashable-<IP_ADDRESS>...
[1 of 4] Compiling Regress.Mmap     ( dist/build/tests/tests-tmp/Regress/Mmap.hs, dist/build/tests/tests-tmp/Regress/Mmap.o )
[2 of 4] Compiling Regress          ( tests/Regress.hs, dist/build/tests/tests-tmp/Regress.o )
[3 of 4] Compiling Properties       ( tests/Properties.hs, dist/build/tests/tests-tmp/Properties.o )

tests/Properties.hs:179:1: Warning:
    Defined but not used: `pProduct2'

tests/Properties.hs:182:1: Warning:
    Defined but not used: `pProduct3'
[4 of 4] Compiling Main             ( tests/Main.hs, dist/build/tests/tests-tmp/Main.o )
Linking dist/build/tests/tests ...
Running 1 test suites...
Test suite tests: RUNNING...
Test suite tests: PASS
Test suite logged to: dist/test/hashable-<IP_ADDRESS>-tests.log
1 of 1 test suites (1 of 1 test cases) passed.

Ah, okay. Now I see. The file is there, but the old Cabal version doesn't pick it up for the build. Okay. Thank you for your help!


Resolution

It is well documented that there is only one supported resolution 1024x768.
Is there hope that this might change going forward - or should we just work with it?

The graphics bridge is currently only partially implemented in MacHyperVSupport. It's a temporary limitation; there's still a lot more work needed to accommodate resizeable framebuffer resolutions. Though technically any virtual display (i.e. through BetterDisplay) can use a different resolution.
I'm not the author of the MacHyperVSupport package though I've been more focused on fixing DDA support upstream for AMD GPUs.


Added TOC to readme and a new game.

Added table of content to the README, restyled the readme, added emojis, and a simpler way of adding contributors.
This closes issue #201
Screenshot

Please review it once, and suggest changes. Thanks ♥

Can you please check the problem @admindebu , and give your review, I will then do the necessary changes,


fix(cli): suggest correct flag when LanguageNotSpecified

Thanks for the new release! Ran into a little typo.

Thank you very much for both suggestion and the pull request!


Several sal docker issues

Several issues:

I am testing build method when i use flag output as it by default is True gives the same output as flag is False

dockerfile under /root/build

FROM ubuntu:14.04
RUN  apt-get update \
  && apt-get install -y wget \
  && rm -rf /var/lib/apt/lists/*

verification steps :

j.sal.docker.build('/root/build',tag='ubuntu:testBishoy')
j.sal.docker.images_remove('ubuntu:testBishoy')
j.sal.docker.build('/root/build',tag='ubuntu:testBishoy',output=False)

also another issue when trying to create a docker container it fail as below:

JSX> j.sal.docker.create(name='test')
Mon 21 15:57:24 sal/docker/Docker.py - 406 - create                             : EXCEPTION:
    Could not create docker, res:'{'Id': '0c80f28322bf455efd2c9947a98e51abb301b13fba45dbad68a319cab37b1dd0', 'Warnings':
        []}'
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Docker.py in create
    406    raise j.exceptions.RuntimeError("Could not create docker, res:'%s'" % res)
-----------------------------

a third issue is i got error when trying to use method status while there is a two docker containers (one up and second is down) as below :

3BOTDEVEL:jsxtesting:~: docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                      PORTS               NAMES
45bb96cf662c        ubuntu:18.04        "bash"              3 minutes ago       Exited (0) 41 seconds ago                       testubunut
aaf31904f766        ubuntu:14.04        "bash"              8 hours ago         Up 7 hours                                      remove

3BOTDEVEL:jsxtesting:~: kosmos

JSX> j.sal.docker.status()
Tue 22 16:55:29 /docker/Container.py - 116 - public_port_get                    : EXCEPTION:
    docker docker:testubunut is not running cannot get pub port.
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Docker.py in status
    144    res.append([item.name, item.image, item.ssh_port, item.status])
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Container.py in ssh_port
    36    self._ssh_port = self.public_port_get(22)
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Container.py in public_port_get
    116    raise j.exceptions.RuntimeError("docker %s is not running cannot get pub port." % self)
-----------------------------

None
JSX>

4th issue is i got error when pushing an image using push method as below :

3BOTDEVEL:jsxtesting:~: docker images ubuntu:testBishoy
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
ubuntu              testBishoy          52139e600a70        28 hours ago        194MB

3BOTDEVEL:jsxtesting:~:  kosmos

JSX> j.sal.docker.push('ubuntu:testBishoy')
Tue 22 17:02:53 sal/docker/Docker.py - 541 - push                               : EXCEPTION:
    denied: requested access to the resource is denied
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Docker.py in push
    541    raise j.exceptions.RuntimeError(message)
-----------------------------

None

also another issue when trying to create a docker container it fail as below:

JSX> j.sal.docker.create(name='test')
Mon 21 15:57:24 sal/docker/Docker.py - 406 - create                             : EXCEPTION:
    Could not create docker, res:'{'Id': '0c80f28322bf455efd2c9947a98e51abb301b13fba45dbad68a319cab37b1dd0', 'Warnings':
        []}'
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Docker.py in create
    406    raise j.exceptions.RuntimeError("Could not create docker, res:'%s'" % res)
-----------------------------

a third issue is i got error when trying to use method status while there is a two docker containers (one up and second is down) as below :+1:

3BOTDEVEL:jsxtesting:~: docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                      PORTS               NAMES
45bb96cf662c        ubuntu:18.04        "bash"              3 minutes ago       Exited (0) 41 seconds ago                       testubunut
aaf31904f766        ubuntu:14.04        "bash"              8 hours ago         Up 7 hours                                      remove

JSX> j.sal.docker.status()
Tue 22 16:55:29 /docker/Container.py - 116 - public_port_get                    : EXCEPTION:
    docker docker:testubunut is not running cannot get pub port.
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Docker.py in status
    144    res.append([item.name, item.image, item.ssh_port, item.status])
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Container.py in ssh_port
    36    self._ssh_port = self.public_port_get(22)
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Container.py in public_port_get
    116    raise j.exceptions.RuntimeError("docker %s is not running cannot get pub port." % self)
-----------------------------

None
JSX>

4th issue is i got error when pushing an image using push method as below :+1:

3BOTDEVEL:jsxtesting:~: docker images ubuntu:testBishoy
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
ubuntu              testBishoy          52139e600a70        28 hours ago        194MB

3BOTDEVEL:jsxtesting:~:  kosmos

JSX> j.sal.docker.push('ubuntu:testBishoy')
Tue 22 17:02:53 sal/docker/Docker.py - 541 - push                               : EXCEPTION:
    denied: requested access to the resource is denied
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/JumpscaleLibs/sal/docker/Docker.py in push
    541    raise j.exceptions.RuntimeError(message)
-----------------------------

None

not blocking current installation, for later.

verified.


update README file

Fixes #
Proposed Changes

Thanks, @haim6678 - I observed that the DataConnectors/microsoft-logstash-output-azure-loganalytics/VERSION change from 0.1.0 to 0.3.0 is missing in this PR. Can you please add that to this PR? Thanks.


completed tasks 31 and 28

Would you mind running verusfmt one more time?  The CI is complaining.  Once CI is happy, we can merge this in.


FEATURE - switch archive command to use a deny list and include dot files

As a developer,
I want to be able to zip/download all files of a project in BAS including configurations in dot files,
so that I can upload and run it in a different devspace
Description
Currently the archive command excludes node modules, git configurations and .env files but also excludes all dot files. In some cases vital configurations are stored in dot files, and losing them on transfer makes the project not work at the destination, e.g. the .cdsrc.json file in CAP projects roots
Proposal is to include all dot files into the archive, but exclude specifically the ones mentioned above.
Technical Design
Requires update of module @sap-ux/environment-check to include dot files.
Acceptance Criteria
GivenWhenThen format (https://martinfowler.com/bliki/GivenWhenThen.html)
Given I have a zip archive created from a project with dot file configurations
when I execute the "Archive Project" command
then the project copy is fully functional in the target
Notes
Tasks

[ ]
[ ] Unit Tests added
[ ] Test Cases defined

@Klaus-Keller fyi.

The code to archive a project is in module @sap-ux/environment-check. The glob that controls what is included and excluded is here:
https://github.com/SAP/open-ux-tools/blob/fdd0d0c3ef5650ba62908a4e565160cc701fb77f/packages/environment-check/src/output/zip.ts#L90-L95
The globOptions can be enhanced by dot: true to include hidden files starting with ., see https://www.archiverjs.com/docs/archiver#glob -> https://github.com/yqnn/node-readdir-glob#options.
However, all hidden files would be included then and it is likely, that we would archive files that contain secrets. We exclude already .env, but there might be more files that we are not aware of.
Proposal: if we find a .gitignore file, read it and apply the glob rules from it to exclude folders and files from the archive. If we do not find .gitignore, fall back to a deny list to exclude known files, like currently .env.

@tobiasqueck @Klaus-Keller any update on this topic?

@cfg74 I think this is ready to be assigned, technical proposal for this feature was discussed and seems to be agreed on:

if file .gitignore exists, use it to define what is excluded from the archive
if not, use current approach. To be discussed: any changes in current approach like including dot-files?

PR https://github.com/SAP/open-ux-tools/pull/878 has been merged and will be consumed in Application Modeler extension. Closing this issue.


apt-get fails

We're currently running apt-get wget and unzip in command.
That fails on start.
Adding a sleep 60 first allows it to work, but it'd probably be better to fix the issue properly.  I've asked the Google guys if they have any suggestions.

Added -e aggressive check for errors per Zach.


Previews don't work on a Gatsby Page that isn't a template

I'm not sure if this is intentional or not, but previews work on pages that are rendered using the src/templates/page.js template, but previews will not work at all if I export src/pages/index.js with the preview HOC.
Examples:
// src/templates/page.js
export default withPreview(Page)

// src/pages/index.js
export default withPreview(IndexPage)

Is this supposed to happen? Or is there something else I need to do to get previews working in index.js?

They work fine for me on regular pages as well as template pages FWIW. If you're trying to preview an unpublished page you have to use withUnpublishedPreview, and I think that might only work with templates.

Weird, the page is published. I have the exact opposite issue lol. I can preview unpublished drafts, and other published pages that are built off of a template, but I can't preview any changes on the index page. Weird. I do get an error of s isn't a function at documentToNodes.ts:209
GitHub<EMAIL_ADDRESS>wrote:
“They work fine for me on regular pages as well as template pages FWIW. If you're trying to preview an unpublished page you have to use withUnpublishedPreview, and I think that might only work with templates.”
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Weird, the page is published. I have the exact opposite issue lol. I can preview unpublished drafts, and other published pages that are built off of a template, but I can't preview any changes on the index page. Weird. I do get an error of s isn't a function at documentToNodes.ts:209

@davidli3100 Strange, that isn't a function error looks like an issue with the link resolver. If it doesn't expose anything sensitive, could you post your withPreviewResolver function in your preview page?

export default withPreviewResolver(PreviewPage, {
  repositoryName: "repository",
  linkResolver: ({ node, key, link }) => doc => {
    if (doc.type === "home") return `/`

    return `/${doc.uid}`
  },
})

Weird, this is the exact same link resolver used in the docs. It seems to work for other previews? Just not src/pages/index.js and I'm assuming that it would break for other static pages if I had them.

Hey @davidli3100 👋 I had a similar issue to the one you've described this week. In case it's helpful and might work for you, here are the details.
I wanted to add previews to a new template and two new pages. I could preview unpublished changes but no preview published ones. After some experimentation and relentlessly trying to figure out why my other template worked, I stumbled across the following.
The template I had working with previews (both unpublished and published) contained the property prismicId in the query but the new template and pages didn't, as soon as I added this property everything worked. Perhaps the preview HOC's rely on this ID when querying. Examples below.
Before (Only unpublished previews working)
query Page($uid: String) {
    prismicPage(uid: { eq: $uid }) {
      uid
      data {
        title {
          text
        }
        ...

After (Both unpublished & published previews working)
  query Page($uid: String) {
    prismicPage(uid: { eq: $uid }) {
      uid
      prismicId
      data {
        title {
          text
        }
        ...

Hope this might help! 👍

fwiw, this lack of the prismicId also bit me when trying to figure out why my previews were not reflected edited content. maybe useful to add to the README?

@mjsz  Good call! I've updated the previews documentation and created a PR #266.


Offline mode

Is there any plan to add offline mode like notion-linux ?

The offline mode is already there, and as far as I know it is native to notion. I just checked and it is working properly for me. What are you experiencing instead? How does it differ to notion-linux?

Well I tried to install the appimage and the Deb file but both of them gave me a message (something like please connect to network before using) when opening the app while in air plane mode...
This is not happening with the normal notion-linux and still not happening after installing notion enhancer with npm.

I'm pretty sure it's because notion-linux is based off 2.0.11, but we target 2.0.16 instead, which might have introduced that message.
If you load notion and then you disconnect you will still be able to view already cached pages, that's the offline support we have.
Also, have in mind that notion-linux is using storing the cache in one place and notion-repackaged is storing it in a different one.

Ok but it doesn't work for me.
I downloaded and ran the appimage, logged into my account and browsed through my different pages. Then I quit the app and turn on airplane mode. When I launch the app again this message appears.

Yeah, I don't think we are going to try to override that behavior in the long term. If notion released 2.0.16 with that behavior, it's for a reason.


tests, ping: increase default amount of packets

When we tests connectivity , we would like to see
that connection was established, and that it is stable.
When we send one packet, we see the connection was established
but we are less confidant about the connection stability.
This commit increases the default number of packets sent
upon ping, to increase confidence in the stability of the connection.
Signed-off-by: alonSadan<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

@AlonaKaplan  @ormergi @EdDev

looks like ci hit something here. https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4709/pull-kubevirt-e2e-k8s-cnao-1.19/1341352478469263360
tests/vmi_multus_test.go:1097
connectivity is expected *after* migrating the VMI
Expected success, but got an error:
    <*errors.errorString | 0xc0024ad560>: {
        s: "Failed to ping VMI testvmi-nxldz, error: Failed to run [ping <IP_ADDRESS> -c 5 -w 5] at VMI testvmi-nxldz, error: ping <IP_ADDRESS> -c 5 -w 5 failed",
    }
    Failed to ping VMI testvmi-nxldz, error: Failed to run [ping <IP_ADDRESS> -c 5 -w 5] at VMI testvmi-nxldz, error: ping <IP_ADDRESS> -c 5 -w 5 failed
tests/vmi_multus_test.go:1101

looks like ci hit something here. https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4709/pull-kubevirt-e2e-k8s-cnao-1.19/1341352478469263360

It sends 5 pings but the command cuts after 5sec. The timeout needs to be increased.

increased timeout to 10

/retest

/retest

The changes look ok to me (although I am not fully convinced it is needed), but for some reason the VLAN tests are not running. Only 7 tests passed but there should be 9.
Could you have a look? Maybe rebase?

The changes look ok to me (although I am not fully convinced it is needed), but for some reason the VLAN tests are not running. Only 7 tests passed but there should be 9.
Could you have a look? Maybe rebase?

Thanks Eddy.
I think it needed to be rebased. I think they should run now.
https://github.com/kubevirt/kubevirt/blob/0cb7d86ec26f94950f793eacda1bbeb9079adfc3/tests/vmi_multus_test.go


Couldn't open file: tmp/backup//mnist_lenet/weights

When I execute the command darknetp classifier train -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg to complete the training, the following error occurs
Saving weights to tmp/backup//mnist_lenet.weight
Couldn't open file: tmp/backup//mnist_lenet/weights

I made changes optee/out-br/target/root/cfg/mnist.dataset
backup = models/mnist

after completing training:
Saving weights to tmp/backup//mnist_lenet.weight

But there is no new weight file saved in the folder
execute the command darknetp classifier predict -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg models/mnist/mnist_lenet.weights  data/mnist/images/t_00007_c3.png
100.00%: 7
 0.00%: 1
 0.00%: 2
 0.00%: 0
 0.00%: 4

This is obviously wrong,How can I solve it?
Any help is appreciated!

@zzyupupup The same problem occurs to me. please have you solved this problem？
execute the command darknetp classifier train -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg
Result:
Saving weights to tmp/backup//mnist_lenet.weights Couldn't open file: tmp/backup//mnist_lenet.weights
when I execute the command darknetp classifier predict -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg models/mnist/mnist_lenet.weights  data/mnist/images/t_00007_c3.png
Result:
Loading weights from models/mnist/mnist_lenet.weights...Done! output file: /media/results/predict_mnist_lenet_pps4_ppe10.txt data/mnist/images/t_00007_c3.png: Predicted in 0.049031 seconds. -0.00%: 0  0.00%: 1  -inf%: 2 -8.37%: 3  0.00%: 4 user CPU start: 3.403040; end: 3.403840 kernel CPU start: 13.971354; end: 13.974640 Max: 2304  kilobytes vmsize:281470681747204; vmrss:281470681745664; vmdata:281470681744256; vmstk:281470681743492; vmexe:408; vmlib:281470681745604
@mofanv Can you help analyze the possible causes? Thanks.


Simplify Iterator, processors.Headers interface

From:
Iterator
    + reset
    + skip
    + stop
    + input_index
    + output_index
    + headers
    + values
    + exception

To:
Iterator
    + skip
    + stop
    + index
    + count
    + headers
    + values
    + exception

Because reset was needed only for no real world case in processors.Headers and count is more natural (and shorter) for non skipped items.

processor.Headers needs to get only skip (skip first n items) parameter.

DONE


Bot counter + Shortcuts

How to make a minion count UUID? i'm calling about this(click here) i want the shortcuts too :+1: i don't want the same only like this
I'm bad at coding sorry and English too

Easy, learn JS :)

Was all that made purely in JS?

I don't have time to learn :/

Then you can't make it.

MastaCoder but i don't want only the minions, he edited the post :/


Error: ENOENT: no such file or directory, open '/home/sbx_user1051/.cdk/cache/notices.json'

I am working on configuring this repo in AWS codecatalyst and trying to perform a CDK deploy, I have configured workflows at my end where the CDK bootstrap was successful but the CDK deploy fails with below error -
=====
Failed to store notices in the cache: Error: ENOENT: no such file or directory, open '/home/sbx_user1051/.cdk/cache/notices.json'
[06:33:59] Error: --app is required either in command-line, in cdk.json or in ~/.cdk.json
at execProgram (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:469:48635)
at async CloudExecutable.synthesizer (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:525:52237)
at async CloudExecutable.doSynthesize (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:469:42230)
at async CloudExecutable.synthesize (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:469:42023)
at async CdkToolkit.selectStacksForDeploy (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:472:3462)
at async CdkToolkit.deploy (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:470:176508)
at async exec4 (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:525:53102)
--app is required either in command-line, in cdk.json or in ~/.cdk.json
--app is required either in command-line, in cdk.json or in ~/.cdk.json
::set-output name=ACTION_RUN_SUMMARY::[{text:CDK_DEPLOY_COMMAND_ERROR,level:Error,message:"The AWS CDK deploy action failed to perform one or more commands. Check the action logs for more information."}]
Error: The AWS CDK deploy action failed to perform one or more commands. Check the action logs for more information.
[Container] 2024/11/24 06:33:59.431265 Command failed with exit status 1
[Container] 2024/11/24 06:33:59.431324 Failed to run action due to exit status 1

[06:33:59] Error: --app is required either in command-line, in cdk.json or in ~/.cdk.json makes this seem like a CDK specific error rather than something coming from the repo? I am not familiar with CDK/CodeCatalyst myself, but I did a brief google for this error and after reading some StackOverflow threads, it seems like you may be missing a command (app) for CodeCatalyst to run. This repo doesn't have a cdk.json or any sort of command/script to run upfront, so it's possible that CodeCatalyst may not be the best choice here depending on your use case?
Are you trying to make changes in the repo via CodeCatalyst or install the module in a different project? If the former, this might be of use, if you haven't come across it already: https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-repositories-clone.html. If the latter, you can just need to add sportsdataverse-py to a requirements.txt file (this seems relevant to CodeCatalyst after a brief google: https://repost.aws/articles/ARBTATztMgQOeYyMZ9IAmxDw/configuring-codecatalyst-dev-environments).

This was an error on my end. Thanks!


Added new Panels samples

Enyo-DCO-1.1-Signed-off-by: Blake Stephens<EMAIL_ADDRESS>

Thanks for the update. It looks good.
I just modified one sample from two panels up to one panel which is having two columns.
And, removed branding image option because we doesn't support it anymore. :)


[BUG REPORT] <Custom Button not Unlimited?>

Buttons Relation
Custom Button
Bug Description
I'm stucked with only the first two custom buttons. The third and the succeeding ones are not displaying on the web page.
Here is the config:
  - BUTTON_ORDER=ITTOOLS,PDFTOOLS,WEBCHECK,GLANCE
  # you can render an unlimited amount of custom buttons by adding
  # the CUSTOM_BUTTON_* variables and by using a comma as a separator.
  - CUSTOM_BUTTON_TEXT=IT Tools,PDF Tools,Web Check,Glance Dashboard
  - CUSTOM_BUTTON_URL=https://tools.domain.com,https://pdf-tools.domaincom,https://webcheck.domain.com,https://glance.domain.com
  - CUSTOM_BUTTON_COLOR=#000000,#000000
  - CUSTOM_BUTTON_TEXT_COLOR=#ffffff,#ffffff
  - CUSTOM_BUTTON_ALT_TEXT=SERVICES1,SERVICES,SERVICES3,SERVICE4
  - CUSTOM_BUTTON_NAME=ITTOOLS,PDFTOOLS,WEBCHECK,GLANCE
  - CUSTOM_BUTTON_ICON=fas link,fas link,fas link,fas link

Expected Result
It should display all custom buttons.
Additional Information
No response
Images
No response

I SOLVED IT!


Feacture/permissions

add student permission course students can only view the content of thier enrolled courses
add student permission quiz students can only view thier quizzes
add allow user permission student can't access teacher and teacher can't access student.

Add Some Permessions To accounts


[rancher/charts] Running make charts on packages with overlay leaves resources behind

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Run make charts on any chart that uses the overlay/ directory and then run make patch.
Result:
Files that were copied from overlay/ are left behind
Other details that may be helpful:
Files from overlay/ are cp -Red into the packages/<chart>/charts directory but never removed after the chart is generated.
https://github.com/rancher/charts/blob/69a912e5d84c9fb5ae259a24c05eaf330f3a2f1c/scripts/generate-charts#L8-L10
Need to just introduce a for loop (after Helm packaging) that loops through all files in the overlay/ directory and removes them and then runs rmdir * in order to delete all empty directories.

As noted in https://github.com/rancher/charts/pull/845, the quick fix to this issue introduces a bug in the push-to-assets-branch process that makes the generated charts/ directory not show the Chart version change + overlaid files.
Since the correct fix for this would be a non-negligible change to the current Bash scripts, I'm closing out this issue in favor of accomplishing this as part of https://github.com/rancher/rancher/issues/28730#issuecomment-697596235


concurrent: options

Although in most cases you would want to use --kill-others-on-fail, I fell in a situation where I would prefer if it was off.
Also concurrently has some other options like --no-color, --raw, and --allow-restart which I believe should be toggleable in an options object sent as a second argument to .concurrent.

I needed this as well to get nps-utils to play nicely with my scripts. Here's a workaround I built:
/**
 *  @type {(...additionalFlags: string[]) => (...scripts: string[]) => string}
 */
const concurrentNpsWithFlags = (...additionalFlags) => (...scripts) => {
  const [
    // this should be `node`
    nodeCall,
    // this should be the path to the `concurrently` executable
    concurrentlyExec,
    // these are all the remaining flags, along with the commands
    ...flagsAndCommands
  ] = npsUtils.concurrent.nps(...scripts).split(' ');

  return [nodeCall, concurrentlyExec, ...additionalFlags, ...flagsAndCommands].join(' ');
};

// example of usage
concurrentNpsWithFlags('--success first', '--kill-others')('command1', 'command2');

I initially wanted to raise a PR, but didn't know the best way to let concurrent.nps expose arguments for concurrently. The problem is that it expects all of its arguments to be scripts.


How to resolve an error: 'seconds' is inaccessible due to 'internal' protection level?

When I try to call
Jobs.oneoff(delay: 10.seconds) { }
it shows an error:

'seconds' is inaccessible due to 'internal' protection level

How to resolve this?

I found I could simply use
.seconds(10)


Incorrect computation of probe packet size results in incorrect send rate when bandwidth (-B) option specified

As of late I've been trying to use -B to properly constrain our large scans.
https://github.com/zmap/zmap/blob/master/src/send.c#L139-L164 looks to be the code that converts the desired bandwidth into the appropriate scan rate given the probe/packet size.
I see a few bugs here:

https://github.com/zmap/zmap/blob/master/src/send.c#L144-L146 is adjusting the size of the probes that are less than 84 bytes to exactly 84 bytes for unknown reasons.  My best guess is that this is some sort of word-alignment trick that worked well for TCP but doesn't work with other protocols.  In general this will make for inaccurate calculation of the packet send rate.  When the actual probe is less than 84 bytes, the scan rate will be lower than expected.  This affects TCP syn scans and smaller UDP studies, at least.
https://github.com/zmap/zmap/blob/master/src/send.c#L140-L142 converts the modules specified/compute packet length from bytes to bits.  The problem is that not every module sets packet_length the same way.  For example, UDP probes compute this as ethernet + IP + udp + udp payload (14 + 20 + 8 + N) in one location (https://github.com/zmap/zmap/blob/master/src/probe_modules/module_udp.c#L267-L269), but and just 1 in another (https://github.com/zmap/zmap/blob/master/src/probe_modules/module_udp.c#L877), making the calculations for bandwidth constrained UDP studies possibly inaccurate.  Contrast this with TCP, which correctly sets it to 54 (https://github.com/zmap/zmap/blob/master/src/probe_modules/module_tcp_synscan.c (https://github.com/zmap/zmap/blob/master/src/probe_modules/module_tcp_synscan.c#L169)

After letting this sit for some time and recently revisiting it, I'm going to close this and reopen a new issue with more relevant and perhaps actionable bugs.


TIM-49 feat(events): add event form submission and cleanup

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#102  👈
#101
#100
#99
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @xdjeremy and the rest of your teammates on  Graphite


FreeRDP clipboard issue

Hi,
I have a trouble to make copy-paste on connecting server.
Connecting from Ubuntu 14.04 to CentOS 7.
xfreerdp /v:hostname /u:username /d:domain +clipboard
With mouse select an text in connected machine, make copy... the xfreerdp crashed with errors:
[11:46:32:730] [666:667] [INFO][com.freerdp.client.common.cmdline] - loading channel cliprdr
[11:46:55:978] [666:668] [ERROR][com.freerdp.channels.cliprdr.client] - Invalid short format list length: 24
[11:46:55:978] [666:668] [ERROR][com.freerdp.channels.cliprdr.client] - cliprdr_process_format_list failed with error 1359!
[11:46:55:978] [666:668] [ERROR][com.freerdp.channels.cliprdr.client] - cliprdr_order_recv failed with error 1359!
[11:46:55:978] [666:667] [ERROR][com.freerdp.core] - cliprdr_virtual_channel_client_thread reported an error. Error was 1359
[11:46:55:978] [666:667] [INFO][com.freerdp.client.x11] - Network disconnect!
[11:46:55:978] [666:667] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor
Any idea?
Thx

@Olmer1st what version of FreeRDP are you using?

This is FreeRDP version 2.0.0-dev (git bd7ed27)
Compiled from git

@Olmer1st can you add what host system you are connecting to with xfreerdp?

From Ubuntu 14.04   to CentOs 7

@Olmer1st let me rephrase this what server are you connecting to? xrdp? VirtualBox?

xrdp

Hi,
any idea?

@Olmer1st would you mind trying with a master nightly build to see if the problem is still present upstream (14.04 is... well... old)

@hardening Done. Same behavior.

Ok so it seems like xrdp violates the spec in another different way than mstsc and rdpsh (see code to understand)

Please note,  it's not happens in version freerdp 1.1.
That mean this bug started from freerdp 2.0....

Well you says bug, I'd say we're doing more checks. So a malicious server can not trick us.

wfreerdp.exe (master I got yesterday, built locally with VS2015) was used to connect from Windows 10 to Windows 2012R2:
"wfreerdp.exe /v:" : clipboard doesn't work
"wfreerdp.exe /v: +clipboard" : clipboard works from the target to the host only. Doesn't work other way.
Clipboard was used to copy plain text from notepad to notepad.

@spimenov your issue is not related to this one.

@hardening  How I can help you? Additional tests?

@Olmer1st you could probably also report the bug to the xrdp team, as short formats length is supposed to be a multiple of 36.

As I see xrdp teem not so responsive. Might be it can be resolved from your side? Currently I can't work remotely... Or I should disable clipboard synchronization or install older version of FreeRDP, which have other clipboard issues....

@Olmer1st I haven't had time to look into this issue in detail yet. However if it is a protocol violation or implementation problem as @hardening stated I don't think it's a good idea to implement a work around for a specific server.

@bmiklautz Thanks. Anyway something changed between versions of FreeRDP. xrdp not changed... :(

@Olmer1st as described above haven't looked into the details.. but we did a lot of code hardening and added many protocol checks..

I will have a deeper look.
@bmiklautz BTW we're already doing a lot of workaround for ms servers (with violation of their own protocols), so I think we could add one for xrdp...

@hardening Thanks!

@hardening I don't disagree with you on that but usually they all "violate" the protocol in the same way as in it's not documented properly ;)

Hi again,
Anew news about the issue?
Thanks

Hi,
Any news?
Thanks

@Olmer1st no one has yet looked into it. As this doesn't happen when using FreeRDP against Microsoft servers this isn't high priority at the moment. But be assured it isn't forgotten ;)

FWIW, this issue is referred to from https://issues.apache.org/jira/browse/GUACAMOLE-1028, which deals with Guacamole disconnections, that seem to exhibit the current issue.


Support for OV7675 camera module

@tensorflow/micro
System information

Host OS Platform and Distribution: Windows 10
TensorFlow installed from (source or binary): not applicable (using the Arduino_TensorFlowLite installed from the Arduino IDE)
Tensorflow version (commit SHA if source): Arduino_TensorFlowLite. 2.4.0-ALPHA
Target platform (e.g. Arm Mbed OS, Arduino Nano 33 etc.): Arduino Nano 33 BLE Sense

The image provider source file for the person detection example under TFLite Micro, extends support only for the ArduCam camera module OV2640.
Can the support be extended to camera module OV7675, since the TinyML starter kit contains this camera module?
Meanwhile, I made the following updates to hopefully get it up and running, but without any success:
File: Arduino\libraries\ArduCAM\memorysaver.h
Updates:

Uncomment #define ARDUCAM_SHIELD_V2
Uncomment #define OV7675_CAM

File: Arduino\libraries\Arduino_TensorFlowLite\examples\person_detection\arduino_image_provider.cpp
Updates:

LOC 54: Replace OV2640_MINI_2MP_PLUS with OV7675_CAM
LOC 65: Replace OV2640 with OV7675

Upon uploading the compiled software to the microcontroller, the camera initialization fails with the following error:
Can't communicate with Arducam
I assume the registers are different for the OV7675 as compared to OV2640 and the arduino_image_provider.cpp needs to be updated with the correct register information.
Could you please provide me a solution to this issue?
Thank you.

I am facing the same issue.
Are there any updates regarding the support of the TinyML starter kit with the OV7675?

Hi @narvekarnm !
We are checking to see whether you still need help in this issue . Have you checked this document   which includes instructions for OV7675 too.
Please check the examples from tflite-micro-arduino repo and let us know.
Thank you!


LS: Collect modules for files inside refresh_file_diagnostics

Stack:

#6590
#6589 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is


Memory fields not working on information page when charts are disabled

Screenshot:

Sounds like very possible issue. I will take a look and fix it upon next release.

Confirmed and will be fixed in 17.01!


V9.4.0  Error: Cannot have two HTML5 backends at the same time.

Describe the bug
Although the new version has been fixed this issue in #1422 .
But I still  found has this problem .Maybe ignore some situation?
Look like this https://nexxluo.github.io/tablex/doc-draggable-index.
I try to click the menu more time, it throw this problem.
There is a gif image below, maybe it is slow, wait patiently...

OS: windows 10
Browser : chrome 77.0
Version : 9.4.0

I am also having same issue.

I solved it with this way.
     <DndProvider backend={HTML5Backend} context={window}></DndProvider>

I solved it with using  window context.

I am also having same issue.

I solved it with using window context.

Thanks! Why it can works? Are there any documents about this?
我遇到了相同的问题，用这个方法解决了，但是为什么它能生效呢？有相关文档吗？


Not passing -std=c++11 to flycheck

I am using cmake-ide in a c++11 project and flycheck is giving me lots of errors. I run flycheck-compile with c/c++-clang and I was able to see that the argument -std=c++11 was missing. I copied the exact line and executed from the console passing this parameter and it reported no errors. I review a little the code of cmake-ide and I found that the only parameters that are captured are the includes -I, -include, -isystem and the definitions -D. I think that there are lots of other parameters that are importan to pass to the compiler such us: -std, the -f* and the -W*.

It does, in a way. Since there's no way to know what flags users need in totality, and the fact that system headers are in different locations, all flags you want to include should be specified in cmake-ide-flags-c++ and cmake-ide-flags-c variables. For instance, I personally use -std=c++1y instead of c++11, how would cmake-ide know which one to use?
Here's what I have in my own init.el:
(cmake-ide-setup)
(setq cmake-ide-flags-c++ (append '("-std=c++1y")
                                 (mapcar (lambda (path) (concat "-I" path)) (c++-include-paths))))
(setq cmake-ide-flags-c '("-I/usr/include"))

The c++-include-paths function calls gcc -v -xc++ /dev/null -fsyntax-only and massages the result in elisp. Those -I flags must be set in the aforementioned cmake-ide variables for autocompletion to work correctly. It's explained in the README under "Usage".


Update cats-effect to 2.3.0

Updates org.typelevel:cats-effect from 2.2.0 to 2.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-minor

Codecov Report

Merging #141 (349ccd9) into master (eff0b12) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   71.59%   71.59%
=======================================
  Files          12       12
  Lines         426      426
  Branches       21       21
=======================================
  Hits          305      305
  Misses        121      121

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 eff0b12...349ccd9. Read the comment docs.


Jump to newer tokio-postgres:replication code, handle keepalive messages

Fixes #30.
The upstream PR has evolved a lot; jump to the latest version and make the required local changes to match.
Add code to handle keepalive messages.
The LSN values sent may need to change in the future. Currently we send:

write_lsn <= page_cache last_valid_lsn
flush_lsn <= page_cache last_valid_lsn
apply_lsn <= 0

As mentioned here, it would be nice to be able to send the same standby_status_update message on demand at other times. I haven't looked at that yet.

I also haven't worked out how to test this code. Running against a real postgres server doesn't give us a very deterministic test. I'm not sure how hard it would be to build a deterministic mock server, but if others like the idea I could give it a try.


Setting cursor position no longer works

In the example notebook, there is a cell to do w.cursor = 'top' to move X/Y/RA/DEC/Value display to the top of the image display. It used to work but no longer does (at least it has no effect when tested on Windows 10). Will have to check to see if it is also broken on *nix. Or maybe because I tested in on Firefox but now I am using Chrome? :thinking:
Update: Also does not work on Windows 10 using Firefox.
Update: Also no longer works on RHEL 7 using Firefox.

So, here is what is happening now... This in core.py used to work when the widget class used to be in the notebook itself. But now it does not work anymore.
    def _repr_html_(self):
        """
        Show widget in Jupyter notebook.
        """
        from IPython.display import display
        return display(self._widget)

For cursor position to update properly, instead of calling w in the notebook, one needs to call display(self._widget) instead, which is not very elegant. @mwcraig , any ideas?


Shopify payment transaction

I was just wondering if this gem has Shopify payments transaction API call.
I am not talking about order transactions like the one here "https://github.com/Shopify/shopify_api/blob/master/test/transaction_test.rb"
I am referring to "https://help.shopify.com/en/api/reference/shopify_payments/transaction" which also has fee as well.

Hi,

1 on that.