Improve help menu

Hey @rlxone
Going through Equinox, the help menu felt empty so I looked at what other apps are doing. Help menus seem to mainly contain links to the web or Apple macOS help books (which seem outdated). So I rounded up a first batch of interesting links and added them to the helpMenu

What do you think ? Would you add/remove anything ?
If we go ahead with this I'll update the FR localization in this branch once we've finalized the help menu.
This is also great in helping me to get a first understanding of how AppKit works.
Regards

Hey @W1W1-M
Thank you for the contribution! It makes sense, help menu was pretty empty.

To get the right expectations.
I'll merge your PR as one of the v1.1 latest features.
If you'd like to start working on something you're not sure about, you could open an enhancement issue, and we'll discuss on how it can potentially look like.

To get the right expectations.
I'll merge your PR as one of the v1.1 latest features.

Ok, I've done everything that seemed necessary for the moment.

If you'd like to start working on something you're not sure about, you could open an enhancement issue, and we'll discuss on how it can potentially look like.

Yep, will do. This one was sort of self evident, but I'll definitely se issues for futur enhancements.


WIP: Canonicalize newlines for text messages

This is a POC to canonicalize newlines in all messages that are not binary

Moved to gopenpgp: too many improper uses of this flag downstream would be broken by this PR.
See: https://github.com/ProtonMail/gopenpgp/pull/86


[Feature Request] Jetbrain compose support

Any plans on supporting multiplatform with jb compose for desktop app?  🥰

I will consider that once jb compose hits beta.

(According to the names of the of their releases they have hit beta and even RC :))

This will be my next priority after #19

Any news?)

I plan to start working on it in a few weeks.

I just found this project and it looks like exactly what I need. My app targets both desktop and android though. Is there any ETA for this?
Seems like Jetbrains plans to make KMM stable by the end of the year

As I don't have much experience in KMM right now, my initial attempt to make this library a KMM project was a bit too much.
It might be easier to just make it work for desktop, publish a new artifact like mapcompose-desktop, and then figure out a way to unify desktop and android code base under the same project.
In any case, I would love to see this library work on desktop. It's just not my priority right now. Any contributions for the desktop evolution are welcome.

@wefhy Some time ago I was need multiplatform map. So I created one. https://github.com/Lewik/mapview It's a bit outdated, but demos (main.kt files) should work. If it interesting, I can update it. We used it in desktop and android. If you have any questions - feel free to text me, I'll help.

Thanks for the update!
I was able to port the project to desktop compose yesterday: https://github.com/krzysztofsroga/MapComposeDesktop
It's not perfect, dp conversions are done with just an arbitrary number(so clusters and markers are not displayed properly) . But it required only a couple of changes to display the map correctly on desktop.
So to be honest we just need some gradle magician to merge these two projects together. In theory both Compose Desktop and Android Canvas use Skia under the hood so the changes are minimal and could probably be solved with expect/actual.
But it might be better to wait a couple months until compose desktop is stable? Maybe then they'll have some proper android/desktop project support.
PS if I messed something up with licensing, please let me know, I'm not an expert in this.

@krzysztofsroga That's amazing news! I'll have a look. You're right, ideally desktop and Android should be under the same project. However, having a working desktop version is a major step.

This commit contains all the changes that were required to make it compile for desktop (commits before were just copying the files and correcting package names)
https://github.com/krzysztofsroga/MapComposeDesktop/commit/dcfbe77f839f7d36851dc7a19fbd18bde2b0a7ee
Honestly it's just a proof of concept, as much as I could do in a limited amount of time. I left like two TODO items (mainly dp conversion and something with drawing patches). I didn't check whether it all works good, just that it displays the map and lets me move it. But it generally wasn't much work.
I won't have much time for the next two-three weeks, but after that I can work on fixing any issues that might be there and maybe trying to merge these two into one project. I'd just need to learn a little about how gradle work and make sure both can use the same file structure.

Based on a coarse reading, I made a couple of comments. So that's really interesting. It shows the differences between the two platforms. So I guess the next step it to make it work properly on desktop, and then take a step back and see how the two projects can be merged.
@krzysztofsroga No worries if you can continue in 2-3 weeks. Thanks!

I added some small changes.
Looks like dpToPx needs to be initialized
The way I added it might not be pretty, but it changes every time the window is moved between my screens (2f for big screen, 1f for small screen for me). And looks like it recomposes properly which is nice. On android dpi configuration changes are much less common.
Clusters are still a little glitchy when zoomed in or when scrolled to right or bottom edge but now they seem to display equally decent on both screens.

Hmm.. tile size does not depend on dpi. If I had to guess, I would say the gap between tiles has something to do with the changes on tile positioning (the comment I made about the state). Anyway, we'll see. This is really nice for a proof of concept ;)

Hey guys, I hate to ask this question to open source devs... is this still somewhat of a priority?
I am currently choosing my stack for compose multi-platform and I am desperately trying to avoid G&A-Maps.
Thanks for your awesome work!

I made this library mostly because I'm using it on Android. Right now, I don't have time to make it multiplatform.
That may change in the future. Meanwhile, I'm relying on open source contributors for this.

I was searching for compose library to use for openstreet map tile and i stumbled onto your library which seems promising and nice.Please update it for kotlin multiplatform, compose multiplatform. The usecase might be huge for those who dont want to use google or apple map.Thank you for your contribution and really apreciate it.

@prabinshrestha Yes. Actually, I'd like to make an ios version. However, Compose for ios is still in alpha. Updating it for compose multiplatform might be a better start as it would require most necessary structural changes.

Would love to see this for compose multiplatform. I started a new repo and started to change the code from of @krzysztofsroga in the repo MapComposeDesktop to make it work for multiplatform, but am not finished yet and couldn't test the changes by now. For me it is more of a learning opportunity, because I am relatively new to kotlin, especially to coroutines. If it helps, I can share my repo with the changes by now.

I believe making it work for Compose desktop is the first step (and hard enough).
Only then, desktop and Android platforms could be fused in one code base.
If you manage to make it work consistently for desktop, that would be great. Good luck!

I added some small changes. Looks like dpToPx needs to be initialized The way I added it might not be pretty, but it changes every time the window is moved between my screens (1f for big screen, 2f for small screen for me). And looks like it recomposes properly which is nice. On android dpi configuration changes are much less common. Clusters are still a little glitchy when zoomed in or when scrolled to right or bottom edge but now they seem to display equally decent on both screens.
One time after moving the window back and forth I got this though:  So I guess dpi needs to be updated deeper in the code
Well, yeah, I'll look into this when I have free time. See you until then. For a proof of concept I'm satisfied for now 😅

@krzysztofsroga I faced the same issue when porting mapcompose to multiplatform by using your code as starting point. by changing drawImage to drawImageRect inside TileCanvas, I could fix this issue.
I now have a working map for iOS, desktop and android. Next step for me is to port all the demos of mapcompose.

@rkreienbuehl Could you please share your for of MapCompose? (even it's still in WIP) I'd like to start looking at the changes and think about what to do next.

@p-lr I copied the files and made a complete new Repo by using the https://kmp.jetbrains.com. The repo is available at https://github.com/rkreienbuehl/MapComposeKMP.
Biggest changes are:

TileStreamProvider's getTileStream returns ByteArray? (InputStream is not possible in multiplatform, maybe there is a better solution for this?)
instead of Bitmap the BitmapForLayer stores ByteArray (skia Bitmap ans android Bitmap aren't compatible as types, maybe theres an other way to deal with this, seemed the easiest for me at the moment)
UUID's are changed to be type String
TileCanvas is implemented separately for each platform by using code from MapComposeDesktop and fixing the display error mentioned (maybe could be more unified in common code)

With these changes there is very little code that had to be written per platform. The iOS demo app works, but you have to change TEAM_ID inside demo/iosApp/Configuration/Config.xcconfig. the iOS and desktop apps only contain the OSM example by now.
I started porting the demo app, hope to finish this on saturday.

@rkreienbuehl This is huge! Honestly, I thought making the KMP version would require more structural changes.
You should know, the library has changed since the fork MapComposeDesktop. Consequently, recent changes will have to be back-ported. For example, the file Pool.kt has been replaced by BitmapPool.kt.
You probably shouldn't worry about that right now, and continue your work on the demo app. I will take care of that.
My plan is to make a kmp branch, an start from your work. Of course, it should be done fairly so that your contributions will be clearly visible in git history. We'll talk about those details later. I've created a separate discussion, it will be useful for the next steps.
Finally, thank you very much for what you're doing.

@p-lr I saw that the code of MapComposeDesktop was not updated for a year, so I started with your code from commit 4235d0c34752d2845e0da1644b9addbccd156be3 and took the changes from MapComposeDesktop as a little help. So there are only the changes of the last 5 commits missing.

@rkreienbuehl Alright. I answered here.

Work is underway : https://github.com/p-lr/MapComposeMP
This is promising! 🎉

MapCompose Multiplatform is officially released.

Great news, thanks for the work of the past days.


3 - feat: add chroma-js library

[x] Add Chroma.js library for colour validation
[ ] Use chroma to ensure that same colour is converted across 3 formats

Resolved in: https://github.com/utk09-NCL/color-palette-generator/pull/10


select single date in single click In date range picker

I am using date range picker. If the customer is selecting single date (starting) instead of date range I want that date to be selected in single click mean clicking outside. Now  I have to make double click on same date like end date selector. Is it possible ?

I'd also like too see this optimization. My current workaround looks like this:
function flatpickr_single_date_in_range(instance)
{
	if ((instance.config.mode == 'range') && (instance.selectedDates.length == 1))
	{
		instance.setDate([instance.selectedDates[0], instance.selectedDates[0]]);
	}
};

$input.flatpickr(
{
	onReady: function()
	{
		flatpickr_single_date_in_range(this);

		/* ... */
	},
	onClose: function()
	{
		flatpickr_single_date_in_range(this);
	}
});

Easy to use open ended ranges are much needed.
So many use cases,
Find all orders from and to
Find all orders before...
find all orders after...

Those features would indeed be very interesting, altough they might break the scope of a "lightweight javascript datetimepicker". Maybe it could be implemented as an optional plugin, though.

@m-blank A plugin would be great, or an adaptation of the existing range plugin.


Prevent users from renaming people to another person

Phase I:
Prevent anyone besides Admins of changing an advisor name. When editing a Person, the name field for adivisors should apprear as an editable widget only to admins
Phase II:
Implement the following:

Next to the non-editable name field, display a "This is not me" (when user is editing him/herself) or "This is not {user.name}" (when a superuser is editing an advisor) button.

In the case of  "This is not me", when clicked on that button, the user should be presented with the following message and choices:

"It is possible that the information of user {user.name} is out of date. Please help us identify if any of the following is the case: "

"User {user.name} has left this position and is replaced by me. I need to set up a new account"
"User {user.name} has left this position and is replaced by me. I already have an account"
"User {user.name} is still active, but this should be my account"
"I am {user.name}, by my name is misspelled"
"Something else is wrong"

When the user clicks on i, and after another confirmation, the current user's domain name should get reset, he should be removed from that position, and the user should be directed towards onboarding (and possibly associated with the position). In all other cases, an admin should be emailed.
In the case of  "This is not  {user.name}", when clicked on that button, the superuser should be presented with the following message and choices:

"It is possible that the information of user {user.name} is out of date. Please help us identify if any of the following is the case: "

"User {user.name} has left this position and the position is vacant"
"User {user.name} has left this position and he has a replacement"
"I am {user.name}, by my name is misspelled"
"Something else is wrong"

When the superuser clicks on i or ii, and after another confirmation, the user's domain name should get reset. In all other cases, an admin should be emailed.

@dspCarlson For the two different cases, would the following interactions work, i.e. are the options phrased clearly enough?

"this is not me"

"this is not {LASTNAME, Firstname}"

@gjvoosten I have a question on the line below:
iii. "User {user.name} is still active, but this should be my account"
What does "still active" mean?  Does that mean the person is still working in theater, but has another job/position in theater?  If so, I would say:
"User {user.name} is still in theater but no longer uses this Windows logon.  I have assumed the Windows logon."
Role-based domain users refer to having taken over their predecessors Windows login.  The message will also work with name-based domain users too.  It should be clear to name-based domain users that they haven't assumed the other persons logon.

@gjvoosten
i. "User {user.name} has left and is replaced by me.  I need to set up a new account"
I would suggest:
i. "User {user.name} has left theater, is no longer advising and is replaced by me. I need to set up a new account"
There are different interpretations of what "left" means.  Has the person left their former advisor position and assumed another advisor position?  Has the person left that location and gone to another location.  Has the person left the theater.  (Actually I believe it is spelled theatre.)

@gjvoosten
ii. "User {user.name} has left and is replaced by me. I already have an account."
I would suggest:
i. "User {user.name} has left theater, is no longer advising and is replaced by me. I already have an account."

Implemented, email actions to be added in #367


Account for jdkxxu in job regenerators

Also updates RELEASING doc with info about update repos and what needs to be done should the switch to an update repo be necessary
Closes: #1613
Signed-off-by: Morgan Davies<EMAIL_ADDRESS>

Job regenerator testing is underway in a alpha generator I setup. @karianna @lumpfish Can I get your reviews on the documentation update to RELEASING.md?

Update to RELEASING.md looks great, assuming it's all correct (I've not actually done those things myself to be able to confirm their correctness).


[AUTO] Update data

Brief description
This is an automatically generated PR.
The following steps are all automatically performed:

Fetch raw data from bullfrog managment app
Summarise data per fyke, per manangement event & prepare data for dwc mapping

the catch per fyke & per manangement event summaries are saved in ./interim/
the data for the dwc mapping is saved in ./output/

Get an overview of the changes

Note to the reviewer: the workflow automation is still in a development phase. Please, check the output thoroughly before merging to main. In case, improve the data fecthing  data_cleaning_afvangsten.Rmd, in  ./script/ or  the GitHub workflows  fetch-data.yaml in ./.github/workflows.

no new data


Make lexer (and parser maybe) a separate project?

I think LSP is a neat idea and has lots of potential.
In addition, it would be awesome if we can separate the project to one that is dedicated only for lexer (and parser if it's needed for LSP) so that we can generate native codes for them.
We can probably use the native codes in the main project as well to speed up lexical analysis/parsing time, and this also will benefit us by having a single point of concern to maintain

That is how I see it, however, since this project and implementation of TriggerReactor syntax parser that is written with Rust(or TypeScript) will take a long-term time.
I assume that would be good to move the lexer implementation to a different repository first.

Related to https://github.com/TriggerReactor/TriggerReactor/pull/525#issuecomment-1280705893

@Sayakie
Btw, I would highly likely want to participate in this project if you don't mind
It is definitely an awesome opportunity for me to learn a new tech stack (Rust)
And making it usable in both project will be an another challenge haha
Though, 'flying dutchman need a captain,' and I think you'd be a great leader on this project. Let me know if you have some project plan

Yeah, I'd be happy than you hear from. Feel free to contribute lsp and child repositories.
I'm also learning Rust so it's great for me to co-work this!
No plans in progress yet, but I will have to do on some testable implementation would be released.

Yeah, I'd be happy than you hear from. Feel free to contribute lsp and child repositories.
I'm also learning Rust so it's great for me to co-work this!
No plans in progress yet, but I will have to do on some testable implementation would be released.

Sounds good! Though, we will really need some kind of project management to not step on each other's work. Something similar to the project board in TriggerReactor, but not necessarily has to be that.
I'd expect you to take on the lead?
This one might be one solution: https://github.com/orgs/TriggerReactor/projects/2
Never tried it yet seems to be pretty solid

LGTM! Or we can make a big project board which should integrate all of side-projects. Visit Sapphire Project Board for example.

@wysohn, I added some views that are awesome tables to track our backlog, opened issues, and pull requests for us on our project board.
We have to migrate legacy projects (like v3.4.3) to milestones that fit our project board.

@wysohn, I added some views that are awesome tables to track our backlog, opened issues, and pull requests for us on our project board.
We have to migrate legacy projects (like v3.4.3) to milestones that fit our project board.

Oh this is really awesome
Do you mind having some basic setups, so I can follow?

Do you mind having some basic setups, so I can follow?

Yeah I'll do whenever have enough time.


SCModelDownloader causes UtilHTTPClient error

Hello. Since version v20241130c, svencoop closes with the following error:

I have tried everything, but the issue persists.
EDIT: Please my other comment here, the issue was the SCModelDownloader plugin.

try reinstall latest build from scripts\install-to-SvenCoop.bat

Ok, did as instructed, and I got the same error again. Is there a log I can to upload to help debug?

The error message Could not get UtilHTTPClient from UtilHTTPClient_SteamAPI.dll only occurs when you have an out-of-date UtilHTTPClient_SteamAPI.dll somewhere in your game directory.

Followed your suggestion, I deleted the outdated UtilHTTPClient_SteamAPI.dll from both the svencoop\metahook\dlls folder and from the root Sven Coop folder. Having already replaced the file on the DLLS folder, I also placed the more updated one on the root folder, it works now. Thank you for your support.


[QSRlib] Implement user custom config file

As described in this comment. The ability to pass QSR arguments using a user defined config file.

My idea for this would be that there is one "default" ini file where appropriate QSRs will read from their sections their ini settings. Something like:
[rcc3]
some_setting_1 = 2.3
some_setting_2 = 3.4

[qtcab]
quantization_factor = 1.1

This can be overwritten on the request/constructor by passing a user defined path/filename ini file. The example client could the run as:
example_ros_client qtcab --ini /home/foo/my_qtcab_settings.ini

@pet1330 @cdondrup Thoughts? As it will most certainly require changing somethings in the QSRs themselves I would think.

Sounds good, I think the ability to set parameters per request should be kept and that if parameters are set, then they should be used over the ones defined in the config file.
Also would it be worth defining a return type at the bottom? Allowing people to request the relations as a string, dictionary , list, etc...

Sounds good. I will still mainly use dynamic parameters, to be able to change them at run time but having default ones sounds great. Regarding the return type, let's stick with strings and leave it to the client to parse them into the format they need. If you change them using a config file, not all client programmes might be aware and will therefore fail because they expect a different type. I would be careful with something like that.

I think that both cases are possible (initialise from file and pass/change at runtime via the request).
With respect to the return type, my thoughts were what Christian described above. Both developers and users will expect a particular type and anything else will create problems. There might be functions provided that change the type but I am not really keen on promoting them. In fact I would probably even leave it totally to the client side as if this happens then it means that is an exception and they will know better what format is needed.

see #49

closed by #49


[Identity] Add MsiCredential implementation to @azure/identity

This change adds an MsiCredential implementation of TokenCredential which can authenticate against Azure AD using a managed service identity configured for the deployment environment.  I tested that I was able to retrieve a token from the MSI endpoint in a VM that I created in Azure.
I'll rebase this PR on top of #3681 after it gets merged.
/cc @AlexGhiondea

Just realized I need to name the class ManagedIdentityCredential, I'll make that change shortly.

:metal:


[WIP] KGL-Math

Kotlinic reimplementation of GLM types for use in graphics calculations.
Notable differences:

Class names are descriptive (vec4 -> FloatVector4)
Separate mutable and immutable classes for each type (FloatVector4/MutableFloatVector4)

TODO: Implement features from GLM API:

[ ] Core features

[ ] Common functions (check kotlin.math)
[ ] Exponential functions (check `kotlin.math)
[ ] Geometric functions
[ ] Vector types

[ ] Signed Integral (Byte, Short, Int, Long)
[ ] Unsigned Integral (UByte, UShort, UInt, ULong)
[x] Floating Point (Float, Double)
[ ] Boolean?

[ ] Vector Types with precision qualifiers?
[ ] Matrix types

[ ] Signed Integral (Byte, Short, Int, Long)
[ ] Unsigned Integral (UByte, UShort, UInt, ULong)
[ ] Floating Point (Float, Double)
[ ] Boolean?

[ ] Matrix types with precision qualifiers?
[ ] Integer Functions?
[ ] Matrix Functions
[ ] Floating-Point Pack and Unpack functions?
[ ] Angle and trigonometry functions (check kotlin.math)
[ ] Vector relational functions

[ ] Stable extensions?
[ ] Recommended extensions?
[ ] Experimental extensions?

Should there be in-place-modifying variants of abs, clamp, etc for Mutable Vector types? Intentionally creating a function with side-effects like that feels dirty, but it might be important? Perhaps implemented as extensions?

I think there should be. Definitely as extension functions. Naming will be difficult for some of them. Like abs.

The naming is going to be very diifficult, or ugly, depending on whether we insist on nice names, or we use a name like absAssign (🙁). Then, if we have extension functions for mutable types, there should be corresponding extension functions for the immutable types (ie, abs and the like should not be implemented as top-level functions for Vector and Matrix types). Thanks for the input.

Actually, what is abs? Is it component-wise abs? If so, I like the idea of <name>Assign for strictly component-wise operations and <name>ed for otherwise.

Ooh, add quaternions to the list.

abs, ceil, etc are component-wise, yes.
quaternions are part of the recommended extensions (GTC) in GLM. I'll be getting to those. 👍

Do we need a BooleanVector?

I already think non-floating point vectors are pushing it a bit. So I'm gonna say no.

Works for me. I don't see a use for them either, but could be added later if someone presents a usecase.

Actually, what is abs? Is it component-wise abs? If so, I like the idea of <name>Assign for strictly component-wise operations and <name>ed for otherwise.

So in implementing this a question came up: should abs, ceil, etc be treated like plus, minus, etc (immutable op, mutable opAssign), or like normalize (immutable oped, mutable op)?
Both the arithmetic operators and the normalize function are component-wise.
I'm leaning towards the latter, both because the parameter/return pattern matches normalize more than plus, and because absAssign looks bad.

By component-wise, I mean you can run the operation on each component independently of other components. normalize requires the other components to calculate length.

Got it 👌

I found the use case for Boolean vectors: The vector relational functions (glm::lessThan, glm::greaterThan, ...) return boolean vector types containing the result of component-wise  comparisons. These are then used in some of the common functions as parameters

Just add pull_request to this list, to enable CI. I don't want to make you rebase.

The CI pushes the compilation to bintray. Is that something you want to do for pull requests?

What do you think the best way to handle unit tests would be? I feel like codegen would be good for avoiding repetition, but that seems hacky...

I think the unit tests should be written by hand but only for one of the vector types. We'll assume the rest work for now.
CI won't publish unless the commit is tagged. (GitHub also doesn't make the publishing tokens available in PRs so it wouldn't work anyway.)
Although, I should separate the workflows anyway.

So I now have basic implementations for the three common vector types and a 4 by 4 matrix, which is enough for view transforms. Still missing are a toMutable... function for all the types, and a corresponding to... function which would replace the copy function that some types currently have.
The tests are in place for all functions. The CI failed because it couldn't download stb in on of the runs, for some reason.

It occasionally happens (Might be worth throwing in some retry logic in there at some point). I've restarted the build, so it should work fine now.

I've shortened type names to only distinguishing information. Shortening Vector to Vec and Matrix to Mat are common enough, and types other than Float are not necessary for a basic math implementation. At this point, the API is ready to use, although I still have to figure out what to do with Quaternions. 3D rotation is currently supported via rotation matrices.

Ah. I'm just seeing this comment now for some reason. It does seem more productive to contribute to the glm project. It will probably end up being a top down rewrite as we shove Kotlin in and pull C out of it.
I'm not able to properly contribute to it right now, my focus on gamedev has drifted elsewhere, but I can review where possible.
I'll probably merge this into a math branch and publish it with a different version suffix. Like 0.1.9-math-alpha-funky-thoughtful-name.

In that case I'm gonna say this PR is no longer WIP. Let me know if you need me to change anything about the PR so it can be pulled into the correct branch.


Adding file version using Nerdbank.GitVersioning

I spent a few minutes quickly doing this. Should I continue down this route? Thoughts? I'm not set on this particular solution, but I do want auto-increasing versions and I want the commit id in the file somewhere.
@AArnott does this work in .NET Core? Or do you have plans to?
Only code change was switching ProductVersion to FileVersion as the former caused an MSBuild crash using the Version class since it's something like 15.1.0+g1a4c5a01a8. A test project also defined ThisAssembly, but it wasn't used so I deleted it.

The changes look good. NBGV does not yet work on CoreCLR because it depends on libgit2sharp, which isn't yet CoreCLR compliant. I'm working through that and am mostly done though.

In triage yesterday we made the call to commit this. This is better than what we have in master currently (nothing) and will hopefully be a solution we can adopt in xplat as well when it comes to .NET Core.

To summarize my concerns:

Since we're locked to a Major.Minor by being part of the VS release cycle, this will only control the third version part, which makes for problems if we need to ship a hotfix (say for VS "15" RTM) after we've already produced a build for the next update. We talked about mitigating this by changing the minor version number after each release, while keeping the .NET Assembly version the same throughout. But then we've got multiple different versions embedded in the same file.
I'm generally leery of commit-height approaches since they're an attempt to linearize a graph.

That said, let's give it a shot. LGTM.

@AndyGerlicher said:

In triage yesterday we made the call to commit this.

yay!
@rainersigwald said:

Since we're locked to a Major.Minor by being part of the VS release cycle, this will only control the third version part, which makes for problems if we need to ship a hotfix (say for VS "15" RTM) after we've already produced a build for the next update. We talked about mitigating this by changing the minor version number after each release, while keeping the .NET Assembly version the same throughout. But then we've got multiple different versions embedded in the same file.

I would agree with incrementing the major.minor version after each significant release (major release or Update). This leaves the 3rd version integer allocated for representing servicing of those releases and this automatically increments. In other words, major.minor is your marketed version, and the 3rd component is the technical version within that major.minor release.
NerdBank.GitVersioning's default policy is that only the major.minor components of the version make it into the AssemblyVersion. The AssemblyFileVersion contains the more precise version. You can override this to make AssemblyVersion more precise if you want (which is what corefx does) or you can make AssemblyVersion something else entirely independent of AssemblyFileVersion. All these settings are available in the version.json file.

I'm generally leery of commit-height approaches since they're an attempt to linearize a graph.

Agreed. The 4th version component is an integer representation of the first two bytes of the git commit ID, which further distinguishes versions since as you say, source history isn't strictly linear. Obviously the git commit ID itself is seemingly random, so the fourth component isn't useful for sorting purposes, but it does allow you to tie it back to a specific git commit if you ever needed to (which I've found to be quite useful at times).
Personally, I consider the linearity of history to be important for releases. So while product development is not linear, releases are. So you ship 14.0, 14.1, 14.2, etc. At each of these, git height (the 3rd version component) is irrelevant because the minor number increments. If you go back and service a prior release, you service it at the tip of one of these major.minor releases' branches. So you have a master or dev branch, where most feature work happens. You also have a 14.0 branch, and a 14.1 branch, etc. You create these when you're stabilizing for your release. You tag your official release with "v14.0.{githeight}". Then if you service your 14.0 release you tag it again: "v14.0.{githeight}" where the height is larger than before. History is linear for each release branch and the 3rd version component will ensure you recognize the latest release from something newer.

MSBuild's biggest issue with changing AssemblyVersion is that there are Task assemblies compiled against us. Changing assembly version means that we need to update the binding redirects that ensure we load the right version in both msbuild.exe and VS, and increase the possibility that someone will distribute a task assembly compiled against a higher version of our assemblies than they really need (especially since the task interface is pretty darn stable at this point).
Those difficulties led to the idea of leaving AssemblyVersion alone per VS release, but having the other attributes increment in the way @AArnott describes so we can have both semi-sane versioning + a stable AssemblyVersion.
I don't have a great read on how bad just bumping AssemblyVersion for update releases would be, though. A lot of concerns might be alleviated if we just publish a 14.0 NuGet package and gently convince everyone to start using that to build their tasks. We even have a stick to go with such a thing: since we won't be in the GAC for version 15, a simple <Reference Include="Microsoft.Build.Framework" /> will stop working on a dev15-only system.


Use of GPL license incompatible with Apache 2.0 license

Hi,
Thanks very much for your plugin, I've been playing with it for some time (I submitted a minor bug fix a while back) and it has been very useful in adding a feature that is clearly missing from Phabricator currently. I have noticed that you attached the GPL license to it and this has introduced an issue for me.
I'm building something open source that deploys Phabricator as part of a toolset, and I would very much like to include this extension, or possibly the Wikimedia one that forked from it as many development projects are sprint based, something that Phabricator doesn't properly account for.
The problem I've got is that I will be looking to use the Apache 2.0 license, the same one that Phabricator itself uses. Unfortunately the GPL license is non-compatible with the Apache 2.0 license due to the strong copyleft nature of it.
I was wondering whether you might consider a license change, dual licensing or perhaps continuing with the GPL, however with the introduction of an open source exclusion to enable the use of the extension with other open source licenses currently incompatible but still preventing the use of it within closed source software?
Many Thanks for sharing your work with others like myself.
Carl

I don't know if you've seen this but have you had a chance to consider this request? I'm happy to discuss this further, provide more details if you are unsure or unclear.
Many Thanks
Carl

Sorry for the delay in getting back to you.
I've changed the license to Apache 2.0.

No problem and many thanks, much appreciated!


[SP-5512] - Backport of PDI-18608 to 9.0

:white_check_mark: Build finished in 3m 31s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
plugins/file-open-save-new/core

:ok_hand: All tests passed!
Tests run: 15, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Add allowed Stargate query: distribution DelegationRewards

I believe it will be beneficial to Juno to add another allowed Stargate query.
See this query that we're talking about:
https://github.com/cosmos/cosmos-sdk/blob/v0.45.15/proto/cosmos/distribution/v1beta1/query.proto#L37-L41
With this addition, we'll see more programmatic claiming and staking of native tokens. Actually, this Twitter thread details how we can actually just delegate instead of the two-step claim-and-delegate flow we're accustomed to:
https://twitter.com/larry0x/status/1621959355221348352
I believe exposing this query doesn't introduce security concerns, and will help delegation UX if we do.
An example
As an example, check this out… Here's my account with native balance and some tokens that need to be claimed.

Then (without claiming) I sent a delegate command for 31 JUNO, which can only succeed if both values are combined.
junod tx staking delegate junovaloper1gp957czryfgyvxwn3tfnyy2f0t9g2p4pvzc6k3 31000000ujuno --from mikereg -y | jq
https://www.mintscan.io/juno/txs/454F89DDB856E5A7C68E91D7D72884C243012F1FB46B440ECEFDE234342E2EBF
I was expecting that we'd be able to ascertain how many tokens are available to claim using Stargate queries under cosmos.staking.…, which are on the safe Stargate list, but the only query I'm seeing that can get this is the one I've added in this PR from cosmos.distribution.….
If we add this Stargate query, then CosmWasm contracts can leverage authz, and efficiently redelegate in a single transaction instead of claiming and delegating, which isn't necessary. I have more ideas but will 🤐 and keep it at that.
❤
Shoutout to Reece, who has the sole search result providing a great template for this:

@mikedotexe I am all for getting more stargate queries in Thanks!
This actually has a standard query as well for a production ready solution now:
  use cosmwasm_std::{DelegationResponse, StakingQuery};

    let response: DelegationResponse = deps.querier.query(
        &StakingQuery::Delegation {
            delegator: env.contract.address.into_string(),
            validator: src_validator.clone(),
        }
        .into(),
    )?;

We should probably just add a bunch / all the base cosmos messages Stargate queries soon

This actually has a standard query as well for a production ready solution now:

Wow, thanks, I looked at protobufs for a while and missed this 🙏🏼
Particularly the pub accumulated_rewards: Vec<Coin>, from FullDelegation is what I'm looking for

Thank you very much Mike


Re-investigate on zeroconf / mDNS

Currently, the device chooses one IP address based on the chip ID in the flash memory (if no IP has been stored in the config) and provides another IP in the same subnet to the host machine via DHCP.
This might be easier using AutoIP/APIPA provided by the lwIP stack: https://www.nongnu.org/lwip/2_0_x/group__autoip.html. We just need to make sure that all host OSes we want to support don't treat network connections as non-functional if their DHCP requests go unanswered.
Zeroconf is the name of the technology / processes ifself. Apple Bonjour and Avahi are two widely-known implementations.
Also, usbsun should at least advertise some kind of hostname and the services it provides via mDNS (also already supported by lwIP).

I didn't realise the mDNS bit and the standalone IP bit were both part of the same standard!
I think Zeroconf has pretty wide OS support now, although Windows may flag the network as no Internet access.

Well, it's not necessarily. Sorry if I made that impression. Standalone IPv4 is in https://datatracker.ietf.org/doc/html/rfc3927, mDNS is in https://datatracker.ietf.org/doc/html/rfc6762 and https://datatracker.ietf.org/doc/html/rfc7558
The lwIP usually assumes you are using their AutoIP-feature when you activate their mDNS-feature but at least according to their docs, it's not a must:
MDNS with IPv4 requires LWIP_IGMP = 1, and preferably LWIP_AUTOIP = 1. (https://www.nongnu.org/lwip/2_0_x/group__mdns.html). IGMP is already in use for E1.31 multicast to work.
So while I'm still not sure about AutoIP, mDNS makes sense in any case.
And about Windows flagging the network as "No Internet access": That shouldn't be a problem since this is just the truth.


chore: migrate obsolete workflow set-output to environment files

More info: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

👍🏻


[BUG] iOS broken layout

Describe the bug
I have a broken layout in iOS device
To Reproduce
just tap on plugin button
Expected behavior
Layout close to fullscreen
Screenshots
Look at the attouchment
Versions (please complete the following information):

OS: iOS 16.5
Obsidian version: 1.4.6 (105)
Plugin version: 1.10.1
iPhone 13 Pro

Additional context
Plugin works fine on MacOS and Android

Have you updated the height and width settings?

Thank you, it helped


wrapper for error raise

Coverage increased (+0.7%) to 28.38% when pulling fae864190af9d6c0c7448f0734d4aed01f57243c on yarsanich:a343889356679268_raise_errors_valdiators into e84126dab75ba7118b37d9ab86a28a0267fb19f8 on prozorro-sale:master.


Boredcoco patch 1

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (6922bd4) compared to base (1700917).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #41   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Use directly onecc instead of one-cmd

Let's use directly onecc instead of one-cmd to resolve #318.
ONE-vscode-DCO-1.0-Signed-off-by: Yongseop Kim<EMAIL_ADDRESS>

IHMO, I know this looks huge but this is inevitable because of change of tool.

PTAL @Samsung/one-vscode


Chart loading takes 1 minute

Rancher Server Setup

Rancher version: 2.6.2
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.21.6+rke2r1
Cluster Type (Local/Downstream):  Custom

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

Describe the bug

Enter any chart page, it takes at least 1 minute to load successfully
To Reproduce

Navigate to EXPLORE CLUSTER -> Apps&Marketplace -> Charts
Click any chart

Result
It takes about a minute to load out the detailed information of the chart
Expected Result

Screenshots

Additional context

@kingsd041 v2.6.3 works fine for me. Could you please check this again?

Wow, got a way to reproduce. This issue can be only seen in the airgap setup.
Since Icon files are loaded in batches on the chart list page, many of them need to be downloaded remotely. Rancher will forward these http requests to the Icon URl defined in the chart, and the request timeout is 30s. Before these requests are completed, the browser can no longer process new tasks.


Can't generate only schema without queries

What do you want to change?
Context:

Techstack I'm used:

go version go1.21.6 linux/amd64
kjconroy/sqlc:latest image
config yaml file: v2

I want to replace generated queries generated and query.go file
I'd do somethings like:

remove field queries
=> I got a error: error parsing queries: no queries contained in paths
write query but not using it
=> work, but exists query.go file generated? this way is so stupid LOL

My expectation:

If ignore field  queries in yaml file, sqlc'll only generate schema to struct

What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go

Hello I was looking for something similar as well (just generate models.go). I can help with the implementation if needed!


how i can create new automation?

i want to create a new automation but is not work.
the message is not send
You can get an example for building automation

Here one of my automations as an example:
alias: Neustart per WhatsApp melden
description: ""
trigger:
  - platform: homeassistant
    event: start
condition: []
action:
  - service: whatsapp.send_message
    data:
      clientId: default
      to<EMAIL_ADDRESS>#sending to a group
      body:
        text: HomeAssistant neu gestartet
mode: single
initial_state: "on"


Error building the document pdf

Hi. Recently i try to build the pdf of the book. There is an error in the BuildComputerFO.lua script:

The open mode should be "w+" instead of "wt".

No, I think wt is correct

When i tried to execute the script i got the next error:

May be i'm doing something wrong. I follow the steps in the Rebuilding the PDF Documentation

I found that "wt" is used in python, since t refers to "text". You may have gotten confused with python. From the lua web page page:


[Documentation] Specify that flake and user's app must follow the same nixpkgs

I just ran into some unexpected behavior by not specifying inputs.nixpkgs.follows in agenix-rekey and using nixos-23.05 for my packages. When trying to deploy to an aarch64-linux machine from an x86_64-linux machine I ended up with different derivations. The tricky bit was I was convinced I was just using forceRekeyOnSystem wrong. Turns out all I needed to do was make the app use pkgs-unstable:
apps."x86_64-linux" = agenix-rekey.defineApps self (import nixpkgs-unstable { system = "x86_64-linux"; }) self.nixosConfigurations;

This seems like an easy mistake to make. It should probably be specified in the docs that the flakes input packages need to match the app's input nixpkgs.

Thanks for pointing this out. If the nixpkgs don't match the "used" and "saved" rekey derivation may differ, which will of course cause problems. I'll add this to the docs right now.


ADM-338 Skelton for Backend

Before
the backend use TypeScript Node.js koa
After
the backend use
java
Spring boot
Testing(Junit 5)
1 health endpoint
swagger
logging framework(Log4j)
dockerfile
Note

Test coverage?
PLZ give a screenshot for every task

@guzhongren test coverage


Need to import Pathlib (following README)

Code won't execute unless Path imported

Updated: https://github.com/escaped/routor/commit/21c888e798bf02bc6af29549b97f50c1a4a4288a


Is the handoff protocol and EventFactory only for the dotnet library or does javascript have these protocols too?

For the sample here, I am wondering if the same can be done in javascript/nodejs?

Yes, the event factory does exist in Javascript!
https://docs.microsoft.com/en-us/javascript/api/botbuilder/eventfactory?view=botbuilder-ts-latest#createhandoffinitiation-turncontext--any--transcript-


Create quicksort.cpp

i want to make contribution under hactoberfest 2024 by adding quicksort algorithm in your repo. kindly mark it as under hactoberfest 2024.
Regards.

Thanks for your contribution!

PR has been merged!


fix search selector when $or is used in selector

Hello,
I found a small bug with the search feature.  If the user's selector's top-level construct is a {$or: ...} then this is overwritten with _.extend() rather than being AND'd with the search critera:

_.extend({}, {$or: 'user-selector stuff'}, {$or: 'searches'})
{ '$or': 'searches' }

This merge request will construct an explicit {$and } selector with the user's selector and the search selector.

Thanks! Released in 1.3.0


String::count(s: String box, offset: ISize = 0): USize returns the wrong value if there are two substring matches at the end of the string

Expected Behavior
Expect the following assertion to be true:
h.assert_eq[USize](3, "///".count("/"))

Actual Behavior
Instead, the following assertion is true:
h.assert_eq[USize](2, "///".count("/"))

But this assertion is also true:
h.assert_eq[USize](3, "//a/".count("/"))

Additional Information
It looks like the problem is here, where the condition is k < j when I believe it should be k <= j.

Write a few test cases for String.count() and your first contribution to Pony is ready!

Great bug report! So good, I think @jonas-l is right: can you fix this and add tests, @aturley ?

Yeah, I can do that. I'll have it in by the end of the day.

I created a pull request.

Fixed by merging #578.


How to use multiple images in  multimodal dataset?

Reminder

[X] I have read the README and searched the existing issues.

System Info
newest
Reproduction
this is example in mllm_demo.json
{
    "messages": [
      {
        "content": "<image>Who are they?",
        "role": "user"
      },
      {
        "content": "They're Kane and Gretzka from Bayern Munich.",
        "role": "assistant"
      },
      {
        "content": "What are they doing?",
        "role": "user"
      },
      {
        "content": "They are celebrating on the soccer field.",
        "role": "assistant"
      }
    ],
    "images": [
      "mllm_demo_data/1.jpg"
    ]
  },

but this only use one image. If I want to use multiple images, how to config this json file?
example:
{
    "messages": [
      {
        "content": "<image_1><image_2>Who are they?",
        "role": "user"
      },
      {
        "content": "They're Kane and Gretzka from Bayern Munich.",
        "role": "assistant"
      },
      {
        "content": "<image_2><image_3>What are they doing?",
        "role": "user"
      },
      {
        "content": "They are celebrating on the soccer field.",
        "role": "assistant"
      }
    ],
    "images": [
      "mllm_demo_data/1.jpg",
      "mllm_demo_data/2.jpg",
      "mllm_demo_data/3.jpg"
    ]
  },

Expected behavior
No response
Others
No response

{
    "messages": [
      {
        "content": "<image><image>Who are they?",
        "role": "user"
      },
      {
        "content": "They're Kane and Gretzka from Bayern Munich.",
        "role": "assistant"
      },
      {
        "content": "What are they doing?<image>",
        "role": "user"
      },
      {
        "content": "They are celebrating on the soccer field.",
        "role": "assistant"
      }
    ],
    "images": [
      "mllm_demo_data/1.jpg",
      "mllm_demo_data/2.jpg",
      "mllm_demo_data/3.jpg"
    ]
  },


Fix for assertion in testCorrectCountryCodeWithPI3

Have asked @byrion if he can review / accept.
Thanks for submitting.
Nick


Facebook Like/Share Button

🐛 Bug Report
The Facebook button in the footer is not being displayed accurately. The "Sign up" text is being wrapped around in the div and the number of people liking the page is not visible.

You and 553 others like this.                               553 people like this. Sign Up to see what your friends like.

To Reproduce
(Write your steps here:)

Go to Docusaurus home page
Scroll to the bottom

Expected behavior
Sign up button/Facebook div should have correct CSS.

@ucdstudent95618 Thanks for catching this. Would love a PR if you would like to fix it. I didn't see it since I was already logged into FB, I think.

Yea I'll fix it

and you're welcome! :)

Just fixed it. PR is here

I haven't had the chance to fix it. So check nancy's PR @JoelMarcey :)

Is this up for grabs?

@saranshkataria yup. Send a PR in


Document storage key generating algorithm

Is there any documents of how storage key is been generated?
I spent a lot of time debugging a double map breaking change caused by #2268.
I simply change the hasher for prefix + key 1 from twox128 to blake2 256 and it doesn't work.
I had a hard time to debug macro generated code trying to figure out why simply change the hasher is not enough and then finally found out an extra using_encoded is performed so I have to add length prefix. I don't know if this is intended because I cannot find any documents and spec about this.
The old algorithm for double map with twox128 for key 2 hasher:
twox128(encode(prefix) + encode(key1)) + twox128(key2)
The new algorithm for double map with twox128 for key 2 hasher:
blake2_256(encode(encode(prefix) + encode(key1))) + twox128(key2)
The extra encode seems redundant to me.
I also cannot find any tests for double map storage key generation. There should be some to ensure the generated key won't change unexpectedly.

cc @thiolliere

there is no security issue just the encoding is not optimized

so I implemented this way but otherwise we can also just update the doc to specify the current behavior as it doesn't harm that much. ?

Can someone make a decision on this so we know if there is going to be another breaking change in 1.0 branch or not.

I

I don't know about the decision to make in v1.0, but if it is not too late I vote for putting that in.
The PR is #2480

Can someone make a decision on this so we know if there is going to be another breaking change in 1.0 branch or not.

this is now merged on 1.0 branch with breaking change and documentation.


Fix language server not working with the latest beta

This contains two fixes.

Fixed the problem where requests were not being routed correctly.
Adds an example folding range, to ensure that it works.

Also I've done a small refactor around ITextDocumentIdentifier previously this was only integrated in ITextDocumentSyncHandler, if you didn't register a ITextDocumentSyncHandler we would never catch any file registrations, because we would have way to identify a file.
I have left ITextDocumentIdentifier as a member of the ITextDocumentSyncHandler interface but I have added the ability to add your own ITextDocumentIdentifier instances, which will then be used when trying to identify files by Uri.

cc @mholo65 @TylerLeonhardt @tintoy

Here are a few logs reference, you should see folding range in there.
Initialize should not return any static features
[Trace - 10:53:38 AM] Received response 'initialize - (0)' in 3991ms.
Result: {
    "capabilities": {
        "textDocumentSync": 0,
        "hoverProvider": false,
        "definitionProvider": false,
        "referencesProvider": false,
        "documentHighlightProvider": false,
        "documentSymbolProvider": false,
        "workspaceSymbolProvider": false,
        "documentFormattingProvider": false,
        "documentRangeFormattingProvider": false,
        "experimental": {}
    }
}

Registration (this should contain the folding range registration)
[Info  - 10:53:39 AM] Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams
[Trace - 10:53:39 AM] Received request 'client/registerCapability - (0)'.
Params: {
    "registrations": [
        {
            "id": "fa8256a9-3f00-410f-b940-d7aee4303371",
            "method": "textDocument/didChange",
            "registerOptions": {
                "syncKind": 1,
                "documentSelector": [
                    {
                        "pattern": "**/*.cs"
                    }
                ]
            }
        },
        {
            "id": "aa17d766-aeb5-4fd5-999d-1ef9f23e54bd",
            "method": "textDocument/didOpen",
            "registerOptions": {
                "documentSelector": [
                    {
                        "pattern": "**/*.cs"
                    }
                ]
            }
        },
        {
            "id": "6bb59ea1-11ca-4b49-8317-5f77baa62d05",
            "method": "textDocument/didClose",
            "registerOptions": {
                "documentSelector": [
                    {
                        "pattern": "**/*.cs"
                    }
                ]
            }
        },
        {
            "id": "4c884630-fa8e-4e30-8449-68230c54da52",
            "method": "textDocument/didSave",
            "registerOptions": {
                "includeText": true,
                "documentSelector": [
                    {
                        "pattern": "**/*.cs"
                    }
                ]
            }
        },
        {
            "id": "8fff9ed8-80e4-49d3-ae81-eef813b91a8c",
            "method": "workspace/didChangeWatchedFiles",
            "registerOptions": {}
        },
        {
            "id": "972a811e-4df5-4bcc-943f-e86345d08d37",
            "method": "textDocument/foldingRange",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "csharp"
                    }
                ]
            }
        }
    ]
}

then you should see some folding range content in the logs later

[Info  - 10:53:50 AM] Handler Selected: SampleServer.FoldingRangeHandler via (null) (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 10:53:50 AM] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (2) textDocument/foldingRange"
}

[Info  - 10:53:50 AM] Starting: Routing Request (2) textDocument/foldingRange
[Trace - 10:53:50 AM] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (2) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam"
}

[Info  - 10:53:50 AM] Converting params for Request (2) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam
[Trace - 10:53:50 AM] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info  - 10:53:50 AM] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 10:53:50 AM] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info  - 10:53:50 AM] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 10:53:50 AM] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (2) textDocument/foldingRange in 0ms"
}

[Info  - 10:53:50 AM] Finished: Routing Request (2) textDocument/foldingRange in 0ms
[Trace - 10:53:50 AM] Received response 'textDocument/foldingRange - (2)' in 4ms.
Result: [
    {
        "startLine": 10,
        "startCharacter": 0,
        "endLine": 20,
        "endCharacter": 0,
        "kind": 2
    }
]

💯👌 Nice!


request help: 控制器采集指标不一致问题

Issue description
控制器源码中请求apisix的状态码指标名称为：apisix_ingress_controller_apisix_bad_status_codes

grafana的dashboard的配置中却为：apisix_ingress_controller_apisix_status_codes
源码中dashboard配置文件路径为：docs/other/json/apisix-ingress-controller-grafana.json

Environment

your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
your Kubernetes cluster version (output of kubectl version):
if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):

使用apisix_ingress_controller_apisix_status_codes要合理些

what's your code version?
It has been changed. https://github.com/apache/apisix-ingress-controller/pull/1012

https://github.com/apache/apisix-ingress-controller/issues/1005

控制器的版本是1.4.1，看到已经修复了这个问题，计划什么时候出1.5正式版

1.0.5-rc1 has been released
V1.5.0 Scheduled to be released within two weeks


Animation.sequenced from any image object

To support loading sprite sheets from the internet it'd be easiest if you could pass any object that can be created by Image
Animation.sequenced(Image.network("myurl"), args...)

You mean this? https://api.flutter.dev/flutter/widgets/Image/Image.network.html

Exactly!
Looks like you only need to add a constructor which uses the Sprite.fromImage function inplace of the Sprite(...) constructor

That is not that easy, this is a Widget, the Image that we use is an class from the dart:ui library, which really represents an Image, and not an widget, I don't know how easy would it be to draw an Image widget into the canvas.

@luanpotter @renancaraujo what are your thoughts about this? I am not sure about this.

You misunderstand me.
Currently, Animation.sequenced("filepath", 8) instantiates the sprites from a local file (i.e. Sprite("filename",args...)). I suggest to have another constructor: Animation.sequencedImage(...) which is a copy of the current sequenced function but which calls Sprite.fromImage(img, sameargs...) instead of Sprite("filename", args...) and by that loads the sprites from an image object rather than a file name. That reduces the amount of remote accesses in case of the network variant.

@rapus95 I see, that is totally possible, I was understanding that you wanted to use the Image Widget inside the animation here.
Sorry for the confusion. Gonna mark this an an enhancement and will do when possible, or if you want, feel free to submit a PR.

It'd also be helpful if sequenced supports cacheHeigth and cacheWidth as otherwise sprites can easily crash the system :/

Found this at the bottom of my notifications, sorry for the ridiculous delay.
We cant mix widgets with flame components (for now), so we could receive an ImageProvider instead of the Image widget as proposed initially in this issue.
ImageProvider has as subclasses NetworkImage, FileImage and so on.
BUT retrieving a dart_ui Image from an ImageProvider is an async process. The Image widget manages a loading state before rendering, and so have we.
So here we have the two pills: We can create .sequenced as an async static method delegating the control of loading state to the engine users OR we can make it a normal constructor and manage loading state internally (I.E: render nothing while the image loads).
I like the former pill.

This will be addressed on the v1 on the task I am working on

Solved for the v1.0.0


Android Flag Secure - Hide screen when app goes to background mode without block screenshots

Description
I would like to hide the screen when the app is in the background. On iOS I found a good solution using AppState. But on android it didn't work. So I looked for a native solution and found FLAG_SECURE. It works when I use it inside onCreate, but it also blocks users from taking screenshots. After that I tried setting the FLAG_SECURE when the app is onPause and clearing when the app is onResume but it didn't work. Can someone help me?
Version
0.67.4
Output of npx react-native info
System:
OS: Windows 10 10.0.22000
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
Memory: 3.45 GB / 15.74 GB
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.15 - C:\Program Files\nodejs\yarn.CMD
npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29, 30, 31, 32
Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0
System Images: android-26 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-212.5712.43.2112.8609683
Visual Studio: 17.2.32516.85 (Visual Studio Enterprise 2022)
Languages:
Java: <IP_ADDRESS> - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.4 => 0.67.4
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
No steps to reproduce
Snack, code example, screenshot, or link to a repository
MainActivity:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(null);
}
@Override
protected void onResume() {
super.onResume();
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
}
@Override
protected void onPause() {
super.onPause();
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
}

So guys, I found a solution to make this work. We created a library to help others who might have this problem in the future.
https://github.com/euthribeiro/react-native-background-secure

So guys, I found a solution to make this work. We created a library to help others who might have this problem in the future.
https://github.com/euthribeiro/react-native-background-secure


Edit a saved filter

It would be nice to let the user to edit a saved filter and/or to create a new one from a saved one.

See pull request #5

See pull request #5

@pyMan Thank you for your work to improve django-admin-filter. I merged your pull request and added a simple test. The feature will be available within the next release.

@pyMan Thank you for your work to improve django-admin-filter. I merged your pull request and added a simple test. The feature will be available within the next release.


Use Ryu algorithm for floating point to string conversation

It was just brought to my attention by a friend that Crystal uses the Grisu3 algorithm for converting floating point numbers to strings. Apparently switching to the Ryu algorithm could offer a boost in performance. CC: @Zenohate

Numbers look great
https://github.com/ulfjack/ryu#ryu-printf
Has comparison with grisu2 (no grisu3 though) here among others

So, my preliminary findings are:

erthink is faster when value could be represented by 12 or less digits (I checked this by changing range of this loop);
ryu is faster in the all other cases;

https://github.com/ulfjack/ryu/issues/28#issuecomment-497864191

I will tackle an implementation based of the C one, It will take time tho and may bear no fruits. I am currently fighting the new overflow safe Int a lot doing all of that.
I am copying the API of the Grisu3 class for now so that it can be easy to replace as well as writing the code in a separate library which it will be possible to merge later.
Best regards

Excited to see what you can come up with @Zenohate

Oh my... what a rabbit hole. Why did I've started following links for ryu on GitHub 😆
Anyways... There is a discussion about implementing ryu in Go. Lots of interesting stuff.
This comment in particular might help correctness checking https://github.com/golang/go/issues/15672#issuecomment-476012114

Also as mentioned in the paper

The main disadvantage of Ry ̄u is its reliance on lookuptables. These are quite reasonable for the typical 32-bit and64-bit floating point types but grow exponentially for largertypes. It is up to future work to determine whether it ispossible to reduce their size or even avoid them entirely.

I guess we could always keep Grisu3 around for bigger than 64bit floats then.

There's also no good way to have static lookup tables in Crystal like they do in C, but once there's a Ryu implementation we'll see.

@asterite There is also a Java version https://github.com/ulfjack/ryu/tree/master/src/main/java/info/adams/ryu but I guess you mean Crystal needs static lookup tables closer to C for such cases? This can allow even more optimizations?

I guess C will dump those static lookup tables to the data segment of the program. In Java it seems they are initialized at runtime. In Crystal it'll probably be have to be the same. Maybe it'll still be fast enough.

Maybe Crystal can use something similar to Ruby's __END__ + DATA magic for such data?

The readme does mention Grisu3 in some comparisons, FWIW (stated to be significantly faster).

There is also Dragonbox now.

Dragonbox implements only the shortest round-trip conversion; while this is good enough for Float#to_s, it is unsuitable for sprintf %f / %e / %g because double rounding would occur. Instead we must still implement Ryu Printf if we want the latter to be platform-independent by not relying on LibC.snprintf. (Ryu is the shortest representation algorithm, Ryu Printf is the fixed precision one.)

@HertzDevil  Hello, thank you for porting Dragonbox, I'm the author of the algorithm. This is just some information just in case you're interested.
The biggest problem of Ryu printf is its enormous size (102kb iirc) of static table. I actually have an implementation of (almost) same algorithm which only requires 39kb here. It's not extensively tested like Dragonbox though. Also it is probably a little bit slower than the original implementation for double but the difference is not big as you can see in the benchmark graph shown in the README.
In fact, I'm working on an alternative algorithm (which works similarly to Ryu printf but using a different formula for the core computation), which I expect to be faster than Ryu printf but at the same time only requires 4-5kb (or even half or quarter of that if you can afford sacrificing more performance). At this point I have an almost-working implementation, but I sort of stopped finishing it due to other things in my life having higher priority. Maybe in early next year, I'll publish the work and advertise it through reddit.

We have other similarly sized lookup tables (Unicode properties) so that is probably not an issue for now. But I will definitely keep an eye out for that Ryu Printf replacement.

I made a working implementation of the said algorithm (here is the repo, and here is the explanation) in last December but forgot to mention it here. Currently I consider the implementation is largely incomplete, though (I believe) it works fine for all double inputs. I think it's not ready for serious adaptions yet for various reasons, but wanted to say that a better algorithm definitely exists.
Roughly speaking, for the first few digits (up to 19) it performs the usual 128-bit x 64-bit multiplication that Dragonbox/Ryu/etc. do by re-using the same table, and for further digits it falls-back into a slower mechanism relying on an additional table.
For this slower fallback mechanism, there are several tunable parameters that determine the trade-off between the size of the additional static data and the required number of multiplications per a digit. The most significant parameter is something I call the segment length, which roughly speaking is the number of digits that are generated "at once". I tried to set this segment length to be 22 and 252, each resulting in the data size of 3680 bytes and 580 bytes, respectively. For the first case, it performs several 192-bit x 64-bit multiplications to obtain 22 digits, while for the second case it performs 960-bit x 64-bit multiplications instead. It seems the performance of the first case is more or less equivalent to Ryu-printf; it wasn't a lot faster than Ryu-printf, unfortunately. You can refer to the benchmark graph I included in the repo.
Currently I'm thinking that it will probably perform better if I extend the Dragonbox table a little bit (which allows some simplification of the first phase of printing first few digits), and also set the segment length to be 18 instead of 22 at the expense of a little bit larger table size, but I haven't done any experiment.

 However, the code itself used to populate those tables is much larger than the tables' contents. Here I compile the following code, and then compare the resulting binary's size against a blank source file, on my Apple M2: (at the moment the new tables won't be codegen'ed at all unless RyuPrintf's methods are called explicitly, because stdlib doesn't incorporate them yet)
Float::Printer::RyuPrintf.d2fixed(1.23, 5)
Float::Printer::RyuPrintf.d2exp(1.23, 5)

Non-release: 1231112 B -> 1630104 B (+398992 B, +32.4% size)
Release: 298360 B -> 514024 B (+215664 B, +72.3% size)

On the other hand, if the new tables are backed by Slice.literal instead, then the release mode binary would unconditionally grow to roughly 400 KB, and the effect on non-release builds would drop below 10%.

There's a functional difference though in the purposes:
Unicode normalization and HTML entity tables are unavoidable. If you want to normalize Unicode or (un)escape HTML entities, you explicitly need those tables. There's no way around that. Maybe there's some room for compacting their representation to save some bytes, but that's only a minor effect.
With the lookup tables for the Ryu algorithm, that's different: They're not strictly necessary for the general task, just for this specific implementation. If you want to print floating point numbers, there are other algorithms which don't need those tables.
Their motivation is an optional performance trade-off to improve execution time over memory size.
For most general programs that's a good deal because size usually doesn't matter much. So it's probably fine as a default.
However, there might be use cases where you don't want that compromise. Maybe we could allow choosing the algorithm at compile time? I suppose that's always possible with monkey-patching into stdlib. But perhaps a more stable mechanism could be helpful. Alternative implementations don't necessarily need to be distributed in stdlib, though.


Search Service does not actually log index reopen exceptions

The search service only logs the message "Search index reopen failed with an exception" on exceptions thrown during index reloads

Same with InitializeSearcherManager

This should be high pri since it blocks investigation into index load issues.


[Bug/Feature Request] Resizable window from top when using macosAppEmu / custom frame

We need this but idk how

'resizable: true'?

already enabled, but does not recognise the macos frame

https://stackoverflow.com/a/32897808

https://stackoverflow.com/a/32897808
when you mark a window as "frame: false" and then enable "-webkit-app-region: drag", the drag flag disables the window-resize-handles.


About the interaction between molecules

About the interaction between molecules
Description
I want to know if I can do intermolecular interaction through this plugin.？
Relevant Context
I want to click on a certain molecular structure, and then the interface will initially show the schematic diagram of the related molecular action in this area
If possible, can I achieve Schrödinger’s intermolecular effect through NGLViewer?

You can use the contacts representation to see the interactions in 3D (see the demo here: http://nglviewer.org/ngl/?script=representation/contact script here: https://github.com/nglviewer/ngl/blob/master/examples/scripts/representation/contact.js).
If your protein and ligand are separate files you first need to concatenate them (there's another demo here:
http://nglviewer.org/ngl/?script=test/concat
script here: https://github.com/nglviewer/ngl/blob/master/examples/scripts/test/concat.js)
If you mean a 2D schematic then no, I'm not aware of anything like that right now, though maybe see the discussion in #782

Thanks, i have other question.
if i want to measuring distance, angle, dihedral angle， is there such an api?

Yup, there are 3 representation types (distance, angle, dihedral), e.g.:
http://nglviewer.org/ngl/?script=representation/distance (source: https://github.com/nglviewer/ngl/blob/master/examples/scripts/representation/distance.js).
(replace distance with angle or dihedral in those URLs for the others)
You can also add with the mouse: Right-click pick atom1, then atom2, then atom2 again for a distance. Pick 3 atoms (repeat last one) for an angle, or 4 atoms (repeat last one) for a dihedral.

Okay, i know. Thanks man.

I ask a simple question how can i get the atom‘s infomation?

What if I want to replace, copy and paste the molecular structure? Can it be achieved

You can dispose a component and load a new one. Editing coordinates and other atomic attributes generally works, but changing connectivity, adding/deleting atoms etc. isn't supported.

Closing - please re-open if you have other questions.


[Question] HttpGet

Hi,
Quick question regarding the swagger, Why above method is appear on swagger docs?
Since this below method it should be method that return a view?
At the moment i use IgnoreApi to disabled the method in docs list.
       [Route("features")]         [HttpGet]         public IActionResult Features()         {             ViewBag.Menu = "Feature";             return View();         }

Swashbuckle works by reflecting over your code using ApiExplorer. Since some API's make use of IActionResult return types, Swashbuckle does not know from reflection whether this will return a view or something else like a JsonResult. It does not actually run your code as that would be very complicated. Explicitly telling Swashbuckle to ignore that controller or action is the best you can do.


Use S3 direct access collections for L1 and L2

The LP DAAC has published new metadata for the GEDI L1B, L2A, and L2B collections. These are essentially identical to the original collections, but provide S3 URLs to the granule files instead of https URLs.
It turns out that rather than publishing a new version of the existing collections, they have published new collections with new concept IDs. This means that our current logic that assumes search a collection by DOI will result in at most 1 collection is now a bad assumption. Since the newly published collections specify the same DOI, our collection search by DOI will return 2 collections.
This means that we need logic to determine which of the 2 collections for a DOI is the one with direct S3 access. It turns out that the collection with direct S3 access will have a DirectDistributionInformation property. We don't care about the information itself. Only its presence or absence.
We must update our logic in our find_collection function to allow for fetching multiple collections, but then return the first collection in the results for which there is a DirectDistributionInformation property. If there is no such collection in the results, we should simply return the first collection in the results.
See GEDI Subsetter Has Reliable S3 Access for L1/L2 Data

Fixed by #66


adr-update: Update ADR 009

Overview
Closes: #989

Checklist

[x] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Thank you. Is our verification implementation split into those stages as well?

Yes, it is for all stages except Stage 1 since it requires inclusion proofs.


[bug] Prevent Centurion dashboard from scrolling when properties list is long

existing component being replaced by @tracy-french s work so closing out this ticket


Can't copy or paste attachments from desktop, and copying and pasting text is terrible

Describe the bug
Can't copy and paste attachments at all, even using the import file provided in the UI,
Copy and pasting text is painful as well.
To Reproduce
Build an image using :
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbullseye

LABEL<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
      org.opencontainers.image.source="https://github.com/sytone/obsidian-remote" \
      org.opencontainers.image.title="Container hosted Obsidian MD" \
      org.opencontainers.image.description="Hosted Obsidian instance allowing access via web browser"

# Update and install extra packages.

Run it :
docker run --rm -it `
  -v D:/ob/vaults:/vaults `
  -v D:/ob/config:/config `
  -p 8080:8080 `
  obsidian-remote:latest bash

Run it, and try copy pasting text or images.
We can only copy images, use your mouse to open the clipboard and paste text using it,
Import from the top menu doesn't work at all for images.

Expected behavior
I should be able to copy and paste.
Desktop (please complete the following information):

OS: Windows
Browser: Firefox LTS

Thanks for your work, but in the present case I can't use it at all as I need copy pasting. Hoping we can find a way to upgrade this behavior !

It seems that it's not recommended to use Firefox with KasmVNC as there are known issues with it although they aren't explicitly mentioned. Source: https://kasmweb.com/kasmvnc/docs/master/clientside.html

It seems that it's not recommended to use Firefox with KasmVNC as there are known issues with it although they aren't explicitly mentioned. Source: https://kasmweb.com/kasmvnc/docs/master/clientside.html

Wow thanks for pointing this out, I did not consider it at all.
The setup looks really promising on a Chrome instance and would definitely fix an issue I had while using it at work. Thanks for taking the time, I'm buying a Rasb Pi right away to play around with it !

@mathisgauthey No worries! I still find sometimes I can't scroll anymore in documents but just refreshing the page seems to help that. I've made a fork of this repo for a setup that works on the Raspberry Pi 4 if it helps https://github.com/adamzachyang/obsidian-remote-rpi, you just need to build the image locally on the Raspberry Pi


SAMix Not Working with PDFT

Setting up an SAMix calculation following the documentation here: https://block2.readthedocs.io/en/latest/user/dmrg-scf.html
I run into the following error when having multiple solvers:
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-21-0dae8dbb0bce> in <module>
      6
      7 mc = make_dmrgpdft(mf,ncas,nelecas,syms,rundir,scrdir,maxM)
----> 8 mc.kernel()

~/Apps/pyscf_ext/pyscf-forge/pyscf/mcpdft/mcpdft.py in kernel(self, mo_coeff, ci0, otxc, grids_attr, grids_level, **kwargs)
    485         self.optimize_mcscf_(mo_coeff=mo_coeff, ci0=ci0, **kwargs)
    486         self.compute_pdft_energy_(otxc=otxc, grids_attr=grids_attr,
--> 487                                   grids_level=grids_level, **kwargs)
    488         # TODO: edit StateAverageMCSCF._finalize in pyscf.mcscf.addons
    489         # to use the proper name of the class rather than "CASCI", so

~/Apps/pyscf_ext/pyscf-forge/pyscf/mcpdft/mcpdft.py in compute_pdft_energy_(self, mo_coeff, ci, ot, otxc, grids_level, grids_attr, **kwargs)
    459             epdft = [self.energy_tot (mo_coeff=self.mo_coeff, ci=self.ci, state=ix,
    460                      logger_tag='MC-PDFT state {}'.format (ix))
--> 461                      for ix in range (nroots)]
    462             self.e_ot = [e_ot for e_tot, e_ot in epdft]
    463             if isinstance (self, StateAverageMCSCFSolver):

~/Apps/pyscf_ext/pyscf-forge/pyscf/mcpdft/mcpdft.py in <listcomp>(.0)
    459             epdft = [self.energy_tot (mo_coeff=self.mo_coeff, ci=self.ci, state=ix,
    460                      logger_tag='MC-PDFT state {}'.format (ix))
--> 461                      for ix in range (nroots)]
    462             self.e_ot = [e_ot for e_tot, e_ot in epdft]
    463             if isinstance (self, StateAverageMCSCFSolver):

~/Apps/pyscf_ext/pyscf-forge/pyscf/mcpdft/mcpdft.py in energy_tot(self, mo_coeff, ci, ot, state, verbose, otxc, grids_level, grids_attr, logger_tag)
    677             ot = self.otfnal
    678         e_tot, e_ot = energy_tot (self, mo_coeff=mo_coeff, ot=ot, ci=ci,
--> 679             state=state, verbose=verbose)
    680         logger.note (self, '%s E = %s, Eot(%s) = %s', logger_tag,
    681             e_tot, ot.otxc, e_ot)

~/Apps/pyscf_ext/pyscf-forge/pyscf/mcpdft/mcpdft.py in energy_tot(mc, mo_coeff, ci, ot, state, verbose)
     70     # called without mc being an instance of MC-PDFT class
     71
---> 72     casdm1s = mc.make_one_casdm1s (ci, state=state)
     73     casdm2 = mc.make_one_casdm2 (ci, state=state)
     74     t0 = logger.timer (ot, 'rdms', *t0)

~/Apps/pyscf_ext/pyscf-forge/pyscf/mcpdft/_dms.py in make_one_casdm1s(mc, ci, state)
     72     ncas = mc.ncas
     73     fcisolver, ci, nelecas = _get_fcisolver (mc, ci, state=state)
---> 74     return fcisolver.make_rdm1s (ci, ncas, nelecas)
     75
     76 def make_one_casdm2 (mc, ci, state=0):

~/Apps/pyscf_ext/dmrgscf/pyscf/dmrgscf/dmrgci.py in make_rdm1s(self, state, norb, nelec, link_index, **kwargs)
    287         # DMRGCI.make_rdm12 ensures that the basic make_rdm12 method is called.
    288         # (Issue https://github.com/pyscf/pyscf/issues/335)
--> 289         dm1, dm2 = DMRGCI.make_rdm12(self, state, norb, nelec, link_index, **kwargs)
    290         dm1n = (2-(neleca+nelecb)/2.) * dm1 - numpy.einsum('pkkq->pq', dm2)
    291         dm1n *= 1./(neleca-nelecb+1)

~/Apps/pyscf_ext/dmrgscf/pyscf/dmrgscf/dmrgci.py in make_rdm12(self, state, norb, nelec, link_index, **kwargs)
    328         twopdm = numpy.zeros( (norb, norb, norb, norb) )
    329         file2pdm = "spatial_twopdm.%d.%d.txt" %(state, state)
--> 330         with open(os.path.join(self.scratchDirectory, "node0", file2pdm), "r") as f:
    331             norb_read = int(f.readline().split()[0])
    332             assert(norb_read == norb)

FileNotFoundError: [Errno 2] No such file or directory: '/home/king1305/TM_Active_Space_Selection/scrdir/solver1/node0/spatial_twopdm.1.1.txt'

It appears to be trying to pull the 2pdm from "spatial_twopdm.1.1.txt" instead of "spatial_twopdm.0.0.txt" in the folder

@dking072 can confirm that PR #26 solves this issue.

Yep! PR #26 Solves the issue, thanks :)


Add time manually

Can you make a way to enter time manually?
Basicly i had another extension first that would track the time for me but it did not fully meet my requirements.
This extension does, but sometimes when you forget to start the timer, you cannot enter (for example) an hour on your own.

Hi Attacler,
Manually adding time is possible - just a bit clunky. If you start and stop the timer right away - then you can just modify that 1 second timeslot to whatever manually registered time you want to register :) That's how I've been doing it.
I'll leave the issue open. Because while there is a work-around - it would be nice to actually have a feature implemented for this.

@Attacler Added 'Add manually' option under 'Manage time' when you have at least 1 tracking. The UI is a bit janky - but it's what we can do with Trello's built in UI :)


ignoring errors

How can you ignore a specific error in a file? I try using phpstan documented method:
/** @phpstan-ignore-line */

as outlined on https://phpstan.org/user-guide/ignoring-errors, which works when running phpstan on the command line, but not in the vscode implementation?

Nevermind, this works, perhaps I just needed more patience for the config to re-run


adding certalias to deploy_cert ?

Right now the deploy_cert receives domain name, key, cert, fullchain path and date but not the alias (e.g. for wildcard certs)
Since alias variable is already exported, the change would be as simple as adding it to the end of command, and would not break any existing implementations:
  [[ -n "${HOOK}" ]] && "${HOOK}" "deploy_cert" "${domain}" "${certdir}/privkey.pem" "${certdir}/cert.pem" "${certdir}/fullchain.pem" "${certdir}/chain.pem" "${timestamp}" "${alias}"

You can also use a combination of the dirname and basename commands to extract the alias name from the key, cert, fullchain or chain paths.
I found this out when I considered making a similar request for the $certdir path to be added to the same hook but found I could work them out myself.

Like @jobe1986 said you can already extract that from the path and you could also just use the environment variable as it's exported.


Is is possible to optimize ema_modify_permissions()?

Hi @haitaohuang , thank you for your great contribution. We are trying to adapt this new feature and I'm the person who is focusing on the new EDMM feature. I have some questions on the implementation. For the ema_modify_permissions(), it seems that we always invoke do_emope() (Line 918 in ema.c), even if we only extend the permission (For example, from R to RW, or from R to RE). The similar operations exist for do_emopr().
I wonder why we do not use the some functions like check_vrds_pr_pe_needed() to determine whether invoke EMODPE and EMODPR for different inputs from user? I guess it is because it may increase the complexity of implementation here.

right, we probably can optimize out some of emodpr (outside enclave, e.g.,  enclave_common) and emodpe (inside enclave). But I suspect change permissions would not be a frequent operation in most use cases. emodpe would not be significant overhead. So for now we keep it simple. Would welcome any feedback if you have some data/use cases that require more optimization in this flow.

Get it! Thanks for your reply!


Reload libraries when running blocks from edit pipeline

Description
In our local development, utility code changes are not effective automatically when working with the editor.
Instead kernel restart or manual importlib.reload helps.
In a slack chat I learnt from @tommydangerous, this is not the intended way.
https://app.slack.com/client/T03GK6PEQP6/C03HTTWFEKE/1713014196.350109
I looked at the code that was referenced by Tommy and applied a few changes. This seems to work in our local dev env.
Changes:

look for root project name, helps w multiprojects
run importlib.reload in kernel via client

How Has This Been Tested?

[X] Tested in our local dev.
[] Not tested in other bigger, cloud, etc systems.
Also could not reproduce original issue on demo.mage.ai

Checklist

[ ] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[X] I have performed a self-review of my own code
[ ] I have added unit tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

cc:
@tommydangerous

👀

So, maybe hold on with the merge a bit.
I think I restricted the project_name too much to subprojects.
We actually want to use some shared code across projects, where the project_name will be the root project.
So I better just look for root project prefix for the reload

Rebased to actualize, diff remained the same


Remove explicit Gradle property to enable file system watching

We don't need this since FSW is enabled by default in Gradle 7.0.

@bot-gradle test QFL please.

OK, I've already triggered QuickFeedbackLinux build for you.


Parity with dunfell

Signed-off-by: Joel Winarske<EMAIL_ADDRESS>

Vulkan loader for rpi4-32 later.  Need to update in meta-vulkan first.


change the color of fabrication notes

something that would help me out a bunch for the autorouter would be to be able to change the color of fabrication notes, but implementing that will require changing tscircuit/circuit-json, tscircuit/core, tscircuit/props,  tscircuit/circuit-to-svg. Wondering if you'd be open to picking that up. Just a "color" property for "fabrication_note_text" and "fabrication_note_path" would let me debug wayyy easier

CC @ShiboSoftwareDev


whether the dataset RWCSM-289 will be released

Hi! It's really a awesome work! I have a question: will you release the dataset RWCSM-289 for research in the future

Sorry, no release plan at this moment. Thank you for your attention


Text size cannot be edited on the website

As in the title. This makes it difficult to make the chart useable.

Alluvial diagram
Arc Diagram
Bar chart
Stacked bar chart
Multiset bar chart
Beeswarm plot
Boxplot
Bump chart
Circle Packing
Contour Plot
Circular dendrogram
Linear Dendrogram
Hexagonal Binning
Line chart
Matrix plot
Radar chart
Sankey diagram
Streamgraph
Sunburst diagram
Treemap diagram
Violin plot

Describe your suggestion
A clear and concise description of your suggestion. You can upload images to illustrate it.

hi! while would be great to have more handling of texts, they bring lot of complexity, and at the moment we wont work on that


julia build.jl:

I just cloned: Docile.jl and running julia build.jl in the docs folder throws an error.
[userk@evo docs]$ julia build.jl

WARNING: deprecated syntax "[a=>b, ...]" at /home/userk/.julia/v0.4/Markdown/src/render/terminal/formatting.jl:4.
Use "Dict(a=>b, ...)" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /home/userk/.julia/v0.4/AnsiColor/src/AnsiColor.jl:23.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /home/userk/.julia/v0.4/AnsiColor/src/AnsiColor.jl:32.
Use "Dict{Any,Any}(a=>b, ...)" instead.
INFO: Parsing documentation for Docile.
running doctest on Docile...

Doctests failed, aborting commit.

 Entry: (anonymous function)
 Block: 4
Status: Lexicon.Failed

    @doc* "Generic documentation for this function." ->
    function f(x)
        x
    end

Exception:

    ParseError("\"*\" is not a unary operator")
[userk@evo docs]$

julia> versioninfo()
Julia Version 0.4.0-dev+4127
Commit a6c75cb* (2015-04-01 17:28 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

Sorry seems: julia> Pkg.checkout("Docile") solved it.

I tagged 0.4.8 just a few days ago so perhaps Pkg.update() hadn't been run since? Pkg.free("Docile") should bring you back to the latest tagged version rather than master though.
(Also, note that the build script does an automated git add, which may dirty the repo if you weren't planning to actually commit any changes.)
Anyway, thanks for your interest in the package.


error in R studio

Hi
Recently, I have downloaded the latest version of maftools in Rstudio in Mac. However, when I was loading the library, there is an error generated:

library("maftools")
Error: package or namespace load failed for ‘maftools’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rtracklayer/libs/rtracklayer.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rtracklayer/libs/rtracklayer.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/rtracklayer/libs/rtracklayer.so
Reason: image not found

Any advise will be deeply appreciated.

Hi,
Did you install it from Bioconductor ? It appears there is an issue with rtracklayer package. Could you try re-installing rtracklayer package ?

Hi
I downloaded the tar.gz package from Bioconductor and loaded into R studio. Could this be the issue? Thank you so much for the help.
Cheers,
Camelia

On 1 May 2017, at 8:11 pm, PoisonAlien<EMAIL_ADDRESS>wrote:
Hi,
Did you install it from Bioconductor ? It appears there is an issue with rtracklayer package. Could you try re-installing rtracklayer package ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes! Always install bioconductor packages through biocLite command. Run below code from your RStudio and it should work fine.
source("https://bioconductor.org/biocLite.R")
biocLite("maftools")

Let me know if this doesn't work.

Thanks very much for the help! I truly appreciate it.
--
Cheers
Cam
On Tue, May 2, 2017 at 10:41 AM, PoisonAlien<EMAIL_ADDRESS>wrote:

Yes! Always install bioconductor packages through biocLite command. Run
below code from your RStudio and it should work fine.
source("https://bioconductor.org/biocLite.R")
biocLite("maftools")
Let me know if this doesn't work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PoisonAlien/maftools/issues/48#issuecomment-298469307,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD2vwwdSe7xi9HjR_EUF3nfcwB3n05abks5r1nvEgaJpZM4NM6FZ
.

No problem. I hope it worked.

Hi i have the same problem and i tried to run your codes: source("https://bioconductor.org/biocLite.R")
biocLite("maftools")
, but sadly it does not work for me....Do you have any other suggestions?


Add getContainerCount() method

Is your feature request related to a problem? Please describe.
In some instances, we want to sort bitmaps with respect to the number of containers they hold. See https://github.com/RoaringBitmap/RoaringBitmap/issues/608#issuecomment-1364722016
Describe the solution you'd like
We should add a function to our public API that gives convenient access to the number of containers.
It would be as trivial as return highLowContainer.size(); though we want to cover both RoaringBitmap and ImmutableRoaringBitmap (and maybe the 64-bit bitmaps as well?). Proper documentation should be included.

@lemire Any good places to start ? I would like to contribute to this issue

@sladyn98 Good! Look at how we compute the cardinality. Computing the number of containers is similar/simpler.

Hi @lemire , can you review this : https://github.com/RoaringBitmap/RoaringBitmap/pull/742


Pull Request for Typescript Branch

Hi @joefazz, thanks for the awesome repo!  I've forked your repo and created a typescript branch, but I'm not sure how to submit a pull request since the branch doesn't yet exist in your repo (I don't want my branch to be "merged" into any of yours, I just want to have the new branch "added" to your repo).  Is it possible for you to create an "empty" typescript branch, and then I'll submit a pull request against that?

Hi @lukewis ! Yes definitely I will do this as soon as I get to a laptop. Thanks for contributing!

https://github.com/joefazz/react-native-web-starter/tree/typescript