How to make the HubConnection automatically reconnect after disconnect

Hi,
The HubConnection will disconnect if, say, I switch from WIFI to a cellular network.
This is fine, however it would just be useful if it automatically reconnects over the cellular network.
At the moment I listen for disconnect callbacks (connectionDidClose) and invoke a timer which attempts to open a new connection every 3 seconds, on successful connection the timer is invalidated.
However this is not quite the solution I'm looking for.
I am hoping that I am missing a simple flag that I can toggle on to enable reconnection on disconnect.
If this is against the design of the client then not to worry.
If there is a better way about going about this your suggestions would be greatly appreciated.
Kind regards
Ben

Unfortunately automatic reconnect is not currently supported. I have been planning to implement this for a while but am super busy at the moment. I hope to get back to this in some time.

The code in the reconnect branch is close to be ready.

Hey @moozzyk when do you think you will be able to finish this feature?

I was fixing outstanding issues I found in the meantime. I just merged the branch to master and am planning to release it soon.

Found a couple more issues when testing end-to-end that need to be fixed.

Version 0.7.0 on Cocoapods now has support for reconnects. Reconnect is disabled by default - you can enable it by using .withAutoReconnect() method on the HubConnectionBuilder. I updated examples to use reconnect here: 15e489979ee13b33c3f903a9e499544a94cc3125

.withAutoReconnect() doesn't use the given accesstoken to refresh. => 401 when trying to refresh the connection.
In the docs about accessTokenProvider I read "The factory will be called before each http request and will set the Authorization token value to: Bearer { token-returned-by-factory } unless the returned value is nil in wich case the Authorization header will not be created."
Yet, that doesn't happen on refresh...

@jaradeprest - can you open a new issue and provide a repro? I looked at the code and it should not happen - i.e. accessTokenProvider should be called each time before sending any request to the server.

i tried to renew token then create instance of HubConnection again, then start event i know it's not best solution

public init(url: URL, _ vc : UIViewController? = nil) {
        self.vc = vc
        self.url = url
        self.startSignalr()
    }

    public func startSignalr(_ delay : Double = 0){
        DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
            let appDelegate = UIApplication.shared.delegate as! AppDelegate
            appDelegate.renewToken {
                self.connection = HubConnectionBuilder(url: self.url!)
                    .withHttpConnectionOptions(configureHttpOptions: { (httpConnectionOptions) in
                        let token = UserDefaults.standard.string(forKey: TOKEN)
                        httpConnectionOptions.accessTokenProvider = { return token}
                    })
                    .withHubConnectionDelegate(delegate: self)
                    .withLogging(minLogLevel: .error)
                    .build()

                self.connection?.on(method: "NotifyJsonStr", callback: { response in
                    do{
                        let temp = try response.getArgument(type: String.self)
                        let jsonResponse = NWUtils.shared.convertToDictionary(text: temp)
                        NotificationCenter.default.post(name: Notification.Name(NOTIFICATION_MESSAGE_CHANNEL), object: jsonResponse)
                    }catch{
                        print("SignalRService error  \(error)")
                    }
                })

                self.connection?.start()
            }
        }
    }

when connection failed im only call
self.startSignalr(4)

I just tested and verified that the accessTokenProvider method is being called on reconnect. If you are not seeing this please open a new issue and provide a repro.

ok i will open new issue for this


Cannot read property 'nextSibling' of null when wrapper.unmount

const Comp = defineComponent({
        setup(p: any, { slots }: any) {
          return () => slots.default && slots.default()
        }
      })

      const Demo = {
        setup() {
          return () => (
              <Comp>
                <MyComponent />
              </Comp>
          )
        }
      }

      const wrapper = mount(Demo)

      wrapper.unmount()

run this will cause: Cannot read property 'nextSibling' of null
but if I change Comp to
const Comp = defineComponent({
        setup(p: any, { slots }: any) {
          return () => h('div', slots.default && slots.default())
        }
      })

it works fine

Can you share repository where I can reproduce this? It looks like it's using JSX. Is JSX even stable with Vue yet 🤔
I tried this out and it works fine for me. Your first example does give a warning:
[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.
      at <Anonymous>
      at <App ref="VTU_COMPONENT" >
      at <VTUROOT>

But it is still rendering correctly.

@Jokcy need a reproduction to debug this more. If you have one, please post it, and I will reopen this. Until then I cannot find the problem, so I'll close it off.


Function g_realloc causes false positive

Following code causes false positive:
https://github.com/master-q/practice-infer/tree/e7bf49199c130bf670f4a91f99a6fd62b9334176/g_malloc
The result is following:
$ make verify
infer -- gcc `pkg-config glib-2.0 --cflags` -c main.c
Infer version v0.9.4-e757d92
Copyright 2009 - present Facebook. All Rights Reserved.
Starting analysis (Infer version v0.9.4-e757d92)

legend:
  "F" analyzing a file
  "." analyzing a procedure

F..
Analyzed 1 file

Found 2 issues

main.c:16: error: MEMORY_LEAK
   memory dynamically allocated to f.p by call to g_malloc() at line 15, column 8 is not reachable after line 16, column 2
  14.           struct foo f;
  15.           f.p = g_malloc(sizeof(int));
  16. >         set_foo(1, &f);
  17.   }
  18.

main.c:9: error: NULL_DEREFERENCE
  pointer f->p last assigned on line 8 could be null and is dereferenced at line 9, column 2
  7.   void set_foo(int v, struct foo *f) {
  8.    f->p = g_realloc(f->p, 10*sizeof(int));
  9. >  f->p[0] = 9191;
  10.           g_free(f->p);
  11.   }
  12.

Summary of the reports

       MEMORY_LEAK: 1
  NULL_DEREFERENCE: 1

My Infer version is v0.9.4-e757d92.

Thanks for the report. These look like false positives indeed. Could you paste the result of
inferTraceBugs --select 0 --max-level max
inferTraceBugs --select 1 --max-level max

so we can see why infer thinks that way? It looks like we already model the fact that these functions should always succeed if the size is non-zero: https://github.com/facebook/infer/blob/16010adab4c43114f1ff5f3a01ff634376dbb9ee/infer/models/c/src/glib.c#L18

Is this?
$ pwd
/home/kiwamu/src/practice-infer/g_malloc
$ inferTraceBugs --select 0 --max-level max
main.c:16: error: MEMORY_LEAK
   memory dynamically allocated to f.p by call to g_malloc() at line 15, column 8 is not reachable after line 16, column 2
Showing all 3 steps of the trace

main.c:13: start of procedure main()
11.   }
12.
13. > int main() {
14.     struct foo f;
15.     f.p = g_malloc(sizeof(int));
16.

main.c:15:
13.   int main() {
14.     struct foo f;
15. >   f.p = g_malloc(sizeof(int));
16.     set_foo(1, &f);
17.   }
18.

main.c:16:
14.     struct foo f;
15.     f.p = g_malloc(sizeof(int));
16. >   set_foo(1, &f);
17.   }
18.

$ inferTraceBugs --select 1 --max-level max
main.c:9: error: NULL_DEREFERENCE
  pointer f->p last assigned on line 8 could be null and is dereferenced at line 9, column 2
Showing all 3 steps of the trace

main.c:7: start of procedure set_foo()
5.   };
6.
7. > void set_foo(int v, struct foo *f) {
8.      f->p = g_realloc(f->p, 10*sizeof(int));
9.      f->p[0] = 9191;
10.

main.c:8:
6.   void set_foo(int v, struct foo *f) {
7.      f->p = g_realloc(f->p, 10*sizeof(int));
8. >    f->p[0] = 9191;
9.      g_free(f->p);
10.

main.c:9:
7.   void set_foo(int v, struct foo *f) {
8.      f->p = g_realloc(f->p, 10*sizeof(int));
9. >    f->p[0] = 9191;
10.     g_free(f->p);
11.   }
12.

hi,
I had a look to the problem.
The problem is that infer makes at some point a wrong assumption that 10*sizeof(int) could be zero.
This implies that g_realloc will return zero, and at line 8 we dereference null.
Given this problem, the functon set_foo won't get a specification and when it is called at line 10,
infer doesn't know what set_foo does, and in particular that it free f->p. So it will flag a memory leak.
So, I'm gonna look why infer thinks that 10*sizeof(int) may be zero.
Dino

This has now been fixed

For reference: bd216f320566dab07756c8a2852e3dee43c07c19


Defined symbols undefined

In https://github.com/OpenLogicProject/OpenLogic/blob/9446c034826702d2dac85c052c6aeab641f20a87/content/first-order-logic/syntax-and-semantics/first-order-languages.tex#L92 we mention defined symbols but don't actually define them. This is hard since every definition depends on what primitives are available, but we can offer some common definitions.

Nvm they are in the next section lol


Build Your Mobile Development Kit Client Using MDK SDK

Tutorial URL: https://developers.sap.com/tutorials/cp-mobile-dev-kit-build-client.html
Hello,
While performing step 4 the create -client command closes unexpectedly after a certain step and I am not able to get "Application ready" Message in step 4.2. Command window closes after following:

After that I can see the project created though I am not sure all the artifacts are generated successfully.

If I perform step 5 I get lots of errors and the app is not working on the device. I am thinking it might be because the app is not created successfully. Please let me know if any more information is required. Any help will be appreciated as we need to perform similar steps on Asset manager app.
Thanks,
Shubham

@shubhchamp could you look at this SAP Note and try if this solves your issue?
https://launchpad.support.sap.com/#/notes/2965176

@jitendrakansal Thanks for pointing. This works. Closing this issue.


runelite: log client and launcher versions

Having the version number in the log allows readers to link it to that client version, instead of having to guess what version of the client it is based on when it was receive.
Launcher option is there for convenience, but that could be in the Launcher itself.

You could place this even before building the injector which would let it show up in the logs if the injector building fails.


Motor Controller Reset Required - Error Checking

When motor controller is already powered by the NXT brick, sometimes a power reset (OFF, wait 2 sec, ON - main robot power) is required for the brick to recognize the motor controller.

Question to answer after Connally: are we going to attempt to re-implement this?

I think it should  be on the list.  Whether or not we do it depends on
what else is on the list :-).
On 01/30/2015 02:34 PM, Arthur Pachachura wrote:

Question to answer after Connally: are we going to attempt to
re-implement this?
—
Reply to this email directly or view it on GitHub
https://github.com/lasarobotics/FTCLibs/issues/7#issuecomment-72265864.


added peer review comments - KO

Hi Shaina and team!
I have added some comments throughout the RMD, but I really didn't have too many because I thought it was really well done!
There were so many strengths in your script, but one thing that really stood out was the clarity of descriptions, in the beginning, of very complex topics like map/map2 and walk/reduce/modify! I also thought it was very helpful that you explained the data and exactly what you were doing in every step, it made it easy to follow. The code was clean and I appreciated the overall organization of the tutorial .
I have never seen the argument "recursive = TRUE" and found that interesting! I typically just use the default settings when I use 'c'.
My only concern was that I was unable to run the code chunk "nest-mutate1" starting on line 298. I get the error that "pivot_longer" could not be found. I see online that it's a part of the tidyverse/tidyr package but it still won't run for me.
It was a pleasure to review your script!
Karlena
@datalorax

Really nice review, Karlena! I actually think your point about using head so 1000 rows don't get printed is really important!
For the pivot_longer part, you'll need to update tidyr and then it should work. It might only be available in the dev version though? Not sure...
I like your comment on the placement of the pipe operator description too.


Controllers appearing paired then unpairing

I got 1 of my 2 controllers to pair but when it does decide to connect it just kinda blips out after a second and doesn't even light up. I'm using the newer model of controller with the micro port. The log keeps showing these messages:
PSMoveController::close - Closing PSMoveController(\?\hid#vid_054c&pid_0c5e&col01#7&16447b7a&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030})
AsyncBluetoothPairDeviceRequest - Bluetooth device matching the given address is the expected controller type
AsyncBluetoothPairDeviceRequest - Already authenticated.
ServerRequestHandler - Async bluetooth request([Pair] ID: 0 Conn: 0) Canceled.
ServerRequestHandler - Async bluetooth request([Pair] ID: 0 Conn: 0) failed!
DeviceTypeManager::update_connected_devices - Closing device 0 (PSMove) since it's no longer in the device list.
WorkerThread::stop - Stopping worker thread: PSMoveSensorProcessor
WorkerThread::stop - Worker thread stopped: PSMoveSensorProcessor
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent
I'm using an atheros bluetooth+wi-fi card in a pcie-x1 slot, I read that the specific bluetooth adapter used matters so I hope that's not the issue. The libusb message is the most persistent and might be the root of the problem.

Update: One of the controllers is now successfully paired and works perfectly, the other is still having the same issue. They are both reporting as id.0 and I've tried un-pairing through windows and re-pairing but it still self reports as id.0 and disconnects.

Update: I reinstalled the service and swapped to the updated admin.exe file and it fixed the issue. I'm unsure why this resolved the problem but everything is working now.


THUDM/cogvlm2-llama3-caption VRAM requirement OOM

Feature request  / 功能建议
I want to create video captions for my video dataset. Based on the page "https://huggingface.co/THUDM/cogvlm2-llama3-caption" which seems to be an excellent choice. However, it appears that this model requires a large amount of VRAM?  I am using an A5000 (24GB VRAM). How much VRAM does this model require? Are there alternative models for video captioning that I can run on an A5000?
Motivation / 动机
give suggestions and solution
Your contribution / 您的贡献

The model cannot run with BF16 precision in a VRAM of 24G. You should run it on a GPU with more than 28G of GPU Memory

Thanks for your confirmation! What I can modify to make this model run in a VRAM of 24G ? according to the example of HF, there is one option quant, but when I use python3 example.py --quant 4 , it does not work


Fixed a bug on load depended plugins.

Depended plug-ins are not fire on_source event correctly.
For example, the following .vimrc provides only b : sourced.
set nocompatible
let s:dein_dir         = expand('$HOME/.cache/nvim/dein')
let s:dein_repo_dir    = s:dein_dir . '/repos/github.com/Shougo/dein.vim'
execute 'set runtimepath^=' . s:dein_repo_dir

call dein#begin(s:dein_dir)
call dein#add('Shougo/dein.vim')
call dein#add('tomasr/molokai',  {'name' : 'a', 'depends' : 'b'})
call dein#add('w0ng/vim-hybrid', {'name' : 'b'})
call dein#add('mhinz/vim-janah', {'name' : 'c', 'depends' : 'b'})

if dein#tap('a') "{{{
  function! s:fa()
    echomsg 'a : sourced'
  endfunction
  execute 'autocmd User' 'dein#source#'.g:dein#name
        \ 'call s:fa()'
endi "}}}
if dein#tap('b') "{{{
  function! s:fb()
    echomsg 'b : sourced'
  endfunction
  execute 'autocmd User' 'dein#source#'.g:dein#name
        \ 'call s:fb()'
endi "}}}
if dein#tap('c') "{{{
  function! s:fc()
    echomsg 'c : sourced'
  endfunction
  execute 'autocmd User' 'dein#source#'.g:dein#name
        \ 'call s:fc()'
endi "}}}
call dein#end()

" vim: foldmethod=marker

There were several bugs in util.vim.

Function s:load_depends doesn't store sourced plug-ins in source list of _end.
We can't continue in 24th line of _end (it doesn't add the plugin yet).
We can't return in 10th line of s:load_depends.

Thanks.  But your solution seems be slow.   I cannot accept it.
I have fixed the problem.  Please test it.
If the other problem exists, please create new PR.


Limit Orders

Limit orders in UI if price > or < a number and maximum amount of money you're willing to spend for buy, max shares to sell for sell then enter limit orders in actual chain.
Talk to me when you wanna implement this and I'll explain
Also add stop orders.

API support added in AugurProject/augur.js@47544f1e3e0f2b6d78cc12c356841e7689acd3f4.

Stop orders added in e1d3550e509acbfac5d323b399168d03c21e3a00.  Moving Limit Orders to separate issue.


fix: fck privat. new transfer type

Codecov Report
Attention: Patch coverage is 83.54430% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 45.97%. Comparing base (2ff8233) to head (c53e07b).
Report is 11 commits behind head on master.

Files
Patch %
Lines

pkg/parser/parser.go
83.54%
8 Missing and 5 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   44.05%   45.97%   +1.91%
==========================================
  Files           6        6
  Lines        1085     1142      +57
==========================================
+ Hits          478      525      +47
- Misses        540      547       +7
- Partials       67       70       +3

Flag
Coverage Δ

unittests
45.97% <83.54%> (+1.91%)
:arrow_up:

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

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


[mesheryctl] fix the panic issue in system config minikube command

Description
mesheryctl system config minikube -t <> fails with the below panic issue:
panic: interface conversion: interface {} is nil, not string
This is happening due to incorrect key "contextName" being used to fetch the context name.
Changed it to fetch using the correct key "name".
This PR fixes #5385 #4592
Notes for Reviewers
GETCONTEXTS API is returning single context, even though kubeconfig.yaml has multiple contexts.
This needs to be looked into further.
Signed commits

[ ] Yes, I signed my commits.

Signed-off-by: Hussaina Begum Nandyala<EMAIL_ADDRESS>

Codecov Report

Merging #5402 (bbf480a) into master (84c477b) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5402      +/-   ##
==========================================
- Coverage   17.47%   17.46%   -0.02%
==========================================
  Files         107      107
  Lines        9882     9888       +6
==========================================
  Hits         1727     1727
- Misses       7733     7739       +6
  Partials      422      422

Flag
Coverage Δ

gointegrationtests
5.99% <0.00%> (-0.01%)
:arrow_down:

unittests
13.15% <0.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/config.go
5.68% <0.00%> (-0.21%)
:arrow_down:

Continue to review full report at Codecov.

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

minor lint error

@hexxdump I have opened up this issue as a follow up - https://github.com/meshery/meshery/issues/5408

@cpepper96


maxDistance and minDistance

main change
add the minDistance and maxDistance to keep the distance between two point.

other change

move the minLabel, maxLabel to public (I think some people need to change the font or size etc.)

move the leftHandleSelected, rightHandleSelected to public (need the property to check the value change by user's touch or not)

move the leftHandle, rightHandle to public

Hey!
Thank a lot for your PR. I do genuinely really appreciate PRs and people helping out! I've added a comment with some thoughts. I think the min and max value properties is a great idea.
However I'm not too sure about making the other properties public though. I think it would be better if people need to set fonts or selected values etc. to expose methods to do this work rather than the actual properties themselves?

ok, thank you for your review. I will modify code and pull request again : )

Hi, I did some change about property and refresh method.
But the duplication in these two blocks, I am not sure how to reduce it.
Do you have any suggestion?

Hey!
Thanks for looking at this again.
Can I suggest that maybe we ignore the extra properties for now? Theres a few potential issues I think I can spot by looking at the code (although admittedly I haven't run it yet) regarding for example

minLabelText and maxLabelText properties, if we set those they will get overwritten when the slider position changes.
leftHandleFrame and rightHandleFrame should be readonly seeing as setting them does nothing, this could be confusing to people. I'm also not sure what need people would have for getting the actual frame of the left and right handle?
I like the idea of being able to change the font! Although I'm not sure why you need the bridge when setting it? (this might be my ignorance, sorry if so!). Also maybe it would be better to have those as a single property, I'm not sure why people would need to have different fonts for each label?

Sorry if I'm being overly critical but I want to make sure things are right before doing any merges that could break or complicate things. Thats why I think it might be best to leave those out for now, and concentrate on just the max and min distance properties? Then we could add the other ones later.
Also there's a few times where I think your IDE has added spaces on  blank lines (like 154, 189 etc.) Would you mind taking them out so it cleans up the diff?
Regarding the code for min and max distance, what you wrote is pretty much right really. I just thought you could move the diff calculation out of the conditionals, and I'm not sure you need the offset stuff? Although correct me if I'm wrong! Something like this (which still has some duplication but its definitely a balance for readability :D) :
 float diff = self.selectedMaximum - self.selectedMinimum;
    if (minDiff > 0 && diff < minDiff){
        if (self.leftHandleSelected){
            _selectedMinimum = self.selectedMaximum - minDiff;
        } else {
            _selectedMaximum = self.selectedMinimum + minDiff;
        }
    } else if (maxDiff > 0 && diff > maxDiff){
        if (self.leftHandleSelected){
            _selectedMinimum = self.selectedMaximum - maxDiff;
        } else {
            _selectedMaximum = self.selectedMinimum + maxDiff;
        }
    }

Sorry again for being picky and thanks for your work!

Hi,
It's ok.  Thank you for your review. And I worry that waste your time to review. :-)
If drag the right handle and over the maxDistance.
In your code, the right handle will stop and can't to move. You need move the left handle first.
In my code,  the left handle will shift to keep the maxDistance.
I'm not sure which one is better for user experience.  What do you think?
As you say, focus on the minDistance and maxDistance.
So I have remove the other code, keep the minDistance and maxDistance.

Ah, I see. Yeah I didn't think about moving the other slider to maintain the distance. That's a pretty good idea!
Ok this looks good now :-) I'll merge it! Thanks again!

Hi,
So what is your choice about minDistacne and maxDistance code? if you need, I can change the code again.
And I forgot one thing. You are right that people wouldn't need to have different fonts. I will add the code to change font for two label. Thank you : )

It's up to you, you're welcome to change the code again if you have the time :-) Just submit another PR


Winget configuration "PSDscResources/Script" error when running "code --install-extension"

Brief description of your issue
When using Winget configuration,  a PSDscResources/Script resource generates an error when running code --install-extension when the extension is not installed.   Even though the warning is generated, the vscode extensions do get installed.
Steps to reproduce

Ensure the required VSCode extensions are uninstalled.

Create a YAML DSC file, for example:

# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
  resources:
    - resource: PSDscResources/Script
      id: myAppConfig
      directives:
        description: Configure My App
        allowPrerelease: true
      settings:
        GetScript: |
          # Your custom PowerShell code to check app configuration
        TestScript: |
          return $false
        SetScript: |
          # PowerShell script commands to install VSCode extensions
          code --install-extension jebbs.plantuml
          code --install-extension yzhang.markdown-all-in-one
  configurationVersion: 0.2.0

Execute WinGet, for example:

winget configuration C:\tmp\dev-machine.dsc.yaml

Expected behavior
The VSCode extentions get installed with no warnings
Actual behavior
The following error is generated

Environment
Windows Package Manager (Preview) v1.7.2782-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2506
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.2782.0

I attempted to get a "clean" reproduction using Windows Sandbox. I got this error when running the configuration from a clean state without Visual Studio Code being installed. It looks like the environment variable for the path to "code.exe" hasn't been applied before running the script resource.

