Detail Card

I have migrated from other note apps to obsidian. I search a long time for a plugin that allows me to preview my notes just like in other apps. Now I find your project, which is very close to what I want. If you could provide a detail style like grid style but no spacing or very small spacing, displaying a bit of content, similar to Bear/Apple Notes/Evernote, and users can pin it to the left sidebar, it would perfectly replicate the structure of other note apps. believe this would be a feature that many people would need.

I really like those cards! I will look into this. Thank you for the suggestion.

Maybe this will help you create it.
https://github.com/xhuajin/obsidian-file-preview
I would love to see this option of showing some lines of content within your plugin, for me it is what I need to use it.

Maybe this will help you create it. https://github.com/xhuajin/obsidian-file-preview
I would love to see this option of showing some lines of content within your plugin, for me it is what I need to use it.

That is helpful! Thanks

https://github.com/daledesilva/obsidian_project-browser
Just remembered there is another project that also has similar functionality, maybe it will be helpful.

Added in 1.16.0

Added in 1.15.0

AMAZING——

Added in 1.15.0

AMAZING——

How to turn on it?
I cannot see the detail (content preview) in my Grid view, version: 1.16.0

How to turn on it? I cannot see the detail (content preview) in my Grid view, version: 1.16.0

Just activated my Premium version and found out it's the new Feed view  :D
And I think maybe we need some kind of Content Filter and Streaming Loading?

My personal Note's concept is a H1 same with the Filename in the front.
So I can only view the Header lol
I think maybe only view the Normal Text Content (Excludes table / callout / headers / ... ) as an optional ?

And it seems now when switching into the Feed View, it would load all the notes at a time, which will cause a Freeze.
I don't know is it possible but could it be loaded "streamly"? Like when I view the first 25 notes, just loading 'em.
And when I scroll down, load the next notes.
It might be loaded several times, but perhaps separating loading can make the perception of lag less obvious? 🤔

Are you using 1.17.1?
On Tue, Jun 25, 2024, 4:35 AM Moy @.***> wrote:

How to turn on it? I cannot see the detail (content preview) in my Grid
view, version: 1.16.0
Just activated my Premium version and found out it's the new Feed view
:D
And I think maybe we need some kind of Content Filter and Streaming
Loading?
image.png (view on web)
https://github.com/decaf-dev/obsidian-vault-explorer/assets/4013062/2b732968-3dd5-435b-9765-df234f785cdf
My personal Note's concept is a H1 same with the Filename in the front.
So I can only view the Header lol
I think maybe only view the Normal Text Content (Excludes table /
callout / headers / ... ) as an optional ?
And it seems now when switching into the Feed View, it would load all the
notes at a time, which will cause a Freeze.
I don't know is it possible but could it be loaded "streamly"? Like when I
view the first 25 notes, just loading 'em.
And when I scroll down, load the next notes.
It might be loaded several times, but perhaps separating loading can make
the perception of lag less obvious? 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/decaf-dev/obsidian-vault-explorer/issues/40#issuecomment-2188563127,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTQYW7R6L5J5IYT64Q35TTZJFBWNAVCNFSM6AAAAABINN7MFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGU3DGMJSG4
.
You are receiving this because you commented.Message ID:
@.***>

Great! Glad to hear.
On Tue, Jun 25, 2024, 9:19 PM Moy @.***> wrote:

Are you using 1.17.1?
… <#m_243273685416569793_>
On Tue, Jun 25, 2024, 4:35 AM Moy @.> wrote: How to turn on it? I
cannot see the detail (content preview) in my Grid view, version: 1.16.0
Just activated my Premium version and found out it's the new Feed view :D
And I think maybe we need some kind of Content Filter and Streaming
Loading? image.png (view on web)
https://github.com/decaf-dev/obsidian-vault-explorer/assets/4013062/2b732968-3dd5-435b-9765-df234f785cdf
https://github.com/decaf-dev/obsidian-vault-explorer/assets/4013062/2b732968-3dd5-435b-9765-df234f785cdf
My personal Note's concept is a H1 same with the Filename in the front. So
I can only view the Header lol I think maybe only view the Normal Text
Content (Excludes table / callout / headers / ... ) as an optional ?
------------------------------ And it seems now when switching into the
Feed View, it would load all the notes at a time, which will cause a
Freeze. I don't know is it possible but could it be loaded "streamly"? Like
when I view the first 25 notes, just loading 'em. And when I scroll down,
load the next notes. It might be loaded several times, but perhaps
separating loading can make the perception of lag less obvious? 🤔 — Reply
to this email directly, view it on GitHub <#40 (comment)
https://github.com/decaf-dev/obsidian-vault-explorer/issues/40#issuecomment-2188563127>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTQYW7R6L5J5IYT64Q35TTZJFBWNAVCNFSM6AAAAABINN7MFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGU3DGMJSG4
https://github.com/notifications/unsubscribe-auth/AJTQYW7R6L5J5IYT64Q35TTZJFBWNAVCNFSM6AAAAABINN7MFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGU3DGMJSG4
. You are receiving this because you commented.Message ID: @.>
I was using 0.16.0 before, I will update it to see the effect.
Just updated to 1.17.2, it does not freeze when switching to Feed view
now! 😄
—
Reply to this email directly, view it on GitHub
https://github.com/decaf-dev/obsidian-vault-explorer/issues/40#issuecomment-2190471598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTQYW22RIRI5WKWKWAF5G3ZJIXMNAVCNFSM6AAAAABINN7MFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQGQ3TCNJZHA
.
You are receiving this because you commented.Message ID:
@.***>

I have same issue with @Moyf
My personal Note's also concept is a H1 same with the Filename in the front.
And some content such as banner before H1 but not in frontmatter.
So I want just show text after first H1

@Moyf @nyssance Thanks for the feedback. I will add these as tasks.

@Moyf @nyssance Thanks for the feedback. I will add these as tasks.

Oh since @nyssance mentioned the right-click menu, the other day when I was communicating with another plugin developer, he mentioned ModEvents which can add several common opening methods to the right-click menu. Perhaps VE can also consider incorporating it?

If modevents is an good plugin, maybe you can recommend each other.、
And a new feature after I installed 1.18.
It's display 250 characters in feed view now. My notes by English/Chinese, a Chinese character is approximately twice the width of an English character, the height of the feed card is too high, and only three cards can be displayed on the screen. Perhaps a configuration option to set the feed height would be better, but I prefer not to configure it by character length. This solution would require converting character width from a development perspective, which is too complex.
Additionally, I would greatly appreciate it if the feed card could display the first image from the note (e.g., in a rectangle on the right side).

@nyssance Please update to 1.21.2. I am looking for feedback on rendering the new line characters.

@nyssance Please update to 1.21.2. I am looking for feedback on rendering the new line characters.
EDIT: it sounds like you want things as compact as possible?

Yes, after update to newest, now just show 1.2 feed per page。The feed height is too high.

Okay. I will add settings to change this
On Sun, Jul 7, 2024, 5:46 AM NY @.***> wrote:

@nyssance https://github.com/nyssance Please update to 1.21.2. I am
looking for feedback on rendering the new line characters.
EDIT: it sounds like you want things as compact as possible?
Yes, after update to newest, now just show 1.2 feed per page。The feed
height is too high.
—
Reply to this email directly, view it on GitHub
https://github.com/decaf-dev/obsidian-vault-explorer/issues/40#issuecomment-2212420810,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTQYW5TD2Q25J6QRHF66T3ZLES75AVCNFSM6AAAAABINN7MFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGQZDAOBRGA
.
You are receiving this because you commented.Message ID:
@.***>

@nyssance Okay. I have added a setting called Collapse content that defaults to true. This will replace all new line characters with a single line break. I have also replaced the 250 character trimming with the -webkit-line-clamp property in css. This should make the correct measurement for unicode characters like Chinese.
Here is a description of the current line clamp behavior:
| Screen size | Class name applied | Number of lines |
| < 600px | .vaultexplorer-feed-card__content--sm | 2 |
| >= 600px && < 1024px | .vaultexplorer-feed-card__content--md | 3 | | >= 1024px | .vaultexplorer-feed-card__content--lg` | 5 |
Please upgrade to 1.24.0 and let me know how it goes.
I will add an option for filtering markdown headers. And after that an attachment display similar to Bear notes. Thank you for the screenshots. They have been very helpful.

Perfect~

@nyssance Added clickable content in 1.25.0. Will be enabled by default

@nyssance @Moyf Okay. 1.27.0 includes a ton of updates for the feed view. A majority of Obsidian markdown is not being removed from the feed, including the first level headers (H1), so it looks a lot cleaner. I have also added settings for line clamping. The Collapse content setting has been changed to Collapse style. By default, everything is completely collapsed now with no new line characters, but you can set it to how it was in 1.25.0, with 1 new line character between every thing.
Please let me know what you think! :)

@decaf-dev Big Thanks for your amazing work. I think it is nearly perfect. If there is any improvement, it would be to hide all links, such as http://xxx, xxx, ,these links are very long, but users click the feed to enter the note itself and do not need to jump to this link. They do not contain useful information.

Additionally, there's a small issue regarding tags. If a tag contains subtags, such as #aaa/bbb, a better approach would be to display only #bbb. However, I think this feature should be implemented by the Obsidian team.

@nyssance @Moyf Okay. 1.27.0 includes a ton of updates for the feed view. A majority of Obsidian markdown is not being removed from the feed, including the first level headers (H1), so it looks a lot cleaner. I have also added settings for line clamping. The Collapse content setting has been changed to Collapse style. By default, everything is completely collapsed now with no new line characters, but you can set it to how it was in 1.25.0, with 1 new line character between every thing.
Please let me know what you think! :)

AMAZING!! Really love it  <3
Now I can easily review many notes in Vault Explorer, really good experience !
Good Job!

After experiencing it, there are two things:

When switching back from other tabs, there will be obvious lag;
I will use more than 3 tick characters (`), but they will not be cleaned up properly. It is recommended to use "≥ 3 tick code blocks" for deletion (see picture).

Also, I hope that the Grid view supports displaying the first image in the note, not just the image link in the image attribute.
And I hope that images can be set to display in a specific way: constrain(maintain aspect ratio) or fill (horizontally tile):

Additionally, I would like to provide an alternative option to display using title instead of the file name. But this one is not very important I think... 🤔


Add diagnostic when controller can't be parsed

First attempt at #84
It first does a check if the controller has any parsing errors, if so adds a new error to the data-controller field. It then also ignores all other errors, as they make no sense. See this screenshot, where the only error is the parsing error:

When I fix the controller to be parsable, you see it shows the actual errors again:

Let me know what you think! Especially on the naming of the internal methods and consts and on the error message itself.

The only thing other thing we could think about is adding a diagnostic to the actual controller JavaScript file and location


Incomplete tenant/list spec at azure-rest-api-specs/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json

The spec is incomplete for later versions as well.
Only two properties are listed:
"TenantIdDescription": {
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000."
},
"tenantId": {
"readOnly": true,
"type": "string",
"description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000."
}
},
"description": "Tenant Id information."
},
More properties are returned. It would be nice to have them in the spec (especially displayName) and the SDKs.
{"value":[{"id":"/tenants/FF96f16e-aaea-4648-9fdf-8011ad807bee","tenantId":"FF96f16e-aaea-4648-9fdf-8011ad807bee","countryCode":"US","displayName":"xxxxx","domains":["xxxxx.onmicrosoft.com"]}]}

Thanks for reporting this! I have published the missing definitions in https://github.com/Azure/azure-rest-api-specs/pull/8384.


Added reverse filter support for v-for

An implementation for this issue: https://github.com/vuejs/vue/issues/1433

Nice one. Since this is v-for specific, maybe we can move the part into v-for as a method, and just call it in the watcher.

Agree. Btw, remember I offered to use <v-for> component instead of v-for directive? It would not only be a syntactic sugar, but would also allow to get rid of $forContext at all (it would all be about child - parent context relationships).

Btw, if possible please re-submit this to the dev branch. Latest 1.0 work is now in the dev branch.

00

this.reverse=(this.sortKey==sortKey)?!this.reverse:false; is not working in latest version for example

{{ people.name}}
{{ people.age}}

sortBy: function(sortKey){
		this.reverse=(this.sortKey==sortKey)?!this.reverse:false;
		this.sortKey=sortKey;

	},
}

@MicroDreamIT I think you're missing the point of this PR. It's intended to allow to re-apply changes done to the array processed with two-way filters. Sorting and reverse order sorting are irrelevant to this.

@karevn I am new in vuejs and javascript world, how can i make it happen?

@MicroDreamIT please ask this question at Vue chat: https://gitter.im/vuejs/vue


Item ID List not complete

Consider representing using an alternative data structure, using the array with index as item ID means that NULL items are taking up a lot of unnecessary space

Possible Alternative Data Structure: Hash map of item structs which include Item ID and the stats they provide (this would allow for calculating ).  This would mean rewriting the script for the item sheet and adding in the stats to the item sheet
Would look something like: static const std::unordered_map<std::string, Item> itemList = { blah };

example item struct:
struct Item
{
Item(short a, short b, ....) : ID(a), vit(b).... ;
short ID;
short vit;
short str;
.....
};


[BUG] Test with parameter expand_wildcards set to none does not return data

What is the bug?
We have tests that set the parameter expand_wildcards: none, which makes the tests useless as the requests does not return useful content.
How can one reproduce the bug?
GET /_stats?expand_wildcards=none
{
  "_shards": {
    "total": 0,
    "successful": 0,
    "failed": 0
  },
  "_all": {
    "primaries": {},
    "total": {}
  },
  "indices": {}
}

What is the expected behavior?
Remove the combination expand_wildcards with value none so the tests return actual data.
Do you have any additional context?
Notices this while working on the Human fields MR as the test should have failed due to missing fields.

Makes sense. To keep in mind that we do want to test the spec, not the functionality of OpenSearch. It's however good to have meaningful tests as we will use those as examples for auto-generating documentation.


chore(toolchain): rename default buildx builder from rivet_cli -> rivet_toolchain

#560  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


Compile

Hello i want to compile src but idk how to found the dll like xnomorecookies or mininomorecookied and when I compile cookie installer folder with sln its do a error can you told how you compile it with picture ? Win+maj+s for screen easy

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Then what is service like x64 and more ? How can I compile this I know compile service but x64 and no x64 I don't understand this maybe a x86 ?

you can find the service source code here.

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

Okay I'm gonna try this thx

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

the error of compiling on nomorecookies installer folder is: Gravité	Code	Description	Projet	Fichier	Ligne	État de la suppression
Erreur	CS0234	Le nom de type ou d'espace de noms 'Forms' n'existe pas dans l'espace de noms 'System.Windows' (vous manque-t-il une référence d'assembly ?)	NoMoreCookiesInstaller	C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs	3	N/A

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

the error of compiling on nomorecookies installer folder is: Gravité Code Description Projet Fichier Ligne État de la suppression Erreur CS0234 Le nom de type ou d'espace de noms 'Forms' n'existe pas dans l'espace de noms 'System.Windows' (vous manque-t-il une référence d'assembly ?) NoMoreCookiesInstaller C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs 3 N/A

just add a reference to "System.Windows.Forms" in the project and you are good to go.

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

Like idk i need to set true and false ? But how for x and how for mini and how for normale? I am very dumb sry

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

the error of compiling on nomorecookies installer folder is: Gravité Code Description Projet Fichier Ligne État de la suppression Erreur CS0234 Le nom de type ou d'espace de noms 'Forms' n'existe pas dans l'espace de noms 'System.Windows' (vous manque-t-il une référence d'assembly ?) NoMoreCookiesInstaller C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs 3 N/A

just add a reference to "System.Windows.Forms" in the project and you are good to go. (and please just use google)

Oh okay sry bro if you can add it for other people it should be good

you can find the service source code here.

I talk about x64 service and no x64 idk 🤷♂

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Well I send you error after this but can you send me picture how you do this ? Cause I'm not very good to do this I'm am very sry if you can send me picture how you do this and modify main.cpp thank you

you can install visual studio and download c++ sdk then you can open the solution and modify it, and the code is really easy to understand and modify so if you don't know how to modify it then it's better to have some knowledge about c/c++ first before modifying such project, and for building it you can google "how to build a c++ dll" and you will know how to build it.

the error of compiling on nomorecookies installer folder is: Gravité Code Description Projet Fichier Ligne État de la suppression Erreur CS0234 Le nom de type ou d'espace de noms 'Forms' n'existe pas dans l'espace de noms 'System.Windows' (vous manque-t-il une référence d'assembly ?) NoMoreCookiesInstaller C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs 3 N/A

just add a reference to "System.Windows.Forms" in the project and you are good to go. (and please just use google)

now i have this: Gravité Code Description Projet Fichier Ligne État de la suppression
Erreur CS0103 Le nom 'VersionChecker' n'existe pas dans le contexte actuel NoMoreCookiesInstaller C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs 63 N/A
et Gravité Code Description Projet Fichier Ligne État de la suppression
Avertissement CS0168 La variable 'ex' est déclarée, mais jamais utilisée NoMoreCookiesInstaller C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs 137 N/A
et Gravité Code Description Projet Fichier Ligne État de la suppression
Avertissement CS0168 La variable 'ex' est déclarée, mais jamais utilisée NoMoreCookiesInstaller C:\Users\User\Desktop\NoMoreCookies-main\NoMoreCookiesInstaller\NoMoreCookiesInstaller\Program.cs 212 N/A

i already use google and poe.com

bro just download the full source from github, you didn't download versionchecker.cs

i already use google and poe.com

if you don't know how to do this basic stuff how are you gonna edit the source?

bro just download the full source from github, you didn't download versionchecker.cs

I download it

i already use google and poe.com

if you don't know how to do this basic stuff how are you gonna edit the source?

It's just like add path lmao

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Then what is service like x64 and more ? How can I compile this I know compile service but x64 and no x64 I don't understand this maybe a x86 ?

I need help about this too

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Then what is service like x64 and more ? How can I compile this I know compile service but x64 and no x64 I don't understand this maybe a x86 ?

I need help about this too

i don't understand what you are saying here to help you

the dll's like "xnomorecookies" and "mininomorecookies" you can find their source code here (you basically just change the mode inside the dllmain.cpp source code and you are good to go) which you can then compile with vs without any problems. and for the "error" you encounter i can't really help you without further information.

Then what is service like x64 and more ? How can I compile this I know compile service but x64 and no x64 I don't understand this maybe a x86 ?

I need help about this too

i don't understand what you are saying to help you

Why there two exe of service no more cookies ? What is the x64 and the normale without x64 on the folder of components ?

it's exactly what the name suggests, the x64 service injects into x64 processes and x86 into x86 processes, and if the system was x86 it will only install x86 service.

it's exactly what the name suggests, the x64 service injects into x64 processes and x86 into x86 processes, and if the system was x86 it will only install x86 service.

Ok thx 🙏

it's exactly what the name suggests, the x64 service injects into x64 processes and x86 into x86 processes, and if the system was x86 it will only install x86 service.

Ok thx 🙏

np


Cloning and running from a release was failing

cloneing and running job https://argus.scylladb.com/tests/scylla-cluster-tests/38d7f1c7-1ede-4551-8154-58b188168aa2
failed with the following errors:

was was cloned o.k. but the first job didn't seem to have run

Weird, it seems that frontend didn't send parameters for the job, which lead to a cascade of errors. This shouldn't really be happening as we first receive parameters and only then allow to proceed.
ip-10-0-2-112 bash[1009789]: [ERROR] <<IP_ADDRESS> - https://argus.scylladb.com/api/v1/jenkins/clone/build - api.testrun_api.clone_build_jenkins_job> - error_handl>
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]: Traceback (most recent call last):
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/flask/app.py", line 880, in ful>
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:     rv = self.dispatch_request()
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:          ^^^^^^^^^^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/flask/app.py", line 865, in dis>
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:   File "/home/argus/app/argus/backend/service/user.py", line 261, in wrapped_view
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:     return view(*args, **kwargs)
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:   File "/home/argus/app/argus/backend/controller/testrun_api.py", line 433, in clone_build_jenkins_job
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:     result = service.clone_build_job(build_id=payload["buildId"], params=payload["parameters"])
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]:                                                                          ~~~~~~~^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]: KeyError: 'parameters'
Nov 24 09:37:46 ip-10-0-2-112 bash[1009789]: [pid: 1009789|app: 0|req: 24902/1362361] <IP_ADDRESS> () {68 vars in 2312 bytes} [Sun Nov 24 09:37:46 2024] POST /api/v1/jenkins/clone>
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]: [ERROR] <<IP_ADDRESS> - https://argus.scylladb.com/api/v1/jenkins/queue_info - api.testrun_api.get_queue_info> - error_handlers::handl>
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]: Traceback (most recent call last):
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/flask/app.py", line 880, in ful>
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:     rv = self.dispatch_request()
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:          ^^^^^^^^^^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/flask/app.py", line 865, in dis>
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:   File "/home/argus/app/argus/backend/service/user.py", line 261, in wrapped_view
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:     return view(*args, **kwargs)
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:   File "/home/argus/app/argus/backend/controller/testrun_api.py", line 359, in get_queue_info
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]:     raise Exception("No queueItem provided")
Nov 24 09:37:46 ip-10-0-2-112 bash[1022444]: Exception: No queueItem provided

Maybe a network issue or something to that effect between frontend and backend. I'll take a look at the parameter send part if there's anything that can potentially break there.


update secp256k1 (31994c8)

hm, some strange things with 0.11 on travis,
on my laptop:
$ nvm use 0.11
Now using node v0.11.16 (npm v2.3.0)
$ node --version
v0.11.16
$ npm --version
2.3.0
$ rm -rf node_modules/ build/
$ npm i
...
$ npm run test

><EMAIL_ADDRESS>test /home/kirill/coloredcoins/secp256k1-node
> standard ./index.js && ./node_modules/mocha/bin/mocha --reporter spec ./test/

  it should handle basic ecdsa ops
    ✓ should create a public key (82ms)
    ✓ should sign a message with a DER sig (75ms)
    ✓ should sign a message async (73ms)
    ✓ should verify a signature (45ms)
    ✓ should NOT verify an invalid signature (49ms)
    ✓ should verify a signature async (45ms)
    ✓ should create a compact signature (191ms)
    ✓ should create a compact signature async (182ms)
    ✓ should recover a compact signature and return the public key
    ✓ should recover a compact signature and return the public key, async

  invalid inputs
    ✓ should not crash when recoverId is out of bounds - sync
    ✓ should not crash when recoverId is out of bounds - async
    ✓ should not crash when giving it an undefined private key
    ✓ should not crash when given an undefined privateKey in createPublicKey
    ✓ should not crash when given an undefined publickeys in verify
    ✓ should not crash when sign tx with undefined

  16 passing (761ms)

cool thanks @fanatid ! What is the point of changing the compressed Bool to a flags int?

It was copy-paste, fixed this. :blush:
Now travis fails with all node versions. I tried run tests locally a few times and also got error, I will try to fix this.

ok, now code pass all tests for all versions, but as I see new secp256k1 hasn't functional for recovering public key from DER signature.. so I added throwing error

Looks good, Merged! :+1:

ok published as 1.1.6


Accuracy on validation set

Hi @rosinality, Great job!
Is the accuracy you reported for training set?
I got 96.xx% accuracy on train data, and the avg. accuracy on validation set is 85.9%.

Reported value is valid set accuracy. I remember that I haven't experienced severe overfitting.

Thanks for your reply. Oh okay, I will train it again and will try early stopping.

@aurooj thanks for this helpful issue! did you have to do anything special to get the validation error up?

I run the original code, and also only achieve ~85% acc on val set. Then I remove EMA trick, and the validation acc becomes ~93.5%, still much lower than the reported....


Add state-wise api for State -Confirmed-Recovered-Deaths-Active

There is no api for Statewise data, can that api added for state-wise data of Confirmed-Recovered-Deaths-Active.

https://api.rootnet.in/covid19-in/unofficial/covid19india.org/statewise
https://api.rootnet.in/covid19-in/unofficial/covid19india.org/statewise/history

Okay thanks, closing it!


default queues-poll-interval seems to be 4s instead of 1s

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[x] 2.8
[ ] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[x] MacOS, version: 10.11.5

Foxx
According to the docs, the default queues-poll-interval is 1 second. With that setting, I'd expect the average time between me putting a job into the queue and the job starting to be processed to be just over half a second. But it is consistently exactly 2 seconds.
mycontroller.js:
let myQueue = Foxx.queues.create('myjob');

controller.put('/myaction', function(req, res, injected) {
  myQueue.push({mount: '/myjob', name: 'myjob'}, {what: 'ever'});
  console.log('enqueued...');

myjob.js:
  console.log('processing...');

The timestamps between "enqueued" and "processing" in my log are always 2s apart.
2016-07-22T19:03:44Z [47953] INFO /myapp, incoming request from <IP_ADDRESS>: PUT http://localhost/_db/mydb/myapp/mycontroller/myaction
2016-07-22T19:03:44Z [47953] INFO enqueued...
2016-07-22T19:03:44Z [47953] INFO /myapp, outgoing response with status 200 of type undefined, no body
2016-07-22T19:03:46Z [47953] INFO processing...

The 2.8 docs state

If Foxx queues are not used much, then this value may be increased to make the queues thread wake up less.

But even if I repeat the above test every 2s for ten times, it's still always exactly 2 seconds between enqueuing and processing. Why?

 At a cost of 50% cpu load :/
Truncating the _jobs collection doesn't seem to make a difference.

Looks like the queue manager is woken up every --server.foxx-queues-poll-interval seconds. If set to 1 the queue manager actually wakes up every second. However, when it finds a job, it seems to schedule it with a delay of 1 extra second (for whatever reason). The following patch should correct that, so the dispatched job will be scheduled for immediate execution:
diff --git a/js/server/modules/org/arangodb/foxx/queues/manager.js b/js/server/modules/org/arangodb/foxx/queues/manager.js
index 6383270..d371d34 100644
--- a/js/server/modules/org/arangodb/foxx/queues/manager.js
+++ b/js/server/modules/org/arangodb/foxx/queues/manager.js
@@ -87,7 +87,7 @@ var runInDatabase = function () {
               } catch(e) {}
               db._useDatabase(initialDatabase);
             },
-            offset: 1,
+            offset: 0,
             isSystem: true,
             params: {
               job: _.extend({}, job, {status: 'progress'}),

Extra delay removed in 2.8, 3.0 and devel branches.

The extra delay of 1 second issue is fixed in 3.0.4, which was released today.
There is also a fix for 2.8 via c7a7b1141a13f3593a26f20bedda3e2f03555f43, but there is no release date yet.

Closing this as fixed in 3.0 and 2.8.


Http2LifecycleManager.onException rename

Motivation:
Http2LifecycleManager.onException takes a Throwable as a paramter and not an Exception. There are also onConnectionError and onStreamError methods in the codec. We should rename this method to onError for consistency and clarity.
Modifications:

Rename Http2LifecycleManager.onException to Http2LifecycleManager.onError

Result:
More consistent and clarified interface.

@nmittler - FYI

LGTM

@Scottmitch ship it

Cherry-picked 4.1 (edb91af) master (5edffb7)


Add site for ubuntu20.04-intel22 container build of spack-stack for ufs-srw-v2

This adds ubuntu-intel as a site within the configs section and updates the versions of several libraries in the ufs-srw-public-v2 template (this could be an issue for official compatibility with the public release, but allows the stack to build).

Something I found helpful was to install a couple more packages with apt and add those as external so you don't have to build Perl, etc from scratch.
https://github.com/kgerheiser/spack-stack/blob/00bbef2cbbc019252c5fdf154b57798f40063f34/configs/containers/docker-ubuntu-gcc-openmpi.yaml#L26-L115
https://github.com/kgerheiser/spack-stack/blob/00bbef2cbbc019252c5fdf154b57798f40063f34/configs/containers/docker-ubuntu-gcc-openmpi.yaml#L148-L161

Thanks, Mark. In the end, what we really want is the containers to be buildable by using configs/containers/a-yaml-file, for example:
configs/containers/docker-ubuntu-gcc-openmpi.yaml

And then follow the instructions in the spack-stack documentation https://spack-stack.readthedocs.io/en/latest/Quickstart.html#create-container:
See a list of preconfigured containers
spack stack create ctr -h

# Create container spack definition (spack.yaml) in directory envs/<container-config>
spack stack create ctr docker-ubuntu-gcc-openmpi --template=empty

# Descend into container environment directory
cd envs/docker-ubuntu-gcc-openmpi

# Edit config file and add the required specs in section "specs:"
emacs spack.yaml

# Docker: create Dockerfile and build container
# See section "container" in spack.yaml for additional information
spack containerize > Dockerfile
docker build -t myimage .
docker run -it myimage

Do you think it is possible to turn your site config into something like that? I can also see the benefit of having instructions for building generic linux/macos systems with Intel (outside containers), but for gcc, clang, ... what we have done so far is to use the linux.default and macos.default site configs and provide the instructions here: https://spack-stack.readthedocs.io/en/latest/Platforms.html#generating-new-site-configs

I'll see what I can do in terms of converting it to a yaml-based approach next week.

I have pushed a new docker-ubuntu-intel-impi implementation that works, but requires some manual manipulation of the Dockerfile. I have added a README.intel file that explains what must be changed after the "spack containerize" command is run. If anyone has an idea on how to get spack to install the intel-hpckit in a better manner, please let me know and I will try it out. Similarly, the spack.yaml file that gets created initially has both mpich and openmpi it it, which need to be removed. If there is a way to avoid that, please let me know that as well. Finally, I had to modify the Dockerfile template in spack to comment out the section that attempts to strip binaries because it fails and aborts the build.

If it is possible, I would like to keep the ubuntu-intel "site" in some way for use in building containers for the UFS releases. I think that method of building containers is considerably more flexible and also allows spack to build and install the oneapi stuff directly, which eliminates many of the extra things that get installed via apt.

I think it would be good if we could chat about this in a brief meeting this week, way more efficient than exchanging github comments?

Do you have a link to the container you have?

@mark-a-potts I am going to send you some updates or ask you to try the new feature we added in for container builds, i.e. the extra instructions in the pre_build and pre_final phases. That should address the problem of having to move instructions around in the auto-generated Dockerfile.

This PR is replaced by https://github.com/NOAA-EMC/spack-stack/pull/338 - #338 includes all the original commits from @mark-a-potts but uses recently developed features in our spack fork to have extra instructions in the pre_build and pre_final phases, plus making the Intel container more similar to the existing ones.


Confusing "save connection" behavior

What happens:

When pressing "+" the form to create a new connection will open
When I press "Save connection" while having an open connection, this connection will be saved

The button has nothing to do with the form, it is bound to the active connection.
This explains why this button was disabled when I created the first connection. I was confused, I cannot save it, but the reason was that I did not have an active connection.
What do users expect:

The button should act as a flag, if the connection I'm just creating should be saved in the library.
With the current functionality of the button, it should not be part of the form

Agree. Added a bookmark action item to the Dashboard in 456f773

Should it be removed from the login?

@matthiaaas I'd rather change its behaviour to a check box, so that'll save it after a succesful connection.

I agree on both cases.

If it's not yet bookmarked, a bookmark action items on the Dashboard makes sense.
When creating a connection in most cases I already know if I want to bookmark it, so a checkbox to bookmark it after a successful connection would be good.

The bookmark action item should be always visible to also allow removing of the bookmark. Indicated by filled or unfilled icon.
Agree to checkbox.
Make it possible to add a bookmark without connecting.


Spelling/grammar fixes for ch 2, 4, 5, 6

Fixes:

Chapter 2 (PyMC3): typo in "prior distributions" in last paragraph of "A Simple Case"
Chapter 4 (PyMC3): typo in Law of Large Numbers Example - "... is equal to it's parameter." (it's --> its)
Chapter 4 (PyMC3): “Our intuition should tell us that the counties with the most extreme population heights should also be uniformly spread over 100 to 4000” (4000 --> 1500)
Chapter 4 (PyMC2 and PyMC3): #adding a number to the end of the %run call _with_ get the ith top photo (with --> will, photo --> post)
Chapter 5 (PyMC2 and PyMC3): "This loss function might be used by a political pundit who's job requires him or her to give confident "Yes/No" answers.” (who’s —> whose)
Chapter 6 (PyMC3): "... suggesting that it's true daily return is negative ..." (it's --> its)

Thanks for the read!

❤ nice! Thanks @itselijahtai

My pleasure @CamDavidsonPilon


add mras, salesforce,  external and tealium etc config to the server info

It looks like we only have an issue with yaml-rule-plugins. Open an issue in that repo and close this one.

https://github.com/networknt/yaml-rule-plugin/pull/52


fix ibc client query: use revision number and correct path

Nice! Refs #3143, where I first tried to implement these. Looks like these query changes don't affect consensus, so we could conceivably release as a point release. Thoughts?


description failed to render despite long_description_content_type="text/markdown"

Describe the bug
i have exactly the same problem as in #4079
Expected behavior
succesfully uploading a new version of a package using:
python setup.py sdist upload --sign

i have prior to this run pip install -U twine wheel setuptools
i also removed all language indicators following ```
i also ran twine check dist/pkg... which responded with PASSED

this is the package i tried to upload: https://github.com/stef/pwdsphinx/

what ever i do i always get:
Upload failed (400): The description failed to render in the default format of reStructuredText.

figured it out myself. it turns out that readme_renderer does not like this line:
sphinx: a password **S**tore that **P**erfectly **H**ides from **I**tself (**N**o **X**aggeration)

if i put a space after each emphasized letter it works.


Push chocolatey-fosshub extension and update packages

Any package that uses the Fosshub Utility function should be changed to use the Fosshub extension.

Affected packages:
audacity
avidemux
datacrow
hwinfo.install
hwinfo.portable
IrfanView
irfanviewplugins
kitty.portable
lightalloy
mkvtoolnix
palemoon
smplayer

What a guy! :+1:
I am away to get on a flight, but I will look to taking care of this on the flight :smile:

Well aren't you going to have the most exciting flight ever! (List current as of 2016-04-23)

[x] audacity
[x] avidemux
[ ] datacrow
[ ] hwinfo.install
[ ] hwinfo.portable
[ ] IrfanView
[ ] irfanviewplugins
[ ] kitty.portable
[x] lightalloy
[x] mkvtoolnix
[ ] palemoon
[ ] smplayer

@dtgm It doesn't look like palemoon uses fosshub anymore, so I think it can come off the list.

@gep13 Good to know, but that isn't a list I was maintaining. I just did a quick grep for packages containing "fosshub" in the install files. It looks like you removed those comments now though.

@gep13 pushed https://chocolatey.org/packages/chocolatey-fosshub.extension
Related question, do you know of a way to add leading space in markdown? I tried
`  `<`dependency id="chocolatey-fosshub.extension" /`>

and
  isn't permissible ... wait, I wonder if &nbsp; would work...

^^^ Oh dang, that works.

Calling this one done in favour of this one: https://github.com/chocolatey/chocolatey-coreteampackages/issues/265


failing Docs build

Description
Not sure what is happening but it seems that the documentation fails...
@williamFalcon could you pass details about documentation build?

we no longer have the old docs... so the deployed version is out of sync and the build fails.
The solution is to get the new docs in place

What will be the new mapping of the top link/shortcuts in new docs?
  'github': 'https://github.com/williamFalcon/pytorch-lightning',
  'github_issues': 'https://github.com/williamFalcon/pytorch-lightning/issues',
  'contributing': 'https://github.com/williamFalcon/pytorch-lightning/blob/master/CONTRIBUTING.md',
  'docs': 'https://williamfalcon.github.io/pytorch-lightning/documentation.html',
  'twitter': 'https://twitter.com/PyTorchLightnin',
  'discuss': 'https://join.slack.com/t/pytorch-lightning/',
  'tutorials': 'https://williamfalcon.github.io/pytorch-lightning/examples.html',
  'previous_pytorch_versions': 'https://github.com/williamFalcon/pytorch-lightning/releases',
  'home': 'https://williamfalcon.github.io/pytorch-lightning/',
  'get_started': 'https://williamfalcon.github.io/pytorch-lightning/new-project.html',
  'features': 'https://williamfalcon.github.io/pytorch-lightning/',
  'blog': 'https://medium.com/@_willfalcon',
  'resources': 'https://williamfalcon.github.io/pytorch-lightning/',
  'support': 'https://williamfalcon.github.io/pytorch-lightning/',


Get start and end date of date range selected

It would be useful to get the start and end date of the date range selected in fava.
This would be particular useful for projections. I.e. project until the end of a date range.
I am not sure if there is already a way to do it, but I could not find a way.

Hi Simon,
you can use ledger.dateFirst and ledger.dateLast.
It's documented here: https://github.com/andreasgerstmayr/fava-dashboards?tab=readme-ov-file#configuration

Hi Simon,
you can use ledger.dateFirst and ledger.dateLast. It's documented here: https://github.com/andreasgerstmayr/fava-dashboards?tab=readme-ov-file#configuration

I'm trying to get the first and last date selected.
ledger.dateFirst and ledger.dateLast only seem to return the first and last transaction, but not the selected date range.
For example: I want to calculate a projection on the amount of tax I have to pay by the end of the tax year, when selecting the FY2025 tax year, ledger.dateLast will only return the last transaction not the end of the tax year.

You're right. I've added the filter dates in #80

Thank you for your awesome work


Make error handling a bit more friendly

Hello :wave:
After releasing a new version of one of my libs I received several messages from Laravel users saying that their apps were broken due to deprecation messages:

https://github.com/lcobucci/jwt/issues/550
https://github.com/lcobucci/jwt/issues/551
https://github.com/lcobucci/jwt/issues/553
https://github.com/lcobucci/jwt/issues/557

This is then an attempt to help other library authors/maintainers not to break end user's apps.

I don't think we can make this kind of change to 8.x, since it's breaking. Maybe this could be considered for master, though.

How are you firing your deprecation errors? They should be silenced like how Symfony does it. Laravel 6 definitely calls deprecated symfony code which fires errors, but we don't get complaints from people there?

Yep, you need to add an @ sign here: https://github.com/lcobucci/jwt/commit/5ce37ae2061942019e21ad5ef3af160cb5a4ad39.

https://github.com/symfony/deprecation-contracts/blob/main/function.php#L25

@GrahamCampbell I disagree with this being a breaking change but your package your rules.
I've explained the technical details on why @ wasn't used in https://github.com/lcobucci/jwt/issues/550#issuecomment-733557709 and we don't need to go over the options and debate them here too.
It would be great to have the technical details of why error handling is so aggressive in Laravel (just so your users are aware of the fact that even deprecation in the language crashes their app).
Have a great day :wave:

I've been talking to @lcobucci about this and I'm going to investigate all this soon when I find the time for it. I agree we can't make this change on a patch release and at the moment I think I also lean towards removing that line completely. But I need some more time to investigate the actual consequences of doing that and check with the community on how it effects the ecosystem around the framework.

I've sent a PR to fix your package: https://github.com/lcobucci/jwt/pull/568.


Create a way to migrate or bootstrap

I'm currently using agnostic in a bash run script, where the database can exist from previous versions, and means the database can be in one of 3 states:
1 It is a fresh installation, and the database will be created and agnostic will be bootstrapped.
2 The database is already created, but agnostic has not been bootstrapped.
3 The database is created and agnostic has been bootstrapped.
Dealing with cases 2 and 3 are awkward, because I need to catch the error thrown by agnostic, and parse the message to see if agnostic needs to run bootstrap or migrate.
It would be nice if there were some way to run migrations which would fallback to bootstrapping with agnostic.  At the very least a silent run option would be nice, where I could run both bootstrap and then migrate, and ignore all errors.

I don't totally understand the problem, but I'll list a few solutions that popped into my head. Maybe discussing these will help me understand your use case better.

I don't think there's any harm in running bootstrap on a system that's already bootstrapped. You could just always run agnostic bootstrap && agnostic migrate right?
The exit code of agnostic bootstrap should be non-zero if bootstrapping fails. Could you use the exit code, like agnostic bootstrap || agnostic migrate? (You can also use the exit code as a condition in an if block for more complicated logic.)
In my projects where I'm using agnostic, we always have some way of knowing the state of the system (whether we are installing fresh or upgrading). For example, you could touch a specific file after deployment. If the script sees that file exists, it knows that it should run in upgrade mode. (I'll send you an example from a private repo.)
If we go down the route of adding a new feature to Agnostic, it sounds like you're asking for an agnostic auto command? Where auto means to bootstrap if it hasn't been bootstrapped, otherwise run migrations?

It would be nice if there were some way to run migrations which would fallback to bootstrapping with agnostic. At the very least a silent run option would be nice, where I could run both bootstrap and then migrate, and ignore all errors.

How about agnostic bootstrap 2>&1 >/dev/null?

I ended up putting in a check for the database using mysqlshow.  If no database exists, it builds the database and runs agnostic bootstrap.  If the database exists, it simply runs agnostic bootstrap &> /dev/null then agnostic migrate.
This solution and the other solutions above seem to be fine.  It'd be great to add documentation for new users in the same boat I was, so they have some approved methods of dealing with the problem.
I'll go ahead and close this issue.

A quick addendum to this after attempting to deploy.  Make sure to run bootstrap with the --no-load-existing arg before running migrate.


Project: Text Animation [GSSoC'23]

Describe the project you want to add with tech stack

I want to add a text animation project, created using HTML & CSS.
Additional context (optional )

I am contributing this project as part of GSSoC'23.

I would like to work on this.

Hi,I have experience with the project's tech stack.Please assign this issue to me under GSSOC'23..It would be grateful for me to contribute.

I want to contribute to this project.
Kindly assign me this issue.


Feat/add implicit capability warning

Closes #16
Description

Add warning for potential Capability leak via public array field.
pub contract MyContract {
    pub let myCapArray: [Capability]
   init() {
       	self.myCapArray = []
   }
}

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[ ] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

@nozim given that #176 subsumes this PR, could you please close this PR?

Closing due to merge to #176


crashing with "Symbol not found: ____chkstk_darwin" on macOS 10.13

On macOS, using the latest prebuilt binary (downloaded today), I open the app and successfully login with my username and password. But then trying to run the app results in a segfault. I'm running High Sierra 10.13.6, I'm assuming that this isn't supported?
Segfault output is below:
> ./psst-gui
[2021-08-17T18:13:29Z INFO  psst_gui::data::config] loading config: "/Users/me/Library/Application Support/Psst/config.json"
[2021-08-17T18:13:29Z INFO  psst_core::cache] using cache: "/Users/me/Library/Caches/Psst"
[psst-gui/src/widget/promise.rs:44] self_id = WidgetId(
    1,
)
[2021-08-17T18:13:29Z INFO  psst_core::access_token] access token expired, requesting
[psst-gui/src/widget/promise.rs:44] self_id = WidgetId(
    36,
)
[psst-gui/src/widget/promise.rs:44] self_id = WidgetId(
    99,
)
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/me/app/psst/./psst-gui (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/me/app/psst/./psst-gui (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6

Building from source, however, and then running works ok (after upgrading to rust 1.54.0). Apologies for the noise, feel free to close if this is expected behavior.

The Mac runners hosted by GitHub are using macOS 10.15, and @dustmop is running on 10.13. The binary builds will need to run on macOS 10.15 or higher.
@jpochyla we could fix this by setting MACOSX_DEPLOYMENT_TARGET to a minimum supported version (https://github.com/rust-lang/cargo/issues/4667)


plugin: Incorporate hapi-info.

https://github.com/danielb2/hapi-info

Requires an outdated hapi.


Include the swedish characters ÅÄÖ in people directory

Category

[ ] Bug Fix
[ X] New Feature
Related issues: fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
If locale is swedish we include the swedish characters ÅÄÖ in the people directory webpart. This could easily be extended to handle other locales such as Norwegian etc

thx @ytterstrom, makes perfect sense... let's add the locale exceptions based on demand.


Add support for Yahoo! mail, Gmail fixes

get my verification code for my gmail account

We do not longer use or maintain this project. Please fork it and consider releasing own versions if you need modifications. I'm going to add a a note to the readme and archive the repo shortly.


Do you have the T5 model after pre-training? We don't have enough computational resources to pre-train T5

Hello, you can find the pre-trained model in the online appendix following this link:
(https://drive.google.com/drive/folders/1pQKhs3NG26tbc3oQlzD9ylPIW2o20Eqt?usp=sharing)

thank you very much


Add Position options x & y for data-dismiss button

If you could, that would be nice.
Because right now, i must add !important to top and right properties...

You want to be able to move the close button to a specific location?
I can look into this.


Extracted data doesn't match table possibly due to Finnish number locale and indentation (nesting) in first column (pdf attached)

I'm unable to extract data correctly from the attached pdf.  I've attached a screencap from the table selection and from the preview screen. Tabula version 1.2.1 (Mac).
example.pdf

Hi @timopulkkinen . Have you any solution for this problem. I got the same issue. Thanks !

Nope, sorry.


[Bug]<EMAIL_ADDRESS>'python/extensions' is not a package

What happened?
I ran the following command: bazel run --enable_bzlmod //python:main and got the following error:
Error loading '@rules_python~0.21.0//python/extensions:python.bzl' for module extensions, requested by <root>/MODULE.bazel:6:23: Label '@rules_python~0.21.0//python/extensions:python.bzl' is invalid because 'python/extensions' is not a package; perhaps you meant to put the colon here: '@rules_python~0.21.0//python:extensions/python.bzl'?: Label '@rules_python~0.21.0//python/extensions:python.bzl' is invalid because 'python/extensions' is not a package; perhaps you meant to put the colon here: '@rules_python~0.21.0//python:extensions/python.bzl'?

Version
Development (host) and target OS/architectures:
OSX aarch64
Output of bazel --version:
bazel 6.2.0
Version of relevant rules from the WORKSPACE or MODULE.bazel file:
<EMAIL_ADDRESS>Language(s) and/or frameworks involved:
Python
How to reproduce
In MODULE.bazel:
bazel_dep(name = "rules_python", version = "0.21.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
    name = "python3_10",
    configure_coverage_tool = True,
    python_version = "3.10",
)
use_repo(python, "python3_10")
use_repo(python, "python3_10_toolchains")

register_toolchains(
    "@python3_10_toolchains//:all",
)

The extension usage changed with https://github.com/bazelbuild/rules_python/commit/46537cf32f8bf722a6be805821cb2ee17d7b936a, but that change hasn't been released yet.
@rickeylev @chrislovecnm

anything I can do to help?

FYI 0.24.0 of rules_python has been released so bumping to that version should resolve this issue. Note the extension API change though!


Add branches-ignore to merge_group schema

See comment on previous PR: https://github.com/actions/languageservices/pull/12#issuecomment-1500715535
Investigate adding branches-ignore to merge_group schema.

Just to re-confirm before I report similar issues to github/docs and rhysd/actionlint, does this mean on.merge_group.branches-ignore is officially supported by GitHub Actions in public beta?


Can't fork with latest pip version

django-oscar==1.6.6
django-oscar-wagtail==0.2.0
wagtail==2.3
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/my/project/directory/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/my/project/directory/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute
    django.setup()
  File "/my/project/directory/venv/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/my/project/directory/venv/lib/python3.6/site-packages/django/apps/registry.py", line 112, in populate
    app_config.import_models()
  File "/my/project/directory/venv/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/my/project/directory/venv/lib/python3.6/site-packages/oscar_wagtail/models.py", line 5, in <module>
    from wagtail.wagtailadmin.edit_handlers import (FieldPanel, InlinePanel,)
ModuleNotFoundError: No module named 'wagtail.wagtailadmin'

@mjlabe would you mind explaining how you get things up and running? I'm hitting this same error and I'm fairly sure I built up my Django stack the same way you did.

I hit the same error

@mjlabe would you mind explaining how you get things up and running? I'm hitting this same error and I'm fairly sure I built up my Django stack the same way you did.

I was trying to add Oscar to wagtail, but I had to start with Oscar by following the instructions and add wagtail after. I quickly gave up though because it's not very customizable, doesn't seem active, and was not pleasant to work with.

@mjlabe have you found anything suitable? I like wagtail and want to add some e-commerce functionality without getting into anything too complex. I was also looking at Satchless but it seems lacking in documentation and generally fallen to the wayside.

No, I've actually stopped using both. I've found writing my own to be faster than trying to pigeon hole the projects.

From wagtail 2.0 many of the modules were renamed e.g wagtail.wagtailadmin is now wagtail.admin, your will have to fork django-oscar-wagtail and rename the modules to have it up and running. Documentation


Port #2525 and #2531 to master

#2525 and #2531 were merged in the https://github.com/input-output-hk/ouroboros-network/tree/coot/connection-manager. However, that branch won't be merged for another few weeks. In the meantime, the merge conflicts with the changes made in those two PRs will accumulate. For example, I know that #2546 will cause a merge conflict.
Now that @coot has kindly merged #2541 (which those PRs depended on) in master, we can port #2525 and #2532 to master so we can avoid the upcoming merge conflicts. After this PR is merged, the coot/connection-manager branch should be rebased onto master.

Ah, #2525 makes the ThreadNet tests loop/hang. I did not realise that before, because the branch in which I merged #2525 didn't compile cleanly on CI (so CI never ran these tests) and I never ran them myself :flushed:.

Ah, #2525 makes the ThreadNet tests loop/hang. I did not realise that before, because the branch in which I merged #2525 didn't compile cleanly on CI (so CI never ran these tests) and I never ran them myself flushed.

I solved the issue with help from @nfrisby, see #2553.

@coot @dcoutts @nfrisby Can somebody approve/review this PR? It ports two already reviewed PRs to master. However, because the branch in which they were merged had build errors in CI, we never detected a bug in the original PR, which @nfrisby and I fixed.
@coot This means your coot/connection-manager branch still contains that bug, so best to merge this PR soon and rebase your branch on top of master.

bors merge


4.22 Build failed

Hi, this is on the release branch, UE4.22
how bad these errors are?
Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E1850	cannot override 'final' function "AController::Possess" (declared at line 266 of "C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework\Controller.h")	RTSPlugin	C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPlayerAIController.h	57
Error	C3248	'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPlayerAIController::Possess'	RTSPlugin	C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPlayerAIController.h	57
Error	C3248	'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPawnAIController::Possess'	RTSPlugin	C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPawnAIController.h	75
Error	C3248	'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPawnAIController::Possess'	RTSPlugin	C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPawnAIController.h	75
Error	C3248	'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPawnAIController::Possess'	RTSPlugin	C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPawnAIController.h	75
Error	C3248	'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPlayerAIController::Possess'	RTSPlugin	C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPlayerAIController.h	57
Error	MSB3075	The command ""C:\Program Files\Epic Games\UE_4.22\Engine\Build\BatchFiles\Build.bat" RTSPluginEditor Win64 Development -Project="C:\Users\sam\Documents\Unreal Projects\RTSPlugin\RTSPlugin.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.	RTSPlugin	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets	44

Full output
1>Project not selected to build for this solution configuration
2>------ Build started: Project: RTSPlugin, Configuration: Development_Editor x64 ------
2>Parsing headers for RTSPluginEditor
2>  Running UnrealHeaderTool "C:\Users\sam\Documents\Unreal Projects\RTSPlugin\RTSPlugin.uproject" "C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Intermediate\Build\Win64\RTSPluginEditor\Development\RTSPluginEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2>Reflection code generated for RTSPluginEditor in 4.8603605 seconds
2>Using Visual Studio 2019 14.21.27702 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).
2>Building 9 actions with 8 processes...
2>  [1/9] Module.RealTimeStrategy.gen.3_of_4.cpp
2>C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy/Classes/RTSPlayerAIController.h(57): error C3248: 'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPlayerAIController::Possess'
2>  C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(266): note: see declaration of 'AController::Possess'
2>  [2/9] Module.RealTimeStrategyTests.cpp
2>C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPawnAIController.h(75): error C3248: 'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPawnAIController::Possess'
2>  C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(266): note: see declaration of 'AController::Possess'
2>  [3/9] Module.RealTimeStrategy.gen.2_of_4.cpp
2>C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy/Classes/RTSPawnAIController.h(75): error C3248: 'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPawnAIController::Possess'
2>  C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(266): note: see declaration of 'AController::Possess'
2>  [4/9] Module.RealTimeStrategy.cpp
2>C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPawnAIController.h(75): error C3248: 'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPawnAIController::Possess'
2>  C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(266): note: see declaration of 'AController::Possess'
2>C:\Users\sam\Documents\Unreal Projects\RTSPlugin\Plugins\RealTimeStrategy\Source\RealTimeStrategy\Classes\RTSPlayerAIController.h(57): error C3248: 'AController::Possess': function declared as 'final' cannot be overridden by 'ARTSPlayerAIController::Possess'
2>  C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(266): note: see declaration of 'AController::Possess'
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.22\Engine\Build\BatchFiles\Build.bat" RTSPluginEditor Win64 Development -Project="C:\Users\sam\Documents\Unreal Projects\RTSPlugin\RTSPlugin.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "RTSPlugin.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

it will be good to update this project to 4.22 :)

Hey everyone,
I haven't installed 4.22 on my machine (yet), but you should be fine with overriding OnPossessed instead :)

I'm having the same issue. How do you override OnPossess???

Hello,
I just compiled the plugin and a test project in 4.22.3
To override OnPossess... check RTSCharacterAIController.h/.cpp and RTSPlayerAIController.h/cpp in both files you'll find the function causing the error (ARTSPlayerAIController::Possess). Rename this function to  ARTSCharacterAIController::OnPossess (and ARTSPlayerAIController::OnPossess in the other cpp). In the header files (.h) rename  virtual void Possess(APawn* InPawn) override; to  virtual void OnPossess(APawn* InPawn) override;
Now, the plugin should compile. I'll run some functional tests later.
@npruehs If you want to have the modified files, let me know.
So long and God bless you,

Hello,
I just compiled the plugin and a test project in 4.22.3
To override OnPossess... check RTSCharacterAIController.h/.cpp and RTSPlayerAIController.h/cpp in both files you'll find the function causing the error (ARTSPlayerAIController::Possess). Rename this function to ARTSCharacterAIController::OnPossess (and ARTSPlayerAIController::OnPossess in the other cpp). In the header files (.h) rename virtual void Possess(APawn* InPawn) override; to virtual void OnPossess(APawn* InPawn) override;
Now, the plugin should compile. I'll run some functional tests later.
@npruehs If you want to have the modified files, let me know.
So long and God bless you,

It crashes here with a Null-Pointer
AttackComponent = InPawn->FindComponentByClass();
Looking into it, but haven't found anything yet. It crashes basically on any object inherit from this class.

Any success on this guys? I've been waiting so long to make this work

Does anyone have this project compiled successfully for UE4 (4.22) build?

Hey @saadat99 @grassandberries the steps outlined above should fix the issue, as mentioned before. I haven't got UE 4.22 on my machine yet (our project is picking up new engine versions slowly to make sure nothing breaks), but I'll update this thread as soon as I was able to push the fixes.

Fixed in commit 6dfa12de6ee60f50b97741105012e8b7b83c3762.

Thank you @npruehs.
I confirm that it works. My last issue from yesterday was that I missed the configuration. All seems to be fine now.


Does it support uv mapping?

I have a uv_map.png, and I want to map it to a smpl_template.obj, how can I do that? Does vedo have the feature?

Have you tried
mymesh.texture("path_to/uv_map.png")


Unable to install 1.6.0 on Windows 10

Unable to install 1.6.0 on Windows 10 Home - "The cabinet file 'Data.cab' required for this installation is corrupt and cannot be used." 1.5.6 installs and runs without any issues.

On win 11, my 1.6.0 install had no errors. I used the .exe not the .zip/standalone, so i would think that you have a damaged download. out of interest did your SHA hash calc ok?

My default Windows platform is also Windows 10 Home - no errors on installation here.

It must have been a local issue - I just installed 1.6.1 with no issues. Thanks very much - Sparrow is awesome.


fix(version): update fabric8-stack-analysis-ui to 0.1.4

There were the following issues with your Pull Request

Commit: bc1a7682f5c86e5b4f7990ce7a04a3a0552beb18
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


quote-props: 'as-needed'

Currently we have 'quote-props': ['error', 'consistent']. This sets quote marks around object properties.

"consistent" enforces a consistent quote style; in a given object, either all of the properties should be quoted, or none of the properties should be quoted

// consistent. 'new-jersey' requires quotes, so all properties get quotes
{
  'delaware': 0,
  'new-jersey': 1,
  'maryland': 2,
}

Personally, I recommend 'as-needed'.

"as-needed" disallows quotes around object literal property names that are not strictly required

// as-needed. only 'new-jersey' requires quotes
{
  delaware: 0,
  'new-jersey': 1,
  maryland: 2,
}

This feels easier for me to understand. Also consider this situation
// before, consistent
{
  delaware: 0,
  maryland: 2,
}

// add new-jersey. consistent. all lines changed

{
  'delaware': 0,
  'new-jersey': 1,
  'maryland': 2,
}

Vote 👍  to change to as-needed or 👎 to keep consistent

The 👍 's have it. Adding as-needed.


RSH issue for 1D system

Hi,
I am attempting to obtain band structure for a 1D system using range-separated hybrid(RSH) DFT functionals. I have attached my code at the bottom. The following runs successfully for normal Hartree-Fock, as well as LDA. The issue arises purely from RSH like HSE06 and CAM-B3LYP.
import numpy as np
import matplotlib.pyplot as plt
import pyscf.pbc.gto as pbcgto
import pyscf.pbc.scf as pbcscf
import pyscf.pbc.dft as pbcdft
import sys,time

cell = pbcgto.Cell()
cell.build(unit = 'A',
           a = [[ 2.44923679,0,0],[0,30,0],[0,0,30]],
           mesh =[18, 105, 105],
           atom = '''
C 0.6351735810854515 15.339047075240025 0.0
H 0.6334106195406675 16.429045649535695 0.0
C 1.8140664189145486 14.660952924759975 0.0
H 1.8158293804593326 13.570954350464305 0.0
           ''',
           dimension=1,
           low_dim_ft_type= 'inf_vacuum',
           max_memory=120000,
           verbose = 6,
           rcut = 45,
           basis='ccpvdz')

# 1D kpt/kpath sampling
endpt=np.array([0.5,0.0,0.0])
npoints=15 #var
interval=endpt/(npoints-1)
band_kpts=[]
const=2*np.pi/2.44923679 #var
ranged=const/(npoints-1)
kpath=[]
kpath.append(0.0)
band_kpts.append([0.0,0.0,0.0])
totinter=0.0
a=0.0
for i in range(npoints-1):
    totinter=totinter+interval
    print('tot interval: ', totinter)
    a=a+ranged
    arr=totinter

    kpath.append(a)
    band_kpts.append(arr)

kpath=np.array(kpath)
print('before band kpts: ', band_kpts)
band_kpts=np.array(band_kpts)
band_kpts = cell.get_abs_kpts(band_kpts)#
print('kpath:', kpath)
print('band kpts:', band_kpts)
#
# band structure from Gamma point sampling
#
sp_points=np.array([kpath[0],kpath[-1]])
e_kn=[]
for kpt in band_kpts:
    kpts=cell.make_kpts([2,1,1]) + kpt
    mf = pbcdft.KRKS(cell,kpts).density_fit()
    mf.xc='cam-b3lyp'
    print(mf.kernel())
    e_kn.append(mf.mo_energy[0])

# Normalize E

vbmax = -99
for en in e_kn:
    vb_k = en[cell.nelectron//2-1]
    if vb_k > vbmax:
        vbmax = vb_k
e_kn = [en - vbmax for en in e_kn]

#
# Plot band structure
#
au2ev = 27.21139
outx=open('x.dat','w')
outy=open('y.dat','w')
nbands = cell.nao_nr()
for n in range(nbands):
    outx.write(str(list(kpath)))
    outx.write(',')
    a=[]#[e[n]*au2ev for e in e_kn]
    for e in e_kn:
        a.append(e[n]*au2ev)
    outy.write(str(a))
    outy.write(',')
    print('*********')
    print("plotted kpath:", kpath)

The error message is as follows
    print(mf.kernel())
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/lib/misc.py", line 598, in aliased_fn
    return getattr(self, fname)(*args, **kwargs)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/scf/hf.py", line 1654, in scf
    conv_check=self.conv_check, **kwargs)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/scf/hf.py", line 144, in kernel
    vhf = mf.get_veff(mol, dm)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/dft/krks.py", line 103, in get_veff
    vklr = ks.get_k(cell, dm, hermi, kpts, kpts_band, omega=omega)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/scf/khf.py", line 554, in get_k
    with_j=False, omega=omega)[1]
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/scf/khf.py", line 563, in get_jk
    with_j, with_k, omega, exxdiv=self.exxdiv)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/df/df.py", line 703, in get_jk
    with_j, with_k, omega, exxdiv)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/df/aft.py", line 600, in _sub_df_jk_
    omega=None, exxdiv=exxdiv)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/df/df.py", line 719, in get_jk
    vk = df_jk.get_k_kpts(self, dm, hermi, kpts, kpts_band, exxdiv)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/df/df_jk.py", line 232, in get_k_kpts
    _ewald_exxdiv_for_G0(cell, kpts, dms, vk_kpts, kpts_band)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/df/df_jk.py", line 425, in _ewald_exxdiv_for_G0
    madelung = tools.pbc.madelung(cell, kpts)
  File "/Users/zacharywindom/Desktop/software/pyscf/f2/1_7_0/pyscf_qcintOPT/pyscf/pyscf/pbc/tools/pbc.py", line 446, in madelung
    return -np.einsum('i,i,i->', ZSI.conj(), ZSI, coulG*weights).real
ValueError: operands could not be broadcast together with shapes (396900,) (389376,)

Any help resolving this issue and understanding the origin of why HF and basic DFT work, while RSH DFT does not would be appreciated.
Thanks,
Zachary Windom

A workaround is to use even number of mesh points for the non-periodic axes, e.g., mesh = [18,106,106]

fixed in a7fc2661af09f6f6fba4e7f25431ac8686565c95


choosing home

Is there a way to only link devices to HomeKit from one home
in SmartLife tool I have created 2 homes, but I need to link only one to HomeKit, the other one is home of my parents for whom I created some automatization and I don't need them to see in my HomeKit where I have my basic home (iE I don't want to show this devices to other users of my home)
recomended solution is to add option "home" where I could specify which one to link

Please see the option on hiding devices.
The api that this plugin uses does not expose information on the home you are using so this is not possible.


Fix(ui): Fix statemtent list initial loading

close #829

Set the initial loading statement to true
Fix initial loading statement when queryStatementList
Hide loading when catch errors

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

I will test it today.


AS-37 GKE Workload ID Docs

Rationale
CHANGE BASE BRANCH
The base branch will be changed after creating a release branch.
We should document how GKE Workload Identity Federation is achieved in FiftyoneTeams. This PR aims to add a new section to the helm chart's README, adding GKE-centric deployment steps.
Changes
New links, docs, and write-ups pertaining to GKE workload identity.
Checklist

[x] This PR maintains parity between Docker Compose and Helm

There is purposely no parity as this notion doesn't exist in compose.
Testing

if you target this at main, it will throw a new release.  Please create a release/v2.2.0 branch and put it there?

if you target this at main, it will throw a new release. Please create a release/v2.2.0 branch and put it there?

Yeah, this is called out in the PR description already

Closing in favor of https://github.com/voxel51/fiftyone-teams-app-deploy/pull/215


Destroy session HTTPS error

@oskosk
/var/website/node_modules/express-socket.io-session/index.js:96
return originalId === sess.id && savedHash === hash(sess);
                                               ^
TypeError: Cannot read property 'id' of undefined
  at isSaved (/var/website/node_modules/express-socket.io-session/index.js:96:30)
  at shouldSave (/var/website/node_modules/express-socket.io-session/index.js:112:8)
  at /var/website/node_modules/express-socket.io-session/index.js:66:10
  at _combinedTickCallback (internal/process/next_tick.js:73:7)
  at process._tickCallback (internal/process/next_tick.js:104:9)

Work without HTTPS .. 😢

@oskosk ?

Same issue here when calling session.destroy() oder set session to null. In http.


no-implicit-dependencies: make nested package check optional

Bug Report

TSLint version: 5.10.0
TypeScript version: 2.8.1
Running TSLint via: CLI

TypeScript code being linted
You need nested directories that both have a package.json:
src/
  package.json
  sub/
    package.json
    file.ts

Your src/package.json can include dependencies, but your src/sub/package.json should not have these dependencies. Then, file.ts should import a dependency listed in src/package.json.
with tslint.json configuration:
{
  "no-implicit-dependencies": true
}

Actual behavior
You will get an error, Module 'X' is not listed as a dependency in package.json
Expected behavior
It appears that this is expected and it's intentional.
However, there may be a need for nested package.json for a variety of reasons such as path aliasing. I see two solutions to the issue:

Optionally allow checking for multiple package.json in the file system hierarchy
Create an option to allow users to specify the path to the package.json that lists their dependencies relative to tslint.json.

@ajcrites i dunno, the warning there seems good. if you published these packages to NPM then that import in the sub package would fail because it doesn't actually depend on the other package.
if you're not publishing these packages to NPM, then this rule has no value to you and you should disable it.

the check is made optional by disabling the rule, not by adding a workaround option for your non-standard setup.

Going to close this as @giladgray has explained the solution.

@giladgray and @johnwiseheart this is a pretty common setup in react-native projects. People creates package.json files with just a name on it to avoid deeply nested relative path transversal, ex: ../../../../redux/selectors/user. The metro packager supports it by default without any configuration.
Even if most of this private projects don't end up in npm, it doesn't mean that the rule is not valuable to really check and make sure people is not including packages that are not defined in their main package.json file. There is a reason for configuration options, and is to allow accommodating non-standard setups, and I think this is one of those cases.
Also, the eslint "import/no-unresolved" rule supports this nested package.json behaviour with the default node import resolver without any configuration.
In my case, I'm migrating from JS to typescript and the last thing I want to do is relax my linting rules and introduce a new set of errors, in fact, the main reason to migrate to typescript is to eliminate a whole kind of errors that are possible in JS and not in TS. So it'll be nice to have the same safety net with TSLint.

@elyalvarado your use case makes sense to me. Do you have a public repo or two you can link here that shows an example of where the changed no-implicit-dependencies behavior would be useful?
I like this suggestion a bit more:

Create an option to allow users to specify the path to the package.json that lists their dependencies relative to tslint.json.

...with the added question of whether some projects would want the option to specify multiple package.json paths.

@JoshuaKGoldberg I don't have a public repo, but I can create an example react-native app that has eslint working and tslint's no-implicit-dependencies failing

@JoshuaKGoldberg here is a repo that shows the behaviour https://github.com/elyalvarado/TSLintFailingSample

Perfect, thanks for posting this & walking through the reasoning! Agreed that TSLint can fix the react-native use case with an option rule config setting.

+1

☠ TSLint's time has come! ☠
TSLint is no longer accepting most feature requests per #4534. See typescript-eslint.io for the new, shiny way to lint your TypeScript code with ESLint. ✨
It was a pleasure open sourcing with you all!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


side effect with ID

Public API is UpdateSideEffect(). Not super happy about that name. Please comment if you have better idea. Also need help to have better doc for that public API.
Besides that, I have manually tested with local cadence server with workflow worker disable stickiness to make sure that it worked in replay mode and also verified history events that only record new marker when value is changed.

Coverage decreased (-0.6%) to 64.552% when pulling 79e2ce174703782debc0ee191cf864de93bd1cf3 on yiminc:ided_side_effect into c1e13fdb07fa73de71f0fca541dab3518cca51ec on uber-go:master.


enable adding data property to action definition

Now you can add a data object to an action definitions. This data gets merged with the user-data.
I was not sure whether user-data should override action data or vis-verca. But i think, that user-data overrides the action data makes slightly more sense.
fixes https://github.com/amwmedia/plop/issues/88

merging this... docs available in the v2 release prep branch

Hi, I'm new to plop and know very little Node.js. I'm trying to use this feature, I'm not able to figure out how:
actions: [{
      type: 'add',
      path: 'src/{{directory}}/{{pascalCase name}}Component.jsx',
      templateFile: 'templates/component.hbs',
      data: {
        name: '{{pascalCase name}}Component'
      }
    },
   ...
]

What am I doing wrong? I want to append Component to the name before passing it to the template, since there are other actions which use the name as is. Thanks in advance!

to append a string to the end of the input you would normally just add it to the template (just like you did in your example for the path value. If you want the word component to be dynamic so you can use the same templateFile for other actions as well you can add another property to the data object and use it in your template.
example:
actions: [{
      type: 'add',
      path: 'src/{{directory}}/{{pascalCase name}}{{pascalCase nameSuffix}}.jsx',
      templateFile: 'templates/component.hbs',
      data: {
        nameSuffix: 'Component'
      }
    },
   ...
]

Thanks, this works! A simple solution!


vsock integration

Houdini now should be able to run exploits on vm using the run command.

@kguy090597 Thanks, I'll take a look shortly. As the first bit of feedback, can you do the following? Add a "signed-off-by" line to your commits and fix up the commit messages to be in the form of "component: feature", all in lowercase, with the commit title truncated to at most 80 chars. You can look at some of my other commits as a reference.
To do this in one step, you can do the following:
git fetch origin && git rebase -i -s origin/main

Where it says "pick" in front of each step, change that to "r" for "reword". Then you can update the commits one by one.

Also, it would be good to squash some of the commits like "clean up unused crates" with the commit that introduced the crates. That way we can prevent noise.

@kguy090597 still missing DCO, could you run git rebase -i -s origin/main? Also needs a rebase to fix up conflicts with Cargo.lock

Closing in favour of #65


How to...

Please how can I install the expo orbit on my windows10 machine

You probably want to install the .exe from here https://github.com/expo/orbit/releases/tag/expo-orbit-v2.0.0-preview.1

ok, thank you

it worked


[question]How save topic messages on DB

Actually im using ZMQ on my application making a call to a symfony controller and this save to db and push to socket for the user.
injecting doctrine on the pubstub is a good practice or wait for push server is better?

You can use Doctrine inside topic there is no problem but indeed push server is better because the concerns to save into db is not related to the transport itself