Quick fixes for usability

A handful few small fixes here that I think improve usability for those times when we're not working with a single project, or just want to run some quick code.
If for whatever reason you think we need to split up this PR just let me know... happy to do so.
openedge-project.json .config

Don't require that "dbconnections": [] be defined in openedge-project.json

Fixes this runtime error:

Allow for using openedge-project.jsonc instead of openedge-project.json.  Most of the other VSCode config files allow for comments, and it would be really helpful for this plugin too.
When no source or propath entries are provided in openedge-project.json default the propath to '.'
If no "oeversion" key is given, use the default from user settings if configured.

launch.json config

When creating a debug configuration the port field is set to "string" when it should really be an integer as it fails the schema validation.

Terminal related fixes

Create the .builder/ directory on the first run of a task/command if needed to fix this error:

When using the "ABL: Run with _progres" command change the dirsep character to / so it plays nicely with Git Bash.  Seems that using the forward slash is compatible with everything, but the back slash is not so friendly.  Tested with Git Bash, cmd, PowerShell.  No change needed on the other commands.

Regarding openedge-project.json, I agree on all points except jsonc. In fact, I don't disagree, it's just that the json file is also read from the Java language server, and there was no support for jsonc in the Gson library. I'll have a look. The LS needs to be modified to handle those default values in the same way.
And another point is that it's currently possible to specify default: true on multiple OE versions (in vscode config). Not sure if there's a way to enforce only one.

launch.json: not sure if service name are resolved, but agree that an integer is easier

Will merge the PR when changes are done in the LS

Looks like Gson already has support for comments in Json.

Port was changed from string to integer.
Personally I always use integers for port but AFAIK you can still use port names

And another point is that it's currently possible to specify default: true on multiple OE versions (in vscode config). Not sure if there's a way to enforce only one.

What do you think about adding a new user config for the default instead?  Maybe this:
    "abl.configuration.runtimes.default": "12.2",
    "abl.configuration.runtimes": [
        {
            "name": "12.2",
            "path": "C:/Progress/Openedge"
        },
        {
            "name": "11.7",
            "path": "C:\\Progress\\OpenEdge-11.7"
        }
    ],

Implementation is ready in LS for openedge-project.json changes. Can you also squash and rebase against develop (and not main) ?

closing in place of #108


Support jsdom v12.x in JSDOMNodeJSEnv

jsdom v12.0.0 dropped support for the legacy API that we are using in JSDOMNodeJSEnv. See the release notes

Removed the old jsdom API, as the new API now has all the capabilities you need.

This means we'll need to update JSDOMNodeJSEnv to support jsdom v12.x.

Fixed in 8d1938b6eaa985c933189f0eaf82edee0b3cb897.


Keep calibration history and allow rollback

overview
Currently doing a new calibration wipes out any previous data. The robot should keep some amount of history of calibration data and preferably make it possible to roll back to a prior calibration.
behavior
Current behavior: When a component is calibrated, the prior calibration data is replaced.
Desired behavior: When a component is calibrated, the prior calibration data should be stored with some kind of versioning data. There should be some way to restore a prior calibration.

Also, preferably separate the calibration data per component, so that one can easily be re-calibrated or rolled back independently of others


Fix __all__ in cupyx.scipy.fft

next_fast_len should be a public API, but imported __all__ shadows it from cupyx.scipy.fft.

/test mini

Jenkins CI test (for commit 09cb25981d61761a6b9dda6033aeaa304b814e3e, target branch master) succeeded!


Permit ignoring entry permissions

Sometimes the extractor will know exactly what permissions they
want, in which case having to re-chmod things just adds latency
to the operation. HPC file systems in particular appear to be
extra-ordinarily slow at metadata operations (~1-2ms per inode).

Hmm, @alexcrichton what do you think of combining this with setting the initial mode more closely to the final desired mode - that is, we can't drop the 'w' bit, but we can include the 'x' bit (and when desired S and s etc on creat() - like my aborted patch for Windows - which will allow us to entirely avoid a separate chmod for these HPC filesystems I think. I can do that as a separate patch (we'd want both features ultimately - I think the end state unpack logic in rustup should be something like
  entry.set_mode(rustup_heuristic(path));
  entry.set_ignore_mtime();
  entry.unpack_vfs(vfs.clone());

where the heuristic is the current rustup heuristic (is it in bin? does it already have and 'x' bit? is it a dir?), and the vfs object is to facilitate IO parallelisation.

Ok so looking at the structure more closely, that is obviously going to be ugly, instead I think I'll add a struct for unpack options.
so entry.unpack_with(&path, &options)
and options can be used to factor all the unpack options off of Entry if we want to,  but also hold things like 'use this custom mode when unpacking'.

hmmm, and why do I only now notice that entries implement Read :).
Obviously that lets me do all this as entirely special case in rustup.
I'm not sure where the dividing line should be here - please treat this as a discussion point!

I'm personally fine adding more features to this crate so long as it doesn't muddy the workflow too much, and having some sort of options builder-like approach seems reasonable to me. It's intended though that you can of course build your own extraction externally if necessary without requiring usage of this crate! If something is pretty rustup-specific and not particularly generalizable then I think it makes sense to build externally, but if it's presumably useful in the default case (like for Cargo extracting tarballs) it seems reasonable to add here.


Fixed tests

Tweaked quint-promises to accept a custom assertion function
Changed test to use function that checks error type correctly.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

What value does this change provide?

It fixes the tests. i.e. It does what you have now done in #74

Got it. Taking an optional closure is however overkill. I haven't yet merged #74 because the test fails for another reason (grunt gets linted and fails?).


Backend: cleanup job

in server/utils/cleanup.js
setup job to delete pastes after they expire.
it should use env var "PASTE_PERIOD" to set the interval of the job.

should be done now.


documentation

Hi,
The English documentation is very hard to read. While I am willing to fix it a little bit, I don't have the time to actually to write the documentation. (I was a technical writer once upon a time)
I also never used any CAD programs before and I  and I don't see any definition of terms. Youe youtube demos have no talking explaining what you are doing, so they offer me limited help.
I'm,sure that if I had some background using CAD programs I would probably understand where to start.  I want to design a workbench using freecad and your workbench, but I have no idea how do it with freecad and your workbench. Also how do I set up the woodworking workbench to use inches and feet instead of metric.
Are you help files written in HTML or Markdown? thanks,
Aaron
<EMAIL_ADDRESS>

Hi, The English documentation is very hard to read.

Sorry, I am not native English speaker.

While I am willing to fix it a little bit, I don't have the time to actually to write the documentation.

No problem, this is a hobby project, so the time spent on it is limited.

I have no idea how do it with freecad and your workbench. Also how do I set up the woodworking workbench to use inches and feet instead of metric.

This is related to FreeCAD documentation, you can set it in FreeCAD settings, not in workbench settings.

written in HTML or Markdown?

Markdown

youtube demos have no talking explaining what you are doing, so they offer me limited help

This is a hobby project, it is not sponsored by any large corporation, so the documentation is not at a sufficiently high level. I have neither the time nor the opportunity to prepare professional training or conferences on the use of this environment. Perhaps someday, when someone becomes seriously interested in it, maybe something like this will be created, but for now it is as it is.

I set up freecad for inches but wood working still liked metric.
On Tue, Feb 27, 2024, 2:45 PM Darek L @.***> wrote:

Closed #43 https://github.com/dprojects/Woodworking/issues/43 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#event-11942343370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY2VQV4Y426Y3CYLKL3YVYZVXAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHE2DEMZUGMZTOMA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I downloaded the documents but it tells me its a readme only file. How do I
get one I can edit?
Thanks,
Aaron
On Tue, Feb 27, 2024 at 9:16 PM Aaron Mehl @.***> wrote:

I set up freecad for inches but wood working still liked metric.
On Tue, Feb 27, 2024, 2:45 PM Darek L @.***> wrote:

Closed #43 https://github.com/dprojects/Woodworking/issues/43 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#event-11942343370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY2VQV4Y426Y3CYLKL3YVYZVXAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHE2DEMZUGMZTOMA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I downloaded the documents but it tells me its a readme only file. How do I get one I can edit?

The README.md files contain the Markdown text, so you can edit them.

I set up freecad for inches but wood working still liked metric.

I guess, you mean the default panels, tooltips and some pop-ups... they are hard-coded and they are not recalculated to inches... so this might be the issue...
Let me think if this can be changed and this is worth to change...

I converted the markdown to Dita. I did some edits today. How do I quickly
resize a panel? Is there a way to do it with a mouse?
Making it possible to use inches and feet would help since that's how
lumber is sold here.
Thanks,
Aaron
On Wed, Feb 28, 2024, 1:41 PM Darek L @.***> wrote:

I downloaded the documents but it tells me its a readme only file. How do
I get one I can edit?
The README.md files contain the Markdown text, so you can edit them.
I set up freecad for inches but wood working still liked metric.
I guess, you mean the default panels, tooltips and some pop-ups... they
are hard-coded and they are not recalculated to inches... so this might be
the issue...
Let me think if this can be changed and this is worth to change...
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1969608951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQYZTTOPPNLS4M42YZQ3YV524XAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGYYDQOJVGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

How do I quickly resize a panel? Is there a way to do it with a mouse?

You can use Resize panels icons

Making it possible to use inches and feet would help since that's how lumber is sold here.

Probably the problem with metrics is only with Default panels, tooltips, and popups. All features not depends from units.

HI again,
could you simply explain what copy panel does. The help file is confusing
me.
Thanks
On Wed, Feb 28, 2024 at 3:34 PM Darek L @.***> wrote:

How do I quickly resize a panel? Is there a way to do it with a mouse?
You can use Resize panels icons
https://github.com/dprojects/Woodworking/tree/master/Docs#resize-panels
Making it possible to use inches and feet would help since that's how
lumber is sold here.
Probably the problem with metrics is only with Default panels
https://github.com/dprojects/Woodworking/tree/master/Docs#default-panels,
tooltips, and popups. All features not depends from units.
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1969871919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQYZY7VUM3JC4P4RLB7TYV6IFHAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZHA3TCOJRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

