Support forcing non-zero inodes in Readdir

Is your feature request related to a problem? Please describe.
Our tentative fsapi.Dirent type has an inode field, because Go cannot return one in a portable fashion.

fs.FileInfo has no stable means to expose an inode.
fs.ReadDirFile cannot return these for this reason, and os.File.Readdir is not encouraged for performance reasons.
os.File can only return inods on certain platforms with syscall.Stat_t. Notably this isn't returned on Windows.
os.SameFile uses inodes, but the fields are hidden, so we can't return them.

Due to the above, during a Readdir, we can end up without inodes for windows, or other operating systems. These can be backfilled with lstat in some, but not all cases. This means even after doing a fan out, this could be zero.
In most wasm compilers, this isn't a problem. Those that need the data can backfill with host calls to lstat. For example, dirents returned without inodes are visible in TinyGo, Zig, Rust, and C. In wasi-libc, this is backfilled as needed with host calls to lstat. Specs didn't say much about this topic, until wasip2 (wasi-filesystem)

wasip2 has the inode as optional, with a note about a possible stat when missing.
wasip1 didn't indicate whether inode should be there or not.

Go recently began implementing GOOS=wasp1 and used an old heuristic unlike the other compilers. Instead of doing an lstat fan out, it simply drops any dirent missing one. This is a problem for those using fs.FS on windows, but not those using our real FS support. It is a show stopper for virtual files until our fsapi package is exposed. I personally think this is extreme even if there's some non-wasi related precedent around Linux getdents. @achille-roussel opened https://go-review.googlesource.com/c/go/+/507915 to fix this and hopefully it will.
Regardless of the problem in the pending Go 1.21 release, people may still prefer the backend do something different. For example, they may want to materialize fake inodes on virtualized files to avoid perf impact of an lstat fan-out. They may also want to mask real inodes as discussed in wasi-filesystem.
Describe the solution you'd like
We should expose fsapi and allow users to control everything including inodes.

should have a default in-memory filesystem which reliably handles inodes.
users could decide to do anything including things that won't work for everyone, like returning -1
users could also drop entries or do anything to manipulate the result of Readdir

Describe alternatives you've considered

add something like FSConfig.StatIno to force a stat fan-out on zero

this will fix windows but not virtual fs.File implementations

add an inode virtualizer for user-provided fs.FS

https://github.com/tetratelabs/wazero/pull/1555 started on this
it is hard to guess the right impl

add a tentative function to fs.File users that can return an inode portably until we expose fsapi.

returning something like -1 will stop real inode fetching from working on compilers that already do this.

drop all entries without inodes

this will break most users except those who use real filesystems for reasons

Additional context

Lots of stuff in RATIONALE.md
notes https://github.com/tetratelabs/wazero/pull/1555#issuecomment-1620907197
fs wrapping issues https://github.com/tetratelabs/wazero/pull/1558

I will raise a PR tomorrow to expose fsapi.Stat_t experimental instead of blocking this on the while package. This will allow someone to customize extended stat by returning it from fs.FileInfo.Sys.

I will raise a PR tomorrow to expose fsapi.Stat_t experimental instead of blocking this on the while package. This will allow someone to customize extended stat by returning it from fs.FileInfo.Sys.

From my limited understanding, this seems like a great way to fix this.

centralizing notes from the last 2 days here https://github.com/tetratelabs/wazero/pull/1560

opened https://github.com/tetratelabs/wazero/pull/1567 to maybe close this out

Current approach is to return info.Sys().(*sys.Stat_t) from anything wazero uses fs.FileInfo from. This includes Stat on fs.File and Readdir on something that might wrap *os.File.
Next step is to expose the full filesystem, which is likely to start as an experimental feature of wazero 1.4 (not 1.3)

Future work will happen in #1013, so closing until now. If folks feel strongly about this issue please re-open or ask!


Include sold out information and allude to waitlist rather than enroll

@ali I changed it to the image above a little while back, you good to close this?


Fixes for compatibility with macOS and potentially Windows:

Changed the path from /bin/env to /usr/bin/env for macOS (also works on Debian/Ubuntu in my testing)
os.sched_getaffinity is only available on Unix, guard behind check and use num_cpus on other OS

Hey, thanks for the changes and testing for confirmation. Any change to make it more compatible is always appreciated.


How to use ConnectionName with Mongoose ?

In documentation multiple databases section with TypeOrm is provided . However MongooseModule.forRootAsync also supports
multiple connections by default . So is it not supported in nestjs-query ? or is there any solution for this ?

https://docs.nestjs.com/techniques/mongodb#multiple-databases
Scott

Thanks for reply @smolinari  but I tried to use it with nestjs-query but it throws error.
Generally Model in service required to pass connection name as well which throws following error
Error: Nest can't resolve dependencies of the TodoItemEntityQueryService (?). Please make sure that the argument TodoItemEntityModel at index [0] is available in the NestjsQueryMongooseModule context.
If TodoItemEntityModel is a provider, is it part of the current NestjsQueryMongooseModule?

Thus created custom service and provided Connection as well
  constructor(
    @InjectModel(TodoItemEntity.name, 'todo')
    model: Model<TodoItemEntity>,
  ) {
    super(model);
  }

But it still throws same error .
In TypeOrm example of multiple databases , entities are provided at rootAsync moduleoptions . But we can't pass entities in MongooseModuleOptions.
useFactory: (configService: ConfigService): TypeOrmModuleOptions => ({         ...configService.get('dbConnections.secret'),         entities: secretEntities,       }),

It's available.

Scott

Yes . Its available at forFeature . But when we use it in service we have to provide connection name
@InjectmModel(modelName, connectionName)
Which throws error of model not provided as I mentioned above .
Even after creating custom service class and providing this connection name manually also don't work .
However without nestjs-query all multiple connections working fine.

Um, where does it say to add the connectionName in the service injection for mongoose models? I think you are confusing how the TypeORM module and repository injection works with how the Mongoose module and models work.
All you need to do is create the model with the particular connection. You inject only that model. So, each model is a direct "connection" to the database it was defined with.
Scott

Nope Scott . There is no confusion.We are using mongoose connection in @InjectModel in service since 2 yrs + in production server .
We are moving to graphql and exploring nestjs-query.
I have mentioned specific error in my first question itself. Seems like no one used it in production with multiple databases . Also nestjs-query doesn't explicitly provide any documentation for same .
So for now I consider it as it's not supported.

Ok, I see the option of the connection in the Mongoose @InjectModel. But, you are trying to inject a query service. Right?
Scott

In general also , if we don't pass connection name to @InjectModel it throws specific error of Model is provider and can't resolve dependencies of service.
By default the error was there .
Then I tried to inject query service in feature module as well as mentioned with custom service. Still had same error even I passed connection name to @InjectModel

Closing this, if still a issue you can re-open.


displaylink: systemd-udev-settle.service timeout

Issue description
After enabling services.xserver.videoDrivers = ["displaylink"]; and restarting my computer, systemd-udev-settle.service will timeout after 120 secounds, where it normally will boot without problems.
If I disconnect my Lenovo USB 3.0 Dock and restart, there is no problem at all.
Steps to reproduce
Enable displaylink in videoDrivers, connect USB 3.0 DIsplaylink device, reboot, wait until udev-settle times out...
Technical details
This is a timeout I get from journalctl -b which is my Displaylink device...
systemd-udevd[471]: seq 1504 '/devices/pci0000:00/0000:00:14.0/usb4/4-3/4-3.1/4-3.1:1.0' is taking a long time
systemd[1]: systemd-udevd.service: Got notification message from PID 471 (WATCHDOG=1)
systemd[1]: Received SIGCHLD from PID 470 (udevadm).
systemd[1]: Child 470 (udevadm) died (code=exited, status=1/FAILURE)
systemd[1]: systemd-udev-settle.service: Child 470 belongs to systemd-udev-settle.service.
systemd[1]: systemd-udev-settle.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: systemd-udev-settle.service: Failed with result 'exit-code'.
systemd[1]: systemd-udev-settle.service: Changed start -> failed
systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=369 reply_cookie=0 si>
systemd[1]: systemd-udev-settle.service: Job systemd-udev-settle.service/start finished, result=failed
audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-settle comm="systemd" exe="/nix/store/7j4j6z5w6bpfj75krglxbma8wh78f6j3-systemd-239/lib/systemd/systemd" hostname=? addr=?>
systemd[1]: Failed to start udev Wait for Complete Device Initialization.
systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=370 reply_cookie=0 signatur>
systemd[1]: systemd-udev-settle.service: Unit entered failed state.

I have tried using the latest Displaylink 4.4.24, by cloning nixpkgs, modifying it and running sudo nixos-rebuild -I nixpkgs=$HOME/nixpkgs boot
I've tried getting more information from udevadm, but no dice... I really have NO clue, where to go on from here on out...
It works flawlessly on Ubuntu 16.04 LTS (same machine and device).
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.86, NixOS, 19.03.git.ca3f089 (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.3`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Fixed in #51760


Feat/lib 1368 progress component

Jira: LIB-1369

I’m not sure if creating the Progress package is the right choice. In reality, FzProgress is just a specialized version of FzIcon. I think it would be better to create a FzProgressIcon component within the icon package, without all this boilerplate code that seems unnecessary noise to me. What do you think?

I’m not sure if creating the Progress package is the right choice. In reality, FzProgress is just a specialized version of FzIcon. I think it would be better to create a FzProgressIcon component within the icon package, without all this boilerplate code that seems unnecessary noise to me. What do you think?

It was agreed that we would create a progress component to mimic the tree structure made by designers. It will also hold future logic for more complex progress components


bubble disappear arter call minimize() in expandedBubble's Composable

Steps to reproduce
this is my code, I want to show ExpandedBubble after click on a button in Bubble's Composable Or show Bubble after click on a ExpandedBubble's Composable
override fun configBubble(): BubbleBuilder? {

    return BubbleBuilder(this)
        .bubbleCompose {
            FloatMinimizePage(openExpandPage = {
                expand()
            })
        }
        .startLocationPx(0, 0)
        .enableAnimateToEdge(true)
        .closeBubbleStyle(null)
        .closeBehavior(CloseBubbleBehavior.DYNAMIC_CLOSE_BUBBLE)
        .distanceToClose(0)
        .bottomBackground(false)
}

override fun configExpandedBubble(): ExpandedBubbleBuilder? {
    return ExpandedBubbleBuilder(this)
        .expandedCompose {
            FloatExpandPage(openMinimizePage = {
                minimize()
            })
        }
        .startLocation(0, 0)
        .draggable(false)
        .style(null)
        .fillMaxWidth(true)
        .enableAnimateToEdge(true)
        .dimAmount(0.6f)
}

I test in a real device, and it's running normally when I click it in PC with mouse. But Bubble will disappear when I click it in the real device screen.
https://github.com/TorryDo/Floating-Bubble-View/assets/28619269/23982e1a-2194-4082-8bce-8456f1290f8a
Expected behavior
bubble will show
Actual behavior
bubble disappear
Crash logs
no
Floating-Bubble-View version
0.6.4
Android version
Android 12
Device
OnePlus 7T
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the library to the latest Version.
[X] I will fill out all of the requested information in this form.

“when using bubbleCompose, you should set forceDragging to false.”


Getting Internal server on search on client list page

Description
When the user types the search keyword on the search box on client list page, getting internal server error on toast message
Environment
Linux / MacOS / Android / IOS / Windows
Mozilla / Chrome / Safari

What is the expected behaviour?
On searching, if there is a matching client then the same should be displayed to the user on the search dropdown. The user should be able to select one of the matching results .
What is the current behaviour?
When the user types the search keyword on the search box on client list page, getting internal server error on toast message
How to reproduce the issue?

Login as an admin or owner user
Click on the clients module on left navigation bar
enter a keyword in the search box

Screenshots or Screencast

Please provide any traces or logs that could help here.
Any possible solutions?
If the bug is confirmed, would you be willing to submit a PR?

Reindex the client modal fixed it


Configure StackdriverRegistry with with resource labels to support non global resource-types

Hello,
I'm running into some problems configuring a resource-type that is not global for the quarkus-micrometer-registry-stackdriver extension.
i.g.StatusRuntimeException: INVALID_ARGUMENT: One or more TimeSeries could not be written: The set of resource labels is incomplete. Missing labels: (location namespace job task_id).: timeSeries[0]

GCP recommends using generic_task or generic_node for resource types and requires specifics labels to configured for the Monitoring API to take in these datapoint. I haven't been able to find way to configure those values in application.properties.
Seems like other devs have gotten make this work by overriding the Micrometer StackdiverConfig during construction of the MetricsRegistry (https://github.com/micrometer-metrics/micrometer/issues/1907), but quarkus-micrometer-registry-stackdriver comes with a predefined @DefaultBean that creates the StackdiverConfig from config values. So I don't know of a way to do this without just connecting micrometer-registry-stackdriver and quarkus-micrometer myself.
Do you know of any instructions or examples you could provide to help configure this resource labels?

Would be nice to have a Quarkus equivalent to this PR from Spring
https://github.com/spring-projects/spring-boot/pull/26961

[Update] I got around this by disabling default registry creation, doing a custom implementation of the StackdriverConfig, and creating my own StackDriverMeterRegistry using my custom StackdriverConfig object.

I would welcome a PR ...


Update CI Scripts

:rocket: deployed to http://connecting-to-services-pr-273.dev.c2s.nhschoices.net


device_id

hello device_id how do I create it?

use an app like Charles to watch network requests, grab your own device_id from one of the API calls.

i need to generate my useless device ID

Closing as this is now a duplicate of the more descriptive issue #58.


discussion: cw20-base methods should be nonpayable, or forward funds

currently, funds sent in a cw20-base Send message are not forwarded, nor is an error returned if they are included. this isn't great UX. it would be nice to put together a coherent thought on what to do with native tokens sent to the cw20-base contract. i am happy to do the implementation work.
two ideas:

make all cw20-base methods nonpayable, or
make send forward native tokens, and the rest of the methods nonpayable.

obviously there are more permutations here, and I'd be interested in hearing arguments for other ones.

cc @webmaster128 / @ethanfrey . I'd be curious if this has been discussed before and your thoughts.

That is a common problem with what to do when unnecessary tokens are sent to contract with the method, and I remember we discussed it with Ethan. Sure, you can add a check if there is anything sent with the method (which is equivalent to making it nonpayable, I even think there is a function named this way in cw-utils failing if anything is sent), but there is a still a thing - what does it prevent? If one wants for any reason to prevent sending tokens to contract, it is impossible - it can always be done via Bank::Send message unless specific chains have some own way of blocking incoming funds. Therefore it prevents nothing besides accidentally sending tokens between contracts. But then - how often are you manually sending a message to the contract and assigning tokens to it? In the vast majority of cases, you do it via some front-end app which has to know contract API anyway - therefore, there is just no need to add the possibility to assign native tokens in your front-end.
Adding the additional nonpayable call on every message seems unnecessary to me, makes additional code which I mostly don't care about (so decreases readability - not in a significant way, but still, not the direction I would like to take), it adds additional overhead (probably unnoticeably, but again - with no reason), with the only improvement is making it slightly easier to test manually.
While back in the day, I was convinced more to very strictly limit the ability to accept tokens by contract, right now, I would do it only when it actually introduces some problems - for eg., if I accept exactly one native token on instantiation and use it to determine "denom" my contract is operating on, then I would actually assert there is exactly one token send (as if they are many, I could pick the wrong one which may lead to problems).

@hashedone, thank you for the thoughts. I used to also hold your point about code like this being un-needed as frontends are the API consumers. What I have come to appreciate over time is that as we are using non-restrictive licenses, and writing infrastructure-like code, there will be many frontends and many users who do unexpected things with this code.
I wonder if, when the result is funds locked in the contract, it is good to air on the side of caution?

I agree with @hashedone here. If we want such a solution, it should include bank sends. But x/bank does not know about the existance of x/wasm, which is also fair from a design point of view. One could imagine a hook system where x/wasm registers for such events. But this would create also some overhead. Something similar was discussed in https://github.com/CosmWasm/cosmwasm/issues/1515 before.

cool. thanks for the thoughts @hashedone and @webmaster128 :) sounds good to me.


Export converted csv

This branch:

Makes the import button only parse the CSV into a scheduleJSON, save the scheduleJSON in the context, and log it to the console (ie. it no longer logs the JSON converted back to CSV).
Makes the export button work (ie. it will save a file called schedule.csv to your downloads with the context's scheduleJSON converted back into a CSV).
Makes the hamburger menu open to the right of the hamburger button (such that you can close the menu by clicking the hamburger button again), makes the import and export menu item buttons clickable for the entire width and height of the menu item (previously only the text portion was clickable, so there was a boarder that looked clickable but wouldn't trigger anything), and finally makes the buttons have the click icon when hovered (previously the label would only give the default mouse icon when hovered).

To Test:

npm install and npm start like usual.
Try out importing a CSV, and then exporting it.
Make sure that the changes to the import/export button styling make sense/look nice.

Closes #20

Conflicts resolved, merging now


Feature is not exported from 'react-map-gl'.

I'm using react-map-gl version 5.2.0 and I'm trying to use the Feature component but it is not being exported by the package.
I'm importing it like so:
import MapGL, {  Feature, Marker } from 'react-map-gl';

Error:
Attempted import error: 'Feature' is not exported from 'react-map-gl'.

The other components are working and available.
Is Feature supported?

@mnoster this is the repository for react-mapbox-gl, not react-map-gl

@krisaoe is correct, you are looking at the docs of a library different from the one you are importing from.

my bad


Update pypika version and fix nested alias in tests

Pypika updated the default option to use alias in functions to true (for nested functions) which is why some tests needed to be updated.

Coverage remained the same at 91.01% when pulling 822a5306b981549cb21a508a9b35729ecb8af6ec on RobinPapke:master into 63e87ed1fa42fcfa000d4e2549967f8a359af8cf on kayak:master.


Performance issues

Some performance issues when using the toast. Try moving things to the prototype instead.

Moved to prototype.


swift failed to garbage collect

registry garbage-collect -d /etc/registry/config.yml

DEBU[0325] swift.Walk("/docker/registry/v2/blobs")       go.version=go1.11.8 instance.id=aebb6994-18d2-438a-a548-4d2b1c864d26 service=registry trace.duration=42.285913041s trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).Walk" trace.id=fdf9ffb0-90e4-4dee-bda7-3b18bc3d3bcd trace.line=232
failed to garbage collect: error enumerating blobs: swift: Timeout expired while waiting for segments of /docker/registry/v2/blobs/sha256/0e/0e13df4de72ab99c36328542e7a42eef9f1b3b3b61ca0a063ec5de2c3a3923c1/data to show up

swift list --lh registry -p files/docker/registry/v2/blobs/sha256/0e/0e13df4de72ab99c36328542e7a42eef9f1b3b3b61ca0a063ec5de2c3a3923c1/
   0 2019-09-26 13:03:02 application/octet-stream files/docker/registry/v2/blobs/sha256/0e/0e13df4de72ab99c36328542e7a42eef9f1b3b3b61ca0a063ec5de2c3a3923c1/data
   0

same as #2188

https://github.com/distribution/distribution/issues/2188#issuecomment-1000315090

have the same issue. Registry is consistent, Confusing that error message ``segments of /docker/registry/v2/has no prefixfiles/docker/registry/v2/ files```

the same issue with 2.8.0 release

We are still suffering of this problem. If you need any details, please refer, i will provide information you need to fix this.
We have intensively used registry setup with swift backend and unable to clean it properly

We have large and intensively used registry, for example there is repositories with more then 500 tags. We investigated that garbage collect hangs when need to remove many (apx more then 1000 blobs). When we did garbage collecting with custom script, native garbage collect starts working fine

I'm writing this for those still struggling with this issue, I had the same problem but did things differently. Given that OVH's swift expose an S3 compatible API, I did change registry's driver to S3 instead of Swift to be able to run docker-distribution-pruner which is far quicker and enhanced than vanilla registry garbage-collect -m command.
To wrap up things a little bit, here are the steps to follow to cut half time the GC process :

change driver to s3     storage:
       s3:
         rootdirectory: files # swift uses this prefix, could be something else, check your configuration
         region: XXXX
         bucket: XXXXXXXXXXXXXXXX
         accesskey: XXXXXXXXXXXXXXXXXXXXXX
         secretkey: XXXXXXXXXXXXXXXXXXXXXX
         regionendpoint: XXXXXXXXXXXXXXXXXXXXXXXX
         v4auth: true

run docker docker-distribution-pruner binary # say your registry configuration file is at /tmp/config_s3.yml
  $ EXPERIMENTAL=true docker-distribution-pruner \
     -config=/tmp/config_s3.yml \
     -parallel-repository-walk \
     -parallel-blob-walk \
     -soft-errors \ # there is an issue with Swift's DLOs, probably you'll find few empty segments that could stop the process
     -delete \
     --repository-csv-output registry_gc.csv

Hope it helps,

Thank you @devlifealways , will try and give you feedback

Just a note that the upcoming v3 release removes the swift driver (it has already been removed on the main branch now).

Closing as swift support has been removed from this project.


Input off-by-one?

On left-side board to start the topmost tactile button is labeled SW2 but comes through the FSmapper application as SW1, is this an actual problem or just a misconfiguration on display somewhere?

That is right behavior.
I renamed the two lever switches labeled SW1 and SW27 on PCB to AUX1 and AUX2 when I wrote firmaware codes.
So, tactile switch numbers are rearranged 1 to 32.

Ah, thanks.


Documentation: Istio Getting Started Guide

Signed-off-by: Romain Lenglet<EMAIL_ADDRESS>Document Getting Started Guide with Kubernetes and Istio.

@danwent @tgraf, this PR is ready for review. I'll continue working on documenting the Kafka support and will integrate it in a later commit once I get it working.

@rlenglet
I'm seeing an error from "make html" when trying to include a file
dans-Air:Documentation danwent$ make html
Running Sphinx v1.5.3
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 3 source files that are out of date
updating environment: 2 added, 11 changed, 1 removed
reading sources... [100%] policy/index
/Users/danwent/cilium/Documentation/gettingstarted/istio.rst:256: WARNING: Include file u'/Users/danwent/cilium/examples/kubernetes-istio/bookinfo-ratings-v1-policy.yaml' not found or reading it failed


Service is down

Hi,
the service seems to be down at the moment: see screenshot
E.g. http://www.uk-postcodes.com/postcode/N1c 4ab.xml is returning

If you could have a look at this it would be really great.
Thanks!
Raf

This is all fixed now. Apologies for the delay. I'm hoping to deploy some fixes soon to improve stability long term.


Add tags and use code to index

Add ability to specify endpoint tags
Fix matching to non-static methods using __code__ for indexing
Catch exception when handler is not annotated

Merged for now, but to be updated based on the final version of https://github.com/aio-libs/aiohttp-apischema/pull/57


Address DBE review comments for operators adjacent to @@variables

Description
Address DBE review comments for https://github.com/babelfish-for-postgresql/babelfish_extensions/pull/2217
Signed-off-by: Rob Verschoor<EMAIL_ADDRESS>Issues Resolved
Additional test cases for use cases inside  views and functions.
Test Scenarios Covered

Use case based - Yes

Boundary conditions - N/A

Arbitrary inputs - N/A

Negative test cases - N/A

Minor version upgrade tests - N/A

Major version upgrade tests - N/A

Performance tests - N/A

Tooling impact - N/A

Client tests - N/A

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 72.441%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
40119

Relevant Lines:
55382

💛  - Coveralls


[RNG] Question: functions.hpp does not contain all the generate() functions?

When you look at this usage model
https://www.intel.com/content/www/us/en/develop/documentation/oneapi-mkl-dpcpp-developer-reference/top/random-number-generators/random-number-generators-device-routines/intel-onemkl-rng-device-usage-model.html

There is a function called generate() with two arguments -> oneapi::mkl:rng::device::generate(distr, engine);

Observations

I can't seem to find this corresponding generate() function in the oneMKL repository. The closest I found is the following, however, this takes in 4 arguments instead of the 2 arguments

I found the corresponding generate() function in the other public oneAPI repo, which is located in /opt/intel/oneapi/mkl/2022.2.0/include/oneapi/mkl/rng/device/functions.hpp . However, this is in a separate package, not part of this oneMKL repo

Question:
Is the generate() function with two arguments missing in this oneMKL repo (according to the usage document above) ? If yes, can it be included?

Hi @sphblue, thank you for the question! There are two kinds of APIs supported in oneMKL RNG: device and host. Device APIs which you are looking for is not yet part of oneMKL specification and oneMKL Interfaces project, they are available only in binary Intel oneMKL product as part of oneAPI toolkits.
Please, let us know if you want to use device APIs directly from oneMKL Interfaces. I will be also glad to answer any other RNG-related questions.

@sphblue Looks like the question is answered. Can this issues be closed?


num/dualcmplx: Abs() should return Number type as num/dual does

What are you trying to do?
Simplify and standardize the return types of  functions that work with special numbers (e.g. dual complex numbers, grassmann numbers).
Namely, num/dualcmplx/dual.go Abs() takes a Number type, however, supplies a float64 .
num/dual/dual.go Abs() presently returns the magnitude of the supplied number type wrapped as the dual Number struct as so:
// Abs returns the absolute value of d.
func Abs(d Number) Number {
        if !math.Signbit(d.Real) {
                return d
        }
        return Scale(-1, d)
}

The absolute value of a complex number always yields a real  number. In Golang, taking the absolute value of a complex128 number yields a float64. Unlike the dual real in num/dual/dual.go, taking the absolute value of a dual complex does not preserve the dual type.
I feel the typing should be preserved.
What did you try?
// Abs returns the absolute value of d.
func Abs(d Number) Number {
        return Number{
                Real: complex(cmplx.Abs(d.Real), 0),
                Dual: d.Dual,
        }
}

Such that:
Number{Real: cmplx.NaN(), Dual: 0+3i} returns, Number{Real: complex(math.NaN(),0), Dual: 0+3i}}
and
{d: Number{Real: negZeroCmplx, Dual: 1.175495e-38i} returns, Number{Real: 0+0i, Dual: 1.175495e-38i}} .
How does Gonum not allow you to achieve your goal?
When working with calls to num/dualcmplx/dual.go Abs(), I need to be mindful of float64 values.
What version of Go and Gonum are you using?
Go: v1.13
Gonum: 16f41441268f3dab0269c341936d645ec725d07d
Is this feature absent from the current master?
Yes.
Are you able to help contribute the feature?
Yes.

I don't think this is the correct thing to do. Note that the num/dual and num/cmplxdual are applied to very different domains, the latter being primarily used for deformations in the plane while the former is primarily for autodiff. Because of this they have different primitives; the implementations for dual and (anti-commutative) complex dual numbers reflect the original mathematical work and don't necessarily need to be consistent with each other. If we introduced a commutative complex dual implementation, then it would likely agree with the real dual implementation.


Switch to purescript-ansi?

I noticed there's some FFI modules for doing ansi color stuff. There's a pure PS implementation that only depends on purescript-strings: https://pursuit.purescript.org/packages/purescript-ansi/4.0.0.
Are you up for a PR to use purescript-ansi instead of writing FFI modules in this library?

Yeah, sounds good!

Fixed in d2a2b8b80ca0e24fa3d62fc8cde08e83889559b8


Write after end

I'm not sure if I'm using pumpify wrong or if I stumbled upon a bug.
This example causes a "write after end" error:
var pumpify = require('pumpify');
var miss = require('mississippi');

function double() {
  return miss.through.obj(function(num, _, cb) {
    cb(null, num * 2);
  });
}

function log(results) {
  console.log(results);
}

miss.pipe([
  miss.from.obj([1,2,3]),
  pumpify.obj(miss.from.obj([100,200,300]), double()),
  miss.concat({ encoding: 'object' }, log)
], log);

I have readable stream as the first argument to pumpify (which is likely causing this), but I thought that a duplex stream could be used in this fashion.  Let me know if you need any other information.  Thanks!

You have a bug
  pumpify.obj(miss.from.obj([100,200,300]), double()),

miss.from is a readable stream and not a writable one

In my actual usage, I have a readable stream that adds data to the stream if inserted into the middle of a pipeline. We've traditionally done this with a separate through stream that we write to, but I was trying to clean that up with pumpify.

You cannot write to a readable stream.

 When I attempt to pipe to a readable, it throws because the write method doesn't exist but the duplex stream doesn't behave that way. Is there a different type of stream I should be looking for?

Duplex streams are a readable stream and writeable stream put together.
This means you can both read and write to these. Transform streams are a
special type of duplex stream where the data that is sent into the
writeable stream is transformed and then exposed through the readable
stream. In a pipeline as shown in your example it seems you're looking to
use transform streams.
Through2 (or the Mississippi equivalent) is the most common way to create
transform streams; perhaps that might be worth looking into. Cheers!
 When I attempt to
pipe to a readable, it throws because the write method doesn't exist but
the duplex stream doesn't behave that way. Is there a different type of
stream I should be looking for?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mafintosh/pumpify/issues/6#issuecomment-274963696,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWletTGOIJaQP0DgjOFhhFEsOyCg5PIks5rVn7WgaJpZM4Ls2cT
.

@yoshuawuyts I've used through2 extensively; however, it doesn't seem semantically proper to use a Transform stream at the head of a pipeline.  Or am I wrong?

I've created https://github.com/armed/ordered-read-streams/issues/13 about by actual usage.  I think making it inherit from Duplex instead of Readable solves the issue.  Does that solution make sense?

After digging into how vinyl-fs achieves this, it seems like the following works:
var readable = from(["hello", "world"]);
var thru = through2.obj();
var stream = duplexify.obj(thru, merge(readable, thru));

I'm not completely sure how, but it seems to be working.


HCLOUD-3007_Default-node-spec-to-version-1-in-engine_Jorge-Brown

Task linked: HCLOUD-3007 Default node spec to version 1 in engine

I don't quite understand the reason for this change, probably because i don't know in which scenario specVersion can be undefined. A short comment above the line explaining the reason would be appreciated.

I think it's for downwards compability reasons. SpecVersion property got introduced in a later state, so there might be old entities out there, which have this property not set.

I don't quite understand the reason for this change, probably because i don't know in which scenario specVersion can be undefined. A short comment above the line explaining the reason would be appreciated.

It's because we have code like this in the engine which causes old nodes to not work. It may be a cause of our compatibility issues. It should only throw the exception when it is defined and a version that we actually don't know, since the undefined version is the initial one before the specVersion property got added.
const spec = this.node.getNodeSpecification();
if (isStreamNodeSpecificationV1(spec)) {
    return spec.inputs?.find(i => i.name === inputName);
} else {
    throw new UnknownStreamNodeSpecificationVersion(spec);
}

Okay, thanks for the answers. I would still appreciate a comment above the line explaining that in a short sentence, because it's not obvious from the code alone. Just merge it then!


Data Request Variables - Air Pressure at Convective Cloud Base

Themes:

Atmosphere

Description
The cell_methods should include "where convective_cloud". When regridding, should these be weighted by *total* convective cloud area or by convective cloud area in the grid cell located at cloud base?

This issue refers to Air Pressure at Convective Cloud Base (ccb) and Air Pressure at Convective Cloud Top (cct).
Both these variables occur in Amon, CFday and CFsubhr. The sub-hourly data is requested as area: point time: point, so the where convective_cloud addition is not made. The suggestion has been adopted for the other four.


Fix config processing

We previously allowed Lookup() to not throw exceptions when a file was not found.
After updating to use Gitlab V4 API that behavior changed.
This ensures we keep the expected behavior.
Before change
2018-02-23 15:28:47,568 [INFO] foremast.utils.lookups:remote_file:186 - Retrieving "runway/application-master-build.json" from "forrest/edge".
Traceback (most recent call last):
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/exceptions.py", line 247, in wrapped_f
    return f(*args, **kwargs)
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/mixins.py", line 48, in get
    server_data = self.gitlab.http_get(path, **kwargs)
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/__init__.py", line 721, in http_get
    streamed=streamed, **kwargs)
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/__init__.py", line 699, in http_request
    response_body=result.content)
gitlab.exceptions.GitlabHttpError: 404: 404 File Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/bin/foremast-infrastructure", line 11, in <module>
    load_entry_point('foremast', 'console_scripts', 'foremast-infrastructure')()
  File "/home/saviles/data/git/github/foremast/src/foremast/runner.py", line 245, in prepare_infrastructure
    runner.write_configs()
  File "/home/saviles/data/git/github/foremast/src/foremast/runner.py", line 76, in write_configs
    app_configs = configs.process_git_configs(git_short=self.git_short)
  File "/home/saviles/data/git/github/foremast/src/foremast/configs/prepare_configs.py", line 39, in process_git_configs
    app_configs = process_configs(file_lookup, 'runway/application-master-{env}.json', 'runway/pipeline.json')
  File "/home/saviles/data/git/github/foremast/src/foremast/configs/prepare_configs.py", line 78, in process_configs
    env_config = file_lookup.json(filename=file_json)
  File "/home/saviles/data/git/github/foremast/src/foremast/utils/lookups.py", line 238, in json
    file_contents = self.get(branch=branch, filename=filename)
  File "/home/saviles/data/git/github/foremast/src/foremast/utils/lookups.py", line 220, in get
    file_contents = self.remote_file(branch=branch, filename=filename)
  File "/home/saviles/data/git/github/foremast/src/foremast/utils/lookups.py", line 190, in remote_file
    file_blob = self.project.files.get(file_path=filename, ref=branch)
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/cli.py", line 42, in wrapped_f
    return f(*args, **kwargs)
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/v4/objects.py", line 1778, in get
    return GetMixin.get(self, file_path, ref=ref, **kwargs)
  File "/home/saviles/.local/share/virtualenvs/foremast-JzqYWaaJ/lib/python3.6/site-packages/gitlab/exceptions.py", line 249, in wrapped_f
    raise error(e.error_message, e.response_code, e.response_body)
gitlab.exceptions.GitlabGetError: 404: 404 File Not Found

After change
2018-02-23 15:40:55,991 [INFO] foremast.utils.lookups:remote_file:186 - Retrieving "runway/application-master-prods.json" from "forrest/edge".
2018-02-23 15:40:56,108 [WARNING] foremast.utils.lookups:remote_file:199 - Project "forrest/edge" is missing file "runway/application-master-prods.json" in "master" branch.
2018-02-23 15:40:56,108 [CRITICAL] foremast.configs.prepare_configs:process_configs:81 - Application configuration not available for prods.
2018-02-23 15:40:56,108 [INFO] foremast.utils.lookups:remote_file:186 - Retrieving "runway/application-master-prodp.json" from "forrest/edge".
2018-02-23 15:40:56,219 [WARNING] foremast.utils.lookups:remote_file:199 - Project "forrest/edge" is missing file "runway/application-master-prodp.json" in "master" branch.
2018-02-23 15:40:56,219 [CRITICAL] foremast.configs.prepare_configs:process_configs:81 - Application configuration not available for prodp.
2018-02-23 15:40:56,220 [INFO] foremast.utils.lookups:remote_file:186 - Retrieving "runway/application-master-build.json" from "forrest/edge".
2018-02-23 15:40:56,330 [WARNING] foremast.utils.lookups:remote_file:199 - Project "forrest/edge" is missing file "runway/application-master-build.json" in "master" branch.
2018-02-23 15:40:56,330 [CRITICAL] foremast.configs.prepare_configs:process_configs:81 - Application configuration not available for build.
2018-02-23 15:40:56,331 [INFO] foremast.utils.lookups:remote_file:186 - Retrieving "runway/application-master-dev.json" from "forrest/edge".
2018-02-23 15:40:56,446 [INFO] foremast.utils.lookups:remote_file:186 - Retrieving "runway/pipeline.json" from "forrest/edge".

LGTM

@sijis Does this resolve this issue as well? https://github.com/gogoair/foremast/issues/244

@bazimov Hmm. not directly but it was altered in #270. In there, it would raise an error if a commit is not found.


HERITAGE-65

Ticket URL: HERITAGE-65
About these changes
Add related tags section to details page
How to check these changes
Visit details page from search results. Eg - /catalogue/id/C8077549/ and observe tags in right hand column
The table is currently duplicated to show how the mark up should be set with or without the tags as we don't yet have the logic / data for this
Before assigning to reviewer, please make sure you have

[ ] Checked things thoroughly before handing over to reviewer
[ ] Checked PR title starts with ticket number as per project conventions to help us keep track of changes
[ ] Ensured that PR includes only commits relevant to the ticket
[ ] Waited for all CI jobs to pass before requesting a review
[ ] Added/updated tests and documentation where relevant

Merging PR guidance
Follow docs\developer-guide\contributing.md
Deployment guidance
Follow docs\infra\environments.md

Target set to wrong repo


Typescript support and @types

Hello!
First of all: thank you for this great library!
I working with Angular, React and so on, but all in Typescript and not plain Javascript. So with some // @ts-ignore over the imports all works as well. But I wanna ask you: Do you think it will be possible to add the library's types for Typescript that we can use all the features clean declared and type based?
Thx and greetings,
Florian

That would be a great addition to this very cool piece of software! Thanks for sharing btw :)


Mac M1 / M2 : empty explorer, designer, authentification sections (but querying works)

Describe the bug

the UI shows that the connection is successful
When running queries, data is correctly fetched
Nothing is shown in the explorer / designer / authentification sections

I tried on my old intel mac with the same configuration and DB and it works perfectly.
To Reproduce
Just run on a M2 mac and hit the explorer view

See error

Expected behavior
tables and columns should be visible in the explorer views
Environment (you can view the current version under Settings):

Operating System : mac os 14.2.1
Surrealist Version [e.g. 1.2.0]: 1.11.3
SurrealDB Version [execute "surreal version"]: 1.1.1

the m2 Mac isn't the issue. it works on mine

Okay, I noticed by running the INFO FOR DB query that one of the table was weirdly formatted on my M2 database: "\\attributes \``" (a problem with the python driver somewhere). I had to remove it through the python driver (it wouldn't work with surrealist or the CLI).
Once the table was removed it was working again.


Fix unsupported include backslash on Linux

Fix the GSAT_WaitInputPressWithTags file include which allows the project to compile on Linux.

Thank you!


[Sveltekits + Scss] Add Husky to Sveltekit + SCSS

Added husky pre-commit & pre-push for automatic linting and formatting

please fix conflicts and remove package-lock.json from commit.


pythonPackages.jupyterlab: fix yarn.lock permissions for labextension

Motivation for this change
This commit adds a patch which fixes the following issue that affects mainly nix users only:
https://github.com/jupyterlab/jupyterlab/issues/7525
To test, launch a nix-shell as follows:
$ nix-shell -p python3Packages.jupyterlab nodejs

In the nix shell, try installng some jupyter lab extension:
$ cd `mktemp -d`
$ jupyter-labextension install --app-dir=`pwd` jupyter-matplotlib

Without this PR, the installation fails.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I'm closing this as they approved the fix upstream: https://github.com/jupyterlab/jupyterlab/pull/10063


Add docs for automated k3s upgrades

closing in favor of https://github.com/rancher/docs/pull/2384


License missing? Original source?

Hi!
I found a seemingly older 1:1 copy of your createsuperuser.py at adamcharnock/swiftwind-heroku.
Is your code a copy of his or the other way around or …?
His code is licensed under the MIT license, see LICENSE.txt.
If yours is a copy please give credit to him and make clear that this project is licensed under the MIT license as well.
Thank you!
CC @adamcharnock

Hi @hartwork,
Thank you for noticing this. I believe the code in question was taken from my Stack Overflow answer dated Feb 2017.
I'm happy for my code to be turned into a reusable package, but having credit would certainly be nice!


Swift static framework: add toolchain inputs

Description: These inputs are required for remote execution - otherwise the remote machine doesn't stage them.
Risk Level: Low
Testing: bazel build with remote execution enabled
Docs Changes: N/A
Release Notes: N/A
See https://stackoverflow.com/questions/52769846/custom-c-rule-with-the-cc-common-api
Signed-off-by: Ulf Adams<EMAIL_ADDRESS>

I see this error on some of the CI builds:

Received request to deprovision: The request was cancelled by the remote provider.

Any idea what's up with that?

github actions is super flaky, retrying


Feat: Add GRO information in env

@Abhi-ONDC can you suggest why BUYER_APP_GRO_PHONE and other info are supposed to be added to the .env-local in 2dd0ee5 ?

@lifeofsoumya It was added for grievance management , In buyer app we have a UI to show grievance officer contact


not support M1 cpu

Hi Guy,
I tried your code, that is rare code I can run with such a simple environment configuration!
I can run using your code. But I tried to changed a little in order to support M1 GPU, but it show me some error.
Here is what  I changed to support M1 GPU: (last line is original code)
    self.device = torch.device("mps")
    if self.device.type == "mps":
        print('using mps')
    else:
        self.device = torch.device(f"cuda:{gpu_id}" if (torch.cuda.is_available() and (gpu_id >= 0)) else "cpu")

it actually gave me the response "using mps", but I got some error here:
2024-04-08 18:20:11.658222 start
using mps
Traceback (most recent call last):
  File "/Users/tianjie/workspaces/dqn_wwwHui/dqn/dqn.py", line 475, in <module>
    function_run()
  File "/Users/tianjie/workspaces/dqn_wwwHui/dqn/dqn.py", line 469, in function_run
    train_dqn_for_cartpole()
  File "/Users/tianjie/workspaces/dqn_wwwHui/dqn/dqn.py", line 465, in train_dqn_for_cartpole
    train_agent(args)
  File "/Users/tianjie/workspaces/dqn_wwwHui/dqn/dqn.py", line 291, in train_agent
    buffer_items = agent.explore_env(env, args.horizon_len * args.eval_times, if_random=True)
  File "/Users/tianjie/workspaces/dqn_wwwHui/dqn/dqn.py", line 209, in explore_env
    actions[i] = action
RuntimeError: length >= offset INTERNAL ASSERT FAILED at "/private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_83_m9l5ufr/croot/pytorch_1686041389610/work/aten/src/ATen/mps/MPSStream.mm":122, please report a bug to PyTorch.

hope you have any ideas on it.

Sorry, I don't have an M1 device, so I can't test it. You can try to confirm if the shapes, devices, and other properties of "actions" and "action" are consistent.

Please replace  actions[i] = action in the explore_env function with actions[i] = action.to(self.device).


Fix first paragraph in a comment always having a different style.

Really caused by a peculiarity in the HN comments HTML, where the first paragraph has no wrapping element, but the following paragraphs are wrapped by

.
margin-top: 1em was also split into two: margin-top: 0.5em and margin-bottom: 0.5em. This ensures the same margin exists between the first paragraph and the remaining ones.
Example:

With the fix:

Also fixed first paragraph of a "self" post being "lighter".
Before:

After:

Any chance this can trigger a new release? I know it would get a pretty unspectacular changelog, but the problem is indeed annoying :-)


Wrapping cargo calls on CI

This fixes #158.
cargo is replaced by ci-cargo (from ci-cargo.ps1), which handles exceptional situations better.
It also provides rudimentary logging through -ActionName parameter, utilizing CI's "::group::" syntax.
ci-cargo itself is documented and can be used outside of CI (e.g., when testing locally).

ci-cargo docs

NAME
    ci-cargo

SYNOPSIS
    Runs cargo with specified args, adapting error handling and output to CI.

SYNTAX
    ci-cargo [[-CargoArgs] <String[]>] [-ActionName <String>] [<CommonParameters>]

DESCRIPTION
    Runs cargo in a `try` block, catches exceptions and non-zero exit codes.
    Explicitly logs the beginning and the end of cargo execution, as well as the error message.

PARAMETERS
    -CargoArgs <String[]>
        Arguments passed to cargo, as-is.
        Note that `--` separator is handled by powershell itself,
        so it should be wrapped in quotes `'--'` and passed as string.

        Required?                    false
        Position?                    1
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -ActionName <String>
        Optional string that is used to format logs and error messages.

        Required?                    false
        Position?                    named
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see
        about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
    None. You cannot pipe objects.

OUTPUTS
    No explicit output.

    -------------------------- EXAMPLE 1 --------------------------

    PS>ci-cargo --version
        ::group::
        Running cargo --version
        cargo 1.49.0 (d00d64df9 2020-12-05)
        ::endgroup::

    -------------------------- EXAMPLE 2 --------------------------

    PS>ci-cargo -ActioName "Build"  build

    -------------------------- EXAMPLE 3 --------------------------

    PS>ci-cargo +stable-x86_64-pc-windows-gnu test --features tests-all --target i686-pc-windows-gnu '--' --nocapture -ActionName "Called from documentation"

RELATED LINKS
    Used by: https://github.com/extendr/extendr

Windows bindgen job (which fails on i686 tests anyway) failed due to some transient network error. It can be rerun before the merge or if fixes are requested.

So if there are no objections, I will merge this PR.


Getting started back button looks unstyled

Checked the mocks and they're indeed a bit different, how does this look? cc @misolori

Checked the mocks and they're indeed a bit different, how does this look? cc @misolori

Yeah that looks nicer, also moving it above the content would help like in the mockup

Yeah that looks nicer, also moving it above the content would help like in the mockup


AccessKey , SecretKey to be created from API

Issue/Feature Description:
AccessKey , SecretKey to be created from API - To enable users to create AKSK from the API , rather than the UI.
AkSk from API will enable users to create the AKSK from the API and integrate to their Clients.
Why this issue to fixed / feature is needed(give scenarios or use cases):
AkSk from API will enable users to create the AKSK from the API and integrate to their Clients.
How to reproduce, in case of a bug:
N/A
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Create the AKSK in Multicloud rather than the API repo

PR : https://github.com/sodafoundation/multi-cloud/pull/1275

Currently, who is going to consume it? If this is future, why should we make it part of multicloud?

Currently, who is going to consume it? If this is future, why should we make it part of multicloud?

No, AKSK is not being integrated with dashboard for J Rel.
its for any users who want to integrate SODA with their clients


Widget gravity

you got to add gravity to your widgets like java

This functionality is in kivy's layout classes, though it's not in general the same as the gravity system. You could probably make a layout that behaves the way you want quite easily, though I'm not familiar with the details and can't say for sure.
I don't think we're likely to build the widget system around this any time soon though, so I'm closing this for now.

Im trying to create an app which need rtl support
but kivy dosent support rtl Specially TextInput

Yes, that is a missing feature in kivy, you might want to try implemening the backend yourself.
But rtl text has no relation to this issue :).
Use our support channels if you need further help: https://github.com/kivy/kivy#support.

how kivy draw widgets?

@sajadbanooie Please ask these questions on the mailing list or irc channel, github is not a good place for them. But to answer, kivy is an opengl toolkit, everything is opengl internally and you can read our graphics api doc to see how that's managed on the user side.


#339 RsPrettyXML retains html5 doctype

Checks if the provided doctype is for HTML 5, if so it preserves the doctype declaration.
To do that I also needed to upgrade to latest SAX version.
Fixes #339

@mbarbieri Thanks, I will find someone to review this PR soon

@carlosmiranda this pull request is for you, please review

@mbarbieri Some comments above.

@carlosmiranda Some answers above.

@mbarbieri Some more comments from me

@carlosmiranda done

@rultor merge

@rultor merge

@carlosmiranda Thanks for your request. @yegor256 Please confirm this.

@mbarbieri one comment above

@yegor256 null removed

@mbarbieri I don't think this is a good idea... what if the document is not HTML5? we will lose it's doctype? there are many other options: https://en.wikipedia.org/wiki/Document_type_declaration I think we should think about something more generic and correct.

@yegor256 right... what about creating a:
class Document {
   public Document(Transformer t) {...}
   public Result transformUsing(Transformer t) {
    // check which type of document I am (html5 or something else)
   // and perform the transformation
  }
}

and set some parameter to the transformer (like indent) before passing it to the Document object?

@mbarbieri I'm not sure I understood you... can you explain better?

@yegor256 I mean that since SAX doesn't have any way (AFAIK) to simply check the doctype, the only way seems to be to try to parse it and see if it throws some exception.
So I was thinking to wrap the document in an object that can check its type by trying :disappointed:  and than transform itself with the proper doctype configured

@mbarbieri I still don't understand. if you think you can do it - go ahead and create a pull request. but be ready to see it rejected. if you don't know how to do it, just reject the task.

@mbarbieri Any updates here?

@mbarbieri I'd like to know if you have updates for us.

@mbarbieri If you're not continuing with this ticket please close the PR.

@mbarbieri @yegor256 can we close this now? I believe this is not going to be continued anymore...

@carlosmiranda I'm closing it

@ypshenychka please, let us know what do you think about this ticket, according to our QA rules

@davvd Quality is good here.

@davvd Quality is good here.

@ypshenychka thank you

@carlosmiranda I added 10 mins to @ypshenychka (for QA review) in transaction 64922685
paid, thanks, added 22 mins to your account, payment 64922695, 1990 hours and 29 mins was spent
you're getting extra minutes here (c=7)
+22 to your rating, your total score is +3874


Fix manual page spelling and formatting; fix PDF; fix README.md

Hi Lucas, I’ve made some changes to your repo that are desired by the KTANE community. Please accept this pull request and then update the mod on the Steam Workshop. We would all be very grateful. Thanks! :)

Hello Timwi,
Thank you for your contribution. It is very much appreciated! I looked at the changes and I will merge it into the repo. After this I will release it to the workshop.
Thank you for your help!


fix #36 responsiveness

It's normal to no not load nothing but the header, menu and the loading on the pages?
Anyway, I fixed the responsiveness on these components, and in the logo, that looks for the page width on load and set its font-size. I would do something better, but the react-jss seems to not have media query support.
Hope it helps :)

Hi @guilhermemarconi! Media queries are supported by react-jss. Here's an example from my portfolio.

Nice! I'll fix that :)

@NicholasLYang take a look, now :)

Great! Merged. Also the loading thing is just a temp. If you run the server then it loads the relevant data.


Update boilerplate/README.md

Description
After you Ignite a new app, there is a generated README.md - it's a bit outdated in terms of directory structure, what next steps are, etc. We should update this to be more helpful

Hello 👋🏻
I would like to help, if this issue is still relevant! On an initial look, I see Boilerplate.md file under docs folder seeming to have similar but more up-to-date content to generated README.md (Boilerplate.md updated a month ago). Would it make sense to port that over to generated README.md?

:tada: This issue has been resolved in version 10.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


confluent_schema and confluent_schema_registry_cluster should support compatibility mode configuration

Currently confluent_schema and confluent_schema_registry_cluster resources don't support compatibility mode configuration. It would be nice to have that option.

Thanks for creating an issue!
By the way, do you think it's a better idea to have a new compatibility_mode attribute for confluent_schema and confluent_schema_registry_cluster resources or have new confluent_schema_config / confluent_subject_config / confluent_schema_registry_cluster_config resources with (for now) compatibility_mode attribute (similar to confluent_kafka_cluster_config?

I think a confluent_schema_registry_cluster_config resource could make sense since the confluent_schema_registry_cluster seems to be a resource that could require more configuration options in the future while a schema does not.
For the confluent_schema resource i think its currently enough to add an attribute to the confluent_schema resource since i cannot imagine another config for a schema that would require a own confluent_schema_config resource

What about confluent_subject_config? I'm not sure TF Provider will ever support confluent_subject because of API limitations.

You could also add a confluent_subject_config resource.
But i'm not sure if its reasonable since you could simply put the compatibility_mode inside the confluent_schema resource or a the confluent_schema_config resource.
Could be confusing if you got a config for something you cannot create as a own resource since the subject is created using the confluent_schema resource. So why not configure it for the schema?

Thanks for the comment!
Actually when I took another look at docs I could find the following:

mode (on a cluster and a subject level) -- e.g., IMPORT, READONLY, READWRITE.
compatibility_level (on a cluster, on a subject level) -- e.g., BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, NONE.

After having a look into the linked docs and the api reference i think it makes sense to provide the confluent_subject_config and confluent_schema_registry_cluster resources to be able to configure the mode and compatibility_level

OK I started working on it and the final implementation will probably deviate a little bit from the initial suggestion we discussed. Most likely, we'll have 4 resources:

confluent_subject_mode
confluent_subject_compatibility_level
confluent_schema_registry_cluster_mode
confluent_schema_registry_compatibility_level

The reason is mode and compatibility_level API resources have separate API endpoints and we'd like to keep 1:1 relationship between TF and API resources -- otherwise we might run into edge cases like UPDATE mode request went through but UPDATE compatibility_level so the change could be applied partially which is something we'd like to avoid.

👋 @serhiimakogon @S1M0NM, we've just

Added new confluent_subject_mode resource and a corresponding data source in an Open Preview lifecycle stage (#155).
Added new confluent_subject_config resource and a corresponding data source in an Open Preview lifecycle stage.
Added new confluent_schema_registry_cluster_mode resource and a corresponding data source in an Open Preview lifecycle stage (#155).
Added new confluent_schema_registry_cluster_config resource and a corresponding data source in an Open Preview lifecycle stage.

in 1.24.0 version of TF Provider.


manual update to py38-linux-64.lock (#4480)

🚀 Pull Request
Description
This PR manually updates the py38-linux-64.lock based on the contents of GHA PR #4480 (which I've now closed)
This PR includes the recent changes (#4486) to address supporting the latest numpy 1.22.0 release.
There are failures to investigate here, due to the dependency updates... so this PR is a work-in-progress, but also mainly for transparency given the current iris 3.2.0 release efforts.
Failures to address:

iris.tests.integration.test_trajectory

[x] TestTriPolar.test_tri_polar
[x] TestLazyData.test_hybrid_height

iris.tests.unit.analysis.cartography.test_rotate_grid_vectors.TestRotateGridVectors

[x] test_angles_calculation
[x] test_angles_in_radians
[x] test_nan_vectors

iris.tests.integration.plot.test_vector_plots.TestBarbs

[x] test_2d_plain_latlon
[x] test_2d_rotated_latlon
[x] test_2d_plain_latlon_on_polar_map

Reference GHA PR #4507 (closed)

Consult Iris pull request check list

Additionally, we could choose to additionally pass the rounding=False kwarg to the following three barbs tests:

iris.tests.integration.plot.test_vector_plots.TestBarbs

test_2d_plain_latlon
test_2d_rotated_latlon
test_2d_plain_latlon_on_polar_map

This will counter the disparity in behaviour between Intel SVML supported and unsupported CPUs, but this would also mean updating the associated imagerepo.json entries and adding additional images to the test-iris-imagehash repo.
I'm not fussed either way, but it would have the advantage of a user with a local host with SVML support being able to run tests that pass independent of disabling the numpy AVX512...

Awesome, thanks @jamesp :beers:


Initialize Client with custom HTTP client, config, and backoff

Initializing a Client with a custom HTTP client always requires first creating a useless reqwest::Client in Client::with_config.
This adds a bit of useless overhead due to reqwest's  TLS/DNS functionality, which can be non-trivial for certain low-latency applications.
Would you be open to adding an additional method along the lines of?
impl<C: Config> Client<C> {
    /// Create client with your own HTTP client, config, and backoff
    pub fn build(http_client: reqwest::Client, config: C, backoff: backoff::ExponentialBackoff) -> Self {
        Self {
            http_client,
            config,
            backoff,
        }
    }

...

Great, just sent a PR #197.
During initialization, among other things, a reqwest client seems to initialize its TLS backend ref. In certain scenarios (at least for me: tiny VM with shared core + legacy backend), this seems to take a non-trivial amount of time. I observed ~30ms earlier this week. And with the current async-openai implementation, it wasn't possible to easily circumvent this dummy initialization.
Thanks!

I see, thank you for sharing!


Fixed Typo

Fixed size typo in Azure Redis cache section.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/best-practices/caching.md
:white_check_mark:Succeeded
View

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

Good catch, thanks!


fix bug: param for x-oss-process

 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.

Coverage decreased (-50.7%) to 40.567% when pulling d05687fdd7ea7b59ceae5a1f2c1a776930cfbf65 on ymhhh:master into 36bf7aa2f916f274137aedd05d1d36f6a3c0f4a6 on aliyun:master.


Nice job on the updates

Hope you are doing well, just saw some of you new updates, very cool.  I am actually working on re-writing my site.  I found some cool code that does some neat tile stitching.  I currently have tile stitching implemented in my site but this guy does it in a better way.  You seem to be very good at the math which I am not.  I was wondering if you have time could I ask you some questions. Here is my current code  https://github.com/delebash/unreal_map_bridge.  He has some calculations with hard coded values such as 1080 and 1081.  If you look at the app.js and find the function toHieghtmap see comment     // in heightmap, each pixel is treated as vertex data, and 1081px represents 1080 faces.
// therefore, "1px = 16m" when the map size is 17.28km
The 17.28km is specific to Citiy Skylines as noted here https://skylines.paradoxwikis.com/Maps.  I don't really understand how 1080 and vmapSize, work in creating the heightmap.  For Unreal we need to be able to set a heightmap size to different sizes such as 2017x2017.  Another thing I do not understand is the Bitwise operator at the end of function convertHeightmap how it converts 65535 to 255.  If you have the time I would appreciate the help.  Maybe we should just work on one map app that we both can add features to.  Let me know what you think. TY and Cheers!
Little video explaining my problems.  https://youtu.be/4Ln9UyFGIbM  TY

It looks like vmapSize refers to the size of the 9x9 grid in the coordinate reference frame of the map (or WGS84, if that is what Turf.js is using), so 18.144km. I think they are using this value as part of a scaling operation (the 1.05 you refer to in the video) to conform to the cities skyline map size of 17.28km, but it's hard to say. It seems that since the website defaults to a grid that matches gameply in Cities Skylines, this adjustment is a convenience that avoids some issue with just creating a grid based on 17.28km. Perhaps the pixel dimensions using vmapSize are more convenient to work with.
The bitwise operations seem to be storing the 16bit height value into two 8bit channels, allowing the Cities Skyline engine to represent a greater range of height values within the limitations of the engine. I don't think this applies to Unreal Engine, or Unreal Engine handles that conversion itself on import. Again, I don't know for sure. You should try and remove that step at some point.
It seems what you'd like to do is select multiple tiles (or use a drawn rectangle) and download encompassed tiles from a certain zoom level (i.e. resolution) that gives the detail you want for your area. An easy example for what I mean would be selecting the single tile at zoom 0, choosing zoom 1 as your resolution, and getting back the four tiles that exist for the world at zoom 1.
Working on this easy example, here is a function that returns all tile URLs from Mapbox at a specified zoom level that are encompassed by a lower-zoom-level tile (not tested):
function getEncompassedTilesURLs(tileX, tileY, zoomLevel, higherZoomLevel, mapboxToken) {
  const zoomDiff = higherZoomLevel - zoomLevel;
  const tileSize = Math.pow(2, zoomDiff);
  const encompassedTiles = [];

  for (let x = tileX * tileSize; x < (tileX + 1) * tileSize; x++) {
    for (let y = tileY * tileSize; y < (tileY + 1) * tileSize; y++) {
      const tileURL = "https://api.mapbox.com/v4/mapbox.terrain-rgb/${higherZoomLevel}/${x}/${y}@2x.pngraw?access_token=${mapboxToken}";
      encompassedTiles.push(tileURL);
    }
  }

  return encompassedTiles;
}

You could replace the "click tile and download that tile" logic in your project with "click tile and download all encompassed tiles for your desired zoom level". You would want to limit the allowed delta between the encompassing tile's zoom level and the desired resolution zoom tile of course, I would stick to 2 in difference between the encompassing tile's zoom level and the desired zoom level. That would return 16 URLs for a total heightmap size of 8192 x 8192.
You then need to stitch these tiles together into a single heightmap. In my easy example above, the stiched 4-tile heightmap would be of size 1024x1024 (terrain-rgb tiles from my library are downloaded at 512x512). They seem to have the logic for that in the Cities-Skylines-heightmap-generator project, but the scaling and other Cities Skyline-specific stuff needs to be removed.
Also, the bilinear interpolation they are doing is probably to smooth out the height maps. The terrain-rgb tiles have integer height map values instead of floats, so they create a step-like pattern. The interpolation helps alleviate this. They also do some sea level stuff it seems, that appears to be specific to that game.
I would keep things simple for now: try to get the "select a tile and download higher zoom level tiles" functionality working, then the logic for stiching those tiles into a single heightmap working. From there, it's just a matter of how to set things up to scale properly in Unreal. This is a hard problem...I can see why terrain-party went with using SRTM data.
I could be wrong about a lot of these details, but I think overall, your questions pertain to stuff in that project that is specific to Cities Skylines. As for working together, my time is pretty slammed with work and family. If you have specific problems and you want me to take a stab at a pull request, I can try...but no promises.

Yep  removing the Cities stuff is what I am working on. The main reason for using this was the tile stitching method.  Do you have a method for stitching the tiles together.  Thank you for the download method.  So if I can get an array of data the same that we currently get except that it is an array of stitched tiles then would be awesome.  TY.

Oops, looks like the bilinear interpolation is due to them setting a custom resolution. I've forked your repo and can take a stab at a few things when I can.

Thank you so much!


Allow top level attribute manipulations.

Say you have a top level (not within a tag file) component like this:
<my-input-text id="example" preicon="icon-facebook" placeholder="Example here"></my-input-text>

When I try to modify an attribute, say placeholder, and update, nothing happens, because tag instance's opts are overridden with the old attributes every time it updates.
This is so attributes with expressions can be correctly updated. However, this prevents top level attribute modifications. Mounting with opts is a solution, but it is impractical if there are many small top level components. Users should be able to modify top level components' attributes through Riot.
This PR recognizes if an attribute contains expressions or not, and only override when it does contain expressions, otherwise, it will update the opts from DOM attributes.

@sethyuan could you write also a test for this new feature please?

@GianlucaGuarini, done.

@sethyuan thanks


Execution time for Julia is reported incorrectly

If I execute:
./benchmark --languages=C,Julia

I get the following result:
| Lang-uage | Temp-lated | Check Time [us/fn] | Compile Time [us/fn] | Build Time [us/fn] | Run Time [us/fn] | Check RSS [kB/fn] | Build RSS [kB/fn] | Exec Version | Exec Path |
| :-------: | ---------- | :----------------: | :------------------: | :----------------: | :--------------: | :---------------: | :---------------: | :----------: | :-------: |
| C         | No         |    2.1 (best)      |    2.0 (best)        |    3.0 (best)      |    124 (best)    |    0.4 (best)     |    0.7 (best)     | 0.9.27       | tcc       |
| C         | No         |   10.5 (5.1x)      |  290.8 (144.7x)      |  292.1 (95.8x)     |    611 (4.9x)    |    4.3 (10.0x)    |   22.4 (33.3x)    | 9.3.0        | gcc       |
| C         | No         |   12.0 (5.8x)      |  296.7 (147.6x)      |  294.9 (96.7x)     |    158 (1.3x)    |    4.3 (9.9x)     |   22.4 (33.3x)    | 9.3.0        | gcc-9     |
| C         | No         |    7.5 (3.7x)      |  282.0 (140.4x)      |  265.9 (87.2x)     |    147 (1.2x)    |    3.5 (8.1x)     |   21.6 (32.2x)    | 10.3.0       | gcc-10    |
| C         | No         |   24.6 (12.0x)     |  132.9 (66.1x)       |  127.4 (41.8x)     |   1219 (9.8x)    |    6.2 (14.3x)    |   18.3 (27.2x)    | 10.0.0-4     | clang-10  |
| Julia     | No         |    N/A             |    N/A               | 20331.1 (6668.5x)  |    N/A           |    N/A            |   68.5 (101.9x)   | 1.6.1        | julia     |
| Julia     | Yes        |    N/A             |    N/A               | 16652.0 (5461.8x)  |    N/A           |    N/A            |   61.7 (91.9x)    | 1.6.1        | julia     |

So for the Run Time we get the result N/A.
If I run Julia from the command line and execute:
julia> @time main()
  0.000000 seconds
495802636

So the the execution time is zero, because the result is already calculated during compile time using constant propagation.
This means in the result table you should also report zero run time.
Or modify the test code so that full constant propagation is not possible.

The constants in the generated code are randomized with a seed depending the current time and date. See https://github.com/nordlow/compiler-benchmark#compiler-object-caches for details.

It should be possible to use PackageCompiler.jl to compile the code, and then run it separately.


Allows remote runbooks to be included and executed

We wondered if it would be possible to realize new scenarios and more value-added features by leveraging the runbooks available on github and adding another runbook. We thought it would be possible to realize new scenarios and more value-added functions by adding another runbook.
Since security can now be guaranteed with the addition of scope, we thought we could proactively utilize external runbooks. We imagined that in the future, the runbook could be used as a simple BFF that summarizes operations for multiple APIs.

runn can still run remote runbooks, but is that different from its features?
$ runn run github://k1LoW/runn/testdata/book/include_vars_main.yml --scopes read:remote

The following is an image.
desc: Include vars (main)
vars:
  intNumber: 54321
  strNumber: "12345"
  boolFalse: true
  strFalse: "true"
steps:
  -
    include:
      # Include remote runbook
      path: github://k1LoW/runn/testdata/book/include_vars_included.yml
      vars:
        # .. snip ..

Perhaps the failure to run that runbook is simply a bug 💦

Thank you for fixing this bug so quickly!


How do I create tables with this?

The example given in the readme doesn't create new tables and so will error out.
This is my test

from nameko.rpc import rpc
from nameko_sqlalchemy import DatabaseSession

from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String

DeclBase = declarative_base(name='testbase')

class ExampleModel(DeclBase):
    __tablename__ = 'example'
    id = Column(Integer, primary_key=True)
    data = Column(String)

class ExampleService(object):
    name = "example_service"
    session = DatabaseSession(DeclBase)

    @rpc
    def init_service(self, name):
        obj = ExampleModel(data=name)
        self.session.add(obj)
        self.session.commit()
        return "Hello, {}!".format(name)

When launching using nameko run service --config=service.yaml and sending a message it just errors
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: example [SQL: 'INSERT INTO ex│ 11     data = Column(String)

So how do I create the tables?

Creation of the tables is outside the scope of running a nameko service, the same way django's manage.py runserver will throw an error if you've not created the database prior.
You can do it any way that makes sense for your application. The tests for nameko-sqlalchemy do it with the declarative base (https://github.com/onefinestay/nameko-sqlalchemy/blob/master/test/test_nameko_sqlalchemy.py#L135). You might prefer to use a migration toolkit like alembic or sqlalchemy-migrate.

Sorry to turn this into my own personal support thread (down to my poor knowledge of SQLAlchemy)
But in the existing ExampleModel how would I get the current SQLAlchemy session, in the ExampleModel? Do I have to pass the session into the class?

I'm not sure I understand the question. Models are declarative -- they're not really aware of sessions.
If you have a model instance that is bound to a session, but you somehow don't have a reference to that session, you can use object_session to get it, but in the context of nameko I'm not sure how you'd end up in that situation.
What are you trying to achieve?

This is my fault, I was creating an in memory SQLite database, which in a multiprocess model was pointless.


Source request: nettruyen

Source information
Source name: NetTruyen
Source language
Vietnamese
Source new URL
https://www.nettruyenclub.com/
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL is not updated yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

Added by #29


Fixes #154: cannot render emoji inside a table

With the default black list, node.tagName.match(elementsBlacklist) returned Array['A'] for a table element.
Now it returns null, the correct answer.
Another modification, I used the constant node.ELEMENT_NODE from MDN.

This should be merged, especially the current blacklist matches any tag with an A, for example TABLE, see also https://github.com/Ranks/emojify.js/issues/154


The .bashrc file is not working when not in interactive mode

.bashrc has a short-circuit clause at the start, so whenever we are not using -it the initialiation bash process will not start, resulting to missing nvm etc..
Find another way to initialize the --login shell properly.

Resolved by #3


Proposal for Consideration

Hello, I’ve been following your work and I’m really impressed! I have a proposal to discuss. Please get in touch.
Telegram: @vereckel1
Discord: vereckel
WhatsApp: +44 7341 822373

Spam


Window Caption Options

This PR Closes #373 and adds the ability to create additional window caption buttons using the WindowCaptionOptionWidget.  The WindowCaption widget now accepts a List<Widget>? as additional options. While any widget can be added to this list a new WindowCaptionOption widget has been provided to maintain a consistent style.  To begin using window caption options see the example below:
child: WindowCaption(
  options: [                            //Add a list of option widgets
    WindowCaptionOption.icon(() {       //Add one or many options
     toggleDarkMode();                  //execute logic, in this case we are toggling the theme brightness
    },
    darkMode                            //and changing the Icons displayed state using the current mode
    ? Icons.dark_mode_outlined
    : Icons.light_mode),
  ],
),

This widget will be a separate package in a future version. Now, you can copy the code of this widget to your project for customization.


Enthusiasts can see all Notes

This is where they see Notes but the Notes are not associated with a Brewery.


Add task that automatically skips tests for exceptions

A configuration file determines which tests can be skipped. The task introduced in this commit reads the config and applies labels if test exception matches with submitted operator.
JIRA: ISV-4382

apply-test-waivers

That makes sense. I changed the name based on your suggestion. Thanks!


How to integrate ViT in Networks?

I want to use Huggingface's  ViTForImageClassification. How do I integrate it in FACIL?  I want to load the pretrained model
'google/vit-base-patch16-224'. I have read the instructions to add networks in readme of networks. However I am still not sure how to implement it. How do I set "self.head_var = 'fc'" when head is changed  by "model.classifier = nn.Linear(768, num_classes)"?  How exactly will a class even be created in this case?

Not sure I understand which is the exact issue. If the pretrained model has a head called classifier, you just need to define self.head_var = 'classifier' and it should be removed. Not self.head_var = 'fc' because there is no layer called fc.
If you want, you can also remove the head directly from the pretrained model and use the argument --keep-existing-head (even though you removed it) so that nothing else is removed.


Update actions/checkout from 2.3.5 to 2.4.0

We already have PRs from dependabot so this is just to track the operator-template

Duplicate of #2


Test package collides with stuff from other libraries

Hi Roshan,
I have downloaded and installed the SpaceEZ 1.0.0 platform from github.
I am not able to run the code unless I create/link a file named pkg_level_logging.conf.
Here is error message:
subratam-mbp15:py-space-apps subratam$ python ./device_mgmt.py --dev-cmd rpc
Traceback (most recent call last):
File "./device_mgmt.py", line 1254, in
sys.exit(main())
File "./device_mgmt.py", line 1189, in main
deviceManager.login()
File "./device_mgmt.py", line 135, in login
self.space = rest.Space(url, user, passwd, use_session=True)
File "/Library/Python/2.7/site-packages/jnpr/space/rest.py", line 131, in init
self.login(required_node)
File "/Library/Python/2.7/site-packages/jnpr/space/rest.py", line 421, in login
from jnpr.space import connection
File "/Library/Python/2.7/site-packages/jnpr/space/connection.py", line 26, in
standard_library.install_aliases()
File "/Library/Python/2.7/site-packages/future/standard_library/init.py", line 482, in install_aliases
import test
File "/Library/Python/2.7/site-packages/test/init.py", line 21, in
logging.config.fileConfig('./pkg_level_logging.conf')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py", line 70, in fileConfig
formatters = _create_formatters(cp)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py", line 106, in _create_formatters
flist = cp.get("formatters", "keys")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'
subratam-mbp15:py-space-apps subratam$
Here are my import statements:
import sys
import traceback
import re
import os.path
from pprint import pprint, pformat
from lxml import etree
import tempfile
import difflib
import subprocess
import ConfigParser
import time
import requests
import urllib
import logging.config
from jnpr.space import rest, factory, async, resource, xmlutil
Please let me know if configured something wrong.
Thanks.
—
Subrata

Fixed via commit ee43f20a0d7d6ea1136d61f7777c4cf96eddf74d


Error when running npm install

Hi @Alabate,
Great work, really nice package ;)
I seem to be getting an error when trying to npm install.
Any suggestions on how I can overcome this?
I am running Node v6.10.0 and npm 3.10.10
[~/Desktop/freefare]$ npm install --save freefare

<EMAIL_ADDRESS>install /Users/user/Desktop/freefare/node_modules/freefare
node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
CXX(target) Release/obj.target/freefare/src/addon.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
In file included from ../src/addon.cpp:1:
../src/device.h:8:11: fatal error: 'nfc/nfc.h' file not found
#include <nfc/nfc.h>
^
1 warning and 1 error generated.
make: *** [Release/obj.target/freefare/src/addon.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/user/.nvm/versions/node/v6.10.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/Users/user/.nvm/versions/node/v6.10.0/bin/node" "/Users/user/.nvm/versions/node/v6.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/user/Desktop/freefare/node_modules/freefare
gyp ERR! node -v v6.10.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/user/.nvm/versions/node/v6.10.0/bin/node" "/Users/user/.nvm/versions/node/v6.10.0/bin/npm" "install" "--save" "freefare"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the freefare package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs freefare
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls freefare
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/user/Desktop/freefare/npm-debug.log
[~/Desktop/freefare]$

I am using macOS and trying reinstalling libfreefare using Homebrew, I got a different output error this time:
[~/Desktop/freefare]$ npm install --save freefare

<EMAIL_ADDRESS>install /Users/user/Desktop/freefare/node_modules/freefare
node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
CXX(target) Release/obj.target/freefare/src/addon.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
1 warning generated.
CXX(target) Release/obj.target/freefare/src/freefare.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
1 warning generated.
CXX(target) Release/obj.target/freefare/src/device.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
1 warning generated.
CXX(target) Release/obj.target/freefare/src/tag.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
1 warning generated.
CXX(target) Release/obj.target/freefare/src/tag_mifareultralight.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
1 warning generated.
CXX(target) Release/obj.target/freefare/src/tag_mifareclassic.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
../src/tag_mifareclassic.cpp:319:27: warning: private field 'block' is not used [-Wunused-private-field]
MifareClassicBlockNumber block;
^
../src/tag_mifareclassic.cpp:320:11: warning: private field 'amount' is not used [-Wunused-private-field]
uint32_t amount;
^
3 warnings generated.
CXX(target) Release/obj.target/freefare/src/tag_mifaredesfire.o
In file included from :355:
:8:9: warning: '_FILE_OFFSET_BITS' macro redefined [-Wmacro-redefined]
#define _FILE_OFFSET_BITS 32
^
:7:9: note: previous definition is here
#define _FILE_OFFSET_BITS 64
^
../src/tag_mifaredesfire.cpp:156:10: error: use of undeclared identifier 'htole32'
aid = htole32(aid);
^
1 warning and 1 error generated.
make: *** [Release/obj.target/freefare/src/tag_mifaredesfire.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/user/.nvm/versions/node/v6.10.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/Users/user/.nvm/versions/node/v6.10.0/bin/node" "/Users/user/.nvm/versions/node/v6.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/user/Desktop/freefare/node_modules/freefare
gyp ERR! node -v v6.10.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/user/.nvm/versions/node/v6.10.0/bin/node" "/Users/user/.nvm/versions/node/v6.10.0/bin/npm" "install" "--save" "freefare"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the freefare package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs freefare
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls freefare
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/user/Desktop/freefare/npm-debug.log

Hi,
For your first message, It seems that your system was missing nfc/nfc.h which is LibNFC. When you install LibFreefare first, which should install LibNFC as a dependency.
For your second error, your system complains about missing htole32(), which is a linux-specific function that convert endianness.
I will try to fix it on another branch, so you can the fix :)

Thank you so much! :)

Ok, you can try to use the new branch by replacing the freefare entry in your package.json by
    "freefare": "Alabate/node-freefare#bugfix/4-mac-compatibilty"

Thanks @Alabate,
I've replaced the entry and completed the npm install :)
There were a few warnings but it doesn't seem like anything to lose sleep over :)
Appreciate your time and assistance!

Perfect, thank you for your issue :)
I've released this modification on NPM. You can put back the original entry in your package.json.
Feel free to post a new issue if you have any other problemes!


how many landmark points your algorithm can detect

Great project!
It's 5 points or 68 points?
Also could you provide binaries for x86?

@CFAndy 68 points. Only provide ARM32 and ARM64 binaries, there is no plan on x86 platform (Linux).


Issue 3: Duplicate Items Can Be Added to Todo List

The current implementation does not check for duplicate entries in the todo list, which results in allowing multiple identical items to be added.

@cn10xdev Hello, I would like to work for you. Can you assign it to me please :< ?

@cn10xdev - Fixed. PR has been raised. Please review and update.

@cn10xdev - I have already fixed this issue and raised a PR. Please review and update.

Hi @cn10xdev I am currently working on this issue. Please  assign it to me.

Hi @cn10xdev The PR has been raised, please do review it.


No confirmation after handover of the values

can it be that the values I pass to a controller, for example, are not confirmed by the adapter?
When I pass a value for the controller of my heating, it remains red. I checked with LCN pro and the value arrived there correctly. Should not this value then be confirmed by the adapter and become green?

Hi it should become green for a short time and switch back to red.