Error in numpy-stl

Hello,
I got an error with your stl.py.
I just installed numpy-stl and got this error:

from stl import stl
Traceback (most recent call last):
File "", line 1, in
File "C:\Python34\lib\site-packages\stl\stl.py", line 58
except RuntimeError, (recoverable, e):
^
SyntaxError: invalid syntax

I'm using Win 8.1 and Python 3.4.2.
I tried to fix the error with deleting the ',' but then another error occurs;

from stl import stl
Traceback (most recent call last):
File "", line 1, in
File "C:\Python34\lib\site-packages\stl\stl.py", line 157
except AssertionError, e:
^

May you fix that error or help me to fix it?
Thanks in advance.

Hi,
The problem is that the library currently only supports python 2 and you
are using python 3.
Perhaps I will add python 3 support in the future but right away.
Do you require python 3 or is it possible to settle for python 2 for the
time being?
On 16 Jan 2015 21:41, "immi1988"<EMAIL_ADDRESS>wrote:

Hello,
I got an error with your stl.py.
I just installed numpy-stl and got this error:
from stl import stl
Traceback (most recent call last):
File "", line 1, in
File "C:\Python34\lib\site-packages\stl\stl.py", line 58
except RuntimeError, (recoverable, e):
^
SyntaxError: invalid syntax
I'm using Win 8.1 and Python 3.4.2.
I tried to fix the error with deleting the ',' but then another error
occurs;
from stl import stl
Traceback (most recent call last):
File "", line 1, in
File "C:\Python34\lib\site-packages\stl\stl.py", line 157
except AssertionError, e:
^
May you fix that error or help me to fix it?
Thanks in advance.
—
Reply to this email directly or view it on GitHub
https://github.com/WoLpH/numpy-stl/issues/3.

Hi,
thank you for your fast support!!!
I think I will use Python 2.

i need python 3 :(.
any idea when this might be released?

Hi @sirgogo, it's on the shortlist for fixing (see #9). I'm hoping to have it fixed before the weekend but it's proving to be slightly less trivial than I would hope. The unicode and bytes handling of Python 3 is significantly different from Python 2. THe result is that trying to get it to work by itself is already a problem but getting it to work in both is definitely a bit tricky.

@WoLpH , i see. no worries, i'm rooting for you!
while we're here, maybe i could ask you an orthogonal question related to STL files..  do you know a good way to (1) read in a STL file, and (2) check if a given point lies within an object (if so, which object?) ?
essentially, i'm asking how to read/use STL files in Python. Something like rendering the whole model as a 3-D numpy matrix would work too. i need to query the space and find where which material each point belongs to.

Well, (1) is easy using this library. (2) is notoriously difficult to do,
to properly know if a point is within an object you need to check the
entire hull to see what's the actual "inside" of the object while keeping
in mind that you don't know which side of a triangle is the inside.
Example of a very difficult problem to solve. What would happen if you have
a sphere with a sphere inside it cut out, is the center of both spheres
"inside" the object or not?
For (2) the best way is probably to see if the point is within the convex
hull of an object, but it's not actually a correct solution.
On 24 June 2015 at 22:50, Abhejit Rajagopal<EMAIL_ADDRESS>wrote:

@WoLpH https://github.com/WoLpH , i see. no worries, i'm rooting for
you!
while we're here, maybe i could ask you an orthogonal question related to
STL files.. do you know a good way to (1) read in a STL file, and (2) check
if a given point lies within an object (if so, which object?) ?
essentially, i'm asking how to read/use STL files in Python. Something
like rendering the whole model as a 3-D numpy matrix would work too. i need
to query the space and find where which material each point belongs to.
—
Reply to this email directly or view it on GitHub
https://github.com/WoLpH/numpy-stl/issues/3#issuecomment-115008802.

@sirgogo version 1.5 adds Python 3 support :)


Update to Electron 30

See UpdatingElectron.md for instructions.

Currently waiting on an Electron 30 build to become available.

There's an issue with Electron 31 right now, so changing this back to Electron 30.


Write "Writing Plugins" documentation under user guide

Walk-through general procedure for creating a plugin to use with legoHDL.

First draft complete.


Exception "Not_found" when running the custom_merge example

When running the example, I get the following output.
I've just read:
-----------
0003: This is my third
0002: This is my second
0001: This is my first
0008: Yes. On t!
0007: I can add stuff on t also
0003: This is my third
0002: This is my second
0001: This is my first
-----------
Fatal error: exception Not_found

Cannot reproduce. Which version of Irmin are you running?

0.9.3 - should I update?

I've reverted to 0.9.3 and still cannot reproduce. Can you:

try to remove /tmp/irmin/test and run the example again
which version of ocaml-git do you have? If no 1.4.10 can you upgrade and try again?
if still unsuccessful, you can try to export DEBUG=1, run the example again and report the error trace.

Thanks!

yes, removing /tmp/irmin/test fixed it. Thanks.


Translation does not seem to work well.

Most of menus were previously shown in Korean but currently not.
A month ago (approximately) there were Korean texts, but now... English everywhere.
Why this happened?

Maybe some menus were translated false and fix bug now. And if you have enough time, you can translate Korean texts from English with us. Come to join us!

There was a translation that messed up the syntax of the Korean locale file, causing it to not register the translations. @chethana-sastry has fixed it and it will be deployed next week, probably on Tuesday.


Clarify input vs output in location units?

I suspect this may be confusing to some font developers

u indicates the number is expressed in "user" units—the "input" values in a variable font's designspace axis map. d indicates the number is exprssed in "design" units—the "output" values in a variable font's designspace axis map.

because ‘input’ and ‘output’ depend on perspective. From a font maker perspective, the design units are in the input from the font and the user units are the output to the client software. From a user perspective, the user units are the input from the client software and the design units are the output from the font.
I think the latter is what is implied by the use of input and output in the variable location spec, but maybe clarify this in some way?

Ah, that part of the discussion was meant literally and refers to designspace file map elements:
https://fonttools.readthedocs.io/en/latest/designspaceLib/xml.html#map-element
So yes, abstractly, one could consider the mapping (and probably many mappings) to run in either direction, those terms refer to specific XML properties that aren't ambiguous in that way.


Update PULL_REQUEST_TEMPLATE.md

fixing the broken contributing guide link

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Thanks for the fix. @saintmalik


collectd: allow mysql to be null

Tested on linux-x64.
cc @bjornfor

can you change it to libmysql and then fix it in callPackage { libmysql = mysql.lib; }; ? That way it's quite explicit that we only need the lib. It would tie in well with another bigger PR as well.

:+1:

thanks !


Create acceptance criteria

Choose from a list of cuisines in a dropdown list. (5)
Choose from a list of activities in a dropdown list. (bike, run, walk)
When the user selects a cuisine and activity, then a recipe with the duration of work out will be displayed that correlates the calories in and out.
User is able to bookmark a recipe bank with the workout duration.
At least 2 API used)
Use Material UI (MUI)
Be responsive (CSS) REM no pixels
*if it cannot call, must be responsive (front and backend)
README file


Fix #3: Make sidebar fixed, collapsible and responsive

Fixes issue #3
Summary of Changes

Made the sidebar stay fixed despite scrolling
Made the sidebar collapsible with a button toggle.
Made UI responsive for all screen sizes
Made sure no UI bugs are present.
Added sidenav button for mobile

Preview
https://github.com/user-attachments/assets/73880d6a-baec-4177-9078-adba2eb45c72

this looks good
can you make the sidebar totally disappear for mobile screens. for mobile screens, it should show just the button and not the whole vertical strip.
that would be better right?

@codeblech Yup, just implemented it. Please check it out

Looks great!
A tiny design issue is the size of the heading "Image Gallery". It should be a little bigger and match the size of the menu button. We can even make that heading change according to the opened page.
Would you like to do those changes in this PR or another one? totally upto you

Thanks for the feedback! 😊
I think it would be best to open a new PR for the additional changes to keep each set of modifications focused and manageable. I'll go ahead and make the adjustments in a new branch and submit a separate PR shortly.

Preview
https://github.com/user-attachments/assets/6940e7a6-8b59-458a-af9c-7b9b3b986171


Issue-Adds currency toggle

Automated Review Comments
Issues in src/components/App.tsx:

(10, 'Hardcoded string found')
(11, 'Hardcoded string found')
Issues in src/components/Header.tsx:
(10, 'Line exceeds 80 characters')
(14, 'Line exceeds 80 characters')
(24, 'Hardcoded string found')
(27, 'Hardcoded string found')
(28, 'Line exceeds 80 characters')
(28, 'Hardcoded string found')
(29, 'Line exceeds 80 characters')
(29, 'Hardcoded string found')
(30, 'Line exceeds 80 characters')
(30, 'Hardcoded string found')
(31, 'Hardcoded string found')
(32, 'Line exceeds 80 characters')
(33, 'Hardcoded string found')
Issues in src/components/coins/Coin.tsx:
(4, 'Hardcoded string found')
(5, 'Line exceeds 80 characters')
(6, 'Line exceeds 80 characters')
(11, 'Hardcoded string found')
(13, 'Line exceeds 80 characters')
Issues in src/utils/iconConfig.ts:
(4, 'Line exceeds 80 characters')
(5, 'Line exceeds 80 characters')
(7, 'Line exceeds 80 characters')

I got it.


Warnings when creating the docs

When I run gir -c Gir.toml -d ../gir-files --doc-target-path docs.md -m doc, I get the following warnings:
[WARN  libgir::codegen::doc::format] `GTK_LAYER_SHELL_KEYBOARD_MODE_NONE` matches a constant/variant and should use `%` prefix instead of `#`
[WARN  libgir::codegen::doc::format] `GTK_LAYER_SHELL_LAYER_TOP` matches a constant/variant and should use `%` prefix instead of `#`