could you simply explain what copy panel does.

For example if you have panel with XY orientation and you want new panel with the same dimensions but with XZ orientation, you can quickly select the panel XY and click the copy XZ icon.
But more useful feature is if you have Pad or any other PartDesign object and you want to have Cube panel with the same dimensions, so you can select the PartDesign object and click exact copy icon and you have panel with the same dimensions but Cube, so this is some kind of Pad -> Cube transformation...

The help file is confusing me

Do you have any idea how to improve the description?

I'm working on it.
I don't think so well in the axis orientations.
top=xz?
front=
side view=?
I once I can write a  it using simple language, I can put the axis
coordinates in parentheses.
I'm still new to CAD. Also I don't find a Show Constraints icon, is it part
of another workbench??
Thanks
Aaron
On Tue, Mar 5, 2024 at 5:27 AM Darek L @.***> wrote:

could you simply explain what copy panel does.
For example if you have panel with XY orientation and you want new panel
with the same dimensions but with XZ orientation, you can quickly select
the panel XY and click the copy XZ icon.
But more useful feature is if you have Pad or any other PartDesign object
and you want to have Cube panel with the same dimensions, so you can select
the PartDesign object and click exact copy icon and you have panel with the
same dimensions but Cube, so this is some kind of Pad -> Cube
transformation...
The help file is confusing me
Do you have any idea how to improve the description?
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1978436162,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY4LANCUIFDQUI25IVLYWWM2HAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYGQZTMMJWGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I don't think so well in the axis orientations. top=xz? front= side view=?

I guess, no, you have to see the right bottom corner at 3D view, there are XYZ axes, so the panel should rather be oriented according to it.

I once I can write a it using simple language, I can put the axis coordinates in parentheses. I'm still new to CAD.

I don't know what you mean by "axis coordinates in parentheses". I didn't use any CAD program before FreeCAD as well.

I don't find a Show Constraints icon, is it part of another workbench??

Constraints are used at Sketcher workbench, mostly for PartDesign objects. But Woodworking workbench recommend little different approach. You should rather create full model from Cubes (panels) not bounded with each other. So you will be able to move and replace any part later. At PartDesign you build one object at another, so it is slower to recalculate full model and in many cases you can't remove the bottom parts.

Wait, your docs for the magicresizer say specifically if the object has no
constraints at the selected edge they won't be resized. Use the sho
constraints tool to check it.
That said, I can't figure out a work flow from parts to a complete design.
I'm designing a work bench.
It has a
plywood top of US 1.5x24x48
4 legs US 4x4
6 beams 2x4x18
6 beams 2x4x21
2 plywood shelves 20x40x.25
All in US inches.
What tools do I use to design it?
Is there an easy to create the2x4's?
Knowing how each tool works doesn't translate into knowing how to use the
workbench
.
Thanks
Aaron
On Wed, Mar 6, 2024, 3:48 AM Darek L @.***> wrote:

I don't think so well in the axis orientations. top=xz? front= side view=?
I guess, no, you have to see the right bottom corner at 3D view, there are
XYZ axes, so the panel should rather be oriented according to it.
I once I can write a it using simple language, I can put the axis
coordinates in parentheses. I'm still new to CAD.
I don't know what you mean by "axis coordinates in parentheses". I didn't
use any CAD program before FreeCAD as well.
I don't find a Show Constraints icon, is it part of another workbench??
Constraints are used at Sketcher workbench, mostly for PartDesign objects.
But Woodworking workbench recommend little different approach. You should
rather create full model from Cubes (panels) not bounded with each other.
So you will be able to move and replace any part later. At PartDesign you
build one object at another, so it is slower to recalculate full model and
in many cases you can't remove the bottom parts.
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1980362126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY3N3YRG6MPAX6EO37TYW3J4JAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBQGM3DEMJSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Here is an example of a workbench I got off of the net.
On Wed, Mar 6, 2024 at 6:23 AM Aaron Mehl @.***> wrote:

Wait, your docs for the magicresizer say specifically if the object has no
constraints at the selected edge they won't be resized. Use the sho
constraints tool to check it.
That said, I can't figure out a work flow from parts to a complete design.
I'm designing a work bench.
It has a
plywood top of US 1.5x24x48
4 legs US 4x4
6 beams 2x4x18
6 beams 2x4x21
2 plywood shelves 20x40x.25
All in US inches.
What tools do I use to design it?
Is there an easy to create the2x4's?
Knowing how each tool works doesn't translate into knowing how to use the
workbench
.
Thanks
Aaron
On Wed, Mar 6, 2024, 3:48 AM Darek L @.***> wrote:

I don't think so well in the axis orientations. top=xz? front= side view=?
I guess, no, you have to see the right bottom corner at 3D view, there
are XYZ axes, so the panel should rather be oriented according to it.
I once I can write a it using simple language, I can put the axis
coordinates in parentheses. I'm still new to CAD.
I don't know what you mean by "axis coordinates in parentheses". I didn't
use any CAD program before FreeCAD as well.
I don't find a Show Constraints icon, is it part of another workbench??
Constraints are used at Sketcher workbench, mostly for PartDesign
objects. But Woodworking workbench recommend little different approach. You
should rather create full model from Cubes (panels) not bounded with each
other. So you will be able to move and replace any part later. At
PartDesign you build one object at another, so it is slower to recalculate
full model and in many cases you can't remove the bottom parts.
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1980362126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY3N3YRG6MPAX6EO37TYW3J4JAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBQGM3DEMJSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

So I now can build one table leg.
But I don't see how to use it to make 3 more
I can make a table top but I have no idea how to connect the parts.
Could you send me the actual file for the table you made so I can learn
from it.
Is there a way to list all the parts I want in a spreadsheet, and then have
freecad make them?
I need somewhere that doesn't explains tools but explains how to make a
piece  of furniture.
Thanks,
Aaron
On Wed, Mar 6, 2024 at 2:05 PM Darek L @.***> wrote:

Wait, your docs for the magicresizer say specifically if the object has no
constraints at the selected edge they won't be resized. Use the sho
constraints tool to check it.
Yes but this is only for Pad (PartDesign objects based on Sketch), if you
have Cube they are easier to manage and this will be resize.
I can't figure out a work flow from parts to a complete design.
No matter what you want to design you can build it from separate parts
(panels) just as children build more complex objects with Lego bricks and
just as furniture is created in the real world.
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1981587680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY3OC5EJMFDTQDBCETTYW5SIPAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGU4DONRYGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

So I now can build one table leg. But I don't see how to use it to make 3 more

You can use PartDesign Mirror but I would rather recommend using magicMove to copy...

I can make a table top but I have no idea how to connect the parts

You don't have to connect parts...

Could you send me the actual file for the table you made so I can learn from it

See the first movie at youtube... as I remember there is table...

Is there a way to list all the parts I want in a spreadsheet, and then have freecad make them

No but you can make table parametric via spreadsheet...

I need somewhere that doesn't explains tools but explains how to make a piece of furniture

You have many videos at youtube...

I found the YouTube videos, and I made my first table.
On Sun, Mar 10, 2024, 5:56 PM Darek L @.***> wrote:

So I now can build one table leg. But I don't see how to use it to make 3
more
You can use PartDesign Mirror but I would rather recommend using magicMove
to copy...
I can make a table top but I have no idea how to connect the parts
You don't have to connect parts...
Could you send me the actual file for the table you made so I can learn
from it
See the first movie at youtube... as I remember there is table...
Is there a way to list all the parts I want in a spreadsheet, and then
have freecad make them
No but you can make table parametric via spreadsheet...
I need somewhere that doesn't explains tools but explains how to make a
piece of furniture
You have many videos at youtube...
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1987375201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY7B64WA727AJGO4RV3YXTJIZAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGM3TKMRQGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I found the YouTube videos, and I made my first table.

Great to hear it ! Good Luck !
but I keep this issue open because I need to figure out the units...
the bounding feature (to connect pieces on demand) will be implemented when I will be in the right mood to do it...

Also I saw the mortise and tenon video, but I wasn't sure I saw one on
making the other joint types. could you steer me in the right direction?
Thanks,
Aaron
On Mon, Mar 11, 2024 at 7:07 AM Darek L @.***> wrote:

I found the YouTube videos, and I made my first table.
Great to hear it ! Good Luck !
but I keep this issue open because I need to figure out the units...
the bounding feature (to connect pieces on demand) will be implemented
when I will be in the right mood to do it...
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1988182468,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQY7VDZ2YV7GM3DRD473YXWF6HAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBYGE4DENBWHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Also I saw the mortise and tenon video, but I wasn't sure I saw one on making the other joint types. could you steer me in the right direction?

The youtube videos are not step by step tutorials... you need to practice on your own and rely on your own creativity. However you may want to watch the: joinery playlist

Thanks
On Thu, Mar 14, 2024, 2:37 PM Darek L @.***> wrote:

Also I saw the mortise and tenon video, but I wasn't sure I saw one on
making the other joint types. could you steer me in the right direction?
The youtube videos are not step by step tutorials... you need to practice
on your own and rely on your own creativity. However you may want to watch
the: joinery playlist
https://www.youtube.com/playlist?list=PLSKOS_LK45BBG8kJ2AZvQKBfOSfzhTrLt
—
Reply to this email directly, view it on GitHub
https://github.com/dprojects/Woodworking/issues/43#issuecomment-1998089205,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGLQQYZHYCUN7BUYZ4RHXQTYYHU5XAVCNFSM6AAAAABD3IRSH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGA4DSMRQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Anime watch history is now saved to local history

And if you want to access this data, use the following code:
	const [localItems, setLocalItems] = useState(null);

	useEffect(() => {
		const newData = get_local();
		setLocalItems(newData);
	}, []); // Empty dependency array means this effect runs only once after the initial render

	function get_local() {
		try {
			const data = localStorage.getItem("watchHistory");
			return JSON.parse(data);
		} catch (error) {
			console.log("error", error);
			return false;
		}
	}

You haven't created a LocalStorage File..?
Module not found: Can't resolve './LocalStorage'

Can you also use that Logic as a example in the page.tsx file, and create a card that represents the Name of the Anime And the the Episode Number?

You haven't created a LocalStorage File..?
Module not found: Can't resolve './LocalStorage'

Ohh, my bad.
I forgot to git add *

Check now


Renaming only works for item under cursor

Using neovim and built-in LSP.
It seems like renaming only works once in the file?

neovim lsp log: https://gist.github.com/sharksforarms/04d9eb956465d03b6f492420254a1239

Works for me in Code:

Could this be an instance of https://github.com/rust-analyzer/rust-analyzer/issues/6039?

Actually it looks like it could be neovim?
It's printing this log message out, which returns before applying the text. If I comment it out, it works...

I have the exact same problem.
https://github.com/rust-analyzer/rust-analyzer/blob/bcdedbb3d5a45ea974cc5f8e9068e9604c43a757/crates/rust-analyzer/src/handlers.rs#L617
and
https://github.com/rust-analyzer/rust-analyzer/blob/bcdedbb3d5a45ea974cc5f8e9068e9604c43a757/crates/rust-analyzer/src/handlers.rs#L635
are probably entry points for this issue, right?

Actually it looks like it could be neovim?
It's printing this log message out, which returns before applying the text. If I comment it out, it works...
neovim/neovim#12970

I can confirm this. Seems to be the only thing that is keeping the replacement from working.

@chisade they are, but I'd start by tracing the communication at the LSP level. If RA sends the wrong document version, it should be visible in the trace.

@chisade they are, but I'd start by tracing the communication at the LSP level. If RA sends the wrong document version, it should be visible in the trace.

LSP logs included in gist, is this what you mean?

Yes, sorry, I didn't look at the linked issue.

[ DEBUG ] 2020-09-23T14:22:40-0400 ] /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:361 ]	"rpc.send.payload"

{
   id = 5,
   "jsonrpc =""2.0",
   "result ="{
      "documentChanges ="{
         {
            "edits ="{
               {
                  "newText =""my_var",
                  "range ="{
                     "end ="{
                        character = 9,
                        line = 1
                     },
                     "start ="{
                        character = 8,
                        line = 1
                     }
                  }
               }
            },
            "textDocument ="{
               "uri =""file:///tmp/tester/src/main.rs",
               version = 0
            }
         },
         {
            "edits ="{
               {
                  "newText =""my_var",
                  "range ="{
                     "end ="{
                        character = 13,
                        line = 3
                     },
                     "start ="{
                        character = 12,
                        line = 3
                     }
                  }
               }
            },
            "textDocument ="{
               "uri =""file:///tmp/tester/src/main.rs",
               version = 0
            }
         }
      }
   }
}

Note: I'm not at all familiar with LSP, are the version numbers suppose to be increasing?
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#versionedTextDocumentIdentifier
Both version are set to 0 is this correct?

This is most likely a dup of #4901

Yeah, pretty sure that this duplicates #4901


Support view method on scalars

Feature request: views on scalars
For some (arcane, but valid) use cases, it is useful to view the same scalar value as both an int64 and a float64. For example, to create a float64 by separately setting the sign bit, the exponent bits and the mantissa bits, one would do bit operations (shift, or, ...) on an int64 value. At the end, one wants to interpret as a float64.
This is easy to do in C by using a union. Rust support unions, too (but they are, naturally, unsafe).
Numpy supports a similar thing with the view method (mainly on arrays -- interpret an int64 array as a float64 array), and so does numba.
However, numpy also supports this on scalars:
import numpy as np
f'{np.float64(2).view(np.uint64):b}'

is valid code and correctly prints the bit pattern of the floating point representation of the number 2 (the leftmost sign bit 0 is not printed).
For writing some mathematical functions (like the exp function, or the famous fast inverse square root, https://en.wikipedia.org/wiki/Fast_inverse_square_root), the ability to use (or simulate) such unions of int and float are required.
numba does support this on arrays (by supporting the view method of numpy).
However, it would be fantastic if this would also be supported on scalars, as in the mini-example above.
As it is, the example does not currently compile with numba (0.42).
The problem is that the view method is not defined on scalars.
Thoughts:
For the compiler, this is essentially a no-op, but for the typing system, it might become a headache.
I tried converting my int64 variable to undefined, voidptr, some other types in the typing module, and from there converting to float64, but (perhaps rightly so), numba does not allow this.
Note that one cannot simply do float64(i) for an integer i because this will actually do a complicated int to float conversion, while I want to leave the bit pattern unchanged and simply re-interpret i as a float64.

Thanks for the request, this seems like it would indeed be useful. This isn't too tricky to do, but does need a bit of low level code generation to do a bitcast. Here's a start:
import numpy as np

from numba import njit, types, errors
from numba.extending import intrinsic, overload_method
from llvmlite import ir

# this function does the reinterpretation
@intrinsic
def viewer(tyctx, val, viewty):
    bits = val.bitwidth
    if isinstance(viewty.dtype, types.Integer):
        bitcastty =  ir.IntType(bits)
    elif isinstance(viewty.dtype, types.Float):
        if bits == 32:
            bitcastty =  ir.FloatType()
        else:
            bitcastty =  ir.DoubleType()
    else:
        raise (".view() argument must be an integer or float type")
    def codegen(cgctx, builder, typ, args):
        flt = args[0]
        return builder.bitcast(flt, bitcastty)
    retty = viewty.dtype
    sig = retty(val, viewty)
    return sig, codegen

# this function just declares it will overload the `view` method for Float types
@overload_method(types.Float, 'view')
def ol_view(scalar, viewty):
    if (isinstance(scalar, types.Float) and
        isinstance(viewty, types.abstract.DTypeSpec)):
        valbits = scalar.bitwidth
        viewbits = viewty.dtype.bitwidth
        if valbits != viewbits:
            msg = ("Changing the dtype of a 0d array is only supported if the "
                   "itemsize is unchanged")
            raise errors.TypingError(msg)
        def impl(scalar, viewty):
            return viewer(scalar, viewty)
        return impl

@njit
def foo(val, astype):
    return val.view(astype)

for ty in (np.uint64, np.int64, np.float64):
    x = foo(10., ty)
    print(x)

for ty in (np.uint32, np.int32, np.float32):
    x = foo(np.float32(10.), ty)
    print(x)

if you have time to perhaps formalise it, write some tests and open a pull request that would be great, if not it can be left to the core developers and picked up sometime in a future release cycle.
Some instructions for getting set up for development are here and are a great place to start if you are interested.
Thanks!

Thanks a lot for the solution. I'll try to do what I can, but I think I need to understand the numba design and internals a lot better before I can write a pull request. So it may be some time.

I have wanted something like this (along with functions to interpret a sequence of bytes in an array as a particular data type).
I'm curious about what people think are reasonable constraints for scalar bitcasts.  Should we only allow casting between types that have identical size?  i.e. int32 <-> uint32 <-> float32, but not float32 <-> int64?
Are there any types besides floats and ints that make sense for this functionality?  I can't think of anything else that has a well-defined bit pattern.

Using numpy arrays, you can bitcast a lot using the view method, e.g. view an array of four bytes as an array of one uint32.
import numpy as np
a = np.array([1,2,3,4], dtype=np.uint8)
a.view(dtype=np.uint32)
array([67305985], dtype=uint32)

It is checked that the sizes are compatible:
a = np.array([1,2,3,4,5], dtype=np.uint8)
a.view(dtype=np.uint32)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: When changing to a larger dtype, its size must be a divisor of the total size in bytes of the last axis of the array.

What I was interested in (for numba) is to extend this to compatible scalars (float64 <-> [u]int64, float32 <-> [u]int32 mainly). I think that there is no obvious way to bitcast between 32 and 64 bits (or other types of different sizes).
Also numpy does not allow this:
np.int32(3).view(np.float64)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Changing the dtype of a 0d array is only supported if the itemsize is unchanged

To make a scalar (int32, say) from an array of 4 bytes, you would have to use the array .view method and then index with [0]. To me, it would be fine to keep it this way.
However, array creation and indexing seems too much overhead if I only want to convert a single scalar value (of the same bit size).

One approach --- a bit esoteric admittedly -- to go from (u)int32 <-> (u)int64 is to drop half the bits (least significant) when going to lower precision or to pad the bits (most significant) with zeros when going to higher precision. This would however be lossy in the compression sense that information will be lost when going from 64 -> 32. From 32 -> 64 the true value would be preserved. Also, this only works in an obvious way for ints, not sure about floats.

@svenrahmann I have implemented this in #3928 - I would really appreciate your input on the solution. Will it satisfy your use-case?

This implements exactly what I was looking for. Thank you.
On Fri, Apr 5, 2019 at 6:29 PM Valentin Haenel<EMAIL_ADDRESS>wrote:

@svenrahmann https://github.com/svenrahmann I have implemented this in
#3928 https://github.com/numba/numba/pull/3928 - I would really
appreciate your input on the solution. Will it satisfy your use-case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/numba/numba/issues/3763#issuecomment-480339662, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJxHjmx1a3JpdarfZQhXl0yhirabA2Amks5vd3oEgaJpZM4a6f-2
.

--
Sven Rahmann
Mobil: 01577 3991734


Exclude tests from setup.py install

Tests should not be installed by setuptools, since it will put them in site-packages/tests. This is likely to conflict with other packages, and is against the packaging guidelines of at least Arch, and probably other distros as well.
Also, skidl (and kinparse) is in the AUR now, so Arch users can install it with just  python-skidl. At the moment, I'm patching this at build time.

Thanks!


feat: add support for count(*) aggregation datastore

Adding support for count(*) aggregation to datastore client library.

Hi @Rishabh-V @anshuldavid13 @anuragsrivstv ,
Please review this PR and share your valuable feedback.
Thanks,

Hi @jskeet @amanda-tarafa ,
Please review this and share your valuable feedback.
Thanks,


Add High-Level Design document to webpage

The high-level design needs to be added to the webpage.

Done


added example for V2 listeners with Stateful Services

@ktoliver : Thanks for your contribution! The author, @vturecek, has been notified to review your proposed change.

#please-close


Sharing does not work properly when roads or overlay layers are selected

When features are selected from the Roads or Overlay layers, those features do not display correctly in the shared version of the app.  They are not highlighted and the popup does not display.
Steps to repro for overlay layer:

Search for Gregory Middle School
Note that polygon features are highlighted on the map and a popup displays
Click Share and choose Facebook, Twitter or email
Open the shared result. The polygons are not highlighted and the pop-up doesn’t appear in the shared app.

Steps to repro for roads layer:

Search "ogden ave" and then scroll down to the bottom of the candidate list to select the Ogden Ave option under 'Road Centerline'
Note the road features are highlighted and a popup displays
Share the app through Facebook, Twitter or email
Open the shared version.  Note the extent is correct, but no features are highlighted and there is no popup visible.

Note that this is a new issue and does not exist in the released version of the app.

@CTLocalGovTeam How the fix coming?

@ChrisBuscaglia we have fixed this issue and are in the process of delivering code.


Admin to-do items for CNCF Move

Part of the new infrastructure move will mean doing the following things:

[ ] get CNCF Service Desk access for the maintainers, and have kured set up as a project there (Ticket ID: CNCFSD-1404)
[ ] apply for 1password access to share credentials
[ ] ask users to move to CNCF Slack #kured
[ ] add Kured to CNCF Landscape
[ ] ... please add ...

https://github.com/cncf/toc/issues/922

As this seems a large item of coordination, and #633 is basically also doing the same, would it make sense to merge the two lists into one? Gives better view on what to do. We can tag people on the different tasks. WDYT?


Add file-exists function

When a read call to a non existent file is made, the compilation errors (as it should). This is why issue #2025 ask for a function to check for file existence.
file-exists is a simple implementation of that. It uses the engine.world.file functionality that should then cache for the upcoming read.
The function naming is debatable and is just a proposal.
exists is too generic but alternatives fexists could work. Since this is most likely a temporary solution that will be deprecated once a more stable path type is necessary.

As mentioned in some other issues, I'm not a big fan of having temporary solutions that we know we will deprecate. It introduces unnecessary churn. I agree that a method path.exists would be the nice solution, so I'd prefer waiting for that.


Required permissions to make all these steps

Hi,
Can you please mention the required permissions to :

Register the Gateway on Azure : What are the permissions required by the user
Example : Register --> Step 2 : What are the required permissions for the user philipc ?

Create an Azure gateway resource : Do we need that the same user that registered the Gateway, be the one who created the gateway ?

Thanks

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

ID: dc58ee8d-9650-6a07-8740-e10bf9dc12af
Version Independent ID: ca47ad42-0033-3b26-f7ac-6fb32c3ff8d6
Content: Install On-premises data gateway
Content Source: articles/analysis-services/analysis-services-gateway-install.md
Service: azure-analysis-services
GitHub Login: @Minewiskan
Microsoft Alias: owend

@SamirFarhat
Thanks for the feedback! We are currently investigating and will update you shortly.

#in-progress


Get sources: Git fetch - the remote end hung up unexpectedly

Agent Version and Platform
Version of your agent? 2.136.1
OS of the machine running the agent? Windows
VSTS Type and Version
VisualStudio.com or On-Prem TFS? VisualStudio.com
If VisualStudio.com, what is your account name? http://dotnet.visualstudio.com
What's not working?
2018-07-14T00:01:00.3572284Z ##[command]git -c http.extraheader="AUTHORIZATION: basic *" fetch --tags --prune --progress --no-recurse-submodules --depth=5 origin +refs/heads/:refs/remotes/origin/ +refs/pull/303/merge:refs/remotes/pull/303/merge
2018-07-14T00:01:08.3263472Z fatal: The remote end hung up unexpectedly
2018-07-14T00:01:11.0106851Z ##[error]Git fetch failed with exit code: 128
Agent and Worker's Diagnostic Logs
Unavailable (not sure how to connect to a Hosted agent)
We've seen this issue a handful of times (it's not frequent but it does occur).  The error looks slightly different from what was reported in https://github.com/Microsoft/vsts-agent/issues/1474.  Is this something that a retry could help with?

