Addsolutionto_commentyourjavascript

I don't understand what you're trying to do with this addsolutionto_commentoutyourjavascript file that you've added. Plus you've got a merge commit in your commit log. Please view the contribution guide and visit the Help Contributors chat if you need more help. Thanks!

I wanted to add a solution to a problem. I created the branch, and attempted to make the pull request to staging. When did you see the commit? I don’t see anything from tonight:
Murrays-MacBook-Pro:freecodecamp MurrayBaker89$ git log --graph

commit 6936d35c5dccb4773189eaed6fee23947cfbd276
|\  Merge: ee69ff4 37b5784
| | Author: Logan Tegman<EMAIL_ADDRESS>| | Date:   Tue Oct 27 19:36:39 2015 -0700
| |
| |     Merge pull request #3944 from mschultz4/fix/typos-intermediate-bonfire
| |
| |     Fixed typos in assert messages
| |
| * commit 37b5784899b3c4fe2eb9f6fea97c6d2e10eee55e
| | Author: mschultz4<EMAIL_ADDRESS>| | Date:   Tue Oct 27 20:57:48 2015 -0400
| |
| |     Fixed typos in assert messages
| |
|   commit ee69ff4314e5a1b9ef794d467dd314f0cab51ae0
|\ \  Merge: 17310b0 7605a92
| | | Author: Quincy Larson<EMAIL_ADDRESS>| | | Date:   Tue Oct 27 17:29:38 2015 -0700
| | |
| | |     Merge pull request #3885 from tdugger/fix/3884
| | |
| | |     The word several is repeated in step 11
| | |
:

Thanks
Murray

On Jan 11, 2016, at 7:32 PM, Logan Tegman<EMAIL_ADDRESS>wrote:
I don't understand what you're trying to do with this addsolutionto_commentoutyourjavascript file that you've added. Plus you've got a merge commit in your commit log. Please view the contribution guide https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/CONTRIBUTING.md and visit the Help Contributors https://gitter.im/FreeCodeCamp/HelpContributors chat if you need more help. Thanks!
—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6074#issuecomment-170773053.

What was wrong with the pr?

On Jan 11, 2016, at 7:41 PM, Logan Tegman<EMAIL_ADDRESS>wrote:
https://cloud.githubusercontent.com/assets/1381313/12254207/15769b84-b89b-11e5-88f9-c63d498a48b6.png
—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6074#issuecomment-170774237.

It had the merge commit I just showed you and it was creating a file called addsolutionto_commentoutyourjavascript, which should not be happening.

Can you create a branch without creating a file? Sorry where do I make text changes?

On Jan 11, 2016, at 7:44 PM, Logan Tegman<EMAIL_ADDRESS>wrote:
It had the merge commit I just showed you and it was creating a file called addsolutionto_commentoutyourjavascript, which should not be happening.
—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6074#issuecomment-170775468.

Creating a branch does not create any additional files, it just makes a copy of the current commit history under a new branch. Changes should be occurring in whatever file you are changing (in a well-named branch). You should not be making a PR on your own for before making a PR against FCC's staging, because that is what adds the merge commit we don't want.

Aha, one PR too many. The naming wasn’t right either

On Jan 11, 2016, at 7:54 PM, Logan Tegman<EMAIL_ADDRESS>wrote:
Creating a branch does not create any additional files, it just makes a copy of the current commit history under a new branch. Changes should be occurring in whatever file you are changing (in a well-named branch). You should not be making a PR on your own for before making a PR against FCC's staging, because that is what adds the merge commit we don't want.
—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6074#issuecomment-170778475.


No mantainer anymore?

It will great to get fresh updates with this theme, thanks !!!

This is how it looks now (2019) with neovim 0.3.4 (ctrlp, airline, gitgutter, polyglot, ale, fugitive, nerdtree, indentLine):

@outaTiME link to config? Digging the setup.

Yeah, Ayu is really nice. Would love to see some updates!
Those who are looking for a similar-looking Ayu config -> here is my .vimrc
P.S. Below is the image of how it looks.

@outaTiME I’d also love to see this config. Looks great! Really digging the nerdtree style.

My config is almost the same (in terms of visuals), except for the dotted lines as I do not use the indentLine plugin. You can check out my dotfiles here: https://github.com/oniani/templates.

Guys, project is looking for a new maintainer :)


NOISSUE - Update documentation

To be merged after #18

@SammyOina please update this one according to the new changes


firestore missing permissions when query allowed collection [BUG]

Describe the bug
Can't access the documents through query.
I have a firebase project in production and firestore rules were setup to allow reading of players collection.
Firestore has 2 collections players and token
writing to players collection required auth and uid matching
token is private for individuals and rules are according to it.
When I try to query players collection.I encounter get missing permissions error.
I can access documents through firebase rest api using chrome, brave and firefox.
To Reproduce

Create multiple collections
allow read to all documents in any collection
secure write with auth and uid
others with read, write only auth users
query the documents from allowed collection

Expected behavior
var query : FirestoreQuery = FirestoreQuery.new().from("players").order_by("score", FirestoreQuery.DIRECTION.DESCENDING) var result: Array = await Firebase.Firestore.query(query).result_query
this should give me the documents from firestore
Environment:

OS: Ubuntu 14
GODOT: 4
PLUGIN: from repo for godot 4

Additional context
I'm new to Godot and this is my re-creation of project.
Never encounter this error, using same rules in live app till last year.

Did you authenticate? What is the exact error you're getting? Do you have an index setup correctly for that field? What platform are you exporting for/using to debug?

Using Anonymous login.
This is what I got

Using automatic indexing of firestore
I just ran it locally in godot only to test things out.

Today I created new firebase project, it works fine with same setup. But there is this special project giving me hard time untill now.
I just remind that I had enforced the app check for all api call that cause permission denied error. Current there is no app check option in this plugin as long as I remember. So unenforcing is the key in my case.
The plugin is fine, there is nothing to do with it.


DPR2-1136: Report reconciliation to cloudwatch metrics.

Initial spike.

This approach would create a lot of expensive custom cloudwatch metric streams so I'm closing this in favour of my preferred approach.


Package installation fails on Windows due to missing SQLite3 .lib files

I am trying to install Micrate on a Windows machine, but I am encountering an issue related to the SQLite3 library. The error message I receive is as follows:
I: Building: micrate
E: Error target micrate failed to compile:
Error: Cannot locate the .lib files for the following libraries: sqlite3

Steps to Reproduce:

Set up a Windows environment with Crystal Lang installed.
Attempt to install Micrate using the standard installation instructions.
Observe the error message related to the SQLite3 library.

Expected Behavior:
Micrate should install successfully on a Windows environment without issues related to locating the SQLite3 library.
Actual Behavior:
The installation fails with an error indicating that it cannot locate the .lib files for the SQLite3 library.
Environment:

Operating System: Windows 11
Crystal Lang Version: Crystal 1.12.1 [4cea101] (2024-04-11) LLVM: 18.1.1 Default target: x86_64-pc-windows-msvc
Micrate Version: 0.15.1

Workaround:
I followed the instructions from this gist to compile the sqlite3.lib file and placed it in the lib directory of the Crystal executable.
Suggestion:
It seems that including the sqlite3.lib file in the Crystal Windows release could help avoid this issue for other users. Including precompiled .lib files for common libraries like SQLite3 in the Crystal distribution for Windows would simplify the setup process and prevent similar issues in the future.
Thank you for your attention to this matter.

The official Windows release package contains libraries required by the standard libraries. But that's as far as we can go for convenience for convenience. Packaging additional dependencies is an additional effort outside the scope of the Crystal project.
This might be considered by downstream package maintainers, of course.

As mentioned, this is not in the scope of the main project, so I'm closing it.


Unable to add exported TileMapLayer property to scene node

Tested versions

Reproducable v4.3.stable.mono.official [77dcf97d8]

System information
Both Mac and PC
Issue description
Attempting to drag&drop a TileMapLayer onto a scene node property won't take.
If I add it to the tscn file directly it's removed on build.
(I'm new to godot so might not be describing this properly)
Steps to reproduce
I'm following a tutorial on udemy. But here's a screenshot

Minimal reproduction project (MRP)
puzzle_course.zip

Some additions according to my tests:

Editor can't assign values to exported fields of any type, not only TilemapLayer (I've tested TilemapLayer, Sprite2D, PackedScene, int);
Editor can't assign values to any C# script of any node, not only GridManager's;
Editor can't assign values only to C# scripts, GDScript scripts work without problems;
Removing only .godot folder doesn't fix the issue.

So it's obvious that the problem is related to the .NET/Mono part of the engine.


Wish: mapping methods that create a normal Iterator

I find it strange that map and filter_map both create a StreamingIterator rather than an Iterator, because their mapped items are not tied to the lifetime of the source.  You have to use cloned or owned after mapping to get an iterator by value.
Map and FilterMap could be plain Iterators that directly return the mapped value.  One could still use convert to get back to streaming if really wanted.  Also cloned and owned could essentially be just map(Clone::clone) and map(ToOwned::to_owned).  Of course, this would be a breaking change.
Alternatively, there could be new methods like map_deref, just like map but producing an Iterator.

@sfackler Could you make a new release? There's been quite a bit since 0.1.4, including map_deref and filter_map_deref to resolve this issue.

@sfackler or perhaps add cuviper as co-owner/maintainer. He seems to be invested and active on this project.

@sfackler ping?


Broken Code of Conduct Link on Website

I'm not sure if this is the right place for this, but I was scrolling through the reprozip about page and found that the CODE_OF_CONDUCT.md link under Contribute to Reprozip! was broken.
The file seems to have been deleted in commit 1fadd26 by @remram44 with the Github community guidelines taking it's place.
I would submit a pull request but I can't seem to find the src.

Thanks Sachin! Fixed by f913e860


Add a field for candidate's to give a phone number

Is your feature request related to a problem? Please describe.
The candidate needs to be able to give a telephone number. This is necessary because sometimes teams have to ring candidates fairly urgently or the email address is incorrectly typed. On a recent exercise candidates had to be email information and a couple of emails were wrong. Without the phone number there was no other way to contact the candidate
Describe the solution you'd like
A phone number field underneath email address on the personal details of the application.

Describe alternatives you've considered
Not asking for the phone number but this has presented too many issues for teams.
Additional context
Not applicable.

@GabMat97 are you able to do this?


Wrong property names in design.xml rules

The properties for NumberOfChildren, DepthOfInheritance and CouplingBetweenObjects have the name minimum but then they're referred to the maximum in the description tag.
Example:
rule name="CouplingBetweenObjects"
<property name="minimum" value="13" description="Maximum number of acceptable dependencies." />

It should be:
<property name="maximum" value="13" description="Maximum number of acceptable dependencies." />

Let's track this rather in #670 which has a more complete list.
For the record, the ambiguity comes from "maximum allowed" = "minimum before raising the rule violation" so from the rule violation point of view, minimum make sense, but indeed, all names should rather be harmonized to end-user point of view.


Fix typos

These probably were meant to be Object.hasOwn per https://github.com/tc39/proposal-accessible-object-hasownproperty/issues/3#issuecomment-823551059

Thanks!


Split of SimpleNetwork, SimpleForm to own library included within @misk/core

No downstream of @misk/core tabs needs to change
Lets open source people use just the SimpleNetwork Redux wrappers
Consider naming the library more broadly so future Redux-Sagas wrappers can be included in it

Eliminate exports like this by having a non-omnibus package for those functions / features to be pulled in from.
import {
  dispatchSimpleNetwork,
  IDispatchSimpleNetwork,
  ISimpleNetworkState,
  SimpleNetworkReducer,
  simpleNetworkSelector,
  watchSimpleNetworkSagas,
  ISimpleFormState,
  IDispatchSimpleForm,
  dispatchSimpleForm,
  simpleFormSelector,
  SimpleFormReducer,
  watchSimpleFormSagas
} from "@misk/core"
export {
  dispatchSimpleNetwork,
  getSimpleNetwork,
  onClickFnCall,
  onChangeFnCall,
  onChangeNumberFnCall,
  onChangeTagFnCall,
  onChangeToggleFnCall,
  querySimpleForm,
  querySimpleFormData,
  querySimpleNetwork,
  valueSimpleForm,
  valueSimpleFormTags
} from "@misk/core"


parseTranslationUnit doesn't take a list of CXUnsavedFile

I am trying to pass in multiple unsaved files, but it seems that parseTranslationUnit only takes a single CXUnsaved file. I saw that this was reported here:
https://github.com/microsoft/ClangSharp/issues/12
But it appears that it still doesn't accept CXUnsavedFile[].
I am using the latest version: 3.8.0

But as you can see, parseTranslationUnit accepts a single CXUnsavedFile

For 3.8.0, there are additional helper methods that take a CXUnsavedFile[] instead. For example: https://github.com/microsoft/ClangSharp/blob/b52de9c08f7243a8f060d511e1d9ed1a901d3cb3/ClangSharp/Generated.Custom.cs#L42
This has all been rewritten since then and there just hasn't been a new NuGet package published yet. Now, the original signature is correct and just takes a CXUnsavedFile*: https://github.com/microsoft/ClangSharp/blob/master/sources/ClangSharp/Interop/clang.cs#L218
There are then friendly helper functions such as CXTranslationUnit.Parse which don't require the consumer to use unsafe code: https://github.com/microsoft/ClangSharp/blob/master/sources/ClangSharp/Interop.Extensions/CXTranslationUnit.cs#L72
The recommended approach with the latest sources, if you are willing to build them locally, would be to create the CXTranslationUnit using the latter method and then call TranslationUnit.GetOrCreate to get a friendly/type-safe version: https://github.com/microsoft/ClangSharp/blob/master/sources/ClangSharp/TranslationUnit.cs#L39.
You can then use the TranslationUnit type for walking/handling most of the AST and falling back to the .Handle and direct methods where functionality isn't exposed.

A preview of the 8.0.0 bits are available on NuGet now, you should be able to use that to test the scenario I mentioned above.


Crypto Square tests for Java version conflict with tests for JS version

(originally exercism/exercism.io#2432)

@kytrinyx — moved this issue to the Java track; feel free to close exercism/exercism.io#2432.

@matthewmorgan — thanks for the worked out tests!

No worries, happy to contribute a little.

@kytrinyx I notice there is no .json for crypto-square.  Seems like the intent behind these files is to prevent this kind of deviation.  True?
If so, I don't mind pulling together that data for this problem and reworking the Java version of the problem to use it.  If we did the same for the JavaScript and Ruby tracks, we've got a seed of goodness in this corner of the garden. :house_with_garden:

True! I was just thinking about that. I'll write up a generator for the Ruby and the Go tracks.

@kytrinyx I think we're going to need you to comment on this one. @jtigger and I had another look at this, and it appears #64 made the tests conform to what the majority of the tracks are doing.  But, what the majority of the tracks are doing is wrong:
Chunk sizes are wrong: The README gives several examples of how to deal with strings of text that can be made into perfect ( ie n X n ) squares, and those that can be made into imperfect ( r X c ) squares.  In all the README examples, the imperfect squares are r X c with the additional constraint that r >= c.
As documented by @jtigger here most of the tracks take a 26-letter string and chunk it in to 5, 5, 4, 4, 4, 4.  This is not the behavior specified in the README, and seems like a error from early on that got propagated to many tracks.
There's no json file for this in x-common, but it appears this needs to be changed in many places, not just on the Java track.  @jtigger and I are happy to change it here, but what do you think about putting an issue in to x-common?

Yeah, we need to discuss this in x-common, and make sure everyone agrees on the format, and each track can fix their own issue. I also have a new tool that lets me submit identical issues to all the relevant track repositories.
Would you mind creating the x-common issue?

The README for this problem has been updated in (x-common 204)[https://github.com/exercism/x-common/pull/204], the config.json was updated in (x-common 250)[https://github.com/exercism/x-common/pull/250], and the test suite on this track conform with both, so I'm going to close this issue.
Thanks everyone!


Camera.getRectangleCameraCoordinates doesn't account for terrain

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/R7CLnK9PZE8
In this example, the camera zooms to span where the rectangle would be on the WGS84 ellipsoid, which is zoomed in too far for where the rectangle is on the terrain surface.
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.terrainProvider = new Cesium.CesiumTerrainProvider({
     url : '//assets.agi.com/stk-terrain/world'
 });

var west = -45.977340999999605;
var south = -21.417668000000273;
var east = -45.96351400000036;
var north = -21.403251000000008;
var rectangle = new Cesium.Rectangle.fromDegrees(west, south, east, north);
viewer.entities.add({
    rectangle : {
        coordinates: rectangle,
        material: Cesium.Color.RED.withAlpha(0.5)
    }
});

Sandcastle.addToolbarButton('Set View', function() {
    viewer.camera.setView({
            destination: rectangle
    });
});

Hi. Any progress on this issue?

Hi @Orex0v, there hasn't been any updates on this item recently.
If you'd like to add more information about your use case, that may help us prioritize.
If you are interesting in contributing, please let us know and we'd be happy to discuss implementation or review a PR.
Thanks!

@ggetz I need to point the camera at a Rectangle on terrain
Now scene.globe.getHeight doesn't take terrain into account and because of this the camera can go under the ground


Add test race detection to pipeline

I think that currently the tests are failing, but if they are not I'm happy with the change :)


List Management - Title Links

Staff name and edit button both do the same thing. remove button?
Nation needs pip links column
Work Staff Project column are blue but not links. should jump to workplan page?

(If yes, list here)
Screenshot
(Link above will always be the most up-to-date version.)

@maria-kuzmenko


Populate location column with build_point_data

Changed the datatype of text location column so now it's expecting a formatted point datatype.
So now we can make gripping visualizations such as:

Reminder to re-process all of the historical data after we merge this as the records made after this PR will not have this location column populated.

gripping indeed—thank you, Charlie!


Changes to work alongside Swift.

Changed a couple C++ bits to straight C so that this code can be used in a Swift project:

Changed cells to a C array.
Used free(cells) instead of delete cells.

But things like the CGContext you create manually right? The one who allocates it, is responsible. In this case the array is implicitly allocated by Objective-C and thus also implicitly freed. If this was not the case you would need to free all member variables also. This would be essentially the same as the following, which of course does not compute ;)
@interface CCColorCube () {
    int bla;
}

- (void)dealloc {
    free(bla);
}


The font of the file count is too small. Is there a way to make it larger?

The font of the file count is too small. Is there a way to make it larger?

Finally, I want to say that the plugin is great, thank you.

In 0.1.8, I've increased the size to 75% of the regular font size; if you want it any larger than that you'll need to use custom CSS.


fix: bug preventing 'ape plugins install' from upgrading

What I did
fixes: #269
was experiencing lots of bugs and inconsistencies in ape plugins set of commands. This PR addresses a bunch of that.
How I did it
Lots of refactoring.
Handle results in new class.
Use ApePlugins class to abstract all the forms of the plugin name.
How to verify it
ape plugins add solidity
ape plugins add solidity --version 0.1.0b2
ape plugins add solidity --upgrade
ape plugins list
ape plugins remove solidity
Make sure ape plugins install installs the version in the config file, even if it is already installed.
Make sure ape plugins uninstall and ape plugins install --upgrade work.
^ All negative testing you can think of for this as well. e.g. adding plugins that are already added, trying to update to version that does not exist, etc.
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Also wondering if we should take the oppurtunity to merge ape plugins add {name} and ape plugins install into ape plugins install NAMES... (with default case of no plugins meaning "install from config file"), and ape plugins uninstall instead of ape plugins remove to more closely mirror pip install experiences

Also wondering if we should take the oppurtunity to merge ape plugins add {name} and ape plugins install into ape plugins install NAMES... (with default case of no plugins meaning "install from config file"), and ape plugins uninstall instead of ape plugins remove to more closely mirror pip install experiences

Right now, we have a --version flag on ape plugins add. I am trying to figure out how that would look when passing multiple names. We'd have to do something like ape plugins install solidity==0.1.0b2 hardhat==0.1.0b2 or something?

We'd have to do something like ape plugins install solidity==0.1.0b2 hardhat==0.1.0b2 or something?

Yeah that sounds good to me


how to save source ip and do not change that

hi guys
i've a problem with docker-compose version 3.8.
i want do not change source ip when i am using docker swarm.
are you have a idea?
for security concept , i want really source ip without changing.
thx

Hi @b3nam, I'm kindly redirecting you to https://forums.docker.com/ and StackExchange for questions related purely to Docker products. Our work is on the integration of the Elastic stack using Compose. Things like tweaking Docker products for deployments in specific environments is out of scope, otherwise we would have to support an entire community on all kind of unrelated problems.
Thank you for your understanding.


[SPARK-32091][CORE] Ignore timeout error when remove blocks on the lost executor

What changes were proposed in this pull request?

This PR adds the check to see whether the executor is lost (by asking the CoarseGrainedSchedulerBackend) after timeout error raised in BlockManagerMasterEndponit due to removing blocks(e.g. RDD, broadcast, shuffle). If the executor is lost, we will ignore the error. Otherwise, throw the error.
Why are the changes needed?

When removing blocks(e.g. RDD, broadcast, shuffle), BlockManagerMaserEndpoint will make RPC calls to each known BlockManagerSlaveEndpoint to remove the specific blocks. The PRC call sometimes could end in a timeout when the executor has been lost, but only notified the BlockManagerMasterEndpoint after the removing call has already happened. The timeout error could therefore fail the whole job.
In this case, we actually could just ignore the error since those blocks on the lost executor could be considered as removed already.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Added unit tests.

Test build #124490 has started for PR 28924 at commit a09990f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29110/
Test PASSed.

Test build #124490 has finished for PR 28924 at commit a09990f.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class IsExecutorAlive(executorId: String) extends CoarseGrainedClusterMessage

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124490/
Test FAILed.

Retest this please.

Test build #124606 has started for PR 28924 at commit a09990f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29227/
Test PASSed.

Test build #124606 has finished for PR 28924 at commit a09990f.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class IsExecutorAlive(executorId: String) extends CoarseGrainedClusterMessage

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124606/
Test FAILed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29240/
Test PASSed.

Test build #124620 has started for PR 28924 at commit a09990f.

Test build #124620 has finished for PR 28924 at commit a09990f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class IsExecutorAlive(executorId: String) extends CoarseGrainedClusterMessage

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124620/
Test PASSed.

Also for user facing change maybe "less failures" which is good and we should call out here so we can mention it in the release notes and encourage folks to upgrade.

@holdenk Thanks for review. I've also updated the PR description for the user-facing part.

ping @tgravescs @jiangxb1987 Could you also take a look? thanks!

Test build #124660 has started for PR 28924 at commit 5a02ef2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29276/
Test PASSed.

Test build #124660 has finished for PR 28924 at commit 5a02ef2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124660/
Test FAILed.

Test build #124903 has started for PR 28924 at commit a04a74e.

thanks for the review. I've updated the PR. Please take another look:)

Merged build finished. Test PASSed.

Test build #124903 has finished for PR 28924 at commit a04a74e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124903/
Test FAILed.

test this please

Test build #125103 has started for PR 28924 at commit a04a74e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29709/
Test PASSed.

Test build #125103 has finished for PR 28924 at commit a04a74e.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125103/
Test FAILed.

retest this please

cc @cloud-fan Could you also take a look? Thanks.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29777/
Test PASSed.

Test build #125169 has started for PR 28924 at commit a04a74e.

Test build #125169 has finished for PR 28924 at commit a04a74e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125169/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29794/
Test PASSed.

Test build #125186 has started for PR 28924 at commit a04a74e.

Test build #125186 has finished for PR 28924 at commit a04a74e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125186/
Test PASSed.

Test build #125568 has started for PR 28924 at commit 828aa2b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30183/
Test PASSed.

Test build #125578 has started for PR 28924 at commit 319d925.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30193/
Test PASSed.

Test build #125568 has finished for PR 28924 at commit 828aa2b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125568/
Test PASSed.

Test build #125578 has finished for PR 28924 at commit 319d925.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125578/
Test PASSed.

thanks, merging to master!

thanks all!!


SQLite Adapter

It's 2015 and still no SQLite3 support.

Its 2015!!! Why doesn't anyone tell me these things!!!!!!
Adapters are community supported. There looks like there was one that was started a while back out there. You could ping them and see if you could work on updating theirs.
https://github.com/AndrewJo/sails-sqlite3

https://github.com/AndrewJo/sails-sqlite3/commits/master
Seems like the last commit was 2013.  Did he died?

I don't know. Why don't you ping that repo and find out. Or you could start fresh. Waterline has come along way since 2013.

A bit OT but Bookshelf/Knex works great with SQLite3, PostgreSQL, etc. I have written my own orm and blueprints hooks to use those instead of Waterline and its adapters. Unfortunately they are not open-source at this time, but they weren't that hard to make.

It's 2015 and still no SQLite3 support.

It's 2015 and Waterline is still an open-source project that is supported by the community. As @randallmeeker mentioned, adapters are community-built and community-supported. If it doesn't exist, that means there hasn't been sufficient community interest in building it.
I recently re-wrote the postgres adapter using knex.js, which supports SQLite3: https://github.com/waterlinejs/postgresql-adapter. Maybe you can use some of those ideas to build a SQLite adapter.

https://github.com/waterlinejs/sqlite3-adapter

Great work @tjwebb :clap:


Extending the approach to multi-shot training

I was wondering if and how this work could be extended to multi-shot segmentation.
The demo uses a single mask for training, would it be possible to use multiple masks of the same object and then fine-tune the model? Has this already been experimented with?

I believe they mentioned they are working on using multi-shot for training in the issue. It would be great to if PerSAM could use multi-shot to help segment out a more accurate object.


Added global service for authentication.

@spyshiv have a look please.
For now I have set auth token to true and will change that later to dynamic.

Merging this PR.
@aka-jain


Rooted schema (from issue #56)

For continued discussion

keep both libs as is (with the exception suggested by Kay).
now or in future refactor the SCORE lib to nest in the BAS lib - keeping the SCORE lowest-level terms the docs are used to , but adapting the hierarchies to fit the  sense of HED in the BAS lib - with the thought that all the neurophys' will care about are the lowest level of the hierarchy, as these are the terms they will actually see in the user interface.
leave HED SCORE as is (with the Kay suggestion exception), but build another HED lib schema for 'EEG events' that reproduces most of the SCORE terminology without enforcing its clinical origin and objectives - e.g., using 'leg' to mean a body-part, 'alpha burst' to be an EEG-event, etc.  This would give us a HED compatible term lexicon, formally segregated into a (base-nesting) library schema, whose completeness would be inspired and educated by SCORE.

Originally posted by @smakeig in https://github.com/hed-standard/hed-schemas/issues/56#issuecomment-1401151366

HED schema organization is based on a forest of trees. The roots of these trees (top-level-nodes) define the meaning of the is-a relationships for the HED schema. Basically each tree imposes an is-a relationship and these is-a relationships form the basis for HED searching.

My current understanding of the rooted-subtree proposal is that instead of having a particular tree in a library schema be its own top-level node, it would be placed as a child node in the standard-schema tree.  Different parts of the library schema could be rooted in different places, and the library schema could also include its own top-level trees.

Is this correct? @smakeig @dungscout96
This is a level of integration with the standard schema beyond partnered schema, where the top level nodes and their respective trees would be independent.  In both cases, the library schema could not duplicate any node names (this part is easy to enforce during schema development).
Considerations:

The rooted-subtree would have to represent exactly the same is-a relationship as the standard schema tree in which it was rooted.
The rooted-subtree would inherit the schema attributes imposed by the standard schema parent.

It is clear that such a library schema would have to be carefully developed, and the HWG would have to carefully curate is-a violations.
Questions:

What happens when the HED standard schema is extended and terms in the rooted-subtree library schema conflict or are organized in a different way.  Who is responsible for generating a new version of the rooted-subtree library schema? What happens when the original schema developers have moved on and are no longer committed.
What happens when more than one library schema root in overlapping areas?  They can be different schemas and one can be a prefix, but as the standard schema evolves, this can get complex. We would still need equivalent term attributes?

Here, I would clarify that the shared node need not be a 'top-level' node,
but should NOT be a lowest-level 'leaf node'
On Thu, Apr 13, 2023 at 2:47 PM VisLab @.***> wrote:

Resolved at the HWG meeting of 4/13/2023. A library schema can include a
node which has the same name as a node in its partnered standard schema.
Such a node should not include any description of attributes except for the
rooted attribute. This node should be a top-level node and represents a
sub-tree that will be rooted in the standard schema at this node.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/hed-standard/hed-schemas/issues/62*issuecomment-1507457470__;Iw!!Mih3wA!CukzlNVQ-35anpbyZIp9Zd22fVaWo6zgObX2QtL2eVOMlll4SYcOuPwqwa3LchBcTmYgWDUDtCFn1QOQXIMYEQ7q$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKN2SFT3LTMBW7ODIPMITHDXBBC5BANCNFSM6AAAAAAUPEYCLU__;!!Mih3wA!CukzlNVQ-35anpbyZIp9Zd22fVaWo6zgObX2QtL2eVOMlll4SYcOuPwqwa3LchBcTmYgWDUDtCFn1QOQXHYOQ7d6$
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Scott Makeig, Research Scientist and Director, Swartz Center for
Computational Neuroscience, Institute for Neural Computation, University of
California San Diego, La Jolla CA 92093-0559, http://sccn.ucsd.edu/~scott


https://www.bleepingcomputer.com/news/security/google-chrome-adds-app-bound-encryption-to-block-infostealer-malware/

https://www.bleepingcomputer.com/news/security/google-chrome-adds-app-bound-encryption-to-block-infostealer-malware/

I have already solution, not pushing. this is old.


A lot of incorrect links inside the Operator Whitepaper

I was reading through the Operator Whitepaper when I realised that there are a lot of links to pages or images that return a 404 when clicked, probably because the structure of the repos they belonged to changed. These are:

https://github.com/cncf/tag-security/blob/main/security-whitepaper/v2/cloud-native-security-whitepaper.md
https://github.com/cncf/tag-security/blob/main/security-whitepaper/v2/cloud-native-security-whitepaper.md#threat-modeling
https://github.com/cncf/tag-security/tree/main/supply-chain-security/supply-chain-security-paper
https://github.com/cncf/tag-security/blob/main/assessments/guide/self-assessment.md
https://github.com/cncf/tag-security/blob/main/security-whitepaper/v2/cloud-native-security-whitepaper.md#cloud-native-layers

hey can i take this issue?


Dim the screen when click on skittle ?

Hmm yeah a needed feature, might take me some time to do this, bit busy, pull request welcome

waitin.. :D

Just to let you know that I am working on this feature and PR should be ready on Sunday ;)

@polok hey take a look at #15 I think it needs to be done and this issue can be easily completed afterwards, lets move the discussion there

@polok take a look at the new version 4.0.0 or in the master branch, the api has been changed and is now backed by RecyclerView, If you are interested you can open a new pull request with these changes with respect to the new api

@aashrairavooru Thanks for letting me know. I will have a look for sure but don't know exactly when, quite many things to do in my to-do list for now :/

NP man, would love feedback on the rewritten api as well
On 23-Jan-2016 3:15 AM, "polok"<EMAIL_ADDRESS>wrote:

Just to let you know that I am working on this feature and PR should be
ready on Sunday ;)
—
Reply to this email directly or view it on GitHub
https://github.com/aashrairavooru/Skittles/issues/9#issuecomment-174061822
.

@polok best if you make a pull on the dev branch I might push some changes before you make your pull request on sunday

@aashrairavooru I made a quick look on your latest changes. They are really cool, there was a good idea to use recyclerview. Next week I will adopt these changes to my implementation of 'shadow' effect and I will prepare PR.

Thanks man, looking forward to it
On Fri, Feb 12, 2016 at 6:17 PM, polok<EMAIL_ADDRESS>wrote:

@aashrairavooru https://github.com/aashrairavooru I made a quick look
on your latest changes. They are really cool, there was a good idea to use
recyclerview. Next week I will adopt these changes to my implementation of
'shadow' effect and I will prepare PR.
—
Reply to this email directly or view it on GitHub
https://github.com/aashrairavooru/Skittles/issues/9#issuecomment-183309778
.


Fix for using apex domains with cloudflare DDNS

When refactoring the Cloudflare DDNS code, I removed a bunch of assumptions
but inadvertently added one. The refactored code did not allow for "apex"
domain records, records for which there is no hostname, just the bare
domain. (Traditionally, these have been referred to as '@' records but
with the Cloudflare API, you just hand it the name of the zone.)
Ideally there would be a checkbox or something in the UI for this, or
even better a way to specify the record and zone separately but in lieu of
that, we first try to break the provided string down into hostname and
domain portions and look up the zoneId from that. If that fails, we try
to look up the zondId using the whole string. And then finally fail if
neither return a zone from the API.
Hopefully fixes #926 and possibly the issue reported in #861 although it'

Merged, thanks for working on this!
You can ask for testing on the respective tickets using this command:
# opnsense-patch -c plugins 2b4f2c8

I'll bump the version for the plugin. It should ship in 18.7.10 early in January.
Cheers,
Franco


The website cannot be deployed or previewd

Describe the bug
The website cannot be deployed or previewd
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-auuqng
Steps to reproduce
See the error
Expected behavior
Fix the bug please

Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 88698361,
  "usedJSHeapSize": 84610001,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username =<EMAIL_ADDRESS>Chat ID = 86196f5317f9

Additional context
Error:
An error occured while streaming this message.

@jasminehu0819 this is being tracked in #1022. Please follow there for updates!

Thank you @kc0tlh  reinvigorating my joy building again with the tools you guys are working on!  Please share with the dev team.


[Issue] UnmatchedPrincipalType with deployment

[X] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
Whatever version is in the CI image
Describe the bug
When I run azd up locally, it works. However, when I run CI/CD, I get an error:
https://github.com/pamelafox/chatgpt-quickstart/actions/runs/5283586918/jobs/9560505267
Deployment Error Details:
UnmatchedPrincipalType: The PrincipalId 'c2b5a29073434e378c518cec9fd[32](https://github.com/pamelafox/chatgpt-quickstart/actions/runs/5283586918/jobs/9560505267#step:6:33)a8d' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.

I'm fairly certain that we've discussed an issue with azd pipeline config and principals, but I can't find an issue filed with this verbiage, so I'm filing this. Feel free to merge/close as dupe.
To Reproduce
Check out that repo
Run azd up locally
Run azd pipeline config
See build fail
Expected behavior
I expected the CI build to succeed
Environment
CI server

Hey @pamelafox
There's is a role-assignation defined within the infra-bicep file which is expecting to assign the role openAiRoleUser to the user who is running azd-provision.
When running on CI/CD, there is not a user running azd, but a Service Principal, so this step fails.
My understanding is that role is making sure that you can run the backend locally, which will use your user-crendential for talking to openAI service.
The same role is assigned here for the webapp which holds the backend on Azure, to allow the app to use the OpenAI service.
During CI/CD, you don't need to create a role-assignment for the Service-Principal (unless you are expecting to ever run the backend using that Service Principal to authenticate to Azure).
Here is some things you can try:

Update the bicep file to only assign the role to the user by setting an input parameter and set that input by default to false (similar strategy used for APIM).  Then, add a note in the Readme for users to set that env-var ON if they want to run the backend locally.

Another approach is to only update bicep with the input parameter and create a mapping for it to an env-var that is only set on github-workflow and use that input as the condition to exclude that role-assignation. This won't require users to opt-in for the role-assignment. Instead, makes bicep to detect when it is running on CI/CD

Last option is to use a ServicePrincipal both locally and on CI/CD.  You would create the SP and login azd with it locally.  Then you would update the role-assignment from user to service principal, and it will work both locally and on CI/CD.  But you will need to add this note into the Readme, to tell folks they need to use a ServicePrincipal instead of their account

Ah, yes, that makes so much sense, thank you for the thorough explanation. I've gone with option 2 since it requires no work from the user:
https://github.com/Azure-Samples/chatgpt-quickstart/compare/main...pamelafox:chatgpt-quickstart:main?expand=1


Indefinite hang when realtime plugin configuration is incorrect

The plugin should either fail through or panic with a useful message, indefinite hangs are very hard to debug.

Now fails silently thanks to moving the client connection off the main thread, but error handling still needed


Moved Gemfile to root of serverspec tests

No reason to have a Gemfile in the base of the repo.  Moved a
reference Gemfile to the functional tests which perform serverspec
tests.

  syntax: commands succeeded
  py27-ansible19-unit: commands succeeded
  py27-ansible19-functional: commands succeeded
  py27-ansible20-unit: commands succeeded
  py27-ansible20-functional: commands succeeded
  py27-ansible21-unit: commands succeeded
  py27-ansible21-functional: commands succeeded
  doc: commands succeeded
  congratulations :)

The only concern I have with this is that the CONTRIBUTING.rst file documents running "bundle install" without denoting the directory where to find it. It also appears that manually installing test dependencies is no longer needed based on the change to test_command_test.sh. We might want to followup with an update to the developer docs to clarify what is going on with the test dependencies.


Document Level ACL

Will Thali Acl support document level ACL similar to the way couchbase sync gateway does with it's sync function ?
http://developer.couchbase.com/mobile/develop/guides/sync-gateway/sync-function-api-guide/validation/index.html

@deefactorial yes, that is the intention with this project to protect all endpoints, especially with our express-pouchdb interface to it.

Excellent


Set wagmi v1.4.13 and viem v1.21.4 as dependencies

The Superfluid Widget currently marks wagmi and viem as "peer dependencies" rather than "dependencies". The intent of a "peer dependency" is to indicate to the package manager that the other library is "good to have", but not essential for the running of the component. The Superfluid Widget pulls in the wagmi and viem functionality directly, so these should be marked as actual dependencies of the component.
Additionally, harmonized on one version of those third-party libraries (the docs folder had a separate version of them).
This change should fix #236 as it will allow the Superfluid Widget to continue to use wagmi v1 as long as it wants (package managers will present to the widget its own copy of the v1 version of the library), while projects that implement it can move on to other versions of wagmi if they so choose.

Hey @MidnightLightning
I appreciate the effort.

The intent of a "peer dependency" is to indicate to the package manager that the other library is "good to have", but not essential for the running of the component.

Sorry but this is not correct. A peer dependency not marked as optional is as much of an essential dependency as a regular dependency. Because the types of wagmi/viem are exposed in the widget's API then it's correct to make them peer dependencies.
So I don't think this is the correct solution... but I see what you're going for though... and understand the frustration. I can do a special release for this.
It's also probably possible to fix it with NPM overrides, NPM aliases or monkeypatching somehow, but it's a pain...
Did you try automatic installation of peer dependencies?

Oh, I forgot about the wagmi context that needs to be set; that would be a limiting factor for having wagmi be a dependency 🙈 If the project configured a "wagmi v2" provider, and put a Superfluid widget within that context, the widget would expect the provided context to be a different style, so likely wouldn't work even if it had a copy of the wagmi v1 code bundled with it.
So, the basic change here I think is the peer dependency needs to note that wagmi v2 is not supported, which will at least allow NPM to properly warn project developers when there's likely to be runtime incompatibilities with the Superfluid widget.

Oh indeed, this is wrong in the widget package.json:
"viem": ">=1",
"wagmi": ">=1"

Thanks for updating the v0 version of the Superfluid widget to properly self-identify as needing a wagmi v1 environment. I'll close this request and attempt to get my own development environment working to be able to contribute the code changes needed to run within a wagmi v2 environment, as a potential new major version for the Superfluid widget.


Failed to restart homebridge using homebridge-config-ui-x

Hi there,
I've installed the "homebridge-config-ui-x" plugin.
If I try to restart homebridge service using plugin default setting "sudo -n systemctl restart homebridge" it fails.
What's to correct command to restart homebridge in qnap docker container?
kind regards,
Kai

I don't know qnap, but I think you should restart the whole docker container which contains your homebrige's image. Hope it's help a bit.

well, I guess this is a bit overpowered if you just want to update your config.json.

yep but on my Synology I always do like this :) But I think you could give it a try and after that I think config UI give you the hability to refresh your config

yes, config UI gives the ability to refresh your config.
but to apply the new settings, homebridge need to restart.
usually you would now just restart the homebridge service, but this is not possible in docker container (at least not using systemctl command).
So there are two viable options:
a) find another (proper) terminal command to restart homebridge service in docker
b) restart docker container using terminal command (don't know if this is possible)
the clean way would be to restart just the service...

I just test on my Synology this command :
sudo /usr/local/bin/docker start homebridge
It's working (my container os obviously named "home bridge" :))
so I think you could adapt this command to your qnap

I guess this would restart the container from host machines terminal, isn't it?
config UI is running inside the container, so this wouldn't work in my optinion :/

It’s for your option b)

Le 24 mai 2019 à 17:51, Nappyy<EMAIL_ADDRESS>a écrit :
I guess this would restart the container from host machines terminal, isn't it?
config UI is running inside the container, so this wouldn't work in my optinion :/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

oh i see.
in opinion b) I still wanted to reboot the container from the container itself (the config UI), not the host machine


Remove tap delay of 300ms for month navigation

It's easy to remove the tap delay for Android devices but it's not possible with CSS for every iOS Version yet.
Is there a way to remove the tap delay? Maybe this plugin would be the solution https://github.com/zilverline/react-tap-event-plugin.
It's not possible to navigate fastly through the month on iOS devices. Any idea is helpful! :)
Thanks for the great work btw!

It looks like that plugin would do the trick, and judging from the readme it looks like it's possible to use it independently of the datepicker component by calling injectTapEventPlugin() in your project code.  Let us know if that doesn't work.

Thank you very much for the fast answer!
I think that's not enough, on the month navigation (prev + next) next to the onClick, there must be onTouchTap like in the Example of the tap-event-plugin.

I ended up using fastclick with the help of this stackoverflow question. Seems to work fine.
Can be closed, but maybe a solution inside the plugin code would be awesome one day. Keep up the great work!

Hey @thomasduenser, glad you got it working.  Not sure a solution should be included natively in this plugin as it's a very platform-specific thing for a marginal UI improvement, and there are workarounds like the one you found.  However this could be included in a mobile-specific build, which is something I've been thinking about lately.


train_error

Thanks for your contributions. When I run the train.py(python train.py --config-name=train_autoencoder.yaml ). There is a problem：
'''
starting from scratch
Error executing job with overrides: ['task=libero_90', 'algo=quest', 'exp_name=final', 'variant_name=block_32_ds_4', 'algo.skill_block_size=32', 'algo.downsample_factor=4', 'seed=0']
Error locating target 'quest.utils.libero_utils.build_dataset', set env var HYDRA_FULL_ERROR=1 to see chained exception.
full_key: task.dataset
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
'''
How could I fix it?

Hi,
please set HYDRA_FULL_ERROR=1 to see the full-error
you can do this by export HYDRA_FULL_ERROR=1 in terminal before running the training command


[ci] Restore MPI jobs on macOS

Linking #6425.

I've restarted the one failed Azure DevOps job

Thank you!
I'm sorry, I can't restart Azure jobs anymore because I get HTTP 401 error everytime when try to sign in lightgbm-ci.visualstudio.com. Maybe it's due to sanctions or I was simply removed from that workspace.

It does look like you've been removed. I'll ask for you to be re-added over in the maintainer Slack.

@StrikerRUS do you have an Azure DevOps account using the email address your commits are signed with? If not and you want to use a different email address, could you contact me at one of the communication methods linked on my GitHub profile and let me know the email you use for Azure DevOps?

Thanks @StrikerRUS ! I captured that email address and sent it to @shiyu1994 in the maintainer Slack. Deleted your comment here so that address won't be on GitHub (even in image form).

@jameslamb Thank you very much for your help! 🤗

Of course! Happy to have you back with us 😊

@StrikerRUS Could you provide the latest account that you can use to login into Azure DevOps? Thanks.


Deploying microk8s v1.18 kubeflow for remote connections

It took some time for me to find a solution. Maybe you would like to extend the documentation? I'd do it myself, but I am not up to date with web-development.
Let's say I have a machine with GPU I want to install microk8s (v1.18) with kubeflow enabled on. This machine should work as a "server" and accept incoming traffic on kubeflow dashboard. Microk8s now has a way to configure this - even it's not yet documented. It's easy to set up, if you know what to do. I think this information can help other people, so it should be integrated into the documentation somehow.
You can find the steps here: https://github.com/ubuntu/microk8s/issues/1366#issuecomment-654411307

This seems to be related to Charmed Kubeflow from Canonical. Maybe you can open up an issue on their GitHub for them to add it to their documentation?
https://github.com/juju-solutions/bundle-kubeflow
https://microk8s.io/docs/addon-kubeflow

See the solution here: https://github.com/ubuntu/microk8s/issues/1366#issuecomment-654411307

See the solution here: https://github.com/ubuntu/microk8s/issues/1366#issuecomment-654411307


Feature/todo UI

✅ Pull Request Checklist

[x] PR Title: [Feature/Fix/Refactor...] Brief summary of the work (branch name) #IssueNumber
[x] Verify that the commit messages are appropriate.
[x] Confirm that the request is made to the correct branch.
[ ] Add Assignees and Labels.
[ ] If there is someone who needs to review specific details, add them as a Reviewer.
[ ] After the PR is approved, delete the branch.

🔄 Changes

This PR does the following:

Did this!
Also did that!

📎 Reason for Changes

These changes were made for the following reasons!

closes: #IssueNumber
👨🏻💻 Test Checklist

Performed these tests!

📌 Additional Changes or Important Notes

good!!

I think it is really good!!


Should string decoding check the character set?

Hi,
to the best of my knowledge string character sets are not verified currently, for example PrintableString or IA5String. Is this correct?
To give some background for my question, suppose I parse an utf8 string and then do std::str::from_utf, which I then expect to succeed.

In the X.509 Style Guide from 2000 some problems with the different string types are discussed. IA5String, PrintableString, VisibleString seem relatively unproblematic, as they are more or less subsets of ASCII.
Teletex/T61String are very odd. BMPString and UniversalString seem two and four byte unicode encodings.
The document also contains a section "Comparing DNs" which is a non-trivial problem because of these string types.
I am not sure what of this is still relevant today. I will try to look into this.
Nevertheless, I think some support for handling the string types would be nice.

I used the certificates from these two test sets: [1], [2].
The only string types used were PrintableString, IA5String and UTF8String.  I used openssl asn1parse.
There is another test tool, which was easy to find: [3]. I have not looked into this one.
Obviously der-parser is not limited to x509. I would suggest to parse the "easy" string types (with checks of allowed characters) and provide api to access them as &str. For the legacy types only the raw &[u8] access is possible.

Closing this, as most string types are now parsed and decoded, and can be obtained in as_str().
Please open new issues for specific string types if others are needed.
Additional note: for X.509, I had to add support for non-RFC-compliant strings (bad encoding)m for ex. in https://github.com/rusticata/x509-parser/commit/b3beae83c04c0b0008ee0e80e2a730ad6bd1f0cb


Cannot Paste (OSX)

Attempted to paste in a small chunk of code (6 lines) via command + V
I'm aware the plugin listens in on this key command to run Paste and Format but after ~10 minutes, nothing occurs.

What version of your Sublime Text and what version is your plugin? Do you have any console output, especially exceptions?

Closed -- was using unnamed file. See #230


Add service pipeline

This may not be possible, but it should be looked into. Having a class that contains a set of services that are used to process the data from a receive call. The pipeline could encapsulate a connection, or the connection could encapsulate the pipeline. If this does work, this could greatly improve the extensibility this library has.

This likely would work similarly to the reactor lib by Spring Framework:
ServicePipeline pipeline = new ServicePipeline()
  .addByteParser(arr -> new String(arr))
  .addStringProcessor(str -> /*process string*/)
  .addObjectParser(str -> /*convert to object*/)
  .constructPipeline(); // ?

Object obj = pipeline.process(bytes);

Using the add prefix signifies that they are user defined functions. The last method is in question. Either the functions just get added to the stack, or, we try and order them in case a user adds functions out of order. "Constructing" the pipeline means that reflection will need to be used. Also, it means that prior to even using it, it will need to be constructed. Pipelines could not be altered once constructed for performance purposes. Testing will need to be done.


Update InfluxDB to handle datetime objects and multiple decimal points

Description:
Updates the InfluxDB regex to ignore datetime objects being coverted
into float values.
Adds tests to the component to ensure datetime objects are corectly
handled.
Related issue (if applicable): fixes #8042
Checklist:
If the code does not interact with devices:

[X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[X] Tests have been added to verify that the new code works.

I can say this is working with the issue I've opened before (#8086), but I have a doubt about:
What need is there for conversion if the string is already being stored?
In many cases, this 'forced' conversion will be generating nonsense data, right?
Would not it be better, simply, to give up conversion in such cases?
except (ValueError, TypeError):
    pass

Hey @azogue
So the original intention for this was to catch any components that are sending numeric data, but as strings. For example, "45%" instead of "45". When this happens, you can't use the string value in Grafana or other graph suites, as the data stored in InfluxDB isn't a numerical value.
This change detects values such as "45%", strips out the "%" character and leaves two values, "45" and a _str of "45%". This way, both values are stored in InfluxDB and can be used.
The alternative is each time a new platform comes along, if the developer doesn't return a numerical value for say the battery level, we'll then have to go back and update that component to return the correct data.

hi @philhawthorne,
I understand the initial intention, and it seems phenomenal to me, but, for the cases of more complex strings with numbers, perhaps the best alternative is to avoid the parsing, right?
For cases of 'number + unit' I think the change is great.

Thanks @azogue
That makes more sense. Makes it more simple, and handles both traces that were reported in the issue. I've updated that as you suggested.
Cheers!

Just wanted to confirm that this change fixes the original issue I reported in #8042.

Thanks @pvizeli changed that

I think instead to create this complex things we should use match regex: ^\w*\d+\.?\d+\w*$

I update the regex for better detection

Thanks @pvizeli !

Good teamwork!

Cherry-picked for 0.47.1


Add a wiki: WikiBound

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://earthbound.fandom.com
Link to destination (independent) wiki: https://wikibound.info

This has been added and will be released in v1.1.3


How about you contribute then if it's so bad? No one is being paid to write you crystal clear docs.


Detect preferred distance units

The zone completion assistant & the tasks tracker display distances in feet by default, but they should instead detect the preferred distance unit from the user's regional settings.
In https://github.com/SamHurne/gw2pao/blob/495bf524a434ce38d95c3b845cdf9cc1b66ae392/GW2PAO/Modules/ZoneCompletion/ZoneCompletionModule.cs#L60
if (this.userData == null)
{
	this.userData = new ZoneCompletionUserData();

	// Add this block
	if (System.Globalization.RegionInfo.CurrentRegion.IsMetric)
	{
		this.userData.DistanceUnits = Units.Meters;
	}
}

Gotcha: the value of RegionInfo.CurrentRegion is cached for the lifetime of the application. This will bite you sooner or later. When a user changes their regional settings, CurrentRegion remains whatever it was initialized to. You can clear the cache by explicitly calling CultureInfo.ClearCachedData().

I'm marking this as a feature request, although it could be argued this is more of a "how it should just be done" request.


Filecoin integration design

[x] Deliverable: a design for how Bacalhau could integrate with Filecoin

Design for this and #21 in https://github.com/filecoin-project/bacalhau/wiki/Bacalhau-project-report-20220128


Initial Python 3 compatibility fixes

This PR adds compatibility with Python versions 2 and 3 for the following parts of Swift:

Various .gyb files in the stdlib
gyb
gyb_sourcekit_support
gyb_syntax_support
line-directive
update_checkout
build_swift
swift_build_support
bug_reducer
Several additional miscellaneous utilities
Initial support for the primary test driver
A few bits and pieces in the test suite, validation test suite, unit tests, and benchmarks.

Note: All of llvm and clang, as well as build-script, are already fully compatible with Python 3.
Note: An upstream issue with lit.py's Windows support is blocking Python 3 compatibility for the test suites at this time.
This PR does NOT provide complete Python 3 support; considerable further work is needed. Thoughts on whether this PR should be broken into multiple pieces and if so in what way would be most appreciated.

Can one of the admins verify this patch?

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


rolling_apply only applicable to numeric columns

Hi everybody,
I discovered that the rolling_apply function is only applicable to numeric columns. I think this should be changed as this seems too limited to me. Let's take the following example,
    import datetime as DT
    df = pd.DataFrame({
    'Buyer': 'Carl Mark Carl Joe Joe Carl'.split(),
    'Quantity': [1,3,5,8,9,3],
    'Date' : [
        DT.datetime(2013,9,1,13,0),
        DT.datetime(2013,9,1,13,5),
        DT.datetime(2013,10,1,20,0),
        DT.datetime(2013,10,3,10,0),
        DT.datetime(2013,12,2,12,0),
        DT.datetime(2013,12,2,14,0),
        ]}).set_index('Date')

Now I want to count all new customers each 10 days.
buyers = []

def novices(x):
    new = [n for n in x if n not in buyers]

    if (len(new) > 0): buyers.extend(new)

    return len(new)

pd.rolling_apply(df['Buyer'], 10, novices)

throws an exception  "ValueError: could not convert string to float: Carl"
However, although meaningless a call with a numeric column such as:
pd.rolling_apply(df['Quantity'], 2, novices)

works.

is it possible to ignore string columns and apply the rolling function to the rest?

going to repurpose this issue to skip nuiscance columns in a dataframe
In [4]: df = DataFrame({'A' : pd.date_range('20130101',periods=3),'B' : range(3)})
In [5]: df
Out[5]:
           A  B
0 2013-01-01  0
1 2013-01-02  1
2 2013-01-03  2

This is a supported op
In [7]: df.rolling(window=2).count()
Out[7]:
     A    B
0  1.0  1.0
1  2.0  2.0
2  2.0  2.0

This works
In [9]: df.rolling(window=2).B.sum()
Out[9]:
0    NaN
1    1.0
2    3.0
Name: B, dtype: float64

df.rolling(window=2).sum()

should work (but excluded A) from the results.

closing in favor of #12537

@jreback Hello is there any possibility to get rolling.apply for objects in 2018?) It still ignores objects as of 0.22.0.
idx = pd.date_range(pd.to_datetime('2017-01-01'), pd.to_datetime('2017-01-03'))
df = pd.DataFrame([[1, 's'],[2, 't'],[3, 'r']], index=idx)

0
1

2017-01-01
1
s

2017-01-02
2
t

2017-01-03
3
r

it's ok to ignore objects with built-in functions
df.rolling(2, min_periods=1).sum()

0
1

2017-01-01
1
s

2017-01-02
3
t

2017-01-03
5
r

but why can't i handle objects myself?
def const(x):
    return 5
df.rolling(2, min_periods=1).apply(const)

0
1

2017-01-01
5
s

2017-01-02
5
t

2017-01-03
5
r

This example above is not really useful but I want to be able to apply function to a column that contains objects.
The best solution I've found is to create your own DataFrame/Series type https://stackoverflow.com/questions/44479384/pandas-rolling-apply-doesnt-do-anything
But I really think this should be in pandas by default.

would always take a PR for this


R-T5.1: The TOSCA blueprint must be able to enable Operations Engineers to define the usage of different FaaS/Serverless providers for different parts of their application.

ID:
R-T5.1

Type:
COMPATIBILITY

User   story:
As an Operations Engineer I want to use   different FaaS/serverless providers at same time

Requirement:
The TOSCA blueprint must be able to   enable Operations Engineers to define the usage of different FaaS/Serverless   providers for different parts of their application.

Extended   Description:
An Operations Engineer can decide to use   different FaaS/serverless provider for different parts of his application in   one RADON model. The delivery toolchain must support such deployment and   monitoring of such application

Priority:
Must have

Affected   Tools:
DELIVERY_TOOLCHAIN

Means   of Verification:
Simple test if application is up and   running should verify if deployment using mixed providers was successful.

We do have support to deploy application on multiple providers simultaneously.
Examples are available on radon-h2020 github.
This can be closed.


cmd/cgo: cannot parse _cgo_.o as ELF, Mach-O, PE or XCOFF on Windows

What version of Go are you using (go version)?

$ go version 1.20.7

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env windows amd64

What did you do?

I was try to install go from the src folder from go paste on windows system32 with the script all.bat but i happen these two lines of errors below
cgo: cannot parse $WORK\b251\_cgo_.o as ELF, Mach-O, PE or XCOFF
go tool dist : FAILED: C:\Windows\System32\go1.20.7\pkg\tool\windows_amd64\go_bootstrap install std cmd: exit status 1

What did you expect to see?
The success of the installing of go with all.bat script
What did you see instead?
cgo: cannot parse $WORK\b251\_cgo_.o as ELF, Mach-O, PE or XCOFF
go tool dist : FAILED: C:\Windows\System32\go1.20.7\pkg\tool\windows_amd64\go_bootstrap install std cmd: exit status 1

Sounds like a problem with your C compiler or linker.
Please post the complete output of go env as requested in the issue template, and also include information about the C toolchain (gcc --version or similar).

hello dear worker in IT,
maybe the problem when by the setup because go env answer a problem :
PS C:\Windows\System32\go1.20.7\src> go env
go: cannot find GOROOT directory: C:\Windows\System32\go1.20.7\bin\go.exe

so i am on the system windows 64 byte and use only msys for compile thus i paste below the variable use by go and the c compiler :

thanks you in advance for your help,
Regards.
Azaretdodo.

Yeah, that's not going to work. GOROOT and GOPATH do not mean what you seem to think they mean. You should not need to set either of those explicitly, no matter where you install the Go toolchain.
I suggest unsetting both of those variables and reading through https://go.dev/doc/code to familiarize yourself with the Go development workflow.

you are just bad because goroot is always in windows => system32 for windows and gopath is always in the directory user for both system after for the documentation go it is always bugged because sometimes it is helping finaly i think you answer aside the meaning of the problem,
thanks you in advance to really help myself,
Regards.
Azaretdodo.

I'm sorry, I can't really parse that reply. 😅
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:
Stack Overflow with questions tagged "go" or "golang"
The Go Forum, a web-based forum
Gophers Discord "Get live support and talk with other gophers on the Go Discord"
Gophers Slack, use the invite app for access. The #general channel is a good starting point.
Go Community on Hashnode with questions and posts tagged with "go"
The golang-nuts mailing list
Subreddit for Go
IRC channel #go-nuts on Libera


Python version not supported by gyp?

Can anyone help? This is the output I get after running 'npm install msi-keyboard'
Thanks..

[laughingman@MSIManjaro895 ~]$ npm install msi-keyboard
|
<EMAIL_ADDRESS>preinstall /home/laughingman/node_modules/msi-keyboard/node_modules/node-hid
sh get-hidapi.sh
Cloning into 'hidapi'...
remote: Counting objects: 1965, done.
remote: Total 1965 (delta 0), reused 0 (delta 0), pack-reused 1965
Receiving objects: 100% (1965/1965), 2.79 MiB | 2.14 MiB/s, done.
Resolving deltas: 100% (1082/1082), done.
 System Linux <IP_ADDRESS>-1-MANJARO
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" >"configure" "build" "install"
gyp ERR! cwd /home/laughingman/node_modules/msi-keyboard/node_modules/node-hid
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux <IP_ADDRESS>-1-MANJARO
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "msi-keyboard"
npm ERR! node v0.12.0
npm ERR! npm  v2.7.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: sh install.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'sh install.sh'.
npm ERR! This is most likely a problem with the node-hid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh install.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-hid
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/laughingman/npm-debug.log

This is not related to this project. Open on nody-gyp


[feature] phrase two handler filter

[x] I have registered the PR changes.

Ⅰ. Describe what this PR did
作用：

给二阶段 handler 增加一个Filter， 用于处理共性问题（比如流量染色、透传数据梳理等待）

用法：

实现一个 Filter

public class RMTestFilter implements RMFilter {

        @Override
        public void commitFilter(BranchCommitRequest request, BranchCommitResponse response, RMFilterChain chain)
                throws TransactionException {
            // 这里写提交前需要执行的内容
            chain.next().commitFilter(request, response, chain);
            // 这里写提交后需要执行的内容
        }

        @Override
        public void rollbackFilter(BranchRollbackRequest request, BranchRollbackResponse response, RMFilterChain chain)
                throws TransactionException {
            // 这里写回滚前需要执行的内容
            chain.next().rollbackFilter(request, response, chain);
            // 这里写回滚后需要执行的内容
        }
    }

注册 Filter

// 注入点最好放在@Bean 方法中，或者@PostConstruct方法中，避免出现多次加载的问题
RMFilterManager.addLastFilter(new RMTestFilter());

注意事项：

filter 中自行处理好异常，避免以外的提交、回滚失败
如果需要 response ，则需要在 chain 运行结束以后
不要随意给 request 和 response 赋值

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
在 sample 应用中测试
Ⅳ. Describe how to verify it
创建使用中的 RMFilter，打印日志并发起事务
Ⅴ. Special notes for reviews

 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.星北 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.

Due to code conflicts and age, if you are still interested in participating in the community, please resubmit this pr to the 2.x branch after resolving the conflict.
由于代码冲突以及年代久远，如果你还有兴趣参与到社区，请解决完冲突后重新请提交这份pr至2.x分支中


Write the whole dmesg of the crashed kernel to the /persist/reboot-stack

The intention of this PR is to write the whole dmesg of the crashed kernel to the /persist/reboot-stack and not only the backtrace. Why? Because full dmesg is the only way to understand the real state of the crashed node and then investigate the log from the cloud (kibana, elastic, whatever) without physical node access.
The dmesg of the crashed kernel is written to the /persist/reboot-stack and then nodeagent redirects the content of the file to the EVE-OS log line by line marking each line with the 'dmesg' prefix for easy grep (kibana, elastic, json, etc).
Internally max read size is increased from 16k to 128k in order to fit the kernel log buffer, which is configured to 128k now.
The other minor thing done in this PR is to truncate the backtrace from head (keeping the tail) before publishing the backtrace on the cloud, because in case of the kernel dmesg we have the backtrace in question at the end of the buffer.
Also I cleaned up the code here and there: a few renamings, a few document tweaks, more explicit comments, correct read limit check (max read size), etc, etc.

Difference to the previous version:

increase buffer size from 128k to 512k to cover all our current kernel configs
tag pillar stacks with "stack" prefix and kernel dmesg with "dmesg" prefix line for easy grep.
each stack is started with the "[$tag] found reboot-stack content: %d bytes %d lines"
fix yetus complain about redefining the in-built function


Training on very large dataset

Hi, my very large training annotation file in COCO format is approximately 60GB on disk. Do you have any tips on how to train with YOLOX on a dataset this large? Problems I've encountered are:

distributed data parallel tries to load the entire file in each process upfront so I run out of RAM (400GB on my machine)
A single epoch takes far too long so it seems better to measure and schedule via total iterations instead of epochs

Any help would be greatly appreciated!

Hi, my very large training annotation file in COCO format is approximately 60GB on disk. Do you have any tips on how to train with YOLOX on a dataset this large? Problems I've encountered are:

distributed data parallel tries to load the entire file in each process upfront so I run out of RAM (400GB on my machine)
A single epoch takes far too long so it seems better to measure and schedule via total iterations instead of epochs

Any help would be greatly appreciated!

Any advices?


CLOUDSTACK-10060:ListUsage API always displays the Virtual size as '0' for Usage type=9 (snapshot)

Bug Description:
In the listUsage API, the Virtual Size of Snapshot is always displayed as '0'.
Root Cause:
In case of snapshots, the usage is accounted for depending on the value of the global parameter, 'usage.snapshot.virtualsize.select'. If set to 'true', the usage calculation is done based on the Virtual Size, and if set to false, it is done based on the Physical size. In the Usage API, this value, (i.e. virtual or physical) is displayed as 'Size' field correctly, but the field 'VirtualSize' is always displayed as 0. This is misleading.
Expected Output:
Since this is a Usage API, ideally only that size should be displayed which is used for billing, depending on the value of 'usage.snapshot.virtualsize.select'.
There is another API - the ListSnapshot API that displays both, the physical as well as Virtual size and can be used to know both the sizes.
Fix Implemented:
Skipped showing the 'VirtualSize' Field for type=snapshot

After Fix: Only 1 field displayed as 'Size'

LGTM for Testing.
Created an instance.
Took a snapshot of root volume.
Executed the API command http://localhost:8080/client/api?command=listUsageRecords&startdate=2017-09-06&enddate=2017-09-06&type=9 it is showing Physical size when 'usage.snapshot.virtualsize.select' is false.
Changed the 'usage.snapshot.virtualsize.select' to true and took another snapshot and executed the API Command http://localhost:8080/client/api?command=listUsageRecords&startdate=2017-09-06&enddate=2017-09-06&type=9 it is showing the virtual size.

LGTM for code

tag:mergeready

@blueorangutan package

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1102

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1127

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian.


search-options() is not generated for element-range-index

Used model valid-ref.json in e2e to generate search options. On deploy got below validate error:
XDMP-VALIDATEMISSINGATTR: (err:XQDY0027) validate strict { es:search-options-generate(fn:doc("valid-ref.json")) } -- Missing required attribute: Found () but required (@name & @ns?) at /*:options/*:constraint[6]/*:range/*:element using schema "search.xsd"
The search:constraint block looks like this:
<search:constraint name="ProductName">
<search:range type="xs:string" facet="true" collation="http://marklogic.com/collation/en">
<search:element xmlns:es="http://marklogic.com/entity-services">
</search:element>
</search:range>
</search:constraint>

What's odd about this bug is that I have a test case, which looks like this one, that works.  Something fishy going on...

Ah, no, i do have a gap in my unit tests.  I tested element range index with a namespace, but not without.

OK, test and fix implemented. will push to new PR and then supplement with more fixes.

Get following error on e2e mldeploy. Attaching models for e2e:
e2e_ns_Models.zip
Exception in thread "ThreadPoolTaskExecutor-2" com.marklogic.client.FailedRequestException: Local message: /config/query write failed: Bad Request. Server Message: RESTAPI-INVALIDCONTENT: (err:FOER0000) Invalid content: Operation results in invalid Options: XDMP-VALIDATEUNEXPECTED: (err:XQDY0027) validate strict { $opt } -- Invalid node: Found text{"
..."} but expected () at fn:doc("")/search:options/search:constraint[1]/search:value/search:element/text() using schema "search.xsd"text{"
..."}()fn:doc("")/search:options/search:constraint[1]/search:value/search:element/text()"search.xsd"
        at com.marklogic.client.impl.JerseyServices.putPostValueImpl(JerseyServices.java:3014)
        at com.marklogic.client.impl.JerseyServices.putValue(JerseyServices.java:2865)
        at com.marklogic.client.impl.QueryOptionsManagerImpl.writeOptions(QueryOptionsManagerImpl.java:158)
        at com.marklogic.client.modulesloader.impl.DefaultModulesLoader$3.run(DefaultModulesLoader.java:522)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Exception in thread "ThreadPoolTaskExecutor-1" com.marklogic.client.FailedRequestException: Local message: /config/query write failed: Bad Request. Server Message: RESTAPI-INVALIDCONTENT: (err:FOER0000) Invalid content: Operation results in invalid Options: XDMP-VALIDATEUNEXPECTED: (err:XQDY0027) validate strict { $opt } -- Invalid node: Found text{"
..."} but expected () at fn:doc("")/search:options/search:constraint[1]/search:value/search:element/text() using schema "search.xsd"text{"
..."}()fn:doc("")/search:options/search:constraint[1]/search:value/search:element/text()"search.xsd"
        at com.marklogic.client.impl.JerseyServices.putPostValueImpl(JerseyServices.java:3014)
        at com.marklogic.client.impl.JerseyServices.putValue(JerseyServices.java:2865)
        at com.marklogic.client.impl.QueryOptionsManagerImpl.writeOptions(QueryOptionsManagerImpl.java:158)
        at com.marklogic.client.modulesloader.impl.DefaultModulesLoader$3.run(DefaultModulesLoader.java:522)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

Please note that the model zip attached here is the one with namespaces. What we have now checked in e2e is the original model from 9.0-1 so mldeploy of e2e works.
I wanted to have separate e2e tests for namespace.
I'm finding that mlGenerateCode works great.

Ah, i think you use the gradle task i made, duh

So I was able to deploy the new sub project I made with models having namespaces in them. Didnt get the error I reported in comment earlier. Must be a carriage return somewhere as you suspected @grechaw. Shipping this issue.


METAMODEL-1094 Bump Cassandra version

TimeStamp issue:
https://groups.google.com/a/lists.datastax.com/forum/#!topic/java-driver-user/pAoLlEzmGWA

+1, let's merge


Search bar modification

@Ijaiswalshivam assign me

@Ijaiswalshivam what modification do you need in search bar?

On top bar, search icon is present and when user clicks it then it expands to search, just like github one.


Introduction to Boosting Algorithms

Boosting algorithms have taken over almost all Kaggle notebooks. They have found their way into almost every award-winning model and have been the most sought-after techniques in Machine Learning. In this article, the reader is introduced to boosting algorithms, how they work and how to use them.
Key Takeaways:

Boosting algorithms
How they work
Examples of boosting algorithms
Using boosting algorithms to product results

References:
N/A

We covered this topic here and here.
Does your article bring another value to the topic? Maybe code examples?

We covered this topic here and here.
Does your article bring another value to the topic? Maybe code examples? @bloodprashure

Hey @ahmadmardeni1!
Yes, I plan on including code snippets and a little bit of math apart from the theory!

Approved - @bloodprashure
Please change the title because this will not be an introduction and refer to the articles/tutorials I linked above.

Will do, thanks!


Conditional loading of activesupport modules wasn't complete

Fixed an issue where conditional loading of activesupport modules wasn't require'ing all of the modules necessary. Couldn't use blank? or humanize, and it also needed a require of the i18n lib.

Yes definitely, if you could please rebase and squash into a single or couple of commits, that would be great - would make it easier to review and pull in.


test: Fix stalled tests on Ruby 3.1

Which issue(s) this PR fixes:
Fixes #3543
What this PR does / why we need it:
Several tests are stalled since Ruby 3.1, I found that it's caused by
the followig Ruby's change:
https://github.com/ruby/ruby/commit/2d98593bf54a37397c6e4886ccc7e3654c2eaf85
It seems that there are some conditions to reproduce it:

attr_reader is defined in a class
$log is accessed by it
assert is called with a block
assert refers the $log via the attr_reader
... (some other conditions seem needed but not clarified yet)

Here is the sample test case to reproduce it:
require 'fluent/test'

class StallTest < Test::Unit::TestCase
  class Stall
    attr_reader :log
    def initialize
      @log = $log
    end
  end

  setup do
    Fluent::Test.setup
  end

  20.times do |i|
    test "stall #{i}" do
      assert { Stall.new.log }
    end
  end
end

Becasue all stalled tests don't need to use block, I remove these blocks
to avoid this issue.
Docs Changes:
None.
Release Note:
Same with the title.

I was initially confused by this patch, thinking "welp, isn't this patch
just removing spaces? Where's the actual diff?", and realized that the
fix is about converting {} to ().
Maybe I need to buy a pair of glasses.


Add more MWCCPSP compilers

Add more PlayStation Portable compilers from Metrowerks from 2005 and 2006.

I feel like this PR stomped over mine?

Or actually looks like it's exactly the same change 🤣

Great minds and all that 😉

For reference this is the associated commit in the compilers repo: https://github.com/decompme/compilers/commit/de496e580011032bab6fb984d3200ad50d438f7a


Raspberry 11 (bullseye)

Hi,
I upgraded my Rasperry to bullseys and installed tvheadend 4.3-1994-gc7b713edb~bullseye and your latest binares (AufnahmesteuerungTvHeadendClient. Release:<IP_ADDRESS>, TvHeadendLibrary-Release:1.2 , Juli 2022). Unfortunately I cannot use your program - it always end with Invalid Requestdata: Wrong Username or password.
I checked it by using a cmd.exe and executing program with proper userid and password. Login via web is possible.
Any suggestion?

Hi,
found what to do: Authentication type: Both plain and digest

Sorry for my late reply: Thanks for posting the solution.
More information can be found in the documentation on pages 23-24 (unfortunately not in English yet).


how to calibrate the coordinate between GPS and slam

Dear @koide3
you mentioned that you employ the GPS into the slam, but how do you calibrate the coordinate between GPS and slam?
Best
Welson

Hi,
In this package, GPS data (latitude and longitude) are converted into the UTM coordinate (X and Y),
and then, they are associated with pose nodes with the closest timestamps. They are optimized so that the relative position error in the UTM coordinate is minimized.
Since our GPS-based optimization is based on relative position information, we do not explicitly calibrate the map coordinate and the (global) GPS coordinate.

hi @koide3
Thanks for your kind reply,

Hi,
Actually, our implementation of the GPS-based optimization is a very naive way. It assumes that the GPS and the LIDAR shared the same coordinate, and doesn't consider the bias between them. But, I suppose, in most of the cases, the GPS error much more affects the mapping accuracy, and the lack of consideration of the bias doesn't really matter.
On the other hand, adding the bias term to the map optimization is not so hard. If you face any problem due to the bias, we can modify the package to deal with the bias.

Hi @koide3
Thanks for your kind reply, actually, the bias between the GPS coordinate system and mapping coordinate system is unknown, but we can get this bias by the magnetometer sensor? or you have some algorithm to estimate the bias?
Thanks
Best
Welson

Hi @koide3
do you have any paper published that we can referred to about this package?
Best
Welson

hi @koide3
I refer to the code adding the gps into the graph optimization.
`Eigen::Vector3d xyz(utm.easting, utm.northing, utm.altitude); // save the
  if(!zero_utm) { // initial xyz
    zero_utm = xyz;
  }
  xyz -= (*zero_utm);`

in this  code , the xyz represent the motion difference in the north direction, east direction and altitude direction respectively?
best
welson

@weisongwen ,
Yes, that xyz represents the motion difference from the first node in the UTM coordinate. Currently, altitude is ignored, but if you want, you can take it into account by changing here.

Dear @koide3 ,
thanks for your kind information,
best
welson

@koide3
The code crashes when loop is detected:
  --- loop detection --- num_candidates: 1 matchingdouble free or corruption (out) [velodyne_nodelet_manager-5] process has died [pid 2418, exit code -6, cmd /opt/ros/melodic/lib/nodelet/nodelet manager __name:=velodyne_nodelet_manager __log:=/home/leon/.ros/log/62613666-ff9c-11e8-927c-c0b6f992692c/velodyne_nodelet_manager-5.log].

@koide3
Hi, thanks for your great work.
Do you have any suggestion about how to calibrate the map coordinate and the (global) GPS coordinate.
Best


Simplify test_examples.py

This works for me in combination with https://github.com/pygfx/wgpu-py/pull/322

Test examples now completes in 2m (1:14 pytest runtime)!


Enable Istio holdApplicationUntilProxyStarts opt

This option helps other container wait until the sidecar is started, so that outbound traffic isn't blocked.

please do not merge yet


[Python SDK] Fix high level http instrumentation

Description

Related issue https://linear.app/serverless/issue/SC-906/python-sdk-incorrect-http-span-duration
We've noticed the http span duration when using either requests or urllib3 libraries are reported wrong, the reported duration is much shorter than the actual time it takes for the request to complete.
Turns out the high-level library "urllib3" is extending the low-level http.client library and we are missing the extended portion's instrumentation.
This change implements a separate instrumenter for urllib3 (which is consumed by requests as well) that disables low-level instrumentation for the current request and relies on urllib3's urlopen method, which is responsible for performing the request including opening a connection.

Testing done

Reproduced the issue in unit tests
Increased test confidence for http spans by asserting on the number of spans created (to make sure we are both instrumenting at the high and low-level for a given request)
Integration and performance tests are passing as well

@medikoo ready for review please 🙏

@selcukcihan It'll be nice to release today everything we've merged so far


Add instructions for adding the Fabric repo

LGTM.

Sorry to be nosy but, this "maven { url 'https://maven.fabric.io/public' }" should at least be warn in the project main page arround here https://github.com/firebase/FirebaseUI-Android#installation I was updating and got stuck with that for some minutes. No need to add full instruction but if you could please add some warning indicating the dev to read the auth docs.


change multi module setup to support extension and examples

following a pattern that we used for many extensions in the past (see https://github.com/camunda-community-hub/camunda-rest-client-spring-boot for example) I would like to restructure the layout so we have

root

examples

example 1
example n

extension

core
spring

spring
spring-boot

...

This has proven to be a very effective multi module layout that allows to have multiple examples within the same mono-repo that are not published to maven central.
Not using sub folders easily leads to a cluttered repo when the number of examples and extensions increases.

Hey @jangalinski  -I am not against this, but also don't think it adds much value at the current stage, so I personally would probably invest energies in other areas. But hey - if this feels important to you I suggest that you simply go ahead :-)
The beauty of that change would be, that you could drag the example from https://github.com/camunda-consulting/code/tree/master/one-time-examples/camel-use-cases into the repo itself - I definitely like this part :-)

yeah, you are right ... this can wait