I need to have a look on how to get rid of them/solve the issue

Created a pull request to change the documentation slightly. At least when testing it locally, this fixed all the warnings. The docs don't change from the PR. If this is merged, it will take some time to find it's way into distributions and Ubuntu, so these warnings will likely continue to show up for a few months/years. They can safely be ignored.

The pull request was merged upstream. Once it trickles down to distributions, this warning should vanish. It can be ignored until then


spark.shuffle.s3.useBlockManager

What are some workload examples where spark.shuffle.s3.useBlockManager can return invalid results?
As i understand, setting this to false is important when i want to prevent fetch failed errors. Without this, an executor losing ends up clearing out map status on the driver for all the blocks. can someone confirm?

@ibm-open-source-bot


suggestion: rename pypi artifact to be more specific

suggestion
For sake of making dependent projects' pip freeze more self explanatory, I suggest using a more specific pypi artifact name such as llm-tool-parse or similar.
context
I was TL/admin on many Python projects. Naming artifacts well helps with discoverability (e.g. when someone greps text output, and avoids vague/ambiguous interpretation of your library's utility: tool and parse are overloaded terminology in software.

You're correct, even my previous project hypertion(only supported regular functions) didn't make sense to anyone because of how I named it.🙂

there's always a push/pull between:

being "cute" vs. being "literal" with project names
being "literal" and tightly scoped vs. "vague" and open to empire building

good luck with the next phases of development, I was going to continue my Ollama PR 238 by adding a registry, but I would also tightly scope that to building a dictionary of Callables, and just helping users look that up.
Anything that's more opinionated than that probably belongs in a side library like this one.

@anthonywu I am confused, please suggest some names🙂


Single List to Hold Supported Languages

PRs that are adding support for specific languages are having to add their language in multiple places. This will make addition of a new language support slightly easier.

Closing as #22 includes this change.


Not working with SSR enabled

Hello and thanks for this awesome package!
I have a problem when ssr is enabled, the webpage takes forever to load and nothing happens.
In the console there is / -> http://localhost:3001/ I think this looks good tho.
I tested it with ssr: false → works, ssr: true → doesn't work. (same goes for ws)
"nuxt": "^3.9.1",
"@nuxt-alt/proxy": "^2.5.6"

proxy: {
    debug: true,
    experimental: {
      listener: true
    },
    proxies: {
      "/api": {
        target: "http://localhost:3001/",
        changeOrigin: true,
        rewrite: (path: string) => path.replace(/^\/api/, '')
      }
    }
  }

That doesn't really tell me much. There's an event handler that catches errors so if that's not outputting anything I'm not sure I can assist.

Ah yea there's an issue with useFetch that caused me to make another module because it's a pain to have to try to make it work with the proxy plugin. This module was originally able to handle $fetch/useFetch but i had long since removed it because it got incompatible after an update and playing cat/mouse with this framework was annoying.
So you have 2 options here:

To make it work with useFetch you need to set a baseURL for the proxy module to work with it. Cause the request runs so early in the lifecycle that I cant intercept it so the host url ends up either being 'localhost' (yes, just localhost without the port for some reason) or '/' which isn't even a host. devProxy and routeRules works because they're available somewhere this module can't reach so it's a dead end for me. (And I don't want to use those because devProxy only works in dev mode, and routeRules is barebones)

I made the @nuxt-alt/http module which is basically a layer over $fetch but works more similar to @nuxtjs/axios https://github.com/nuxt-alt/http. As you can see I end up making modules for things that shouldn't be an issue but are, but this one is unrelated the of the first issue. I just made it cause I wanted the interceptor features of axios to work with fetch.

Maan that's a lot of headache, thanks for the options. I indeed needed a proxy for websockets since nitro still doesn't include it...
Maybe I'll stick with the long polling feature from socket.io.
Thanks for your work man!

@JoniLieh can you try using useFetch with the latest update now? It fetches for me now but I'd like a 2nd source.

Thanks for the quick update, unfortunately nothing has changed for me...
ssr: false → working, ssr: true → not working  (in nuxt.config.ts)

Any updates on this? I'm still having the problem

Any updates on this? I'm still having the problem

Idk I abandoned my websocket proxy idea... mb https://nuxt.com/modules/api-party will help idk if they support ws tho


Update Niftany and our rubocop_todo list

Includes disabling the RSpec/BeforeAfterAll rule in Rubocop.

Coverage remained the same at 92.799% when pulling 560fc31ad3a5ef12a7fb4fe67b8f8f80e15596f8 on update-niftany into d492bffc9aa77240d837b2e62155b742421e913a on develop.


Preparation for AKS guide

test-me-please

test-docs-please

Coverage increased (+0.007%) to 44.124% when pulling e410cb486716f2378d3eba2e72cbad566600262b on pr/tgraf/aks-guide into 55a242ddb3234390ec84c40fd9e6095ca4232dc0 on master.


Kernel not load

Hi, im trying to making an hackintosh on my Thinkpad E560, i have make a USB with the folder containing the macOS recovery files (i have put files into "com.apple.recovery.boot", i have tried macOS Monterey and Big Sur, same problem), but, when i start from USB and select the USB Drive for boot in opencore, it give errors for the kernel loading, and, after 6/9 minutes, its reboot.
I have the model of E560 with the i5, but, i have read on the readme file that EFI is compatible with the E560 family.
I followed the bios settings to set, but the problem persists.
Thanks in advance
Sorry for bad English

Hi, im trying to making an hackintosh on my Thinkpad E560, i have make a USB with the folder containing the macOS recovery files (i have put files into "com.apple.recovery.boot", i have tried macOS Monterey and Big Sur, same problem), but, when i start from USB and select the USB Drive for boot in opencore, it give errors for the kernel loading, and, after 6/9 minutes, its reboot. I have the model of E560 with the i5, but, i have read on the readme file that EFI is compatible with the E560 family. I followed the bios settings to set, but the problem persists.

Hi
I think the problem in recovery.
Don't use recovery.
Download full image macOS Monterey and correctly install on USB
All recent issues this is are problems with incorrectly created USB.

Hi
I have maked the USB from Windows 11, i have used the macrecovery method.
I have created the 'com.apple.recovery.boot' folder in the usb drive and put in it the downloaded files (BaseSystem.dmg, BaseSystem.chucklist)
After, i downloaded the EFI and put it into the USB Drive.

Thanks, i will try

Hi,
I have maked a USB With full macOS Monterey recovery, but, after the recovery reboot, opencore boot menu disappears, without the possibility of select the device from boot, its starts, but reboot automatically.


Add KafkaFlow instrumentation to registry

KafkaFlow, a .NET library built on top of Apache Kafka, includes OpenTelemetry instrumentation with support for traces and baggage signals.

@svrnm, thank you for solving the issues and merging this PR. I was on paid time leave and only saw your comments today.


[FEATURE]: [Coinbase] Use connector_request_reference_id as reference to the connector

:memo: Feature Description

We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard.
Presently, there is a lack of uniformity in this process, as some implementations employ payment_id while others utilize attempt_id.
This inconsistency arises from the fact that payment_id and attempt_id correspond to two distinct entities within our system.

:hammer: Possible Implementation

To mitigate this confusion, we've introduced a new field called connector_request_reference_id in our RouterData.
This id should replace them as a reference id to the connector for payment request.
One might need to have exposure to api docs of the connector for which it is being implemented.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052

:bookmark: Note : All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

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

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

@Sakilmostak can you assign me this issue?

Hey @sahil9001, I see that you're already assigned to #2298 and are working on it. For now, we'll leave this issue open to any other interested contributors. You may pick this up once your work on #2298 is completed, and if no other contributors have expressed interest on this. I hope that's fine by you

Hello @AkshayaFoiger can I be assigned this issue, please?

Hey @soumya-dash3, sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with

Hey @soumya-dash3 ,
Let us know if you face any issues. Happy to help! : )

Hey @soumya-dash3 ,
Just checking in - are you working on it or shall we consider reassigning it to someone else?

Hello @VedantKhairnar , you may reassign it to someone else. Sorry for the inconvenience.

@VedantKhairnar I would love to take this up. Feel free to assign it to me. Thanks.

Hello @Rutam21, it seems like the issue assigned to you is still under review. To diversity the participants, we cant assign an issue until the previous one is done or at least reviewed.

@VedantKhairnar You can assign this issue to me as my previous issues are reviewed and one is merged as well. Thanks.

Sure @Rutam21, have assigned this to you.
Feel free to ask if you have any queries.

Hey @Rutam21
Just checking in - are you working on it? Do you need help from our side?

Hello @Rutam21 , we didn't hear back from you, so we are unassigning you from this issue. If you are interested, we will assign you with other issues, if the current one is taken.
Hey @sccalabr , sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with


New issue in kdb profile

This is symptomatic of another error. There is another error involved here that I cannot specify. The error is certainly correct, but it shouldn't be an OSError. It even says "raise IOError".  No one know anything about how software works, even if they say they do and make attempts to improve offerings.
>parallel -j 10 'kmerdb profile -k 10 Gspecies_{}x_1.fq Gspecies_{}x_2.fq Gspecies_{}x.10.kdb' ::: $(seq 10 20 200)
DEBUG: 2022/01/19 12:50:07 profile L1262| Validating processor count for parallelization...
INFO: 2022/01/19 12:50:07 profile L1267| Checking extension of output file...
Traceback (most recent call last):
  File "/home/matt/.pyenv/versions/kdb/bin/kmerdb", line 33, in <module>
    sys.exit(load_entry_point('kmerdb==0.5.2', 'console_scripts', 'kmerdb')())
  File "/home/matt/.pyenv/versions/kdb/lib/python3.10/site-packages/kmerdb-0.5.2-py3.10.egg/kmerdb/__init__.py", line 1613, in cli
    args.func(args)
  File "/home/matt/.pyenv/versions/kdb/lib/python3.10/site-packages/kmerdb-0.5.2-py3.10.egg/kmerdb/__init__.py", line 1269, in profile
    raise IOError("Destination .kdb filepath does not end in '.kdb'")
OSError: Destination .kdb filepath does not end in '.kdb'

The real issue, isn't the issue here. The issue is something we built in order to describe undesired input or detection behavior. This has nothing to do with improper functioning of the code. We document behavior we can detect that signals a decision cannot be made.

This is new bounty, a bug to eventually fix when we can get consistent behavior during acceptance testing from the commands that are currently getting time allocated to them. This is a timing issue, that's all.

The issue seemed to be reproduced by forgetting to pipe stderr to a log file. Having a file that does not in fact end with .kdb, like that which would end in .txt or .log or similar files to store program output temporarily.


How to run the make_eclipse_compat script correctly?

Hey everyone,
I have tried to run this script in many ways but still don't work, First times i just clicked it or ran the command lines from the folder where it is located but the error says the command line has to be run from the main folder "android-basic-samples-master".
And so i open the main folder called "android-basic-samples-master" and from there open a new
command terminal on windows OS. Then i insert just as instructed the following command:
"Scripts/make_eclipse_compat.cmd"  (.cmd because it's on windows) but it says the following:
"Scripts is not recognized as an internal or external command"
This looks so simple but yet so hard... all i want is to run a script lol..
Thank you
Best Regards
Serge

Very strange.  Just out of curiosity, why not use Android Studio and Gradle?
The easiest thing to do might be to manually copy the files vs. using the script.

make a directory eclipse_compat.  This is where the Eclipse project will be.

For each sample and libraries\BaseGameUtils do the following: (I'll use ButtonClicker as the example)

Make a directory for the sample:
  `mkdir eclipse_compat\ButtonClicker`

Copy the android manifest for the sample:

copy BasicSamples\ButtonClicker\src\main\AndroidManifest.xml eclipse_compat\ButtonClicker

Copy the resources:

mkdir eclipse_compat\ButtonClicker\res
xcopy /e /i BasicSamples\ButtonClicker\src\main\res\*.* eclipse_compat\ButtonClicker\res

Copy the java source

mkdir eclipse_compat\ButtonClicker\src
xcopy /e /i BasicSamples\ButtonClicker\src\main\java\*.* eclipse_compat\ButtonClicker\src

Copy the app compat library

mkdir eclipse_compat\ButtonClicker\libs
xcopy /e /i Scripts\eclipse_aux\*.jar eclipse_compat\ButtonClicker\libs


fmi installation

Kindly, update about the installation.
As fmi, can't be installed via pip...
Thanks a lot...

Thanks I got it, it is simply importing from fmi folder.

Thanks


Flask is not Fun: No output from hello world

I tried the hello world example on http://flask.pocoo.org/
from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello World!"

    if __name__ == "__main__":
        app.run()

Installed with pip:
sudo pip install flask
Downloading/unpacking flask
  Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded
  Running setup.py (path:/tmp/pip_build_root/flask/setup.py) egg_info for package flask

    warning: no files found matching '*' under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'examples'
    warning: no previously-included files matching '*.pyo' found under directory 'examples'
    no previously-included directories found matching 'docs/_build'
    no previously-included directories found matching 'docs/_themes/.git'
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in /usr/local/lib/python2.7/dist-packages (from flask)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in /usr/local/lib/python2.7/dist-packages (from flask)
Requirement already satisfied (use --upgrade to upgrade): itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from flask)
Installing collected packages: flask
  Running setup.py install for flask

    warning: no files found matching '*' under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'examples'
    warning: no previously-included files matching '*.pyo' found under directory 'examples'
    no previously-included directories found matching 'docs/_build'
    no previously-included directories found matching 'docs/_themes/.git'
Successfully installed flask
Cleaning up...

pip freeze | grep -i flask
Flask==0.10.1

run hello.py, no output at all, no server starting, no errors, nothing
~ [master] python hello.py
~ [master]

~ [master] python3 hello.py
~ [master]

lsb_release shows im newb ubuntu user:
~ [master] lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 17.3 Rosa
Release:	17.3
Codename:	rosa

I've everything python related installed, python, python-dev, python-pip, the same for python 3
☁  ~ [master] python --version
Python 2.7.6
☁  ~ [master] python3 --version
Python 3.4.3

☁  ~ [master] pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
☁  ~ [master] pip3 --version
pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)

I didn't use virutalenv as I just wanted to try out flask.

Hi. This is a bug tracker and not a support forum. Please use stackoverflow for these questions.


Incorrect table strcuture detection and text extraction

Hi,
I am having an input image of size (338, 1388, 3). This is the input image.
.
This is the table structure model output.
.
This is the cell detection model output.

This is the final output in a dataframe.
.
I have few question regarding this.

why is the table structure misaligned?
Is the a way i can input an image greater than (448 X 448) size. As i believe that this output is due to the resizing of the image into (448 X 448) size.
Is there any way, these models can run on cpu?

Hi @vikas-singh16, thanks for your interest!

The table in the screenshot seems OOD of the training distribution as it has super bold boundaries. I suggest finetuning on your customized dataset for better performance.
It's possible but that will also trigger finetuning.
You can directly run the full pipeline notebook on cpu by toggling the device variable.

Hi, Thanks for the response. I tried a small hack and it worked. Just resize the while maintaining the image aspect ratios. The image will something like this.
Input Image

Output

Pls let me know your thought on this.

hi, Now with this approach I have encountered another issue. The table Headers are not properly placed at the right spot. While exploring this issue, I can across a function named "build_table_from_html_and_cell". Pls can u briefly explain me how are to connecting the html output and cell output and combining them into one.

Could you by chance share the code for resizing the image while maintaining image aspect ratios?

yes, It does work better in my case.


Doesn't work after recent BB update

Hi,
It seems this plugin doesn't work anymore with no LUA errors.

It's still working for me - I haven't bumped the version to 11.0 yet, so maybe you just don't have "Load out of Date AddOns" enabled.

I mean the last BetterBags update 0.1.80, not wow update.


Yet another ChangeLog update.

It would be cool if commits with new features and important fixes will add a corresponding piece to the ChangeLog.md!


Anime notifications

Add ability to subscribe to be notified for when an anime show is released (preferably subbed), powered by https://AnimeSchedule.net

Added.


Check whether the task finishes before deferring the task for GCSObjectUpdateSensorAsync

Like the SnowflakeOperatorAsync, we need to verify if the task has already completed before deferring it to prevent unnecessary deferring. This way, we can skip deferring the task if it has already been finished. To accomplish this, we can use the poke method found in the sync counterpart of most sensors.


Developer experience: Debugging source code locally during the development phase

As a developer, I need a way to start or attach the debugger to monitor the execution of the endpoint, stop it, restart it, and set breakpoints in my local development environment (when the application is hosted using Sandbox).

@achamayou comment
"This is difficult to do, and specific to SGX. Once on AMD, users will run their logic in a container they completely control, and can use a debugger easily, since it will be outside the CCF node. So it will get addressed, but not on SGX."


Add dependencies to nuspec

Description

Add nanoFramework.CoreLibrary to nuspec
Add nanoFramework.System.Runtime to nuspec

Motivation and Context
There were no dependencies referenced in the nuspec prior to this change. Since the test framework is always added to a project that already references nanoFramework.CoreLibrary this wasn't an issue before. However now that we added a reference to nanoFramework.System.Runtime in https://github.com/nanoframework/nanoFramework.TestFramework/pull/249 this may be an issue.
How Has This Been Tested?

N/A

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[X] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[ ] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[X] I have read the CONTRIBUTING document.
[ ] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

Not depending from mscorlib is on purpose. Do not add it please.
As for the dependency from Runtime: isn't this a development dependency? I believe it is, so there is no add a dependency to it...
Care to double check please?

Not depending from mscorlib is on purpose. Do not add it please. As for the dependency from Runtime: isn't this a development dependency? I believe it is, so there is no add a dependency to it... Care to double check please?

You're correct that it's a development dependency and doesn't need to be in the nuspec 👍

Thank you @CoryCharlton for taking the time to look into this!


#1114 print build path in projectHealth

Solves #1114 (only projectHealth, but not buildHealth).
Prints absolute path of according build.gradle of the project module. This can be pretty helpful in large multi-module projects, especially when there is no full matching between module name and submodule directory.
Sample task output:
> Task :utilities:projectHealth
/Users/morph/Projects/demo-gradle-multi-module/utilities/build.gradle
Unused dependencies which should be removed:
  testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'

Using absolute path
The absolute path is printed intentionally as it seems to be the best trade-off.
This path is recognized in IDEA to open file in "Navigate to File...":

For instance, if relative path is used, there can be ambiguity:

Also, the relative path is not always in parent directory (for included builds) and printing "../../parent/build.gradle" will not help navigating to the file in the IDE.

I've updated the implementation moving the gradle file name prepending to ProjectHealthTask not to cache the GenerateProjectHealthReportTask output with absolute path (while it's not a task input).