@chcosta
#1474 is calling VSTS git repository, in your case, you are calling github.com.
you might want to ask github.com why they are hung up.

Sure, I can follow up with them.
My point in filing this issue was to highlight that network / other issues are common (particularly when depending on an external provider), and that it might be helpful to add some retry logic here depending on the error code.  We don't have much control over the "Get sources" step so we can't do anything (that I know of) on our end to improve reliability and thus we depend on the agent to be rock solid.  One off failures aren't a terribly big deal, until they are, like when you're spinning an escrow build and 4 PM's are asking you for build status.
I know there's some other work in this area for improving reliability of VSTS builds, but catching this particularly type of issue at the source might prevent wasting a lot of resources.

Fetching sources seems like it should be idempotent and thus safe to offer a retry or 2. Probably not by default, but as an option for complex builds. @TingluoHuang would that be problematic? (I'm only asking about the semantics of retrying the fetch. Scheduling work to add this feature is an entirely different question.)

@vtbassmatt i think adding retry is fine, it wouldn't make the problem worst, i think we need to run git reset --hard before retry git fetch.

closing since it's merged.


Corrections for symmetry factor feature in GRChombo

Corrected the params files and any uses of AMRReductions in both of the Examples, to account for the integral symmetry factor feature in GRChombo (see GRChombo Issue No. 197). Specifically:

Added the symmetry_correction flag to the params files (under the Boundary Condition parameters)
Provided the chombo parameter storing the symmetry factor to every instance of the norm and sum AMRReductions functions, in the specificPostTimeStep() function for each example.

Note that the symmetry factor is calculated entirely in the ChomboParameters.h file of the main GRChombo repo.

Apologies, the new PR I accepted seems to have broken a few more of the tests, if you could pull this into here (rebase to it?) and fix those at the same time that would be amazing...

Could you also correct the symmetry factors in the python diagnostics scripts (one in each example)? They should not now be needed.
One of the intel tests seems to fail - I am not great with these but maybe @SamuelBrady can help...

Changed the intel test as in GRChombo, works now


Cant use openrouter with chatbox firefox

Describe the bug
问题描述
I configured openrouter + claude as Custom Model, but in chat error 405 appears each time I try to ask model. Same issue with gpt-4o model. I checked that model name is correct
To Reproduce
如何复现
Steps to reproduce the behavior:

Go to extension settings
Set API Mode to Custom Model
Configure OpenRouter's endpoint, model and key
Go to chat window
Send any text
Error 405 occurs

Expected behavior
期望行为
Normal response
Screenshots
截图说明

Please complete the following information):
请补全以下内容

OS: Linux, Fedora 40 KDE
Browser: Firefox 130.0.1 (64-bit)
Extension Version: 2.5.8 (Latest)

I double checked that model-key-endpoint are fine via pure python request

the api url should be complete (with /chat/completions)
https://openrouter.ai/api/v1/chat/completions

Oh, I see! Thanks
I checked, there was a default value with completions endpoint, but I overlooked it once pasted my url
Maybe we can add a hint here?
src/_locales/en/main.json:
{
  "Custom Model API Url": "Custom Model API Url (chat completions endpoint)",
}

I can create a PR if you find this useful


TabCloak Update, Moved CSS and JS

Ignore the amount of icons being added they are the same anyway so nothing is act changing from them.

I have merged your changes manually.


[Request] Add the ability to upload documents to LLM for added contexts

With the variety of multi-modal LLMs, it would be great if we could upload documents and potentially photos/pictures
to the LLMs for processing and added context.
Describe the solution you'd like
Be able to upload documents such as PDFs, JPEGs, PNGs and other file formats to LLMs if they support it.
Additional context

agree with this


FR: Add min/max/avg requests / second in last hour/day/period

I'd like to see the min/max/average number of requests for a few periods such as previous hour, day or entire period.

The min/max is already in the web interface. I can certainly add the average though. I expect to add these three soon in the terminal output as well.
As far as filtering by a period of time, it will definitely be addressed on issue #117.

I can only find the min/max per period; not for the last day or hour. Am I missing something? Especially with the real-time view it would be nice to see average requests / second displayed which I currently cannot find

That's right, you can't filter right now by a specific period of time such as last day/hour. This will be added when #117 is implemented. I plan to add an interface that will allow users to specify what filters to apply, e.g., date/time, specific token such as UA, request, etc.

Ah, I see. Thanks for explaining

Forgot to mention, currently you can do some preprocessing to filter out your data using pipes. Take a look at the man page for some examples.


[FEATURE REQUEST] Sum of Overspent Categories

feature request (because I'm pretty sure YNAB does not and will not ever do this natively): Option to show "Sum of Overspent Categories" -- maybe in the budget summary frame to the right of the budget?
https://twitter.com/cmduke/status/1418961018684837890

I totally agree, and if you haven't already, you should also request this with YNAB. I've been pushing them to add this, so the more voices the better.

This was added in our latest release!

Brilliant! Thank you so much. I love it! ❤


python311Packages.pythonfinder: 1.3.2 -> 2.0.5

Diff: https://github.com/sarugaku/pythonfinder/compare/refs/tags/1.3.2...2.0.5
Changelog: https://github.com/sarugaku/pythonfinder/blob/v2.0.5/CHANGELOG.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

4 packages built:

python310Packages.pythonfinder
python310Packages.pythonfinder.dist
python311Packages.pythonfinder
python311Packages.pythonfinder.dist


[Feature] : Enable or disable agent dynamically through runtime option

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Dear Apache SW team,
Thank you for your support.
Now, coming from using New Relic(NR) and intending to migrate over to Apache Skywalking(SW), I have a feature request that I couldn't find in SW that was available in NR. I'm sorry if I'm comparing these two, but that one feature will help me segregate and ease out my microservice deployment.
The requirement is:

I would keep my agent to be running as default on my docker image. Therefore, all new containers will have the java-agent running and will start streaming data to the SW server.
Whichever Microservice I don't want to report into SW, I will just add a run-time JVM option (something like -Dskywalking.agent.enable=false) and therefore, that container won't transmit data to the server.

Use case
Some of my lower environments may not need monitoring, or I may need only few services across staging, pre-prod and prod to write into SW.
In which case, the services which I wish were quiet, I can configure the runtime values to use the dynamic configuration option.
The other fact is since we use helm to deploy applications, the lower environments' helm charts maybe +1 or +2 versions in comparison to that on production, thereby instead of managing multiple agent.configs or SW servers, it will be good if these can be handled dynamically.
So on those instances, if I pass JAVA_OPTS="-javaagent:/skywalking.jar -Dskywalking.agent.disable=false", those service related containers maybe left out from logging data.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Are you asking disabling service aget through -D?
This is strange, why you could add -D but can't remove -javaagent?

Thank you for the reply. So let me elaborate a little:
We have a springboot based base-alpine image,
where our internal javaagent and the skywalking javaagent are both incorporated. Now, all our other app helms use this base image and build their charts upon that. So, to delete the javaagent on the base image will mean modifying close to 400 app helm charts which would be a long-drawn and company-wide impacting change, which might never get a green light.
So, adding that flag would be targetting only one helm chart at a time, also, some of these apps may never want to move into SW, sometimes they want to move in or out.

OK. From tech perspective, this is easy. You could contribute a new config for the agent, which would be exposed as system property(-D) and System env variable automatically.
Would you like to contribute this directly?

Thank you Sir Wu-sheng. Although I would love to, I am not very well versed on how to get that done. I have come from system admin background into DevOps realm very recently and my programming language is very naive at best.

@westbigben I submitted the https://github.com/apache/skywalking-java/pull/439 for this.
With the more you use this, I would recommend you to be familiar with codes, most likely, we may need new plugins or some bug fixes.

@wu-sheng - Thank you and I am going through the code. It could help me gain speed.


Release 1.13.3

This PR covers steps 1-3 of release process described in DEV_README.rst

Coverage decreased (-0.05%) to 82.913% when pulling 21ef6b58ef53028a7ab942a2315bc130a85f6d81 on release-1-13-3 into c6752f5e74681e5bba55974c2b03d7387d1a1c62 on master.


#106 - Added external hostnames setting, and missing drop-sequence

#106 - Added external hostnames setting, and missing drop-sequence
THIS SOFTWARE IS CONTRIBUTED SUBJECT TO THE TERMS OF THE FINOS Corporate Contributor License Agreement.
  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.

@maoo  this will allow you to pass in the fqdn as an env variable when running on EC2 , to allow the DB web console (18084) to work in the hosted demo

Thanks @DovOps !
Shouldn't we also add the env var on docker-compose.yml ? This is how I'd define the database service (just added the environment section)
services:
  database:
    environment:
      - DATABASE_WEB_HOSTNAMES=${TRADERX_FQDN}
    image: database
    build:
      context: database
      dockerfile: Dockerfile
    working_dir: /database
    expose:
      - 18082
      - 18083
      - 18084
    ports:
      - 18082:18082
      - 18083:18083
      - 18084:18084
    volumes:
      # Mount the root folder that contains .git
      - .:/workspace:cached
    command: ./run.sh
    networks:
      - localnet

This way, I can run docker compose as TRADERX_FQDN=<my host> docker-compose up -d
WDYT?

@maoo  Definitely. Thanks. Will add


Add posiiblity for easy generation of detailed code coverage report

Current state
The "scargo test" command generates by default a simple gcovr report (only coverage stats for files). The current state is good for CI statistic gathering as we get one simple file, but for eventual debugging and improvement of testing code, this is unuseful (You see "there is 50% coverage" but there is no information of what lines was not covered). Below is the current scargo code realizing the report (look at the --html parameter):
# Run code coverage.
  cmd = [
      "gcovr",
      "-r",
      "ut",
      ".",
      "-f",
      config.source_dir_path,
      "--html",
      "ut-coverage.html",
  ]

Possible improvement description
Given above. The "--html" option forces simplified output. The detailed one is  "--html-details" but the latter will generate multiple files (which may not be nice for CI). So there are at least three options of improvement:

Change default to --html-details and change CI to recognize all files as artifacts.
Make report generation configurable at the "scargo test" command level to allow detailed report generation.
Generate both outputs. Short one for CI and statistics. Detailed one for developers searching bugs.

There is also possibility of other features like "output coverage as universal coverage format given as input to external tool"  eg. coveralls. Such things also require manipualtion with above gcovr options. But it might be another topic.

@rap-spyro Why is it a "good first issue" when it requires a non-trivial decision?

Adding an option for detailed report is trivial - it's just a matter of deciding between two gcovr parameters. Granted, the decision to change default behavior is more involved, but it's a separate topic than adding possibility for easy generation of detailed code coverage report which matters most for a developer.

Ok, I went with option 2


input editing issue

if we edit already entered date from the month, for example, then everything already entered will be just moved out of the field. Can we prevent this behavior?
For example: we have this date 10/22/2016 and we want to change 22 to 23. We click betwen 2 and 2 and enter 3, so the date will be 10/23/2201, but i want to see 10/23/2016.
I found this behavior in this lib http://sanniassin.github.io/react-input-mask/demo but it's for React.

+1


Cleanup/deprecated stuff

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind update

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area manifests

/area documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
/cc @maxgio92
/cc @jasondellaluce

@leogr: The label(s) kind/cleanup, area/manifests cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind update

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area manifests

/area documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @maxgio92
/cc @jasondellaluce

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

/kind cleanup
/area manifests

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[Agenda Item] Update to Document Project Lifecycle

Overview:
The term “project” within Green Software Foundation refers to a collaborative endeavor to deliver a work item. There are two types of projects at the Green Software Foundation: Document Projects and Software Projects.
Document Projects are consensus-based. They produce a document, such as a requirements or use cases document, a whitepaper, or analysis.
Software projects are maintainer-based. They develop a new capability, refactor, or remove an existing capability for the Green Software Foundation technology releases. Such projects may take the form of a new component (e.g. a new repository) or may propose additions, deletions, or changes to an existing repository or repositories.
Towards the end of last year we realised our GSF Lifecycle Process was not fitting for these two Project types. And therefore projects were not progressing through the Lifecycle stages.
We revised the Software Project Lifecycle in November 2023, outlined here #63
This Agenda item issue is to discuss the
Revised Document Project Lifecycle
6 Stages:

Pre-Draft - Any GSF Member may submit a  document as a candidate for a Draft
Draft - The Document is in it’s experimental stage, and is being explored by the project team
(WG)Approved - Parent Working Group deems the project to have met the objectives as defined in the scope
(SC)Ratified - GSF Steering Committee Ratifies the Document.  This step triggers the publication process
Published - After the Steering Committee Ratification the Document can be made publicly available
Historic -Document is no longer relevant as the technology it’s defining becomes obsolete or no longer actively maintained.

Related topic: The type of agenda item you want to propose.

[ ] Governance: New project
[x] Governance: Other
[x] Process
[ ] External Engagement
[ ] Technology
[ ] Other

Related working groups:

[ ] Community
[ ] Open Source
[ ] Policy
[ ] Standards
[x] Oversight Committee

Related issues or discussions:
Please list all related issues so that we can see the originating conversation
https://github.com/Green-Software-Foundation/oc/issues/63
https://github.com/Green-Software-Foundation/oc/issues/23
More information:

Any other information you want to add.

Motion raised via email to Oversight Committee 7th February, no objections 1 week later, 14th February.


[Bug]: redis status is red when first launch ragflow

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
6c32f80bc91715319e9946cef8bc275d18f446b9
Other environment information
No response
Actual behavior
Redis queue rag_flow_svr_queue have not be created when no task have been launched. so the redis status is red.
Expected behavior
No response
Steps to reproduce
1. setup new ragflow env.
2. go to /user-setting/system and see redis status.

Additional information
No response

We've fixed this in the dev version.


Email template issues

There are several issues with our email templates at the moment:

Mobile font size
Occasionally font size is significantly reduced on mobile devices. It does not appear to matter what size of device, but it does appear to be specific to Apple Mail, or native iOS apps which use the Apple Mail ... mail renderer(?) - screenshots below are of FrontApp, on an iPhone 11 Pro Max

Normal: https://user-images.githubusercontent.com/120485/79720893-abe4d100-830b-11ea-8040-6cca4998c760.PNG
Small: https://user-images.githubusercontent.com/120485/79720906-b4d5a280-830b-11ea-9daa-ee45a7a75a3b.PNG

Bookmark cards
There seem to be some spacing issues around bookmark cards, FrontApp, Macbook Pro

https://user-images.githubusercontent.com/120485/79721032-ef3f3f80-830b-11ea-91c2-3c851e0f568f.png

Video embeds
Currently video embeds don't degrade at all for email, they just break / don't show up. It would be good if, at least, they could degrade to a bookmark card.

TODO:

[x] Fix mobile font size
[x] Fix bookmark card spacing
[x] Fix video embed degradation

[x] Outlook specific fallback
[x] Fix display in gmail mobile

I was just rooting around in Discourse and, by coincidence, found this right before the closing body tag of their email template:

Have not researched so far, so I don't know if it's related or relevant

As of next Ghost release video embeds will now render a thumbnail with a play button overlay in emails, the whole thumbnail is a link to the original video url.
Note that this will only work for newly created embed cards, unfortunately we weren't storing thumbnail data alongside old embed cards.

With the Gmail scaling / font-resizing fix I can't reproduce the bookmark spacing issues so I'm marking it as done and closing. We can revisit with more specific issues if/when we have further reports 🙂

I am experiencing spacing issues with bookmarks on emails. It can be reproduced in the newsletter preview of a post.

In the image, "Ghost" is the author, and "Test Page" is the publisher.
I tried overriding the CSS classes kg-bookmark-author and kg-bookmark-publisher` with no luck.

@aamatte please open new issues rather than commenting on closed ones


Remove usage of deprecated items. Fixes #52

Gets rid of usages of thread::scoped and env::page_size fixing the build on newest nightly.
Can't test on Windows machine, it would be nice to ensure this still works on that platform as well.

Thank you!!


Problem with the  enableHybridMailFlow switch

Hello,
I read in the documentation that, when adding the enableHybridMailFlow switch, an Exchange server + credentials should also be stated.  So, this is (part of) my command: -enableHybridMailFlow:$TRUE -exchangeServer PigsInSpace.muppets.intra -exchangeCredential $cred.
But then script fails with:
ParameterName         Bound ParameterValue

Credentials            True System.Management.Automation.PSCredential
Server                False
PowershellSessionName  True ExchangeOnPremises
connectionURI          True https://PigsInSpace.muppets.intra/powershell
authenticationType     True Basic
configurationName      True Microsoft.Exchange
allowRedirection       True True
requiresImport         True True
isAudit               False False
Verbose               False
Debug                 False
ErrorAction           False
WarningAction         False
InformationAction     False
ErrorVariable         False
WarningVariable       False
InformationVariable   False
OutVariable           False
OutBuffer             False
PipelineVariable      False
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - BEGIN NEW-POWERSHELLSESSION
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - Creating the powershell to server that requires import.
[7/20/2023 3:06:16 PM] - The powershell session was created successfully.
[7/20/2023 3:06:16 PM] - END NEW-POWERSHELLSESSION
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - Calling import-PowerShellSession
[7/20/2023 3:06:16 PM] - ERROR:  Unable to create powershell session.
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - BEGIN disable-allPowerShellSessions
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - Gathering all PS Sessions
[7/20/2023 3:06:16 PM] - Disconnecting Exchange Online Session
[7/20/2023 3:06:16 PM] - Removing other non-Exchange Online powershell sessions.
1
[7/20/2023 3:06:16 PM] - Session1
[7/20/2023 3:06:16 PM] - PigsInSpace.muppets.intra
[7/20/2023 3:06:17 PM] - Error disconnecting powershell graph - hard abort since this is called in exit code.
[7/20/2023 3:06:17 PM] - IT MAY BE NECESSARY TO EXIT THIS POWERSHELL WINDOW AND REOPEN TO RESTART FROM A FAILED MIGRATION
[7/20/2023 3:06:17 PM] - END disable-allPowerShellSessions
[7/20/2023 3:06:17 PM] - ********************************************************************************
[7/20/2023 3:06:17 PM] - ********************************************************************************
Other Exchange servers gives same result.  Basic auth is enabled on Powershell.
When I remove the -enableHybridMailFlow switch, the command/migration works.  Any pointers are very welcome.
Cheers,
Jakke91

If the exchange server name is not a load balanced url using basic authentication authentication please add -ExchageAuthenticationMethod Kerberos
The error is importing the remote shell session.
==============================
Timothy J. McMichael
Senior Support Escalation Engineer
<EMAIL_ADDRESS>(980)-776-7465
Hours:  Sunday – Wednesday 08:00 – 16:00 eastern time zone.
Manager:  Tom Roughley<EMAIL_ADDRESS>Premier Support -<PHONE_NUMBER>
Broad Commercial Support -<PHONE_NUMBER>
==============================

From: jakke91 @.>
Sent: Monday, July 24, 2023 4:42 AM
To: timmcmic/DLConversionV2 @.>
Cc: Subscribed @.***>
Subject: [timmcmic/DLConversionV2] Problem with the enableHybridMailFlow switch (Issue #146)
Hello,
I read in the documentation that, when adding the enableHybridMailFlow switch, an Exchange server + credentials should also be stated. So, this is (part of) my command: -enableHybridMailFlow:$TRUE -exchangeServer PigsInSpace.muppets.intra -exchangeCredential $cred.
But then script fails with:
ParameterName Bound ParameterValue

Credentials True System.Management.Automation.PSCredential
Server False
PowershellSessionName True ExchangeOnPremises
connectionURI True https://PigsInSpace.muppets.intra/powershellhttps://pigsinspace.muppets.intra/powershell
authenticationType True Basic
configurationName True Microsoft.Exchange
allowRedirection True True
requiresImport True True
isAudit False False
Verbose False
Debug False
ErrorAction False
WarningAction False
InformationAction False
ErrorVariable False
WarningVariable False
InformationVariable False
OutVariable False
OutBuffer False
PipelineVariable False
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - BEGIN NEW-POWERSHELLSESSION
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - Creating the powershell to server that requires import.
[7/20/2023 3:06:16 PM] - The powershell session was created successfully.
[7/20/2023 3:06:16 PM] - END NEW-POWERSHELLSESSION
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - Calling import-PowerShellSession
[7/20/2023 3:06:16 PM] - ERROR: Unable to create powershell session.
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - BEGIN disable-allPowerShellSessions
[7/20/2023 3:06:16 PM] - ********************************************************************************
[7/20/2023 3:06:16 PM] - Gathering all PS Sessions
[7/20/2023 3:06:16 PM] - Disconnecting Exchange Online Session
[7/20/2023 3:06:16 PM] - Removing other non-Exchange Online powershell sessions.
1
[7/20/2023 3:06:16 PM] - Session1
[7/20/2023 3:06:16 PM] - PigsInSpace.muppets.intra
[7/20/2023 3:06:17 PM] - Error disconnecting powershell graph - hard abort since this is called in exit code.
[7/20/2023 3:06:17 PM] - IT MAY BE NECESSARY TO EXIT THIS POWERSHELL WINDOW AND REOPEN TO RESTART FROM A FAILED MIGRATION
[7/20/2023 3:06:17 PM] - END disable-allPowerShellSessions
[7/20/2023 3:06:17 PM] - ********************************************************************************
[7/20/2023 3:06:17 PM] - ********************************************************************************
Other Exchange servers gives same result. Basic auth is enabled on Powershell.
When I remove the -enableHybridMailFlow switch, the command/migration works. Any pointers are very welcome.
Cheers,
Jakke91
—
Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGTN6NQCKWJH6U5QLPOSR3XRYYOTANCNFSM6AAAAAA2VHWDDY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

That worked, cheers!!


Conditions

Is there a way to make it only farm when a certain software is opened?
My situation is that I am using software from Steam, "Blender," which doesn't launch through Steam when you open files. So, I am using Steam Hour Booster to track how much time I spend working in Blender. It's inconvenient to have to open and close it each time. Is there a way I could make it recognize when Blender is opened? The only method I've found is to have a separate running script that checks every couple of minutes if Blender is running and then terminates or turns on Steam Hour Booster accordingly.
Thanks.

This is a very, very specific scenario and I don't think there is a way I could implement such a feature without running into problems. Also it would be problematic to get it to work with a dockerized version of this program.
Unfortunately, the best option is to create a separate script that checks if you have Blender running or not and turns the program on or off, respectively.

Makes sense, thanks for the reply!


Generate code for missing classes

Not sure how, but these classes didn't get generated before.

Makes sense. Thanks!


The app requires a minimum version of node to run

Describe the bug 🐛
When running yarn install I am presented with an error that my NodeJS is too old.
I am running node v.20.1.0
To Reproduce 📝
Steps to reproduce the behavior:

Run yarn install
Get an error in the terminal saying that my version is too old

Expected behavior 🕵♂
This should be documented in the README, to let people know what the minimum node version is required to run this application
Additional Information (optional)
Where it occurred

Desktop

OS: Mac OS Sonoma 14.3.1

Additional context
I use nvm  and when I switched to node v20.11.0, it worked fine 😄

I would like to work on this,
Do you want me to include the node minimum version in the prerequisite section or the Run Locally section?

@themujahidkhan, excellent :)
you can put it in the prerequisite. As it will most likely grow over time 😄

Thanks @suuunly
What do you think about this iteration?

Or Should I come up with a different copy?

Mostly, I am thinking that if people are interested in using nvm, then they can press the link and read nvm's guide 😄
That way we don't need to maintain the nvm documentation on our end, in case things change on their end 😁

How about now?
Updated Content Screenshot

Let me know if that works, I'll open a PR

That looks good 😁😁👌🏻

Done PR created


Add redis cluster broker and result-backend

Adding the Redis Cluster broker and result-backend out of the box would be nice advantage, relative to alternative task queues.
But wouldn't it be redundant?
If this idea seems relevant to you, there are some implementation issues.
Using redis-py there is no problem with developing a result-backend, but there are some problems with the broker, more specifically redis.asyncio.RedisCluster client doesn't support pubsub, so it seems the only way to implement AsyncBroker correctly is to initialize redis.asyncio.RedisCluster and subscribe on tasks kicks channel in any master-node through redis.asyncio.Redis, as long as it is alive and switch to another if the current master-node is not working.

@chandr-andr up

@steigerung Hi!
I apologize for the long feedback.
The proposal to use a Redis Cluster is extremely interesting.
I will try to make an MVP that can implement your proposal.

I'm interested in this. As I see it, implementing support for redis cluster in result backend should be trivial, because it doesn't use PUB/SUB. It only uses SET, EXISTS, GET and GETDEL which are all supported by redis cluster in redis-py.
Even if we only did this, it would still be an improvement, because there are multiple brokers available for taskiq, but only one result backend (at least that's what the official taskiq docs suggests).
I'm willing to implement changes for result backend to support cluster mode. Expect a PR in a few days :-).

Hi @s3riusI
Saw that you accepted the pool request, when can I expect a new version of the library? I'm really looking forward to these changes

Hi! I guess we can safely release it now. Because these changes are backward compatible.

Are there any plans to create a ListQueueBroker and a PubSubBroker with cluster support?

Sure. I'm not certain about PubSub support. Because in cluster mode it's a bit tricky. But anyway it sounds like a good idea.


[DDW-248] Refactor compress/download logs handling

This PR refactors compress/download logs handling.
Todo:

[x] Download logs should always pack fresh logs into logs.zip file
[x] Bug report should always pack fresh logs into logs.zip file and submit it to the Report server.
[x] Create logs.zip files with timestamp [1].

[1] Format based in this answer.
Screenshots:
Normal state

Submitting state (Close button is disabled, 50% opacity)

Review Checklist:
Basics

[ ] PR is updated to the most recent version of target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance tests are passing (yarn run test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn run dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn run package / CI builds)
[ ] There are no flow errors or warnings (yarn run flow:test)
[ ] There are no lint errors or warnings (yarn run lint)
[ ] Text changes are proofread and approved (Jane Wild)
[ ] There are no missing translations (running yarn run manage:translations produces no changes)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn run storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly documented and commented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-rendering
[ ] Any code that only works in Electron is neatly separated from components

Testing

[ ] New feature / change is covered by acceptance tests
[ ] All existing acceptance tests are still up-to-date
[ ] New feature / change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review:

[ ] Merge PR
[ ] Delete source branch
[ ] Move ticket to done on the Youtrack board

Generating the logs only upon form submission allowed for a much simpler logic 🙂

@daniloprates can you please post screenshots of how the Dialog close button looks while disabled?
I think @a-rukin should take a look at it ;)

@MarcusHurney @DominikGuzei there is one more problem that I have found regarding the Autocomplete component:
Expected behavior (how it used to be)

Focus the autocomplete component
On ENTER key we used to open the dropdown with the list of suggestions as if you typed “a” - or basically the first possible suggestions (the same thing which we do if you click with the mouse in the autocomplete
Then if you just keep typing ENTER you will make selections of the first suggestion over again and this is how it should be

Actual behavior (how it is with the new React-Polymorph)

Focus the autocomplete component
On ENTER key the suggestions list are no longer open (nothing happens)
If you click with the mouse then the expected top results (starting with “a”) are correctly shown
If you type in “b” and select an item and then click again with the mouse the suggestions will show but with results for “b” instead of for top of the list (aka. “a”)

Thanks for fixing it!

@nikolaglumac @a-rukin ✔

Close button in disable state - OK

Commits 27fc619 and 43a75fc:

Moved the isSubmitting logic into the ProfileStore;
Renamed requestFreshCompressedLogs to getLogsAndCompress;
Renamed compressedFileDownload.inProgress to compressedLogsFile.downloadInProgress;
Created bugReportInProgress;
Renamed getFileNameWithTimestamp to isFileNameWithTimestamp;
Created extractFileNameFromPath for the case we need to get the fileName from the log's path;


NPM: sometimes license attribute is an object

We only expect a string, this does not always seem to be the case, for example<EMAIL_ADDRESS>

Looks to be deprecated: Some old packages used license objects or a "licenses" property containing an array of license objects. See https://docs.npmjs.com/files/package.json#license


Build a base of core maintainers by granting write access to this repo

Because this project represents a central building block of many Ionic-based build workflows, the recent cease of activity is worrying a lot of downstream users, especially given the increased activity within the Ionic project. My recent PR thus represents a combination of all current fixes from the most active forks to make a stress free start easier.
In the case that you, @diegonetto - the author of this invaluable & awesome piece of software - need assistance in maintaining the codebase, it would be relieving if you could grant write access to the (see "Pull Requests") maintainers of the most active forks, such as https://github.com/JaKXz. Thus, this project will keep on living.
Thanks for your time & an awesome tool!

@SidneyS thank you for the kind words, support, and suggestions.
I'm in the process of finishing up a book on AngularJS (http://www.amazon.com/Professional-AngularJS-Valeri-Karpov/dp/1118832078) with @vkarpov15 (MongoDB engineer who coined the term MEAN stack and maintainer of https://github.com/learnboost/mongoose/) and another one on the IonicFramework, which we are working on with Drifty directly.
I'm about two weeks out on wrapping up both of these books, and could definitely use help maintaining this project. However, after several discussions with Drifty, I believe this project is going to need a serious refactor before a big 1.0.0 release so that it is more compatible with Drifty's tooling and project structure.
I'm moving to LA next week, but intend on starting a new issue with a longer post with a proposed vision so that we, as a community, can discuss how this project should progress.
Until we lockdown what should be part of the 1.0.0 release, let's hold off on on-boarding new maintainers. I will go through the existing PR's and see what we can get merged in and released today.

Congrats on the book @diegonetto. We used this generator heavily and have added / modified our app now to be a bit different than the original setup. If I can be of any help in providing use-cases or other feedback on what we're using, what we're not, and what we'd like to see in terms of integrating ionic's cli and this generator then please let me know.

Hi, thanks @diegonetto for this awesome generator but I think it would be great if you add more people to the repository, like @SidneyS and other people that can contribute and are interested in improve it and fix issues
The current status of this projects seems a bit abandoned :disappointed: Open issues and PR are more and more every time and tools like ionic and cordova are evolving
I hope my words are not being misinterpreted. I really thank all the great work and love this project

+1


Error in if (time_since < 50) { : missing value where TRUE/FALSE needed

Hi,
I was trying some basic R code mentioned in your readme page and I got the following error..
Error in if (time_since < 50) { : missing value where TRUE/FALSE needed
Is the Domo R package still valid and working?

Sorry my bad. For some reason there was some issue with the client_id and secret_key. I created a new one and it worked fine. Closing this issue.


A question for 3dAP and latency in PGD

I have a question for PGD (Probabilistic and Geometric Depth: Detecting
Objects in Perspective).
In paper you mentioned that the inference on 1080TI, the latency is 28ms (or 36 Hz), is quicker than SMOKE and MonoFlex, and AP (I Guess is AP11) in KITTI is 24.35 18.34 16.90 (easy, moderate, hard). So how to get that result ? (A result run in latency 28ms and AP at 24.35 18.34 16.90 )

The AP is actually "AP11" following the convention of previous methods at that time. Our released models can achieve this performance as the benchmark shows. As for the latency, we used some engineering tricks to improve the released version, such as keeping the frozen_stage=1 in the backbone and using only 3-level FPN to reduce the computational overhead during deployment. Some of these tricks may be considered to be released later.

The AP is actually "AP11" following the convention of previous methods at that time. Our released models can achieve this performance as the benchmark shows. As for the latency, we used some engineering tricks to improve the released version, such as keeping the frozen_stage=1 in the backbone and using only 3-level FPN to reduce the computational overhead during deployment. Some of these tricks may be considered to be released later.

Thank you for explanation.
Another question, maybe not for this repository. In 3d detection field, the two types of anchor-free method, the keypoint based method (SMOKE, MonoFlex, MonoPair, RTM3D) or the segmentation based method (PGD, FCOS3d), which one do you think is better ? (For precision and latency)
If not convenient for you, you may not answer me.
Thank you.

The classification of your listed papers is a little strange and inaccurate (PGD and FCOS3D are not segmentation-based methods). In general, you can consider SMOKE and FCOS3D as the basic data-driven works for monocular 3D detection, and others typically use monocular geometry (key points, pair-wise geometric relationship, perspective geometry constraints, etc.) to enhance the baseline frameworks.


"Restart Sketch" popup - unsaved data may be lost

Not sure if this ticket is for you or Sketch developers: after updating the plugin I got a popup with only "Restart" button (no "Close" or "Later" etc.). Too bad I turned off Autosave recently.

Hey Mariusz!
Your ticket is addressed correctly. I'll add the requested button in the next release. Sorry for the inconvenience. 😐
Cheers!

@willowbrae: So you can get the latest release where your problem should be solved.
But make sure that you have all your data saved before an installation because you should still get the old alert after. The new one will be applied only after a restart for future updates. 🤷🏽♀


Provide an Edge Function just to return results

there is only one edge function, which streams an answer back from OpenAI
Should we provide another which just returns a set of results (eg, "similar docs", not a ChatGPT-like answer)

Yes please!


cats/zios: reproduce interruption issues

The recent CI instability with the cats-effect tests is a symptom of a bug. I was expecting the interruption thunk provided to IO.async to be evaluated independently of the fiber yielding the execution to the scheduler but that's not the case. Additionally, interruptions from Kyo aren't being propagated to cats-effect.
This issue wasn't detected earlier because the tests copied from kyo-zio were incorrect. For ZIO, the interruption from ZIO to Kyo via the provided thunk to ZIO.asyncInterrupt is working properly but propagating interruptions from Kyo to ZIO is also not working.
This PR fixes the tests to show the issue.

Merging to solve the CI instability


Fix reading ssl key and cert from string.

The key option was not working, so I fixed it.
See http://erlang.org/doc/man/ssl.html for more info.
I also added a dummy key and cert to be able to add tests.

This is weird since I know I have cert/keys and it is working for me. What was the issue exactly?

Using the following config:
  pools: [
    test: [
      env: :dev,
      cert: File.read!(Path.expand("../priv/certs/debug-cert.pem", __DIR__)),
      key: File.read!(Path.expand("../priv/certs/debug-key.pem", __DIR__))
    ]
  ]

I get the following errror
failed to connect to push socket gateway.sandbox.push.apple.com:2195, reason given: {:options, {:key, <<48, 130, 4, 163, 2, 1, 0, 2, 130, 1, 1, 0, 187, 41, 238, 50, 232, 183, 200, 43, 221, 250, 33, 183, 161, 238, 123, 108, 161, 123, 229, 176, 172, 103, 174, 219, 145, 94, 133, 223, 124, 187, 194, 114, 41, 154, 96, 130, ...>>}}

The debug-cert.pem and debug-key.pem are generated as follow:
# debug.p12 is the exported APNS certificate containing the private key
openssl pkcs12 -in debug.p12 -out debug.pem -nodes -clcerts
openssl rsa -in debug.pem -out debug-key.pem
openssl x509 -in debug.pem -out debug-cert.pem

Here is how to reproduce in a clean iex session:
> Application.ensure_all_started(:ssl)
> [{:Certificate, cert_der, _}] = :public_key.pem_decode(File.read!("./debug-cert.pem"))
> [{:RSAPrivateKey, key_der, _}] = :public_key.pem_decode(File.read!("./debug-key.pem"))
> {:ok, socket} = :ssl.connect('gateway.sandbox.push.apple.com', 2195, cert: cert_der, key: key_der)
** (MatchError) no match of right hand side value: {:error, {:options, {:key, <<48, 130, 4, 163, 2, 1, 0, 2, 130, 1, 1, 0, 187, 41, 238, 50, 232, 183, 200, 43, 221, 250, 33, 183, 161, 238, 123, 108, 161, 123, 229, 176, 172, 103, 174, 219, 145, 94, 133, 223, 124, 187, 194, 114, 41, 154, 96, ...>>}}}
> {:ok, socket} = :ssl.connect('gateway.sandbox.push.apple.com', 2195, cert: cert_der, key: {:RSAPrivateKey, key_der})
{:ok,
 {:sslsocket, {:gen_tcp, #Port<0.2030>, :tls_connection, :undefined},
  #PID<0.82.0>}}
> :ssl.close(socket)
:ok

As you can see, the version with only a binary as :key option fails with a match error, which conforms to the  :ssl documentation. The version with RSAPrivateKey connects normally.
Now, in master branch, if I put a IO.inspect(opts) in APNS.Sender.connect_socket, which displays the options directly passed to :ssl.connect, I get the following:
[cert: <<48, 130, 5, 143, 48, 130, 4, 119, 160, 3, 2, 1, 2, 2, 8, 95, 226, 160, 49, 235, 143, 87, 207, 48
, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 5, 5, 0, 48, 129, 150, 49, 11, 48, 9, 6, 3, 85, 4, ...>>,
 key: <<48, 130, 4, 163, 2, 1, 0, 2, 130, 1, 1, 0, 187, 41, 238, 50, 232, 183, 200, 43, 221, 250, 33, 183
, 161, 238, 123, 108, 161, 123, 229, 176, 172, 103, 174, 219, 145, 94, 133, 223, 124, 187, 194, 114, 41,
154, 96, 130, ...>>,

so :key is a binary and therefore does not work.
Please let me know if I am missing something, thank you!

I don't get those messages.

Can you please try it with key/cert generated by Apple Dev Center?

If I use your keys in this branch

The certificate is not meant to really connect to APNS, it would be unsafe to add a real certificate to GitHub.
I added them to be able to test the ssl configuration, but it is a dummy certificate, so getting certificate unknown makes sense.

There are currently no tests for the cert and key options, which is why I think tests are working.

Can you please try it with key/cert generated by Apple Dev Center?

I did, and the master branch does not work with the cert and key options for me.
Could you please try the following steps please.

Add a valid .pem certificate as priv/certs/dev.pem

Run the following commands

openssl rsa -in priv/certs/dev.pem  -out priv/certs/dev-key.pem
openssl x509 -in priv/certs/dev.pem  -out priv/certs/dev-cert.pem

Change the config.exs file to look like this
# certfile: {:apns, "certs/dev.pem"},
cert: File.read!(Path.expand("../priv/certs/dev-cert.pem", __DIR__)),
key: File.read!(Path.expand("../priv/certs/dev-key.pem", __DIR__)),

Try to run iex -S mix and check the logs in both branches.

Using my branch, I got a successful log:
13:29:16.320 [debug] [APNS] #PID<0.290.0> successfully connected to gateway.sandbox.push.apple.com:2195

13:29:16.320 [debug] [APNS] #PID<0.290.0> successfully connected to socket

Using master branch, I got:
13:28:31.427 [warn]  [APNS] #PID<0.155.0> unable to connect to socket, backing off

13:28:31.427 [error] [APNS] #PID<0.156.0> failed to connect to push socket gateway.sandbox.push.apple.com
:2195, reason given: {:options, {:key, <<48, 130, 4, 163, 2, 1, 0, 2, 130, 1, 1, 0, 187, 41, 238, 50, 232
, 183, 200, 43, 221, 250, 33, 183, 161, 238, 123, 108, 161, 123, 229, 176, 172, 103, 174, 219, 145, 94, 1
33, 223, 124, 187, 194, 114, 41, 154, 96, 130, ...>>}}

Please let me know if you get the same result, or if I am missing something here.
Thank you!

current released version don't work for me as well. certfile is ok and key/cert is failing
@zepplock if it works for you, could you provide some code example?
i.e. how to generate keys, exact apns config

@thousandsofthem could you please try @tuvistavie fork and let me know if his change fixes it for you? If it does i will merge it.
I have a certificate and keys from Apple. Both .pem files with Base64 encoded data inside.

.pem files can be generated differently and have different format despite same extension.
apns4ex is asking for specific format for private key -
https://github.com/chvanikoff/apns4ex/blob/master/lib/apns/ssl_configuration.ex#L49

otherwise failing on this line.
@tuvistavie 's fork works for me (tried connecting and actually sending messages) while current master throws errors (certfile option works, cert/key is not)

Ok, will merge and update today. Thanks for help and sorry for a delay.

Thanks! :smile:

@zepplock Could you push the update to hex so that I can switch back to the hex dependency please?
Thanks :smile:

Actually I don't have right to push hex updates but I will ping @chvanikoff to do it.

Great, thank you!


Remain backwards compatible with X-OCTOBER-REQUEST-HANDLER

We just got this PR:
https://github.com/OFFLINE-GmbH/oc-mall-plugin/pull/764/files
I feel like it would be a better solution to keep Winter backwards compatible (look for the "old" and "new" headers) instead of updating all of the plugins that access this header directly.
What are your thoughts on that?

@tobias-kuendig yeah, this has been brought up in the Discord. The issue isn't your plugin, it's that we send an X-WINTER-REQUEST-HANDLER instead of an X-OCTOBER-REQUEST-HANDLER.
We can send both, I suppose, but we're trying to avoid the association and infringing on October's trademarks. The intention of those headers were to be "system" headers that weren't used directly by functionality.
 I'll also suggest something with that PR on the Mall plugin to at least remove one of the backwards-incompatibility issues.


Container: Azure AD is being renamed Microsoft Entra ID.

This is the container issue to list all doc's to rename Azure AD yo Microsoft Entra ID.
@Rick-Anderson  and @tdykstra  responsible docs

[x] #30186
[x] #30187
[x] #30190
[x] #30241
[x] #30200
[x] #30242
[x] #30244
[x] #30246
[x] #30245
[ ]

Blazor @guardrex

[x] #30194
[x] #30199

SignalR and gRPC  @wadepickett

Associated WorkItem - 153933

@wadepickett  you also need to update the tutorials you own, such as MongoDB and get them listed and updated.

On it, sorry I didn't see this, thanks.

Complete for my items, thanks.


Expand to support GAAP standard

What extension did we have in mind here?

My question is: is there anything that we are currently missing to implement e.g. a US-GAAP system? The only thing that we currently don't do is that we don't separately list other comprehensive income (that's income that by convention isn't shown on the P&L). But I wouldn't change that, because that's just a matter of how things are displayed. And there are a lot of things that should come first if we want to change how things are displayed: currently our balance sheet simply consists of all stock accounts and the P&L of all flow accounts. In practice, both would show a much more stylized picture, aggregating several accounts into one. I didn't include that on purpose because: a) it wouldn't have any impact on the results, b) it would make the syntax much more complicated and c) it's pretty irrelevant for the typically quite small and stylized accounting systems that you have in ABMs.
I'd suggest closing this issue, unless there is something specific that we want to add that I haven't thought of now.


do you test DWsiam in pysot?

do you test DWsiam in pysot of VOT2016  and VOT2018?
thanks

I'm having troubles understanding your question.
Did you mean have we tested the dwsiam on VOT2016 and VOT2018?

yes
------------------ 原始邮件 ------------------
发件人: "Zhiyuan<EMAIL_ADDRESS>发送时间: 2020年2月22日(星期六) 上午10:52
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [STVIR/pysot] do you test DWsiam in pysot? (#297)
I'm having troubles understanding your question.
Did you mean have we tested the dwsiam on VOT2016 and VOT2018?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

yes
…
------------------ 原始邮件 ------------------ 发件人: "Zhiyuan<EMAIL_ADDRESS>发送时间: 2020年2月22日(星期六) 上午10:52 收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [STVIR/pysot] do you test DWsiam in pysot? (#297) I'm having troubles understanding your question. Did you mean have we tested the dwsiam on VOT2016 and VOT2018? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

What do you mean by DWsiam?

If you couldn't find it in the README, that means no.


Remove extraneous config option.

This was left in during the previous PR: https://github.com/alphagov/ci-puppet/pull/439.

Merge when green.


Makefile: compile man.md with lowdown if possible

This patch compiles man.md with lowdown if lowdown is available,
otherwise we fall back to pandoc.

I would prefer to use a single tool for this. Every markdown processor has a few idiosyncrasies when performing conversion and I have tailored the man page markdown to pandoc's. I've intentionally included a copy of the compiled man page in the repo and added a dedicated target in the Makefie so you don't have to install haskell on your system if you want to build from source. If you want to make changes to the man page without installing pandoc on your system just submit a PR with the changes to man.md and I can run make man in the merge commit.

That's understandable, I'll close this PR.


Allow linsolv to have const args

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (20d439d) 76.51% compared to head (5121adb) 93.28%.

:exclamation: Current head 5121adb differs from pull request most recent head 5c4aed5. Consider uploading reports for the commit 5c4aed5 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1121       +/-   ##
===========================================
+ Coverage   76.51%   93.28%   +16.76%
===========================================
  Files          27        8       -19
  Lines        9400      253     -9147
===========================================
- Hits         7192      236     -6956
+ Misses       2208       17     -2191

see 19 files with indirect coverage changes

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