If I close and reopen PowerShell and run the same configuration again (with Visual Studio Code now in the path), I do get the error you reported from the image above.
I put all 3 attached files (you'll need to unzip them) in my "C:\Sandbox" directory and then ran winget configure C:\Sandbox\sandbox.dsc.yaml.
Note: You may need to unblock one or more of the files due to the Mark of the Web being applied.
@SteveL-MSFT do you have any ideas on this exception?
3887.dsc.zip

It looks like that is actually coming from VSCode or the extension itself, and not related to the Script resource.

Running $LASTEXITCODE returns a 0, so that's just a warning.

I updated the configuration to refresh the environment variables for path, and got it to work on the first run without VSCode installed.
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2

###############################################################################
# Attempting to reproduce https://github.com/microsoft/winget-cli/3887        #
###############################################################################

properties:
  resources:
    - resource: Microsoft.WinGet.DSC/WinGetPackage
      id: VSCode
      directives:
        description: Install Visual Studio Code
        allowPrerelease: true
      settings:
        id: Microsoft.VisualStudioCode
        source: winget
    - resource: PSDscResources/Script
      dependsOn:
        - VSCode
      id: myAppConfig
      directives:
        description: Configure My App
        allowPrerelease: true
      settings:
        GetScript: |
          # Your custom PowerShell code to check app configuration
        TestScript: |
          return $false
        SetScript: |
          # PowerShell script commands to install VSCode extensions
          $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
          code --install-extension jebbs.plantuml
          code --install-extension yzhang.markdown-all-in-one
  configurationVersion: 0.2.0

This issue isn't related to WinGet Configuration or the "PSDscResources/Script" DSC Resource, so I'm closing it here. I'd suggest trying to isolate the issue either to VSCode or the extension itself.

Here is a video of the repro (sped up considerably):

Thank you Demitrius for looking into this, think it is definitely an issue with VSCode rather than the actual extensions.

@PShipstone is this for a project configuration at GitHub or just a personal configuration?


Bug?: ImagePickerSheetView not working in tablet

Hi, I have the same code running on a Nexus 5 and a Nexus 7 and IntentPickerSheetView isn't working when I click over camera action or a picture. Someone has happened to this?
Thanks

You need to elaborate on what you mean by "isn't working"

Does it crash?
No op?
Video/screenshot?
Sample snippet of your code?
Where in the code is it failing?

Are you sure this is the IntentPickerSheetView? It sounds like you're describing the ImagePickerSheetView

Hi, thanks for your answer, my bad! Very poor description. I want to refere ImagePickerSheetView in deed. My problem is when sheet view is shown and the user has to pick one action (choose camera or select an image), the sheetview doesn't seem to react to on screen touch.
This is my code...
private void initSheetView() {         KLog.d();         sheetView = new ImagePickerSheetView.Builder(getActivity())                 .setMaxItems(10)                 .setShowCameraOption(createCameraIntent() != null)                 .setShowPickerOption(createPickIntent() != null)                 .setImageProvider(new ImagePickerSheetView.ImageProvider() {                     @Override                     public void onProvideImage(ImageView imageView, Uri imageUri, int size) {                         Glide.with(getActivity())                                 .load(imageUri)                                 .centerCrop()                                 .crossFade()                                 .placeholder(R.drawable.image_loading)                                 .into(imageView);                     }                 })                 .setOnTileSelectedListener(new ImagePickerSheetView.OnTileSelectedListener() {                     @Override                     public void onTileSelected(ImagePickerSheetView.ImagePickerTile selectedTile) {                         bottomSheet.dismissSheet();                         if (selectedTile.isCameraTile()) {                             dispatchTakePictureIntent();                         } else if (selectedTile.isPickerTile()) {                             startActivityForResult(createPickIntent(), REQUEST_LOAD_IMAGE);                         } else if (selectedTile.isImageTile()) {                             showSelectedImage(selectedTile.getImageUri());                         } else {                             genericError();                         }                     }                 })                 .setTitle(getString(R.string.action_choose_image))                 .create();     }
I need to say that the code isn't crashing, it just no react to users touch.

And this is only on tablets and not on phones? Also, can you breakpoint onTileSelected() and confirm whether or not the code there is being reached?

Sorry I just test it on my nexus 7 & my nexus 5. I can confirm that onTileSelected() is never reached.

Does the sample app work for you?

Yes it is working just fine, I'll check my code against this one to verify. Thank you!!

Hi, I checked all my code again and still don't have a clue why isn't working on my nexus 7, this is my code
`private void initSheetView() {
KLog.d();
sheetView = new ImagePickerSheetView.Builder(getActivity().getApplicationContext())
.setMaxItems(10)
.setShowCameraOption(createCameraIntent() != null)
.setShowPickerOption(createPickIntent() != null)
.setImageProvider(new ImagePickerSheetView.ImageProvider() {
@Override
public void onProvideImage(ImageView imageView, Uri imageUri, int size) {
Glide.with(getActivity())
.load(imageUri)
.centerCrop()
.crossFade()
.placeholder(R.drawable.image_loading)
.into(imageView);
}
})
.setOnTileSelectedListener(this)
.setTitle(getString(R.string.action_choose_image))
.create();
}
@Override
public void onTileSelected(ImagePickerSheetView.ImagePickerTile selectedTile) {
KLog.d();
bottomSheet.dismissSheet();
if (selectedTile.isCameraTile()) {
dispatchTakePictureIntent();
} else if (selectedTile.isPickerTile()) {
startActivityForResult(createPickIntent(), REQUEST_LOAD_IMAGE);
} else if (selectedTile.isImageTile()) {
showSelectedImage(selectedTile.getImageUri());
} else {
genericError();
}
}
`
When I debug it onTileSelected is never reach in my nexus 7, but it's reach in my nexus 5

A screen record of the issue would be helpful as well

And a demo project that I could actually clone and run myself. Your snippet might not expose other conditions in your app

Closing due to inactivity and lack of response with details


Profiler scrolling needs some work

Great first stab at the profiler extension. Thank you.

Azure Data Studio Version: 0.32.9

Steps to Reproduce:

Start Profiler session against Azure SQL DB.

There are some display issues:
The Text/Details tabs are partially obscured by the status bar.
Results don's show up in the grid until I select a different window and then switch back.
When popping up the Text/Details window, the results grid is covered by the new window. After re-sizing the window by dragging the splitter bar, the windows seem to work properly.
After resizing the app window, the Text/Details window doesn't size properly. Try reducing window height, then toggling display of the Text/Details window.
Got an error trying to stop or pause the trace.

I see. Apparently I have the pre-release version installed and it doesn’t upgrade to the release version.
Thanks for the tip. I’ll start using the new version.
Mike
From: Alan Ren<EMAIL_ADDRESS>Sent: Thursday, January 3, 2019 11:30 AM
To: Microsoft/azuredatastudio<EMAIL_ADDRESS>Cc: Mike Yeager<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/azuredatastudio] Profiler scrolling needs some work (#3644)
@MikeYeagerhttps://github.com/MikeYeager It seems you are not using the latest Azure Data Studio. We have made a lot of improvements to profiler extension, all the problems you described here have been fixed.
https://github.com/Microsoft/azuredatastudio/releases/tag/1.3.6
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/azuredatastudio/issues/3644#issuecomment-451233949, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGvJBaXQIpFXU-kneZLbtWOuX0mTVHBHks5u_kwygaJpZM4ZfklG.


pycache cotains bad .pyc files

Using buildout or easy_install with version 1.3.3 of django-rest-framework-csv does not work.
$ easy_install ./djangorestframework-csv-1.3.3.tar.gz
Processing djangorestframework-csv-1.3.3.tar.gz
Writing /tmp/easy_install-uIm5K5/djangorestframework-csv-1.3.3/setup.cfg
Running djangorestframework-csv-1.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-uIm5K5/djangorestframework-csv-1.3.3/egg-dist-tmp-rLRvvm
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/bin/easy_install", line 11, in
sys.exit(main())
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1909, in main
with_ei_usage(lambda:
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1896, in with_ei_usage
return f()
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1913, in
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 574, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
run_setup(setup_script, args)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 52, in
{'file':setup_script, 'name':'main'}
File "setup.py", line 86, in
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 232, in run
os.path.join(archive_root,'EGG-INFO'), self.zip_safe()
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 271, in zip_safe
return analyze_egg(self.bdist_dir, self.stubs)
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 407, in analyze_egg
safe = scan_module(egg_dir, base, name, stubs) and safe
File "/home/onjin/.virtualenvs/tmp-cace28362d13d1a3/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 438, in scan_module
code = marshal.load(f); f.close()
ValueError: bad marshal data (unknown type code)
After removing pycache folder everything works again

@mjumbewu, can you make a new release? The 1.3.3 is un-installable because of this issue. I have the go back to 1.3.0 from a year earlier.

Sorry that took so long everyone, but I just pushed a 1.3.4 relase to PyPI.


Dockge seems to overwrite compose file with previous values even after saving

⚠ Please verify that this bug has NOT been reported before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
I have a compose file for a service called "Tauticord".
In it i specify my discord server id via env variable. I edited that variable with new id in the dockge webui, and saved it. Then it shows the updated changes. But once i refresh the webpage, the changes are reverted and it starts showing old value.
Now the weird part is, the reverted changes are only in the webui of dockge. If i go and manually check my compose.yml file, it has my new edited changes.
But if i now deploy the stack via dockge webui, it uses the old value and overwrites the compose file on disk.
I have tried refreshing the webpage multiple time. I am even accessing it directly via IP:PORT to prevent any issues of caching due to reverse proxy.
I have also tried the "Scan Stacks Folder" button in webui, but it still shows the old value in webui and new value in actual compose file on disk.
Here's the env variable in webui of dockge

Here's it's value that's in compose file accessed directly

👟 Reproduction steps

Edit Stack
Change env variable value
Save stack
The variable is updated in webui and on disk
refresh the webpage of dockge
the changes are reverted to the previous value in the webui only. The compose file on disk keep the new value.
But if i deploy the stack from webui, it uses the old value that's showing in the webui and overwriting the compose file on disk with the old value.

👀 Expected behavior
It should retain the new values
😓 Actual Behavior
It's not retaining the new value
Dockge Version
1.4.2
💻 Operating System and Arch
Ubuntu 20.04 x64
🌐 Browser
Firefox
🐋 Docker Version
Docker version 25.0.3, build 4debf41
🟩 NodeJS Version
No response
📝 Relevant log output
Nothing shown in logs when editing a stack.

I had this happen too, not for an env var, but a command parameter. In my case, I found that stopping and starting the container manually, via the web UI, resolved the issue. I suspect there is a difference in code structure, or the cached compose used instead of the newly updated version.


adjusting circleci config

use newer rok8s-scripts orb
automatically populate release info in github
only run release jobs on /^v.*/ tags instead of any tag that is not /^testing/

This should also close #51 as go-releaser won't be necessary after this is merged.


Assemblers blueprinted to request 1 module request 2 when placed with mouse-over

Description
When using mouse-over to place a ghost assembler from blueprint, if the blueprinted assembler requests 1 module to be inserted, 2 are requested in the new assembler.
Base mod version: 1.1.87
Mouse-over construction version: 1.2.0
Reproduction

Place a blue assembler. Insert one module and leave the other slot empty.
Copy the assembler and paste.
Mouse over the assembler.
Manually insert the module as with the other assembler. (see #5)
Observe that the assembler still requests modules to be inserted.

This is a base game behavior. I will see if we can fix it for Factorio 2.0, because it ought to account for manually inserted modules.


add a KyrieDrawable builder that takes an exisiting vector image as starting point

Add a builder that takes an existing vector drawable resource as input to manipulate

So I assume what you mean here is... you basically want the ability to create a KyrieDrawable from a VectorDrawable resource and then in addition to that have the ability to modify the KyrieDrawable after it is created?
So really in general this is a feature request to be able to modify the KyrieDrawable after is is created (i.e. whether it is created from a VectorDrawable resource or programatically using KyrieDrawable.builder()?

That exactly what I'm asking for, I didn't want to assume it wasn't there, but I couldn't find it :)


Print button interaction

What?
It was highlighted on this page that as a user scrolls the Print button does not switch between being fixed and relative in the visual manner as expected.
https://user-images.githubusercontent.com/71266765/110766455-16b53880-824d-11eb-85cd-f213e4e9e452.mov

This is a duplicate of https://github.com/alphagov/government-frontend/issues/1907

I'll leave a comment on #1907 - thanks for raising it to my attention again @chris-gds

The instance you mentioned, Chris, might actually be caused by the failing magna-charta script.

Fixed by @DilwoarH


Feat: update context.tf to null-label:0.25.0 in order to support tenant label.

what

Update context.tf to null-label:0.25.0 in order to support tenant label.

why

This repository does not have an auto-context workflow which updates its context.tf to that of null-label's latest release.
The context.tf of null-label:0.25.0 is required in a stack configuration that uses the tenant label.

references

https://github.com/cloudposse/terraform-null-label/releases/tag/0.25.0

/test all

/test all


FATAL ERROR - Symfony\Component\ErrorHandler\Error\FatalError

Laravel version: 9.44.0
PHP version: 8.1
Declaration of ShiftOneLabs\LaravelSqsFifoQueue\Support\Str::substr($string, $start, $length = null) must be compatible with Illuminate\Support\Str::substr($string, $start, $length = null, $encoding = 'UTF-8')
It looks like this is a major issue, because it breaks queue workers.
I think extending Illuminate\Support\Str is no more necessary.
Thank you

Soluction:
src/Support/Str.php:47
    public static function substr($string, $start, $length = null, $encoding = 'UTF-8')     {         return mb_substr($string, $start, $length, 'UTF-8');     }

Pull Request create
https://github.com/shiftonelabs/laravel-sqs-fifo-queue/pull/17

Two months later here, can we please get this merged in so that we don't all have to fork this repo to use it with laravel 9?

@encodiaweb , @kaamoss ,
I appreciate the patience on this. The package has been updated to support both Laravel 9x and 10x, as well as PHP 8+. The new 3.0.0 tag for this support was released today.
Please let me know if you run into any more issues.
Thanks,
Patrick


added the linux font directories

by copying the pattern of mac/windowss font directories

@scanny I lost the labels from the other PR. My apologies for the hassle, git and I are not simpatico sometimes. https://github.com/scanny/python-pptx/pull/159 . They were shortlist and text.

@hoopes can you say a little about what Linux distros this is likely to work for? The documentation should probably mention.

From:
https://wiki.ubuntu.com/Fonts
https://wiki.archlinux.org/index.php/fonts
https://wiki.debian.org/Fonts
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s1-x-fonts
I added the /usr/local/share/fonts and ~/.local/share/fonts based on those wiki pages.

Could we please get this merged into master?

I too would like to see this merged to master!
Follow up question: how does python-pptx currently load fonts on Linux systems? Does it just bundle some default fonts, or is it more nuanced than that?

I need this as well for the MInt distro!

I need this as well for the MInt distro!

Hey guys,
do you plan to merge it anytime soon? Would be super useful.

I would also appreciate if this was merged. Needed for Ubuntu.

Did fork according @hoopes solution, thanks!
I just copied all fonts from C:\Windows\Fonts to ~/.fonts/.
Now I'm able to use tf.fit_text() :)

One simple way to make this work currently is to pass the desired font file instead.
Not the best way, but it works without having to depend on forks for now.
A nice improvement for this solution would be to be able to configure/pass possible paths containing font files. Look for the default locations is possible and raise exception if no folder/file is found.


CQL Translator produces Double List Promotion at Retrieve Codes

After updating from 1.3.10 to 1.3.14, the following CQL example translates to different ELM:
library Test
using FHIR version '4.0.0'
codesystem test: 'test'
code T0: '0' from test

define Observations: [Observation: T0]

The relevant part is the Retrieve Expression. Here you have the double list promotion:
{
  "dataType" : "{http://hl7.org/fhir}Observation",
  "codeProperty" : "code",
  "type" : "Retrieve",
  "codes" : {
    "type" : "ToList",
    "operand" : {
      "type" : "ToList",
      "operand" : {
        "name" : "T0",
        "type" : "CodeRef"
      }
    }
  }
}

With version 1.3.10 I get:
{
  "dataType" : "{http://hl7.org/fhir}Observation",
  "codeProperty" : "code",
  "type" : "Retrieve",
  "codes" : {
    "type" : "ToList",
    "operand" : {
      "name" : "T0",
      "type" : "CodeRef"
    }
  }
}

With disabled list promotion, I get no lists with both versions.

Hi @alexanderkiel , thank you for the report. I have confirmed this behavior, it is a byproduct of list promotion, as well as some fixes to type resolution that were included in the 1.3.14 release.
In detail, what's happening is that within the retrieve, when the terminology target is a direct reference code, the translator will attempt to resolve equality in to validate the terminology target. The type resolution in 1.3.14 is tighter, so that resolution results in a failure if list-promotion is disabled (which shows up as a warning when resolving terminology targets). But with list-promotion enabled, the translator will opt to promote both sides to a list and allow the comparison (effectively pushing the equality determination to a run-time operation). And finally, because it's a direct-reference code, the translator assumes it needs to automatically promote the code to a list because the retrieve is expecting a list of codes (the failure here is that it is not checking whether the equality resolution actually resulted in a list promotion).
So the internal part about not resolving code equality correctly is actually an issue that is scheduled to be addressed in the first 1.4 release.
The other issue (not checking whether equality resolution resulted in list promotion, producing double-list promotion) I will address in this release.

Due to timing constraints, moving this to the first 1.4 release. Let me know if this is critical to have resolved in 1.3, since the workaround is to disable list promotion.

I need FHIR R4 in about one week. I also use list promotion at least for the code attribute in retrieve. If I would disable list promotion, I would have to rebuild it myself. If you only need to release the fix you have already, I would appreciate it a lot. Thanks.

Addressed in v1.3.15

https://github.com/cqframework/clinical_quality_language/releases/tag/v1.3.15

Thank you for this release. Unfortunately there is still misplaced list promotion in the following query:
library Retrieve version '1.0'
using FHIR version '3.0.0'

context Patient
context Population

define Patients:
  from [Patient] P
    with [Condition] C
      such that P = C.subject

I did not see this before but it was already in v1.3.14. In the Equal expression of such that both operands are promoted to lists.

The second thing, I noticed, is that the expression in TestEqualNull in group Equal of CqlIntervalOperatorsTest.xml now also produces a rather strange ELM tree. The expression is:
Interval[1, 10] = Interval(null, null)

The ELM tree is somehow to big to paste here. But you will see Property expressions for the bounds in the Interval(null, null).
Before v1.3.10 already created these Property expressions in the following tests: TestEndsNull, TestInNull and TestProperlyIncludedInNull.

The third thing I noticed, is that the tests SimpleEqNullNull, SimpleNotEqNullNull and EquivNullNull from CqlComparisonOperatorsTest.xml no longer translate. The errors are like this:
Call to operator Equal(System.Any,System.Any) is ambiguous

As the equality operators should work with any type, I think the tests are right here and the type inference should be able to handle such situations.

Hi @alexanderkiel , the ability to use a code as a terminology target is already supported, that's a special-case "list promotion" that occurs whether or not list promotion is enabled. With list promotion disabled, the translator returns a more appropriate error in that case:
Error:[10:17, 10:29] Could not resolve call to operator Equal with signature (FHIR.Patient,FHIR.Reference).

The fact that this translated before is the issue that we're addressing with this release. There is definitely still a known issue here, but I'm curious what the expected behavior here is? I can see how conceptually a Patient could compare equal to a reference to a Patient, it makes sense what you're trying to do, but it's definitely not expected behavior and would require data access layers to resolve the equality of an instance and a reference. Does your data access layer resolve this automatically?

As a side note, it's really interesting that you're using Population context. Just a heads up that we are proposing this context be renamed in CQL 1.4 (same semantics, just a new name). Would love to chat some time about what you are doing with population context CQL.

Hi @alexanderkiel , the ability to use a code as a terminology target is already supported, that's a special-case "list promotion" that occurs whether or not list promotion is enabled. With list promotion disabled, the translator returns a more appropriate error in that case:
Error:[10:17, 10:29] Could not resolve call to operator Equal with signature (FHIR.Patient,FHIR.Reference).

The fact that this translated before is the issue that we're addressing with this release. There is definitely still a known issue here, but I'm curious what the expected behavior here is? I can see how conceptually a Patient could compare equal to a reference to a Patient, it makes sense what you're trying to do, but it's definitely not expected behavior and would require data access layers to resolve the equality of an instance and a reference. Does your data access layer resolve this automatically?

Good point. I did not think about that Equal isn't defined for FHIR.Patient and FHIR.Reference because my data access layer has the FHIR entities at hand and allows Equal on them. I looked up some examples in authors guide and they do Equal on identifier. This query works in v1.3.15:
library Retrieve version '1.0'
using FHIR version '3.0.0'
include FHIRHelpers version '3.0.0'

context Patient
context Population

define Patients:
  from [Patient] P
    with [Condition] C
      such that P.id = C.subject.id

As a side note, it's really interesting that you're using Population context. Just a heads up that we are proposing this context be renamed in CQL 1.4 (same semantics, just a new name). Would love to chat some time about what you are doing with population context CQL.

I've already seen the change in 1.4. I'll write to you in the FHIR chat.

Thanks. I rewrote my queries and was able to update to v1.3.15. Only my comments about the equal tests and the TestEqualNull are still relevant. Should I open separate issues on that?


expose QtViewer.set_welcome_visible via the public API

🧰 Task
It would be great to be able to toggle the visibility of the welcome widget (napari logo with 'drag image(s) to open`) via the public API.
This came up for me in the context of developing an application where the viewer can be opened empty but data is supposed to be loaded by another mechanism than dragging/dropping files onto the viewer. Having that message there might lead users to do the wrong thing in this context.

But when you would like to open whole viewer, not only QtViewer?

I don't understand the question.. I'm using the standard napari API to launch the viewer, not only the QtViewer

Ok. But then how you disable drag and drop mechanism?

I don't mind about disabling it completely - I just don't want to actively encourage it 🙂


Feature/crash detection

Attempt crash prevention on name read
Add logging when name read fails

Hopefully addresses #37 including error logging. C++ error logging is now enabled, so hopefully adding more crash detection/prevention in the future should be easier


IllegalArgumentException in BridgeMethodResolver using JDK 9

Hi team,
We're trying to upgrade the Gradle build to make it run on JDK 9, and we're facing issues with our tests that use mocking. Some of them are failing with the following exception:
Caused by: java.lang.IllegalArgumentException
	at net.sf.cglib.proxy.BridgeMethodResolver.resolveAll(BridgeMethodResolver.java:63)
	at net.sf.cglib.proxy.Enhancer.emitMethods(Enhancer.java:1132)
	at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:630)
	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
	at net.sf.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329)
	at net.sf.cglib.proxy.Enhancer.generate(Enhancer.java:492)
	at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93)
	at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91)
	at net.sf.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at net.sf.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)
	at net.sf.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
	at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116)
	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291)
	at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:480)
	at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:337)
	at org.spockframework.mock.runtime.ProxyBasedMockFactory$CglibMockFactory.createMock(ProxyBasedMockFactory.java:91)
	at org.spockframework.mock.runtime.ProxyBasedMockFactory.create(ProxyBasedMockFactory.java:49)
	at org.spockframework.mock.runtime.JavaMockFactory.create(JavaMockFactory.java:51)
	at org.spockframework.mock.runtime.CompositeMockFactory.create(CompositeMockFactory.java:44)
	at org.spockframework.lang.SpecInternals.createMock(SpecInternals.java:45)
	at org.spockframework.lang.SpecInternals.createMockImpl(SpecInternals.java:281)
	at org.spockframework.lang.SpecInternals.MockImpl(SpecInternals.java:83)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at ReproSpec.should not throw IllegalArgumentException(ReproSpec.groovy:6)

The reproduction instructions can be found in this repository: https://github.com/melix/repro-cglib-bug-jdk9
Let me know if I can help.

You can use Spock with Byte Buddy which has better support for Java 9 than cglib can offer. But I will of course look into this.

Do you mean replacing the dependency from cglib-nodep to bytebuddy should be enough?

Yes, that should do the trick.
Beware that Byte Buddy's mock classes are slightly different (retain generic types and other meta data).

The problem is cglib's way of detecting bridge methods which requires reading the class file and parsing it for bridges. Class files should always be visible, even outside of a module; that is strange so to speak. I will investigate.

mmm, looks like using ByteBuddy doesn't help. After updating the dependencies in the repro sample to:
dependencies {
    testCompile 'org.codehaus.groovy:groovy:2.4.11'
    testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
    testCompile 'net.bytebuddy:byte-buddy:1.7.1'
}

I get:
Caused by: org.spockframework.mock.CannotCreateMockException: Cannot create mock for class java.io.File. Mocking of non-interface types requires the CGLIB library. Please put cglib-nodep-2.2 or higher on the class path.
	at org.spockframework.mock.runtime.ProxyBasedMockFactory.create(ProxyBasedMockFactory.java:52)
	at org.spockframework.mock.runtime.JavaMockFactory.create(JavaMockFactory.java:51)
	at org.spockframework.mock.runtime.CompositeMockFactory.create(CompositeMockFactory.java:44)
	at org.spockframework.lang.SpecInternals.createMock(SpecInternals.java:45)
	at org.spockframework.lang.SpecInternals.createMockImpl(SpecInternals.java:281)
	at org.spockframework.lang.SpecInternals.MockImpl(SpecInternals.java:83)

Support for Byte Buddy was added in Spock 1.1. Can you update?

Ah right. I think I cannot upgrade so easily, using Spock 1.1 introduced other failures :(

I will try to fix cglib to resolve the class file from the module but that is really not trivial so it might take a bit.

No worries, thanks for investigating!

My bad, the problem is that cglib is still using ASM 5.2 whereas ASM 6 is not yet released. You should be able to use cglib (with dependencies and add ASM 6.ALPHA manually to make things work.

@raphw I could confirm that the build passes after updating to cglib and adding ASM 6 alpha as a dependency (remaining failures are not related to this issue).
However I'm a bit reluctant to adding an ALPHA dependency to Gradle. @forax any ETA for a final release? I know you were waiting for migration to Git, but it seems that quite a few projects are waiting for ASM6 to be released...

I have asked for ASM 6 before but it does not seem like there will be a release before Java 9 is released. I wait for this myself to push all users upstream...

Expect a beta next week end :)
As Raphael said, the full release is coordinated with the Java release (as for ASM 4 & 5).

@forax Great, thank you. By the way: why not migrate ASM over to GitHub? Would make it much easier to contribute!

We are close to announce that we have migrated to git (issues are not yet migrated)
https://gitlab.ow2.org/asm/asm
It's not on github but i'm sure there is a way to mirror the source from gitlab to github
(i've just checked, it's a feature of gitlab EE but OW2 is using the community edition :( )

@forax: are there plans to publisg ASM 6.BETA to Maven Central?

It seems done now: http://repo1.maven.org/maven2/org/ow2/asm/asm/6.0_BETA/

I observed the same issue. Compiling the sources to target version 1.8 fixed it in my case. This could also be a workaround if it is feasible for you.


Add vaadin-checkbox to the dashboard table

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

README.md, line 12 at r1 (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
badge.fury.io points to vaadin-button.svg

10 seconds too late..

Comments from Reviewable


Add code of conduct that follows Jazzband guideline

For #33 solving.
To join the Jazzband community, a project must have Code of Conduct information.
This is CoC guideline of Jazzband: https://jazzband.co/about/guidelines#conduct
Please check this PR.

[ ] Does this change meet Jazzband's guidelines?
[ ] Is the content of Code of Conduct reasonable?

If no one has any objections, I'm going to merge on next Saturday (Aug 11th).

Merged.


FieldArray skips rerender when an element is replaced but number of elements is the same

Subject of the issue

Your environment

Software
Version(s)

redux-form
8.3.10

redux
5.0.1

react-redux
9.1.0

react
18.2.0

react-dom
18.2.0

node
20.10.0

pnpm
8.11.0

typescript if using
5.4.2

Browser
Chrome whatever

Operating System
macOS Sonoma

Steps to reproduce

Make a field array
Initialize with two items
Dispatch a change to replace the item at index 1 with a different value

Expected behaviour
FieldArray rerenders the provided component
Actual behaviour

FieldArray mistakenly decides not to update
Other information

In the debugger, I see the following logic in ConnectedFieldArray:
    _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
      var _this2 = this;

      // Update if the elements of the value array was updated.
      var thisValue = this.props.value;
      var nextValue = nextProps.value;

      if (thisValue && nextValue) {
        var nextValueItemsSame = equals(nextValue, thisValue); //.every(val => ~thisValue.indexOf(val))

        var nextValueItemsOrderChanged = orderChanged(thisValue, nextValue);
        var thisValueLength = thisValue.length || thisValue.size;
        var nextValueLength = nextValue.length || nextValue.size;

        if (thisValueLength !== nextValueLength || nextValueItemsSame && nextValueItemsOrderChanged || nextProps.rerenderOnEveryChange && thisValue.some(function (val, index) {
          return !deepEqual(val, nextValue[index]);
        })) {
          return true;
        }
      }

In my case:
if (thisValueLength !== nextValueLength || nextValueItemsSame && nextValueItemsOrderChanged
           2                  2                  false                      true
    <------------- false ------------->    <------------------- false -------------------->

Why should it ever skip rerender when the order changed?  nextValueItemsSame seems pointless here...it's really bizarre to narrow the should update condition down to when the items are the same rather than when they're different.

Oh right, nevermind, FieldArray shouldn't rerender because a Field for element n should handle the change

The API design kinda shot me in the foot here:
type ChipsFieldProps = FieldArrayProps & {
  Chip: React.ElementType<ChipProps>
  classes: Classes
  disabled?: boolean
}
function ChipsField({
  fields,
  Chip,
  classes,
  disabled,
}: ChipsFieldProps): React.ReactElement {
  return (
    <React.Fragment>
      {fields.map((name, index, fields) => (
        <Chip
          key={name}
          entity={fields.get(index)}
          classes={classes}
          disabled={disabled}
          onDeleteClick={!disabled ? () => fields.remove(index) : null}
        />
      ))}
    </React.Fragment>
  )
}

I was using FieldArray so that I'd have the remove method.  But I had no need to render a <Field> for every element, because the elements themselves aren't editable.


fix(ecs.js): update ECS key

:tada: This PR is included in version 1.31.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


release/okhttp-refactor

I'm intending to tag beta releases off this branch so that we can trial them internally until we're sure the refactor is safe to push out to everyone on develop.  Context: https://github.com/palantir/http-remoting/issues/646

ready, @iamdanfox


RuntimeException when implementing proguard with EventBus AsyncExecutor

Hi! I'm not sure how to file reports and I'm not sure what's going on as well.
Basically, I'm currently implementing proguard in my project and this line of code fails:
...
 AsyncExecutor.builder().failureEventType(FailedEvent.class)
...

throwing the exception (here):
...
java.lang.RuntimeException: Failure event class must have a constructor with one parameter of type Throwable
    at de.greenrobot.event.util.AsyncExecutor.<init>(AsyncExecutor.java:104)
    at de.greenrobot.event.util.AsyncExecutor.<init>(AsyncExecutor.java:32)
...

unless I add
-keep class FailedEvent { *; }

to my proguard-rules.txt
If it's an expected behavior, should the best course of action be to include it in the wiki?

Unfortunately current ProGuard config doesn't work for me:
-keepclassmembers class * extends de.greenrobot.event.util.ThrowableFailureEvent {
    <init>(java.lang.Throwable);
}

I still received below runtime exception:
java.lang.RuntimeException: Failure event class must have a constructor with one parameter of type Throwable


vue language tools not working / bad performance

Summary
The volar extension is not usable because code hints
I have a small nuxt project (4 components, 2 pages) with the following dev dependencies in package.json
  "devDependencies": {
    "@nuxt/devtools": "latest",
    "@nuxtjs/tailwindcss": "^6.8.0",
    "@types/node": "^18.17.3",
    "autoprefixer": "^10.4.15",
    "nuxt": "^3.6.5",
    "postcss": "^8.4.28",
    "tailwindcss": "^3.3.3",
    "typescript": "^5.2.2",
    "volar": "^0.0.2",
    "volar-service-vetur": "latest"
  }

Whenever I hover over a component, the code hint stays in the state Loading... and never actually finishes loading. The CPU process for the volar extension goes up to >85%. Same result when I start writing a component and press CMD + space, it stays in the Loading state.

Also VSCode's status bar keeps indicating Initializing JS/TS language features
System setup
Apple M2
Visual Studio Code 1.85
TypeScript Vue Plugin (Volar) v1.8.25
Vue Language Features (Volar) v1.8.25
for profiling I pulled the current master of https://github.com/vuejs/language-tools at b8627e7
CPU-20231213T170606.cpuprofile.zip
when I open output in the vscode window and go to vue semantic server I get the following output
vueSemanticServer.txt

I have the same problem as you. And my intellisense have slowed down.

Identical setup as OP. Intellisense is very slow and code actions have to be disabled to get a sane file saving time.

any feedback?

Experiencing the same in larger components.

The same issue too. I am using Vue.volar & Vue.vscode-typescript-vue-plugin & takeover mode, It is so slow in both .ts .vue, which make me feel so sad. But it works greet in .js with only Vue.volar and no takeover mode.

Intelisense is a multi-second operation now, it's cripplingly bad.

Is anyone looking into this? Vue could have the best feature set and this would still be a deal-breaker for any serious project in 2024.

Thanks for your report, the performance issues caused by vue semantic server have been resolved in v2 via #3788.

For me it didn't get resolved... I quickly uninstalled volar, reinstalled the vue - official extensions, restarted and tried a couple of other things but still, the behaviour is the same.
I am on vscode 1.91.1


Why would this error be reported

Uncaught RangeError: Maximum call stack size exceeded
at ue.update (threedtiles.min.js:2:142509)

Just a stack overflow it seems.
The url needs to be a url, it can't be a local file path.
Can you try to use a local http server? I use this to launch a test http-server: https://www.npmjs.com/package/http-server

Just a stack overflow it seems.
The url needs to be a url, it can't be a local file path. Can you try to use a local http server? I use this to launch a test http-server: https://www.npmjs.com/package/http-server

Sorry, I'm a bit clumsy and don't understand any local HTTP servers, but I can send you my model to try, as I also need to convert it to 3tiles

@ebeaufay I'm having the same problem, could it be caused by the model being too large?


Update to VSCode 1.89 (and some fixes)

also:

fix issue with command palette (20d408aff73bb2ab14b0d7512b8ce981f0ee5ccb)
fix #421 (b6749c48257edd1c6f7d3403992683fdadea37d0)
fix #422 (a0a2c457ce3066d7e173bc7b0db1f854e7012071)

@CGNonofr no new release?

@CGNonofr no new release?

I was waiting for https://github.com/CodinGame/monaco-vscode-api/pull/427


Hazelcast C++ API issue with large messages

Reported by community:
hazelcast_example.txt
hazelcast_frame_buffer_log.txt
C++ compiler version:
Hazelcast Cpp client version: 4.2
Hazelcast server version: 4.2
Number of the clients:
Cluster size, i.e. the number of Hazelcast cluster members:
OS version (Windows/Linux/OSX):
Please attach relevant logs and files for client and server side.
Expected behaviour
Actual behaviour
Encountered an issue with publishing of large messages from Hazelcast C++ API.  Our calculation nodes publish messages 100KB to 200KB in size using the C++ API.  Occasionally, these messages arrive at the Hazelcast cluster in a garbled form.  It turns out that they are interleaved with data from heartbeat / ping messages.
I believe it is due to a heartbeat messages and data being written from separate threads.  This may not be a problem for smaller messages (<65K) because each write is atomic. For larger messages, boost::asio library splits them into smaller chunks resulting in interleaving with ping messages.
ttaching an example program that we ran on our systems that reproduced the problem. This generates a large payload and repeatedly publishes it to different keys in a map. We are setting it to time out if the publish takes longer than 30 seconds – and we got timeouts after about 70 publishes. In the test code, we also increased the heartbeat to happen every 10ms in order to force the problem to happen more frequently. We are using hazelcast-cpp-client 4.2.0, and hazelcast node 4.2.
Attaching a log snippet from the hazelcast node during one instance of this problem. As the data is passed into hazelcast, everything up through frame 3 is received correctly. However, once frame 4 arrives, the hazelcast node interprets the frame buffer length to be an enormously large number. It then incorrectly parses the future data received as if it were all part of frame 4. In the course of our investigation, we discovered that this happens because a ping message is interleaved into frame 3, making it longer than expected. We were able to identify the location of the ping message in one case, remove it from the stream of bytes received, and correctly deserialize the data that was expected to be in frame 3.
Steps to reproduce the behaviour
Please run the attached C++ code for reproducing.

fixed by https://github.com/hazelcast/hazelcast-cpp-client/pull/981


GC: Restore: SharePoint: List Complication

Restored List goes directly to Recycle Bin in Site Contents
None of the column information is present either.

Inspection of the stored bytes show all items are present. However, identifiable information is preventing the restore of the item correctly.
Lists are identified by the webURL. A restored List currently shares the same web URL as its predecessor. The remedy is to use the support package as in a similar manner as we used for messages, contacts and events.

Verified ContentType and Template are correct.
Received error column definitions:

invalidRequest Unable to determine type of provided column definition

Investigation shows that Column Title is present at creation of new List.
List Items cannot be restored without the column structure.

Troubleshooting Progress
Columns have a field columnGroup. When a user creates a column for their list, the columns from their list are added to the group, "Custom Columns".  Function required in support to decipher between legacy column names and user-generated ones. The litmus test is that legacy columns do not have enough information to be parsed through the REST API. See error above.

Verification of legacy columns completed.  #2012 will add functionality into code base
List Items also have certain fields that are read-only and cannot be restored. #2011 will address these issues.
After these PRs are merged, #1964 will establish the restore pipeline.


⚠ Bofrost.lu has degraded performance

In 75da87c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1178 ms

Resolved: Bofrost.lu performance has improved in b4fb9bc after 6 minutes.


Horizontal step indicator not working

Hi,
I used this step indicator github.com/24ark/react-native-step-indicator in my native base Body component. The problem is that when I set the prop direction of this step indicator to horizontal its not rendering, but it renders successfully when direction is vertical. Here is the attached code sample.
`import React, { Component } from 'react'
import { Container, Header, Title, Content, Text, Button, Left, Right, Body, Card, CardItem, List, ListItem } from 'native-base'
import { Actions } from 'react-native-router-flux'
import Icon from 'react-native-vector-icons/MaterialCommunityIcons'
import StepIndicator from 'react-native-step-indicator'
import { Col, Row, Grid } from 'react-native-easy-grid'
const labels = ["Ordered","Allocated","Confirmed","Reported","In-transit"]
const stepIndicatorStyles = {
stepIndicatorSize: 25,
currentStepIndicatorSize:30,
separatorStrokeWidth: 2,
currentStepStrokeWidth: 3,
stepStrokeCurrentColor: '#7eaec4',
stepStrokeWidth: 3,
stepStrokeFinishedColor: '#7eaec4',
stepStrokeUnFinishedColor: '#dedede',
separatorFinishedColor: '#7eaec4',
separatorUnFinishedColor: '#dedede',
stepIndicatorFinishedColor: '#7eaec4',
stepIndicatorUnFinishedColor: '#ffffff',
stepIndicatorCurrentColor: '#ffffff',
stepIndicatorLabelFontSize: 0,
currentStepIndicatorLabelFontSize: 0,
stepIndicatorLabelCurrentColor: 'transparent',
stepIndicatorLabelFinishedColor: 'transparent',
stepIndicatorLabelUnFinishedColor: 'transparent',
labelColor: '#999999',
labelSize: 13,
currentStepLabelColor: '#7eaec4'
}
class CardDetails extends Component {
render() {
var items = ['Order #: 2345', 'Order #: 4564']
return (

<Button transparent onPress={() => {Actions.dashboard()}}>

Load Details

            <Content>
                  <List dataArray={items}
                            renderRow={(item) =>
                            <ListItem>
                                <Content>
                                    <Card>
                                        <CardItem button onPress={()=> {}}>
                                            <Grid>
                                             <Row>
                                             <Icon name="truck-fast" size={24} />
                                             <Text style={{paddingLeft:5,fontSize:16,fontWeight:'bold'}}>{item}
                                             </Text>
                                             </Row>
                                             <Row>
                                             <Body style={{height:500}}>
                                                 <StepIndicator
                                                    customStyles={stepIndicatorStyles}
                                                    stepCount={6}
                                                    direction='vertical'
                                                    currentPosition={1}
                                                    labels={labels}
                                             />
                                             </Body>
                                             </Row>
                                             </Grid>
                                        </CardItem>
                                    </Card>
                                </Content>
                            </ListItem>
                            }>
                 </List>
            </Content>
        </Container>
    );
}

}
export default CardDetails`

Is there any problem with my code or it is with this native base component ?

We will look into this

@SupriyaKalghatgi I was thinking of making a step indicator which can be added with native base, Should I go for it?

@pranay414 Yes, sure.
You can send a PR

@pranay414 Any updates on PR?

@SupriyaKalghatgi working on it, too busy these days because of internship, will update you soon in slack!

@pranay414 Nice
Good luck

Closing this due to inactivity

Did anyone figure out why this is occured ? I also got this error


Full website with 3 Pages

Full Website with 3 Pages
In this pull request I did the following:

[x] Create a website consisting of 3 pages: Home, Calculator, and Quote.
[x] Configure the general layout should match these wireframes:
[x] Add my own styles to improve the look and feel.
[x] In the lesson about styling, I introduced several ways to add styles in a React application:
[x] React basic styling (inline styles, importing CSS, and pre-processed CSS files).
[x] CSS modules.
[x] Styled components.
[x] In this project, I use React basic styling.
[x] For every page, I create a route.
[x] Make sure that navigation links for all 3 routes are displayed on each page.
[x] Use React Router to make the routes work.
[x] Make sure that there are no linter errors.
[x] Make sure that I used the correct Gitflow.
[x] Make sure that I documented your work in a professional way.

Thanks


Chore: Remove vee-validate from schema forms [WIP]

This PR seeks to remove vee-validate from schema logic by moving to a modelValue model instead.
This is a work in progress and is a potentially breaking change for several of our schema-generated forms.

Technically this already works for the deployments form (I was using that as a POC) but I seem to have reverted the behavior fixed in #1356 😞

Oh man here we go! This is exciting.

We'll still do this at some point but this PR is too stale


⚠ BCR Bot has degraded performance

In 14d158b, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 821 ms

Resolved: BCR Bot performance has improved in 8d3edd3.


Fix golint issues in maya/volume/policies/v1/doc.go

File: maya/volume/policies/v1/doc.go
Line 17: warning: package comment should be of the form "Package v1 ..." (golint)

Resources:
-> Contributors guide: https://github.com/openebs/openebs/blob/master/CONTRIBUTING.md
Complexity: Easy

Sending a PR

@Pensu  go ahead. Let me know if you need any help.


Documentation for AngularJS version

Hi, thanks for the amazing project. Been a long-time follower for the old angularjs version on https://ui.lumapps.com, but with the poor support on that project I searched and found this one, seems most of the components been updated and new ones added, I am very excited to update the version I have, but I couldn't find any documentation for the AngularJS version.
The docs on https://design.lumapps.com seems for React, I appreciate your kind help.

The AngularJS version is deprecated, it won't receive update and we plan to remove it when we have migrated everything to React


Sync user's id between host and container

Hello, the issue is that creating files with www-data user in a container makes them not editable on a host.
This will sync user id's and allow the www-data user's id to be configurable view environment variables in docker-compose file.

This is platform-specific, and since these are platform-agnostic images, I believe this belongs in a local customized docker image, vs. this public/community image. For example, in a linux/prod image, this issue doesn't exist as the filesystem is entirely mounted in linux.
Please correct me if I'm wrong...


get selected value after rotation

how to get the selected value after wheel is stopped.

Hi, Prakash.
Answer to your question is available on example project.

is not working ..the index is always false


Error: Can't find module 'node forge'

Not sure what to do.  Happened after i ran git pull && npm start start to update my version

Maybe this helps

Maybe you don't have node-forge which was added to package.json at 1.3.0
Try running npm install again and see if it helps.

You're right. Had the same problem. Not it has been solved. Thanks.

Are you still having issues, @Pygums? Going to close this if not.

Looks like npm install fixed it for me.  Thanks fellas.


About merging 2D with pointpillars using Clocs

HELLO,sir，take the liberty to disturb you，I have read your article on Clocs，now ,i want to merge 2D with pointpillars using Clocs,what do i need to do?Let me first tell you what I think, can you see if it works? First, I use pointpillars to train to get ckpt, change the config file to pointpillars, put pointpillars.py into second/pytorch/models, do I need to change anything else? Maybe it's an abrupt question，I would be very grateful if you could answer, I didn't use github for questions because of network issues。Besides，I would really appreciate it if you could send me a repo of pointpillars that has been integrated。
Look forward to your reply

Hello, sir or miss, have you solved this problem?

Hello, sir or miss, have you solved this problem?

no，i dont have a idea


Update zio-kafka to 2.7.4

About this PR
📦 Updates dev.zio:zio-kafka from 2.7.3 to 2.7.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-kafka" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-kafka" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

io.github.embeddedkafka.schemaregistry.EmbeddedKafka.start() fails using 7.5.3 (current) or <IP_ADDRESS> (latest). The same type of error is happening also in this PR https://github.com/embeddedkafka/embedded-kafka-schema-registry/pull/460 so it appears as though there need to be changes to support 3.7.0 in the existing 7.6.1.x or we need to wait until confluent releases 7.7.0
The error manifests itself with a complete shutdown of the JVM
➜  tamer git:(update/zio-kafka-2.7.4) sbt
[info] welcome to sbt 1.10.0 (Oracle Corporation Java 17.0.11)
[info] loading settings for project global-plugins from plugins.sbt ...
[info] loading global plugins from /Users/jsirocch/.sbt/1.0/plugins
[info] loading settings for project tamer-build-build-build from metals.sbt ...
[info] loading project definition from /Users/jsirocch/Development/tamer/project/project/project
[info] loading settings for project tamer-build-build from metals.sbt ...
[info] loading project definition from /Users/jsirocch/Development/tamer/project/project
[success] Generated .bloop/tamer-build-build.json
[success] Total time: 1 s, completed May 7, 2024, 10:18:14 PM
[info] loading settings for project tamer-build from metals.sbt,plugins.sbt ...
[info] loading project definition from /Users/jsirocch/Development/tamer/projec
[success] Generated .bloop/tamer-build.json
[success] Total time: 1 s, completed May 7, 2024, 10:18:15 PM
[info] loading settings for project tamer from build.sbt ...
[info] resolving key references (10203 settings) ...
[info]                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄ ▄
[info]          ▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀  ▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄
[info]                         ▀▀▀▀▀▀▄▄▄▄▄▄▄▄▄▄▀  ▀▄▄▄▄   ▄▄▄▄▄▀▀▀▀▄▄▄▄▄
[info]                           ▄▄▄▄▄▄▄▄▄▄▄▀      ▄▄▄▄   ▄▄▀        ▀▄▄▄
[info]                     ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄       ▄▄▄                ▀▄▄▄
[info]                    ▄▄▄▄▄▄▄▄▄▄▄▀▀▀▀▀▀▀       ▄▄▄                 ▄▄
[info]                  ▄▄▄▄▄▄▀▀     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄  ▄▄ ▄▄    ▄▄▄▄▄
[info]              ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▀▀▀▀▀▀▀▀▀       ▄▄
[info]            ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀▀▀▀      ▄▄      ▄      ▄▄▄▄▀
[info]        ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀▀▀▀                ▄       ▀▀▄▄▄▄▄▄▀▀
[info]      ▄▄▄▄▄▄▄▄▄▄▄▀▀▀▀
[info]    ▄▄▄▄▄▄▀▀▀▀          tamer v.0.21.2+18-00cd1e5f-SNAPSHOT
[info]
[info] Useful sbt tasks:
[info] > lint                                    Verifies that all source files are properly formatted and have had all scalafix rules applied.
[info] > fmt                                     Formats source files using scalafmt.
[info] > fix                                     Fixes source files using using scalafix
[info] > prepare                                 Prepares sources by applying scalafmt and running scalafix.
[info] > quiet                                   `quite on` mutes the welcome banner whilst `quiet off` un-mutes it.
[info] > publish-all                             Signs and publishes all artifacts to Maven Central.
[info] > enableStrictCompile                     Enables strict compilation e.g. warnings become errors.
[info] > disableStrictCompile                    Disables strict compilation e.g. warnings are no longer treated as errors.
[info] > ~compile                                Compiles all modules (file-watch enabled)
[info] > test                                    Runs all tests
[info] > testOnly *.YourSpec -- -t \"YourLabel\" Only runs tests with matching term e.g.
[info]
[info]
[info] Here are some highlights of sbt 1.10.0:
[info]   - SIP-51 support for Scala 2.13 evolution
[info]   - Various Zinc fixes
[info]   - ConsistentAnalysisFormat: new Zinc Analysis serialization
[info]   - CommandProgress API
[info] See https://eed3si9n.com/sbt-1.10.0 for full release notes.
[info] Hide the banner for this release by running `skipBanner`.
[info] sbt server started at local:///Users/jsirocch/.sbt/1.0/server/e39e5175382a3c23ffc3/sock
[info] started sbt server
sbt:tamer> core/Test/console
[info] Starting scala interpreter...
Welcome to Scala 2.13.13 (Java HotSpot(TM) 64-Bit Server VM, Java 17.0.11).
Type in expressions for evaluation. Or try :help.

scala> import io.github.embeddedkafka.schemaregistry.EmbeddedKafka
import io.github.embeddedkafka.schemaregistry.EmbeddedKafka

scala> import io.github.embeddedkafka.schemaregistry.EmbeddedKafkaConfig.defaultConfig
import io.github.embeddedkafka.schemaregistry.EmbeddedKafkaConfig.defaultConfig

scala> EmbeddedKafka.start()
[2024-05-07 22:18:38,837][WARN ][pool-49-thread-7][o.a.z.server.ServerCnxnFactory] maxCnxns is not configured, using default value 0.
[2024-05-07 22:18:39,442][WARN ][Controller-0-to-broker-0-send-thread][o.apache.kafka.clients.NetworkClient] [Controller id=0, targetBrokerId=0] Connection to node 0 (localhost/<IP_ADDRESS>:6001) could not be established. Node may not be available.
[2024-05-07 22:18:39,442][WARN ][Controller-0-to-broker-0-send-thread][kafka.controller.RequestSendThread] [RequestSendThread controllerId=0] Controller 0's connection to broker localhost:6001 (id: 0 rack: null) was unsuccessful
java.io.IOException: Connection to localhost:6001 (id: 0 rack: null) failed.
	at org.apache.kafka.clients.NetworkClientUtils.awaitReady(NetworkClientUtils.java:71)
	at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:298)
	at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:251)
	at org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:131)
[info] shutting down sbt server
➜  tamer git:(update/zio-kafka-2.7.4)

Superseded by #1521.


Audio rendering protocol

Usually WebKit takes care of audio rendering by connecting to the default
audio system daemon such as PulseAudio or directly to ALSA. In some
situations the UI process might want to handle PCM samples itself.
To support this scenario, the UI process (created by GStreamer's wpesrc
element for instance) should register a #wpe_audio_receiver, implement its
callbacks and set the WebView audio-rendering-policy to
WEBKIT_AUDIO_RENDERING_POLICY_EXTERNAL.

Ping?

Rebased, fixed build, added meson support.


speaker fragment added

@creativepsyco Please check and merge this PR. I fixed the merge conflicts here

Also do squash commits.


Serve books using Karax

It would be really useful to integrate Karax to Nimib to serve documentation - like mdbook serve - it would make it easy to deploy as well and not reliant upon github page.
What do you think ?

well, if the output is static files and the issue is to decouple from github pages probably something simple like https://github.com/h3rald/nimhttpd could work.
In general I think both jester (for serving stuff) and karax (for SPA and interactivity in the page and also working alongside jester to serve stuff) could be very nice to have integrated in a nimib workflow (one could be something closer to a jupyter notebook with that, or even better something like https://streamlit.io/).
For the moment I think I will concentrate on fixing stuff and on the api for the "static" use case (with target use cases a blog, a site like adventofnim, or a book like scinim/getting-started), as you have seen there is lots to do on that side. Feel free to experiment anyway. :)

For the moment I think I will concentrate on fixing stuff and on the api for the "static" use case (with target use cases a blog, a site like adventofnim, or a book like scinim/getting-started), as you have seen there is lots to do on that side. Feel free to experiment anyway. :)