Add support for rate_limit in file input

Hey, I want to set my pipeline to read user credentials from file and then trigger the processing with each message (one user - one line in file - one msg). The whole pipeline should run periodically for all accounts.
I am trying to design it nicely and I though that actually my problem could be solved by the rate_limit option in file input. It looks (at least for me) like a good use-case which could be used in many scenarios. What do you think about it?

Hey @fitter22, there's a rate_limit processor you can place at the input level which would work the same way, it'd look something like this:
input:
  file:
    path: foo
  processors:
  - rate_limit:
      resource: foolimit

Basically a line would be read from the file and if the rate limit blocks then it applies back pressure and prevents the next line from being read, which throttles the whole pipeline.

Thanks @Jeffail
that rate_limit processor at input + cron job should to the thing I want to achieve.
Maybe one question, because I think I might be missing something. My pipeline should execute periodically with the same input (real data input is moved to pipeline due to complicated authorization). With your proposed solution I need to trigger bentos externally to rerun the pipeline (with cron or smth similar).
But is that a proper way to go with benthos in general? In one of the previous pipelines I made, I used bloblang input as a "clock" which periodically triggers the pipeline. So I got an "infinite" execution with configurable intervals, all from within the bentos itself.
In the problem I am explaining in this issue I tried to emulate similar logic with a sequence of inputs:
input:
  sequence:
    inputs:
      - bloblang:
          mapping: root = ""
          interval: 3s
      - file:
          path: test.txt

