Calling non standard functions of a GenTL producer

Is your feature request related to a problem? Please describe.
We want to connect to our GigEVision Sensor via harvester in combination with the MATRIX VISION mvIMPACT Acquire GenTL Producer.
Unfortunately harvester does not find the sensor because only a Directed Broadcast is used for Device Discovery but our sensor only supports Limited Broadcast (<IP_ADDRESS>). We wondered why the mv-Tools can find the sensor, but harvester not, even though the same GenTL Producer is used. We found out that the mvGenTLProducer.cti has some additional non-standard functions to setup the Broadcast method. These are used by the mv-Tools.
Describe the solution you'd like
Is there any way to make calls to these vendor specific functions of a GenTL producer within a python script that uses harvester?

@maikelmeyers I am afraid but Harvester can't access such vendor-specific functions. Regards, Kazunari.


fortrabbit update

thanks for maintaining phpversions.info

Thanks for keeping the updates coming! If you get bored of sending PRs and want patch level versions to auto-update, let me have a phpinfo URL like this php56.hosteurope-infos.de/phpinfo.php
Then it'll update auto-magically :)

Will do, but how to set the default version with the auto-update?

I'll write a fix this evening which changes default to look at the version nickname like 56 or 57 so that the full version can be assumed from host.versions.
You'll need to come back and let me know when the default changes from 56 to 70 or 71, but other than that you'll be off the hook.
Sound good?

Perfect!


Match request to prevent metric for each ID.

Coverage decreased (-7.4%) to 72.269% when pulling e3be96f501f49825ef30a0d3195bbd7ca5dd9def on monitoring/match-request into 5c127b36ad0a602ab4c2d1362a7ea362286943c3 on master.


support basic auth on CHARTMUSEUM type based on helm repository usern…

…ame and password

https://github.com/kiwigrid/helm-maven-plugin/issues/70


Unable to capture exception with malformed UTF-8 data in enclosing function variables

If any of automatically captured function variables contain invalid UTF-8 data then Raven_Compat::json_encode fails to encode variables frame and server responds with 400 HTTP error code. As a result we will never know about the exception just because some variable in the enclosing function was bad.

Thank you for reporting this issue!
Can you reproduce this with a test? I would like to understand if this affects the future 2.x release or not...

Closing this as it's pretty old. This has been fixed in the latest version of 2.2

FTR, the fix is #934


When using a custom MSA id I get error

Expected behavior
it works
Observed/actual behavior

Steps/models to reproduce
create msa id in azure, turn on allow public client flows
Version
4.2.0
Agreements

[X] I am running the latest version of the mod.
[X] My version of Minecraft is supported.
[X] I have searched for and ensured there isn't already an open issue regarding this.

Other
No response

Live SDK support is also enabled.

I am wondering what else I need to do.

I figured out the issue, I had to set my redirect URI to http://localhost:25585/callback


Bug with cell highlight in dark mode

problem with cell highlight on language/base_currency selection screens in dark mode

Duplicate of # https://github.com/horizontalsystems/bank-wallet-ios/issues/388


Setting a global shortcut to a menu item

Is there a way to set a global shortcut to a menu item? (so for example no matter which application I'm at, without clicking the menu bar icon, I could press the shortcut key and the menu item's function would be called)

I'm fairly confident this is not possible. Seems like it would be a loophole for some malicious stuff.

Probably possible via https://github.com/feeluown/FeelUOwn/blob/602fe097305474441dadd8c0fb223538b1f72cc2/feeluown/global_hotkey_mac.py
the question is: can we show the whole menu with a shortcut?


SPIKE: Investigate "Write" access to gitea with tC Create

Currently tc Create works with users in the "Owner" team ("Administrative" permissions in gitea).
I was unable to get it to work with less than Administrative permissions.
Is it possible to have lower permissions?
Are code changes required?

@richmahn , can you check this and close if already actioned? Thanks.


Make port 80 default status port for GCE and AWS

This adds --status-port for GCE in addition to AWS and makes
the default port 80.
Testing done:

encrypted AWS with and without --status-port
encrypted GCE with and without --status-port

LGTM

I believe that moving the argument to instance_config_args will cause it to show up in launch-gce-image.  We should talk to Bobby about this.  I'm working on --service-domain, which has the same issue.

launch-gce-image doesn't use the status port for anything and the status port isn't put in userdata so the launch-gce-image command will just ignore the value and it shouldn't be an issue.
The reason the service-domain thing is an issue is that we put the value in userdata and the metavisor decides who to talk to based on the contents of userdata rather than the file in the image

Yes, these are different cases, but there's still a supportability concern.  It's misleading to have an option for a command, which is documented but ignored.

I'll make it only for encrypt-ami, update-encrypted-ami, encrypt-gce-image, update-gce-image before I merge

Updated to address comment from @bburtin. Now it is not part of brkt launch-gce-instance - please take a look

👍  Thanks Dennis.


[feat] support Azure Static Web Apps in adapter-auto

This PR adds a check for Azure Static Web Apps to adapter-auto. If it succeeds, it uses svelte-adapter-azure-swa, which I maintain. This package is not automatically added as a dependency of adapter-auto, users need to install it first.
The check uses the GITHUB_ACTION_REPOSITORY environment variable to check if we are building using the Azure SWA action. Azure SWA builds on GitHub actions by default.
I tested this using patch-package on one of my SWA projects and it seemed to work.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

What happens if the user doesn't have it installed?
I'm a bit wary of this as it seems like a slippery slope where we'll start getting PRs to include all the various adapters in adapter-auto
I think adapter-auto needs a rethink. It drives me up the wall because it pulls in all sorts of crazy dependencies into every project via vercel/nft. It should probably install the necessary dependency rather than including them all or we should just kill the package or something

What happens if the user doesn't have it installed?

This is very much how it's supposed to work — for non-'core' adapters, we tell you how to install the adapter but we don't do it for you. Not a slippery slope, the more the merrier (as long as we don't end up in a situation where there are multiple competing adapters for a given platform).
There's an issue for automatically installing other adapters, precisely because of the @vercel/nft thing, which I would love to get rid of: https://github.com/sveltejs/kit/issues/5123. If we do that, we could consider making all adapters recognised by adapter-auto install automatically. We should definitely have that conversation but for now I'll merge this — thanks @geoffrich

we could consider making all adapters recognised by adapter-auto install automatically

This worries me. I talk in #5123 about the concerns of reproducible builds, and I don't know how we achieve that with third-party adapters without having a release of adapter-auto for every single release of all of these third-part adapters, which sounds like a mess. Unless we want to just say that you don't get the same reproducible build guarantees when pulling in third-party adapters?


Cone search slower than similar region query.

@ebellm reports that the cone search is much slower (~100x) than a region search for 10"-sized areas. I'm guessing this is due to the pandas_udf involved in the cone search; maybe this distance function can get moved into scala to speed up the search?

The problem probably happens because the sort merge join optimization is not getting triggered because of more complex query terms used. I'll try to fix this.

I've been unable to recreate this, using either very big or very small regions. It's true that very small searches are not very efficient (they take similar time as much larger areas), but both cone and region seem to be similarly slow in that regime (in the case of ZTF select * as a worst case scenario, several minutes).


"Why Keptn" page should link to "Keptn and others"

After reading the "why keptn" page, I'm probably thinking "this sounds like a lot of other tools I know about.
As a new potential Keptn adopter, I might just think "I won't bother because it sounds exactly like tool X".
We should point out to users that Keptn isn't usually a replacement tool but in fact it is designed to work perfectly well with other tools - it complements rather than replaces.
Therefore somewhere on the page (top / bottom?) we should include a sentence / paragraph which explains the above and then links to the Keptn and other tools page.

Totally agree!

Hi,  @StackScribe , @agardnerIT
I would like to work on this issue can you assign it to me ?

@Omkar0114 are you still able to work on this?

Hi @agardnerIT ,
Yes I'm  working on this. Sorry for not being active as I was busy with college exams. I'll make PR for this 🙂


Consider sanitizing filenames for whitespaces when creating a file from web interface

Description
When creating a filename using the website you may accidentally add whitespace to the filename which can lead to unexpected events, attempting to clone a repo which contains a file that has a trailing whitespace on Windows leads to this error:
git clone https://demo.gitea.com/future/test-filename.git
Cloning into 'test-filename'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.
error: invalid path 'there-is-a-whitespace '
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

This leads me to open this discussion to see if it's worth asking the gitea devs to perform whitespace removal (trim) at both the end and start of the filename string so this can be prevented automatically.
Gitea Version
1.23.0+dev-273-ga4899ffa24
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
demo.gitea.com
Operating System
demo.gitea.com
How are you running Gitea?
demo.gitea.com
Database
None

Maybe we need a IsVaildFileName in backend, as it will not be checked and already caused some problems like #29907


Update firestore-counter postinstall to include other platforms' client samples

[REQUIRED] Step 2: Extension name
This feature request is for extension: firestore-counter
What feature would you like to see?
Update POSINSTALL.md to include the Android and upcoming iOS (#488) samples. This may mean creating a README in each client sample's directory and linking out to that.
As a stretch goal, maybe it's time to consider spinning up a release process for npm/maven/swift package manager so these samples become proper client libraries.

@firebase/invertase can you please create a PR with a draft for a docs update and set @kevinthecheung as reviewer?


incorrect handling any phone numbers with 4-digit country code

Try to select any country with 4-digit country code
code example
mask = phoneUtil.parse(text, country.iso2); //where text save text in input w/o plus
number = phoneUtil.format(mask, PNF.INTERNATIONAL)
// For any 4-digit numbers, started from 1 (+1876, Jamaica) numbers incorrect detected us U.S. number

This should be reported to the original repository instead. Take look at the [demo parser] to see more debugging information -- it may give you a hint on what the parser is doing.


TrayUri work in general context

Try to get the application context, but fall back to the general context if null

Current coverage is 99.84% (diff: 0.00%)

Merging #76 into master will decrease coverage by 0.15%

@@           master        #76   diff @@
========================================
  Files          22         22
  Lines         655        655
  Methods         0          0
  Messages        0          0
  Branches       96         97     +1
========================================
- Hits          655        654     -1
  Misses          0          0
- Partials        0          1     +1

Powered by Codecov. Last update a2fccdd...ccf07d2

duplicate #75


Gekidou about screen

Summary
Ported the About Screen and I did a little bit of refactoring

/release-note-none

Do not forget to run npm run i18n-extract and check for empty strings under assets/base/i18n/en.json file, add the right values to the en.json if they are missing.

@enahum  Although I did this, I'm still seeing the MISSING_TRANSLATION error on the simulator.  All the ids of the FormattedText component have been wrapped with t() as well.  Is there an additional step?  I did reset the simulator itself + the nodejs server.

@enahum Although I did this, I'm still seeing the MISSING_TRANSLATION error on the simulator. All the ids of the FormattedText component have been wrapped with t() as well. Is there an additional step? I did reset the simulator itself + the nodejs server.

@avinashlng1080 run node scipts/generate-assets.js and the error will go away (normally this command is executed with by npm install)

Thanks.  It works !


Get lastop query params using URL.Query

unpackLastOperationRequest() and BindingLastOperationRequest() incorrectly expects map returned by mux.Vars() to include HTTP GET request query parameters. This causes service_id, plan_id and operation parameters to be lost instead of inserted into the osb specific request struct(s).
Modified to use URL.Query() instead.

Does anyone come to merge this pr?


Daemons dont start

Hi there,
when I run the command for starting all daemons it just gives me a blank line, and in the logs I see this:
Logfile created on 2018-01-11 16:36:53 +0000 by logger.rb/47272
I, [2018-01-11T16:36:53.619663 #28489]  INFO -- : *** below you find the most recent exception thrown, this will be likely (but not certainly) the exception that made the$E, [2018-01-11T16:36:53.619784 #28489] ERROR -- : Bad file descriptor (Errno::EBADF)
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/daemonize.rb:137:in `for_fd'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/daemonize.rb:137:in `block in close_io'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/daemonize.rb:137:in `initialize'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/daemonize.rb:137:in `new'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/daemonize.rb:137:in `close_io'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/daemonize.rb:109:in `daemonize'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/application.rb:146:in `start_load'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/application.rb:298:in `start'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/controller.rb:70:in `run'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons.rb:147:in `block in run'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `call'
/root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `catch_exceptions'

Whats the solution for this?
Regards,
Pavle

@pavlealeksic
Complete Peatio Help | Support | Bug Fixing
http://peatio.algobasket.com
Free Technical Documentation below :
https://github.com/peatio/peatio/files/2457278/PeatioCryptoExchange.pdf
https://www.youtube.com/watch?v=tpieNIMSBuQ
https://github.com/algobasket/PeatioCryptoExchange/
Contact me on Skype : algobasket
Thanks in advance !!!


Fixed unicode widget templating bug

The mode parameter wasn't being templated correctly resulting in u'somestring' showing up in the template.

Ready to merge.

Looks good. Merging.


Leaderboard and Nucleo Setup ReadMe Explanation

Added images and explanation how to setup the leaderboard and nucleo in the readme

Including this section of BPS's readme isn't a bad idea


[Wallet Connect] Unable to open app on incognito mode in Chrome browser

Description
Environment

Browser: Chrome, incognito mode (Firefox incognito mode working fine)
Safe: 0x91dB860c37E83dab0A4A005E209577E64c61EEfA (any will do)
App url: https://pr213--safereactapps.review.gnosisdev.com/wallet-connect/

Steps to reproduce
Open this link on incognito mode in chrome
https://gnosis-safe.io/app/rin:0x91dB860c37E83dab0A4A005E209577E64c61EEfA/apps?appUrl=https://pr213--safereactapps.review.gnosisdev.com/wallet-connect/
Expected result
After confirming disclaimer, app opens
Obtained result
After confirming disclaimer, app crashes

It is expected because this mode blocks localStorage

aaaaaamigo! Closing this bad boy then.

You can change this in settings to allow it in incognito mode: https://stackoverflow.com/questions/63195318/domexception-failed-to-read-the-localstorage-property-from-window-in-chrom

Super good to know, thank you ;)


[Bug] Fix symlink privilege issue from windows

PR checklist

[x] Ensure you have added or ran the appropriate tests for your PR.
[x] DCO signed

What type of PR is this?
bug
What this PR does / why we need it:
on windows, users need the admin privilege to create symlink.
Which issue(s) this PR fixes:
sc-30374
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Minor fixes for / problem:
Before:

After:


[Desktop] InteractiveViewer stuck after resizing window

Steps to Reproduce
I have an InteractiveViewer which wraps a larger widget.

Now make the window small.
Pan inside the window
Resize the window larger again
Now i can't pan again. It seem stuck. Somtimes

Expected results:
I would like to be able to pan after resize.
Actual results:
Pan is stuck.

Code sample

I'm on macOS. Desktop app.
Flutter 2.8.0-3.3.pre • channel beta
Tools • Dart 2.15.0

Logs

Hi @erf, Please share a minimal and complete reproducible code to better address the issue.
Also, what do you mean by Pan inside the window Do you mean pinch in (Zoom out)?

@maheshmnj "Pan" means to Move or Translate around, not zoom. I can try to make an example

Sure a reproducible example would help.

Here is an example similar to mine. See i'm creating a grid from a Row and Column.
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Align(
          alignment: Alignment.topCenter,
          child: InteractiveViewer(
            scaleEnabled: false,
            constrained: false,
            child: Row(
              children: List.generate(
                3,
                (col) => Column(
                  children: List.generate(
                    5,
                    (row) => Padding(
                      padding: const EdgeInsets.all(8),
                      child: SizedBox(
                        height: 100,
                        width: 200,
                        child: ColoredBox(
                          color: Colors.blue.withAlpha(100),
                          child: const Text(
                            'Hello',
                            style: TextStyle(fontSize: 20),
                          ),
                        ),
                      ),
                    ),
                  ),
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }
}

@erf  I can't reproduce it with your code sample, Also please note that if the window size is greater than the widget itself there's no panning(which is expected).
https://user-images.githubusercontent.com/31410839/144802486-49a32139-81fb-4462-b800-94a569da025d.mov

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.0.1 21A559 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

Here is a screen recording i made. First i made the view smaller, then i scrolled around, then after i resize the view larger than than the content, the view is stuck and i cant scroll.
https://user-images.githubusercontent.com/1562523/144811932-cfd3df2c-9c6a-4693-894b-3f06dac15a90.mov

@erf I believe this is working as intended. The interactive viewer is mainly for widgets whose size exceeds beyond the viewport. In your case when you resize the window the widget completely fits within the viewport so there's no panning.

if the window size is greater than the widget itself there's no panning(which is expected).

@maheshmnj I think the InteractiveViewer should consider that the window size could change, and should not get stuck if the content is smaller / translated but rather redraw correctly inside the current window size.

@maheshmnj I think the InteractiveViewer should consider that the window size could change, and should not get stuck if the content is smaller / translated but rather redraw correctly inside the current window size.

it's not stuck, It's just that the widget within the interactive viewer isn't large enough to pan around. If you want to move your widget freely within the viewport regardless of the size then you should consider using GestureDetector.

Also it should work for content smaller than the window size. There is a separate member for this constrained. You could also do only zoom. Please reopen.

I don't think this is a valid use case for InteractiveViewer. Nevertheless, I will leave this issue open for further insights from the team.

cc: @justinmc

You should not be able to pan around if the window is larger than the content, but the content should still snap / translate back into the window bounds when resized. That's what i mean by "stuck".


Windows support?

Hello there
Any plans to add windows support? As running this on docker for windows I think defeats the purpose of being a lightweight server (docker for windows is barely lightweight IMO 🤣😂)

Hi thanks for opening this issue.
Great question! Yes self contained releases for Linux, MacOS and Windows have been in the pipeline for sometime now, with not much progress or traction as of late. Docker has spoilt me with its ease of use but I think it's time to start looking into proper targeted OS releases. So thanks for prompting this 😄

Would you be willing to test out a Windows release soon?

Yeah sure

Cool thanks, I'll tag this for v2.2.0 and let you know when it's ready for testing.

Hi @Yankees4life I'll look into this for v3.1.0

Hi @Yankees4life just checking you're still available to test this out?

Yeah, I'm around

Pushing this out to release v3.2.0 Sorry, I will get to this.


Add Python 3.8, update to latest Python and Tox versions

Updates all Python versions to their latest version available from pyenv (~ Python.org)
Adds Python 3.8.0 (released this Monday)
Updates Tox to its latest stable version

Fixes #8.

@themattrix Would you mind merging?

Thank for merging! :1st_place_medal:
BTW, I'm not sure if we still need pypy3.3-5.5-alpha. I just left it in there, because I didn't want to try and break stuff.

Builds on Docker Hub don't seem to be triggered automatically.
@themattrix Can you take a look?
Side note: I have an image that depends on themattrix/tox; only when that updates it also gets updated with the latest Pythons. :snake:

Should be updated now - let me know if it's not!

That worked out, perfect! Autobuilds were triggered successfully. Thank you!
$ docker pull painless/tox
...
$ docker run --rm -it painless/tox sh
# bash
root@f82a1121d302:/app# for VERSION in 2.6 2.7 3.3 3.4 3.5 3.6 3.7 3.8; do python$VERSION --version; done
Python 2.6.9
Python 2.7.17
Python 3.3.7
Python 3.4.10
Python 3.5.7
Python 3.6.9
Python 3.7.5
Python 3.8.0
root@f82a1121d302:/app# pypy --version
Python 2.7.13 (4a68d8d3d2fc, Oct 10 2019, 06:43:13)
[PyPy 7.2.0 with GCC 6.2.0 20160901]
root@f82a1121d302:/app# pypy3 --version
Python 3.6.9 (5da45ced70e5, Oct 09 2019, 19:12:54)
[PyPy 7.2.0 with GCC 6.2.0 20160901]


[enhancement] containerlab version requires right elevation

Minor issue, but issue sudo to check version installed could be a potential security concern for some environments.
[admin@dct0 clab]$ containerlab version
containerlab requires sudo privileges to run!

Hey @azyablov, thanks for taking time raising an issue
version (and a few other cmds) will not require sudo in the next release, but deploy/destroy/inspect commands will require sudo privileges still.


Environment Setup

sudo apt-get install python3-dev
sudo apt-get install libevent-dev
sudo apt-get groupinstall 'development tools
Hi, please tell me, when setuping the environment, do I have to install the above libraries in the environment?
These operations require sudo permissions, but on my development machine, sudo permissions require some application.

Did you meet any error if not install the package above when training the model?

Sorry, we forget the dependence. But did you meet any error if not install the package above when training the model?

I had a try, but I encountered the following problem:
/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmdet/utils/setup_env.py:38: UserWarning: Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
warnings.warn(
/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmdet/utils/setup_env.py:48: UserWarning: Setting MKL_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
warnings.warn(
projects.mmdet3d_plugin
Traceback (most recent call last):
File "tools/train.py", line 286, in
main()
File "tools/train.py", line 139, in main
plg_lib = importlib.import_module(_module_path)
File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 961, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'projects'
But I tried it in python3，it can be imported.
Python 3.8.12 (default, Jan 10 2024, 14:32:25)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import projects.mmdet3d_plugin

Sorry, we forget the dependence. But did you meet any error if not install the package above when training the model?

I had a try, but I encountered the following problem:
/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmdet/utils/setup_env.py:38: UserWarning: Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. warnings.warn( /home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmdet/utils/setup_env.py:48: UserWarning: Setting MKL_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. warnings.warn( projects.mmdet3d_plugin Traceback (most recent call last): File "tools/train.py", line 286, in main() File "tools/train.py", line 139, in main plg_lib = importlib.import_module(_module_path) File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 961, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'projects'
But I tried it in python3，it can be imported. Python 3.8.12 (default, Jan 10 2024, 14:32:25) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux Type "help", "copyright", "credits" or "license" for more information.

import projects.mmdet3d_plugin

when I debugged it:
import sys

Hi, I continue to run training pipeline, but I met the following problem, I debugged it, found that BEVDetOCC is not in registry.module_dict.keys(). And registry.module_dict.keys() is not None.
Traceback (most recent call last):
File "tools/train.py", line 291, in
main()
File "tools/train.py", line 247, in main
model = build_model(
File "/home/users/yangchun.yan/FlashOCC/mmdetection3d/mmdet3d/models/builder.py", line 122, in build_model
return build_detector(cfg, train_cfg=train_cfg, test_cfg=test_cfg)
File "/home/users/yangchun.yan/FlashOCC/mmdetection3d/mmdet3d/models/builder.py", line 95, in build_detector
return MMDET_DETECTORS.build(
File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build
return self.build_func(*args, **kwargs, registry=self)
File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmcv/utils/registry.py", line 61, in build_from_cfg
raise KeyError(
KeyError: 'BEVDetOCC is not in the models registry'

Hi, I continue to run training pipeline, but I met the following problem, I debugged it, found that BEVDetOCC is not in registry.module_dict.keys(). And registry.module_dict.keys() is not None.
Traceback (most recent call last): File "tools/train.py", line 291, in main() File "tools/train.py", line 247, in main model = build_model( File "/home/users/yangchun.yan/FlashOCC/mmdetection3d/mmdet3d/models/builder.py", line 122, in build_model return build_detector(cfg, train_cfg=train_cfg, test_cfg=test_cfg) File "/home/users/yangchun.yan/FlashOCC/mmdetection3d/mmdet3d/models/builder.py", line 95, in build_detector return MMDET_DETECTORS.build( File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(*args, **kwargs, registry=self) File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/home/users/yangchun.yan/venv/FlashOCC_venv/lib/python3.8/site-packages/mmcv/utils/registry.py", line 61, in build_from_cfg raise KeyError( KeyError: 'BEVDetOCC is not in the models registry'

export PYTHONPATH=/path/to/FlashOCC:$PYTHONPATH
fixed it.

sudo apt-get install python3-dev
sudo apt-get install libevent-dev
sudo apt-get groupinstall 'development tools
pip install pycuda
I have not installed the above libraries, but currently I can train and infer on 3090 gpus.


Post-novo express cleanup

This cleans up a bunch of WIP/Todo-ish stuff in our express folder that crept in during novo work, such as

consolidating all middleware into one location, versus three
relocating files and context where appropriate (dev stuff to dev, middleware stuff to middleware, etc)
flattening out and simplifying some of the execution by removing unnecessary callback code, wrapping functions, etc
renaming novo routes to regular routes

Also removed / collapsed a couple extraneous files for clarity. The root now consists of
- src/config
- src/dev
- src/index
- src/middleware

This is the last PR in a family of related work:

Webpack Spring Cleaning #7225
Rename clientConfig to legacyConfig and novoConfig to clientConfig #7231
Move novo files to v2 #7233
Add React fast-refresh for hot reloading #7235

Browse files:

Before
After

Review App:

https://cleanup.artsy.net/

Whats left:

Remove references to novo-assets output, if possible.  (Though I think it's required as we have two parallel webpack streams now.)

Comments have been addressed and will remember git mv in the future. (For now, it just consolidates all of our dev related aspects into one location, versus being spread all around.)

Going to merge to get this to staging. If there's any further needs we can address it in a follow-up PR.


Consider submitting to Boost

This looks like a library that fits into Boost very well. Please consider submitting it.

I am somewhat hesitant about the prospect of potentially maintaining both a boost and non-boost version of the library, but I think you're right that it could fit quite well. I might check on the mailing list what people think. Not sure if being C++20-only or including a type list (I'm sure boost already has at least one of those) could pose problems.

Note that submitting to boost requires persistence and patience, but you also gain a lot of visibility.


Add helper function that uses concurrency for requests

I thought that this could be helpful. Let me know what you think.

can you give me an example of how to use it? for example, can I pass a whole note object to the function? can I share data with the function without passing it as a parameter?

can you give me an example of how to use it? for example, can I pass a whole note object to the function? can I share data with the function without passing it as a parameter?

There is an example in the PR itself, but here's another one
mentee_assignments = list(openreview.tools.iterget_edges(client, invitation='ICLR.cc/2022/Conference/Reviewer_Mentees/-/Assignment'))
reviewers_group_id = 'ICLR.cc/2022/Conference/Reviewers'

def assign_reviewer(assignment):
    note_id = assignment.head
    profile_id = assignment.tail
    note_number = client.get_note(note_id).number
    paper_group = f'ICLR.cc/2022/Conference/Paper{note_number}/Reviewers'
    client.add_members_to_group(paper_group, [profile_id])
    client.add_members_to_group(reviewers_group_id, [profile_id])

a = openreview.tools.concurrent_requests(assign_reviewer, mentee_assignments)

you can share data with the function even if it's not passed to the function like it's shown here I'm not passing reviewers_group_id, but I can still read it. It's the same with client. In this example the function takes an element of the list at a time. Each element is an edge object. But the array can have anything as long as the function you defined handles it. It's very similar to .map in JS. Let me know if I didn't answer your questions


QueryBuilder: q.findRecord(record) should throw error if record is not a record object

Current Behavior
If record is null (or undefined, or wrong) in q.findRecord(record), the application throws:
Uncaught TypeError: Cannot read property 'type' of undefined
    at findRecord (query-operators.js:8)
    ...

Desired Behavior
If record is null (or undefined, or wrong) in q.findRecord(record), the application throws an error message about 'record' is incorrect. (Must have a type & id field, must exist)
Note
I'm also happy to take care of this. Mostly making a note for myself to remember for when I start submitting friendly error PRs :)

@mindblight thanks for reporting! I agree this can and should be much friendlier.

@dgeb no problem :). I'm trying to make issues / update docs whenever I run into something unexpected. I'd like to submit a PR soon-ish with some fixes, but I have a lot of conference prep over the next few weeks 🤷♂


MQTT Client presence management

register all connected clients with protocol information?
publish connected/disconnected message to $SYS topics
Admin commands to list all connected clients
Web Dashboard to list all connected clients.

All the features about presence management implemented in 0.10.0 version.

emqttd_cm to register all connected clients
$SYS/brokers/${node}/clients/${clientid}/+ to publish presence
support "./bin/emqttd_ctl clients" cli command
Web Dashboard "Clients" Page to show all connected clients


Moving to Poetry for dependency management

To simplify the process of packaging and distribution to PyPI, we'd like to switch to Poetry for our dependency management. While this doesn't have priority at the moment, this is something we're planning for the near future.

Per https://github.com/python-discord/organisation/issues/132, at this time we're not interested in proceeding with this.


[Submission History] Enable use with Receiver reportId

Problem statement
As a Receiver, I need to query the History API and see any error/warnings and QF responses when fetching report details.
What you need to know
STLT Feature Ideas (Mural): https://app.mural.co/t/primedatainput6410/m/primedatainput6410/1660849046968/e257020850ab71f57b31120e27ec06203ae9c22b?sender=u67aa35711489d1496d0a7320
Stock of API functionality (Word): https://cdc.sharepoint.com/:w:/t/USDSatCDC/EXXo_HDcvhNBre9FnV_37pkBjNFwK7ZryxjpTROmxllQrg?e=VYoo3C
Acceptance criteria

[ ] ...

To do

[ ] ...

The deliveries API, when queried on a single delivered report, could/should give info on the Senders it came from, the Facilities it came from, the timing, and maybe other locations the data was sent to.
It could also the show warnings given to Senders, for data received.
However, it can't show information on data that was never delivered, which would include data that errored out, and data that was filtered out.

@jimduff-usds
This is not only stale, but truly moldy. I'll close this one... and feel proud for my growth in the last 1000 tickets haha


List all users

Fixes #32
Not super pretty, could probably improve this whole user management area at some point, but this gives a little more visibility of people actually using the system - might be quicker than having to search elsewhere for an email address.

We could also now change the email filter so it actually searches against Cognito's email addresses.


[Bug] cityscapes instance/detection evaluation stage: TypeError: Unsupported format: True

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
env0
sys.platform: linux
Python: 3.7.15 (default, Nov  7 2022, 22:00:21) [GCC 11.2.0]
CUDA available: True
GPU 0: Quadro P620
CUDA_HOME: None
GCC: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
PyTorch: 1.11.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.5.2 (Git Hash a9302535553c73243c632ad3c4c80beec3d19a1e)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - LAPACK is enabled (usually provided by MKL)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.3
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
  - CuDNN 8.2
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.11.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.12.0
OpenCV: 4.6.0
MMCV: 1.5.3
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.3
MMDetection: 2.25.3+a8a8373

limited by insufficient GPU memory, img resolution is tuned to
train_pipeline = [
    dict(type='LoadImageFromFile'),
    dict(type='LoadAnnotations', with_bbox=True, with_mask=True),
    dict(
        type='Resize', img_scale=[(1024, 400), (1024, 512)], keep_ratio=True),
    dict(type='RandomFlip', flip_ratio=0.5),
    dict(type='Normalize', **img_norm_cfg),
    dict(type='Pad', size_divisor=32),
    dict(type='DefaultFormatBundle'),
    dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks']),
]
test_pipeline = [
    dict(type='LoadImageFromFile'),
    dict(
        type='MultiScaleFlipAug',
        img_scale=(1024, 512),
        flip=False,
        transforms=[
            dict(type='Resize', keep_ratio=True),
            dict(type='RandomFlip'),
            dict(type='Normalize', **img_norm_cfg),
            dict(type='Pad', size_divisor=32),
            dict(type='ImageToTensor', keys=['img']),
            dict(type='Collect', keys=['img']),
        ])
]

env1
sys.platform: linux
Python: 3.8.15 (default, Nov  4 2022, 20:59:55) [GCC 11.2.0]
CUDA available: True
GPU 0,1: NVIDIA GeForce RTX 3090
CUDA_HOME: None
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.11.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.5.2 (Git Hash a9302535553c73243c632ad3c4c80beec3d19a1e)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - LAPACK is enabled (usually provided by MKL)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.3
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
  - CuDNN 8.2
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.11.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.12.0
OpenCV: 4.5.4
MMCV: 1.5.3
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.3
MMDetection: 2.25.3+a8a8373

On both env0&1, pytorch is installed by
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch

Environment variables on env1:
$PATH
$ echo $PATH
/home/quan/miniconda3/envs/mmdet/bin:/home/quan/miniconda3/condabin:/home/quan/.vscode-server/bin/6261075646f055b99068d3688932416f2346dd3b/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

$LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
/home/quan/miniconda3/envs/torch/x86_64-conda-linux-gnu/sysroot:

$PYTHONPATH
$ echo $PYTHONPATH
(empty)

Reproduces the problem - code sample
The cityscapes dataset is converted by 1: Inference and train with existing models and standard datasets — MMDetection 2.25.1 documentation
pip install cityscapesscripts

python tools/dataset_converters/cityscapes.py \
    ./data/cityscapes \
    --nproc 8 \
    --out-dir ./data/cityscapes/annotations

Single gpu (on env0):
python tools/train.py configs/cityscapes/faster_rcnn_r50_fpn_1x_cityscapes.py

Distributed (on env1):
bash tools/dist_train.sh configs/cityscapes/faster_rcnn_r50_fpn_1x_cityscapes.py 2

Reproduces the problem - command or script
same as above
Reproduces the problem - error message
The error messages are same on env0&1.
2022-11-16 07:09:43,816 - mmdet - INFO - Saving checkpoint at 1 iterations
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 500/500, 0.9 task/s, elapsed: 548s, ETA:     0sloading annotations into memory...
Done (t=0.04s)
creating index...
index created!
Traceback (most recent call last):
  File "tools/train.py", line 244, in <module>
    main()
  File "tools/train.py", line 240, in main
    meta=meta)
  File "/home/quan/Documents/my_repo/semclDetection/mmdet/apis/train.py", line 244, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/home/quan/miniconda3/envs/mmdet/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 138, in run
    iter_runner(iter_loaders[i], **kwargs)
  File "/home/quan/miniconda3/envs/mmdet/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 68, in train
    self.call_hook('after_train_iter')
  File "/home/quan/miniconda3/envs/mmdet/lib/python3.7/site-packages/mmcv/runner/base_runner.py", line 309, in call_hook
    getattr(hook, fn_name)(self)
  File "/home/quan/miniconda3/envs/mmdet/lib/python3.7/site-packages/mmcv/runner/hooks/evaluation.py", line 262, in after_train_iter
    self._do_evaluate(runner)
  File "/home/quan/Documents/my_repo/semclDetection/mmdet/core/evaluation/eval_hooks.py", line 63, in _do_evaluate
    key_score = self.evaluate(runner, results)
  File "/home/quan/miniconda3/envs/mmdet/lib/python3.7/site-packages/mmcv/runner/hooks/evaluation.py", line 364, in evaluate
    results, logger=runner.logger, **self.eval_kwargs)
  File "/home/quan/Documents/my_repo/semclDetection/mmdet/datasets/cityscapes.py", line 267, in evaluate
    self.test_mode, self.filter_empty_gt)
  File "/home/quan/Documents/my_repo/semclDetection/mmdet/datasets/custom.py", line 110, in __init__
    self.proposals = self.load_proposals(local_path)
  File "/home/quan/Documents/my_repo/semclDetection/mmdet/datasets/custom.py", line 143, in load_proposals
    return mmcv.load(proposal_file)
  File "/home/quan/miniconda3/envs/mmdet/lib/python3.7/site-packages/mmcv/fileio/io.py", line 57, in load
    raise TypeError(f'Unsupported format: {file_format}')
TypeError: Unsupported format: True

Additional information
Training and evaluation on voc and coco are totally fine.
For cityscapes, everything works like a charm in training stage, so I believe the dataset conversion has nothing to do with the error.

This bug is fixed.
Test result
2022-11-16 09:39:56,842 - mmdet - INFO - workflow: [('train', 1)], max: 1000 iters                                                                                [15/10370]2022-11-16 09:39:56,843 - mmdet - INFO - Checkpoints will be saved to /home/quan/Documents/my_repo/semclDetection/work_dirs/faster_rcnn_r50_fpn_1x_cityscapes by HardDiskBackend.
2022-11-16 09:41:16,037 - mmdet - INFO - Iter [100/1000]        lr: 1.988e-04, eta: 0:11:52, time: 0.792, data_time: 0.004, memory: 1039, loss_rpn_cls: 0.0519, loss_rpn_bbox: 0.0627, loss_cls: 1.1775, acc: 68.8086, loss_bbox: 0.4482, loss: 1.7402
2022-11-16 09:42:35,523 - mmdet - INFO - Iter [200/1000]        lr: 3.986e-04, eta: 0:10:34, time: 0.795, data_time: 0.004, memory: 1104, loss_rpn_cls: 0.0441, loss_rpn_bbox: 0.0640, loss_cls: 0.4772, acc: 85.6465, loss_bbox: 0.3460, loss: 0.9313
2022-11-16 09:43:55,972 - mmdet - INFO - Iter [300/1000]        lr: 5.984e-04, eta: 0:09:17, time: 0.804, data_time: 0.004, memory: 1117, loss_rpn_cls: 0.0448, loss_rpn_bbox: 0.0676, loss_cls: 0.3586, acc: 88.1172, loss_bbox: 0.2444, loss: 0.7155
2022-11-16 09:45:16,004 - mmdet - INFO - Iter [400/1000]        lr: 7.982e-04, eta: 0:07:58, time: 0.800, data_time: 0.004, memory: 1117, loss_rpn_cls: 0.0413, loss_rpn_bbox: 0.0722, loss_cls: 0.3453, acc: 88.3613, loss_bbox: 0.2199, loss: 0.6787
2022-11-16 09:46:35,151 - mmdet - INFO - Saving checkpoint at 500 iterations
2022-11-16 09:46:35,819 - mmdet - INFO - Iter [500/1000]        lr: 9.980e-04, eta: 0:06:38, time: 0.798, data_time: 0.004, memory: 1298, loss_rpn_cls: 0.0478, loss_rpn_bbox: 0.0702, loss_cls: 0.3276, acc: 88.7852, loss_bbox: 0.2130, loss: 0.6586
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 500/500, 3.0 task/s, elapsed: 168s, ETA:     0sloading annotations into memory...
Done (t=0.04s)
creating index...
index created!
loading annotations into memory...
Done (t=0.16s)
creating index...
index created!                                                                                2022-11-16 09:49:24,107 - mmdet - INFO - Evaluating bbox...
Loading and preparing results...
DONE (t=0.14s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type *bbox*
DONE (t=6.84s).
Accumulating evaluation results...
DONE (t=0.62s).
2022-11-16 09:49:31,801 - mmdet - INFO -
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.139
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.297
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = -1.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.052
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.187
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.281
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.227
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.227
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.227
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.054
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.261
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.439

2022-11-16 09:49:31,831 - mmdet - INFO - Iter(val) [500]        bbox_mAP: 0.1390, bbox_mAP_50: 0.2970, bbox_mAP_75: -1.0000, bbox_mAP_s: 0.0520, bbox_mAP_m: 0.1870, bbox_mAP_l: 0.2810, bbox_mAP_copypaste: 0.139 0.297 -1.000 0.052 0.187 0.281
2022-11-16 09:50:51,997 - mmdet - INFO - Iter [600/1000]        lr: 1.000e-03, eta: 0:07:16, time: 2.562, data_time: 1.764, memory: 1298, loss_rpn_cls: 0.0417, loss_rpn_bbox: 0.0703, loss_cls: 0.3083, acc: 89.3789, loss_bbox: 0.1991, loss: 0.6194
2022-11-16 09:52:12,053 - mmdet - INFO - Iter [700/1000]        lr: 1.000e-03, eta: 0:05:15, time: 0.801, data_time: 0.004, memory: 1298, loss_rpn_cls: 0.0372, loss_rpn_bbox: 0.0690, loss_cls: 0.3128, acc: 89.4688, loss_bbox: 0.1874, loss: 0.6064
2022-11-16 09:53:30,970 - mmdet - INFO - Iter [800/1000]        lr: 1.000e-03, eta: 0:03:23, time: 0.789, data_time: 0.004, memory: 1298, loss_rpn_cls: 0.0370, loss_rpn_bbox: 0.0709, loss_cls: 0.3139, acc: 88.6914, loss_bbox: 0.1968, loss: 0.6186
2022-11-16 09:54:49,779 - mmdet - INFO - Iter [900/1000]        lr: 1.000e-03, eta: 0:01:39, time: 0.788, data_time: 0.004, memory: 1298, loss_rpn_cls: 0.0385, loss_rpn_bbox: 0.0743, loss_cls: 0.3071, acc: 89.1699, loss_bbox: 0.1938, loss: 0.6136
2022-11-16 09:56:09,959 - mmdet - INFO - Saving checkpoint at 1000 iterations
2022-11-16 09:56:10,754 - mmdet - INFO - Exp name: faster_rcnn_r50_fpn_1x_cityscapes.py
2022-11-16 09:56:10,754 - mmdet - INFO - Iter [1000/1000]       lr: 1.000e-03, eta: 0:00:00, time: 0.810, data_time: 0.004, memory: 1298, loss_rpn_cls: 0.0314, loss_rpn_bbox: 0.0671, loss_cls: 0.2992, acc: 89.1348, loss_bbox: 0.1924, loss: 0.5901
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 500/500, 3.0 task/s, elapsed: 168s, ETA:     0sloading annotations into memory...
Done (t=0.15s)
creating index...
index created!
loading annotations into memory...
Done (t=0.05s)
creating index...
index created!
2022-11-16 09:58:58,904 - mmdet - INFO - Evaluating bbox...
Loading and preparing results...
DONE (t=0.02s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type *bbox*
DONE (t=5.92s).
Accumulating evaluation results...
DONE (t=0.55s).
2022-11-16 09:59:05,573 - mmdet - INFO -
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.206
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.398
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = -1.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.064
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.240
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.411
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.304
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.304
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.304
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.067
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.340
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.547

2022-11-16 09:59:05,606 - mmdet - INFO - Exp name: faster_rcnn_r50_fpn_1x_cityscapes.py
2022-11-16 09:59:05,606 - mmdet - INFO - Iter(val) [500]        bbox_mAP: 0.2060, bbox_mAP_50: 0.3980, bbox_mAP_75: -1.0000, bbox_mAP_s: 0.0640, bbox_mAP_m: 0.2400, bbox_mAP_l: 0.4110, bbox_mAP_copypaste: 0.206 0.398 -1.000 0.064 0.240 0.411


Make light/dark toggle for alternate rows with shading

Done - more flexible than just light/dark: allows for any color. Colors in the Faunalytics color palette (e.g., "red") default to brand colors. Hex needed to override (e.g., "#ff0000").


Fixing NullPointerExceptions for optional data.

These 4 methods have items that could cause a NullPointerException.

Hey - looks good, but would you mind adding in braces for the one-liner "if" statements to keep consistent with the existing formatting?

Sure thing, just added them.

Awesome, thanks for the contribution!


Make vscode.dev embeddable, using IFrame API for passing data

I am developing an in-browser editor app that creates code from Flatbuffer IDLs.  Working on the next version that is supposed to have GitHub integration. Would make life much easier if I could just embed this site.
The hooks in the editor take the source and then throw it into a WebAssembly version of the FlatBuffers compiler.  It would be much easier to just pass files from the GitHub repo, and allow people to submit pulls directly from the editor.

This is beyond the scope of vscode.dev, we explicitly do not want it to be an iframe anywhere.
With that being said, we have work planned that will help you use vscode.dev as the entrypoint for your own experiences.


[#395] Fix some sonar cloud issues

Pull Request Overview
Fix some sonar issues
Changes Introduced
Fix some sonar issues
Linked Issue(s)

Fixes #395

Testing Strategy

[ ] Describe how you have tested these changes
[ ] Include details of any new unit/integration tests added
[ ] Mention any edge cases considered or testing environments (e.g., browser versions, mobile)

Performance and Accessibility Considerations

[ ] Confirm no significant performance drops. Use tools like Lighthouse for performance evaluation.
[ ] Ensure new UI components are accessible (e.g., screen reader-friendly, keyboard navigable)

Code Quality Checks

[ ] Confirm self-review of code, including readability and maintainability
[ ] Verify adherence to project coding standards
[ ] Ensure proper documentation of functions and classes, if applicable

Console Warning/Error Checks

[ ] Confirm no new warnings or errors are showing in the console

Configuration Changes

[ ] If applicable, describe any changes to project configurations (e.g., vite.config.ts, tsconfig.json)

Screenshots/Video

[ ] Include screenshots/video demonstrating UI changes (if applicable)

Additional Notes

[ ] Add any other context or notes about the pull request here (optional)

@panagiotisbellias Thank you for your contribution. Could you please check the build at https://app.netlify.com/sites/binarytree-dev/deploys/661fc3144c127300088d48c0 It seems to be failing.
Let me know if you have any questions.

@lifeparticle fixed, but there are still some sonar issues to be fixed, I can see them in the next days in the context of a next pull request


Fix location of multicontainer project example

@alexose thanks for pointing those out! I've included your changes in #777, which has just been deployed to production.


fix(header): the dropdown for lang change css classes

Using a custom WSDRopdown in the header causes a weird hover effect because the global .ws-header .dropdown-trigger rules are not scoped to "menu-controls" which is why this bug results.
IS:

After FIX:

👍


Do not sort entries on ZipOutputStream.close

In EPUB specification specific file must be the first file in the Container.
http://idpf.org/epub/30/spec/epub30-ocf.html#sec-zip-container-mime
but, rubyzip sorts entries on output, so can't create valid EPUB container.
I've just removed sorting on output.

This breaks unzipping.  See my pull request, which should fix the default sort behaviour, but still allow a custom ZipEntrySet to be used: https://github.com/aussiegeek/rubyzip/pull/28


Add test for coordsToLatLngs and latLngToCoords

Add test for coordsToLatLngs and latLngToCoords  in geojson #7099

Closed in favor #7147

Closed in favor #7147


Permission deny if not use the container

I just start the installing process without installing the container(ignore the container installment step), then I meet with a "Permission Denied" error at the second step---Boot up Kubernetes. I have already known that there is no problem by using the container to install the PAI, but I wonder if it is necessary to install the container? If the answer is yes, I propose to point it out in the document, if not, I think it's maybe a bug?

Prefer to point it out, I think in working on a container with all package dependency will be better. Because in this environment, you don't need to install some software which you don't like.
And what's your opinion?

I think it's necessary to point it out that our user would better use docker in the cluster boostrap documents to avoid the permission problems.

Closing as @qyyy had responded the recommended approach.


Fix load balancing of pilot connections

Context:
https://github.com/istio/istio/issues/11181#issuecomment-583477997
Basically, this moves back to grpc stack, and adds max 1 requests per connection to force envoy to rebalance

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

Test name
Commit
Details
Rerun command

lint_istio
6858b16f0b6bda8ea4caadf0ad4e86e13755cf73
link
/test lint_istio

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

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

Test name
Commit
Details
Rerun command

unit-tests_istio
d9fc7009d90ef5af72b76e30e979421bda670215
link
/test unit-tests_istio

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

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

Test name
Commit
Details
Rerun command

unit-tests_istio
d9fc7009d90ef5af72b76e30e979421bda670215
link
/test unit-tests_istio

integ-istioio-k8s-tests_istio
d9fc7009d90ef5af72b76e30e979421bda670215
link
/test integ-istioio-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
1b6d669e55b41ede78af182c0cd0611647ce53da
link
/test integ-istioio-k8s-tests_istio

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

/retest

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

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
1b6d669e55b41ede78af182c0cd0611647ce53da
link
/test integ-istioio-k8s-tests_istio

integ-security-k8s-tests_istio
1b6d669e55b41ede78af182c0cd0611647ce53da
link
/test integ-security-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
1b6d669e55b41ede78af182c0cd0611647ce53da
link
/test integ-security-k8s-tests_istio

integ-istioio-k8s-tests_istio
1b6d669e55b41ede78af182c0cd0611647ce53da
link
/test integ-istioio-k8s-tests_istio

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

/retest

Do we have any e2e or integration tests for this?

Do we have any e2e or integration tests for this?

We do not. This seems like a challenging thing to add this sort of test for, do you have any ideas of how to do this without a ton of overhead? We have great coverage for this in our stress testing, which is going to be more realistic than any e2e test (assuming we don't run e2e tests for a day)

Agree, e2e is hard for this case.

I have ran this for a few days now and the balancing is working correctly. Is there anything else needed?

@howardjohn Thanks, that is great. LGTM

/cherrypick release-1.5

@howardjohn: new pull request created: #21126

In response to this:

/cherrypick release-1.5

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


⚠ Adacta-fintech.com has degraded performance

In b7244ae, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 3267 ms

Resolved: Adacta-fintech.com performance has improved in 80e9773 after 12 minutes.


Test authentication actions

Fixes #41
Proposed Changes

Managed to add an authenticated tag for testing authenticated actions in the controllers
However I am facing an issue with the generated user controller tests as they break now with the seeing as the resources expect a user to be authenticated

Pull Request Test Coverage Report for Build 36

4 of 12 (33.33%) changed or added relevant lines in 5 files are covered.
18 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-20.7%) to 44.792%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/spender_web/controllers/auth_controller.ex
0
1
0.0%

test/support/api_case.ex
2
5
40.0%

test/support/authentication_test_helpers.ex
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

lib/spender_web/controllers/fallback_controller.ex
1
0.0%

lib/spender_web/views/user_view.ex
1
0.0%

lib/spender_web/views/changeset_view.ex
2
0.0%

lib/spender_web/views/error_helpers.ex
2
0.0%

lib/spender_web/controllers/user_controller.ex
12
0.0%

Totals

Change from base Build 34:
-20.7%

Covered Lines:
43

Relevant Lines:
96

💛  - Coveralls


Suggest relative paths when showing 'add missing import' code action

The code action for adding missing imports currently provides a list of possible matches, but all seem to use absolute paths :

This will not work for my packages. I would like an additional option which uses a relative path from the current file (i.e. import { TreeNodeBase } from './tree-node-base';)

I'm sure this request must be somewhere in the 2000+ issues but multiple keyword searches has failed to return a result.

can you share your tsconfig.json?

Sure, does that mean it should be supported by my using a rootDir removes that support??
{
  "compileOnSave": false,
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist",
    "sourceMap": true,
    "inlineSources": true,
    "target": "es2015",
    "module": "es2015",
    "declaration": true,
    "importHelpers": true,
    "noImplicitAny": true,
    "removeComments": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "strictNullChecks": true,
    "forceConsistentCasingInFileNames": true,
    "baseUrl": "./",
    "paths": {
      "tslib"<EMAIL_ADDRESS>    }
  },
  "exclude": [
    "dist",
    "node_modules",
    "jspm_packages"
  ],
  "filesGlob": [
    "./src/**/*.ts",
    "./test/**/*.ts",
    "./typings/index.d.ts",
    "./custom_typings/**/*.d.ts",
    "./jspm_packages/**/*.d.ts"
  ]
}

I think this is caused by the baseUrl, i can not be sure until i look at the whole project.
baseUrl gets a preferential treatment, if the module is under the baseUrl it will always use the absolute path.
A possible fix here is to allow paths to be specified without an explicit baseUrl, with the value implicitly known to be ./, and then not using that in the code action. but this seems like a much bigger change.

hmm, I'll try to see why I have it in my tsconfig. Hopefully I can remove it and get it working for my use-case...

hmm, I'll try to see why I have it in my tsconfig. Hopefully I can remove it and get it working for my use-case...

if you do, you will need to install<EMAIL_ADDRESS>to your local node_modules instead of using path mapping.

I use a very similar configuration and I really like the current behavior.
With the possible exception of modules that are direct siblings of the current module, I find base URL rooted imports to be much more maintainable.
Sure, they lead to module specifiers that are sometimes a half-dozen characters longer than their relative ones would be, but they are easy to read, and they make reorganization painless.
I feel like it would be strange to have introduce an implicit --baseUrl to support a code fix.

I'm using JavaScriptServices template and in my case it adds incorrect import (probably due to incorrect baseUrl) but still in case if I want to add sibling React component that's in the same folder it adds:
import { LogsList } from 'ClientApp/logs/components/LogsList'

instead of just
import { LogsList } from './LogsList'

The problem is that it doesn't work well with node.js which can not be tuned (without hacks) to handle import paths.
And relative paths are often preferred.

Any news? Autoimports in TS 2.6 are affected by this issue and totally unusable.

Ideally we do not break the existing use case of baseUrl, one proposal here is to use relative path as long as it is below the baseUrl. in other words, you never need to climb up to the baseUrl directory itself to reach the target, always below it.

I prefer the current behavior.

Why not just provide both options in the code fix list? As far as the typesystem/binder is concerned, if the file is lookupable form either the relative or the absolute path, it's style choice as to which is the preferred result.

We can provide both but order them based on the heuristic.


Oureachy Summer 2024 Guidance

Hi all,
here's some information about the Outreachy application period. First of all: welcome! 🥳
For applicants
Thanks for contributing to ocaml-api-watch! Here's some information that's additional to the project description on the Outreachy site.
Contributions
Where to find issues
You can look for issues in the issue tracker of this project. In particular look for issues labelled with good first issue
First Steps
First of all, to contribute you'll need to get OCaml up and running. If you haven't already done that, you can have a look at the Installing OCaml page on the ocaml.org site.
How to Contribute
Once you got OCaml up and running, you can head to the CONTRIBUTING.md guide on how to setup the project, building it, running the test suites and everything you need to know to make your first contribution.
Where to ask for help
You should not hesitate to ask questions if you need help. You can ask directly on this issue if you need help with this project, how to contribute, etc...
If you need help with a particular issue, you can ask directly on that issue.
We'll add links to other communication channels here later on.
Mentors
The mentors for the application period and for the internship are @NathanReb, @dinakajoy and @shonfeder. We're all very excited about having Outreachy applicants and later an Outreachy intern contributing to this project!
On weekends we tend to be non or less available.
For Non-applicants
Outreachy is an initiative to give folks from under-represented groups in open-source the opportunity to do a remote internship in an open-source project. So for open-source communities, Outreachy is a great opportunity to work together with folks from lots of different backgrounds and maybe even grow the community and become more diverse! Outreachy provides the infrastructure for the internships and application process, and the open-source communities need to provide projects and mentoring. One of the projects we -i.e. the OCaml community- is participating with in this Outreachy round consists in writing the core of our API diffing system in ocaml-api-watch. We might get some Outreachy applicants contributing to this repo from March 4th until April 2nd 2024 as part of the application process to that project :)

Hello, I just got Ocaml installed, read from the project scope from Outreachy and it's interesting to build tools for developers. Going through OCaml resources and will contribute to first issues soon.

I was able to set up my working environment but I am a bit confused. Does it mean that in OCaml when we clone the main project and set up a development environment for it we do not need to set it again when working on our forked project?
Does the forked version inherit the development dependencies that we installed for the main project?

@MungaSoftwiz
It depends on how you installed the required packages.
You can read more on https://ocaml.org/docs/opam-switch-introduction to understand why a forked version might not need extra setup. Feel free to ask more questions if not clear on anything

Thankyou @dinakajoy for the resource. I see that I have to create another directory specific switch for this. I have a global switch but not the OCaml version needed.

Hello , I'm Mridul from India. The OCaml project under Outreachy seemed quite fascinating to work upon and I truly am excited for all the learnings that are to come with this project. Looking forward to contributing to this project.

rename C:\Users\HP\AppData\Local\Programs\DiskuvOCaml\bin\bos-ba00d2.tmp to C:\Users\HP\AppData\Local\Programs\DiskuvOCaml\bin\opam-real.exe: Permission denied
dkml-package.bc: [ERROR] FATAL [5f927a8b].
A transient failure occurred.
                     Root cause: The command had exit code 20:
                                   C:\Users\HP\AppData\Local\Temp\7zE9FF4AE4\bin\dkml-install-user-runner.exe
                                     install-user-offline-opamshim --verbosity=info --color=always
                                     --prefix C:\Users\HP\AppData\Local\Programs\DiskuvOCaml
                                     --staging-files C:\Users\HP\AppData\Local\Temp\7zE9FF4AE4\sg

                     >>> A transient failure occurred. <<<

I am not able to install OCaml. Facing the above error and am not able to rectify this.

@mridulsrivastavaa what Operating System please

Hi, @mridulsrivastavaa! It looks like you may be hitting https://github.com/diskuv/dkml-installer-ocaml/issues/87
Please try the fix described at https://github.com/diskuv/dkml-installer-ocaml/issues/87#issuecomment-1837115174
Protip: I found this issue by searching for the first line of your error. That can often help point the way to fixes :)

Happy to meet you @amandaguan-ag and @mridulsrivastavaa. Welcome to this amazing OCaml community.

Hi @MungaSoftwiz please I love to contribute to this project but there are no issues

Welcome to the community @Payne680. Pleache check on the issues section and tag one of our mentors.

Alright @MungaSoftwiz, I will reach out to a mentor asap

Hi, @mridulsrivastavaa! It looks like you may be hitting diskuv/dkml-installer-ocaml#87
Please try the fix described at diskuv/dkml-installer-ocaml#87 (comment)
Protip: I found this issue by searching for the first line of your error. That can often help point the way to fixes :)

I tried this but still it shows the same error.

@mridulsrivastavaa what Operating System please

Windows

I see you tried renaming a file hence the no permission error. Things to think about:

Did you run the command with privileges?
If you're using Windows, make sure you're running the command prompt or PowerShell with administrative privileges. Right-click on the command prompt or PowerShell icon and select Run as administrator.
With windows sometimes the antivirus might interfere when trying to install programs. Try temporarily disabling the antivirus software to see if it works.

Contributor

I tried turning off the microsoft windows defender and also checked for running powershell as administrator but didn't work. How should I proceed further ?

Can you please provide the updated error logs? We might be able to deduce something @mridulsrivastavaa .

2024-03-06T16:45:23.801Z [Win32] C:\Program Files\Git\cmd\git.exe -C C:\Users\HP\AppData\Local\Temp\PA19DC~1\0 clone https://github.com/thekid/inotify-win.git
Cloning into 'inotify-win'...
2024-03-06T16:45:26.480Z [Win32] C:\Program Files\Git\cmd\git.exe -C C:\Users\HP\AppData\Local\Temp\PA19DC~1\0\inotify-win -c advice.detachedHead=false checkout 36d18f3dfe042b21d7136a1479f08f0d8e30e2f9
HEAD is now at 36d18f3 Merge branch 'master' of github.com:thekid/inotify-win
2024-03-06T16:45:26.568Z [Win32] C:\WINDOWS\system32\cmd.exe /c call "C:\Users\HP\AppData\Local\Temp\PA19DC~1\0\inotify-win\compile.bat"
C:\Users\HP\AppData\Local\Temp\7z5822BFA0>"C:\DiskuvOCaml\BuildTools\Common7\Tools\vsdevcmd.bat" -no_logo -vcvars_ver=14.26 -winsdk=10.0.18362.0   && csc.exe /nologo /target:exe "/out:C:\Users\HP\AppData\Local\Temp\PA19DC~1\0\inotify-win\inotifywait.exe" "C:\Users\HP\AppData\Local\Temp\PA19DC~1\0\inotify-win\src*.cs"
The system cannot find the path specified.
The above is the log file.

Can you please provide the updated error logs? We might be able to deduce something @mridulsrivastavaa .

As I am absolutely new to open source, do let me know if I haven't understood your question well.

Setup did not complete because an error occurred.
Win32 command failed! Exited with 1. Command was: C:\WINDOWS\system32\cmd.exe /c call "C:\Users\HP\AppData\Local\Temp\PA19DC~1\0\inotify-win\compile.bat".
at Invoke-Win32CommandWithProgress, C:\Users\HP\AppData\Local\Temp\7z5822BFA0\sg\network-ocamlcompiler\windows_x86_64\setup-userprofile.ps1: line 771
at , C:\Users\HP\AppData\Local\Temp\7z5822BFA0\sg\network-ocamlcompiler\windows_x86_64\setup-userprofile.ps1: line 914
at , : line 1
at , : line 1
Bug Reports can be filed at https://github.com/diskuv/dkml-installer-ocaml/issues
Please copy the error message and attach the log file available at
C:\Users\HP\AppData\Local\Programs\DISKUV~1\setup-userprofile.full.log
FATAL [a0d16230]. A transient failure occurred.
Root cause: The conformant command had exit code 1:
C:\Users\HP\AppData\Local\Temp\7z5822BFA0\sg\network-ocamlcompiler\windows_x86_64\setup-userprofile.bat
-AllowRunAsAdmin
-InstallationPrefix
C:\Users\HP\AppData\Local\Programs\DISKUV~1
-MSYS2Dir
C:\Users\HP\AppData\Local\Programs\DISKUV~1\tools\MSYS2
-OpamExe
C:\Users\HP\AppData\Local\Programs\DISKUV~1\bin\OPAM-R~1.EXE
-DkmlPath
C:\Users\HP\AppData\Local\Temp\7Z5822~1\sg\NETWOR~1\WINDOW~1\dkmldir
-GlobalCompileDir
C:\Users\HP\AppData\Local\Temp\7Z5822~1\sg\STAGIN~1\generic
-NoDeploymentSlot -DkmlHostAbi
windows_x86_64 -TempParentPath
C:\Users\HP\AppData\Local\Temp\PA19DC~1
-SkipProgress -SkipMSYS2Update

A transient failure occurred. <<<

dkml-package.bc: [ERROR] FATAL [5f927a8b].
A transient failure occurred.
                     Root cause: The command had exit code 20:
                                   C:\Users\HP\AppData\Local\Temp\7z5822BFA0\bin\dkml-install-user-runner.exe
                                     install-user-network-ocamlcompiler --verbosity=info
                                     --color=always --prefix
                                     C:\Users\HP\AppData\Local\Programs\DiskuvOCaml
                                     --staging-files C:\Users\HP\AppData\Local\Temp\7z5822BFA0\sg

                     >>> A transient failure occurred. <<<

This is the error message

@mridulsrivastavaa are you running WSL on your machine?

Yes, I installed it as the requirements for the project stated windows users to have WSL

@mridulsrivastavaa are you running WSL on your machine?

Yes, I installed it as the requirements for the project stated windows users to have WSL

Then you can install an Ubuntu version from Microsoft Store. This will enable you to work in a Linux environment in windows.
Install Ubuntu from Microsoft Store:

Open the Microsoft Store on your Windows machine.
Search for Ubuntu and select Ubuntu from the search results.
Click on Install to download and install Ubuntu on your system. We have several version but go with the latest 22.04

Launch Ubuntu:
After installation, launch Ubuntu from the start menu or by searching for it.
Initial Configuration:
Upon first launch, ubuntu will prompt you to set up a new user account. Follow the on-screen instructions to create your username and password. Select one you won't forget because it will be used for privileged actions/commands.
Update Packages (Optional):
The run the following commands in the Ubuntu terminal to update the package lists and upgrade existing packages:
sudo apt update
sudo apt upgrade

If you have not used a linux environment before I would suggest going to YouTube and watch some videos of  LearnLinuxTv. Here is a the playlist: https://www.youtube.com/watch?v=lvSoxOMg5_c&list=PLT98CRl2KxKHaKA9-4_I38sLzK134p4GJ
Personally I think working in a Linux environment would be easier for the project compared to windows.

Hello everyone! This is Siddhi from India. I am an Outreachy participant and am very excited to work on this project. I have started studying up on OCaml and have set up this project repository in my local machine. Looking forward to interacting and contributing!

@NathanReb Please there are no free issues for me to contribute

@mridulsrivastavaa are you running WSL on your machine?

Yes, I installed it as the requirements for the project stated windows users to have WSL

Then you can install an Ubuntu version from Microsoft Store. This will enable you to work in a Linux environment in windows. Install Ubuntu from Microsoft Store:

Open the Microsoft Store on your Windows machine.
Search for Ubuntu and select Ubuntu from the search results.
Click on Install to download and install Ubuntu on your system. We have several version but go with the latest 22.04

Launch Ubuntu: After installation, launch Ubuntu from the start menu or by searching for it.
Initial Configuration: Upon first launch, ubuntu will prompt you to set up a new user account. Follow the on-screen instructions to create your username and password. Select one you won't forget because it will be used for privileged actions/commands.
Update Packages (Optional): The run the following commands in the Ubuntu terminal to update the package lists and upgrade existing packages:
sudo apt update
sudo apt upgrade

If you have not used a linux environment before I would suggest going to YouTube and watch some videos of LearnLinuxTv. Here is a the playlist: https://www.youtube.com/watch?v=lvSoxOMg5_c&list=PLT98CRl2KxKHaKA9-4_I38sLzK134p4GJ
Then you can go to the contributions page and install OCaml on your linux environment.
Personally I think working in a Linux environment would be easier for the project compared to windows.

Thank you, the issue got resolved.

@NathanReb Please there are no free issues for me to contribute

@Payne680 I'm sorry we closed, at least temporarily, the project to new applicant as we already have a lot more than we initially expected. I can only advise you to look for other projects in the meantime.
I'll let you know if we re-open it and have issues opened for new contributors.

Alright @NathanReb, I will look for another project in the meantime

@NathanReb  @shonfeder
I've been considering an alternative approach for implementing the api-watch project, and I wanted to suggest the idea of using the OCaml parse tree. This approach uses the parse tree to analyze modifications, deletions, or additions. While I'm not very experienced in parsing and syntax trees, I had been reading about crafting interpreters, and it occurred to me that this approach might offer a solution to our problem. However, I also acknowledge that I might be mistaken and need to be corrected about this suggestion.

@harshey1103 The parsetree is a mere abstract representation of the source code in .ml or .mli files.
The .cmi files are interface files, built by the compiler from .mli files. Their content is very similar to the parsetree but is simplified to be strictly what we care about here and has already been partially interpreted by the compiler.
By using the .cmi files, i.e. the Types.signature type, we ensure that we agree with the compiler on what the actual interface of a module is.

Hello @NathanReb @shonfeder. I have been working on the final application and could not help but notice the statement below:
You have not provided answers to community-specific questions. Please double check with your mentor and coordinator if you need to provide additional information.
Do we have any community specific questions for this project please? I wanted to ask early because of Easter celebrations coming soon.

Hello @NathanReb @shonfeder. I have been working on the final application and could not help but notice the statement below:
You have not provided answers to community-specific questions. Please double check with your mentor and coordinator if you need to provide additional information.
Do we have any community specific questions for this project please? I wanted to ask early because of the fast approaching Easter celebrations.

We do not have any Communtiy-specific questions!

I'm closing this as the application period has ended!


Invite list of reviewers in bulk

As an organizer
I want to invite a list of reviewers all at once
So that I don't have to do it by hand one by one

Good enhancement, I can do the dirty work of manually input of them this year..


[imgui] update to 1.91.4

Library name
imgui
New version number
1.91.4
Other information that may be useful (release notes, etc...)
https://github.com/ocornut/imgui/releases/tag/v1.91.4

Is it possible to remove transient dbus dependency from sdl2? It breaks cross-building with ImgGUI/SDL2 enabled.

Is it possible to remove transient dbus dependency from sdl2? It breaks cross-building with ImgGUI/SDL2 enabled.

Elaborate. How to reproduce the problem?

Will try... I can't provide complete setup just for now but there is part of the vcpkg.json:
        {
            "name": "sdl2",
            "features": ["x11"],
            "default-features": false,
            "platform": "linux and !native"
        },
        {
            "name": "sdl2",
            "features": ["x11", "wayland"],
            "platform": "linux & native"
        },
        {
          "name": "sdl2",
          "platform": "!linux"
        },
...
        {
            "features": [
                "sdl2-renderer-binding",
                "sdl2-binding"
            ],
            "name": "imgui"
        },

first part enables sdl2 dependecy with the specified parts of the features and prevent wayland, asla and dbus building for the non-native linux target:
        {
            "name": "sdl2",
            "features": ["x11"],
            "default-features": false,
            "platform": "linux and !native"
        },

But enabling imgui with the sdl2 render backend enables sdl2 dependency with the default feature set, including wayland, dbus, alsa.

Yep, I will do, when find time. Thanks!

soft bump

Fixed by #42244.


Can dependabot alerts support gradle?

Hi team,
Do you have any plans to make dependabot alerts support gradle?
Currently only maven is supported in the documentation.

👋🏻  Hi @lianup if you configure an Actions workflow which uploads information about the Gradle dependencies in use (like this one), then you can get Dependabot alerts for Gradle.


NullPointer when calling ForeignKeyContainer#toModel() on a foreign key with a null relationship.

I have the following models:
@ModelContainer @Table(database = Database.class) public class Image extends Entity {
    @PrimaryKey @Column long id;
    @Column String url;
}

@ModelContainer @Table(database = Database.class) public class Channel extends Entity {
    @PrimaryKey @Column long id;
    @Column @ForeignKey(saveForeignKeyModel = false) Image image;
}

@ModelContainer @Table(database = Database.class) public class ChannelUser extends Entity {
    @PrimaryKey @Column long id;
    @Column @ForeignKey(saveForeignKeyModel = false) ForeignKeyContainer<Channel> channel;

    public Channel getChannel() {
         this.channel.toModel()
    }

When I construct a Channel with a null image followed by a ChannelUser referencing that Channel, calling ChannelUser#getChannel() returns a NPE.
                         E  FATAL EXCEPTION: main
                         E  Process: com.app, PID: 7130
                         E  java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Map.get(java.lang.Object)' on a null object reference
                         E      at com.raizlabs.android.dbflow.structure.container.ForeignKeyContainer.getValue(ForeignKeyContainer.java:62)
                         E      at com.raizlabs.android.dbflow.structure.container.SimpleModelContainer.getLongValue(SimpleModelContainer.java:47)
                         E      at com.raizlabs.android.dbflow.structure.container.SimpleModelContainer.getLngValue(SimpleModelContainer.java:61)
                         E      at com.app.models.Image_Container.toModel(Image_Container.java:123)
                         E      at com.app.models.Image_Container.toModel(Image_Container.java:22)
                         E      at com.app.models.Channel_Container.toModel(Channel_Container.java:175)

The problem seems to be with the generated Channel_Container#toModel() method which incorrectly checks the wrong object for null.
Currently:
    ModelContainer<User, ?> refimage = modelContainer.getInstance(modelContainer.getValue("image"), com.app.models.Image.class);
    if (refimage != null) {
      model.image = com.raizlabs.android.dbflow.config.FlowManager.getContainerAdapter(com.app.models.Image.class).toModel(refimage);
    }

...but should be (?):
    ModelContainer<User, ?> refimage = modelContainer.getInstance(modelContainer.getValue("image"), com.app.models.Image.class);
    if (refimage != null && refimage.toModel() != null) { // should check .toModel()
      model.image = com.raizlabs.android.dbflow.config.FlowManager.getContainerAdapter(com.app.models.Image.class).toModel(refimage);
    }

Will send a patch as soon as I can but not too familiar with annotation processing so might take me a bit.

I was able to address this issue by calling .load() on channel instead of .toModel(). The docs indicate that .toModel() should be called to load an object—should this be corrected? When should one be called over the other?

use load() in ForeignKeyContainer as it loads the relationship - I made it more clear in the docs. toModel() simply converts its underlying data into a Model representation of the ModelContainer data.

@agrosner thanks!


How to use this patch on Arduino Library? (IDFGH-13501)

Hi Espressif,
I use the Arduino Library and i am facing this problem and need to use this patch. May i know how to use this patch on Ardunio Library ？

Sorry but I think Arduino project maintainers know more about this. Transfer this to Arduino project.


1436790/1438462: Part 19: 20 files with MSDN link fixes.

Contributes to PR #2037 and applies to the following work items:

User Story 1436790: Content Update: update MSDN links for .NET content
Task 1438462: Update MSDN links for .NET content

The last modified file (docs/framework/winforms/controls/customize-cells-and-columns-in-the-datagrid-by-extending-behavior.md) contains the required changes to a paragraph that appears verbatim in 62 other files. Please inspect that one closely.


[fix](inverted index change) fix update delete bitmap incompletely when build inverted index on mow table

Proposed changes
fix update delete bitmap incompletely when build inverted index on mow table
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.32 seconds
stream load tsv:          541 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          98.5 seconds inserted 10000000 Rows, about 101K ops/s
storage size:<PHONE_NUMBER>6 Bytes

run p0

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.5 seconds
stream load tsv:          537 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>6 Bytes

run p0


How to i can transfer a id value in vuetable and my-detail-row will auto show data of this

or any action delete, edit


Implement Modepress Angular Client Plugin

Instead of having the API calls made through code in the angular admin app, the app should instead make use of the Modepress angular client plugin. This will cut down on bugs and code improve code re-use.

Moved to: https://github.com/MKHenson/modepress-admin/issues/1


Add chronometer display to format capabilities

Hi, first thanks for your greatly simple functional code.
I just needed some chronometer,
so I thought it could get you into interest.
Best regards

Thank you for this enhancement.
I've merged it and also included it in the demo.
Regards
Erik
Op do 30 nov 2023 om 10:50 schreef S4mdf0o1 @.***>:

Hi, first thanks for your greatly simple functional code.
I just needed some chronometer,
so I thought it could get you into interest.
Best regards
You can view, comment on, or merge this pull request online at:
https://github.com/erikdelange/MicroPython-Logging/pull/1
Commit Summary

568cab5
https://github.com/erikdelange/MicroPython-Logging/pull/1/commits/568cab5ad5fa44489156c78fe6d14fddd4e8cc60
Add chronometer display to format capabilities

File Changes
(1 file https://github.com/erikdelange/MicroPython-Logging/pull/1/files)

M logging.py
https://github.com/erikdelange/MicroPython-Logging/pull/1/files#diff-1e60665602d22004ef44cca36c1f4a6478a1af075ef83e839a4ac68191a50cfc
(2)

Patch Links:

https://github.com/erikdelange/MicroPython-Logging/pull/1.patch
https://github.com/erikdelange/MicroPython-Logging/pull/1.diff

—
Reply to this email directly, view it on GitHub
https://github.com/erikdelange/MicroPython-Logging/pull/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AF43YW3PWFHLC7VQD4NSYIDYHBJF3AVCNFSM6AAAAABAA4HVR6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTQMRWGU3DOOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Consider adding federation-level client version telemetry

To make more informed decisions on the support time frame of old client versions (https://github.com/fedimint/fedimint/issues/5805) it would be extremely useful to have insights into the versions run by active users.
One way of getting that information would be if each client, when it connects to a federation for the first time in a given day, would send its version to the federation which would record it in the day's bucket.
(date, version) -> counter

This information could be shown to guardians in the guardian UI, which would allow them to help their community along in the upgrade process should they notice people lagging behind. We could possibly even expose the data publicly such that tools like Fedimint Observer can scrape it and report a summary of currently active versions.
Implemented properly, the associated privacy leak should be negligible, nonetheless we could even provide a flag to turn off the behavior.

I like it as an opt in for the federation / client . Show it on fedimint-observer, clients can opt in when they join