Transform errors while saving point clouds

Hi,
I've been facing an issue while trying to convert the depth AHAT stream to point cloud representation (using the StreamConverter/save_pclouds.py). While processing, save_pclouds.py returns the error "Transform not found for timestamp xxxx" (console image attached). The generated Depth AHaT_rig2world.txt file seems to be a one-dimensional array of the sort:
132568835120894480,0.31199,-0.755663,-0.575878,-0.114793,-0.843486,0.0586563,-0.533939,0.0450718,0.437257,0.652329,-0.619091,-0.155093,0,0,0,1
This is after I modified the load_rig2world_transforms function as follows (in view of an invalid index to scalar variable error):
def load_rig2world_transforms(path):
    transforms = {}
    data = np.loadtxt(str(path), delimiter=',')
#modified:
    if data.ndim == 1:
        data = np.array([data])
#end of modified
    for value in data:
        timestamp = value[0]
        transform = value[1:].reshape((4, 4))
        transforms[timestamp] = transform
    # timestamp= data[0]
    # transform = data[1:].reshape((4, 4))
    # transforms[timestamp] = transform
    return transforms

This happens with all the different recorded stream folders I process on (both through process_all.py and save_pclouds.py directly). The error in the console is as attached.
Any input on this would be greatly appreciated. Thanks!

Hello! Would there be any update on this? :)


TP pricing not lining up

Version <IP_ADDRESS>
2560x1440 - windows screen res, game full screen res, 2560x1440 setting in config.

Also, the font size on the pricing info is VERY small (compared to <IP_ADDRESS>)

Latest update for the pricing overlay was in Release v<IP_ADDRESS>.
And font size hasn't been changed since Release v<IP_ADDRESS>.
It looks like an issue with your resolution.
Sometimes New World likes to reset your resolution settings in the following cases:

Cleared steam data and/or game data
Verify integrity of game files
Installing updates New World

The only way I was able to reproduce your issue was when my monitor and ingame resolution did not match.
I would recommend to try the following

Check your monitor resolution, if you have multiple monitors make sure the correct one is set.
Check ingame resolution to make sure New World did not reset your settings.

Restart New world after changing the ingame resolution.

Great that you have it working again!
I tested both the Config and Debug tabs and looks like the settings are saved fine for both.
Let me know if it happens again then I'll do some extra debugging.
Testing your setup exactly will be difficult because I don't have a 4k monitor. But will see how to handle that if it ever happens again.

Understood.  Exiting the app, editing the config and changing the debug to false, going back in the app seems to have kept things displaying properly now too.
will advise if it breaks again!

@josdemmers issue is back.  Same as above images, not in debug mode, same resolution/settings.  prices showing off and to the left (like above) and small text,
enabling debug mode and going back in to the app, then debug > screenprocess, setting to 2560x1440 > load config, doing the same for config > screen process and the pricing info shows correctly.
seems like something weird witth the screenprocess setting somehow that only in debug mode and setting on the debug setting fixes it.

Closed #4 and reopened this one. Easier to have everything in one place.

Where you able to find out when it comes back?

Each time you restart the Companion app?
Each time you restart New World?
After you restart your pc?
After you have switched between 4K en 1440p?

Test process just now:

rebooted computer
set windows resolution to 2560x1440, made sure scaling was 100%
opened Steam
launched New World
at login, checked New World resolution was set to 2560x1440, full screen, monitor 1
launched NW companion, moved screen to monitor 2
NWC config > screenprocess - changed dropdown to 2560x1440, clicked load config.
logged into NW

moused over something in inventory, pricing data showed off (as above images) to the top left and small text.
exited new world, leaving NWC running, relaunched NW, logged in, checked inventory, same issue
stayed logged in, exited NWC.  relaunched NWC, config > screenprocess, selected 2560x1440 and clicked load config.  checked inventory same issue
exited NWC.  Set debug to true.  relaunced nwc. config > screenprocess, selected 2560x1440, load config.  still had same issue
debug > screenprocess, selected 2560x1440, load config.  verified config > screenprocess was still 2560x1440.  moused over inventory item, pricing box showed above item popup with text sized appropriately - works.
exited NWC.  exited NW. changed debug to false. relaunched nw. relaunched nwc. logged into game. config > screenprocess, selected 2560x1440, clicked load config. moused over inventory item again pricing showed properly. repeated 2 more times - 2nd and 3rd time, pricing data was off, up to the left and small again.
exited nw, exited nwc, rebooted computer, logged back in to everything (confirming windows resolution/scaling). launched nw. launched nwc. config > screenprocess, selected 2560x1440, load config. checked inventory, pricing was still off.

if i turn on debug and do what I did in #5, it seems to fix the issue (debug > screenprocess selection perhaps)?  No explanation why it would continue to work as expected the next time with debug off, but then repeated attempts after, the pricing data would show incorrectly again.
hope the above helps in some way!

Thank you for the thorough testing!
But I just can't seem to break it :/
I also tried to simulate your 4k > 1440p downscaling by setting mine from 1440p > 1080p.
Your #6 is indeed very strange. You can reproduce it so easily but it just wont happen for me.
The position of the tooltip is influenced by the following.

Mouse position
Region of interest (Area around items icon)

Assuming that something goes wrong there the following could help.

When it stops working. Can you check the mouse coordinates again for the top left and bottom right positions using "Debug/ScreenCapture"? Do this before pressing the load config button. Not sure if your previous screenshots with those coordinates were before or after you used load config. Otherwise feel free to ignore this.
Region of interest depends on your active processes. Could you go to Task Manager -> Details, sort all processes by name and check if there is only one NewWorld.exe

Another possibility is to get it working for the 4K resolution. I would need to increase the area thresholds first in the config tab because the max value is probably too small. Let me know if you are interested and I can great a test version for you.


Release/1.0.2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@sugatoray looks good to go 🚀

I have made some notes. Please review them and fix the 4-space indentation issue. The rest of the recipe uses 2-spaces for indentation.

Thanks @sugatoray where did you leave your notes? I don't see them

Please see in the files tab/view for the suggestions made.

Maybe you forgot to submit the review?

Thanks @sugatoray I addressed your comments

Hi @luca-martial
Thanks for making those changes quickly. Please check my notes on the maintainer johnsnowlab vs. johnsnowlabs. Please only use an existing "GitHub user" as the maintainer.

Thanks @sugatoray looks good to go, unless there are other issues you noticed

LGTM. 🚀


Support rubocop 1.x

Bump rubocop to ~> 1.0 and change the gem version to 0.5.0.

Hey! I did a quick PR to upgrade rubocop dependency version to ~> 1.0 as the gem is using semantic versioning going forward.
Could you merge the PR and publish the gem, please?
Thanks a lot!

thanks

Pushed code-scanning-rubocop 0.5.0 to rubygems.org


KAFKA-16287: Implement example tests for common rebalance callback

Add 6 example tests to the PlaintextConsumerTest that tests using a ConsumerRebalanceListener to invoke methods on the consumer.
This test is implemented in a reasonably general way with a view to using it as a template from which other tests can be created later. Eventually we will need to have a comprehensive set of tests that cover all the basic use cases.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@kirktrue Hope that helps!

@lucasbru—Yes, this looks perfect!

I'm keeping this around as an example, but I don't intend to merge this. I think we can merge it together with https://issues.apache.org/jira/browse/KAFKA-16111. Converting to a draft.

@lucasbru—sorry that I've forgotten, but why don't we want to merge this?

@kirktrue Just because it's meant to be an example, and doesn't cover all combinations. If you want me to merge it like this, we can do that as well.

@lucasbru—I think it's worth adding the tests, even if we already know there are more to be added in the future.

@cadonna could you please review this?


feat: Lemmas about the iterated shadow

Move the lemmas characterising Covby on Finset α from Data.Finset.Interval to Data.Finset.Basic. Golf the other proofs in Data.Finset.Interval and make sure the lemma names reflect whether each lemma is about insert or cons.

Looks good to me, save for the TFAE discussion, which I'm neutral on.

bors merge

GitHub was flaking and bors crashed so we need to try this again
bors merge


Refs #27795 -- Removed force_bytes() in django.test.client where possible.

The regression test in the first commit fails if .encode().decode('iso-8859-1') is removed.
The data = force_bytes(data, settings.DEFAULT_CHARSET) line was added in e73838b6ddcc7b37c03f9eee04fa6e6a283fedb3. I'm not sure that it's useless but no tests are failing.

I found that the force_bytes() call in the PR description is needed after all. Test for that in https://github.com/django/django/pull/9693.


Allow whitespace in varnishncsa logging format

Add a $log_format parameter to the varnish::ncsa class to workaround issues with startup scripts and shell escaping. See https://www.varnish-cache.org/lists/pipermail/varnish-misc/2012-May/022078.html.

Nevermind, this doesn't quite work.

See #98 instead.


Access Denied for answer list for the test dataset for vqa dataset

The url used to download the answers_list.json which is https://storage.googleapis.com/sfr-vision-language-research/datasets/answer_list.json returns Access Denied. The other files like the vqa_train, vqa_val, vg_qa and the vqa_test are downloaded. Is there any other website for me to download the answers_list?

I have also encountered this problem. Is there a solution?


secondary default buttons need to stand out more against the background

gray shade is too light

This was closed in #2292.


Adding a function to find factorial of a number

Problem
Find the factorial of an integer i.
Solution
Creating a recursive function fact(int i) that returns factorial of.
Advantage
Function fact(int i) can also used for creating function for permutation and combination

Hi @lukew3 i want to add this feature... Please assign me for this..

@deepampriyadarshi Python math module already has a factorial method. You just need to add import math and run the function with math.factorial(num)

@lukew3 actually i got confused with the objective of the repo... :-) we can close this issue if you want


Add _assertPathIsDirectory

Because _pathIsDirectory doesn't work with flake roots
Closes: #28

Note that #27 was caused because of the assertion on the root, which this PR fixes. But the same error will occur if include list includes the root directory, e.g.:
        nix-src = inputs.nix-filter.lib.filter {
          root = ./.;
          include = [
             "."
          ];
        };

But I think that this usage doesn't make much sense and that it could be ignored.

@ilkecan thanks, I started looking into the issue more deeply and I think I found a better way. Instead of going back and forth I implemented it in #31


allow columns property to wait for promise to resolve

I'm attempting to return the columns array in a promise in my columns computed property and it seems that ember-light-table won't allow that to happen. Is there a way to access the array returned by the computed property that I'm not seeing?

So basically you have something like this?
{
  columns: computed(function() {
    return new Promise(/* ... */);
  }),

  table: computed('columns', 'data', function() {
    return new Table(this.get('columns'), this.get('data'));
  })
}

I'd consider handling promises out of scope for this addon.
I'd do something like this:
{
  columns: null,

  table: computed('columns', 'data', function() {
    const columns = this.get('columns');

    return isArray(columns) ? new Table(this.get('columns'), this.get('data')) : null;
  }),

  fetchColumns() {
    yourPromise.then((columns) => this.set('columns', columns));
  }
}

And then call fetchColumns() appropriately, for example in didReceiveAttrs().
In the template wrap the {{#light-table table}} in an {{#if table}}.

@buschtoens, thank you! I don't think I'm calling the fetchColumns properly because it's not being run. This is my didReceiveAttrs hook:
    this._super(...arguments);
    this.get('fetchColumns');
  },```

I assume you're doing something like this:
columns: computed(function() {
  return this.get('store')
    .findRecord('table', 'my-table')
    .then((table) => table.get('columns'));
}

Instead you have to do this:
columns: null,

didReceinveAttrs() {
  this._super(...arguments);
  this.fetchColumns();
},

fetchColumns() {
  return this.get('store')
    .findRecord('table', 'my-table')
    .then((table) => {
      this.set('columns', table.get('columns'))
    });
}

@buschtoens, I now have something a bit different. It's pretty much inline with your original suggestion:
  columns: null,

  table: computed('columns', 'data', function() {
    const columns = this.get('columns');

    return isArray(columns) ? new Table(this.get('columns'), this.get('data')) : null;
  }),

  fetchColumns() {
    yourPromise.then((columns) => this.set('columns', columns));
  }

So I needed to specify "this." before calling the fetchColumns function. Now the fetchColumn function is at least being called and there are no more assertions. Something strange is happening with my promise. This isn't part of the addon I realize.
I start with a set of statically set columns in the columns array and then I'm attempting to dynamically add columns using a chain of promises.
fetchColumns() {

    var columnsArray = [{
     label: 'ID',
     valuePath: 'id'
    }, {
     label: 'Title',
     valuePath: 'description',
     width: '150px',
     resizable: true,
     minResizeWidth: 75
    }, {
     label: 'UOM',
     valuePath: 'unitofmeasure',
     resizable: true
    }, {
     label: 'QTY',
     valuePath: 'quantity',
     resizable: true
    }];

    var dynamicallyAddColumns = DS.PromiseArray.create({
      promise: this.get('requisition.items').then(function(items){
            items.forEach((item) => {
              item.get('responses').then(function(responses) {
                responses.forEach((response, index) => {
                  var response = response
                  response.get('user').then(function(user){
                    var columnObject = {
                      label: user.get('company_name'),
                      valuePath: 'quantity'
                    }
                    columnsArray.pushObject(columnObject)
                  })
                })
              })
            })
          })
    });

    dynamicallyAddColumns.then(() => {
      this.set('columns', columnsArray);
      console.log(columnsArray);
    });
  }

Only the 4 static columns show up in the table. When I log the columnsArray to the console it prints an array that has 8 objects, but it does seem to indicate only 4 in the initial specification:

@jaredgalanis in your table CP you are creating a new table instance every time your data or columns change. I would advise to create your table instance on init and use setRows and setColumns to do what you want to do. For an example, please check out the dummy app code.

Thanks @offirgolan. I'm now creating the table instance on init and I start with the columns, table, and model properties all as null. Now, however, I'm getting an assertion when the table is being built:
Uncaught TypeError: Cannot read property 'map' of null

One further update is that I moved the table back into a CP because I need to be able to dynamically update the data source of the table based on input from the user (a select element). I am now finding that I have the same problem with the array when I first load the table, but as soon as I select another record to update the data source of the table any dynamically generated columns load correctly and the arrays that are logged do not have the same mismatch between their apparent contents and inspected contents.

Closing because I realize that this an issue with serially resolving the promises involved, not anything to do with ember-light-table itself.


Adds section in usage/certificates for additional output formats

Signed-off-by: joshvanl<EMAIL_ADDRESS>Adds a section to Usage/Certificates for the Additional Output Formats feature.
See: https://github.com/jetstack/cert-manager/pull/4598

Thanks for the review @SgtCoDFish, please take another look and let me know if you would like any more changes

/lgtm


BUG:Feedback button not opening

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When we clicked on the feedback button , the button is not working
please assign it to me @Its-Aman-Yadav
Thank you
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @Its-Aman-Yadav
I am participating in GSSOC'24. I am interested in resolving this issue. Please assign this issue to me under GSSOC'24 with appropriate level labels.
Thank you


suspected typo in docs

Issue description
Description of the issue - running

sf.cli.ping()
gives an error.
(this is taken directly from the SF docs page on
Suspected "cli" is a typo.

Found here: https://strawberryfields.readthedocs.io/en/latest/introduction/photonic_hardware.html

Thanks so much for this @tymomboe! Created a PR that should resolve this.

Fixed by #340


GSLUX-537: Display metadata

JIRA issue
https://jira.camptocamp.com/browse/GSLUX-537
Description
PR queries layer metadata when clicking on "i" icon on the left of layer name. Currently, only works for local layers.
To-dos:

[x] wms => maybe get more attributes and add legend? (examples for both could not be found on current production)
[ ] wmts
[x] update metadata when changing language
[x] check/handle case when layer?: ThemeNodeModel undefined => double check if there is a different case other than external layers for this
[x] split Link, responsibleParty
[ ] handle date (wms, wmts) => does this attribute ever get retrieved?
[ ] allow urls from config
[ ] catch errors
[ ] improve async
[ ] safeHtml for description, legend? (like https://docs.angularjs.org/api/ng/service/$sce)
[ ] legend: handle high resolution screens?

Will close this PR as work will be continued in #26


Lock Metamorphosis behind lategame illidari quest

This is clearly not finished so just going to re-open it instead of reviewing.


How to use popUpTo

 navController.navigate(destination) {
                popUpTo("summary_screen") { inclusive = true }
           }

navigator.navigate(destination)

I am using above code to pop summary screen from backstack before navigating but its not working. Am i missing something?

I'm also observing this issue, and I am using
navigator.navigate(destination) {
    popUpTo(...Destination.route) {
        inclusive = true
    }
}

but when I tried with navController it is working...

navigator.navigate(direction = destination, onlyIfResumed = false) {
    popUpTo(...Destination.route) {
        inclusive = true
    }
}

@jahongir9779 can you try this code and let me know? thank you.

No, unfortunately it didn't work

Other than that, the implementation just calls NavController directly, so I don't see another way that the equivalent code using NavController would work and now with DestinationsNavigator wouldn't.
Try it with NavController again, like this:
@Destination
@Composable
fun MyScreen(
    navController: NavController // <----- switch DestinationsNavigator with NavController
) {
    /....
    navController.navigate(destination.route) {
        popUpTo(...Destination.route) {
            inclusive = true
        }
    }
}

also facing same issue. for me even directly using navController isn't working
tried
navigator.navigate(direction = destination) {
    popUpTo(...Destination.route) {
        inclusive = true
    }
}

navigator.navigate(direction = destination, onlyIfResumed = false) {
    popUpTo(...Destination.route) {
        inclusive = true
    }
}

and also
navController.navigate(destination.route) {
       popUpTo(...Destination.route) {
           inclusive = true
       }
   }

Hey!
Well, this pretty much has to work :D
Can you add these lines right before calling the DestinationsNavHost?
    val destination = navController.appCurrentDestinationAsState().value
        ?: startRoute.startAppDestination

    navController.backQueue.print()

then somewhere in same file:
private fun ArrayDeque<NavBackStackEntry>.print(prefix: String = "stack") {
    val stack = map { it.destination.route }.toTypedArray().contentToString()
    println("$prefix = $stack")
}

This will print the back stack routes everytime they change, so add that, then reproduce the issue and paste here the logs starting with stack =

not sure if i understood what to do with :
  val destination = navController.appCurrentDestinationAsState().value
       ?: startRoute.startAppDestination

i have multi module project

Oh ok sorry

    LaunchedEffect(key1 = Unit) {
        navController.currentBackStackEntryFlow.collect {
            navController.backQueue.print()
        }
    }

Do this instead sorry :)

i see this line
Ignoring popBackStack to destination -1928565755 as it was not found on the current back stack
when i'm trying to navigate to screen (by pressing bottom Navigation item) with no navigation/cleared history

app has bottom navigation , from content i can click on an item -> go deep -> deeper -> press bottom navigation -> history cleared and you're back on one of main/root level screens/destinations

It would be helpful to see the back stack routes right before navigating with your pasted code snippet and right after. Also check the route you’re trying to pop up from the back stack and see if that route is actually on the back stack.

With above LaunchedEffect and the print methods you should see the back stack in real time, as the current screen changes.

stack = [newsfeed_route, newsfeed_screen?feedTypes={feedTypes}]
stack = [newsfeed_route, newsfeed_screen?feedTypes={feedTypes}, article_route, article_screen/{assetUrl}]
stack = [newsfeed_route, newsfeed_screen?feedTypes={feedTypes}, article_route, article_screen/{assetUrl}, find_route, section_newsfeed_route, section_newsfeed_screen/{title}?sections={sections}]
navigator.navigate(
            direction = FindScreenDestination,
            onlyIfResumed = false
        ) {
            popUpTo(FindScreenDestination.route) {
                inclusive = true
            }
        }

expected this above popUpTo call to cleanup backstack but everything is still on backstack + just navigated find_screen
Ignoring popBackStack to destination -1928565755 as it was not found on the current back stack
stack = [newsfeed_route, newsfeed_screen?feedTypes={feedTypes}, article_route, article_screen/{assetUrl}, find_route, section_newsfeed_route, section_newsfeed_screen/{title}?sections={sections}, find_screen]

/**
 * Pop up to a given destination before navigating. This pops all non-matching destination routes
 * from the back stack until the destination with a matching route is found.
 */

I thought it would work like this:

pops up all previously visited screens from backstack , including find screen if it was visited
navigate to findscreen

what would be correct way to navigate Findscreen + get rid of all history ?
Thanks a lot!

You need to popUpTo the first entry in the back stack. Remember it pops from the top to bottom. So if you want to pop all, then you need to give it the one in the bottom of the stack 🙂

thanks for helping out. Now it works


Adding newlines to RELEASE.md so lists display

The numbered lists weren't displaying properly since GitHub wanted newlines here. :)

LGTM


Build docker without docker (i.e., on ARM and other architectures)

For those of us trying to use Docker on other architectures (like ARM), it would be excellent if Docker could be built with nothing more than a working Go setup - i.e., without a previous version of it, and without trying to pull anything from the Internet.
(This becomes even more aggravating when you manage to use a legacy Docker binary and the build process then tries to download a x64 binary image from the Docker hub...)

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

You want to check out
https://github.com/docker/docker/blob/master/project/PACKAGERS.md :+1:

I've had a look at it, but even if dependencies are vendored, it doesn't cover the case where I need to build Docker on an ARM board without any Intel machines around. I have the equivalent libraries and compilers under Ubuntu for ARM, so this doesn't make any sense.

I'm not sure I follow what you mean?  I've just verified that this still works on an armel machine (specifically a Pogoplug running Debian Sid) I've got handy (which has the system-level dependencies of Docker installed):
root@pogoplug:~/docker# AUTO_GOPATH=1 ./hack/make.sh dynbinary
# WARNING! I don't seem to be running in the Docker container.
# The result of this command might be an incorrect build, and will not be
#   officially supported.
#
# Try this instead: make all
#

---> Making bundle: dynbinary (in bundles/1.8.0-dev/dynbinary)
# github.com/docker/libcontainer/seccomp
vendor/src/github.com/docker/libcontainer/seccomp/filter.go:91: undefined: jumpEqualTo
vendor/src/github.com/docker/libcontainer/seccomp/filter.go:93: undefined: jumpNotEqualTo
vendor/src/github.com/docker/libcontainer/seccomp/filter.go:95: undefined: jumpGreaterThan
vendor/src/github.com/docker/libcontainer/seccomp/filter.go:97: undefined: jumpLessThan
vendor/src/github.com/docker/libcontainer/seccomp/filter.go:99: undefined: jumpMaskEqualTo
root@pogoplug:~/docker#

So, there is currently a compiler error (https://github.com/docker/libcontainer/issues/636; // +build linux,amd64 on seccomp/jump_amd64.go in libcontainer), but in general, this should work OK.

With the following patch/rename, it builds successfully (although I can't say it'd actually work -- no idea why that file's locked to just linux,amd64):
root@pogoplug:~/docker# git diff --find-copies-harder --staged
diff --git a/vendor/src/github.com/docker/libcontainer/seccomp/jump_amd64.go b/vendor/src/github.com/docker/libcontainer/seccomp/jump_linux.go
similarity index 99%
rename from vendor/src/github.com/docker/libcontainer/seccomp/jump_amd64.go
rename to vendor/src/github.com/docker/libcontainer/seccomp/jump_linux.go
index f0d0771..64ddbae 100644
--- a/vendor/src/github.com/docker/libcontainer/seccomp/jump_amd64.go
+++ b/vendor/src/github.com/docker/libcontainer/seccomp/jump_linux.go
@@ -1,5 +1,3 @@
-// +build linux,amd64
-
 package seccomp

 // Using BPF filters

root@pogoplug:~/docker# AUTO_GOPATH=1 ./hack/make.sh dynbinary
# WARNING! I don't seem to be running in the Docker container.
# The result of this command might be an incorrect build, and will not be
#   officially supported.
#
# Try this instead: make all
#

bundles/1.8.0-dev already exists. Removing.

---> Making bundle: dynbinary (in bundles/1.8.0-dev/dynbinary)
Created binary: bundles/1.8.0-dev/dynbinary/dockerinit-1.8.0-dev
Building: bundles/1.8.0-dev/dynbinary/docker-1.8.0-dev
Created binary: bundles/1.8.0-dev/dynbinary/docker-1.8.0-dev

root@pogoplug:~/docker#

Thanks, the docs regarding dynbinary are confusing - within three paragraphs they go from mentioning a client-only build to a dynamically linked daemon and then back again, so one is left with the idea that you’re not getting the full monty.
(Note to self: see if I can contribute better wording after this is sorted out)
I’m going to try reverting to an older version (1.7.0 or 1.6, which seems to be the minimum I need for my purposes) and see if it that issue with libcontainer still happens.

On 20 Jun 2015, at 01:04, Tianon Gravi<EMAIL_ADDRESS>wrote:
With the following patch/rename, it builds successfully (although I can't say it'd actually work -- no idea why that file's locked to just linux,amd64):

There was a time when seccomp-BPF was not available on ARM for some reason - but I’ll give it a shot after a few hours’ sleep and report back - thanks again.

I checked out 1.7.0 and 1.6.2 and got both to build (after excluding btrfs support), but the resulting binaries don't work (docker -d -D never finishes initialising and docker info freezes up). Going to see what I can do about this (if anything).

@rcarmo Can you provide the output of the daemon's log, please? We could at least figure out where it's getting stuck or crashing.
Knowing the kernel version, the exact steps you've taken to build Docker, the distribution you've used and the kernel's config is essential to figuring this out. https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh can be used to check the kernel's config. Having the output of this script would be useful as well.

Kernel info:

ubuntu@master:~$ bash check-config.sh
info: reading kernel config from /proc/config.gz ...

Generally Necessary:
- cgroup hierarchy: nonexistent??
    (see https://github.com/tianon/cgroupfs-mount)
- apparmor: enabled and tools installed
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MACVLAN: enabled (as module)
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_NF_NAT_IPV4: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: missing
    (note that cgroup swap accounting is not enabled in your kernel config, you can enable it by setting boot option "swapaccount=1")
- CONFIG_RESOURCE_COUNTERS: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_IOSCHED_CFQ: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CFS_BANDWIDTH: missing
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: enabled (as module)
    - CONFIG_EXT4_FS_POSIX_ACL: enabled
    - CONFIG_EXT4_FS_SECURITY: enabled
  - "btrfs":
    - CONFIG_BTRFS_FS: enabled (as module)
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled
    - CONFIG_DM_THIN_PROVISIONING: enabled (as module)
    - CONFIG_EXT4_FS: enabled
    - CONFIG_EXT4_FS_POSIX_ACL: enabled
    - CONFIG_EXT4_FS_SECURITY: enabled
  - "overlay":
    - CONFIG_OVERLAY_FS: enabled (as module)
    - CONFIG_EXT4_FS_SECURITY: enabled
    - CONFIG_EXT4_FS_POSIX_ACL: enabled
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing

ubuntu@master:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
ubuntu@master:~$ uname -a
Linux master 3.18.0-23-rpi2 #24-Ubuntu SMP PREEMPT Sat May 23 20:04:29 UTC 2015 armv7l armv7l armv7l GNU/Linux
ubuntu@master:~$

Here's the daemon output, up to the point where it freezes:

ubuntu@master:~/docker/bundles/1.7.0/binary$ sudo ./docker -d -D
DEBU[0000] Registering GET, /images/search
DEBU[0000] Registering GET, /images/get
DEBU[0000] Registering GET, /images/{name:.*}/get
DEBU[0000] Registering GET, /images/{name:.*}/history
DEBU[0000] Registering GET, /containers/ps
DEBU[0000] Registering GET, /containers/{name:.*}/top
DEBU[0000] Registering GET, /containers/{name:.*}/logs
DEBU[0000] Registering GET, /containers/{name:.*}/attach/ws
DEBU[0000] Registering GET, /_ping
DEBU[0000] Registering GET, /events
DEBU[0000] Registering GET, /images/json
DEBU[0000] Registering GET, /images/{name:.*}/json
DEBU[0000] Registering GET, /containers/json
DEBU[0000] Registering GET, /containers/{name:.*}/export
DEBU[0000] Registering GET, /containers/{name:.*}/json
DEBU[0000] Registering GET, /info
DEBU[0000] Registering GET, /version
DEBU[0000] Registering GET, /containers/{name:.*}/changes
DEBU[0000] Registering GET, /containers/{name:.*}/stats
DEBU[0000] Registering GET, /exec/{id:.*}/json
DEBU[0000] Registering POST, /images/{name:.*}/push
DEBU[0000] Registering POST, /images/{name:.*}/tag
DEBU[0000] Registering POST, /containers/{name:.*}/kill
DEBU[0000] Registering POST, /containers/{name:.*}/pause
DEBU[0000] Registering POST, /containers/{name:.*}/resize
DEBU[0000] Registering POST, /commit
DEBU[0000] Registering POST, /images/load
DEBU[0000] Registering POST, /containers/{name:.*}/copy
DEBU[0000] Registering POST, /exec/{name:.*}/resize
DEBU[0000] Registering POST, /build
DEBU[0000] Registering POST, /containers/{name:.*}/unpause
DEBU[0000] Registering POST, /containers/{name:.*}/start
DEBU[0000] Registering POST, /containers/{name:.*}/stop
DEBU[0000] Registering POST, /containers/{name:.*}/rename
DEBU[0000] Registering POST, /images/create
DEBU[0000] Registering POST, /containers/create
DEBU[0000] Registering POST, /containers/{name:.*}/wait
DEBU[0000] Registering POST, /containers/{name:.*}/attach
DEBU[0000] Registering POST, /containers/{name:.*}/exec
DEBU[0000] Registering POST, /exec/{name:.*}/start
DEBU[0000] Registering POST, /auth
DEBU[0000] Registering POST, /containers/{name:.*}/restart
DEBU[0000] Registering DELETE, /containers/{name:.*}
DEBU[0000] Registering DELETE, /images/{name:.*}
DEBU[0000] Registering OPTIONS,
DEBU[0000] docker group found. gid: 109
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] [graphdriver] using prior storage driver "aufs"
DEBU[0000] Using graph driver aufs
DEBU[0000] Using default logging driver json-file
DEBU[0000] Migrating existing containers
DEBU[0000] Creating images graph
DEBU[0000] Restored 0 elements
DEBU[0000] Creating repository list

The build steps were:

git checkout v1.7.0
export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper'
AUTO_GOPATH=1 ./hack/make.sh dynbinary # or binary, same result

I have achieved this in Buildroot, here's the package definition file:
################################################################################
#
# lxcdocker
#
################################################################################

LXCDOCKER_VERSION = f8f912ac2a10ae81bbc6274dd1fb203269260263
LXCDOCKER_VERSION_ID = "1.7.1-rc1"
LXCDOCKER_SITE = $(call github,docker,docker,$(LXCDOCKER_VERSION))
LXCDOCKER_INSTALL_STAGING = NO
LXCDOCKER_INSTALL_TARGET = YES

# Perhaps suboptimal to let something in the tree clone subrepos.
# Not exactly sure what a better solution here would be.
# In Go, you need the source for these packages.
define LXCDOCKER_CONFIGURE_CMDS
	export GITCOMMIT=$(LXCDOCKER_VERSION) && \
	export VERSION=$(LXCDOCKER_VERSION_ID) && \
	export GOPATH=$(TARGET_DIR)/usr/src/go/ && \
	echo "clone git github.com/golang/protobuf ab974be44dc3b7b8a1fb306fb32fe9b9f3864b3d" >> $(@D)/hack/vendor.sh && \
	cd $(@D) && ./hack/vendor.sh
	ln -fs $(@D) $(@D)/vendor/src/github.com/docker/docker
endef

define LXCDOCKER_BUILD_CMDS
	export GOPATH="$(@D)/.gopath:$(@D)/vendor"; \
	export GOOS=linux; \
	export GOARCH=$(ARCH); \
	export CGO_ENABLED=1; \
	export CGO_NO_EMULATION=1; \
	export CGO_CFLAGS='-I$(STAGING_DIR)/usr/include/ -I$(TARGET_DIR)/usr/include -I$(LINUX_HEADERS_DIR)/fs/'; \
	export LDFLAGS="-X main.GITCOMMIT $(LXCDOCKER_VERSION) -X main.VERSION $(LXCDOCKER_VERSION_ID) -w -linkmode external -extldflags '-Wl,--unresolved-symbols=ignore-in-shared-libs' -extld '$(TARGET_CC_NOCCACHE)'"; \
	export CC="$(TARGET_CC_NOCCACHE)"; \
	export LD="$(TARGET_LD)"; \
	cd $(@D); \
 	mkdir -p bin; \
	bash ./hack/make/.go-autogen; \
	$(GOLANG) build -v -o "$(@D)/bin/docker" -a -tags "daemon" -ldflags "$$LDFLAGS" ./docker
endef

define LXCDOCKER_INSTALL_TARGET_CMDS
	cp -L $(@D)/bin/docker $(TARGET_DIR)/usr/bin/docker
endef

LXCDOCKER_DEPENDENCIES = lxc linux-headers btrfs-progs sqlite lvm2 host-golang

$(eval $(generic-package))

This should be pretty easy to transform to work in an actual ARM system as opposed to cross compiling.

I had some time to tackle this, and while experimenting with the above I came across this HOWTO to build 1.7.1, which despite working for me doesn't address the issue fully (i.e., it relies on Docker 1.0.1 being available).
Given another stretch of available time (maybe next week) l intend to re-flash one of my boards and try adapting the buildroot recipe above for 1.8.x. Let's hope I don't get stuck on #15053 too.

I can confirm it works on arm 32 or 64. It's really a pretty simple patch.
https://github.com/paralin/buildroot
See package/lxcdocker
I link my fork because docker and several support packages haven't been merged upstream yet.

The paths have changed with 1.8.3 and newer, but I tried to apply the above patch manually - renaming jump_amd64.go to jump_linux.go and altering the build line to remove amd64. That got further but then failed at:
Created binary: bundles/1.8.1/dynbinary/dockerinit-1.8.1
Building: bundles/1.8.1/dynbinary/docker-1.8.1
github.com/docker/docker/pkg/devicemapper
.gopath/src/github.com/docker/docker/pkg/devicemapper/devmapper_wrapper.go:191: Cdeps.device undefined (type *C.struct_dm_deps has no field or method device)
File in new location.
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/
I am on Arch linux which ships with 1.7.1 and gives no internet access after running up the first container so am looking to update.

@alexellis same here, see #15279
Arch Linux on x86_64 uses Docker 1.8.3 with Go 1.5.1 so the same patch might also work on ARM: https://projects.archlinux.org/svntogit/community.git/tree/docker/trunk

Are you still having issues here? Docker does build fine without docker. If there are specific arm issues still, maybe you could open another issue, as as far as I know the issues here are resolved.

Sorry, but "build without self-dependency" has to be possible to enable any kind of security assurance.  A makefile or even a shell script which ensures all dependencies and doesn't depend on a binary which pulls things off the net should be enough.
Otherwise, there is an obvious vector of attack.  Imagine a poisoned docker version pulling some of the packages from a poisoned package repository in addition to the standard one.  It would then inject code into the linked binary which does not use the "real" libs and binaries, but the ones which have hooks to do injection on any attempt to build a docker binary, but acts as normal otherwise (and, of course, adds some malicious behavior).
This would create a root of a poisonous tree.  There needs to be a path to building the binary without pulling necessary dependencies, but only checking them.  It can optionally  also give references to where the required versions can be obtained.

@drubanov following the discussion above, it's still possible to build docker without docker; is there something not working for you?

Imagine a poisoned docker version pulling some of the packages from a poisoned package repository in addition to the standard one. It would then inject code into the linked binary which does not use the "real" libs and binaries, but the ones which have hooks to do injection on any attempt to build a docker binary, but acts as normal otherwise (and, of course, adds some malicious behavior).

It's the usual dilemma though, isn't it ("What if the compiler is malicious")?
You have to start somewhere in a chain of trust and here the start is with the base image (BTW, I think these are cryptographically signed with https://github.com/docker/notary, so you have an assurance that they are what the original authors, the Docker team, intended you to receive).  Do you hand-assemble your C compiler, kernel, firmware, and so on?  Otherwise, couldn't this argument could be made about any of those pieces as well, since the integrity of the next step depends on them?

@nathanleclair, sorry, this is going to be slightly belligerent, but since security is in question, I believe a confrontational review is more justified than a good-will-forming benefit-of-the-doubt review.
There is an ability to cross compile a compiler.  And then the "real" version of the compiler can be compiled by building the sources for the 2nd time with the results of the 1st compilation.  So, given the source code, a compiler audit can be performed without putting any trust in the source from which the source code came.
Even if the image is signed, any dependency on a binary from the same source (not source code) is still only as trustworthy as the source itself.  And asking all IT in the world to trust the authors of docker without building the source code on your own, is as good as trusting closed source.

@thaJeztah, the gist of my comment was that an ability to build without a running docker has to be provided in the standard source or open audits will be extremely rare and less trusted.

@drubanov but it is there; https://github.com/docker/docker/issues/14056#issuecomment-113674225, and a list of other packages to build can be found in the dockerfile; basically, those steps show exactly what has to be executed to build.
if someone wants to maintain a separate makefile for making those steps easier; it's all open source, and we accept contributions

@thaJeztah, well this is an issue tracker.  I guess I am advocating for this to be considered an issue.  Thank you very much for pointing out the comment which shows a good starting point.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=docker-git

https://github.com/paralin/buildroot/blob/master/package/docker-engine/docker-engine.mk
Buildroot maintains make files for docker builds without docker.

@thaJeztah  I tried it offline and it fails almost immediately.  hack/make.sh attempts to verify that the latest version on github is what we have.  This is despite the fact that the I was downloading 1.12.4 from github. And then it still tries to pull something off the network.  I basically ended up picking and choosing parts of the dockerfile and parts of the make.sh to built with all the networks disconnected (and daemon not running).  containerd and client built.  I haven't tried building registry yet.  Until I have a setup which can build and run registry, daemon and client completely offline, in my view, I have to treat this as closed-source software.

@drubanov once again it's not very difficult to compile docker... I've linked you a makefile that contains every command you need to do it (quite minimal, about 5 lines in reality). I don't know why you would bother mucking around in the make.sh files that are obviously intended for a different type of build.


[Feature Request] In installation wizard, add option to disable automatic sending of "FOSSBilling is ready" email

When you finish the installation steps, an email is sent to the admin email address:

FOSSBilling is ready at https://your-fossbilling.url
You have successfully setup FOSSBilling...

This is not always desirable.
There should be a checkbox in the install wizard that enables/disables the sending of this email.

This is not always desirable.

What is your use case where this is not desirable?

For installing something like a development/staging instance, it may not always be ideal to expose its URI in plaintext via email.

Is sending an email desirable at all after installation?
I haven't come across software doing this more generally, and I don't see how sending an email with the login details provides any benefit.

I've only seen Softaculous doing this. And I don't really think we should be sending emails after the installation.

I've only seen Softaculous doing this. And I don't really think we should be sending emails after the installation.

Wordpress does the same for example. But maybe arguable that their users have 0 knowledge..


Fixed a byte order bug in BrowseService.cs.

Changed BrowseService.cs due to recent changes in byte order handling.
Port numbers returned by resolved services should now be correct.

Nuget package is still broken, 3.5 years after this one-line patch was suggested.  Does anyone care?

I've sent out an email to Aaron. I was surprised to see this PR still hasn't been closed after 4 years.

I also wanted to use this library, but with all the PRs still open it seems a bit old...

Cannot use port valuer overflow Int16. Any solution?

For those seeking alternatives: I've had success with Tmds.MDns, which is standalone (no Bonjour or Avahi) and actually works.

Hi, I am using Mono.Zeroconf. I have an issue of using port values larger
then Int16. Do anyone know the solution? I want to use port value = 65535,
also unchecked (Short) can't work for me. I can register using uPort but i
couldn't resolve service port because i can't use uPort in Resolve service.
Link :
https://github.com/eaglemc/Mono.Zeroconf/tree/9076cdd0ae1af82f8f7e788955018
http://www.mono-project.com/archived/monozeroconf/
Please Help !
Regards
Sobia Rind
On Fri, Jun 16, 2017 at 2:26 AM, piedar<EMAIL_ADDRESS>wrote:

For those seeking alternatives: I've had success with Tmds.MDns
https://github.com/tmds/Tmds.MDns, which is standalone (no Bonjour or
Avahi) and actually works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mono/Mono.Zeroconf/pull/4#issuecomment-308812332, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVeSfYMva3fGN0K4Uv9BVtf-h-R8gzK6ks5sEWkvgaJpZM4A5ICn
.

Hey,
I just signed the petition "Sindh High Court Pakistan: Dismiss VC Chandka
Medical College and investigate murder of medical student Nimarta." and
wanted to see if you could help by adding your name.
Our goal is to reach 25,000 signatures and we need more support. You can
read more and sign the petition here:
http://chng.it/Q6TFMZxGFG
Thanks!
Sobia


isSearchable not evaluated for set of enum and set of localized enum attributes

when having an set:enum or set:lenum type attributes defined as isSearchable = "true" in the attributes CSV file, the resulting JSON file contains the flag "isSearchable": false"

@stmeissner @hajoeichler - In the code there is a condition which sets isSearchable and isRequired to false when the type is set:
https://github.com/sphereio/sphere-product-type-json-generator/blob/master/src/coffee/product-type-generator.coffee#L118
Is it a correct behavior? Or should I remove this condition?

yep @junajan, SetType attributes are searchable, but cannot be required:
https://dev.commercetools.com/http-api-projects-productTypes.html#settype

Fixed here https://github.com/sphereio/sphere-product-type-json-generator/pull/49.

merged


MTL support and bug fixes

@stefangordon This should solve #7 #5 and #4
Adds basic MTL support with read/write unit tests.

This looks excellent.  Great work.

Closes #7


CoeFun causes types to be unfolded

class FunLike (F : Sort _) (β : outParam <| Nat → Sort _) where
  coe : F → ∀ a, β a

inductive Secret
def Wrapper := Secret
inductive Bla | z
instance : FunLike Bla (fun _ => Wrapper) := sorry

instance (priority := 100) {F β} [FunLike F β] :
  CoeFun F fun _ => ∀ a : Nat, β a where coe := FunLike.coe

#check Bla.z 0 -- FunLike.coe Bla.z 0 : (fun x => Wrapper) 0
#check Bla.z ∘ id -- FunLike.coe Bla.z ∘ id : Nat → Secret

This shows two different but possibly related issues:

The first #check results in a term whose type is a beta redex. Most likely there is a missing headBeta.
The second #check is the real issue: even though ↑Bla.z : Nat → Wrapper and there are no hard unification problems in the way, the inferred type of ↑Bla.z ∘ id is Nat → Secret, which can cause a failure later if Secret and Wrapper have different typeclasses on them.

Reported by @semorrison on Zulip.

(1) is expected, the type of FunLike.coe is ∀ β [FunLike F β] a, β a after all.  inferType does not do beta-reduction.

(2) is a side-effect of unification, I believe.  We need to unify (a : Nat) → (fun _ => Wrapper) a (a dependent forall) with ?m → ?n (a non-dependent forall).  As far as I can tell, we do WHNF to see if the rhs of the forall doesn't include the binder.
structure Secret
def Wrapper := Secret
def f (a : Nat) : (fun _ => Wrapper) a := ⟨⟩
#check f ∘ id

I think this issue (or something related) is making porting Order.WithTop a real hassle. Option is leaking through everywhere.

(1) is expected, the type of FunLike.coe is ∀ β [FunLike F β] a, β a after all. inferType does not do beta-reduction.

I don't think that adequately explains what's happening, because #check FunLike.coe Bla.z 0 yields Wrapper as expected. My understanding is that the app elaborator does head beta somewhere, I'm not sure where. Otherwise these spurious beta redexes would be everywhere.

While inferring the type we need to solve a unification constraint of the form
?m =?= (fun x => Wrapper) a

We cannot simply assign ?m := (fun x => Wrapper) a because a is not part of the local context associated with ?m.
At this point, isDefEq falls back to approximate solutions, and one of the succeeds after applying whnf.
I am pushing a fix that handles the failures at ?m := (fun x => Wrapper) a by trying beta-reduction. Note that this is not a full solution since it will not try more expensive reductions (e.g., delta, iota, etc) to make the assignment valid. It seems a good compromise. The beta-redex is very common.


Python upgrade prompt is shown twice when Jupyter server is started

This was caused by this recent PR https://github.com/microsoft/azuredatastudio/pull/16040

Approved in shiproom


Compute and plot feature loadings in ordination methods

With @ElySeraidarian, we have been working on computing and plotting feature loadings for several ordination methods. Currently, we can compute and plot the feature loadings for 3 ordination methods: PCA, LDA and NMF. However, we are uncertain about the optimal way to implement this feature in mia (and possibly miaViz for the visualization part).
First, we are uncertain about the optimal way to store feature loadings after calculation. The calculation of feature loadings is different for all methods but they all result in a matrix (features in lines and latent vectors in columns).
Ideally, we would like to store the feature loadings at the same place for all ordination methods (e.g. attr or metadata) but it might be difficult. The ordination functions we use to compute feature loadings are not storing them at the same place at all.
For instance, when running runPCA, the feature loadings matrix is directly stored in attribute "rotation".
Also, we are wondering if it would be best to create a generic wrapper for plotting. @antagomir suggested that we build specific functions for each method and then a generic wrapper that would recognize the type of arguments and call the relevant method.
I think it is important to mention that to visualize the rowTree as well as the feature loadings, we need to restrict the number of features so that the ordination plot remains readable. For that, we use agglomerateByPrevalence (which also agglomerate the rowTree thanks to https://github.com/microbiome/mia/pull/575)

@TuomasBorman Do you have any suggestions or preferences regarding this?

Can you list all the methods that you are implementing? I believe NMF and LDA are not currently available from TreeSE/SingleCellExperiment ecosystem?
PCA --> scater::runPCA()
RDA --> mia::runRDA()/getRDA()
I think first task is to implement LDA and NMF (if they are not yet available). There should be both get* and add* methods available.
get* should output ordination including feature loadings in attribute, that might be the best solution. add* should add the ordination result to reducedDim slot.

Wrapper for feature loadings was already discussed briefly here https://github.com/microbiome/miaViz/issues/92. Certainly there is a need for wrapper. That could take either TreeSE or feature loadings matrix as input.
Leo's idea of specific functions and generic wrapper seems reasonable. However, you should keep in mind the maintenance issues; you should avoid "copy-pasting" the code. Here it seems that loadings are in same format (matrix), and only thing that differs is from where are they fetched from TreeSE object.  If that is the case, the data fetching part is the only thing that requires ordination-specific method. The rest of the functionality can be shared by all methods. (Not sure though since I have not checked this thing in detail).
I am not sure about the use-case of plotting loadings along with rowTree().
In any case, you should first create a draft file that just has the functionality without formal function-specific stuff. For plotting wrapper, you could use OMA example as a template and make it general. This seems a little bit bigger task, so the ground work is very important; especially if you don't have time to finish this.
I might be slow to respond on July because I am working only part-time.

It could also help to proceed if visualization methods can be already provided for at least one of the readily available ordination functions. All ordination methods are supposed to provide similar output (features x components) and the visualization method can assume that the output is available in a suitable format.
Tree: at the first stage it could be even sufficient to just assume that the user has subsetted or agglomerated the tree themselves before the analysis, in whatever way they wish. The examples could be done with sufficiently small data sets with not too many features. I am not sure if the plotting method itself is the best place to deal with this. At least not on the first round. In the subsequent steps we can see how to scale up.
I support comments from @TuomasBorman . I also suggest that here in mia issues we discuss details of the ordination method, and in the indicated miaViz issue we discuss the visualization details.

I agree about creating the get functions for NMF and LDA (similar to getDMM and others that we have already). Or at least one of these to begin with.
All get functions should then return the ordination loadings in the same way. Yes, this can be an issue when we use external functions such as scater::runPCA. We cannot solve that unless we a) implement our on mia::getPCA wrapper on top of it ; b) suggest PR to scater to change this (no idea how it would be received there); c) create a general conversion function getLoadings() that can pick the loadings from different packages & outputs. I might be in favor of option (a).

Can you list all the methods that you are implementing? I believe NMF and LDA are not currently available from TreeSE/SingleCellExperiment ecosystem?
PCA --> scater::runPCA() RDA --> mia::runRDA()/getRDA()
I think first task is to implement LDA and NMF (if they are not yet available). There should be both get* and add* methods available.
get* should output ordination including feature loadings in attribute, that might be the best solution. add* should add the ordination result to reducedDim slot.
Wrapper for feature loadings was already discussed briefly here microbiome/miaViz#92. Certainly there is a need for wrapper. That could take either TreeSE or feature loadings matrix as input.
Leo's idea of specific functions and generic wrapper seems reasonable. However, you should keep in mind the maintenance issues; you should avoid "copy-pasting" the code. Here it seems that loadings are in same format (matrix), and only thing that differs is from where are they fetched from TreeSE object. If that is the case, the data fetching part is the only thing that requires ordination-specific method. The rest of the functionality can be shared by all methods. (Not sure though since I have not checked this thing in detail).
I am not sure about the use-case of plotting loadings along with rowTree().
In any case, you should first create a draft file that just has the functionality without formal function-specific stuff. For plotting wrapper, you could use OMA example as a template and make it general. This seems a little bit bigger task, so the ground work is very important; especially if you don't have time to finish this.
I might be slow to respond on July because I am working only part-time.

Here are the examples I have for LDA and NMF ordinations, I use topicmodels::LDA and NMF::nmf:
# NMF example
library(NMF)
library(mia)

data(GlobalPatterns)
tse <- GlobalPatterns

tse <- transformAssay(tse, method = "relabundance")

altExp(tse, "GenusPrevalent") <- agglomerateByPrevalence(tse, rank="Genus", assay.type="relabundance",
                                                         detection = 3/100, prevalence=5/100)

altExp(tse, "GenusPrevalent") <- altExp(tse, "GenusPrevalent")[!(rownames(altExp(tse, "GenusPrevalent"))
                                                                 %in% c("Other")),]

x <- t(assay(altExp(tse, "GenusPrevalent"), "counts"))
nmf2 <- nmf(x, 2)

H <- nmf2@fit@H

feature_loadings <- t(H)
head(feature_loadings)

# LDA example
library(mia)
library(topicmodels)

data(GlobalPatterns)
tse <- GlobalPatterns

tse <- transformAssay(tse, method = "relabundance")

altExp(tse, "GenusPrevalent") <- agglomerateByPrevalence(tse, rank="Genus", assay.type="relabundance",
                                                         detection=3/100, prevalence=5/100)

altExp(tse, "GenusPrevalent") <- altExp(tse, "GenusPrevalent")[!(rownames(altExp(tse,
                                                                                "GenusPrevalent")) %in% c("Other")),]

lda_model <- LDA(t(assay(altExp(tse, "GenusPrevalent"), "counts")), k = 2)

df <- as.data.frame(t(assay(altExp(tse, "GenusPrevalent"), "counts")))

posteriors <- topicmodels::posterior(lda_model, df)

feature_loadings <- t(as.data.frame(posteriors$terms))
head(feature_loadings)

I can open a PR to implement get* and add* methods for LDA and NMF, and I agree that a wrapper for PCA would be great to store feature loadings exactly the same way for all 3 ordination methods.

@ElySeraidarian can you close as this becomes solved?


Add CI jobs to upload nightly wheels to Anaconda

Description

[!NOTE]
For some of the follow-ups to and requirements for this PR, please read through the thread on https://github.com/pybamm-team/PyBaMM/issues/3251

This PR configures the publish_pypi.yml workflow (maybe we should rename it to publish_wheels.yml now?) to add a job that uploads wheels to Anaconda. Currently, wheels will be uploaded on the same cadence as the workflow, so they are more like "fortnightlies" rather than nightlies.
Fixes #3251
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)

Key checklist:

[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas

This is still a draft because I need to add instructions for how to let people use these nightly wheels in the installation guide. I think I can prepare that locally, but it would make more sense to push those changes when we will have the repository secrets and the custom index configured for uploads (and subsequently downloads).

Do we have upload limits on anaconda? Nightly builds would make a lot of releases

Yes, there is a 5 GB upload limit, but the action handles deleting releases older than N versions or M days automatically if one pushes multiple versions (N and M can be configured). I forgot to mention here that since we are not configuring any SCM-based versioning for the nightlies, they will be overwritten on each upload and we will not hit any limits.
This is what I had sent to @tinosulzer the other day about the requirements here:

A nightly channel to push wheels to, to be filled in anaconda_nightly_upload_organization
An API key generated to push to this channel and then added as a repository secret
A manual upload for a single wheel to this channel for the first time (any platform/architecture shall work, we can delete it later).

I forgot to mention here that since we are not configuring any SCM-based versioning for the nightlies, they will be overwritten on each upload and we will not hit any limits.

Do we plan to configure any SCM-based versioning?

Do we plan to configure any SCM-based versioning?

Not for now until we migrate to a new build system. If we were to set up setuptools-scm and then we start removing setuptools soon, it's going to cause issues with file inclusion and exclusion later, because scikit-build-core uses different ways to handle that and we would need to add something like versioneer and go through it all over again.
What I will suggest for this right now is to use local version identifiers as noted in PEP 440 to distinguish between PyPI releases and these nightlies, and therefore rename the wheel to add +dev after the version tag and before the platform and ABI tags, similar to what JAX does for its GPU wheels. I'll push another commit to make this change.

Bumping the version for built wheels would require a bit of restructuring in the workflow to update the version before building the nightlies and that means this should probably be done when we have some SCM-based versioning. I think we can go ahead with this workflow right now and (I merged the latest changes from develop just now).
The MO to test the nightlies is described in SPEC-0004, which means that PyBOP as a dependent will be implementing a weekly workflow which downloads the PyBOP and PyBaMM nightly wheels as such, something like:
      - name: Test nightly builds
        run: |
          pip install pybop pybamm --pre --extra-index-url https://pypi.anaconda.org/pybamm-and-friends/simple
          pytest --pyargs pybop  # or any other test invocation command

(cc: @BradyPlanden), which can then open an issue for PyBOP about incoming failures due to changes in PyBaMM. It is to be noted that the use of --extra-index-url here rather than --index-url means that we open up indices such as PyPI to search in for the case of downloading PyBaMM's dependencies (NumPy, SciPy, CasADi, etc.) because their wheels would not exist in our own nightly index. If it is needed (which IMO it isn't), we can specify multiple index URLs to test in CI and add the https://pypi.anaconda.org/scientific-python-nightly-wheels/simple index.
Users should also look to use --extra-index-url though, because PyBaMM doesn't have a lot of dependents right now (four, based on GitHub's insights). I probably will have to update the installation guide about this so that they are not misled with not being able to download scipy/numpy/casadi/xarray from our index, but still warn them enough that they should use these command-line flags carefully and at their own discretion.


Smallspecupdates

I didn't get far
I know there are bigger changes that need to be made, which possibly I might be able to help with too
Some are obviously not totally right yet
We don't have to merge this; we could batch up more and change the spec at once

Sorry, of course I missed some step to tell it that the 2 commits that were already pulled don't need to show up here.

Ok I think this is "PTAL" status now.

(Oh, except I still don't know the way to make the unrelated already-pulled changes disappear from here.)


fix broken link

Similar to https://github.com/hashicorp/terraform-aws-consul/pull/79 , link pointing to 404 (https://github.com/hashicorp/terraform-aws-consul/tree/master/examples] )

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

Pablo Loschi seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.


[CI] Mock library missing individual provider data when in 'code' mode

Mock library missing individual provider data when in 'code' mode

fixed by: #658


Update Readme.md

Issue #9

Thanks! Looks good except for one error.

Thanks! Looks good except for one error.

@SirCmpwn I just committed that change

@SirCmpwn I just committed that change

Thanks!

Thanks!


globalThis.crypto causes ERR_INVALID_THIS in Node 19.4.0

Hello, I tried using this library to generate some PASETO tokens but ran into an issue where it would give the following error:
TypeError [ERR_INVALID_THIS]: Value of "this" must be of type Crypto

By passing the actual function from the crypto module solved my problem like so const token = await encrypt(encryptKey, {'hello' : 'world'},{getRandomValues : crypto.getRandomValues});.

Thanks for raising the issue. I've removed the usage in 6ba686f


Curl says found illegal characters [windows]

Example
for JoJo's Bizarre Adventure
jojo-s-bizarre-adventure
Running download.sh will warn and downloads on the last episode.
....
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 16 - Ripple Teacher Lisa Lisa.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 17 - Laying Some Elaborate Traps!.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 18 - Team Stroheim's Counterattack.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 19 - Rushing Towards the Cliffs of Death.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 20 - Caesar's Lonely Youth.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 21 - The Hundred vs. Two Wager.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 22 - A True Warrior.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 23 - The Warrior Returning to the Wind.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 24 - The Link to JoJo.mp4
curl: (3) Illegal characters found in URL
https://twist.moe/anime/jojo/[AT] JoJo's Bizarre Adventure - Episode 25 - Birth of the Ultimate Being!.mp4

Try to copy url and open in the browser

Fixed 😅


Fix README setup instructions

On Step 3 of the installation instructions, before running:
$ thor pingpong:setup

The user needs to run:
$ mkdir -p db/migrate

So the database setup will work.

I am updating this right now, thoughts on adding the mkdir command to the thor command instead of adding it to the readme?

If Heroku doesn't mind it, I vote add it to thor.

:+1:  on adding it to thor.

So, it looks like adding it in the thor command breaks the deploy to Heroku button. Going to go with this solution instead :)
Thanks for doing this!

Thanks @hex337 :)


Added ARIA attributes to essential elements

Fixes

Fixes #214  by @Silvia-Wachira

Description
The PR addresses the issue of adding ARIA attributes to essential components relative to legaldb.
Technical details
The footer and header files were untouched as changes from the vocabulary will be effected in it.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Hi @TimidRobot , I'll try conflicts asap and push.
Thank you.

@TimidRobot noted.
Changes will be effected and committed.
Thank you.

@TimidRobot noted. Changes will be effected and committed. Thank you.

This might take a little while as I would love to go through the contents of the link you provided, as it would help me understand better what to do and not to do when adding ARIA attributes.

Please:

reduce the changes so that there isn't duplication of existing elements/text

ARIA - Accessibility | MDN

The first rule of ARIA use is "If you can use a native HTML element or attribute with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so."

Resolve conflicts with main branch

Resolving a merge conflict on GitHub - GitHub Docs

Add support for translation for added strings, where appropriate

Implement i18n support #243
Translation | Django documentation | Django

Hi @TimidRobot , Corrections have been effected as requested. Do review when you can. Thank you.

Very close! Just a few small changes

Changes effected.


ERROR    - setup - Edge between Component and CrewAIAgentComponent has invalid handles       # setup.py:580

Updated to 1.015 ver. when I open the project, pop up a notion tells me to report to GitHub.
Btw I couldn't access to my project.
Here's the notion:
Sorry, we found an unexpected error!
Please report errors with detailed tracebacks on the GitHub Issues page.
Thank you!

same issue here

Hey @HanumanTFM @tdhd3,
I hope you’re all doing well.
I went through every single component trying to get this error, but I couldn’t reproduce it. :(
Could you please provide the exported .JSON file of the flow where you’re encountering the error?
I’ll be waiting for your response so I can proceed with the fix.
Thank you!

Same error for me.  1.0.15 on windows 11.

Hi @McCalebTheSecond, could you please share the flow that's causing the crash? That would help us move forward with the analysis.
Thank you!

It happens when I start Langflow.

Hi @McCalebTheSecond, could you please share the flow that's causing the crash? That would help us move forward with the analysis.
Thank you!

Hey @Cristhianzl, it happens when I start Langflow.

I have the same problem with various fresh installs on Windows 11 using conda environments running various Pythons from 3.10-3.12.
It might be something to do with the SearchAPI component tool connection and the CrewAIAgent component?

Hey @Geoff3068, @McCalebTheSecond, @HanumanTFM, @tdhd3,
I wanted to bring #3357 to your attention.
I’ve tested all the basic examples with CrewAI agents on the latest main branch, and everything worked smoothly. It looks like these issues will likely be resolved in the upcoming v1.0.16 release. I recommend waiting for the new release, as these errors shouldn’t cause any major roadblocks.
Thanks for your patience!

In my case, using this Google Search Tool was just fine in v1.0.14. When I
updated to v1.0.15, it doesn;t work any more.
Btw, the terminal server pops out many errors when I first get into the
project work space. So I disconnected the connection.
[image: image.png]
Cristhian Zanforlin Lousa @.***> 於 2024年8月22日 週四
上午3:11寫道：

Hey @Geoff3068 https://github.com/Geoff3068, @McCalebTheSecond
https://github.com/McCalebTheSecond, @HanumanTFM
https://github.com/HanumanTFM, @tdhd3 https://github.com/tdhd3,
I wanted to bring #3357
https://github.com/langflow-ai/langflow/issues/3357 to your attention.
I’ve tested all the basic examples with CrewAI agents on the latest main
branch, and everything worked smoothly. It looks like these issues will
likely be resolved in the upcoming v1.0.16 release. I recommend waiting for
the new release, as these errors shouldn’t cause any major roadblocks.
Thanks for your patience!
—
Reply to this email directly, view it on GitHub
https://github.com/langflow-ai/langflow/issues/3356#issuecomment-2302811529,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHJR7LYD64WW5VKUQ3O42QTZSTQ5TAVCNFSM6AAAAABMRP43A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSHAYTCNJSHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

After the update to v1.0.15. This error shows.
[image: image.png]
施力珩 @.***> 於 2024年8月22日 週四 上午11:22寫道：

In my case, using this Google Search Tool was just fine in v1.0.14. When I
updated to v1.0.15, it doesn;t work any more.
Btw, the terminal server pops out many errors when I first get into the
project work space. So I disconnected the connection.
[image: image.png]
Cristhian Zanforlin Lousa @.***> 於 2024年8月22日 週四
上午3:11寫道：

Hey @Geoff3068 https://github.com/Geoff3068, @McCalebTheSecond
https://github.com/McCalebTheSecond, @HanumanTFM
https://github.com/HanumanTFM, @tdhd3 https://github.com/tdhd3,
I wanted to bring #3357
https://github.com/langflow-ai/langflow/issues/3357 to your attention.
I’ve tested all the basic examples with CrewAI agents on the latest main
branch, and everything worked smoothly. It looks like these issues will
likely be resolved in the upcoming v1.0.16 release. I recommend waiting for
the new release, as these errors shouldn’t cause any major roadblocks.
Thanks for your patience!
—
Reply to this email directly, view it on GitHub
https://github.com/langflow-ai/langflow/issues/3356#issuecomment-2302811529,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHJR7LYD64WW5VKUQ3O42QTZSTQ5TAVCNFSM6AAAAABMRP43A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSHAYTCNJSHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Hand Made Graphs Visualization using Cutecharts Library

Description
A detailed explanation of Hand Made Graphs Visualization using Cutecharts Library with examples.
Fixes #4162
Domain
Datascience with Python
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

i will love to contribute pls assign it to me

/assign


Revert port when registering in HIL

So I came across this when I was playing with the dell n3048. So when you enable trunking on it (sw mode trunk) by default the port has all the vlans enabled which is not cool. This may be the case in other switches too.
What we should do is, during port registration, call revert_port on the port being registered. That way, when a new port is registered we can be sure that it has no vlans enabled. (Or are we doing this already?)
cc: @zenhack

Yeah, I thought there was a note somwehre about admins needing to shut that off when setting up. But now that we have the functionality we probably ought to just do it automatically.

@zenhack just realised that I can't call port revert on a port that is not attached to any nic. Why is that so?

@zenhack ping

It's an artifact of the fact that NewtorkingActions are bound to nics, not ports, so to actually shove something in the queue we need a nic. This probably shouldn't be the case, just a limitation of the existing implementation.
It would require a bit of refactoring to fix. I think we could just switch what object the networking action was bound to, though there are likely a few subtleties in the places where we check for the existance of an action.

hm, maybe we can make it tunable via the configuration file.
[installation]
complete-wipe or sneaky
that way we can do other stuff too, like turn off nodes when they are registered.

maybe a more stragithforward name for the option, like clean_resources_on_register = True, but that seems reasonable.

so we can make it tunable via the config file, and call revert_port() when we do a port_connect_nic(). And since that would be an admin only operation that'll be performed before the nodes are given to users, I think it'll be safe to do.
What do you think @zenhack?

Now that I think of it, this may not always work and is probably a bad idea. Sometimes a switchport may have more configuration than just VLANs. Our revert_port call only removes networks, not any other configuration on a switchport (like ip-address, qos etc etc). So it's best to leave it up to admins to set the state right before registering in HIL; otherwise there may be unwanted side affects.


feat: new teleport page

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #7363
[ ] Requires deployment <snek/rubick/worker>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[ ] I've tested it at </ksm/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Ecosystem Telegram?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Copilot Summary

🤖 Generated by Copilot at 44b9d94
This pull request enhances the teleport feature by adding new components, icons, input fields and localization strings. It modifies the Teleport.vue component and its related files, such as NetworkDropdown.vue, locales/en.json and utils/chain.ts. The goal is to improve the user interface and experience of teleporting assets across networks.

🤖 Generated by Copilot at 44b9d94

To teleport assets with ease
We added some dropdowns and keys
NetworkDropdown.vue
And locales/en.json too
And some icons for networks like dot and kusama

hello! thank you for this pr
some things I saw right away

only display networks possible to teleport to

dark mode needs some work

@exezbcz fixed. It was a draft PR yesterday, you can review it again now

nice job! works for me, just the few little things prury mentioned
I will probably create a small followup, feel free to pickup that as well 🚀

@roiLeo

note: divider is not full width on mobile

it's on purpose. The dividing line in the design isn't full width:

@prury

small thing on firefox:

Made a little change, now on my Firefox:

@roiLeo lel, yeah you can make it full width, I think its because I resized the auto layout and left it like this.
my bad

@roiLeo lel, yeah you can make it full width, I think its because I resized the auto layout and left it like this.

@exezbcz oh I thought it was a special design. fixed

Thanks!
pay 70 usd

😍 Perfect, I’ve sent the payout
💵 $70 @ 4.99 USD/DOT ~ 14.028 $DOT
🧗 1CAv6Zq3yVxL3eKhC94GWTWVwp1w4jZbqeZ6wXx1rPAhrce
🔗 0x89bf0f748361aaaf445dd7349596fe75937af5216ea7b04bb07a17e5f4a73cd7
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Zoomout when image width > screen width

Hi . how could I retrieve the real  image height and width after the viewer is loaded ?
is viewport provide any helpers for that ?
the problem is as follows:
The OSD got new image but the image width is 4000px with 1400px height for example . -  the OSD div is 600px height and screen =1920px width.
In that case I'd like to zoomout  in some way (with a sample formula or changing the defaultzoomlevel)   to  get the whole image in the container .
for now I can not set a default zoom 0.4 or even 0 to fit to the viewer for example because there are images that comes with different height and width . and I need to scroll to see the whole image or zoom out manually.
thanks a lot for your support

For that sort of thing you can just work entirely in viewport coordinates (without worrying how big the div is in web coordinates or how big the image is in image coordinates). For more info, see:
http://openseadragon.github.io/examples/viewport-coordinates/
To find the viewer bounds in viewport coordinates, use:
var viewerBounds = viewer.viewport.getBounds();

To find the image bounds in viewport coordinates (assuming you want the first image in your collection), use:
var imageBounds = viewer.world.getItemAt(0).getBounds();

To zoom to a particular area, set up a rectangle however you'd like and use fitBounds:
viewer.viewport.fitBounds(rect);

HI thanks
var imageBounds = viewer.world.getItemAt(0).getBounds();
how can I use that variable and how can I build an rectangle object to send him to the fitbounds function ?
thanks

Yes, there's an open event you can use, and the second parameter to fitBounds skips the animation. Like so:
viewer.addHandler('open', function() {
  viewer.viewport.fitBounds(rect, true);
});

You could probably detect if it's already fitting, but you don't need to bother since fitBounds itself basically does that detection as well.

HI @iangilman    its not throw an error buy sometimes on click or moving between the images. (closing and opening the viewer) its not working  , and its working great only on refresh
and when I add timeout its working but with animation (the image make animation to fit the viewer)
thanks

What happens when you remove the setTimeout? What if you change it to just a 1 millisecond timeout?

with 1 ms - its working like without - sometimes works and sometime no (in click/refresh )

So 1 millisecond is the same as no timeout, but 100 milliseconds is different? Good to know.
I still don't understand what happens with no timeout though.

with DZI/tif images its takes 50-80 ms to get the images and then i have to set timeout  and this is looking bad because there is some jumps until the fits working
without timeout you will need to zoom out  to see the whole image

im trying to detect when the image or tile is loaded  then to fit the bounds without timeout
    ```

var tileSources = {tileSource:"http://localhost/cgi-bin/ImageServer.cgi/test.tif.dzi"};
       openViewer(viewerId,tileSources);

       viewer1.addHandler('tile-loaded', function(eventSource, item, user) {

             var imageBounds =viewer1.world.getItemAt(0).getBounds();
             viewer1.viewport.fitBounds(imageBounds, true);

       });

this is work but in zoom it make the event again so i tried to remove the handler  like that but it also needs a timeout  and not working if you internet is slow for exmaple

`  viewer1.addHandler('open', function() {
        setTimeout(function () {
            viewer1.removeAllHandlers('tile-loaded');
        },400);
    });`

how can I fix it ?
thanks

This should work:
var tileSources = {tileSource:"http://localhost/cgi-bin/ImageServer.cgi/test.tif.dzi"};

openViewer(viewerId,tileSources);

var tileLoadedHandler = function(eventSource, item, user) {
  viewer1.removeHandler('tile-loaded', tileLoadedHandler);
  var imageBounds =viewer1.world.getItemAt(0).getBounds();
  viewer1.viewport.fitBounds(imageBounds, true);
};

viewer1.addHandler('tile-loaded', tileLoadedHandler);

Hi thanks  @iangilman
its works better but it looks like  sometimes when i refresh a few or change images it not working as it should
is there any way to make sure that the tileLoaded will works after and the image will be fit to bounds ?

Strange. I'd have to see a repro to understand what's going on.

Seems like it's working better with jpg then  tif/dzi
Is any other function to make sure the tif is fully loaded ?
I will try to provide example with tif( with cgi)


In walkthrough, always execute commands remotely.

solved in https://github.com/awslabs/dynamodb-titan-storage-backend/pull/107


Update service names in playbooks for OpenShift 3.11 and inventory group names

The following playbooks still reference the OpenShift 3.9 service names:

playbooks/ocp-services-start.yml
playbooks/ocp-services-stop.yml
playbooks/ocp-hosts-shutdown.yml

These playbooks should update their services to the OpenShift 3.11 equivalent (see ocp-rolling-services-restart.yml or tasks/os-update-and-upgrade/masters.yml for an example.
Also these playbooks should be updated to remove hyphens ('-') from the inventory group names.

@bparry02 please provide me with the necessary information to continue further.

Hello! Would you please guide me with this good first issue. I am a newbie! Thanks!

@Seranya1 these playbooks were targeted at OCP 3.x, now that most of the world has moved onto OCP 4.x i dont think very many people are using this. but if you are, feel free to submit any enhancments bug/fixes you want and we will merge them.
if you are looking for useful day 1/2 ops for OpenShift 4 quite a bit can be found here: https://github.com/redhat-cop/


Service 'SQL Server Browser (SQLBrowser)'

Hello,
Can bccontainerhelpercondocker swarm be used? if not, are there future plans to be used?
If I start the container as a service I receive this error:
Service 'SQL Server Browser (SQLBrowser)' cannot be started due to the following error: Cannot start service SQLBrowser on computer '.'.
Thank You,
David

Server 2019 didn´t have latest patch installed


[Anime] make dual audio case insensitive

Pull Request
Purpose
Add ability to match case insensitive "Dual Audio"
Approach
(?i) before dual audio is going to add ability to match case insensitive:
BLEACH Thousand Year Blood War S01E28 KILL THE KING 1080p DSNP WEB-DL AAC2.0 H 264 DUAL-VARYG (Bleach: Sennen Kessen-hen, Dual-Audio, Multi-Subs)

and fixed version:

Open Questions and Pre-Merge TODOs

Requirements

[X] These changes meet the standards for contributing.
[X] I have read the code of conduct.

seems like arrs are case insensitive, so no need for this


Ob deploy push fails with exit code 1

After having installed Obelisk on Ubuntu 16.04 by following the instructions in the readme (installing Obelisk in the nix-env, and using hub) and trying to deploy the example app(also following the readme) the command ob deploy push fails with the following error message.
✔ Running nix-build on ./.obelisk/impl [command]
RawCommand "nix-build" ["./src","-A","server","--argstr","hostName","ec2-xx-xxxx-xx-xxxx.eu-central-1.compute.amazonaws.com","--no-out-link"] failed with exit code: 1
✖ Running nix-build on ./src [server]

The content of the ./src folder in the myapp-deploy have not been edited by hand and consists of the default.nix file
# DO NOT HAND-EDIT THIS FILE
import ((import <nixpkgs> {}).fetchFromGitHub (
  let json = builtins.fromJSON (builtins.readFile ./github.json);
  in { inherit (json) owner repo rev sha256;
       private = json.private or false;
     }
))

the github.json file
{
  "owner": "...",
  "repo": "...",
  "branch": "...",
  "private": ...,
  "rev": "...",
  "sha256": "..."
}

and the .attr-cache folder which is empty.

@SebastianCallh Could you show the output of ob deploy push -v?

Hi @srid! Great idea, apparently it tries to fetch from an url that gives 404.
Sorry about the formatting, the output is below
Starting Obelisk </nix/store/s200msjpipi4jpyv2xkas35dsb101s9m-obelisk-command-0.1/bin/ob> args=Args {_args_noHandOffPassed = False, _args_verbose = True, _args_command = ObCommand_Deploy DeployCommand_Push} noSpinner=False logging-level=Debug
Creating process: CreateProcess {cmdspec = RawCommand "nix-build" ["./.obelisk/impl","-A","command","--no-out-link"], cwd = Nothing, env = Nothing, std_in = Inherit, std_out = CreatePipe, std_err = CreatePipe, close_fds = False, create_group = False, delegate_ctlc = False, detach_console = False, create_new_console = False, new_session = False, child_group = Nothing, child_user = Nothing}
✔ Running nix-build on ./.obelisk/impl [command]
Handing off to /nix/store/s200msjpipi4jpyv2xkas35dsb101s9m-obelisk-command-0.1/bin/ob
Starting Obelisk </nix/store/s200msjpipi4jpyv2xkas35dsb101s9m-obelisk-command-0.1/bin/ob> args=Args {_args_noHandOffPassed = True, _args_verbose = True, _args_command = ObCommand_Deploy DeployCommand_Push} noSpinner=False logging-level=Debug
Creating process: CreateProcess {cmdspec = RawCommand "nix-build" ["./src","-A","server","--argstr","hostName","ec2-18-184-54-251.eu-central-1.compute.amazonaws.com","--no-out-link"], cwd = Nothing, env = Nothing, std_in = Inherit, std_out = CreatePipe, std_err = CreatePipe, close_fds = False, create_group = False, delegate_ctlc = False, detach_console = False, create_new_console = False, new_session = False, child_group = Nothing, child_user = Nothing}
building '/nix/store/1qnvkmviagcd6sg9rl3kzsjyhx2l2ffj-source.drv'...
trying https://github.com/obsidiansystems/obelisk-https/archive/5bc5cd81b669a0ea1b4415a1be8fd8c5a0680f0b.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
error: cannot download source from any mirror
builder for '/nix/store/1qnvkmviagcd6sg9rl3kzsjyhx2l2ffj-source.drv' failed with exit code 1
error: build of '/nix/store/1qnvkmviagcd6sg9rl3kzsjyhx2l2ffj-source.drv' failed
(use '--show-trace' to show detailed location information)
RawCommand "nix-build" ["./src","-A","server","--argstr","hostName","ec2-18-184-54-251.eu-central-1.compute.amazonaws.com","--no-out-link"] failed with exit code: 1
✖ Running nix-build on ./src [server]

@SebastianCallh just made that package public which should resolve the 404

@luigy  Yeah it ran past that step now but after a while it got stuck on a permission denied. This shouldn't need sudo, right? Assuming that this is permission denied on my machine. The nixOS server  just runs root user currently.
depmod: FATAL: could not load /boot/System.map-4.4.0-127-generic: Permission denied
make: *** [Makefile:108: install] Error 1
builder for '/nix/store/aik0k9s8a8dgkppfj561d4y6bsrha96a-ixgbevf-4.2.1-4.9.50.drv' failed with exit code 2
cannot build derivation '/nix/store/2r30zinrmpm64xrdawxzb5r61dr38zdg-kernel-modules.drv': 1 dependencies couldn't be built
building '/nix/store/cf2sdd99xdiima8xn5rafg17hazc5b8g-linux-4.9.50-shrunk.drv'...
cannot build derivation '/nix/store/5w6f1gsz9c2sypnavmfrzgmw1gkzclah-nixos-system-ec2-xx-xxx-xx-xxx.eu-central-1.compute.amazonaws.com-18.03pre-git.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/72w96dcgdpnjqn1i29adyq6z8nscq2bh-nixos-system-    ec2-xx-xxx-xx-xxx.eu-central-1.compute.amazonaws.com-18.03pre-git.drv': 1 dependencies couldn't   be built
error: build of '/nix/store/72w96dcgdpnjqn1i29adyq6z8nscq2bh-nixos-system-ec2-xx-xxx-xx-xxx.eu-   central-1.compute.amazonaws.com-18.03pre-git.drv', '/nix/store/aj2xkjxj1fkrl8fbas590c6bsnh4ra1w-nixos-vm.drv', '/nix/store/wz9csp4xcyzkrisg0kzc1r385hhz06x1-nixos-vm.drv' failed
RawCommand "nix-build" ["./src","-A","server","--argstr","hostName","ec2-xx-xxx-xx-xxx.eu-central-  1.compute.amazonaws.com","--no-out-link"] failed with exit code: 100

✖ Running nix-build on ./src [server]
once again, sorry about the formatting.

@SebastianCallh Thanks for pressing through. I sadly have never seen this before. What system are you running on? Ubuntu?

@3noch No problem! That's right, Ubuntu 16.04. I have put the entire output from `ob deploy push -v´ in this paste bin.

@3noch I see now that the instance is in fact running NixOS 18.03 and not NixOS 17.09. Whoups. That could be it? I will try with an instance with the proper version later today and get back to you.

That was not the issue. The error remains.

Looks like https://github.com/NixOS/nixpkgs/issues/29448

@alexfmpe You're totally right. How do we proceed with this?

@SebastianCallh Looks like that issue has a workaround in the comments (but it's ugly). This is a nasty bug with nixpkgs on Ubuntu. I have another possible workaround coming that uses docker to run the actual deployment builds. We need this for macOS but I think it could probably be a workaround for this issue as well.

@3noch Yeah I saw it. Unfortunately I don't trust myself enough to restore the boot folder after every build. This is quite the bummer

@SebastianCallh It may only need to be done once (populate the cache and be done) but I don't know for certain. I wouldn't want to do that myself either... Let's hope that my virtualized remote builder helps here until nixpkgs gets things together.

@3noch That's a possibility but I'd rather not. Looking forward to it! Shoot me a message if I can assist with testing or anything.

@3noch Yeah, that workaround is quite a bit more dangerous than people can
reasonably do. Can we try to sort this out upstream?
On Sat, May 26, 2018, 07:11 Sebastian Callh<EMAIL_ADDRESS>wrote:

@3noch https://github.com/3noch That's a possibility but I'd rather
not. Looking forward to it! Shoot me a message if I can assist with testing
or anything.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/obsidiansystems/obelisk/issues/6#issuecomment-392188442,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGlYHMyiegglavRrEQlgRStU9W6tg1gks5t2HOagaJpZM4UMz5l
.

@SebastianCallh Can you check whether /etc/nix/nix.conf says sandbox = true anywhere inside it?  It looks like the builder for one of the libraries is checking things it shouldn't; I'm hoping that if we turn on sandboxing, it won't be able to do that anymore.

I did not have sandbox = true in it. After adding it and rerunning ob deploy push the entire process completed and the example app was deployed successfully!
Are there any consequences to be aware of when running in sandbox mode?

@SebastianCallh Awesome!  I'm glad that fixed it; nix stuff really should not be reading outside of its own area.
The consequences of using sandboxing are mostly that it is slightly slower (on the order of 30ms per derivation, if I recall correctly), and that it is more robust.  On NixOS, sandboxing is on by default.  On some OSes, creating/entering a sandbox may require elevated permissions, but that doesn't seem to have been the case for you.
I've created an issue to help with this: https://github.com/obsidiansystems/obelisk/issues/28

@ryantrinkle Awesome! I haven't used sandbox = true before. I'm very glad there is a clean solution to this.