Yes, this was just an idea to keep on the side for later. Also, I don't know which http server whould be best, I only know Karax and Prologue (which is probably overkill here) which is why I suggested Karax :)
Definitly not a priority

Renamed issue (karax is not a http server). To encapsulate better the enhancement request, the main features that mdbook serve provides are:

serve static files (like any web server such as httpd, independent from nimib)
watch for changes and relaunch the build process (this depends on nimib build process)

This looks like a good addition for nimib, so for me it goes in the roadmap.


of classes defined in config

My own dataset has 10 classes. In config, it has 81 classes for coco.
Should I replace 81 with 10 or 11 for my down dataset?
Thanks,

You should replace 11

Thanks for the response. One more question, is it possible to do a finetuning based on your pretrained coco model on my own dataset which has only 10 classes?
Thanks,

yes absolutely ;)

Great! Any instruction to do fine-tuning?

Please refer to https://github.com/thuyngch/ATSS-EfficientDet-PyTorch/issues/2

I don't see anything related to fine-tuning  in #2
For clarity, I want to load your trained d0 weight and fine-tuning with own dataset. I don't see config or train.py which allows to load your trained d0 weight
By the way my dataset is already in coco format and training from the scratch is working.
With fine-tuning approach, I am hoping I don't need to train so many epochs

@thuyngch
My training is stuck with range of  loss_cls: 0.1561, loss_bbox: 0.4664, loss_centerness: 0.6163, loss: 1.2387 after 27th epoch. It seems not decreasing for last several epochs. Any guidance?
2020-04-20 14:50:47,952 - mmdet - INFO - Epoch [27][3400/4367]  lr: 0.00981, eta: 10 days, 6:35:37, time: 0.727, data_time: 0.010, memory: 8366, loss_cls: 0.1561, loss_bbox: 0.4664, loss_centerness: 0.6163, loss: 1.2387
2020-04-20 14:51:24,359 - mmdet - INFO - Epoch [27][3450/4367]  lr: 0.00981, eta: 10 days, 6:34:52, time: 0.728, data_time: 0.010, memory: 8366, loss_cls: 0.1500, loss_bbox: 0.4615, loss_centerness: 0.6171, loss: 1.2286
2020-04-20 14:52:00,760 - mmdet - INFO - Epoch [27][3500/4367]  lr: 0.00981, eta: 10 days, 6:34:06, time: 0.728, data_time: 0.010, memory: 8366, loss_cls: 0.1551, loss_bbox: 0.4637, loss_centerness: 0.6168, loss: 1.2356
2020-04-20 14:52:37,109 - mmdet - INFO - Epoch [27][3550/4367]  lr: 0.00981, eta: 10 days, 6:33:20, time: 0.727, data_time: 0.010, memory: 8366, loss_cls: 0.1474, loss_bbox: 0.4625, loss_centerness: 0.6173, loss: 1.2272
2020-04-20 14:53:13,563 - mmdet - INFO - Epoch [27][3600/4367]  lr: 0.00981, eta: 10 days, 6:32:36, time: 0.729, data_time: 0.010, memory: 8366, loss_cls: 0.1505, loss_bbox: 0.4635, loss_centerness: 0.6173, loss: 1.2313
2020-04-20 14:53:49,995 - mmdet - INFO - Epoch [27][3650/4367]  lr: 0.00981, eta: 10 days, 6:31:51, time: 0.729, data_time: 0.010, memory: 8366, loss_cls: 0.1530, loss_bbox: 0.4605, loss_centerness: 0.6163, loss: 1.2299
2020-04-20 14:54:26,523 - mmdet - INFO - Epoch [27][3700/4367]  lr: 0.00981, eta: 10 days, 6:31:07, time: 0.731, data_time: 0.011, memory: 8366, loss_cls: 0.1526, loss_bbox: 0.4587, loss_centerness: 0.6155, loss: 1.2268
2020-04-20 14:55:02,966 - mmdet - INFO - Epoch [27][3750/4367]  lr: 0.00981, eta: 10 days, 6:30:22, time: 0.729, data_time: 0.010, memory: 8366, loss_cls: 0.1536, loss_bbox: 0.4684, loss_centerness: 0.6176, loss: 1.2397
2020-04-20 14:55:39,395 - mmdet - INFO - Epoch [27][3800/4367]  lr: 0.00981, eta: 10 days, 6:29:37, time: 0.729, data_time: 0.010, memory: 8366, loss_cls: 0.1533, loss_bbox: 0.4615, loss_centerness: 0.6168, loss: 1.2317

Hi @kaishijeng ,
I have already added some tips for training a custom dataset.
Please see here and feedback to me if you still need help: https://github.com/thuyngch/ATSS-EfficientDet-PyTorch#tips-for-training-on-a-custom-dataset


BlockLength of Control Option SuboptionStop is wrong

According to PN-AL-protocol_2722_V23Ed2MU4_Mar17 table 73 the Coding of DCPBlockLenth in conjunction with Suboption Stop shall be 0x2. All other values are reserved. In the current implementation the value is 2 + data lenth which results in a wrong lenght for the BlockLength

Thank you for that. The problem was solved merging your pull request.


Do you support AIX platforms?

npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! System AIX 1
npm ERR! command "/svt/shared/SVT32_10/bin/node" "/svt/shared/SVT32_10/bin/npm" "install" "sqlite3" "--build-from-source"
npm ERR! cwd /home/strongLoop
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
-bash-4.2$

Try npm install --build-from-source


Use Typescript

Strategy:

[ ] Convert existing code to ES6 (require => import) - https://github.com/Azure/Azurite/pull/63
[ ] Convert JS to TS - with minimal tsconfig and lint configuration

Each step should be merged separately, so that the git history does not look like a mess and it will be possible to track back cleanly.
This approach will also allow for "easier" PR reviews and put the codebase in a position where by we can start to nicer typescript features such as async await

Azurite v3 was written from the ground up in TypeScript


feat: expose Grumpkin commitment computation (PROOF-882)

Rationale for this change
The blitzar-sys crate has the ability to compute commitments with grumpkin elements. This work exposes that capability from the blitzar crate.
What changes are included in this PR?

Added compute_grumpkin_uncompressed_commitments_with_generators and tests.
Added documentation to support grumpkin commitment computation.
Fix documentation error in bn254 commitment computation doc.
Updated the commands to run examples in the examples document.
Documentation is updated to show we now support grumpkin commitment computation.

Are these changes tested?
Yes

:tada: This PR is included in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Game loop refactor

Index.js starts listeners, creates new game instance and fires the gameLoop
GameLoop updates game and render bodies

:+1: