Performance issues

What if this absolutely destroys the performance of the game? The palworld community uses this for its modding, i have asked over on their reddit a couple days ago but got no response. I lose half my frames, get stutters, the game gets stuck for a dozen of seconds when it has to do any type of loading, like when starting, loading world (which sometimes crashes the game), and going back to the titel, and if i idle on titel. This happens with or without mods. Makes the game completely unplayable unless i want to be playing a slideshow. I seem to be the only one with this problem as far as i know.

The only performance problems that I'm aware of from a standard installation of UE4SS are related to the GUI.
You could try turn the GUI off in UE4SS-settings.ini.

The only performance problems that I'm aware of from a standard installation of UE4SS are related to the GUI. You could try turn the GUI off in UE4SS-settings.ini.

Already did, which did not make a visible difference. I also tried to change the scan attempts, encase it was that, but no difference either.

I'm unable to do any testing because I don't have access to the game.
@narknon Are you aware of any performance problems not related to the GUI when there are no mods enabled ?
Perhaps you can help with profiling, and if you don't have access to the game, maybe you could provide steps that @TeKett can follow to do the profiling themselves.

What is your PC build? If you have bad single core performance you may have a bad time.

You can try turning off hooks in the [Hooks] section in UE4SS-settings.ini and see if that helps.
We do some processing in those hooks so it's worth a try.
You can also try set UseUObjectArrayCache to 0 in the [General] section, that will stop UE4SS from being notified whenever game objects are created or deleted.

Hi, I just tried both your suggestions and wanted to feed back

You can try turning off hooks in the [Hooks] section in UE4SS-settings.ini and see if that helps. We do some processing in those hooks so it's worth a try.

This did not fix the problem

You can also try set UseUObjectArrayCache to 0 in the [General] section, that will stop UE4SS from being notified whenever game objects are created or deleted. Note that you will get reduced functionality, please try this without any mods just to see if the performance gets better.

This DID work and completely removed the stuttering and dropped frames

What is your PC build? If you have bad single core performance you may have a bad time.

i9 9900k
RTX 4070 Ti
64 GB 3600 MHz ram
M2 SSD Samsung 970 EVO Plus, 2 TB

You can try turning off hooks in the [Hooks] section in UE4SS-settings.ini and see if that helps. We do some processing in those hooks so it's worth a try. You can also try set UseUObjectArrayCache to 0 in the [General] section, that will stop UE4SS from being notified whenever game objects are created or deleted. Note that you will get reduced functionality, please try this without any mods just to see if the performance gets better.

I will try it when i get time and see if it will help

To maintainers: Please leave this issue open until the performance problem with UseUObjectArrayCache has been been investigated.

This is known and why we want to move to fuobjecthashtables.

What is your PC build? If you have bad single core performance you may have a bad time.

i9 9900k RTX 4070 Ti 64 GB 3600 MHz ram M2 SSD Samsung 970 EVO Plus, 2 TB

You can try turning off hooks in the [Hooks] section in UE4SS-settings.ini and see if that helps. We do some processing in those hooks so it's worth a try. You can also try set UseUObjectArrayCache to 0 in the [General] section, that will stop UE4SS from being notified whenever game objects are created or deleted. Note that you will get reduced functionality, please try this without any mods just to see if the performance gets better.

I will try it when i get time and see if it will help. What would reduced functionality entail? Would it break anything important when it comes to modding, since thats what im going to use it for?

TLDR: Turning off bUseUObjectArrayCache won't break mods, but it's very likely that some of the hooks will break some mods if they are turned off.
With bUseUObjectArrayCache set to 0, our custom GUObjectArray cache won't be enabled, which means every time a mod tries to fetch an object with StaticFindObject or FindFirstOf or a few other methods, they will have to iterate the entirety of the array that contains every single object in the game.
The search bar in the live view tab in the GUI will also be disabled.
This is what each hook does, and will be unavailable when set to 0.
HookProcessInternal: RegisterCustomEvent (Lua), RegisterHook (Lua & C++) for non-native UFunctions.
HookProcessLocalScriptFunction: Same as HookProcessInternal.
Both exist for compatibility reasons between different engine versions.
HookInitGameState: RegisterInitGameStatePreHook/RegisterInitGameStatePostHook (Lua & C++), BPModLoaderMod due to use of RegisterInitGameStatePostHook.
HookCallFunctionByNameWithArguments: RegisterCallFunctionByNameWithArgumentsPreHook/RegisterCallFunctionByNameWithArgumentsPostHook (Lua & C++).
HookBeginPlay: RegisterBeginPlayPreHook/RegisterBeginPlayPostHook, BPModLoaderMod due to use of RegisterBeginPlayPostHook.
HookLocalPlayerExec: RegisterULocalPlayerExecPreHook/RegisterULocalPlayerExecPostHook (Lua & C++)

This is known and why we want to move to fuobjecthashtables.

I'm not sure what's so slow about our current cache system.
I think some profiling is needed here to figure out what's going on.
We aren't really doing that much stuff related to the cache.
The cache uses HookedStaticConstructObjectPost to cache actor instances and HookedUStructLink for classes and actor classes, and it does so by putting the objects into a std::vector which should be fast.
Maybe it's the invalidation of the cache that's slow ? To invalidate a cached object, we rely on UEs FUObjectDeleteListener to tell us when an object is removed from GUObjectArray, and then we iterate the vector until we find a matching object (by pointer) and delete it if we find it and otherwise we just iterate to the end.
We also look for and delete the object from a different global cache implemented as std::unordered_map but we're using an optimization to avoid needing to look the object up by name (we use pointer instead) every time an invalidation check is made so I wouldn't think this would be particularly slow either.

Frankly, if bUseUObjectArrayCache = 1 is so slow, we should set it to 0 by default in the non-dev releases.

You can try turning off hooks in the [Hooks] section in UE4SS-settings.ini and see if that helps. We do some processing in those hooks so it's worth a try. You can also try set UseUObjectArrayCache to 0 in the [General] section, that will stop UE4SS from being notified whenever game objects are created or deleted. Note that you will get reduced functionality, please try this without any mods just to see if the performance gets better.

I tried to set UseUObjectArrayCache to 0/false, but it either did nothing or maybe improved loading very slightly. Tried both on and off a few times.
Turning off the hooks helped with ingame FPS/performance, but also disabled the mods, and loading is still "freezing". Which one of them is responsible for making mods work?

You can read about what each hook does here: https://github.com/UE4SS-RE/RE-UE4SS/issues/315#issuecomment-1913727041

Well, shit, my mods stopped working completely. So i have no clue if the hooks are doing anything mod related. I can say tho that HookProcessLocalScriptFunction = 1 is causing the bad performance.

Well ok, this is strange...
I got UE4SS a few days ago. I remember now that it played fine, or i at least didn't notice any issues other then some slow loading. Played for a few hours for a day or two then my game started to run bad, like i already said. Thought it was just the game, but turning off UE4SS made it disappear and run fine again. Did some one and off testing with same results.
Fast forward to this thread.
So. I deleted all the UE4SS files, and re-uncompressed them from the same rar file. And then ran the game with no changes to the config file. And... No issues other then the very slow loading, and freezing when loading into the world and when going back to the titel. Turning of the GUI helps with the freezing. No performance issues. HookProcessLocalScriptFunction stopped giving me problems.
Moving the old .dll back again and no performance issues. Comparing the config files and they are identical. If the MaxScanAttempts are too low then it fails to load the mods, likely because it starts to scan before what its looking for exists. Had no impact on performance though.
Personally i can live with the slow loading. I will make a post if it breaks again and game starts to run bad. If neither me or someone else makes another post basically by the end of the week i guess you can close it, and i can open it again if i get issues.
It could just have been windows being windows, since what i basically did was to move the .dll to the trash bin and then move it back.

i would not mod just yet becuase the game is so early on anything could change and the release for this project is quite old now, i would hold off like the 2.5.2 release says and wait until 2.6 of this project to come out
i think the biggest thing you could post is any log files to either this project or t the palmon devs themselves

I'd like to mention that setting these two
bUseUObjectArrayCache = false
GuiConsoleEnabled = 0

helped me with the performance. At least I don't see any noticeable problems, aside from the game crashing every few hours like it usually does with or without UE4SS.

Original issue re-appears after a few days, no clue as to why. If i replace the .dll it gets fixed again.

I saw some people use an updated fork, whould that be any better?

I saw some people use an updated fork, whould that be any better?

Not sure what you mean by "updated fork".
We can't vouch for any version of UE4SS not found on this specific github.
If you want to try some version of UE4SS not found on this github, obviously feel free to do that but we can't help you if you run into any problems.

UE4SS 3.0 has been released since you created this issue, so you should try that version and see if it helps.

Interesting, did not notice, will go and do that

Palworld. Same problems with UE4SS 3.0.0 and 3.0.1.
"bUseUObjectArrayCache = false" helps.
At the same time, problems with freezes and crashes are completely eliminated and memory leaks are reduced.

today i tried launching and it keeps crashing on alunch but cant see what is doing it
UEMinidump.dmp
can anyone help ?

today i tried launching and it keeps crashing on alunch but cant see what is doing it UEMinidump.dmp can anyone help ?

I'm not a dev of UE4SS, but I think I see an issue. Have you upgraded to UE4SS 3.0.1, but haven't removed XIUNPUT1_3.dll from the game folder? I see both dwmapi.dll and xinput1_3.dll there.

In general, I'd recommend to use Vortex to install UE4SS and Nexus mods in Palworld. It does the job quite well.
If removing it won't fix your issue try to disable all your mods and enable them one-by-one or in batches if you have too many. Might be one of the recently installed/updated lua or blueprint mods.

today i tried launching and it keeps crashing on alunch but cant see what is doing it UEMinidump.dmp can anyone help ?

I'm not a dev of UE4SS, but I think I see an issue. Have you upgraded to UE4SS 3.0.1, but haven't removed XIUNPUT1_3.dll from the game folder? I see both dwmapi.dll and xinput1_3.dll there.  In general, I'd recommend to use Vortex to install UE4SS and Nexus mods in Palworld. It does the job quite well.
If removing it won't fix your issue try to disable all your mods and enable them one-by-one or in batches if you have too many. Might be one of the recently installed/updated lua or blueprint mods.

i worked it out it was vertex mod manager readding the older files i removed before and thank you for your advice
it was indeed those files <3


Create single AccordionComponent

Primary and Secondary accordions are exactly the same, they just have different colors. We need to merge them into single component with color prop (primary, secondary)

@vlacher12 They are not the same. Not only color is different:


As a student I want to receive an email to validate my account upon registration

[x] send an html message to the email containing a link with a token (AES-256) to authenticate
Estimated time : 2h
Risk: LOW
Priority: HIGH

[x] create an endpoint to check the token and validate the user if the user inside the db and it is not currently validated. It should then set validated to true. If it is already validated, do nothing.
Estimated time : 5h
Risk: HIGH
Priority: HIGH

Validation: a new user should be created. Trying to log into the app should not be allowed if the user is not validated. It should show a alert box or modal popup to explain that validation is necessary. After being validated, the user should be able to log in and access the chat. This validation should be done manually
Story Points: 5


Tutorial menu bar is cluttered on small screens

Describe the bug
The buttons and titles are overlapping each other on my Chromebook screen:

Desktop (please complete the following information):

OS: ChromeOS
Browser Chrome

I am assuming the button is still functional.

On some tutorial/language combinations, the quit button completely covers the Immersive Reader button


Fix: Update the indent rule

2-space indentation
VariableDeclarator set to 2 will indent the multi-line variable declarations with 4 spaces
SwitchCase set to 1 will indent case clauses with 2 spaces with respect to switch statements

Pulled from lighthouse eslintrc file.

What's missing from this is the Google style suggestion to indent 4 spaces for line continuations. AFAIK there's no config that supports this currently in this rule, and I wouldn't want to turn on something that reports an error for code that is valid according to the Google style guide.
For example, this is valid:
methodWithAReallyReallyLongNameThatTakesMultipleParams('foo', 'bar',
    function() { // indent 4 spaces to show that this is a continuation.
  doSomething(); // indend 2 spaces as normal within a block.
});

@philipwalton Is that the suggested spacing on a function inlined into the call expression? Or should it be like this?
methodWithAReallyReallyLongNameThatTakesMultipleParams('foo', 'bar',
    function() { // indent 4 spaces to show that this is a continuation.
      doSomething(); // indend 2 spaces as normal within a block. (6 total spaces)
    }); // indent 4 spaces

Both your example and my example are correct, and I don't think there's a config that supports both.
I'm not able to test it right now, but if there's a config that doesn't report errors or warnings for these, then I think it's ok. If it does report warnings then I wouldn't want to merge.

Alright, well, I believe this will throw warnings. I will close until I can find a solution that better fits all cases. Thanks for your help!


Replacing existing UIActivityIndicator with NVActivityIndicatorView

Hello, I have a UIActivityIndicator already set up and working on my application. The UIActivityIndicator displays on a cell while an image is loading - UITableView.
I installed the cocoa pods for NVActivityIndicatorView and have the files integrated into my project, but I am confused with how to integrate it into the current code. Whenever I replaced “@IBOutlet weak var aiView: UIActivityIndicatorView!” with “@IBOutlet weak var aiView: NVActivityIndicatorView!”, the activity indicators would not show and the app would crash.
Using Swift 3.
Thank you!
class SubcategoryCell: UITableViewCell {     @IBOutlet weak var subcategoryImageView: UIImageView!     @IBOutlet weak var aiView: UIActivityIndicatorView! }
 func numberOfSections(in tableView: UITableView) -> Int {
    return 1
}

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
    return self.items.count
}

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
    let cell = tableView.dequeueReusableCell(withIdentifier: "Cell") as! SubcategoryCell

    let item = self.items[indexPath.row]

    if let url = URL(string: item.url) {
        cell.aiView.startAnimating()
        cell.subcategoryImageView.kf.setImage(with: url, placeholder: nil, options: nil, progressBlock: nil, completionHandler: { (image, error, cacheType, url) in
            cell.aiView.stopAnimating()
        })
    }

    return cell
}

`

@pingpongdelay: Have you changed the class of the view in IB as well?

I have not, will do that now.
How would I integrate the NVActivityIndicatorView into my current code?
Thank you very much.

I tried changing the class of the indicators I have in my project, but they don't apply (they get removed when I write them in). All three of these view controllers have activity indicators at the center.

Thank you.

@pingpongdelay: If you're using IB, make sure you have this.

Ok, will do. Would that be with the activity indicator in IB?
Thank you very much for the help.

With the activity indicator selected, Xcode is not letting me change its class and module

@pingpongdelay: Just type in those 2 text fields.

I try to, but they get automatically delete when I hit "enter."

I try to enter it in, but they keep getting deleted by Xcode.

@pingpongdelay: It's weird, how about creating NVActivityIndicatorView by code?

Works great now! The issue was that I was not creating a new UIView and setting that as "NVActivityIndicatorView".
Thank you very much for the help and thank you for this library!


Add support for ARM-x19 platform

Resolves #4, #7

Just to confirm your changes also work here. Thanks!


feature : Allow Debug variable to be set via Environment

The objective of this PR is to allow debug variable to be set through the environment.
Resolves DDIA-468

can you update go.mod to pull in bloxone-go-client changes as well?

can you update go.mod to pull in bloxone-go-client changes as well?

addressed the comment


Adding BBQ - Baumann Bildung und Qualifizierung

@walidbbq This request does not have any files to add, I am closing it without merging. Thank you for the understanding!


Typescript: "protected" instead of "private"

I found it often useful, to extend a class and modify its behaviour by overriding internal methods.
This is not possible (anymore), because some methods are declared "private" (Example: applySelectedStyle_/restorePreviousStyle_ in interaction/Select).
IMO internal methods should be declared "protected" instead.

Private methods and properties are intentionally private. If there's a good case for widening their scope, we can discuss that for individual methods or properties.

Thank you @ahocevar for the reply. OL is a great library and I respect your decision.
But: there are of course (nasty) ways in Typescript to override private methods. It would just make life easier, if they were generally "protected"...

Well, if you have to go about that with nasty workarounds, you're at least reminded that you're doing something you shouldn't be doing.


fix: namespaced_data endpoint

Description
Closes https://github.com/celestiaorg/celestia-node/issues/1448
Draft PR because I noticed that although this fixes #1448 by not truncating any part of the blob, it also includes the padding bytes in the namespaced_data response. This seems like a regression because per these docs:

Returns original messages of the given namespace ID nID from the given block height.

so the namespaced_data response shouldn't include padding.
Testing
Manual testing performed in Go Playground. This PR should be accompanied with integration tests for the RPC endpoints that are being modified but I haven't investigated how to do that yet.

Codecov Report

Merging #1487 (ed68450) into main (4c5d247) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1487      +/-   ##
==========================================
- Coverage   55.57%   55.37%   -0.20%
==========================================
  Files         203      203
  Lines       12144    12147       +3
==========================================
- Hits         6749     6727      -22
- Misses       4726     4750      +24
- Partials      669      670       +1

Impacted Files
Coverage Δ

api/gateway/share.go
0.00% <0.00%> (ø)

header/core/listener.go
52.83% <0.00%> (-5.67%)
:arrow_down:

share/eds/byzantine/pb/share.pb.go
32.88% <0.00%> (-1.97%)
:arrow_down:

share/ipld/get.go
92.18% <0.00%> (-1.24%)
:arrow_down:

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

Closing in favor of https://github.com/celestiaorg/celestia-node/pull/1526 which is based on latest celestia-app


Fixed Unit Tests

Codecov Report

Merging #18 into master will increase coverage by 0.67%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
+ Coverage   36.36%   37.03%   +0.67%
==========================================
  Files           5        5
  Lines         297      297
==========================================
+ Hits          108      110       +2
+ Misses        184      183       -1
+ Partials        5        4       -1

Impacted Files
Coverage Δ

primaryHandler.go
52.84% <100%> (+1.62%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82d6dd7...6b726cb. Read the comment docs.


stderr: moveit_setup_sdrf_plugins

Description
While building the moveit workspace, I encountered this issue.
--- stderr: moveit_setup_srdf_plugins
/home/sunny/ws_moveit2/src/moveit2/moveit_setup_assistant/moveit_setup_srdf_plugins/include/moveit_setup_srdf_plugins/rotated_header_view.hpp:0: Note: No relevant classes found. No output generated.
Summary: 55 packages finished [58.7s]
1 package had stderr output: moveit_setup_srdf_plugins
I checked the rotated_header_view.hpp file on the Github page and it has the same code as the one in my system. Is this even a non-critical error that could be ignored?
ROS Distro
Humble
OS and version
Ubuntu 22.04 on WSL2 (Windows 10 Pro)
Source or binary build?
Source
If binary, which release version?
No response
If source, which branch?
No response
Which RMW are you using?
None
Steps to Reproduce
Go to the moveit workspace and run the build command.
cd ~/ws_moveit_2
colcon build --mixin release

Expected behavior
The build should be clean without an error. The following output should be shown
finished
Actual behavior
Summary: 55 packages finished [58.7s]
1 package had stderr output: moveit_setup_srdf_plugins
Backtrace or Console output
No response

The output says 55 packages finished, so build was successful.
See https://github.com/colcon/colcon-core/issues/203#issuecomment-512637557 for more information.

This stderr will not affect your use of most functions in moveit2, if you want to fix this stderr, you can add 'Q_OBJECT' as a macro definition after line 46 in 'rotated_header_view.hpp', this will generate moc_*.cpp files, which contain the implementation functions of signal.


New book not automatically added to author?

Hi - I wrote this question up on stack overflow.  In summary if I added a book that belongs to author 1 without also updating author 1s book IDs then I don't see that author 1 knows about the new book that it owns.  Here's the full SO summary:
http://stackoverflow.com/questions/43480474/do-one-to-many-relational-pouch-instances-always-have-to-be-updated-on-both-ends

You can set the dontsave option. See https://github.com/nolanlawson/ember-pouch#dont-save-hasmany-child-ids
This new mode can be selected for a hasMany relationship by specifying the option dontsave: true on the relationship.

Would I do that on the schema like this:
    singular: 'author',
    plural: 'authors',
    relations: {
      books: {
        hasMany: 'book',
        dontsave: true
      }
    }

Also should it be true ... I want the books to the update on the author when I save a new book with the author specified ...?

Sorry I think you are searching for this:
  {
    singular: 'author',
    plural: 'authors',
    relations: {
      books: {hasMany: {type: 'book', options: {queryInverse: 'author'}}}
    }
  },

I tried it and ended up getting this:
ole@MKI:~/Junk/pouch$ rm -fr mydb/ && node index.js
/home/ole/Junk/pouch/node_modules/relational-pouch/lib/index.js:78
          throw new Error('Invalid relationship definition for: ' + field);
          ^

Error: Invalid relationship definition for: books
    at /home/ole/Junk/pouch/node_modules/relational-pouch/lib/index.js:78:17
    at Array.forEach (native)
    at /home/ole/Junk/pouch/node_modules/relational-pouch/lib/index.js:75:35
    at Array.forEach (native)
    at PouchDB$5.exports.setSchema (/home/ole/Junk/pouch/node_modules/relational-pouch/lib/index.js:70:10)
    at Object.<anonymous> (/home/ole/Junk/pouch/index.js:5:4)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

This is the full script:
var PouchDB = require('pouchdb');
PouchDB.plugin(require('relational-pouch'));

var db = new PouchDB('mydb');
db.setSchema([
  {
    singular: 'author',
    plural: 'authors',
    relations: {
      books: {
        hasMany: 'book',
        options: {
          queryInverse: 'author'
        }
      }
    }
  },
  {
    singular: 'book',
    plural: 'books',
    relations: {
      author: {
        belongsTo: 'author'
      }
    }
  }
]);
db.rel.save('author', {
  name: 'George R. R. Martin',
  id: 1,
  books: [6, 7]
}).then(function() {
  return db.rel.save('book', {
    title: 'A Game of Thrones',
    id: 6,
    author: 1
  });
}).then(function() {
  return db.rel.save('book', {
    title: 'The Hedge Knight',
    id: 7,
    author: 1
  });
}).then(function() {
  return db.rel.save('book', {
    title: 'Winny the Pooh',
    id: 8,
    author: 1
  })
}).then(function() {
  var result = db.rel.find('author', 1);
  result.then(function(data) {
    console.log(data)
  });
}).catch(console.log.bind(console));

@broerse did it correctly, you should make it
  {
    singular: 'author',
    plural: 'authors',
    relations: {
      books: {hasMany: {type: 'book', options: {queryInverse: 'author'}}}
    }
  },

You have the name of the type as the value of hasMany but to give options you have to give a hash to hasMany with the name in type and extra options in options. I agree it is a bit weird, but it is in line with the other options like async.
And by the way, to improve performance while doing this, make sure you setup an index on the key you are querying (+ the id field) as mentioned here: https://github.com/nolanlawson/relational-pouch#dont-save-hasmany

@jlami - ah got it.  I only pasted in the options object initially.  However if I run the script like this:
Your Snippet
var PouchDB = require('pouchdb');
PouchDB.plugin(require('relational-pouch'));

var db = new PouchDB('mydb');
db.setSchema([
  {
    singular: 'author',
    plural: 'authors',
    relations: {
      books: {
        hasMany: {
          type: 'book',
          options: {
            queryInverse: 'author'
          }
        }
      }
    }
  }, {
    singular: 'book',
    plural: 'books',
    relations: {
      author: {
        belongsTo: 'author'
      }
    }
  }
]);
db.rel.save('author', {
  name: 'George R. R. Martin',
  id: 1,
  books: [6, 7]
}).then(function() {
  return db.rel.save('book', {
    title: 'A Game of Thrones',
    id: 6,
    author: 1
  });
}).then(function() {
  return db.rel.save('book', {
    title: 'The Hedge Knight',
    id: 7,
    author: 1
  });
}).then(function() {
  return db.rel.save('book', {
    title: 'Winny the Pooh',
    id: 8,
    author: 1
  })
}).then(function() {
  var result = db.rel.find('author', 1);
  result.then(function(data) {
    console.log(data)
  });
}).catch(console.log.bind(console));

I get this:
ole@MKI:~/Junk/pouch$ rm -fr mydb/ && node index.js

So it does not look as if the author was added at all.  Thoughts?

Since you now specify that you don't want to save the hasmany side of the relationship, the line books: [6, 7] is not needed anymore, and maybe even harmful. I don't know if this is really the culprit. But it should be safe to remove, as now the reverse key author on the book type should be used.
Why the complete author document is not saved I don't really know. But maybe you can report back with the books key removed?

OK I removed the books part:
db.rel.save('author', {
  name: 'George R. R. Martin',
  id: 1
}).then(function() {
  return db.rel.save('book', {
    title: 'A Game of Thrones',
    id: 6,
    author: 1
  });
}).

However the author is still not saved ...?

Ok, the error is in the final step. You did not return the final promise.
}).then(function() {
  var result = db.rel.find('author', 1);
  return result.then(function(data) {
    console.log(data)
  });
}).catch(console.log.bind(console));

I inserted an extra return there. Then you will see an error. The error is due to the fact that pouchdb-find is not loaded. If you insert the following line at the top it will work correctly:
PouchDB.plugin(require('pouchdb-find'));
We will have to look into whether this should be included in the setup code of relational-pouch itself, or whether it is the job of the user. Plugin hierarchy is a bit tricky to do correctly. But for now this should fix your problem.

OK Awesome!!  It works now.  BTW - Do you think the configuration for hasMany relationships should be made to be more symmetrical.  The initial example configuration looks like this:
{singular: 'author', plural: 'authors', relations: { books: {hasMany: 'book'}}}

But if we add the inverse query option then it looks like this:
  {
    singular: 'author',
    plural: 'authors',
    relations: {
      books: { hasMany: {type: 'book', options: { queryInverse: 'author'}}}}},

So in other words it goes from { books: {hasMany: 'book'} to { books: {hasMany: {type: 'book'}
I think the type: 'book' version is also easier to read.

Hmm I really like the "queryInverse" solution. But now I've noticed that when I look up the author and it will get the books, but in a seperate key outside "author". Is it possible to return like this:
{ author : { name :"my author", books : [ { title : "book 1" }, { title : "book 2" } ] } }

The results are currently oriented a bit towards ember-data, which uses the JSON api internally. I guess we could give the caller extra options to configure whether to return only the ids and the objects in a seperate array as is the case now, or to return the objects embedded. But for now you should do it on your side (or you could always write a PR ;)


Composter BUG

Minecraft version:1.14.4
MOD version:2.4.4
Bamboo, Cactus, and Cane can't to put in Composter

1.14.4 is not under development, this was fixed in 1.15: #131


add cleberg.net

Website (if applicable): https://example.com <-- TODO: CHANGE ME
This PR is:

[x] Adding a new domain
[ ] Updating existing domain
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (darktheme.club site)
[ ] Other not listed

[x] The domain is in the correct alphabetical order
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ page, particularly the red section about inappropriate content, and I attest that this site is appropriate based on those criteria.

[x] Check to confirm

- domain: cleberg.net
  url: https://cleberg.net/
  method: darkonly
  last_checked: 2022-12-17

Thanks for adding your site!


fix(versions): update Activiti/activiti-cloud-example-chart-modeling versions into master

UpdateBot pushed helm dependency: activiti-cloud-modeling to: 7.1.84

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-modeling 7.1.84

 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.jenkins-x-bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove warnings in python 3

This fixes warnings in python 3.7 when run with PYTHONWARNINGS=default

Hi! We don't use pull requests (and github doesn't let us turn them off). Please post your change to https://reviews.reviewboard.org/


Fix dev version always being set

Description
Follow-up to #39243 where the task for setting dev versioning lost its condition and was always being applied.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/check-enforcer override


Underscore for backing field of get/set accessor

Properly document why underscore is used for backing field when get/set accessor is used.

Thank you for helping contribute to the TypeScript Handbook! We're trying to get through the large backlog of open PRs. As part of that effort, we're only merging PRs that clearly improve the content. PRs that only change phrasing, style, nits, or other aspects not directly related to accuracy or coverage won't be accepted - this will greatly reduce merge conflicts in PRs that do have content-critical changes. We'll be closing PRs like this one that make subjective improvements; often given two ways of writing the same thing, opinion will be split on which is better, and we have to defer to making fewer changes rather than more. Thanks for understanding.


Error

Running the test.py, there be some errors:
“Given groups=1, weight of size [64, 768, 3, 3], expected input[1, 1536, 32, 32] to have 768 channels, but got 1536 channels instead.”

I found this problem in the code a few days ago, so I updated the code in FAM yesterday. You can update it again


Add command to put an OSD or Mon pod in debug mode

OSD and Mon pods in some support cases may need to be put in a mode that will allow commands to be run against the OSD or Mon while the daemon is not running. Let's call this "debug" mode. This is not a normal part of a reconcile, so the krew plugin is the right place for the one-time operation that can be tuned according to need.
When the admin decides to put an OSD or Mon in debug mode, the sequence of events would be:

kubectl rook-ceph create-debug [--osd-id <id> | mon-id <id>] [--image <alternate-image>]
Perform debug operations in the debug osd pod
kubectl rook-ceph remove-debug [--osd-id <id> | mon-id <id>]

create-debug
The command to create the debug pod would make the following modifications to the copy of the deployment:

Verifies the deployment exists
Scales the original deployment down to 0
Copies the deployment spec and make modifications (see below)
Creates the debug deployment

The following modifications are made in the debug deployment:

Add the suffix "-debug" to the deployment name
Add a label ceph.rook.io/debug: "true" to the deployment so it can be easily detected.
Modify the command in the main container to be only a placeholder so the admin can connect to the pod and execute ceph tool commands

remove-debug
When done debugging, the remove-debug command:

Deletes the debug pod
Scales back up the original daemon deployment

Randy Martinez if you can explain your finding here,
Currently, as per the above details for debugging https://github.com/rook/kubectl-rook-ceph/issues/35#issue-1302623104, I created something  https://github.com/rook/kubectl-rook-ceph/pull/36, please have a look

Scales the original deployment down to 0

This will need rook PR#10585 merged before we can do this cleanly. Otherwise, if the rook operator is restarted, osd deployment spec will reconcile & potentially interrupt in-progress maintenance commands.

Copies the deployment spec and make modifications (see below)
Creates the debug deployment
The following modifications are made in the debug deployment:
Add the suffix "-debug" to the deployment name

This is part of oc debug. Note: downstream version >=4.10 have a new 'startup probe' we need to ignore. If alike flags are not part of kubectl debug, we'll need to catch when the env is ODF; which will be beneficial at the beginning where current default for namespace is defined.

Add a label ceph.rook.io/debug: "true" to the deployment so it can be easily detected.
Modify the command in the main container to be only a placeholder so the admin can connect to the pod and execute ceph tool commands

Having the label is a good idea. We can reuse this in various ways.

odf 4.10 e.g.

oc debug deployment/rook-ceph-osd-$id --preserve-pod=true --keep-init-containers=true --keep-liveness=false --keep-readiness=false --keep-startup=false --quiet=true -o json --one-container=true -c osd -- sleep infinity | oc create -f -

this creates deploy/rook-ceph-osd-$id-debug

upon -debug pod deletion, replicas can scale up to 1.

anything needing to persist for now can use /var/log/ceph/ bind.

^ we should add a recovery hostPath volume for isolation.

Lastly, we shouldn't limit this to just mon/osd. pods/{mds,mgr,rgw,noobaa,csi-*} could also benefit from debug pods when contention, or maint. is suspected.

This is part of oc debug. Note: downstream version >=4.10 have a new 'startup probe' we need to ignore. If alike flags are not part of kubectl debug, we'll need to catch when the env is ODF; which will be beneficial at the beginning where current default for namespace is defined.

How about upstream then?

Lastly, we shouldn't limit this to just mon/osd. pods/{mds,mgr,rgw,noobaa,csi-*} could also benefit from debug pods when contention, or maint. is suspected.

That need more rook changes, and just making the deployment down in other cases would be right and easy way

Also note that the operator will skip reconciling CRs that have the label do_not_reconcile: true, so that's another way to disable the operator from specific CRs.

Also note that the operator will skip reconciling CRs that have the label do_not_reconcile: true, so that's another way to disable the operator from specific CRs.

But  in rook currently, we are just skipping for mon and osd, for other CR's extra needs to be added

@travisn  few questions/doubts

If we use kubectl debug the image should be passed mandatory.
Can we directly pass the deployment name, much easier as will be a generic/common function for all deployments?
Using kubectl debug I am not sure we can do this Modify the command in the main container to be only a placeholder so the admin can connect to the pod and execute ceph tool commands. But yaa after creating the pod it can be possible.

@travisn few questions/doubts

If we use kubectl debug the image should be passed mandatory.

As discussed, not sure kubectl debug will work since we need to scale down the existing pod before creating the new one.

Can we directly pass the deployment name, much easier as will be a generic/common function for all deployments?

Yes, sounds good to use the deployment name. So it might look like:
kubectl rook-ceph create-debug [--name <deployment>] [--image <alternate-image>]

Downstream BZ - https://bugzilla.redhat.com/show_bug.cgi?id=2103256


Types cannot be imported from 'pdfjs-dist/legacy/web/pdf_viewer'

A custom React component importing a type (for example PDFViewer) from pdfjs-dist/legacy/web/pdf_viewer.d.ts file ends up with Typescript error saying that the type is not exported from the file. The file cannot be used.
Type import example

Not working
Typescript error: Module '"pdfjs-dist/legacy/web/pdf_viewer"' has no exported member 'PDFViewer'.ts(2305)

CustomReactComponent.tsx
import { PDFViewer } from 'pdfjs-dist/legacy/web/pdf_viewer';

pdfjs-dist/legacy/web/pdf_viewer.d.ts
export * from "pdfjs-dist/types/web/pdf_viewer.component.d.ts"; <-- this doesn't re-export PDFViewer type from the file

The issue probably is that the file name contains .d.ts extension. If it's deleted, the typescript error is gone.
Working type import example

Working
No Typescript error

CustomReactComponent.tsx
import { PDFViewer } from 'pdfjs-dist/legacy/web/pdf_viewer';

pdfjs-dist/legacy/web/pdf_viewer.d.ts
export * from "pdfjs-dist/types/web/pdf_viewer.component"; <-- correct, this re-exports PDFViewer type now

https://github.com/mozilla/pdfjs-dist/blob/master/legacy/web/pdf_viewer.d.ts looks OK as far as I can tell, with the caveat that I don't really know TypeScript.

For future reference: When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md such that the issue becomes easily actionable.
Also, please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

So it was already fixed.
The issue might be that I used the latest version 2.10.377 as usually and not the next version 2.11.338 you are referring to.
I installed it by npm install pdfjs-dist which is the same as npm install pdfjs-dist@latest and I needed to use npm install pdfjs-dist@next.
https://www.npmjs.com/package/pdfjs-dist -> 2.10.377
Thanks for the info.


Add mini-button

Creates a smaller button

Boom!

looks good to me.
maybe make vertical padding 1px? kidding.

:+1:


Permit creating KVM domains

Today all domains are run in emulation mode.
We need to be able to run them accelerated.

IIUIC then we default to qemu and there is no VM API field to change this.
Further more this has implications on scheduling (less) but making sure that /dev/kvm get's into a container.
We could consider to use the kvm DP /cc @mpolednik

#822 contains a now a preference for kvm domains. If it is run on a test-vm, nested virtualizastion will need to be enabled. If the cpu does not expose virtualization functionality it will fallback to emulation. #804 should not not be that critical anymore. But want to enforce the presence of /dev/kvm in the future.

@fabiand @rmohr was this fixed? Is something missing to complete this?


Review: Placement of useMediaQuery

I'm unsure where to place useMediaQuery. It doesn't seem to fit with anything else. I have just placed it in a Hooks class/file by itself:
https://github.com/cmeeren/Feliz.MaterialUI/blob/adb43cba1d6b9aea2153da32a9987d608159ed92/src/Feliz.MaterialUI/Hooks.fs#L17-L24
Does that seem OK?

It does seem OK, putting it in Mui is another option

That would mean Mui contains lots of components and a single hook, so that seems weird too.
Then again - perhaps Mui could contain more than just components? What do you think about renaming the Styles class Mui, so that all the style stuff is also available under Mui?

Keeping it as it is for now.

After having issues with identifying where something should be like in #32 I'm wondering if everything should just be in the Mui namespace. I think it would make the library more discover-able, otherwise they have to hunt through docs and try to find which section something is in. This does mean it doesn't as closely follow MUI import statements, but at the same time, if we wanted to write it exactly like that we wouldn't be using a transpiler in the first place ;).
The other issue is that with something like Styles I could very easily see that namespace being polluted by other projects. If something else adds to Mui it is almost certainly intentional.

Thanks! I'll definitely consider it.

For the record, here is a list of all the relevant stuff that might be moved:

Old
New
Comment

Autocomplete.createFilterOptions
Mui.createFilterOptions
Unsure about this since it's specific to a component

Hooks.useMediaQuery
Mui.useMediaQuery
Ok

Styles.create (JSS helper)
Mui.??
Unsure about this, should be short.

Styles.makeStyles
Mui.makeStyles
Ok

Styles.useTheme
Mui.useTheme
Ok

Styles.createMuiTheme
Mui.createMuiTheme
Ok

Styles.responsiveFontSizes
Mui.responsiveFontSizes
Ok

Not relevant: props, classes, themeProps, and themeOverrides.
Input welcome.

A potential danger of keeping everything under Mui is collision. Not likely for the current names, but MUI might in the future get some components that are named the same as some helper functions/hooks/etc.
Furthermore, the only entry points to Feliz.MaterialUI (apart from the ones mentioned below the table) are Mui, Styles, and Hooks. So perhaps moving everything under Mui isn't really that necessary as long as all three entry points are clearly documented.
Again, opinions welcome.

I think it's more user friendly to have everything under Mui, but like you said there are dangers.
For Styles.create could it be Mui.createStyles?
For Autocomplete.createFilterOptions could that not just be an additional overload for autocomplete.filterOptions?

For Styles.create could it be Mui.createStyles?

Sure can. Thanks!

For Autocomplete.createFilterOptions could that not just be an additional overload for autocomplete.filterOptions?

I assume you are talking about having that overload internally call createFilterOptions? I tried that, and it works, but the problem is that then createFilterOptions will be called once for each render, which might be expensive (I haven't checked the source too carefully, but it might change anyway), while the intention is to call it once and then use the globally defined (stable) filter function in the render function.
I might be able to solve it with memoization, though. Because an overload is IMHO more dev friendly.

I should be able to solve it with memoization, though. Because a prop overload is IMHO more dev friendly.

Dang, I don't think that's possible. One of the arguments (stringify) is a function, and AFAIK there's no way to memoize based on that. (Or is there, @Zaid-Ajaj?)

 So we could do something like Mui.create.styles or Mui.create.autocompleteFilterOptions.

IMHO that's less discoverable, and you'd need to know of the Mui.use and Mui.create "entry points" just as much as you'd need to know about the Hooks and Styles entry points today.

I agree it's less discoverable, just spit-balling ideas.

Appreciated 👍

Closing as I'm happy with how it is.


[TH2-366] Correct the README file

The information about codec configuration, implementations loading and pins definition was corrected

@jean-michel-perli-sonsin Please, approve the merge if everything is ok in your opinion

@jean-michel-perli-sonsin As far as I can see, all change requests were resolved. Could you please approve the merge is everything is ok?


Support .desktop files

It'd be nice if one can configure the shell installer to create a .desktop file on Linux, especially for GUI applications

hey @Enn3Developer! that's a cool request- while it's not currently something we can prioritize, we would totally accept a PR for it- and are happy to help point you in the right direction either here or on our discord (https://discord.gg/XAFG6xSZ).
are you shipping some GUI applications? always love to hear what people are shipping with dist!

Yes, it's a music player and I found that dist simplifies my release workflow.
I already joined the discord so we could continue there

I think it makes sense to leverage XDG here, since we're already looking to do so in #287 and it provides a well-defined path for user-installed .desktop files.

$XDG_DATA_HOME defaults to $HOME/.local/share.
.desktop files would go under $XDG_DATA_HOME/applications.

The main catch here is .desktop files usually reference icons. As best I can tell, the most portable way is to provide an icon yourself and specify an absolute path to it. The freedesktop.org desktop entry spec implies that you can't use e.g. an inlined base64-encoded image file, or at least can't guarantee that'll work. (Which is rather unfortunate.)


build(sqlite): Disable modernc for WASM

I've been experimenting with compiling the sqlc CLI to WASI. To get this to work, the modernc.org/sqlite package needs to be excluded from the build, as it doesn't support the WASI target.
CGO_ENABLED=0 GOOS=wasip1 GOARCH=wasm go build -o sqlc.wasm ./cmd/sqlc

Just FYI, #3045 would take care of this [^1] (with a caveat: WASI doesn't support file locking, so concurrent access is problematic).
[^1]: as well as other exotic targets, like DragonFlyBSD, illumos, Solaris…


⚠ ClamAV has degraded performance

In c08c2a3, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 239 ms

Resolved: ClamAV performance has improved in 43bb057.


Control bar below node details header

Added a spinner too, it shows up during the request.

LGTM!


Enhanced animation when deleting items from chart

What problem does this feature solve?
The essence of the problem is support for what Mike Bostock calls "object constancy".
See the example here: https://bost.ocks.org/mike/constancy/
ECharts suppports "object constancy" by allowing you to name and series and a data point. When you merge a data point named in this way , ECharts looks for the graphic object currently in the chart that refers to this item. If such an object is found, ECharts uses it to represent the new data value. The animationDurationUpate, animationDelayUpdate, animationEasingUpdate properties control how the object morphs to its new shape and position.
If no existing object is found for the dataItem, then a new one is created. Its rendering is animated using animationDuration, animationDelay, animationEasing.
This works great, as seen in this fiddle: http://jsfiddle.net/softwords/0h83jbdc/9/
But, it's only two of the three things you need for a first-class implementation of object constancy.
Compare the above with d3: in d3, when data is merged, the sets of new and existing data points are compared to determine which are Updates, which are New, and - crucially - which existing points are Deleted.
What Echarts currently does not have is a way to act specifically on these deletions.
Currently in a bar chart, when a series is removed, all points in that series are quickly destroyed. The bars are narrowed in the y-direction until they are gone.
Similarly, when a data item is removed from an existing series, it is narrowed in the y-direction during the period of the animationDurationUpdate, beginning at AnimationDelayUpdate. In other words, the deletions and the updates happen during the same time interval.
To see this in the fiddle, select year 2006, then Iran from the dropdown. Change to year 2010, and watch the Iran bar disappear.
What does the proposed API look like?
For an even better animation, I suggest we need new series properties:

animationDurationDelete,
animationDelayDelete,
animationEasingDelete

to control how items are removed from the chart.
I'd like to be able to do this:
series: {
...
	animation: true,
	 animationDelayDelete: 0,
	 animationDurationDelete: 500, 		// first remove the deleted items
	 animationDelayUpdate: 500,
	 animationDurationUpdate: 500, 		// then move/resize the items that are updated
	 animationDelay: 1000,
	 animationDuration: 500 		// add the new items
}

Hi @softwords. Thanks a lot for the very detailed scenario explanation.
We are planning to improve animation in the next big release 5.0. I think it's a very promising feature to improve our leave animation.


Appears that DEMO Conference Site is down

Type of issue
Other (describe below)
Feedback
HTTP/1.1 404 Not Found
accept-ranges: bytes
age: 199788
cache-control: max-age=604800
content-encoding: gzip
content-length: 648
content-type: text/html
date: Mon, 21 Oct 2024 12:43:54 GMT
etag: "1088432560+gzip"
expires: Mon, 28 Oct 2024 12:43:54 GMT
last-modified: Sat, 12 Oct 2024 03:26:51 GMT
vary: Accept-Encoding,Origin
x-cache: 404-HIT
Page URL
https://conferenceapi.azurewebsites.net/?format=json
Content source URL
https://conferenceapi.azurewebsites.net/?format=json
Author
@jonasmulticloudiac
Document Id
76ca8cff-348b-5595-1c3a-f319d606f82e

@jonasmulticloudiac
Thanks for your feedback! We will investigate and update as appropriate.

@jonasmulticloudiac
Thank you for reaching us. If you need help with this to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows. Microsoft Teams Community forum

Is this resolved ? Am trying to learn API management still the api https://conferenceapi.azurewebsites.net
states the site can't be reached

Hello the API "https://conferenceapi.azurewebsites.net/?format=json" is outdated. According to "https://learn.microsoft.com/en-us/azure/api-management/import-and-publish" use "https://petstore3.swagger.io/".


Eye icon missing from Jupyter form button after 1.5 upgrade

The "eye" icon is missing from the button that accepts the connect to jupyter notebook action.  Here's the code on the web page:

Here's the reference to the image as it appears on the HPC desktop

It's basically the same icon so odd that it's not appearing.   Is there a name change that occurred with the upgrade that would require us to update the Jupyter repo clone?

@diedpigs noted that the clone url  for our jupyter is the the example based one
https://github.com/jprorama/CRI_XCBC/blob/uab-dev/roles/ood_jupyter/tasks/main.yml#L12
This may need to change to a derivative of osc where a gear icon is used.

it's been fixed by #33


how do you even use it?do you bookmark and put something in the bookmark name?pls tell me

pls reply how to do it

i will tell you but im in school when im home i will tell you

well if my laptop is charged my charger doesnt work

so go to prodigy choose any map then copy the "hack" that you want click the 2 squares go back to prodigy put javascript: then the code then hack done

that is what you do then paste the code

And you tap the bookmark on prodigy tab

idiot

.....

basically all i said was true about the hack dont know what he was talking about


Update Set-MailboxCalendarConfiguration.md

DefaultMeetingDuration parameter isn't supposed to be available to customers.

Docs Build status updates of commit cff8826:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/client-access/Set-MailboxCalendarConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 95fa5af:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/client-access/Set-MailboxCalendarConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/database-availability-groups/Add-MailboxDatabaseCopy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/email-addresses-and-address-books/New-OfflineAddressBook.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mail-flow/Test-Mailflow.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Clean-MailboxDatabase.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Get-FailedContentIndexDocuments.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Get-MailboxDatabase.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Get-MailboxRepairRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Move-DatabasePath.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/New-MailboxDatabase.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/New-MailboxRepairRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Remove-MailboxDatabase.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Remove-StoreMailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Set-MailboxDatabase.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Test-ExchangeSearch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Update-DatabaseSchema.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Update-StoreMailboxState.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxExportRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxExportRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxImportRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxImportRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxRestoreRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxRestoreRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Get-MailboxStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/New-MailboxRestoreRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/New-SiteMailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Remove-MailboxExportRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Remove-MailboxImportRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Remove-MailboxRestoreRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Restore-Mailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Test-MAPIConnectivity.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-MoveRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-MoveRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-PublicFolderMailboxMigrationRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-PublicFolderMailboxMigrationRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-PublicFolderMigrationRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-PublicFolderMigrationRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-PublicFolderMoveRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Get-PublicFolderMoveRequestStatistics.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-MoveRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-PublicFolderMigrationRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Remove-MoveRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Remove-PublicFolderMailboxMigrationRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Remove-PublicFolderMigrationRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Remove-PublicFolderMoveRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Set-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/Set-MoveRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/Get-ManagementRoleAssignment.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/New-ManagementScope.md
:white_check_mark:Succeeded
View (exchange-ps)

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Start using type-safe configuration properties

Start refactoring the CAS Spring Boot configuration facilities to gather and use property sources into type-safe @ConfigurationProperties classes instead of scattering and injecting those properties into @Configuration classes with "un-typed" @Value properties.
http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-typesafe-configuration-properties

I am extremely in favor of this idea, and I would even go so far as saying, this is the kind of thing we should absolutely finish before v5. We should introduce a consistent, easy-to-remember property scheme as part of 5. Doing this sort of thing post v5 and requiring folks to change all their setting names later when they wish to upgrade is a very painful thing to ask.

This is definitely v5 thing. As soon as M1 hits the streets I could start working on it for M2


Roll Plugins from e6156827a2b9 to 3acc0cf03051 (1 revision)

https://github.com/flutter/plugins/compare/e6156827a2b9...3acc0cf03051
2021-03-08<EMAIL_ADDRESS>[extension_google_sign_in_as_googleapis_auth] Update import (flutter/plugins#3689)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


TypeError: object of type 'ActionRow' has no len()

NOTE: ONLY HAPPENS IN COGS
The Code:
from dislash import *
@commands.command()
async def cmd(self,ctx,arg):
	row = ActionRow(
		Button(style=ButtonStyle.green, label="My Label Here!!", custom_id="tx")
	)
	def check(inter):
		return inter.author == ctx.author and inter.author.guild_permissions.manage_emojis
	try:
		# SOME SHIT HERE!!
	except:
		# COUNTER

Precise Output in the Terminal:
File "/MY_DIRS/python/lib/python3.9/site-packages/dislash/application_commands/_modifications/old.py", line 105, in send_with_components
     if len(components) > 5:
TypeError: object of type 'ActionRow' has no len()

EDIT: Markdown changes

ActionRow.components is the list

So is it:
await ctx.send("A Message With Buttons using dislash",components = [row])


Can't make this example work and insufficient information to troubleshoot/debug

I've followed these instructions 4 different times to make sure I didn't do anything wrong.  I never could get it to work.  Spent over two days, just on this example.
The description of this process is at odds with the iOS extensions article that talks about Container apps and Host apps, etc.  In that article, they suggest that the Container app has to have a reference to the extension app.  Is that true here?  Where is the container app for this extension?  Or has that gone away in iOS 10+?
Whenever I create the extension project as described here, the bundle information isn't automatically configured as stated.  Do we need another provisioning profile for the extension?  Do we need a wild card profile?  That doesn't seem to work with Push Notifications.  Unless I create a separate provisioning profile, my extension won't compile.  It simple says it's unable to find a provisioning profile.  I've tried every combination of bundle ID stuff I can think of.
If we have UserNotificationDelegates in the app, do they override the extension?
If we have a DidReceiveNotification in the AppDelegate, does that override the extension?
Update: Every other aspect of push notifications is working just fine with the same devices and environment and project/solution.

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

ID: 4f2ee7c5-fd5e-3c28-31d8-e01820850feb
Version Independent ID: 5b886a57-3d74-57a7-7726-a740f1efb328
Content: Enhanced User Notifications - Xamarin
Content Source: docs/ios/platform/user-notifications/enhanced-user-notifications.md
Service: unspecified
GitHub Login: @bradumbaugh
Microsoft Alias: brumbaug

Sorry environment:

VS2017 V15.6.2
Xamarin <IP_ADDRESS>9
Xamarin.iOS DSK <IP_ADDRESS>
iPhone 5 running 11.2.6

Ok. for any poor devil that stumbles into Dante's 10th Ring and wants to make this work, here are the steps I took to recreate a working test solution in only three short days.
These instructions are pretty good except they leave out two important details:

Immediately after creating the extension project, add a reference to it in your main project.  This was the only way it worked for me.  I noticed in the iOS samples for Xamarin that MonkeyNotifications csproj file had a reference to the extension, but these instructions made no mention of that.
Immediately after you do this, the bundle id in your info.plist file will be silently overwritten with a new value.  The value that VS automatically adds is fine, although it is not an exact match for the pattern described in the call-out note in this article.  The extension's bundle id suffix didn't matter for me, but the first part of the has to be a match for the main app.  My mistake was every time I tried to add the extension, I got an error about the provisioning file.  I was creating the app id and the provisioning profile first at apple first, using those values in info.plist and then adding the reference to the main project.
Now that you know the bundle id that has been supplied to your extension you need to go to your Apple account and create an app with an app id that matches the bundle id value that was supplied when you added the reference.  You'll have to create it's own provision file, too and go through the process as if the extension were a stand alone app.

And now it will work but only in release mode.  In debug mode (which is where I live 99% of the time) the extension isn't used and a normal, unmodified alert appears.
The default installation of the extension project will add the text: "[modified]" to the message title.  This helps you see that it's working in release mode before (which I strongly recommend) you make any changes.
Make sure your sample message doesn't have a title so long that it truncates the added phrase and you believe it's still not working.   Yes, I did that.
I'm certain that if you're experienced, you might know a better way or could have found this sooner, but this has a lot of moving parts for beginners.

Hi @nwhilly, glad to hear that you got this sorted out, and thank you for providing feedback about the doc and your solution. I’ll make a note that we need to review this doc for accuracy, incorporating your notes.

What would be super would be for it to work in debug mode.  I know this is the docs section, but if I knew where to post this for the dev team, I'd do it.

Hi @nhwilly, a few things that may be helpful:

Debugging app extensions is discussed in these release notes
There are also a couple of discussions in Xamarin’s Bugzilla bug tracker that may potentially be related to the issue you’re experiencing
Try starting a conversation on the Xamarin Forums or Stack Overflow for support
If you think you’re found a bug or want to file an enhancement request for Xamarin.iOS, please do so on GitHub (this is where issues are now tracked)

Hope this helps. Thanks again for the feedback.

Thanks.
That debugging app extensions looked really neat until it became clear that you have to select the extension once the app is running.  Of course, that doesn’t work for push notifications.  My luck. 😃
So if I would like to help and make recommendations in the docs, should I do that right from the doc itself?  Or would you rather have it somewhere else?
Bill
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Brad Umbaugh<EMAIL_ADDRESS>Sent: Wednesday, March 21, 2018 5:20:40 PM
To: MicrosoftDocs/xamarin-docs
Cc: nhwilly; Mention
Subject: Re: [MicrosoftDocs/xamarin-docs] Can't make this example work and insufficient information to troubleshoot/debug (#46)
Hi @nhwillyhttps://github.com/nhwilly, a few things that may be helpful:

Debugging app extensions is discussed in these release noteshttps://developer.xamarin.com/releases/studio/xamarin.studio_6.2/xamarin.studio_6.2/#Debugging_iOS_App_Extension_Projects
There are also a couplehttps://bugzilla.xamarin.com/show_bug.cgi?id=58167 of discussionshttps://bugzilla.xamarin.com/show_bug.cgi?id=53207 in Xamarin’s Bugzilla bug tracker that may potentially be related to the issue you’re experiencing
Try starting a conversation on the Xamarin Forumshttps://forums.xamarin.com/ or Stack Overflowhttps://stackoverflow.com/questions/tagged/xamarin+or+xamarin.ios+or+xamarin.mac for support
If you think you’re found a bug or want to file an enhancement request for Xamarin.iOS, please do so on GitHubhttps://github.com/xamarin/xamarin-macios/issues (this is where issues are now tracked)

Hope this helps. Thanks again for the feedback.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/xamarin-docs/issues/46#issuecomment-375099650, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHNeiqCkKfp60Lbx_i0usgqnH57JUQaFks5tgsQogaJpZM4SwwUV.

@nhwilly I did capture your initial couple of feedback messages. We'll review those when we go through and update this doc. You're always welcome to submit a PR for the doc as well! Thanks for your help.

Ha.
I don’t know how to do a PR.  Seriously.  Solo developer.
I guess I could try to learn that.  I don’t mind helping at all, I just don’t want to add misinformation or somehow make things worse.
I do have another suggestion, this time for the sample code in the Notification Service Extension.  Do you want me to add it at the bottom of the page, just put in on Github, or email it?
Bill
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Brad Umbaugh<EMAIL_ADDRESS>Sent: Thursday, March 22, 2018 3:46:59 PM
To: MicrosoftDocs/xamarin-docs
Cc: nhwilly; Mention
Subject: Re: [MicrosoftDocs/xamarin-docs] Can't make this example work and insufficient information to troubleshoot/debug (#46)
@nhwillyhttps://github.com/nhwilly I did capture your initial couple of feedback messages. We'll review those when we go through and update this doc. You're always welcome to submit a PR for the doc as well! Thanks for your help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/xamarin-docs/issues/46#issuecomment-375434581, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHNeitcW8Csz6YLdO6_j9NM5B2JREcqfks5tg_-ygaJpZM4SwwUV.

Hi @nhwilly - thanks for following up. Feel free to add the code / description on this thread if you'd like!

I get this error when try debug on device. "Application could not be uploaded to the device.". I have set as development in Entitlements.plist

Hi @helmishariff, this issues list is for feedback specifically regarding the documentation itself. For support on issues you're encountering when using Xamarin, please take a look at the Xamarin Forums or Stack Overflow. Thank you!

Thanks to @nhwilly I was able to get this working without too much hassle. The documentation is still incomplete so I am not quite sure about the justification for closing this feedback thread. If this is actually a issues list as @bradumbaugh mentions above, then should it not stay open until the documentation is complete and the issue is resolved?

@nhwilly  With your comment I was able to get this running. I don't understand why the issue on this doc was closed, considering it has been a month since the comment, yet the documentation is still missing a bunch of critical steps... why did you close it @bradumbaugh?
Also, for others who've had to endure this pain, here are a number of additional things to check if you're still struggling:

Verify your Info.plist, Entitlements.plist and csproj files shared settings match in both your extension and mobile project

Verify oncemore your csproj iOS Build match

Ensure you've added the bundle ID to your iOS Run Options in the csproj for the notification.

Ensure you deploy using 'Deploy' and not Debug > Run without debugger!

Thanks everyone for your help! I'm not sure I would of managed this without reading the comments, why the hell is this closed? This is essential information. I got this running, and even better I got it working in debug. Set the Notification Service as start up, the run. Initially this bailed at the end saying application was not found. After a few hours a I tried restarting my phone and it started working! You then get a prompt to start the extension on your phone. I couldn't work this out for a while as opening the app itself left the message up. The trick is to (fairly quickly or it times out) open the app, then press home button to put it in background, then send a push notification and the debugger hits in the extension service and the modified notification gets sent!

Thanks for the comments, everyone (@slpn1, @gudthing, @PerryD, @nhwilly). I've added this doc to our internal backlog for review/updating. I've marked this as closed as an indication that we've captured the action item. Thanks again for the help.

I do not think its cool for the documentation to be so poor. Since it is official documentation it should be complete and clear, same as the code proper code is expected to be.

I also been struggling with this by following documentation. Thanks @nhwilly for your input I am about to follow your steps.

I added extension, erased extension project and re-added. I added a reference again in the main iOS but when building I get this error:
Severity	Code	Description	Project	File	Line	Suppression State
Error		Tool exited with code: 1. Output: ditto: can't get real path for source '../../NotifServiceExtension/ac83d35a0ee368097132b3463a52c5b0/bin/iPhone/Debug/NotifServiceExtension.appex'	SARR1.iOS
Any ideas?

So do I added a reference to the extension from the iOS Project not the shared code project, makes sense but just making sure?

Hi @RazvanEmilR – looking at the MonkeyNotify sample associated with this doc, the main app has a reference to the notification content extension.
For support with your build error, please start a thread on Developer Community by selecting the Report a Problem option in Visual Studio 2017 or Visual Studio for Mac, or use the Product Feedback button in the docs.

the documentation is still old and broken and costing weeks of wasted effort.

the documentation is still old and broken and costing weeks of wasted effort.

I actually gave up on Xamarin Forms (and Xamarin) altogether because of this and other stuff like it. 🤷♂

I actually gave up on Xamarin Forms (and Xamarin) altogether because of this and other stuff like it. 🤷♂

@nhwilly  i followed it all, plus all your additional steps and it still didn't work - then I changed the target version from 10.2 to 14 and started getting the notifications through. 2 weeks i've spent trying random things to make this work.  From the certificate / provisioning profile hell of apple to the synchronisation issues of visual studio and xcode and the black box that is debugging on ios...  I feel like i've developed PTSD over this. The worst development experience i've ever had. Whenever I have to do something involving apple and xamarin i get an existential feeling of dread.

I know precisely how you feel.
I moved on to Flutter and the experience was much better. And I liked Dart. But the backend is in C# and fighting two languages with one developer in one project was a lot.
In the end, I decided the app stores would only make my life miserable and I'm currently working in Blazor WASM.
I hope Maui won't be anything like XF.

Got it all working and now i can't upload it to the store because of this
https://social.msdn.microsoft.com/Forums/en-US/9d618ebf-8482-4751-b2cd-28abe0be22bc/cannot-archive-project-with-notification-service-extension?forum=xamarinios
this is beyond frustrating

I never got that far before I quit.
I'm 67. I'm not spending the few minutes I have left on this planet struggling with this nonsense.
Do you suppose Maui is any better?  Maybe you could switch to that. I think Xamarin is done anyway.
Does it truly have to be an app in the store?  Maybe a PWA built with Blazor would be better. No store.

only reason i'm doing it as an app is for the push notifications - otherwise it's just a wrapper around a web view

Can't you get push in the browser now?  I know I get prompted 2.0 jillion times a day.
If that's all, you might like Flutter.
I was worried about the learning curve, but if you're just  wrapping a web view, it might be really quick.

yeah but only if it's open - need these to be available if backgrounded/ killed.
I'll take a look at flutter, thanks, just have to get my head around having wasted weeks of effort on this first.

Liberal dose of scotch might do it.
Worked for me. Best of luck.


Unable to open a gossip bundle error

Since today I've a lot of these warnings in my log:
⛃ 1180}" bundle=null source=12D3KooWSD9U5o3hvT5houXeG5cLSNUx9Qgjedso6EFNC3GL5aq3
7:03PM WRN firewall: unable to open a gossip bundle error="invalid message: cbor: cannot unmarshal positive integer into Go struct field message.HelloAckMessage.2 of type string" _sync="{☍ 20 ⛃ 1180}" bundle=null source=12D3KooWGvAUV85sGSSXyFUaN4DKafBFFrds9q6kUU7cTg7kvfmi
After restart warnings continue
Environment

Operation System: Ubuntu 20.04.6 LTS
Pactus Version: v0.15.0
Go Version: Used binary from Github

In a P2P network, receiving malformed packets can occur. In this particular case, there is a node still running the old Testnet (Testnet-1). The log is correct, and your node simply ignored the messages that came from that node.


GOSS is broken

I ran a goss example with following config which is based on examples\binary_classification\train.conf
The program crashed from vector index of out range exceptions. It is very easy to reproduce.
# task type, support train and predict
task = train

# boosting type, support gbdt for now, alias: boosting, boost
boosting_type = goss

# application type, support following application
# regression , regression task
# binary , binary classification task
# lambdarank , lambdarank task
# alias: application, app
objective = binary

# eval metrics, support multi metric, delimite by ',' , support following metrics
# l1
# l2 , default metric for regression
# ndcg , default metric for lambdarank
# auc
# binary_logloss , default metric for binary
# binary_error
metric = binary_logloss,auc

# frequence for metric output
metric_freq = 1

# true if need output metric for training data, alias: tranining_metric, train_metric
is_training_metric = true

# number of bins for feature bucket, 255 is a recommend setting, it can save memories, and also has good accuracy.
max_bin = 255

# training data
# if exsting weight file, should name to "binary.train.weight"
# alias: train_data, train
data = binary.train

# validation data, support multi validation data, separated by ','
# if exsting weight file, should name to "binary.test.weight"
# alias: valid, test, test_data,
valid_data = binary.test

# number of trees(iterations), alias: num_tree, num_iteration, num_iterations, num_round, num_rounds
num_trees = 100

# shrinkage rate , alias: shrinkage_rate
learning_rate = 0.1

# number of leaves for one tree, alias: num_leaf
num_leaves = 63

# type of tree learner, support following types:
# serial , single machine version
# feature , use feature parallel to train
# data , use data parallel to train
# voting , use voting based parallel to train
# alias: tree
tree_learner = serial

# number of threads for multi-threading. One thread will use one CPU, defalut is setted to #cpu.
# num_threads = 8

# feature sub-sample, will random select 80% feature to train on each iteration
# alias: sub_feature
feature_fraction = 0.8

# Support bagging (data sub-sample), will perform bagging every 5 iterations
bagging_freq = 5

# Bagging farction, will random select 80% data on bagging
# alias: sub_row
bagging_fraction = 1

# minimal number data for one leaf, use this to deal with over-fit
# alias : min_data_per_leaf, min_data
min_data_in_leaf = 50

# minimal sum hessians for one leaf, use this to deal with over-fit
min_sum_hessian_in_leaf = 5.0

# save memory and faster speed for sparse feature, alias: is_sparse
is_enable_sparse = true

# when data is bigger than memory size, set this to true. otherwise set false will have faster speed
# alias: two_round_loading, two_round
use_two_round_loading = false

# true if need to save data to binary file and application will auto load data from binary file next time
# alias: is_save_binary, save_binary
is_save_binary_file = false

# output model file
output_model = LightGBM_model.txt

# support continuous train from trained gbdt model
# input_model= trained_model.txt

# output prediction file for predict task
# output_result= prediction.txt

# support continuous train from initial score file
# input_init_score= init_score.txt

# number of machines in parallel training, alias: num_machine
num_machines = 1

# local listening port in parallel training, alias: local_port
local_listen_port = 12400

# machines list file for parallel training, alias: mlist
machine_list_file = mlist.txt

no error shown on my machine. did you use latest code?

Yes, latest code.
I ran it with vs2017 in debug mode. A vector access was really out of range.
Maybe these errors can't be revealed in release mode and linux.


Test: Latest WebUI & Backend preview

check: https://github.com/rootzoll/raspiblitz/pull/2770

One caveat when testing: Wallet needs to be unlocked for the webUI to work.
Don't think I get cstenglein/raspiblitz-web#55 done today / tomorrow.
If there is an automatic logout, it's most likely the list-all-tx call that returns an error code like 500. Better error handling comes later in cstenglein/raspiblitz-web#15

@fusion44 OK I adapeted the api isntall script in my working branch 2771webui for new new config values. I can see the api running, but still get this non-blocking error in the logs .. anything I missed from the config side?
Dec 22 23:07:01 testlnd sudo[92539]: Traceback (most recent call last):
Dec 22 23:07:01 testlnd sudo[92539]:   File "./app/repositories/system.py", line 93, in _handle_gather_hardware_info
Dec 22 23:07:01 testlnd sudo[92539]:     info = await get_hardware_info()
Dec 22 23:07:01 testlnd sudo[92539]:   File "./app/repositories/system.py", line 50, in get_hardware_info
Dec 22 23:07:01 testlnd sudo[92539]:     return await get_hardware_info_impl()
Dec 22 23:07:01 testlnd sudo[92539]:   File "./app/repositories/hardware_impl/raspiblitz.py", line 56, in get_hardware_info_impl
Dec 22 23:07:01 testlnd sudo[92539]:     "public_ip": await _redis_get("publicIP"),
Dec 22 23:07:01 testlnd sudo[92539]:   File "./app/repositories/hardware_impl/raspiblitz.py", line 11, in _redis_get
Dec 22 23:07:01 testlnd sudo[92539]:     return v.decode("utf-8")
Dec 22 23:07:01 testlnd sudo[92539]: AttributeError: 'NoneType' object has no attribute 'decode'

@rootzoll looks like an error in my code. I'm fetching a value from Redis which doesn't exist. I'm on it.

OK I think the both look good for a preview in v1.7.2 :)


[6.0] Enable the sendingArgsAndResults experimental feature

Explanation: SE-0430 was accepted for Swift 6.0 but the corresponding experimental feature sendingArgsAndResults in swift-syntax was not enabled with the proposal’s acceptance. Because of this, SwiftParser cannot parse eg. func whatever(_ foo: sending Foo)
Scope: Parsing of sending parameters in SwiftParser
Risk: Fairly low, this is enabling a feature flag.
Testing: Ran test suite
Issue: https://github.com/swiftlang/swift-syntax/issues/2836 / rdar://135336930
Original PR: https://github.com/swiftlang/swift-syntax/pull/2835
Reviewer: @bnbarham @rintaro @hamishknight

https://github.com/swiftlang/swift-syntax/pull/2839

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows


[ASoC 2022] Pixiu Metrics Implementation #433

What this PR does:
Which issue(s) this PR fixes:

Fixes #433
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report

Merging #480 (fcd8805) into develop (7ac27eb) will decrease coverage by 0.03%.
The diff coverage is 71.42%.

@@             Coverage Diff             @@
##           develop     #480      +/-   ##
===========================================
- Coverage    54.95%   54.91%   -0.04%
===========================================
  Files          662      663       +1
  Lines        77404    77432      +28
===========================================
- Hits         42534    42525       -9
- Misses       31245    31277      +32
- Partials      3625     3630       +5

Impacted Files
Coverage Δ

pixiu/pkg/filter/prometheus/metric.go
71.42% <71.42%> (ø)

pkg/kube/controllers/queue.go
55.22% <0.00%> (-7.47%)
:arrow_down:

pkg/kube/inject/watcher.go
48.14% <0.00%> (-6.18%)
:arrow_down:

pilot/pkg/xds/monitoring.go
78.57% <0.00%> (-2.86%)
:arrow_down:

security/pkg/nodeagent/sds/sdsservice.go
84.76% <0.00%> (-2.65%)
:arrow_down:

pilot/pkg/trustbundle/trustbundle.go
90.72% <0.00%> (-1.99%)
:arrow_down:

pkg/istio-agent/xds_proxy.go
59.00% <0.00%> (-1.52%)
:arrow_down:

pilot/pkg/xds/deltaadstest.go
58.51% <0.00%> (-1.49%)
:arrow_down:

pkg/wasm/cache.go
88.48% <0.00%> (-1.05%)
:arrow_down:

pilot/pkg/model/jwks_resolver.go
78.29% <0.00%> (-0.78%)
:arrow_down:

... and 10 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat: removing chinese characters

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


skip k8s 123 tests to reduce load on CS env

Issue #, if available:
After adding K8s 1.24 tests, the test count has increased to 92. Cloudstack is unable to handle the load of 92 concurrent runs and is behaving inconsistently.
Description of changes:
To test the above theory, let's skip 1.23 tests and check for the ci test runs.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold


Unexpected "duplicate presence of slot"

Version
2.5.2
Reproduction link
https://codesandbox.io/s/mzvkppmvo8
Steps to reproduce

I created component with scoped slot (AppSwitcher.vue)
Then I use it in another component with their own slot (HelloWorld.vue with slot "subtext")
Add some element to slot (div in App.vue)

What is expected?
It should work without errors
What is actually happening?
Changes in AppSwitcher.vue caus "Duplicate presence of slot "subtext" found in the same render tree" error but there are no duplicates.

Also, adding slot-scope to div in App.vue solves problem and no error there, but why it happens without slot-scope?

Hello @Kelin2025
In v2.5, there was some changes in scoped-slot, you can go through them here - https://gist.github.com/yyx990803/9bdff05e5468a60ced06c29c39114c6b#simplified-scoped-slots-usage

Yeah, I know it, but I don't really understand why I get this error, there are no duplicates of slot but only rerender.

It looks like a slot inside a scoped slot is rendered more than once.

@Justineo it's being re-rendered on changes but it shouldn't cause problems, I think :thinking:

Any updates on this? I get the same error when using a slot inside an element which is using slot-scope.

any updates on this? same problem

I'm experiencing the same thing. Anything that triggers a re-render inside the slot-scope causes a warning about duplicate slot presence.
The issue seems to be here on this line here. Once the slots have been rendered once, subsequent executions of that block have slotNodes._rendered as true, presumably from the first render.
I would imagine something should be setting that back to false when a re-render is triggered, but admittedly I know almost nothing about how Vue works under the hood so that's just a wild guess.
This bug seems like an unlikely edge case but it's happened to me a couple of times recently. I'm a big fan of the pattern of writing renderless components that can be paired with concrete implementations, and trying to pass the content from the consumer into the concrete implementation is when this issue is arising.

try this:
my-component:
<template>
    <slot :someprop="value"></slot>
</template>

app:
<my-component>
    <template slot-scop="someprop">{{ prop }} ... and do something else</template>
</my-component>

I'm running into this, too. My general template structure (omitting excess unrelated stuff):
<template>
  <div>
    <apollo-query :query="query">
      <template slot-scope="{ result: { loading, error, data } }">
        <el-table
          :data="data.listTracks.items"
          :default-sort="{ prop: 'name' }"
          :highlight-current-row="true"
          class="temp"
          size="small"
          stripe
          @sort-change="sortChange"
        >
          <el-table-column
            type="selection"
            width="55"
          />
          <slot />
          <el-table-column width="120">
            <template slot-scope="scope">
              <data-table-menu
                :actions="actions"
                layout="dropdown"
                @action="cmd => $emit('action', cmd, scope.row)"
              />
            </template>
          </el-table-column>
        </el-table>
      </template>
    </apollo-query>
  </div>
</template>

I still have this issue on both 2.5.17


Support Exact Decimal Numeric Types

Add support for exact decimal and numeric types. Currently they are treated as floats in pandas.

Fixex by #33


experiment: attempt to fix or-pattern inference

When inferring a pattern, simultaneously return a type-setter function that AltP can call to propagate the supertype down into the nodes comprising it.
TODO:

[ ] literals

I'll try it on the counter-example:
 func bad((((x,y) : (Nat,Int)) or ((y,x) : (Int,Nat)))): Nat { x }

and report back.

Ok, since this branch doesn't support bindings in patterns, I tried it on the simpler:
[nix-shell:~/motoko/src]$ moc
Motoko compiler (source 0.9.1-21-gef4204c76)
> func((((_,_) : (Nat,Int)) or ((_,_) : (Int,Nat))) ): Nat { 0 };
stdin:1.30-1.49: warning [M0146], this pattern is never matched
func : ((Int, Int)) -> Nat
>

This is an abstraction of the bad example above and suggests this is still unsound (because it let's you convert a negative Int to a Nat once you add pattern bindings).

Ok, since this branch doesn't support bindings in patterns, I tried it on the simpler:
[nix-shell:~/motoko/src]$ moc
Motoko compiler (source 0.9.1-21-gef4204c76)
> func((((_,_) : (Nat,Int)) or ((_,_) : (Int,Nat))) ): Nat { 0 };
stdin:1.30-1.49: warning [M0146], this pattern is never matched
func : ((Int, Int)) -> Nat
>

This is an abstraction of the bad example above and suggests this is still unsound (because it let's you convert a negative Int to a Nat once you add pattern bindings).

Because I only support variant types for "backpatching" right now on that branch. Can you try substituting Int with {#a;#b} and Nat with {#a} and rerunning your experiment?

Just doing some repo cleanup for better focussing on active work:
Closing PR as it seems inactive for a longer time. Please re-open if it is still relevant and after it has been updated with latest master changes.


Extraneous quotes when using passing Field to between

[System Environment]
Windows 10
Python: 3.6.4
PyPika: 0.15.7
[Overview]
When doing a join based on a table field's value being between values derived from another field (or set of fields), the start and end portions get wrapped in quotes.
t1 = Table('Table1', alias='t1')
t2 = Table('Table2', alias='t2')

Query.from_(t1).join(t2).on(t1.Value.between(t2.Start, t2.End)).select(t1.value).get_sql()

yields:
'SELECT t1.value FROM Table1 t1 JOIN Table2 t2 ON t1.Value BETWEEN "t2"."Start" AND "t2"."End"'
Looking at BetweenCriterion it seems like, if self.start and/or self.stop are instances of Term then get_sql(**kwargs) should be called (as is done with self.term). Unless this is intended behavior?

actually the intended behavior is that quotes are always used, in case you use a reserved word or special character like a space in a name. get_sql isn't meant to be called directly, unless you pass in some arguments. You should prefer to use str(query) instead.  However, since the default quote character for get_sql is None, that should respected in the entire query. Looks like in your case the arguments for BETWEEN are getting passed a quote character when rendering as a string. I'll take a look.

Oh, interesting. So, the reason I've been using get_sql is that when I just wrap the query with str(), if I'm specifying a schema the resulting SQL is invalid.
So, for example (pseduo-tables):
t1 = Table('Table1', schema='DB.dbo', alias='t1')
str(Query.from_(t1).select(t1.star))

generates:
`'SELECT "t1".* FROM "DB.dbo"."Table1" "t1"'
Which, when trying to execute results in:
DatabaseError: Execution failed on sql `'SELECT "t1".* FROM "DB.dbo"."Table1" "t1"': ('42S02', "[42S02] [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Invalid object name 'DB.dbo.Table1'. (208) (SQLExecDirectW)")
Whereas calling get_sql():
Query.from_(t1).select(t1.star).get_sql()
generates:
'SELECT t1.* FROM DB.dbo.Table1 t1'
which executes just fine.

I suppose the issue is the schema. I've never tested pypika with SQL server and not familiar with the specifics of it. Can you omit the DB. part of the schema name? Would it be correct to wrap each part of the schema name like "DB"."dbo"."Table1"?

Reopening to address schema formatting issue

Yes, wrapping the individual elements in quotes separately executes correctly.


Threadview fixes

Add highlighting to comparison pane for max cpu usage and largest stack trace.
Reintroduce clipboard tool compatibility. (Only one Thread Dump can be pasted)
Small little bypass for an error that occurs when sorting by a column which is invisible by default and the model changes. We simply check to make sure the column is visible before attempting to sort by it now.
CPU usage was showing 0.0% for values that were small. I believe this issue was related to the number foratter used. Changed to a generic decimal formatter and increased precision for more accurate values.

Duplicates #116


Set Up Kubernetes Container for Running the Application

Currently, the application runs raw without any container. We probably need to get into a container-first approach where we run the services from within a container.
So explore on Kubernetes and see how we can spin a kubernetes setup on some environments!

Tried GitOps concept using Flux operator for the plant-simulator image available on Docker Hub!


Documenting the /downloadsEndpoint

It's currently missing in plugins/files.rs, even though /upload is there.
Since it's an odd endpoint (doesn't respond with JSON-AD, but files) it should suffice to only have a human readable description

Fixed in #930


Multi-select support?

Hi guys, fantastic work. I'm really loving this package.
Do you have any plans to add in functionality to select multiple draggable elements?
It'd be really neat if multiple items could be cloned and follow the cursor onDrag

@madebyaaron thanks!
Interesting idea! How would you see this work?
I had a similar idea for multi-touch support, i.e. ability to pick up multiple draggables with multiple fingers. But this would be something to look at after releasing the first stable build.

I'd approach it in the following...
I currently have a delay on my sortable items to allow me to select them using "command/ctrl + click". This adds a reference of the selected item to a store to track the state (a glorified array).
When i drag one of my sortable items (with command/ctrl held down), a mirror would be created for each selected item (offset by one another). Giving the appearance that I'm moving all selected items. Then on release, all the items would be moved to the new position (respecting their original indexing)
That'd would be my approach in terms of functionality. Happy to provide how i'd approach it technically too if it helps.

@madebyaaron   Hi guy, how do you use "command/ctrl + click" to select an item,  In the onMouseDown event of MouseSensor. js , the ctrlKey event is returned. You can look at this  Thx~