But I am getting only empty messages.
So is cron job a "proper way" to periodically re-run the pipeline with non-looping inputs, like file?

Hey @fitter22, that's close but the first bloblang input in your sequence will never finish, and therefore the file input won't ever be consumed, you can fix that by adding count: 1 so it waits for the interval, produces a single message, then ends.
You can also prevent the generated message from actually appearing by making your mapping root = deleted(), that results in the bloblang input waiting for the interval, generating a message which gets deleted, and since the count of generated messages is now reached it closes down and the next input is consumed.
Finally, once the file input is consumed the pipeline will shut down and you'll need to restart it again. If instead you want the input to be re-consumed for every 3 second interval you can place the sequence input within a read_until input, which has the ability to restart the child input once it ends, it'll look like this:
input:
  read_until:
    restart_input: true
    condition:
      static: false
    input:
      sequence:
        inputs:
          - bloblang:
              mapping: 'root = deleted()'
              interval: 3s
              count: 1
          - file:
              path: test.txt

Which is a long and confusing config. In order to make this type of pattern simpler I could add a field restart_interval to the read_until input which would delay the restart of the child inputs each time by the specified amount, it'd look like this:
input:
  read_until:
    restart_input: true
    restart_interval: 3s
    condition:
      static: false
    input:
      file:
        path: test.txt

Which is a little bit nicer, I'm not sure it's intuitive to need to use a read_until input in order to create a timed input so maybe it's worth putting all this behaviour into something like a new cron input that embodies all the behaviour. I'll think it over.

The processor now gets a mention in the rate limits page: https://www.benthos.dev/docs/components/rate_limits/about


Fix missing word in config files docs

s/operate the/operate at the/ on https://docs.astral.sh/uv/configuration/files/

Thanks!


Avoid unnecessary inspector updates when loading or switching scenes

Fixes https://github.com/godotengine/godot/issues/80126. Maybe some other errors too — related to plugins, inspector updates, and editor startup. For example, https://github.com/godotengine/godot/issues/73650.
So the issue seems like it has something to do with plugins, but it's not. The core of the problem lies in the fact that we like to excessively trigger update_tree on the inspector, which can result in multiple calls to edit the same object from different contexts in the same frame. Or result in requests for editing from scenes which are going to be replaced during the loading procedure. Overall I identified the following cases related to the issue:

When we load the editor, we try to restore some scenes. When we restore those scenes, we call load_scene. Each such call results in the loaded scene to be passed to the rest of the editor as the currently edited object... But in the very next second we remove the scene to load the next one. And set the next one as the currently edited object. And so on. When we're done with this, we finish the whole thing off with using the stored scene index to set it as the currently edited object AGAIN.

 Every attempt to edit anything builds the tree in the inspector, including subtrees if some properties are resources and are unfolded. This triggers a whole bunch of things. Only for the scene to be discarded immediately, so all is done for naught. At the same time if the last opened scene is the one that should be the currently edited scene, it is marked for editing twice. At best, this is very slow, unnecessarily so. But at worse, this leads to various bugs such as https://github.com/godotengine/godot/issues/80126.
You see, we call some methods with deferred calls. And when we open a scene with the root being Control node that happens to have a theme (quite a normal thing to have), we register one such deferred call. If this scene happens to be the last one and we mark it for editing again, then we make the second deferred call. So the next time the message queue is flushed we make two calls to add an editor for the same resource, resulting in the logged error.
To reiterate what happens, let's consider an example of two restored scenes where on has a control with a theme as its root. In our case this is the last scene on the list and it's also the scene that was last edited before shutting down the editor. The following happens:
- Load Scene 1
  - Put its nodes into the scene tree of the editor.
- Edit Scene 1
  - Build the inspector and update various docks.
- Remove Scene 1 from the scene tree
- Set the edited object to null.
- Load Scene 2
  - Put its nodes into the scene tree of the editor.
- Edit Scene 2
  - Build the inspector and update various docks.
  - Handle its theme and request to add a plugin.
- Remove Scene 2 from the scene tree
- Set the edited object to null.
- Set Scene 2 as currently edited
  - Build the inspector and update various docks.
  - Handle its theme and request to add a plugin.
- Add the theme editor plugin.
- Add the theme editor plugin.
  - This fails, we already have a plugin.

If Scene 2 is not the last edited scene, then there won't be an error, but curiously the theme editor for its embedded theme would still be open upon loading. Despite a different scene, Scene 1, being currently active.
I resolved this by guarding the push_item call in load_scene when we are in the process of restoring scenes. This should work fine. Maybe there is some weird case if we have scenes to restore, but don't have the last edited scene stored, but I don't think this is possible without user intervention and at this point the worst that should happen is no scene being edited. A couple of clicks should solve that.

Due to previous hacks, such as https://github.com/godotengine/godot/pull/35526, and fixes, such as https://github.com/godotengine/godot/pull/19568, it was possible for the update_tree call to be triggered multiple times within the same setup process. This once again leads to conflicting logic and poor performance. I think one of the cases where I was able to reproduce the "plugin already exists" error unrelated to loading can be attributed to this.

The case was this: run any scene, switch to the remote view and select any node, then switch back to the edited scene with a control node that has a theme and select it. Boom, you have the same error logged.
https://github.com/godotengine/godot/pull/35526 is particularly suspicious, as I'm not entirely sure why rebuilding the tree would somehow restore the folded status that is supposedly broken when you rename a node. I was unable to reproduce this with the hack removed. The PR is old, so probably some 3.x weirdness, or maybe the solution wasn't appropriate even back then, can't really say for sure at this point.
https://github.com/godotengine/godot/pull/19568 does more than the title says. One thing that it adds is a call to set_use_folding to update that setting according to the editor configuration. Setting aside if this is the best way to do it, this call comes with an extra side effect: it also rebuilds the tree. The tree that we, for sure, just updated during the previous steps of EditorNode::_edit_current. Solution here is simple, add a flag to disable the tree update (so other use cases are unaffected) and make sure to move the call to before we build the tree.

While investigating I noticed that EditorNode::edit_item can be made a bit more flat and clear, so I updated it. The logic should be identical to before, except for one extra call to hide_unused_editors(p_editing_owner); that I think we were missing if the edited object is disabled by a feature profile.
I also renamed some related methods of EditorData, as their existing names were making it a bit confusing to read the code. These are internal, so it shouldn't lead to any issues. The names may not be ideal, but they should be clearer than before at least.
Finally, I noticed a bunch of calls like EditorNode::get_singleton()->get_editor_data() in related code, so I did a pass that simplifies it to EditorNode::get_editor_data().

I just tested it with hyperfine to see if there are measurable startup improvements when restoring scenes, and sure as day, there are:

Command that was used
hyperfine -r 10 -i ".\new-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0" ".\old-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0"

Test 1. 2 open scenes
Benchmark 1: .\new-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):      9.927 s ±  0.376 s    [User: 5.944 s, System: 0.239 s]
  Range (min … max):    9.634 s … 10.947 s    10 runs

Benchmark 2: .\old-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     10.408 s ±  0.109 s    [User: 6.453 s, System: 0.247 s]
  Range (min … max):   10.284 s … 10.692 s    10 runs

Summary
  .\new-patch\... ran
    1.05 ± 0.04 times faster than .\old-patch\...

Test 2. 2 open scenes
Benchmark 1: .\new-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     10.273 s ±  0.467 s    [User: 6.011 s, System: 0.290 s]
  Range (min … max):    9.760 s … 11.044 s    10 runs

Benchmark 2: .\old-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     10.796 s ±  0.214 s    [User: 6.686 s, System: 0.292 s]
  Range (min … max):   10.609 s … 11.175 s    10 runs

Summary
  .\new-patch\... ran
    1.05 ± 0.05 times faster than .\old-patch\...

Test 3. 9 open scenes
Benchmark 1: .\new-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     10.201 s ±  0.342 s    [User: 6.033 s, System: 0.297 s]
  Range (min … max):    9.956 s … 11.100 s    10 runs

Benchmark 2: .\old-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     12.500 s ±  0.200 s    [User: 7.514 s, System: 0.283 s]
  Range (min … max):   12.166 s … 12.979 s    10 runs

Summary
  .\new-patch\... ran
    1.23 ± 0.05 times faster than .\old-patch\...

Test 4. 9 open scenes
Benchmark 1: .\new-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     10.432 s ±  0.452 s    [User: 6.225 s, System: 0.272 s]
  Range (min … max):    9.932 s … 11.347 s    10 runs

Benchmark 2: .\old-patch\godot.windows.editor.dev.x86_64.exe --quit -e --path C:/Projects/godot-debug-projects/sandbox-4.0
  Time (mean ± σ):     12.704 s ±  0.416 s    [User: 7.781 s, System: 0.301 s]
  Range (min … max):   12.204 s … 13.602 s    10 runs

Summary
  .\new-patch\... ran
    1.22 ± 0.07 times faster than .\old-patch\...

Tests 1&2 and 3&4 used the same setup for each pair and are used to double-check the results. All runs were performed on unoptimized dev builds (so they are generally slower than what you'd expected from official builds).
From these you can see that load times are now consistent no matter how many scenes you have opened by default.

The changes look good. I found a couple more unnecessary updates (in the main inspector):
There's a bunch of methods here calling tree update:
https://github.com/godotengine/godot/blob/4714e95896c8db02616ea6ec7f9aff92dec1cae4/editor/inspector_dock.cpp#L762-L773
This seems to assign default profile, triggering inspector update:
https://github.com/godotengine/godot/blob/4714e95896c8db02616ea6ec7f9aff92dec1cae4/editor/editor_node.cpp#L677
Maybe we could add a flag to the inspector, like surpress_updates, which can be set externally when the inspector is not supposed to update, e.g. when initializing its properties.

Maybe we could add a flag to the inspector, like surpress_updates, which can be set externally when the inspector is not supposed to update, e.g. when initializing its properties.

Yeah, I agree. If there are many setters that can trigger it, it would be better to have a global suppression flag rather than pass one to each setter. If implemented, the new argument added to set_use_folding can be removed.

Thanks!


About using server with whispering ai

I want to use a laptop with whispering ui and a server with whispering api. How can I do that? because when using whispering ui, I see that it only download and use localhost:5000 ?
Thank you for your app!!!

Hi.
You can run the UI on the server and keep the Websocket IP to <IP_ADDRESS>
Then you can run the UI on the Client, disable "Run Backend" and set the Websocket IP to the IP of the Server.
This way it connects to the Server and you can still get the responses on the client.
The only thing that you need to also do is send the audio between them as this is not implemented directly into Whispering Tiger yet.
I used VBAN for this already https://vb-audio.com/Voicemeeter/vban.htm where i ran VBAN Talkie on the Client and connected that to VBAN Receptor on the Server.
Whispering Tiger running on the Server just used the audio device on the Server where the received audio was played.
There are probably other ways to transfer the audio as well.
Hope i could help.
PS: You can also run Whispering Tiger on the Server without using the UI. The UI only runs the Python executable like this:
audioWhisper/audioWhisper.exe --device_index X --device_out_index Y --config settings.yaml
So if you give it a configuration yaml, it should start with that configuration without needing the UI.


Fix orphaned documentation pages for Features

This PR fixes the Features page. There are two sides to the update:

All pages doc/a-features/*.md that were in parallel and empty at the top level are now subpages of Features
The Features page becomes an actual TOC

Before:

After:
Look at the menu to the left as well:

Hi ! This project doesn't usually accept pull requests on the main branch.
If this wasn't intentionnal, you can change the base branch of this PR to devel
(No need to close it for that). Best, a bot.


osdctl-11717 (osd-11580) add profile flag  to verify-egress command

accommodation for profile flag in egress command (linked to osdctl implementation of verify egress command osd-11717)
jira https://issues.redhat.com/browse/OSD-11717
to test locally:
make build
./osd-network-verifier egress --profile your_dev_profile --subnet-id subnet_id  --region region

/label tide/merge-method-squash

Codecov Report

Merging #107 (50406e8) into main (705a76b) will decrease coverage by 1.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
- Coverage   26.39%   25.38%   -1.01%
==========================================
  Files          17       17
  Lines         682      709      +27
==========================================
  Hits          180      180
- Misses        477      504      +27
  Partials       25       25

Impacted Files
Coverage Δ

cmd/egress/cmd.go
0.00% <0.00%> (ø)

pkg/cloudclient/aws/aws.go
0.00% <0.00%> (ø)

pkg/cloudclient/aws/private.go
44.73% <0.00%> (-1.63%)
:arrow_down:

pkg/cloudclient/cloudclient.go
0.00% <0.00%> (ø)

/lgmt

/cc @lnguyen1401 @anispate @bdematte @hbhushan3 @abyrne55

Summary:
All tests pass for the ONV
Success

/lgtm

We're adding more and more AWS specific configs to the commands themselves, rather than implementing logic in our cloudclient pkg to handle the cloud stuff behind the scenes. If possible, lets move as much as we can to the cloudclient, and maybe add --aws and --gcp flags to the commands to help determine which option set to use. Then we can have awsOptions and gcpOptions, just as a first thought.

That's a good idea. Should we add this to the done criteria of this card? https://issues.redhat.com/browse/OSD-11384 Seems related..

@ritmun The fmt job is failing

I've converted input to client into a struct. I've used context to pass some of the values in order to avoid cyclic imports to and from cloudclient <> egress-cmd.  This is working in the local tests I run but any ideas for better ways for polymorphism of this kind are welcome.

nice improvements, @ritmun I've left a suggestion for getEc2ClientFromInput() but overall looks good

thanks! it's updated.

What

@ritmun I think the PR has become a bit bloated since it not only is adding a new feature but doing additional refactors. Its easier to review and merge changes if the PRs are as small as possible for the features. That way we can spend time discussing the merits of a refactor without blocking feature merging.
At the end of the day on this PR I think its best not to couple all config parameters to on package but to keep them within the packages that use them directly. Even if it might be a better technical solution to couple things in terms of readability and maintainability keeping these structs closer to their source packages is easier.

Yes, I worked on this PR for a while and put a lot of effort in it. It was a part of our previous sprint, which is why I'm still following up steadily. I will in future isolate changes, but this PR is near completion. What would you like me to do with it?

I am not the maintainer. I would defer to asking them what to do in this particular PR. In my opinion I would pull the existing work  from adding the profile flag in a new PR without any of the refactor other packages. I'd pass everything in explicitly as is done right now.
I do see need for some refactoring consolidating some of the multiple parameters passed into some function that are starting to pile up into a input type struct, but maybe in a separate PR.

What

@ritmun I think the PR has become a bit bloated since it not only is adding a new feature but doing additional refactors. Its easier to review and merge changes if the PRs are as small as possible for the features. That way we can spend time discussing the merits of a refactor without blocking feature merging.
At the end of the day on this PR I think its best not to couple all config parameters to on package but to keep them within the packages that use them directly. Even if it might be a better technical solution to couple things in terms of readability and maintainability keeping these structs closer to their source packages is easier.

Yes, I worked on this PR for a while and put a lot of effort in it. It was a part of our previous sprint, which is why I'm still following up steadily. I will in future isolate changes, but this PR is near completion. What would you like me to do with it?

I am not the maintainer. I would defer to asking them what to do in this particular PR. In my opinion I would pull the existing work from adding the profile flag in a new PR without any of the refactor other packages. I'd pass everything in explicitly as is done right now.
I do see need for some refactoring consolidating some of the multiple parameters passed into some function that are starting to pile up into a input type struct, but maybe in a separate PR.

Rafael, I appreciate your experience and knowledge and your comment. I've been working with the maintainers of this repo the whole time, and we together have been working on this PR, starting from grooming of this card to each new change added into it, for a while now. I'll proceed with this PR as appropriate. Thanks.

The structs for options specific to commands and the structs to hold the cloud client configurations should be separate. osdctl has examples where individual commands have option structs that are separate from configuration for the aws client, that may be a good place to reference.
Examples: https://github.com/openshift/osdctl/blob/master/cmd/account/console.go#L41 https://github.com/openshift/osdctl/blob/master/cmd/account/cli.go#L38

ok. I can do this. I'll have to put this struct as a separate import apart from aws or cloudclient package to avoid import dependencies. our imports are aws > cloudclient > downstream. If we don't want the struct as

The structs for options specific to commands and the structs to hold the cloud client configurations should be separate. osdctl has examples where individual commands have option structs that are separate from configuration for the aws client, that may be a good place to reference.
Examples: https://github.com/openshift/osdctl/blob/master/cmd/account/console.go#L41 https://github.com/openshift/osdctl/blob/master/cmd/account/cli.go#L38

I'd like to implement elements of these examples applicable in this client. I'll take some time to experiment with these. Will re-request review then.

The structs for options specific to commands and the structs to hold the cloud client configurations should be separate. osdctl has examples where individual commands have option structs that are separate from configuration for the aws client, that may be a good place to reference.
Examples: https://github.com/openshift/osdctl/blob/master/cmd/account/console.go#L41 https://github.com/openshift/osdctl/blob/master/cmd/account/cli.go#L38

@fahlmant I appreciate you taking time to review this important refactor, and thanks for pointing out some really good catches. An update on this: I just started to try the osdctl example out. I'm not sure this vision of structs applies to our implementation. My conclusion is what we have now is an optimal way of dealing with this design challenge. It can always be improved, but it is sensible for its purpose.

Let me explain why I say that. On a higher level, our implementation is different than osdctl because onv client is open to downstream cli integration, so we have more constraints on how pluggable we want our client to be. Also, onv has really good polymorphism in both cloud client type gcp/aws and subcommand types. This is also its challenge.
On a lower level, on this card, this is the case: I separated egress test specific flags and client flags. Defined the test specific flags in a separate struct under our package so that downstream can use it.   I passed them as 2 separate structs to the client.  This means that each test similarly will be passing its own type of struct to the client and we end up with the same old problem of variable input to the client. The input should be a predefined struct or structs for a stable integration with downstream. With this design, if we add more tests, the getter's signature will change, since each test has its own struct. Also, the client must be agnostic to both cloud types and test types. All it should do is create a cloudclient based on given cli options.  The type of cloud (GCP/AWS) can be easily identified based on values provided and/or “cloudType” flag, however, we can’t/shouldn’t differentiate which test is creating the client based on the input.

	I’ve also previously tried to define all these vars in the AWS and GCP clients but then we have a cyclin import issue, as cloudclient imports AWS and downstream imports cloudclient. I didn’t write down why but that option didn’t go anywhere.

	This is why cloudclient interface should define all variables within it, and those which don’t apply must be left nil. The client should not care which test is creating it.

I’ve experimented with a number of methods over time and am seeing these real issues with each, so I found a middle ground that provides flexibility with a small redundancy, some optional values, without messing up the basic structure.  This is a relatively complex design which I’ve enjoyed working on, and I do care about what design works best, I just don’t think  the solution here is going to be cookie cutter. This is not my favorite design decision. I feel the need to neatly separate structs like I’ve done in my traditional OOP, but it's not possible. I’m learning that GO seems to enforce a different style which prefers redundancy and linearity over cyclicness and readability but I’m adapting to it.
I think I understand your concern about this particular aspect, but we can clarify  it in a pairing session after Boran is back. I’d love it if I can learn new things in a meet if I haven’t considered anything already. Otherwise, if this explanation addresses it, we can proceed with this. Of course any comments on other aspects of the diff are welcome.

[ reference PR https://github.com/ritmun/osd-network-verifier/pull/2  for demo only ]

This PR has become difficult to review due to addition of requested changes. I have separated the requested changes into their own PRs and I will be creating separate PRs from them, each referencing their own card.

egress test for osdctl https://github.com/openshift/osdctl/pull/225
profile flag in onv https://github.com/openshift/osd-network-verifier/pull/118
PR for refactor will be created soon under this card https://issues.redhat.com/browse/OSD-12381


Any progress? Deprecation pending

Hi @jamen @connorhartley!
How are you doing?
I'm cleaning up the org and deprecating stuff from npm, many audiojs things are useless and overcomplication.
Please either scrapjs this package or archive. node-speaker authors seem to have power and qualification to maintain their stuff, not us.

Hey! I've been good. How about you two?
Coincidentally I just cloned this. Not sure if I pinged you somehow lol. I felt like revisiting audio in node.js after gaining some experience with Rust. I was thinking of using the cpal library.
I agree with archiving some stuff in audiojs. I think web-audio-api and audio should be kept at minimum. Since a lot of the repos are yours I don't mind you making the call on it. If I do anyhting, it'll be in the audio, speaker, or web-audio-api  projects.
What I'd like to see is merging all of these audio functions into the audio library , which it looks like you did to some degree (just skimming the code, it's been a while).
Could you reinvite me to audiojs and scrapjs? Personally I like archiving repos on my profile now, so I might go through and transfer back some stuff I did (i'll leave anything that was collaborative and not mine of course)

Sure, just invited you again.
As for web-audio-api - it's considered hairy API, I can see options:

either finishing it as is, making minimal workable thing (going to be a significant effort)
reusing web-audio-engine - that seems to be more complete
building on something very simple and trivial like extended zzfx (I'm working on that tool, got PoC ready - feels amazing, although code generation is slow-ish)
just archiving the project.

I want to leave in this org only workable tools.
I wouldn't like definitely:

spreading API by packages, npm proved to be only unnecessary complication
maintaining/running uncool/fake/dumb/never finished packages
mirroring some known libs, like mpg-123/cubeb/etc (fake/unmaintained mirror is rather burden and noise for everyone)

↑ that stuff forms hatred towards the org and us maintainers.

@jamen I think if you decide to start off a new alternative speaker implementation, let's keep it private until we can publish at-least PoC

@dy yeah thats my plan. i wasn't even going to say anything, but you happened to reach out the same day lol

Since this is @connorhartley's i'll let him decide where it should go. I'll take audio-cubeb.

Hey, I've been well.
I definitely agree mpg123 is not realistically/easily maintainable for anyone who isn't dedicated to keep these up to date. I think there are much better solutions (possibly like the one @jamen is working on) for such a project. I can archive and take these two projects.


How to add Vnet to Vnet Peering in this design?

Love what you have done with these templates, so easy to deploy and with different scenarios.  We want to use AvailabilityZones/Active-Active-ELB-ILB-AZ and it works well, but now we also want to do Vnet peering, and its a bit confusing to select the FortiGate/VNET-Peering/ as that is only Active-Passive?
Any guidance would be appreciated.

Hi,
The VNET peering is a demo of the Cloud Security Services Hub. You can build it on your own as well using any of the building blocks (single, A/P, A/A).
The A/P method resembles mostly what most customers have on-premise and removes the requirement for SNAT or FGSP. Just deploy the A/A setup and you can peer any existing VNET as a spoke to this HUB. Configure the UDR routing correctly and you are up and running.
Hope this will work for you. If you have any additional questions let us know.
Joeri

Hi Joeri.
Thanks for the quick response. We have tried the peering with UDR to the internal lb, and it didn't work. After quite a bit of back and forth, we added a static route on the Fortigate to the peered vnet with the internal nic(port2) as the gateway. Working perfectly now.
thanks again for these templates :)

Good to hear!
Keep the questions and comments coming to make these templates better.
Joeri


IsScreenCaptureEnabled

I created clean project and I tried to put
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().IsScreenCaptureEnabled = false;
inside Loaded callback of the MainPage and overridden OnNavigatedTo callback. Doing that "freezes" the application and only the splash screen is shown.
I looked inside project DisablingScreenCapture but if I put same functionally inside MainPage OnNavigatedTo I get the same freeze result.
@oldnewthing any idea how to fix this? I need to disable screen capture on an application level.

I have the exact same issue.
I've managed to get it working by starting a timer in the OnNavigatedTo callback and setting the property to false after 5s. But that solution is far from ideal.
Any help would be appreciated.

The issue you are running into is not about a sample that is not working. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


CFR Form - No Fees from Ministry - Form gets 'Stuck'

Describe the bug in current situation
Currently, when a record is in a status of 'Fee Estimate', and the ministry has not indicated there are any fees (i.e., estimated hours for 'Locating/Retrieving' is <=3, and the estimated hours for 'Producing' and 'Preparing' is 0), the IAO analyst can not action the form (I.e., they cannot change the CFR status).
If the ministry has not indicated there are any fees estimated, they should not be able to move the request to a status of 'Fee Estimate'. The CFR Form does not need to be approved by IAO unless there are estimated fees. The ministry should instead be told that they may proceed with gathering records if they have no fee estimate.
Link bug to the User Story
See #3128 - this may be the same bug, or closely related bug.
Impact of this bug
This could impact every ministry and IAO user who submits, or is submitted, a CFR Form with no fees
Chance of Occurring (high/medium/low/very low)
Medium
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Test
Steps to Reproduce

As a ministry user, go to a request that is in a status of 'Call For Records', with no CFR Form completed
Click on the 'CFR Form' tab and enter the estimated hours for 'Locating/Retrieving' as <=3, and the estimated hours for 'Producing' and 'Preparing' as 0, or so that there is no fee estimate >$0.
Change the request status to 'Fee Estimate'
As an IAO user, you will not be able to change the CFR status until a value >0 is entered in the IAO estimated hours for 'Preparing'.
The IAO user must change the request status back to 'Call For Records', as there is no fee estimate to approve.

Actual/ observed behaviour/ results
GIVEN a ministry user has completed the ministry estimates on the CFR Form, but there are no fees (i.e., estimated fees =$0)
WHEN the ministry user tries to change the request status to 'Fee Estimate'
THEN the request is moved to a status of 'Fee Estimate'
AND the IAO user is unable to action the CFR Form, and must change the request status back to 'Call For Records'
And the IAO user must leave a comment saying that they do not require the CFR Form if there are no fees (based on the ministry's estimated hours)
Expected behaviour
GIVEN a ministry user has completed the ministry estimates on the CFR Form, but there are no fees (i.e., estimated fees =$0)
WHEN the ministry user tries to change the request status to 'Fee Estimate'
THEN a modal will appear, explaining that only a CFR Form with fees can be moved to a status of  'Fee Estimate'
AND if there are no fees estimated, the request can proceed without the CFR Form fee estimates being approved by IAO
AND the 'Save Change'  and 'Cancel' options will be disabled, with the 'Save Change' option being disabled
AND the request will stay in its current status
Screenshots/ Visual Reference/ Source
IAO user is unable to action the CFR Form that was submitted to them without fees (CFR Status and 'Save' button are greyed out).

The IAO user must  change the request status back to 'Call For Records'. and advise the ministry user they do not need to put the request status to 'Fee Estimate', and may proceed with gathering records.

@m-prodan @liseandtea - here is the bug ticket related to when a CFR Form, with no ministry estimated fees, is submitted to IAO for approval (which occurs when the request status is changed to 'Fee Estimate'). The IAO user is then unable to action the CFR Form (as they shouldn't receive the CFR Form with no estimated fees in the first place). This may be similar, or the same, to #3128, and perhaps these could be merged.

Closing, as this is a duplicate of #3749


soarworkbookexporter: New App - First time submission of SOAR app to official Splunk repo

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] Testing of all the changes has been performed (for bug fixes / features)
[x] The readme.html has been reviewed and added / updated if needed (for bug fixes / features)
[x] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[x] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[x] Verify all checks are passing.
[x] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[x] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[x] New App
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[ ] Other (please describe):

Security Considerations (REQUIRED)

[ ] If you are exposing any endpoints using a REST handler,
please document them in the readme.html.
[x] If this is a new connector or you are adding new actions

[x] Please document in the readme.html all methods (eg, OAuth) used to authenticate
with the service that the connector is integrating with.
[ ] If any actions are unable to run on SOAR Cloud, please document this in the readme.html.

[ ] Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
[x] Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
the Vault API.
[ ] Are you are marking code to be ignored by Semgrep with nosemgrep?
If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.

What is the current behavior? (OPTIONAL)

Describe the current behavior that you are modifying.

What is the new behavior? (OPTIONAL)

Describe the behavior or changes that are being added by this PR.

Other information (OPTIONAL)

Any other information that is important to this PR such as screenshots of how the component looks before and after the change.

Pay close attention to (OPTIONAL)

Any specific code change or test case points which must be addressed/reviewed at the time of GA release.

Screenshots (if relevant)

Thanks for contributing!

This is my first ever Github Pull Request (apologies in advance if I am doing something wrong). I see that some test failed, and I am working on resolving them.

Hello @sschimper-splunk, Could you please inform us once you are done with the changes so that we can move forward with the release.

Hi, yes, of course! Thank you!
Kind regards
Sebastian Schimper
Sales Engineer
Splunk Inc.
+420 774 268 469  |  @.***
Prague | AMER | APAC | EMEA
https://www.splunk.com/en_us/platform/platform-operations-overview.html
This message is intended only for the personal, confidential, and
authorized use of the recipient(s) named above. If you are not that person,
you are not authorized to review, use, copy, forward, distribute or
otherwise disclose the information contained in the message.
On Fri, Feb 3, 2023 at 6:37 AM achandya-crest @.***>
wrote:

[ External sender. Exercise caution. ]
Hello @sschimper-splunk https://github.com/sschimper-splunk, Could you
please inform us once you are done with the changes so that we can move
forward with the release.
—
Reply to this email directly, view it on GitHub
https://github.com/splunk-soar-connectors/soarworkbookexporter/pull/1#issuecomment-1415027967,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYTI5TGXDFQ4TR5DHCKBHZDWVSKSNANCNFSM6AAAAAAT2FILZE
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Closing this PR based on the previous comment


Rebuild build.ninja first, then use the new version

I've noticed that shake will rebuild build.ninja in the middle of a run as it were a normal output. I think ninja has the correct behavior in this case: first rebuild build.ninja, then reload the new dependency graph, repeat if needed until build.ninja is up to date, then build whatever targets are actually supposed to be built. This ensures that you are using the correct rules and dependencies that match the code you are trying to build.

Done - I didn't realise Ninja did this (it's not documented in the manual) but easily replicated.


Debugging fails if i start again due to wrong code

Issue Type: Bug
Usually if i write a wrong code and try to debug again it fails to start debugging again.
please fix the bug
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-2105 CPU @ 3.10GHz (4 x 3093)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
3.89GB (1.42GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

Bookmarks
ale
9.1.0

githistory
don
0.4.3

gitlens
eam
8.5.6

git-project-manager
fel
1.7.1

csharpextensions
jch
1.3.0

vscode-nuget-package-manager
jmr
1.1.6

mssql
ms-
1.4.0

csharp
ms-
1.16.2

vsliveshare
ms-
0.3.834

vsliveshare-audio
ms-
0.1.39

vsliveshare-pack
ms-
0.2.0

vscode-icons
rob
7.27.0

What language are you debugging?

@saurabhnachankar in addition please provide steps for how to reproduce this.

I was trying to debug C# language with .Net core SDK 2.2 framework @Tyriar


ui: Feature to rerun an existing ORT Run

This PR resolves #294 and includes also some minor improvements to the ORT Server UI as per team review comments.
It has been verified manually that by using a Rerun button, we generate a new ORT Run with all job configurations copied from the run for which the Rerun button was pushed.
The Rerun functionality in the UI:

Please see the individual commits for details.

LGTM, I would however appreciate a review from an additional contributor before merging it.

Looks good to me as well.

Just a remark, no blocker for the merge: To me, the "Rerun" icon looks more like an undo / redo icon. Maybe a really circular arrow would be a better fit.


fixed some spelling mistakes,

that's all :)

I recently noticed this failure elsewhere. It would appear that I introduced the error in #1260 and then failed to notice the failing test. We should probably fix it here. We have two options.

Change codebase to code base (two words).
Add codebase to the .spell-dict as a single word.

A quick search shows that a few dictionaries have added the single word, however they all appear to be the community editable type. Therefore, I am more inclined to go with two words unless someone can provide a good reason not to.

I just noticed that this PR is changing the php and pl tests. Those tests have been copied from their respective projects and are to be used as-is. In other words, we do not make any edits to those files. All edits to those files will need to be reverted for this to be accepted.

done and done :)


Geth failed to start when using Docker image

Description of problem
Encountered "Geth RPC did not start within 10000ms" error when using quorumengineering/cakeshop Docker image.
Expected behavior
Able to access Cakeshop via browser after starting a container with the image.
Actual behavior
Screenshot when visiting http://<IP_ADDRESS>:8080:

Error messages printed:

[2019-11-10T13:13:39,555] Geth RPC did not start within 10000ms
[2019-11-10T13:13:39,556] Ethereum failed to start
[2019-11-10T13:13:39,556] GETH FAILED TO START

Steps to reproduce the behavior

Create data/ directory

Execute this command:
 docker run -p 8080:8080 -v "$PWD/data":/opt/cakeshop/data quorumengineering/cakeshop

System information
Cakeshop version or commit hash: 0.11.0
Cakeshop runtime configuration: stand alone
Geth/Quorum version testing against: Geth 1.8.18-stable / Quorum 2.2.4
Cakeshop OS & Version: Windows 10 Pro (1903)
Browser OS & Version: Chrome 78.0.3904.97 (Official Build) (64-bit)
Docker Toolbox Version: 19.03.1
Backtrace/logs
cakeshop-docker.log

i just updated the dockerhub repo with 0.11.0-RC2. Please try that version and let me know if it fixes it (you can also just use the 'latest' tag)


Issues/226

v10.5.3
has been released and contains a fix for the issue.
Feel free to reopen the issue or to submit a new one if you meet any problems.


Query Object reference not set to an instance of an object

I am making a reusable query for difference scenarios.
When i do a N to M query, if the M has other optional relation, it gives me an Object reference not set to an instance of an object exception.
This only happens, if i split the query in two parts. See the GetPersonsNotWorking2 bellow.
Bug.zip
I've created a simple example of the problem: I have this tables:

Group - Represents a group of persons
PersonGroup - Relation between person and group (N to M relation)
Person - Represents a persons
Job - Represents a person job. A person may not have a job.

Exception message:
Stack trace:
Object reference not set to an instance of an object.
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
   at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Bug.DbManager.GetPersonsNotWorking2() in D:\Projectos\Bug\DbManager.cs:line 103
   at Bug.Program.Main(String[] args) in D:\Projectos\Bug\Program.cs:line 38

Steps to reproduce
    class Group
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
    }

    class PersonGroup
    {
        [Key]
        public int Id { get; set; }
        public int IdPerson { get; set; }
        public int IdGroup { get; set; }

        #region Navigation Properties
        public Group Group { get; set; }
        public Person Person { get; set; }
        #endregion
    }

    class Person
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
        public int? IdJob { get; set; }

        #region Navigation Properties
        public Job Job { get; set; }
        #endregion
    }

    class Job
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
    }

        public List<PersonIds> GetPersonsWorking()
        {
            return
                GetFullPersonQueryWorking()
                    .Select(x => new PersonIds
                    {
                        IdPerson = x.Person.Id,
                        IdJob = x.Job.Id,
                        IdGroup = x.Group.Id
                    })
                    .ToList();
        }

        private IQueryable<FullPerson> GetFullPersonQueryWorking()
        {
            return
                from dbgroup in _context.Groups

                join personGroup in _context.PersonGroup
                    on dbgroup.Id equals personGroup.IdGroup

                join person in _context.Persons
                    on personGroup.IdPerson equals person.Id

                join job in _context.Jobs
                    on person.IdJob equals job.Id
                    into Jobs
                from job in Jobs.DefaultIfEmpty()

                select new FullPerson
                {
                    Group = dbgroup,
                    Person = person,
                    Job = job,
                };
        }

        public List<PersonIds> GetPersonsNotWorking2()
        {
            var getPersonAndJobQuery =
                from person in _context.Persons

                join job in _context.Jobs
                    on person.IdJob equals job.Id
                    into Jobs
                from job in Jobs.DefaultIfEmpty()

                select new
                {
                    Person = person,
                    Job = job,
                };

            var getFullPersonQuery =
                from dbgroup in _context.Groups
                join personGroup in _context.PersonGroup
                    on dbgroup.Id equals personGroup.IdGroup
                join personAndJob in getPersonAndJobQuery
                    on personGroup.IdPerson equals personAndJob.Person.Id
                select new
                {
                    Person = personAndJob.Person,
                    Job = personAndJob.Job,
                    Group = dbgroup
                };

            return
                getFullPersonQuery
                    .Select(x => new PersonIds
                    {
                        IdPerson = x.Person.Id,
                        IdJob = x.Job.Id,
                        IdGroup = x.Group.Id
                    })
                    .ToList();
        }

Further technical details
EF Core version: 2.2.4 (in my real project is 2.2.6)
Database Provider: Microsoft.EntityFrameworkCore.PostgreSQL
Operating system: Windows 10
IDE: Visual Studio 2019 16.2

This may work in 3.0. Moving to the backlog to investigate.

@ajcvickers, thank you for the answer. I am running ef core on .net framework and in ef core 3.0 will not be compatible with it no more. Any chance of this will be released on ef core 2 update?

@brunoalreis We are not currently planning to patch this in any 2.x release.

Confirmed this issue is fixed in EF Core 3.1.


Keyboard navigation: How can I prevent built in tab key navigation

I have created custom tab key navigation on keyDown event and would like to turned off built in 'tab' key navigation, Is there any way to achieve same?

are you using your own cellRenderer? if yes, then prevent the event from going to the grid by calling event.stopPropagation();


LD_DISABLE_REQUEST_LOGS not working

Desperately looking for a way to reduce the logging output, however setting LD_DISABLE_REQUEST_LOGS=true seems to be ignored in the latest release.
Any ideas?

Use "True" instead of "true"

Tried that. Doesn't help.
It looks to me like the commit that actually added LD_DISABLE_REQUEST_LOGS was 17th Oct, but last official release is 1.36 on 2nd Oct (which is what I get when I pull image: sissbruecker/linkding:latest..  So I guess we are still waiting for a new release...?
I don't see any 'dev' or 'beta' or 'nightly' tags on docker hub that could be used either...

Interesting, I am experiencing the same...


Add first and second year discounts

Please add the possibility to select the first two years with discounts. First year is 50% and second year is 25% (in IRS)

I will leave it open for when I have time or if someone wants to contribute. Here's some information about the current status of this discounts (it's not 25% in the second year, it's 40%, and there's more to it in the following years):
https://www.montepio.org/ei/pessoal/impostos/irs-jovem-como-ter-um-desconto-no-imposto/

“IRS Jovem” is another thing.
If on the year you are starting to be a freelancer, you didn’t had incomes from A or H categories you have discounts of 50% and 25% on the first and second year.
“No caso dos rendimentos associados aos coeficientes 0,75, 0,35 e 0,10, o trabalhador independente tem direito a uma bonificação de 50% e 25% no primeiro e segundo anos de atividade, respetivamente, caso estes rendimentos não sejam cumulados com rendimentos da categoria A (trabalho por conta de outrem) ou H (pensões).”
https://www.comparaja.pt/blog/irs-para-trabalhadores-independentes-coverflex

ah ok, thanks for the source! Might be also interesting to adress both then. For the one that takes this issue:

[ ] add 1st and 2nd year discount source;
[ ] add "IRS jovem" source

This one is highly needed!

I have created this PR:
https://github.com/franciscobmacedo/remotefreelancept/pull/15

Closing this issue - I'll create a new one for "IRS Jovem"


Analyzer should provide execution details if evaluation of a constant throws an exception

Consider the following code, adapted from the repro for #36511:
class A {
  const A(int i)
  : assert(i == 1); // (2)
}
class B extends A {
  const B(int i) : super(i);
}
main() {
  print(const B(2)); // (1)
}

Analyzing this code produces the following error message at line (1):
error • Evaluation of this constant expression throws an exception at /usr/local/google/home/paulberry/tmp/test.dart:9:9 • const_eval_throws_exception

Although this is technically correct, it's far too little information to allow the user to figure out where the problem is.  In particular, there's absolutely no information to lead the user to the site of the assertion failure at (2), or to aid in understanding how (2) was reached from (1).  This would be even more of a problem if the definitions of classes A and B were more distant, or if the constant evaluation were more complex.
By contrast, the VM's error message contains a full stack trace, and it points both to locations (1) and (2):
Unhandled exception:
'file:///.../test.dart': Failed assertion: line 3 pos 12: 'i == 1': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
#2      new A (file:///usr/local/google/home/paulberry/tmp/test.dart:3:12)
#3      new B (file:///usr/local/google/home/paulberry/tmp/test.dart:6:20)
#4      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)
'file:///usr/local/google/home/paulberry/tmp/test.dart': error: line 9 pos 15: error evaluating constant constructor
  print(const B(2)); // (1)
              ^

We really should improve the analyzer's error reporting here.

This is also an issue in VS Code.
Example:

The actual exceptions are given in the PROBLEMS pane of VS code, but not in the popup:

The Evaluation of this constant expression throws an exception error doesn't give enough info. The actual errors are found by the compiler, but they are apparently suppressed by this error.

VS Code gets its information from the analysis server (the LSP language server for Dart).
The good news is that work is currently underway to allow the analysis server to produce similar information.
@kallentu


There is no way to customize the header tr class

There is no way to customize the header <tr> class?

Hey, please check this: https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/basic-row.html

That's just for the header cell ().

As I can see in the source code the <tr> is not customizable. It would be a good feature to add. I think it would also be a good feature to be able to pass custom props to the components.

@danielzk yes, there're some people ask this feature, I'll handle it ASAP, https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/212


New version release?

Possible to get a new version released?
It's blocking https://github.com/StackStorm/puppet-st2/issues/114

Released v1.10.0 - https://github.com/stankevich/puppet-python/releases/tag/1.10.0

:bow:

@ghoneycutt what's involved in getting this on the forge?

@stankevich has to release to the forge, since it is under his account. You can use it without it being on the forge though.

Ah, the module I'm working on (st2) gets installed via puppet module install :-/

Module development should not care how the module gets installed.. If you are using a standard Puppetfile, then you can just point to github.

The module uses metadata.json for dependencies, possible to get this reopened to put releasing this on the forge on @stankevich's radar? StackStorm/puppet-st2#118

Released 1.10.0. Sorry about the delay!

:cool: thanks!


Create trace/span when receiving a message over TCP connection

Currently Sleuth doesn't create a trace/span when receiving a message over a TCP connection.
Quick scan through the code shows that both TcpNetConnection and TcpNioConnection use the TcpMessageMapper to create the Spring Integration message.
In the toMessage method the addCustomHeaders method is called, so you could add a new trace/span to the newly created message.
I'm not sure if the best approach is to subclass TcpMessageMapper and set an instance to the AbstractConnectionFactory, or to adapt TcpMessageMapper to set the trace/span dynamically.

Problem existed between keyboard and chair :)


request: provision to create dist tarballs from source directory

I've tried for a bit, but have been unable to build cpan-style tarballs of btcpaywall without adding a $VERSION and modifying the source more than I'd like.
In my testing, it would be great if it was easy to build cpan-style tarballs from the git checkouts, (perhaps ones with versions like 0.00001_01).
(I looked into submitting a PR to easily make tarballs, but it got pretty involved with distribution tools and I wasn't sure which one you wanted to use, or was most appropriate).

Hey, could you elaborate a bit more on the idea - what is your use case for the tarballs?
When it comes to distribution tools, I'm open to suggestions.

I'm planning to deploy the code to multiple environments, (ie test/production),  each having a testnet/livenet install. (This is similar to how I typically set up test and production environments).
I'd like to have a known version and source tarball for each installation, not just a git hash and repo.

I want to have tarballs with versions to create different test/production, (and testnet/livenet) installations.  I'd like to have tarballs with versions to create these environments from, instead of using git and git hashes because it's more consistent with how I typically do things and how I usually install software.
I have little opinion on what particular distribution tool to use, I guess whatever is more familiar/consistent with your other perl distros.

Right, that's fair. Also, I've been thinking about the possibility of CPAN distribution at some point, so might as well do the very first step.
I'll add a very basic Makefile.PL - it's up to you to create a manifest file (make manifest should be enough) and set the version variable in Makefile.PL to whatever you like. Feel free to close this issue if that's sufficient

It's been 20 days since I added EU::MM to the project, so I assume that's enough of a solution to this issue.


SSL Certificates tab not showing that certs are renewed

Running v2.9.4 on Unraid in Docker container.
The SSL certificate tab is showing that all but 1 of my certificates has expired from Let's Encrypt but they are all renewing properly and they are not expired. 2 screenshots attached up showing expired in nginx-proxy-manager and the actual cert expiry

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/792


Silberstein rotation: show it's related to the results of velocity addition (rotate v1+v2 into v2+v1)

Done


Rename pt to pt-BR

If you're using CLDR, then shouldn't this stay pt, but adding in a pt-PT? https://github.com/jquery/globalize#locales

@nschonni
I asked around and using pt-br is the standard code we are using internally for the Brazilian Portuguese translation.


[BREAKING] switch package to module type

As part of migration to react 18 and docosaurus - i made a decision to switch package to "type": "module".
By itself it leads to following BREAKING CHANGES:

Hooks are now distrubutes as JS built form TS with target ESNext and ESM module resolution. There is no more sense to distribute CJS version as package is ESM-only.

Consequent of above - no more esm and cjs subfolders - hooks are importable from index.js or its own directory which don't have a prefix anymore, thanks to exports directive. All of below examples will lead to same result, choose any on your taste:

import { useFirstMountState } from '@react-hookz/web';
import { useFirstMountState } from '@react-hookz/web/';
import { useFirstMountState } from '@react-hookz/web/useFirstMountState/';
import { useFirstMountState } from<EMAIL_ADDRESS>
Thought is seems not to have subfolder, it is only due to exports directive, in real it is
@react-hookz/web/dist/useFirstMountState/index.js.

Pakage uses imports directive to define path alias #root - it stays so even in distributed code, thus, some may be affected in case their bundler configured to somehow handle such alias. Those developer shoud configure import rewriter not to handle node_modules or @react-hookz/web package exclusively.

Side-effect for current PR - documentation is broken, as storybook 6 is not working within ESM packages and Im planning to switch to docosaurus anyways.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: