Fix circular dependency with pygobject with testing

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] 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.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Not a fan of this. We should really test if the gobject-intropection typelib works properly by importing them in python.
Where is this causing problems at the moment?

Not a fan of this. We should really test if the gobject-intropection typelib works properly by importing them in python.

It should do this still, just by another mechanism. These imports are tested in the pygobject tests, and the downstreams mechanism should install pygobject, run its tests, and fail if the tests fail. The only case it doesn't fail is if it can't install a compatible pygobject, which should only happen when we are expanding to a new platform.
Admittedly, I've never used the downstreams feature before, so we should see how these builds go and if it works as expected.

Where is this causing problems at the moment?

No actual problem with the circular dependency yet, but only because the tests aren't actually run for the osx_arm64 build. If they were, it would fail because pygobject is not available (yet).
It's also gumming up the pango 1.48 migration, where the bot is erroring out because of the above and failing to issue the migration PR for gtk3. I only noticed this because I'm trying to install some new packages and the solver is failing because some things (in this instance wxwidgets) haven't been migrated to the new pango yet.

Do you have any plans to make similar changes to other GNOME recipes as well? I have introduced this kind of test in a couple of feedstocks already...

I like those sort of changes; anything with more tests is good! I don't know if any of them would also result in circular dependencies like this, but I think we'd be OK to just handle those situations if/when they come up (like this with the pango migration). At least a fix shouldn't be too hard if there are problems. So I say keep on putting in those changes!
It looks like this downstreams feature is working as described: the gtk3 tests are run, and then a separate test sequence happens where pygobject is installed and its tests are run. The only thing I'm not sure of is what happens when those pygobject tests fail, as I hope they would fail the build just as if the tests were included in gtk3. I think I will have to go look in the conda-build code to figure that out, and I'll go do that now. If it were to fail when those tests fail as we hope, are you OK with me merging this?

I wonder if it would perhaps make more sense to get rid of the use of gtk3 in the pygobject test itself. That should also fix the circular dependency right?

Yeah, so remove gtk3 and the stuff in the pygobject test that references gtk3 and have it here instead much like it is currently? I think that would fix the circular dependency, but in the other way where we'd have to build pygobject before gtk3 instead of the other way around for a new platform. I don't know if that ordering is good or bad, but it would work.
It doesn't fix my immediate problem with the pango migration, but I'm also trying to fix that by getting pygobject building for osx_arm64.
Is it best to say that your concern with the way this PR changes things is that it makes it non-obvious and dependent on the pygobject recipe that the gobject-introspection typlib stuff for gtk3 is getting tested? Is there another way to test that with just gobject-introspection and not pulling in pygobject? I think in an ideal world we would remove both the pygobject and gtk3 test dependencies from each other as otherwise they are independent.
By the way, I can confirm that conda-build does what we expect and fails the build if the downstreams tests fail.

Yeah, so remove gtk3 and the stuff in the pygobject test that references gtk3 and have it here instead much like it is currently? I think that would fix the circular dependency, but in the other way where we'd have to build pygobject before gtk3 instead of the other way around for a new platform. I don't know if that ordering is good or bad, but it would work.

I think it makes sense to have a working build of pygobject on a new platform before having one of gtk3. I would argue that ensuring usage of these GNOME libraries from Python is essential. So IMHO best to modify the pygobject tests instead of this PR.

It doesn't fix my immediate problem with the pango migration, but I'm also trying to fix that by getting pygobject building for osx_arm64.
Is it best to say that your concern with the way this PR changes things is that it makes it non-obvious and dependent on the pygobject recipe that the gobject-introspection typlib stuff for gtk3 is getting tested? Is there another way to test that with just gobject-introspection and not pulling in pygobject? I think in an ideal world we would remove both the pygobject and gtk3 test dependencies from each other as otherwise they are independent.

Feel free to remove the pygobject downstreams test in gobject-introspection. This would indeed be a chicken-and-egg problem for new platforms.
In my experience, you really need to run the imports with pygobject and try a couple of classes to ensure that they actually work. On Windows, I had a lot of trouble with libgraphene and harfbuzz, as the typelibs were produced without errors but didn't contain all symbols, unless built with VS2019....

By the way, I can confirm that conda-build does what we expect and fails the build if the downstreams tests fail.

Feel free to remove the pygobject downstreams test in gobject-introspection. This would indeed be a chicken-and-egg problem for new platforms.

Oh, that wasn't what I meant and I didn't even know that was one of the changes you had done. I think that makes sense to stay.
What I was driving at was if there was a way to test the GI typelibs produced by the gtk3 package without getting pygobject involved. So that we wouldn't have to have a (testing) pygobject dependency that is otherwise not required, which would allow migrations and whatnot to work in parallel.
But from your last reply, I read that you think the Python bit is still important to test or that there is no test without pygobject that does the job. Is that right? Something like running g-ir-inspect doesn't do enough actual testing to catch the situations you're talking about on Windows?

g-ir-inspect is next to useless as it can only tell you which shared libraries or other typelibs it depends on.
AFAIK the only way to make sure that the typelib works is by importing it with pygobject and do a couple of calls on its contents.
To be honest, I use the gtk stack in conda-forge exclusively through pygobject, so it is essential for me that that part works flawlessly.

Thanks for the discussion @tschoonj! I'm going to close this now in favor of removing gtk3 as a test dependency from pygobject, which is in progress over at https://github.com/conda-forge/pygobject-feedstock/pull/35 as part of the OSX ARM migrator for fixing the issue of the pango migration being held up. I do want to make sure that we test that the GI typelibs work, and keeping gtk3 as-is will do that just fine with the pygobject change.


[BUG] Update partition code to remove single-split workaround

Describe the bug
https://github.com/rapidsai/cudf/issues/4656 has been merged, so contiguous_split should now support splitting correctly even when there is only 1 split (no split points).  The plugin partitioning workaround that was put in for the single-partition case can be removed.
https://github.com/NVIDIA/spark-rapids/blob/7ec7473d4de01caeea791b0cb08e2a9798d62884/sql-plugin/src/main/scala/ai/rapids/spark/GpuSinglePartitioning.scala#L41-L42

Fixed by #432.


SQL Pipe

🚀 The feature
Allows for sourcing datasets from SQL queries. Should allow to substitute in different backends. eg Athena, Presto, Postgres. Should do smart batching to minimize number of query requests and maximize data returned per query.
Batching will probably be backend dependent. Eg Athena/Presto do not support LIMIT .. SKIP ... queries
Motivation, pitch
Data is often stored in large datalakes on which SQL queries can be run to transform and load data. At some point this data must be turned into tensors however loading of this takes quite a lot of care and each query can take multiples of seconds meaning it cannot be done
Alternatives
Could not find any existing implementations. I have written my own solutions that allows user to index on a query but it is very hacky.
Current solution looks something like this

from itertools import groupby
class SQLTAble():

    @cached
    def get_patient(self, id) -> pd.DataFrame:

        return self.get_patients([id])

    def get_patients(self, ids) -> pd.DataFrame:

        ids = '(' + ','.join(ids) + ')'

        query = f"""
        SELECT patientid, offset, parameterid, value from icu_data
        where patientid in {ids}
        order by patientid, offset, parameterid
        """

        return client.query(query)

    def prefill_cache(self, all_patients):

        for patients in batch(all_patients, batch_size):

            results = self.get_patients(patients)

            patient_iter, patient_results_iter = groupby(results, lambda x: x['patientid'])

            for patient, patient_results in zip(patient_iter, patient_results_iter):

                self.add_cache(patient, patient_results)

the @cached decorator check if the patient is already in an lmdb database and shortcuts having to perform the query if it is.
Naievely fetching patient by patient is far too slow but it's also not possible to fetch all patients at once as this would result in memory issues.

Not specifically related to the SQLPipe ... but for this specific use case that I am working on at the moment there would also be a need to transform the data from columnar format to timeseries format. This is also quite expensive at scale and might benefit from a Pipe function.
eg above example has (patientid, offset, parameterid, value), this should be turned into a tensor of shape (patient x seq_len x n_parameters) and the values filled from value. Basically the data is queried in sparse COO format and needs to be densified. (There may be an SQL way of doing this, if so would love to hear it. My SQL is admittedly weak)
Additional context
No response

Note: If we allow such DataPipe we would need to take special care of order nondeterministic nature of most SQL database engines.

Yeah sounds makes sense to use Arrow memory layout to fetch data from warehouse, for example Snowflakes Python client support fetching result batch as Arrow table: https://docs.snowflake.com/en/user-guide/python-connector-distributed-fetch.html#retrieving-the-list-of-result-batches

Agree it should be achievable. But in that case, users will use 2 sets of languages (SQL and Dataframe-style) to describe transformation logic? Is it a reasonable user experience?


Task16 sabine

What Github issue does this PR relate to?
Created Relationship API
Created Relationship Page
Created Relationship Form: Mentor and/or mentee can add their notes/goals on the current
This step is when there is an on-going mentoring (after the mentor accepted mentee's request)
What should the reviewer know?
Please be aware that there is an error preventing the page to load properly

@lorepirri - Here is the draft pull request to my task.
I can see all checks have failed

@sabine-mansour I think it's because there are couple of compilation errors, see here in the Netlify build log: https://app.netlify.com/sites/tupu-app/deploys/630cdb01a72cff0008f00c45#L134-L141 It's linked in the comment from Netlify.

@lorepirri - Here is the draft pull request to my task. I can see all checks have failed

Hi @sabine-mansour, try to make it run commenting out the not defined things highlighted in the log mentioned by Tudor (thanks @tsg ), so than we can proceed by looking at what was not yet working

Close #70


Feature abstraction of cds object

Codecov Report

Merging #38 into develop will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           develop    #38   +/-   ##
======================================
  Coverage        0%     0%
======================================
  Files          128    131    +3
  Lines         5739   5787   +48
  Branches       572    569    -3
======================================
- Misses        5739   5787   +48

Impacted Files
Coverage Δ

.../mm2d/dmsexplorer/viewmodel/ControlPanelModel.java
0% <ø> (ø)
:arrow_up:

...m2d/dmsexplorer/domain/model/MusicPlayerModel.java
0% <ø> (ø)
:arrow_up:

...msexplorer/view/adapter/ServerPropertyAdapter.java
0% <ø> (ø)
:arrow_up:

...m2d/dmsexplorer/domain/model/MoviePlayerModel.java
0% <ø> (ø)
:arrow_up:

...ava/net/mm2d/dmsexplorer/domain/AppRepository.java
0% <ø> (ø)
:arrow_up:

...sexplorer/domain/model/ExploreListenerAdapter.java
0% <ø> (ø)

.../java/net/mm2d/dmsexplorer/view/view/ScrubBar.java
0% <0%> (ø)
:arrow_up:

...mm2d/dmsexplorer/viewmodel/PhotoActivityModel.java
0% <0%> (ø)
:arrow_up:

...explorer/domain/entity/ContentDirectoryEntity.java
0% <0%> (ø)
:arrow_up:

.../dmsexplorer/view/dialog/SelectResourceDialog.java
0% <0%> (ø)
:arrow_up:

... and 30 more

Continue to review full report at Codecov.

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


Arcade app: No help for "camera shake by 4 pixels for 500 ms"

Describe the bug
Arcade app: No help for "camera shake by 4 pixels for 500 ms"
Steps to reproduce the behavior
1.Download app in https://makecode.com/api/release/arcade/v1.4.33/win64 and install it
2.New Project
3.Right-click----->camera shake by 4 pixels for 500 ms
Actual behavior
Arcade app: No help for "camera shake by 4 pixels for 500 ms"

Additional context
1.OS: Windows(rs6)
2.arcade version: 1.4.33
3.Microsoft MakeCode version: 6.12.14

Same issue happens in "camera follow sprite mySprite"

This is offline only bug. In the website I see the help.

This is fixed.


Wait Timers?

Is there a way to make "waits" inside this art net system? I've tried many different ways but not had any luck, or is there some kind of fading system that i can use? I currently have  an Amazon Echo "Get"ing PHP pages which trigger the execution of the node which then runs the Art net Script and that then gets sent to Open Lighting architecture which of course then changes the different lights according to the data sent to them.
The whole system works perfectly fine when im just sending one insistence of a lighting change, such as:
var options = {
    host: 'ola'
};
var artnet = require('artnet')(options);

artnet.set(1, null, null, 10, null, null, 10, function (err, res) {
    artnet.close();
});

But when i add more of them to attempt to run them as a sequence nothing happens it just chooses the first one. I've tried many different timer for NPM but none of them seem to work like i would like, my end goal is something along these lines ( Sorry about the poor example i cant think of any other way to do it)
var options = {
    host: 'ola'
};
var artnet = require('artnet')(options);

artnet.set(1, null, null, 10, null, null, 10, function (err, res) {
    artnet.close();
});
//10%
artnet.set(1, null, null, 50, null, null, 50, function (err, res) {
    artnet.close();
});
//30%
artnet.set(1, null, null, 100, null, null, 100, function (err, res) {
    artnet.close();
});
//55%
artnet.set(1, null, null, 150, null, null, 150, function (err, res) {
    artnet.close();
});
//70%
artnet.set(1, null, null, 200, null, null, 200, function (err, res) {
    artnet.close();
});
//85%
artnet.set(1, null, null, 250, null, null, 250, function (err, res) {
    artnet.close();
});
//95%
artnet.set(1, null, null, 255, null, null, 255, function (err, res) {
    artnet.close();
});
//100%

Thanks, Hope you can help!

You should not close the artnet connection and you need to use Javascript setTimeout or setInterval function. Here a short (untested) example:
var options = {
    host: 'ola'
};
var artnet = require('artnet')(options);

/**
 * Fade from 0 to 255 in given ms
 */
function fadeUp(ms) {
  var step = 5;
  var time = Math.floor(ms / (255 / step));
  var val = 1;
  var interval = setInterval(function () {
    artnet.set(1, null, null, val, null, null, val);
    val += step;
    if (val > 255) {
      clearInterval(interval);
      artnet.close();
    }
  }, time);
}

fadeUp(2000);

this is just a quick example, if you want faster fades you should increase step from 5 to a higher value because you should not send to Artnet in shorter Intervals than 40ms.
Another approach would be https://github.com/hobbyquaker/mqtt-dmx-sequencer. With this tool (that also uses https://github.com/hobbyquaker/artnet under the hood) you can define Scenes and combine Scenes to a Sequence. Triggering Scenes and starting/stopping Sequences can then be done via MQTT. You could use https://github.com/node-red to send the commands via MQTT triggered by your Echo. (see https://nathan.chantrell.net/20160328/amazon-echo-alexa-skills-kit-integration-with-node-red/)

Awesome! Thanks man, ill check all these options out, always helpful being pointed in the right direction! :+1:


refine database schema

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@l3r8yJ this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-09-18T20:18:58.096528.
Estimation here is 15 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@l3r8yJ Don't forget to close this ticket before the deadline (2023-09-18T20:18:58). You are past the first half of the allowed period.

@l3r8yJ Looks like you've missed the task deadline (2023-09-18T20:18:58). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@h1alexbel I couldn't find any assignee for this task. This is either because there are no contributors with role ARCH available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.

@l3r8yJ reminder

@h1alexbel I couldn't find any assignee for this task. This is either because there are no contributors with role ARCH available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.


Document requirements for the guest VM and host

Hi,
Very interesting project, thanks for sharing. And I understand this is not a support forum. Nevertheless I'm trying to use this project[^1], and I can't for the life of me figure out how to get it to run.
Problem symptoms: when I run the binary in the VM, i get a scary looking exception with EINVAL:
[root@chromium:/sys/kernel/debug/dri/0/Virtual-1]# wayland-proxy-virtwl --virtio-gpu
wayland-proxy-virtwl: internal error, uncaught exception:
                      Unix.Unix_error(Unix.EINVAL, "DRM_IOCTL_VIRTGPU_GET_CAPS", "")

relevant strace:
ioctl(4, DRM_IOCTL_VERSION, 0x27b2510)  = 0
ioctl(4, DRM_IOCTL_VERSION, 0x27b2510)  = 0
ioctl(4, DRM_IOCTL_VIRTGPU_GET_CAPS, 0x7ffc08a064c0) = -1 EINVAL (Invalid argument)

I'm suspect the root cause is that I don't have context_init enabled in my VM:
[user@chromium:~]$ dmesg | grep drm
[    3.971081] systemd[1]: Starting Load Kernel Module drm...
[    4.055096] ACPI: bus type drm_connector registered
[    4.080238] [drm] pci: virtio-vga detected at 0000:00:02.0
[    4.082277] [drm] features: +virgl +edid -resource_blob -host_visible
[    4.082279] [drm] features: -context_init
[    4.083024] [drm] number of scanouts: 1
[    4.083029] [drm] number of cap sets: 2
[    4.092992] [drm] cap set 0: id 1, max-version 1, max-size 308
[    4.094368] [drm] cap set 1: id 2, max-version 2, max-size 696
[    4.094636] [drm] Initialized virtio_gpu 0.1.0 0 for 0000:00:02.0 on minor 0
[    4.101540] fbcon: virtio_gpudrmfb (fb0) is primary device
[    4.101640] virtio-pci 0000:00:02.0: [drm] drm_plane_enable_fb_damage_clips() not called
[    4.107921] virtio-pci 0000:00:02.0: [drm] fb0: virtio_gpudrmfb frame buffer device

Docs say that I need virtio_gpu, but it can't be just it - I have it installed in my VM:
[user@chromium:~]$ lsmod | grep virtio_gpu
virtio_gpu             77824  10
virtio_dma_buf         16384  1 virtio_gpu
drm_shmem_helper       24576  1 virtio_gpu
drm_kms_helper        217088  3 virtio_gpu
drm                   634880  10 drm_kms_helper,drm_shmem_helper,virtio_gpu
virtio                 16384  7 virtio_rng,virtio_console,virtio_balloon,9pnet_virtio,virtio_gpu,virtio_pci,virtio_blk
virtio_ring            45056  7 virtio_rng,virtio_console,virtio_balloon,9pnet_virtio,virtio_gpu,virtio_pci,virtio_blk

I use libvirt, and this is my graphic device configuration:
    <graphics type='spice'>
      <listen type='address'/>
      <gl enable='yes' />
    </graphics>
    <video>
      <model type='virtio' heads='1' primary='yes'>
        <acceleration accel3d='yes'/>
      </model>
    </video>

I have two GPUs and use a nouveau driver on the host (and in the VM):
$ lspci | grep -i "VGA"
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU117GLM [Quadro T2000 Mobile / Max-Q] (rev a1)

I have also asked my friend to test this project (he has a similar setup to mine), and he encountered the same problem.
So basically my question is: is there any obvious step that we've missed? Or are there any requirements for the host GPU (or host drivers) for the project to work? What can I do to debug it better?
Hope you don't mind me asking. Feel free to close otherwise.
Thanks for help.
[^1]: actually, I'm trying to integrate it with my project.

I've only used it with crosvm. In particular, I use --gpu=context-types=cross-domain:virgl2:
https://gitlab.com/talex5/qubes-lite/-/blob/873e2f3630247809fbde894817f2c918ed089b57/default.nix#L185

Thanks. For some reason I've assumed qemu is also supported (my fault, nothing in the documentation suggests that). I've tried to run this project with libvirt + qemu + virtio-gpu, with no success so far (my understanding is that context_init is not yet supported by mainline qemu).
I'll investigate a bit more, but I'll probably migrate to crossvm then. Thanks again.

For some reason I've assumed qemu is also supported

FWIW, this may change later this year. I came across this project via link while reading this, which itself was from a link discussing Mesa PR for AMD native context and related work to support that. A couple months ago a Collabora blogpost comment section on QEMU + Venus support also had a comment added that work towards upstreaming that was under way as well.
The 2nd link there (Gitlab) does talk about cross-domain and changes needed to virglrenderer / virtio-gpu IIRC, so I'm pretty sure QEMU will be more compatible once all of that lands :)


Won't inline urls from css properties

It seems its not supposed to work to inline images also from css properties like:
<style>
   #foo { background-image: url('bar.jpg?__inline=true'); }
</style>

Is that the case?

I managed to do this with a little hack.
the regex for this looks like that:
fileContent.replace(/url\(["']*([^)'"]+)["']*\)/g, function(matchedWord, imgUrl) { });

Would you consider opening a pull request for this, @fuddl?

for now, if you want this solved, use my fork:
npm install<EMAIL_ADDRESS>
I'm opening a PR to fix this :)

@lucianoratamero I used your code, but didn't see your pull request in this repo. Did you submit it? I found your fix very useful.


[Bug]: Terminal in chat panel gives me 404 Not Found

Before Reporting

[X] I have checked FAQ, and there is no solution to my issue
[X] I have searched the existing issues, and there is no existing issue for my issue

What happened?
https://github.com/user-attachments/assets/8ff91fdc-7536-4548-95c3-a45d7f9fc5b6
How to reproduce the bug.
No response
Relevant log output
No response
macOS version
15.0.1 (24A348)
Xcode version
16.1 (16B40)
Copilot for Xcode version
0.34.2 (415)

Thanks for reporting, I will submit a hotfix later tonight.

Fixed in 0.34.3

Fix confirmed!


fix scope of generated (Cluster)Role(Binding)s

This should address the issue raised by @ctml91 via comment in my previous PR: https://github.com/grafana-operator/grafana-operator/pull/1262#issuecomment-1761709683
Now it'll take both watchNamespaces and namespaceScope into consideration, for determining if (Cluster)Role(Binding)s are supposed to be deployed.

If namespaceScope is set, but watchNamespaces is not, it will default watchNamespaces to .Release.Namespace
If watchNamespaces is set, namespaceScope is automatically assumed, even if not explitly set
If watchNamespaces contains multiple, comma separated, namespaces, Role(Binding)s are generated for each namespace

Case 1:

Installation to grafana-operator namespace, but explitly watching grafana1,grafana2

$ helm template --namespace grafana-operator . --values values.yaml -s templates/rbac.yaml --set watchNamespaces="grafana1\,grafana2" | yq '.rules = "deleted"'
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: grafana1
  name: grafana-operator-permissions
rules: deleted
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: grafana2
  name: grafana-operator-permissions
rules: deleted
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: grafana-operator-permissions
  namespace: grafana1
subjects:
  - kind: ServiceAccount
    name: release-name-grafana-operator
    namespace: grafana-operator
roleRef:
  kind: Role
  name: grafana-operator-permissions
  apiGroup: rbac.authorization.k8s.io
rules: deleted
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: grafana-operator-permissions
  namespace: grafana2
subjects:
  - kind: ServiceAccount
    name: release-name-grafana-operator
    namespace: grafana-operator
roleRef:
  kind: Role
  name: grafana-operator-permissions
  apiGroup: rbac.authorization.k8s.io
rules: deleted

Case 2

Simply enabling namespaceScope

$ helm template --namespace grafana-operator . --values values.yaml -s templates/rbac.yaml --set namespaceScope=true | yq '.rules = "nothingtoseehere"'
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: grafana-operator
  name: grafana-operator-permissions
rules: nothingtoseehere
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: grafana-operator-permissions
  namespace: grafana-operator
subjects:
  - kind: ServiceAccount
    name: release-name-grafana-operator
    namespace: grafana-operator
roleRef:
  kind: Role
  name: grafana-operator-permissions
  apiGroup: rbac.authorization.k8s.io
rules: nothingtoseehere

Case 3

bare defaults (cluster-wide installation)

$ helm template --namespace grafana-operator . --values values.yaml -s templates/rbac.yaml | yq '.rules = "nothingtoseehere"'
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  namespace: grafana-operator
  name: grafana-operator-permissions
rules: nothingtoseehere
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: grafana-operator-permissions
  namespace: grafana-operator
subjects:
  - kind: ServiceAccount
    name: release-name-grafana-operator
    namespace: grafana-operator
roleRef:
  kind: ClusterRole
  name: grafana-operator-permissions
  apiGroup: rbac.authorization.k8s.io
rules: nothingtoseehere

Case 4:

setting both namespaceScope AND watchNamespaces (as you would have to currently)

$ helm template --namespace grafana-operator . --values values.yaml -s templates/rbac.yaml --set namespaceScope=true,watchNamespaces="grafana1\,grafana2" | yq '.rules = "deleted"'
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: grafana1
  name: grafana-operator-permissions
rules: deleted
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: grafana2
  name: grafana-operator-permissions
rules: deleted
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: grafana-operator-permissions
  namespace: grafana1
subjects:
  - kind: ServiceAccount
    name: release-name-grafana-operator
    namespace: grafana-operator
roleRef:
  kind: Role
  name: grafana-operator-permissions
  apiGroup: rbac.authorization.k8s.io
rules: deleted
---
# Source: grafana-operator/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: grafana-operator-permissions
  namespace: grafana2
subjects:
  - kind: ServiceAccount
    name: release-name-grafana-operator
    namespace: grafana-operator
roleRef:
  kind: Role
  name: grafana-operator-permissions
  apiGroup: rbac.authorization.k8s.io
rules: deleted

Thanks 🙏 will this correct the OLM manifests or is this change only affecting helm based installs?

This only affects the helm installation @ctml91 .
But if you have time to look into how OLM does this, we would a PR around it.

My head hurts from reading all the helm chart templates, but the output looks good :).
Really nice to generate out the namespace rbac to the watch namespaces as well.
The only issue I see if a user already has created the rbac settings for the operator with the exact same name. If that is the case, they will get an error when they try to update the helm chart.
Could it be worth adding some logic to the helm chart naming to make sure that doesn't happen.
Maybe add the namespace name as a prefix or something like that.
What do you think @tamcore ?

FYI @smuda , good for you to know about.

I changed my mind about the rbac names, sorry about that.
LGTM.


Laboratory work #7, Alexandra Ustyukhina - 20FPL2

Necessary implementation of loading your dataset.

It's time to write the loading of your dataset.

Fix comments above

Fix comments above and add implementation

Fix comments above and add implementation


Update Chart.yaml - app version 1.26.1

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


Fix function argument order for nullable

This is fixing spotbugs issues created when upgrading Guava version in #188 and https://github.com/jenkinsci/google-storage-plugin/commit/f35bead3d37ee6d984a9c6d487227b87d23b000e
Thanks @raul-arabaolaza for the help.

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Yes but now you have changed which parameterbwill be used by default just to shut nspotbugs up.  IE this is not a changtve you want to make lightly.  Is it ok to just swap the parameters around.
If they are both non null instead of first you now get second

@jtnord see Raul's comment. https://github.com/jenkinsci/google-storage-plugin/pull/189#discussion_r807747867

as in https://github.com/jenkinsci/google-storage-plugin/pull/189#discussion_r807751854, the first was the initial configuration field name. Then it was renamed to bucket. So, if we have just after the upgrade to 1.5.0, the old name will still be in the configuration file, but after it will have be removed.

Based on the signature of the function in guava 31.0.1-jre, the first argument is the optional one. And as the field name changed, the bucketNameWithVars parameter has disappeared unless someone is migrating from an older version than 1.5.0 to the new release.


const fn for StatusCode::as_u16

Are there plans for this? Would like to use it in constant generics.
https://github.com/hyperium/http/blob/bda93204b3da1a776cf471ed39e8e374cec652e7/src/status.rs#L119-L121
Change to this:
    pub const fn as_u16(&self) -> u16 {
        (*self).0.get()
    }

See: https://github.com/hyperium/http/pull/680


run scss-lint from node with glob patterns

I'm trying to run scss-lint from node but when I use glob patterns, It doesn't work.
scss-lint test/**/*.scss

If I run this command works well but If I run the same command from node in the same directory I get No such file or directory - test/**/*.scss
var child_process = require('child_process');

var command = 'scss-lint test/**/*.scss';

child_process.exec(command, {}, function(error, report) {
  console.log(report);
});

Even if I add the full path It doesn't work. But with the filename without glob it works.
Thanks!!

Hey @juanfran,
Glob patterns are expanded by the shell, which according to the Child Process documentation defaults to /bin/sh on UNIX systems. Depending on the distribution you're running, this could be bash, dash, or some other shell—in your case it's one which doesn't seem to support glob expansion.
Remember that files can technically have asterisks (*) in their name, so scss-lint can't perform this expansion for you. Please figure out on your side which shell you should be using to get this to work.
Hope that helps.


STM32 clock frequency claculation error

Describe the bug
Some STM32 model use a wrong pll frequency calculation which will cause an overflow.
To Reproduce
Build sample samples/subsys/usb/console on board blackpill_stm32f411ce or other stm32 board (except H7 MP1 U5) which support USB.
Expected behavior
USB sample work fine.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
USB clock check will not pass if CONFIG_USB_DC_STM32_CLOCK_CHECK=y
Logs and console output
<err> usb_dc_stm32: USB Clock is not 48MHz (5050327)

Environment (please complete the following information):

OS: ArchLinux
Zephyr SDK
fd1f28efb6d9f1e337d5794c157ada8f65b17c1b

See #54716

Reopen to allow backport in V3.3

backport is now merged: closing


Certificate Form - Form Header

name: Certificate Form - Form Header
about: Certificate Form - Form Header Component
Summary
This is in relationship to the ticket HYP-96.
Motivation
Develop the UI
Describe alternatives you've considered
N/A
Additional context
Developed:

FigmaDesign:

Note that the cert number , hydrogen producer id and energy producer id don't need to be input fields.

Closing in favour of #16


HydratingResultSet current method DocBlock @return

[X] I was not able to find an open or closed issue matching what I'm seeing.
[X] This is not a question. (Questions should be asked on slack (Signup for Slack here) or our forums.)

HydratingResultSet current() method is specified in the DocBlock block that is should return an object as seen here:
https://github.com/zendframework/zend-db/blob/ec0e9b51a09fc44f81af77fb949808fb4552c1cf/src/ResultSet/HydratingResultSet.php#L93
The method however could also return a boolean false:
https://github.com/zendframework/zend-db/blob/ec0e9b51a09fc44f81af77fb949808fb4552c1cf/src/ResultSet/HydratingResultSet.php#L103
I am guessing that the best solution for this, as well as possibly other locations to change the boolean false to null and mark the method to return ?object instead

@twmobius It is indeed should returns null on no data for consistency I think. I created PR #325 for it.


feat: First cut at shadow traffic support\rTESTING=unit

This is speculative based on the current design, minus the as-yet-undecided issue of how to handle paging. At any rate, this PR is probably large enough as-is and should be a no-op to existing clients.

Uniform random is fine for v1. In a follow up task I prefer random on
user/session versus on request. Not for June
On Sat, Jun 19, 2021 at 11:09 AM danbosnichill @.***>
wrote:

@.**** commented on this pull request.
In src/client.test.ts
https://github.com/promotedai/promoted-ts-client/pull/26#discussion_r654824169
:

const metricsClient: any = jest.fn((request) => {

 expect(request).toEqual(expectedLogReq);

});

const sampler = {

 sampleRandom: jest.fn((threshold) => {

   expect(threshold).toEqual(0.5);

   return samplingReturn;

 }),

};

const promotedClient = newFakePromotedClient({

 deliveryClient,

 metricsClient,

 shadowTrafficDeliveryPercent: 0.5,

 sampler: sampler,

Yea. I'm fine with fully random. This would be a good topic for Andrew or
Jun. I think they'll be fine with random right now.
I could see us eventually supporting both. Fully random is nice because
we'll get more variety of requests. Percent of users is nice because we'll
get multi-page requests from the same user.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/promotedai/promoted-ts-client/pull/26#discussion_r654824169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABJP6YRTOYPJIELBSMWMPDTTTMOZANCNFSM466ONZYA
.


No description on how to fetch pages with the id included in the response

There is documentation here on how to make a request to list all wiki pages:
https://docs.microsoft.com/en-us/rest/api/azure/devops/wiki/pages/get-page?view=azure-devops-rest-6.0
The response, however, does not include the id.
The id is required (a page path will not work) to make a request for stats given here:
https://docs.microsoft.com/en-us/rest/api/azure/devops/wiki/page-stats/get?view=azure-devops-rest-6.0
How do you formulate a request for pages that will give the id object in the response?

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

ID: 7a3e8656-d7ad-8403-78ac-4e66551de4a1
Version Independent ID: 33f5a87c-6ac4-9a2b-e6c9-bef1dd4465b2
Content: Pages - REST API (Azure DevOps Wiki)
Content Source: docs-ref-autogen/7.1/wiki/Pages.yml
Product: devops
Technology: devops-ref
GitHub Login: @wnjenkin
Microsoft Alias: whjenkin

Same issue for me 532. I have a workaround which it is not optimal.


DO NOT MERGE: chore: add python 3.11 to the CI

Seems to hang on tests/test_aio_low_level.py::test_sending_messages_between_buses

I think this is actually a bad test that is affecting the other tests but only shows up on py3.11 since it raises sooner

I think this might be a bug in python 3.11
[{1: <MessageFlag.NO_REPLY_EXPECTED: 1>,
  2: <MessageFlag.NO_AUTOSTART: 2>,
  4: <MessageFlag.ALLOW_INTERACTIVE_AUTHORIZATION: 4>},
 'flag',
 0]

This is a bug in python3.11
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
bdraco@JNK-M1-Pro-New dbus-fast % python3.11 x.py
Traceback (most recent call last):
  File "/Users/bdraco/dbus-fast/x.py", line 16, in <module>
    assert 0 in MESSAGE_FLAG_MAP, "0 is missing from the map"
AssertionError: 0 is missing from the map
bdraco@JNK-M1-Pro-New dbus-fast % python3.10 x.py
bdraco@JNK-M1-Pro-New dbus-fast % cat x.py
import pprint
from enum import Enum, IntFlag

class MessageFlag(IntFlag):
    """Flags that affect the behavior of sent and received messages"""

    NONE = 0
    NO_REPLY_EXPECTED = 1  #: The method call does not expect a method return.
    NO_AUTOSTART = 2
    ALLOW_INTERACTIVE_AUTHORIZATION = 4

MESSAGE_FLAG_MAP = {field.value: field for field in MessageFlag}

assert 0 in MESSAGE_FLAG_MAP, "0 is missing from the map"

https://github.com/cython/cython/issues/5109

I thought it was cython at first but it fails without it as well

https://github.com/python/cpython/issues/98976


Doc missing something?

TL;DR
Step 6 of the WIF via Service Account in the readme shows github actions workflow yaml that only has the pool ID. I could not get that to work, I had to add the service account line using the service_account attribute. This should be added.
Also, I could not get Direct WIF (preferred) to work.
Expected behavior
Code copy from direct method, after replacing placeholders, should work out of the box
Observed behavior
It does not work, for both the WIF methods. I got the 2nd WIF method to work by adding the service account ID to the with clause.
Action YAML
jobs:
  deploy:
    runs-on: ubuntu-latest
    permissions:
      id-token: write
    steps:
      - id: auth
        name: Authenticate to GCP
        uses: google-github-actions/auth@v2
        with:
          workload_identity_provider: projects/YOUR_PROJ_NUMBER/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions
          service_account<EMAIL_ADDRESS>
Log output
No response
Additional information
No response

Hi @olivers-xaxis - please provide the debug logs or error message(s) you're getting.

Step 6 of the WIF via Service Account in the readme shows github actions workflow yaml that only has the pool ID. I could not get that to work, I had to add the service account line using the service_account attribute. This should be added.

The code block is demonstrating where you set the workload_identity_provider value; it is not meant to be a copy-pasteable example, since there are many required and optional parameters which are documented above. However, I'll add service_account since it's required in this case. However, there are other fields like project_id which may be conditionally required, which is explained above.

Also, I could not get Direct WIF (preferred) to work.

Do you have more information? Debug logs? Error messages?

Sure I should be able to do that Friday

OK so I investigated the failure I was getting. When I did it again, knowing more now than I did then, your steps worked.
HOWEVER I think we can do better on the last step of the Direct method. OIDC should be made as easy to setup as possible, leading to a safer web. I have setup OIDC for github in AWS very easily in the past, but being new to GCP IAM I used the console. The latest version has a Grant Access on the Pool page where you can specify the repository to match, and the service account to assume when the repo matches. I think this corresponds to the last step, but the binding would be on the service account to the pool and assertion.repo.
AFAIK, if I'm setting up a brand new service account to be used with a brand new pool, I will absolutely need to add the Workload Identity User to do anything at all. So I'd like to suggest that step 5 show that. It would be something like showing
gcloud iam service-accounts add-iam-policy-binding \
  SERVICE_ACCOUNT_EMAIL \
  --project="${PROJECT_ID}" \
  --role roles/iam.workloadIdentityPoolUser \
  --member workload-identity-pool/POOL_NAME/LOCATION/POOL_ID/attribute.repository/ORG_NAME/REPO_NAME

Sorry, I'm not following. Do you have screenshots of what you're seeing on the console? Please note that this repo does not intend to be an authoritative source for Google Cloud documentation. We provide a few key user journeys. Advanced configuration options and general instructions for OIDC/WIF are at: https://cloud.google.com/iam/docs/workload-identity-federation

How about I submit a PR, it will be easier for you to see what I mean. You can adjust further if I say anything wrong.

Sure, sg.

Hey @olivers-xaxis - did you have a chance to look into this yet?


Feat: enable torus wallet signAndSendTransaction

Added support for sendOption and released Solana Embed with signAndSendTransaction API
Tested against latest release solana-embed  ( 3.0.0 )

Published in<EMAIL_ADDRESS>


Control LFS includes from a config

Closes #499

Job VTB Documentation, step Sync Docs on b6216ab wanted to post the following:
View the site here
This comment will be updated on new commits.


Mapping values are not shown in contracts tab

I am testing, solidity's mapping functionality. I noticed that even though after inserting values in mapping the value in contracts show as empty.

Expected Behavior

After you insert values in mapping, the values should show up in STORAGE section of Contract Tab

Current Behavior

It is not showing any values in STORAGE section.

Possible Solution

Steps to Reproduce (for bugs)

1.Deploy below contract to Ganache UI
contract Mapping {
mapping(uint256 => address) public owners;
function getOwner(uint256 tokenId) public view returns (address) {
    return owners[tokenId];
}

function addOwners(uint256 tokenId, address to) public {
    owners[tokenId] = to;
}

function deleteTokenId(uint256 tokenId) public {
    delete owners[tokenId];
}

}

Run contract.addOwners(1,"0xd9145CCE52D386f254917e481eB44e9943F39138");

The value doesnt show up in STORAGE section

Context

This makes the Ganache UI unreliable

Your Environment

Ganache UI version: Version 2.5.4 (<IP_ADDRESS>7)
Truffle version: v5.5.28 (core: 5.5.28)
Ganache : v7.4.0
Solidity : 0.8.16 (solc-js)
Node: v18.8.0
Web3.js : v1.7.4
Node version: v18.8.0
Operating System and version:  MacOS Monterey 12.5.1
Link to your project: https://github.com/gchakri4u/solidity-exercises

I am also facing the same issue, Any updates on this???


Add algorithm to compute the difference of two graphs

The GraphDifference algorithm computes a series of graph events that transform one given graph into another given graph. This makes it possible to construct a series of events from a given series of graphs.
Further, this marks GraphEvent::toString() as const and marks event stream passed to GraphUpdater as const.

Looks good. Very nice addition to NetworKit. I'm merging this.


BUG: fused_amax_and_scale_update_after_reduction(): incompatible function arguments. The following argument types are supported:

Currently getting the following error on a simple forward with a transformer model when using DelayedScaling:
110882 [rank0]:     with te.fp8_autocast(enabled=True, fp8_recipe=self.te_fp8_recipe):
110883 [rank0]:   File "/home/federico/.pyenv/versions/3.11.9/lib/python3.11/contextlib.py", line 144, in __exit__
110884 [rank0]:     next(self.gen)
110885 [rank0]:   File "/mnt/large_shared/federico/env/lib/python3.11/site-packages/transformer_engine/pytorch/fp8.py", line 581, in fp8_autocast
110886 [rank0]:     FP8GlobalStateManager.fp8_autocast_exit(enabled, _graph=_graph)
110887 [rank0]:   File "/mnt/large_shared/federico/env/lib/python3.11/site-packages/transformer_engine/pytorch/fp8.py", line 435, in fp8_autocast_exit
110888 [rank0]:     cls.reduce_and_update_fp8_tensors(forward=True, fp8_weights=False)
110889 [rank0]:   File "/mnt/large_shared/federico/env/lib/python3.11/site-packages/transformer_engine/pytorch/fp8.py", line 365, in reduce_and_update_fp8_tensors
110890 [rank0]:     tex.fused_amax_and_scale_update_after_reduction(
110891 [rank0]: TypeError: fused_amax_and_scale_update_after_reduction(): incompatible function arguments. The following argument types are supported:
110892 [rank0]:     1. (arg0: torch.Tensor, arg1: list[torch.Tensor], arg2: list[torch.Tensor], arg3: list[torch.Tensor], arg4: str, arg5: transformer_engine::DType, arg6:
       float) -> None
110893
110894 [rank0]: Invoked with: tensor([2.3625e+01, 3.7500e-01, 0.0000e+00, 2.3625e+01, 4.2188e-01, 0.0000e+00,
110895 [rank0]:         3.0000e+00, 3.9648e-01, 0.0000e+00, 9.2578e-01, 3.4570e-01, 0.0000e+00,
110896 [rank0]:         2.7188e+00, 3.6328e-01, 0.0000e+00, 2.7188e+00, 5.4688e-01, 0.0000e+00,
110897 [rank0]:         5.2188e+00, 5.1172e-01, 0.0000e+00, 1.1600e+02, 3.3594e-01, 0.0000e+00,
110898 [rank0]:         1.1600e+02, 9.4922e-01, 0.0000e+00, 2.7656e+00, 3.8477e-01, 0.0000e+00,
110899 [rank0]:         7.3438e-01, 2.9492e-01, 0.0000e+00, 1.6750e+01, 6.2109e-01, 0.0000e+00,
110900 [rank0]:         1.6750e+01, 4.7461e-01, 0.0000e+00, 1.6750e+01, 2.6367e-01, 0.0000e+00,
110901 [rank0]:         2.2188e+00, 5.1953e-01, 0.0000e+00, 4.4000e+01, 3.3203e-01, 0.0000e+00,
110902 [rank0]:         4.4000e+01, 6.6797e-01, 0.0000e+00, 1.8828e+00, 4.1211e-01, 0.0000e+00,
110903 [rank0]:         8.1250e-01, 3.9453e-01, 0.0000e+00, 1.8750e+01, 6.2109e-01, 0.0000e+00,
.... omitted rest, many tensors printed out ....

The recipe is quite simple: te_recipe.DelayedScaling(te_recipe.Format.HYBRID, amax_history_len=64, amax_compute_algo="max"). If I omit the recipe from the autocast context the forward works as expected.
Any ideas?

@cassanof Do you have a script that replicates this error? I'm not able to reproduce it with the same recipe. If not, could you give a more detailed stack trace with the argument types to tex.fused_amax_and_scale_update_after_reduction?

Hi! unfortunately i cannot share, and wasn't able to repro with some of the open models. The arguments are a long list of different tensors.
At the end, i was able to get amax scaling to work by completely disabling the fused kernel in your code and using the non-fused instead. This is obviously undesired though.


Fix bean name of directsql_errors metric

Fix for a typo introduced in https://github.com/DataDog/integrations-core/pull/5074. (Official Hive docs do list sqldirect_errors as the bean name, instead of sqldirect_error.)

Fix for a typo introduced in #5074. (Official Hive docs do list sqldirect_errors as the bean name, instead of sqldirect_error.)

Typo in desc ? sqldirect_errors => directsql_errors

Typo in desc ?

Yes 🤦♂ directsql_errors


Just for info : create a new Object without calling constructor is possible

Hello @egil , I just found out that this is possible. So if you need it in the future...
public class Bla
    {
        public int Id { get; set; } = 4;

        public Bla(int x)
        {
            Console.WriteLine("constructor");
        }
    }

var bla = (Bla) FormatterServices.GetUninitializedObject(typeof(Bla));

Does not raise constructor and also not set properties:

Neat. Where is the FormatterServices class located? Would be interesting if we can tweak the builder using this technique.

I guess using the assignment technique we discussed earlier would have the downside of making the helper "Add" methods impossible, e.g. the Add method that concerts a string to a RenderFragment for the user.


Excel Importer - Win - Toast notification appears twice

Hello,
Version : 18.2.704.0
If you create a import and click on import, you'll see the toast nofication twice :

BR
ISA

Just a small video if needed showing this. Nothing strange in the debugger.
https://1drv.ms/v/s!Amh26IFxNEz6lNd7DusoUPK5pHhTTA
Can you reproduce it in your side ?
BR
ISA

yes the fix is on the lab however it will be available on 19.1

eXpand.lab release 18.2.703.10 includes commit Excel Importer - Win - Toast notification appears twice #378 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Hi,
I installed the  18.2.703.10 and i still have the double notification in the winform.
BR
ISA

i am sorry the bot was mistaken notify about a failed build and from what i see there this issue is link here.
https://github.com/eXpandFramework/eXpand.lab/releases/tag/<IP_ADDRESS>

Thanks it’s now appearing only once


Stable index IDs

Introduce UUIDs for indexes that do not change during indexing and are stable for (index_type, index_name, column_name)

Background

Right now, "indices" in the Lance manifest refer to segments / pieces of an index. For example, if you create a vector index, that creates an index segment. If you add data and then incrementally index with a delta index, you will now have two "indices", that together make up the full vector index. That full vector index doesn't have a proper entity in Lance. It's just an aggregation of all index segments that share the same name within the same table.
A related problem: because an Index is attached to a single file, there is no such thing as an empty index. It is impossible to add an index to a newly created empty table. This strikes many users as odd, as they expect to be able to create a table, add an index, and then start inserting data.

Indexes
We probably need a terminology change:

Index -> IndexSegment
Index becomes a top-level index configuration

Users should be able to specify an index configuration up front, which will be saved into the Index entry. The Index will have a UUID in addition to a name, so that it can be differentiated from previous versions of the same name.
There's some rules to figure out with what's allowed for indexing. BTree indices don't really require any up-front training, and would be a good candidate to demonstrate how we can create an index without any data and incrementally update. However, anything with IVF requires some training or algorithm to create and split clusters. That needs special care and design.


Final Project Task - Embedded System Development

This project will involve designing and implementing an embedded system in a collaborative GitHub environment. Each team of 4 students will follow a structured approach to plan, design, document, and implement the project. Below are the steps and expectations for each part of the project.
Task Breakdown
1. Project Plan and Milestones

Objective: Develop a comprehensive project plan outlining all key stages, goals, and milestones.
Deliverables:

A high-level project description (one paragraph).
Define the main objectives and success criteria for the project.
Create a timeline and assign tasks to each team member.
Include a checklist or Kanban-style board in GitHub Projects to track task progress. (Optional)

2. System Design Documentation

Objective: Outline the design of the embedded system to ensure that all team members understand the structure and functionality.
Deliverables:

Block diagrams or flowcharts representing the system architecture.
State diagrams or flow diagrams for critical functions or states.
Define the main modules, their purpose, and how they interact.
Describe the communication between different components, especially if peripherals like ADC, DAC, GPIO, or other sensors are used.

3. Implement Continuous Integration and Continuous Deployment (CI/CD) (if applicable)

Objective: Set up a CI/CD pipeline to automate the build and test process.
Deliverables:

Configure GitHub Actions to automatically build the code upon each pull request.
Integrate code quality checks using clang-format to enforce consistent coding style.
Configure unit tests and static analysis tools to catch potential issues early.  (Optional)

4. Code Implementation and Style Guidelines

Objective: Implement the code with a consistent and professional style, documented thoroughly.
Deliverables:

Write clean, modular code that adheres to best practices and utilizes meaningful variable and function names.
Run clang-format on all code to ensure consistent styling across the project.
Make use of comments for code clarity and readability.

5. Comprehensive Documentation with Doxygen

Objective: Ensure the code is thoroughly documented for ease of understanding and maintainability.
Deliverables:

Document all functions, modules, and key variables using Doxygen-style comments.
Provide a README.md that explains the overall functionality of the code, lists team members, and includes any general notes about the codebase.
Use Doxygen to generate HTML documentation and commit it to a docs/ directory for easy access.

6. INSTALL.md - Installation and Setup Guide

Objective: Provide a clear and detailed guide for building, flashing, and running the firmware on the target hardware.
Deliverables:

Instructions on how to compile the code, including any specific tools or dependencies required.
Detailed steps for flashing the firmware onto the target hardware (e.g., using OpenOCD, ST-Link, or other tools).
Information about supported platforms, such as operating systems and specific microcontroller details.

7. Hardware Specifications and Schematics

Objective: Provide all relevant details about the hardware configuration and connections.
Deliverables:

A brief overview of the hardware used (microcontroller type, sensors, actuators, etc.).
Circuit schematics in image or SVG format that detail the connections of all components.
A hardware setup guide describing how components should be physically connected.

8. Additional Suggestions

Use Git internal branches for each feature or module, and merge them only when reviewed and approved by at least two team member and team leader.
Create a branch 1.0.0 considered the release branch, and merge only when reviewed and approved by professor.
DO NOT MERGE TO MASTER OR MAKE COMMIT DIRECTLY
Apply good practices of software engineering.
Consider creating an Issue Tracker for each task and keep the conversation within the comments to log progress.
Make use of GitHub's Wiki or Project Board features to organize and visualize the workflow.

Final Deliverable
The project should be fully implemented, tested, and documented. Each team will create a GitHub repository with all code, diagrams, and documentation completed and structured as per the requirements above. Ensure that the README.md provides a quick overview and instructions to navigate the repository effectively.
Good luck, and remember that collaboration and clear communication are key to a successful project! 🍀

Project Plan and Milestones

The project involves the design and implementation of an embedded air quality monitoring and control system, integrating two microcontrollers: the LPC1769 and STM32. The LPC1769 handles flow monitoring, PWM fan control, UART communication, and AQI calculation, while the STM32 simulates a PSM 5003 sensor, generating 32 bytes data frames in the same way the sensor does it. The system dynamically adjusts the fan speed based on the calculated AQI value and provides visual feedback through a DAC-controlled LED indicating the air filter’s condition. The project leverages FreeRTOS for task management and employs UART for communication between the two microcontrollers, with the potential for future integration with a real PSM 5003 sensor.
Main Objectives

Integration of LPC1769 and STM32: To successfully integrate the LPC1769 and STM32 microcontrollers to handle different tasks of the air quality monitoring and control system. The LPC1769 will manage tasks such as flow control, PWM fan control, and AQI calculation, while the STM32 will simulate a PSM 5003 sensor.

Air Quality Control: To implement a dynamic fan speed control based on the AQI value derived from the received sensor data.

Real-time Monitoring and Feedback: To continuously monitor the air filter’s flow and display a visual indication (using a DAC-controlled LED) that reflects the filter's condition, with adjustments made based on the detected airflow.

Communication between Microcontrollers: To enable efficient UART communication between the LPC1769 and STM32 for data transmission (simulated 32 byte frame), ensuring data integrity and proper checksum verification.

Testing and Simulation: To simulate real-world air quality conditions with the STM32 and fine-tune the system before implementing a real PSM 5003 sensor.

Success Criteria

Functional System: The system should correctly monitor airflow, adjust the fan speed based on the AQI value, and provide real-time feedback on the air filter’s condition via the LED.

Correct Communication: UART communication between the LPC1769 and STM32 should work without data loss or corruption. The checksum verification should successfully ensure data integrity.

Correct AQI Calculation and Fan Control: The AQI should be correctly calculated from the PM2.5 values of the 32 byte frame. The fan speed should adjust based on the AQI, using PWM.

Scalability for Future Hardware: The system should be designed in a way that it can seamlessly integrate a real PSM 5003 sensor in the future, with minimal adjustments needed for hardware integration.

Testing and Debugging: All features must be tested, including manual tests of the flow monitoring, fan control, and UART communication.

Documentation and Code Quality: Code will be documented using Doxygen and styled consistently with clang-format. CI pipelines will automate style checks, testing, and builds. Comprehensive documentation, including a README and INSTALL guide, will ensure ease of use and maintainability.

Tasks Assignment
We utilized Google Docs to assign tasks to each team member.
Google Docs Task Assignment

System Design Documentation
State Diagrams
LPC1769

STM32

Main modules

Flow Monitoring Module (LPC1769)
Purpose: Monitor the airflow through the filter and adjust the LED brightness to reflect the filter's condition.
Functionality:

Uses the ADC to measure airflow from the fan (anemometer).
Adjusts the LED brightness via the DAC based on airflow status (higher obstruction = lower flow = brighter LED).

PWM Control Module (LPC1769)
Purpose: Regulate fan speed based on the Air Quality Index (AQI) calculated.
Functionality:

Calculates the appropriate PWM duty cycle based on the calculated AQI.
Dynamically adjusts fan speed to respond to changes in air quality.
Uses the LPC1769 timer and GPIO to generate a high-precision PWM signal.

UART RX Module (LPC1769)
Purpose: Handle and manage the reception of data transmitted by the STM32.
Functionality:

Receives 32-byte data frames sent by the STM32.
Verifies data integrity using a checksum calculation.
Stores data, using DMA, for further processing by other modules, such as the AQI calculation module.

AQI Calculation Module (LPC1769)
Purpose: Compute the AQI value from the received PM2.5 concentration.
Functionality:

Translates PM2.5 values into an AQI using standard classification tables from the sensor datasheet.
Transfers the calculated AQI to the PWM control module for fan speed adjustment.

PSM 5003 Sensor Simulation Module (STM32)
Purpose: Simulate the behavior of a real PSM 5003 sensor for testing purposes.
Functionality:

Implements adjustable PM2.5 values. Uses the ADC to read an input from a potentiometer, allowing dynamic adjustment of PM2.5 concentration.
Generates a 32-byte data frame, identical to those specified in the PSM 5003 datasheet.
Simulates real-time air quality conditions to test the LPC1769 modules.

Task Management Module with FreeRTOS (STM32)
Purpose: Manage task scheduling and system stability using FreeRTOS.
Functionality:

Manages specific tasks for sensor simulation and data transmission, each operating with a 500 ms interval.
Monitors stack usage with the high-water mark method to prevent stack overflows.

Components communication
ADC-UART Communication (STM32)

ADC:

Reads input from a potentiometer, allowing dynamic adjustment of the simulated PM2.5 value.

UART:

Transforms the scaled ADC output into a simulated PM2.5 value and constructs a 32-byte frame. This frame is transmitted to the LPC1769 for further processing.

ADC-DAC Communication (LPC1769)

ADC:

Monitors the airflow and captures analog signals representing the air filter's condition.
Converts the analog signals into digital values for processing.

DAC:

Takes the processed data from the ADC to control the brightness of an LED.
The LED provides a visual indication of the air filter's state:

Higher brightness indicates a more clogged filter.
Lower brightness indicates a clearer filter.

UART Communication (interaction Between LPC1769 and STM32)

STM32:

Sends a 32-byte data frame containing:

Start characters (0x42, 0x4D).
Frame length.
Simulated sensor data.
Checksum for data integrity.

LPC1769:

Receives and processes the frame:

Validates the checksum to ensure data integrity.
Extracts PM2.5 data if the checksum is correct.
Calculates the Air Quality Index (AQI) based on the extracted PM2.5 value.

UART-PWM Communication (LPC1769)

LPC1769 dynamically calculates the PWM duty cycle based on AQI thresholds, utilizing data received via UART from the STM32.
Generates PWM signals to regulate the fan speed.

Hardware Specifications and Schematics
Hardware Description
STM32 Microcontroller:

Model: STM32
Architecture: Cortex-M3, 32 bits.
Key Peripherals:

ADC (Analog-to-Digital Converter):

12 bits resolution.
Converts analog signals from a potentiometer into digital values, simulating a dynamic PM2.5 concentration.

UART (Universal Asynchronous Receiver-Transmitter):

Transmits a 32 byte data frame to the LPC1769.
Configuration: 9600 bps, 8 data bits, 1 stop bit, no parity.

DMA (Direct Memory Access):

Optimizes data transfer between the ADC and system memory, minimizing processor workload.

LPC1769 Microcontroller:

Model: LPC1769
Architecture: Cortex-M3, 32 bits.
Key Peripherals:

UART:

Receives data from the STM32.
Verifies frames and extracts useful information.

PWM (Pulse Width Modulation):

GPIO based implementation.
Controls the fan speed based on the received AQI value.

DAC (Digital-to-Analog Converter):

10 bit resolution.
Controls the LED brightness, indicating the filter state.

DMA (Direct Memory Access):

Efficiently handles data transfer between UART and system memory, reducing processor load.

Sensors and Actuators:

PM2.5 Sensor (PSM5003):

Digital sensor simulated within the system using an STM32, generating a 32-byte UART frame.
Mimics particle concentration measurements in the air, providing realistic data for testing.

Fan:

Controlled via a PWM signal from the LPC1769.

Indicator LED:

Indicates the filter's condition by reflecting the level of clogging.

Interconnection

UART:

TX (STM32) and RX (LPC1769) pins are connected for data frame transmission.

Power Supply:

Both boards share a common ground (GND) to prevent signal reference issues.

Schematic Circuit
The provided schematic circuit will be used to identify the main connections.

UART Connection: TX of STM32 to RX of LPC1769.
Fan Connection: To the PWM output of the LPC1769.
Power Supply: Shared power source for both boards.

Physical Configuration Guide
UART Connection:

Connect the TX pin of the STM32 to the RX pin of the LPC1769.
Share a common GND between both boards.

Fan:

Connect to the P2.1 (PWM) pin of the LPC1769.
Power the fan according to its specification (external source).

Indicator LED:

Connect to the DAC (P0.26) output pin of the LPC1769.

Power Supply:

Both boards should be connected to the same 3.3V or 5V power source (depending on the system’s internal regulator).


Nethack cross

Motivation for this change
Allow cross-compiling nethack for a wider range of dungeon-crawling fun.
cc maintainer @abbradar
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Tested by building pkgsCross.aarch64-multiplatform.nethack on an x86_64 machine, copying the result to the community box, and running it.

@grahamcofborg build pkgsCross.raspberryPi.nethack pkgsCross.aarch64-multiplatform.nethack nethack nethack-qt

Failure on x86_64-darwin (full log)
Attempted: nethack, nethack-qt
The following builds were skipped because they don't evaluate on x86_64-darwin: pkgsCross.raspberryPi.nethack, pkgsCross.aarch64-multiplatform.nethack
Partial log (click to expand)
/nix/store/hj3nr3ab7xss7g0a8nyj4f8yysy7250d-qtbase-5.11.1-dev/bin/moc -o qt4plsel.moc ../win/Qt4/qt4plsel.h
/nix/store/hj3nr3ab7xss7g0a8nyj4f8yysy7250d-qtbase-5.11.1-dev/bin/moc -o qt4set.moc ../win/Qt4/qt4set.h
/nix/store/hj3nr3ab7xss7g0a8nyj4f8yysy7250d-qtbase-5.11.1-dev/bin/moc -o qt4stat.moc ../win/Qt4/qt4stat.h
[CXX] ../win/Qt4/qt4str.cpp
/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash: g++: command not found
make[1]: *** [Makefile:920: qt4str.o] Error 127
make[1]: Leaving directory '/private/tmp/nix-build-nethack-qt-3.6.1.drv-0/nethack-3.6.1/src'
make: *** [Makefile:155: nethack] Error 2
builder for '/nix/store/y393i5nznyipkr0g08hzs18gdkf5psai-nethack-qt-3.6.1.drv' failed with exit code 2
error: build of '/nix/store/y393i5nznyipkr0g08hzs18gdkf5psai-nethack-qt-3.6.1.drv' failed

Failure on x86_64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.aarch64-multiplatform.nethack, nethack, nethack-qt
Partial log (click to expand)
shrinking /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/libexec/nethack/dlb
shrinking /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/libexec/nethack/dgn_comp
shrinking /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/games/lib/nethackdir/recover
shrinking /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/games/lib/nethackdir/nethack
aarch64-unknown-linux-gnu-strip is /nix/store/nncs4b6jsbfzx9c8i3p27qrj3z74fh9d-aarch64-unknown-linux-gnu-binutils-2.30/bin/aarch64-unknown-linux-gnu-strip
stripping (with command aarch64-unknown-linux-gnu-strip and flags -S) in /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/libexec  /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/bin
patching script interpreter paths in /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu
/nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/zdqy2cvcvnzvqfni4f95jysjsdkyq5wl-nethack-3.6.1-aarch64-unknown-linux-gnu...
error: build of '/nix/store/j3q7912ysgmgi4f0grk6zlihwpn1gd06-nethack-qt-3.6.1.drv' failed

@grahamcofborg build nethack-qt

Failure on x86_64-linux (full log)
Attempted: nethack-qt
Partial log (click to expand)
touch /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/perm /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/record /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/logfile /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/xlogfile
( cd /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir ; true  perm record logfile xlogfile ; \
                true  perm record logfile xlogfile ; \
                chmod 0600 perm record logfile xlogfile )
true; cp -n sys/unix/sysconf /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; true  /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; true  /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; chmod 0600 /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; bdftopcf win/X11/nh10.bdf > /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir/nh10.pcf; (cd /nix/store/96mwk8n5azrcwrlzwqlrnxdq4jrl6s07-nethack-qt-3.6.1/games/lib/nethackdir; mkfontdir);
/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash: bdftopcf: command not found
You may also want to reinstall the man pages via the doc Makefile.
install: cannot stat 'util/dlb': No such file or directory
builder for '/nix/store/j3q7912ysgmgi4f0grk6zlihwpn1gd06-nethack-qt-3.6.1.drv' failed with exit code 1
error: build of '/nix/store/j3q7912ysgmgi4f0grk6zlihwpn1gd06-nethack-qt-3.6.1.drv' failed

Failure on x86_64-darwin (full log)
Attempted: nethack-qt
Partial log (click to expand)
[CC] ../sys/share/unixtty.c
[CC] ../sys/unix/unixunix.c
[CC] ../sys/unix/unixres.c
[CXX] ../win/Qt4/qt4bind.cpp
/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash: g++: command not found
make[1]: *** [Makefile:886: qt4bind.o] Error 127
make[1]: Leaving directory '/private/tmp/nix-build-nethack-qt-3.6.1.drv-0/nethack-3.6.1/src'
make: *** [Makefile:155: nethack] Error 2
builder for '/nix/store/y393i5nznyipkr0g08hzs18gdkf5psai-nethack-qt-3.6.1.drv' failed with exit code 2
error: build of '/nix/store/y393i5nznyipkr0g08hzs18gdkf5psai-nethack-qt-3.6.1.drv' failed

Failure on aarch64-linux (full log)
Attempted: nethack-qt
Partial log (click to expand)
touch /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/perm /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/record /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/logfile /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/xlogfile
( cd /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir ; true  perm record logfile xlogfile ; \
                true  perm record logfile xlogfile ; \
                chmod 0600 perm record logfile xlogfile )
true; cp -n sys/unix/sysconf /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; true  /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; true  /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; chmod 0600 /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/sysconf; bdftopcf win/X11/nh10.bdf > /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir/nh10.pcf; (cd /nix/store/4nz6jj2kfc7v0hpmigsxcdz1iyb955k6-nethack-qt-3.6.1/games/lib/nethackdir; mkfontdir);
/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/bash: bdftopcf: command not found
You may also want to reinstall the man pages via the doc Makefile.
install: cannot stat 'util/dlb': No such file or directory
builder for '/nix/store/5d27yina610rjxn8279znvacpa033xwg-nethack-qt-3.6.1.drv' failed with exit code 1
error: build of '/nix/store/5d27yina610rjxn8279znvacpa033xwg-nethack-qt-3.6.1.drv' failed

Success on aarch64-linux (full log)
Attempted: nethack
Partial log (click to expand)
/nix/store/ir5d2z7ii5d6ibyxqz5rsrib7d71qa64-nethack-3.6.1

Success on x86_64-linux (full log)
Attempted: nethack
Partial log (click to expand)
shrinking /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/libexec/nethack/makedefs
shrinking /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/libexec/nethack/lev_comp
shrinking /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/games/lib/nethackdir/nethack
shrinking /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/games/lib/nethackdir/recover
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/libexec  /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/bin
patching script interpreter paths in /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1
/nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1...
/nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1

Success on x86_64-darwin (full log)
Attempted: nethack
Partial log (click to expand)
                /usr/bin/true games perm record logfile xlogfile ; \
                chmod 0600 perm record logfile xlogfile )
true; sys/unix/hints/macosx.sh editsysconf sys/unix/sysconf /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/games/lib/nethackdir/sysconf; /usr/bin/true  /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/games/lib/nethackdir/sysconf; /usr/bin/true games /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/games/lib/nethackdir/sysconf; chmod 0600 /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/games/lib/nethackdir/sysconf;
You may also want to reinstall the man pages via the doc Makefile.
post-installation fixup
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/libexec  /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/bin
patching script interpreter paths in /nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1
/nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/sh"
/nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1

@GrahamcOfBorg build nethack-qt nethack-x11 nethack

Failure on x86_64-darwin (full log)
Attempted: nethack-qt, nethack
The following builds were skipped because they don't evaluate on x86_64-darwin: nethack-x11
Partial log (click to expand)
                /usr/bin/true games perm record logfile xlogfile ; \
                chmod 0600 perm record logfile xlogfile )
true; sys/unix/hints/macosx.sh editsysconf sys/unix/sysconf /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/games/lib/nethackdir/sysconf; /usr/bin/true  /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/games/lib/nethackdir/sysconf; /usr/bin/true games /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/games/lib/nethackdir/sysconf; chmod 0600 /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/games/lib/nethackdir/sysconf;
You may also want to reinstall the man pages via the doc Makefile.
post-installation fixup
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/libexec  /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/bin
patching script interpreter paths in /nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1
/nix/store/c5byfhwkwg2zqqh6zm2z01ip375klna1-nethack-3.6.1/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/sh"
error: build of '/nix/store/g4qxym4jvbh2nv6yn8qva0igjlkj2331-nethack-qt-3.6.1.drv' failed

Success on x86_64-linux (full log)
Attempted: nethack-qt, nethack-x11, nethack
Partial log (click to expand)
shrinking /nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1/games/lib/nethackdir/nethack
shrinking /nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1/games/lib/nethackdir/recover
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1/libexec  /nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1/bin
patching script interpreter paths in /nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1
/nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1...
/nix/store/jrxdy7y201q3lbc9wj4jhphrzmiimd1l-nethack-qt-3.6.1
/nix/store/f9ymj8c1xvckbw3x9r9vfhqz5dkxnj05-nethack-x11-3.6.1
/nix/store/4bza5j3gflbmhrcncdxcnlhpnjz18pdw-nethack-3.6.1

Success on aarch64-linux (full log)
Attempted: nethack-qt, nethack-x11, nethack
Partial log (click to expand)
shrinking /nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1/games/lib/nethackdir/nethack
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1/libexec  /nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1/bin
patching script interpreter paths in /nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1
/nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1...
postPatchMkspecs
/nix/store/ypkvxx2y2a8a9qlljfm83dgynkhzs7s9-nethack-qt-3.6.1
/nix/store/lhw14zjdxqv0iwxlw9qgrzr24y92yy9n-nethack-x11-3.6.1
/nix/store/kkkk4v8ixbyzbsj86ab1aa3maq2vvs2z-nethack-3.6.1

@grahamcofborg build pkgsCross.raspberryPi.nethack pkgsCross.aarch64-multiplatform.nethack

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pkgsCross.raspberryPi.nethack, pkgsCross.aarch64-multiplatform.nethack
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: nethack
Partial log (click to expand)
/nix/store/abp821niw07wf3q1c6zggl1aw044k2jb-nethack-3.6.1

Success on x86_64-linux (full log)
Attempted: nethack
Partial log (click to expand)
/nix/store/f0wkvafcs2k6ys0rgnl3n36qyz2lgsxq-nethack-3.6.1

Success on aarch64-linux (full log)
Attempted: nethack
Partial log (click to expand)
/nix/store/ir5d2z7ii5d6ibyxqz5rsrib7d71qa64-nethack-3.6.1

Success on x86_64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.aarch64-multiplatform.nethack
Partial log (click to expand)
shrinking /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu/libexec/nethack/lev_comp
shrinking /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu/games/lib/nethackdir/nethack
shrinking /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu/games/lib/nethackdir/recover
aarch64-unknown-linux-gnu-strip is /nix/store/nncs4b6jsbfzx9c8i3p27qrj3z74fh9d-aarch64-unknown-linux-gnu-binutils-2.30/bin/aarch64-unknown-linux-gnu-strip
stripping (with command aarch64-unknown-linux-gnu-strip and flags -S) in /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu/libexec  /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu/bin
patching script interpreter paths in /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu
/nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu...
/nix/store/kwqszxkr7rnqdpbrh39qmka7f854jx7g-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/qp434967803ffgjsgdbfvf1z6nikncrx-nethack-3.6.1-aarch64-unknown-linux-gnu

Success on aarch64-linux (full log)
Attempted: nethack
Partial log (click to expand)
/nix/store/kkkk4v8ixbyzbsj86ab1aa3maq2vvs2z-nethack-3.6.1

Failure on aarch64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.aarch64-multiplatform.nethack, nethack, nethack-qt
Partial log (click to expand)
shrinking /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/libexec/nethack/dgn_comp
shrinking /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/libexec/nethack/makedefs
shrinking /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/lib/nethackdir/recover
shrinking /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/lib/nethackdir/nethack
armv6l-unknown-linux-gnueabihf-strip is /nix/store/wxkx33zsws3ahjiqb91qasnpdbr8fc7b-armv6l-unknown-linux-gnueabihf-binutils-2.30/bin/armv6l-unknown-linux-gnueabihf-strip
stripping (with command armv6l-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/libexec  /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/bin
patching script interpreter paths in /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/6j5y98xby3dj62kkxw0iiikxpzpyxca4-nethack-3.6.1-armv6l-unknown-linux-gnueabihf...
error: build of '/nix/store/5d27yina610rjxn8279znvacpa033xwg-nethack-qt-3.6.1.drv' failed

Success on aarch64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.aarch64-multiplatform.nethack
Partial log (click to expand)
shrinking /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/libexec/nethack/makedefs
shrinking /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/lib/nethackdir/recover
shrinking /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/lib/nethackdir/nethack
armv6l-unknown-linux-gnueabihf-strip is /nix/store/wxkx33zsws3ahjiqb91qasnpdbr8fc7b-armv6l-unknown-linux-gnueabihf-binutils-2.30/bin/armv6l-unknown-linux-gnueabihf-strip
stripping (with command armv6l-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/libexec  /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/bin
patching script interpreter paths in /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf...
/nix/store/d1w4v6gfv6lpfzsy5m1nkv4xf7ick0vh-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/cj87n10kd2cpd8cl5dc7k8jiyqf96wm1-nethack-3.6.1

I think this is a success now? >.< so many interleaved borg notifications

@lheckemann maybe re-trigger the build now, I hid all the comments.

@GrahamcOfBorg build pkgsCross.raspberryPi.nethack pkgsCross.raspberryPi.nethack-x11 nethack-x11 nethack-qt nethack

Failure on x86_64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.raspberryPi.nethack-x11, nethack-x11, nethack-qt, nethack
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/wbha7rl1wdrz4g7v22vi15kv23p9pc70-libSM-1.2.2-armv6l-unknown-linux-gnueabihf-doc
armv6l-unknown-linux-gnueabihf-strip is /nix/store/d49yh2v3rrvvr4784bwpfn4v1c32zzy4-armv6l-unknown-linux-gnueabihf-binutils-2.30/bin/armv6l-unknown-linux-gnueabihf-strip
patching script interpreter paths in /nix/store/wbha7rl1wdrz4g7v22vi15kv23p9pc70-libSM-1.2.2-armv6l-unknown-linux-gnueabihf-doc
checking for references to /build in /nix/store/wbha7rl1wdrz4g7v22vi15kv23p9pc70-libSM-1.2.2-armv6l-unknown-linux-gnueabihf-doc...
cannot build derivation '/nix/store/pfmfzd2a57iac58461qwzbl2dj3l76kw-libXt-1.1.5-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/f0vxybfhw3wkqcpz03nhxmj97s1049y9-libXmu-1.1.2-armv6l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/8vsihkhypkj8cwlvwrwwpk5xwkqcsbl6-libXpm-3.5.12-armv6l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/qbzgpizsvxs0c9w96250yi0mpfjzkdv5-libXaw-1.0.13-armv6l-unknown-linux-gnueabihf.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/39agfdir72999pnvsk7cidsyf9nsd6q6-nethack-x11-3.6.1-armv6l-unknown-linux-gnueabihf.drv': 2 dependencies couldn't be built
error: build of '/nix/store/39agfdir72999pnvsk7cidsyf9nsd6q6-nethack-x11-3.6.1-armv6l-unknown-linux-gnueabihf.drv' failed

Failure on aarch64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.raspberryPi.nethack-x11, nethack-x11, nethack-qt, nethack
Partial log (click to expand)
builder for '/nix/store/1ry8h3scz5vg31mk54xjn0kni3lykg7y-xcb-proto-1.12-armv6l-unknown-linux-gnueabihf.drv' failed with exit code 1
cannot build derivation '/nix/store/lgcisc1qyf23p7pq4pwkjp5r0asqawwc-libxcb-1.12-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/12mpri7m5z1qb6jgcyprdwh4vqjgd83c-libX11-1.6.6-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/br1q7gyjlh7w7g4s0lf669np8c61ab3b-libXext-1.3.3-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/py6d3k8jni6n1kcgasgsnrfpj9l1bqj3-libXt-1.1.5-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lzzbb23sfl4xbrmrh4kji9a3yg9y9fv4-libXmu-1.1.2-armv6l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/zgkghrh6dfag2xbnyck9j2v7lxr1r5nq-libXpm-3.5.12-armv6l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/2wprj13ic3xka9zzzmqy3s4ma2nryff3-libXaw-1.0.13-armv6l-unknown-linux-gnueabihf.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/qa7vwwcc4j2ijh4bj9my913bkm7xqqn5-nethack-x11-3.6.1-armv6l-unknown-linux-gnueabihf.drv': 2 dependencies couldn't be built
error: build of '/nix/store/qa7vwwcc4j2ijh4bj9my913bkm7xqqn5-nethack-x11-3.6.1-armv6l-unknown-linux-gnueabihf.drv' failed

Failure on x86_64-darwin (full log)
Attempted: pkgsCross.raspberryPi.nethack, pkgsCross.raspberryPi.nethack-x11, nethack-qt, nethack
The following builds were skipped because they don't evaluate on x86_64-darwin: nethack-x11
Partial log (click to expand)
cannot build derivation '/nix/store/m6yax5q6v2ibmmwdkaaphnaxhzxs394r-util-linux-2.32.1-armv6l-unknown-linux-gnueabihf.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/vmjai4b3qcn5v27z457z4hy498zhyyr6-libSM-1.2.2-armv6l-unknown-linux-gnueabihf.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/3kg4mz9ryc8dpy7k88mfkiycj9b4rwy1-libX11-1.6.6-armv6l-unknown-linux-gnueabihf.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/h6spmhhikinbb8zy0hicq7jwjh69bp8y-libXext-1.3.3-armv6l-unknown-linux-gnueabihf.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/mzr60ws9fc79bj5m8cxm6ynd3j3p7225-libXt-1.1.5-armv6l-unknown-linux-gnueabihf.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/ajk9r12hz4x6cf0irfq9wq8xj11f4vbc-libXmu-1.1.2-armv6l-unknown-linux-gnueabihf.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/4fjxxxf31xbbp0n4yrjz5blflgwf5a9m-libXpm-3.5.12-armv6l-unknown-linux-gnueabihf.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/6y3shdzk4aw7ms8brw0zgbkyr3ms23p6-libXaw-1.0.13-armv6l-unknown-linux-gnueabihf.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/1bnpif8d6ays7wkicq516n3knhkrm3wj-nethack-x11-3.6.1-armv6l-unknown-linux-gnueabihf.drv': 7 dependencies couldn't be built
error: build of '/nix/store/1bnpif8d6ays7wkicq516n3knhkrm3wj-nethack-x11-3.6.1-armv6l-unknown-linux-gnueabihf.drv', '/nix/store/3rd3wlwspamvz0vhh8nz8aavpik7vcbs-nethack-3.6.1-armv6l-unknown-linux-gnueabihf.drv', '/nix/store/9h1b2jizjcabn5mzdmfzhpir79pa5b8i-nethack-qt-3.6.1.drv' failed

OK, nethack-x11 fails to cross-compile because of failed dependencies, so let's try that again without x11.

@GrahamcOfBorg build pkgsCross.raspberryPi.nethack nethack-x11 nethack-qt nethack

Failure on x86_64-darwin (full log)
Attempted: pkgsCross.raspberryPi.nethack, nethack-qt, nethack
The following builds were skipped because they don't evaluate on x86_64-darwin: nethack-x11
Partial log (click to expand)
cannot build derivation '/nix/store/lj77mn22l9q0xvfydin8z3jkvrkzq781-stdenv-darwin.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vf10qmijhs25x1bm8k79mr24zdszxgj7-attr-2.4.47-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mqqfipgzpic9a5ka7447k2zpg8dra1kq-gmp-6.1.2-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6c0qlrk0m3cwyqgzz0yiv0zrh2p8dvg9-gzip-1.9-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9m7aiwzm96ca3m8jpflwjz9k90p99q5r-ncurses-6.1-armv6l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qppc9b7angsqahpnn01bza4kfbxhqz37-acl-2.2.52-armv6l-unknown-linux-gnueabihf.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/yb3bhm4xc7cad0ixb6sb9kq3vj58amf8-less-530-armv6l-unknown-linux-gnueabihf.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/3ykqngzaw315kg08pk2cckhxwv44xj58-coreutils-8.29-armv6l-unknown-linux-gnueabihf.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/3rd3wlwspamvz0vhh8nz8aavpik7vcbs-nethack-3.6.1-armv6l-unknown-linux-gnueabihf.drv': 5 dependencies couldn't be built
error: build of '/nix/store/3rd3wlwspamvz0vhh8nz8aavpik7vcbs-nethack-3.6.1-armv6l-unknown-linux-gnueabihf.drv', '/nix/store/9h1b2jizjcabn5mzdmfzhpir79pa5b8i-nethack-qt-3.6.1.drv' failed

Success on aarch64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, nethack-x11, nethack-qt, nethack
Partial log (click to expand)
/nix/store/l2d3yihpdfbpcqrpmg8b001z0kjrxyzm-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/xwc4fa0mcal8b5b3y0v5r8pk8jy3b2jp-nethack-x11-3.6.1
/nix/store/yhhw03ikm22nq3g7p168za6672c3a30y-nethack-qt-3.6.1
/nix/store/x6fdgb6fx85z0pw63m7n9s86dfl39i79-nethack-3.6.1

Success on x86_64-linux (full log)
Attempted: pkgsCross.raspberryPi.nethack, nethack-x11, nethack-qt, nethack
Partial log (click to expand)
shrinking /nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/lib/nethackdir/recover
armv6l-unknown-linux-gnueabihf-strip is /nix/store/d49yh2v3rrvvr4784bwpfn4v1c32zzy4-armv6l-unknown-linux-gnueabihf-binutils-2.30/bin/armv6l-unknown-linux-gnueabihf-strip
stripping (with command armv6l-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/libexec  /nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/bin
patching script interpreter paths in /nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf/games/nethack: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf...
/nix/store/66c8m92lawqdbc51wvqd95fks15fmn1n-nethack-3.6.1-armv6l-unknown-linux-gnueabihf
/nix/store/lws1gm8rrhzxjzj3ns2hxj9cb7qvx8nm-nethack-x11-3.6.1
/nix/store/2cyvgy35wvshq92114vf1jjxbflxp71q-nethack-qt-3.6.1
/nix/store/p7m951vwd2479imgj6in41azr7raa7r2-nethack-3.6.1

The darwin failure is a problem in cross-building stdenv as well as an issue with nethack-qt that doesn't seem to be introduced by this, so we should be good to merge!


Update crossfeed app .tf file for AAAA, A, at integration and add TXT and CAA for api.integration

Update domain name for integration
🗣 Description
We need to add the api.integration domain name and issue letsencrypt ssl certificates. There is a need for both a TXT record and CAA record and adding AAAA and A records for integration.
💭 Motivation and context
There are no existing ACME certs
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] All new and existing tests pass.

@dav3r , I have some code commented out that will be a follow-on PR, I have this commented out because I have to have the SSL cert in place before I can get the values from AWS for the AAAA and A records for api.integration.crossfeed.cyber.dhs.gov

Please remove the commented-out code since it's not relevant to this PR - it should be added in your next PR.

Let me know when i can try the verification. Thanks

The changes have been applied - give it a shot.

@cduhn17 I applied the current Terraform and created the integration API A and AAA records.  Please let me know if there is anything else planned in this PR.