Error while i try to run wiegand.py  to read 35 bit hid card on raspberry pi

pi@raspberrypi ~/Downloads $ sudo python wiegand.py
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can't connect to pigpio at localhost(8888)
Did you start the pigpio daemon? E.g. sudo pigpiod
Did you specify the correct Pi host/port in the environment
variables PIGPIO_ADDR/PIGPIO_PORT?
E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888
Did you specify the correct Pi host/port in the
pigpio.pi() function? E.g. pigpio.pi('soft', 8888))
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Traceback (most recent call last):
File "wiegand.py", line 128, in
w = wiegand.decoder(pi, 29, 32, callback)
File "/home/pi/Downloads/wiegand.py", line 56, in init
self.pi.set_mode(gpio_0, pigpio.INPUT)
File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 1119, in set_mode
return _u2i(_pigpio_command(self.sl, _PI_CMD_MODES, gpio, mode))
File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 914, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'

There is a message at the top of the listing.  You need to read it and take note.
If there is an actual error I need details of the error.

pi@raspberrypi ~/Downloads $ sudo python wiegand.py
Traceback (most recent call last):
File "wiegand.py", line 128, in
w = wiegand.decoder(pi, 32, 29, callback)
File "/home/pi/Downloads/wiegand.py", line 56, in init
self.pi.set_mode(gpio_0, pigpio.INPUT)
File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 1119, in set_mode
return _u2i(_pigpio_command(self.sl, _PI_CMD_MODES, gpio, mode))
File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 901, in _u2i
raise error(error_text(v))
pigpio.error: 'no permission to update GPIO'

Please read the documentation.


Tidy up module.

Converted to ES6.
Replaced tape with ava.
Update build environment.
Minor performance increase; no longer compares container
nodes that have less than two nodes.

https://github.com/ben-eb/postcss-discard-duplicates/commit/be5958049b8502592caea0e94048ca6f41b07ce6


supppress unused variable warning for recent gcc

gcc7.2 complains with:
'stacktraces_enabler' defined but not used [-Wunused-variable]
static int stacktraces_enabler = []() {

LGTM. Thanks for the PR. I will run a quick sanity check internally and merge this.


Ensure time units used in AMQP(S) URIs are correct

From https://github.com/rabbitmq/rabbitmq-server/issues/1015:
When creating a federation upstream, in the uri if connection_timeout amqp param is added it needs to be in milliseconds not seconds according to the documentation.  This was found in 3.4.3.

Example
amqp://user:password@SERVER?heartbeat=10&connection_timeout=10

should be

amqp://user:password@SERVER?heartbeat=10&connection_timeout=10000

There are three problems here:

Heartbeat is required to be in seconds per spec
Connection timeout doesn't have this restriction
Backwards compatibility

therefore we might end up only updating the docs. But Erlang client/Shovel/Federation changes would also be considered.

THANKS!


[Feature Request]: Ctrl+A should select all lines inside the Logging tab on a workflow/pipeline

What would you like to happen?
pressing Ctrl+A should select all lines inside the Logging tab on a workflow/pipeline. Then you can press Ctrl+C to copy all lines as normal.
Issue Priority
Priority: 3
Issue Component
Component: Pipelines, Component: Workflows

.take-issue


Bug: [graills 6.2.1 unusable in ubuntu 24 wsl2]

Bug report

The command grails -version returns an issue of buid executable architecture
To reproduce

sdk install java 11.0.25-tem
sdk install grails 6.2.1
grails -version
or
sdk install java 17.0.13-tem
sdk install grails 6.2.1
grails -version

The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.

System info

OS : Ubuntu-24.04 WSL2
shell : bash 5.2.21
sdk version:

SDKMAN!
script: 5.18.2
native: 0.4.6

You seem to have opened the issue in the wrong place. Currently git only contains the frontend code for the sdkman client.

The current issue should be opened at https://github.com/sdkman/sdkman-db-migrations , and resolving such an issue only requires a PR like https://github.com/sdkman/sdkman-db-migrations/pull/709 .

Hi @joelBrun,
This is not a bug or even an issue with SDKMAN but rather with Grails. All we do is download the Grails zip archive from their web page onto your machine and unpack it. We don't modify the SDK or even cache it. I suggest you raise an issue with the Grails team to see if they can help you.
Closing this issue in accordance with the contributing guidelines linked below.


Support duration type of fields in config panel

Please describe the feature that you want to propose
Currently, duration types are not supported, only the name of the field is displayed but it is not possible to define it.
This is a common type, used for instance for period on timer. See https://camel.apache.org/manual/faq/how-do-i-specify-time-period-in-a-human-friendly-syntax.html
Ideas to split in iterations:

Provide a text field
Provide a tooltip on/close to the text field
Provide validation on the text field. The Camel Catalog is providing api to validate duration
Provide a specific widget

Assigning it to @Delawen since she has more knowledge about where is this coming from.

For context, this issue it's because from the duration type gets translated into object for the UI, and then there's no mechanism in place to infer what it's the actual type.
https://github.com/apache/camel/blob/main/components/camel-timer/src/generated/resources/org/apache/camel/component/timer/timer.json#L34

According to the link that @apupier provided, it might be beneficial to treat the duration type as string, to be able to handle inputs like 45m, 30s, etc...


Getting Yak list failed

First of all, thanks for the comprehensive package and nice documentation. I was trying to run your example code, but after this line:

user = User(exeter, "21C6CA60E3AA43C4B8C18B943394E111")
, I get the following error:
raise ParsingResponseError("Getting Yak list failed", raw_data)
ParsingResponseError: Getting Yak list failed
Response:
Do you know what causes that? I tried different UserIDs too. But, it didn't help.

Thanks.

Sorry, there were some errors with the new version of YikYak. Problem should be fixed now.

Unfortunately, I still face the same problem.

Yeah, actually it's happening for me too, now... will try to fix this when I get a chance

Hi XiziR,
Sorry for replying so late, not sure if you're still interested. I just fixed the issue. You need to keep randomizing the user agent in order for it to work. I have enable user agent randomization and Yaklient seems to be working for me. Let me know if it is working for you now. :)

Sorry for replying this late. I missed the notification of your comment. I have to install the package again and give it a try. Anyways, thanks for your time and support.


No such image when the container is running on ECR registry on SWARM with amazon-ecr-credential-helper

Bug description
I have docker swarm cluster with private ECR registry on ec2 authenticated via IAM role. amazon-ecr-credential-helper installed which allows to not login into docker for pull any image from the registry. The ECR registry added to the portainer.
the config.json in the .docker is that:
{
"credsStore": "ecr-login"
}
Portainer works well, but sometimes if the container is failed, it is trying to restart on another node and it can be rejected by the scheduler with the error 'No such image'.
At the same time I can ssh to the node and do docker pull. After that the Portainer can access any image until the next credentials rotation.
So it seems that Portainer does not work with ECR properly.
Expected behavior
I do not expect to get 'No such image'.
Portainer Logs
Steps to reproduce the issue:

Run the stack in SWARM in EC2 with ECR.
Wait from one to four weeks.
One or more services will rejected during restart or update with 'No such image'

Technical details:

Portainer version: 2.18.1 (but I've seen this error many times during the last year on all older versions as well.
Docker version (managed by Portainer): 20.10.13
Kubernetes version (managed by Portainer): -
Platform (windows/linux): linux
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer):
Browser: n/a
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
I saw many similar discussions in the internet. Is there any solution?

@jaguraphg
Thank you for the information.  I am going to further investigate.  I will update you as I learn more.
Thanks!

Hi, any update on this?

@jaguraphg
I have been wworking on this.  I will update you as I learn more.
Thanks!

Same issue here. I had to re-deploy my portainer agent stack adding --with-registry-auth, and it was solved.
docker stack deploy --with-registry-auth --prune -c portainer.yml portainer

Might be related to #2607

Same issue. Re-deploing portainer agent stack with --with-registry-auth wasn't resolve it.

Same issue. Any updates?

I had a similar issue and solved it.
If amazon-ecr-credential-helper doesn't work for you, try pulling and pushing once on the ecr you want to get the image from.
(docker pull or docker push)
It seems that when you do a docker pull or push, amazon-ecr-credential-helper will issue a docker token so that docker swarm can pull the ecr image.
I'll share the AWS site that helped me below.
https://aws.amazon.com/ko/blogs/containers/amazon-ecr-credential-helper-now-supports-amazon-ecr-public/
I hope this helps you in some way.

Same Issue here. At the current state portainer is unusable with aws container registry.


Add gitignore

Adds gitignore from main repo.

Did not intend to merge it without CI run and approval, seems like clicking auto merge just skipped everything.


biogenic mineral (CHEBI_64391) heirarchy is logical inconsistant

A biogenic mineral (CHEBI_64391)  is_a mineral (CHEBI:46662)
mineral  (CHEBI:46662)
Def’n: A mineral is a naturally occurring substance formed through geological processes that has a characteristic chemical composition, a highly ordered atomic structure and specific physical properties.
biogenic mineral (CHEBI_64391) Any mineral formed by life processes.
Thus biogenic mineral (CHEBI_64391) cannot be a mineral (CHEBI:46662) as defined above.

Thanks for letting us know. I have now updated the definition of both terms, based on the recommendations of the International Mineralogical Association.


Can I add background music to a video mp4 (Video + sound + music)

Hi Everyone, Can I add a background music to a video mp4? I want to keep both background music and mp4 sound. Thank you.

hi, do you resolve it's question ? and I have the same problem , do you have any idea to share?

To add audio to a video file, it will require you to encode the video and audio. AFAIK it is not possible with this library. You can look into FFmpeg or if you are worried about performance, you can look into MediaCodec.


feat: keep specific suffixes

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feature: allow comparing exit codes

took a stab at #9
I figured I wouldn't  make exit code a dependency on comparing errors

Thanks!

Released in 0.7.0.

Cool thanks @weirdan ! Appreciate the helpful package


[Feature] Expose request parameter in CallBuilder

Component
contract
Describe the feature you would like
Make request parameter in CallBuilder public.
https://github.com/alloy-rs/alloy/blob/7a5587e479b7310cfb6407b64d1dcf4e23847858/crates/contract/src/call.rs#L189-L200
This would allow adding extension traits allowing to modify the underlying request.
Additional context
I built lib for interacting with SUAVE though alloy and would like extend functionality of the CallBuilder.
SUAVE has special requests that take a unique parameter ConfidentialInputs which should ideally be added once the request is formed, like so:
let call_builder = contract.queryLatestPrice(ticker)
            .with_kettle_address(provider.kettle_address().await?)
            .with_cinput(Bytes::new())
            .with_chain_id(0x1008c45)
            .gas(0x0f4240)
            .nonce(nonce);

Here you can find the SuaveCallBuilderExt and the test. The test passes with a fork of alloy where CallBuilder exposes request.

Also, I am open to other ways of achieving similar results.

Can do a PR, but just wanna check this is ok and there are no other ways


Difference Between ChimpNNoIndex and ChimpN?

Hi, thanks for your code ! I would like to ask what  does ChimpNNoIndex mean ?
It's compression ratio is higher, but what is the main difference between it and ChimpN?

if my memory serves me right ChimpNNoIndex considers the use of the best value out of the last N encountered, whereas ChimpN uses a ring buffer to quickly select the most recent value with an identical trailing part out of the last N values encountered. This means that ChimpNNoIndex has a slightly better compression ratio (negligible) at the cost of XORing with all N values instead of a single one (which translates to significant computation overhead).

Okay, I understand. Thanks for your reply!


Battle rules broken if in a battle on server shutdown.

If the server goes down during a battle that used battle rules, this screen will come up upon joining every time

This should be forwarded to https://www.pixelmonmod.com/tracker.php?p=2 with updated information!

Closing. Please forward to Pixelmon if still an issue.


Fixing some simple documentation based on issue #115 feedback

Fixing the Webping port in the documentation
Fixing the UI port in the documentation

Coverage remained the same at 71.179% when pulling 51d7109bf0a6cc6d33b28d9abd7579c46edfa8e3 on docs-problem-#115 into 177db23c78c04b2d86facf07838d059026dafc00 on develop.


Will RVA23 include Zbkb and/or Zbkx?

I noticed that vector crypto is optional in RVA23. This was curiously mentioned alongside "removing" scalar crypto. Does this mean that the vector crypto extension does not imply the scalar crypto extension?
In either case, does the scalar crypto, or the vector crypto extension imply either Zbkb or Zbkx?
Does the vector crypto extension imply the vector versions of these?

Vector crypto does not imply scalar crypto.
The specific extension implications are in the specs.


⚠ Bofrost.de has degraded performance

In 667f019, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1989 ms

Resolved: Bofrost.de performance has improved in 2754004 after 2 hours, 12 minutes.


Reduce App Size with API to Send Requirement Data to Clients

All of our requirement computation is done on the front-end. In order to build the requirement fulfillment graphs, our app needs to know which courses will count for which requirements. Currently, we use a script req-gen to take the information from our major, minor, and colleges typescript files (see cs.ts for an example), determine which courses fulfill the requirements in those files, and put all that information into a big JSON file: decorated-requirements.json. This JSON has a mapping from every requirement we handle to a list of courses that fulfill that requirement. As a result, it's quick to determine if a course fulfills a requirement on the front-end.
However, this JSON is incredibly large—currently 4.83 MB. The information in this JSON gets directly embedded into our compiled javascript script used to run the vue app. The entire JSON is basically verbatim in that file. When a user goes to courseplan for the first time, the browser has to download this file, which ends up being about 6 MB with the code used to run the vue app (see the screenshot at the bottom of this issue).
It's unnecessary to send the entire JSON to every client because the client only needs information about the requirements relevant to a user's majors, minors, and college. Most of the information in the JSON is unused by a given client since the client will only ever check the data for the user's necessary requirements. For example, a user who is majoring in computer science does not need to know which classes will fulfill the requirements for a history major. We should try to avoid sending unnecessary information because it slows the website load and requires the browser to store extra data.
Each client only needs to know about the requirements relevant to its user. So, we should only provide the necessary information. It's impossible to know what information each user needs before the user loads the website, so we must wait for the user to open courseplan before sending the data. This requires a backend and API for our front-end to use, and we can create this without too much additional setup with Firebase Cloud Functions since we already use Firebase for hosting our app. We can create a cloud function that responds to an API request from a client with the information about only the user's requirements. See this website about creating a function that's callable from your app. We can secure the function and prevent abuse with App Check. I believe that we could also only secure the function to only accept requests about a user's requirements if it's coming from the user, but it might just be easier to take in the desired requirements as a parameter for the function instead of searching through Firestore to determine which requirements should be sent. On the first load of the app and every time the user updates their college/majors/minors, we could resend this information. We could only send information for the new college/majors/minors if we wanted, but we can consider that optimization later.
This cloud function could "filter" the large JSON on the backend and send only the relevant information, or we could skip the creation of a JSON at all build on the requirement-json-generator.ts script to find the courses that fulfill the requested requirements on the fly. The latter would allow us to modify the .ts data files directly without having to run req-gen every PR, but it might be slower than the former. We can try both and see which is faster. Either way, sending only the relevant information from a backend would allow us to send significantly less data to the client. As a result, we become freer to improve our requirements data structure to handle more cases, such as majors whose requirements differ by year and more edge cases, without having to worry about the size of our JSON. Overall, we'll hopefully have a better user experience because of a smaller web app and more flexibility to handle every requirement without worrying about slowing the app further.

Files sent to the client

Size of index.js

See our old backend here: https://github.com/cornell-dti/course-plan-requirements


Updating dependencies and fixed eslint warnings.

For now closing this until I figure out why it is failing.


convert-di-to-inject schematic reformats code

There seems to be a significant re-formatting of unimpacted parts of the code when using the convert-di-to-inject schematic.  How do you prevent this from happening?
One of the worst reformats is this:
@Output() public change = new EventEmitter<TaskState<DocumentationTask>>();
Becomes:
@Output() public change = new EventEmitter<
    TaskState<DocumentationTask>
>();

Which then fails if you use the output schematic to covert to the new output format because it does not recgonize the multiple line EventEmitter, resulting in:
public change = output();

The code link for inject() Migration leads to a 404.

I can't reproduce this in tests 😅

Hello @jinder
In this release https://github.com/angular/angular/releases/tag/18.2.0-next.2 Angular added official support for inject migration. I'd recommend to try to run that migration too in your project and if there are issues, please open them in the Angular repo.
I will be closing the issues regarding migrations in ngxtension which are now directly supported in the fwk.


Entering story title is slow / lagging

Bug Description
Entering a title for a story is currently super slow in the editor, at least in development mode. It seems like changing the title causes re-renders all over the place.  In production mode it appears to be a bit faster though.
Expected Behaviour
Entering the story title shouldn't cause lags.
Steps to Reproduce

Open editor
Display FPS meter in dev tools
Set React dev tools to highlight updates
Type in a long story title, quickly

Screenshots

Additional Context

Plugin Version: master
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

@swissspidy can you confirm that this is still an issue? Perhaps it happens under special circumstances? I cannot recreate any lag whatsoever neither locally nor in production.

Can't reproduce anymore, closing.


[Fine] Backport of: fixed cases causing waiting on timeout in vm_import

This is a backport of ManageIQ/manageiq-providers-ovirt/pull/73/ solving the merge conflicts.
Please note this has to be backported together with ManageIQ/manageiq-content/pull/168 to avoid failing tests on the manageiq-content repo.
It tries to be a minimal backport needed but still includes all the relevant
tests.
2 problems fixed:

allow to import only using 4.1.5+ provider.
The reason is that the required fix (https://bugzilla.redhat.com/1477375) is
present in 4.1.5+ and without this fix manageiq will wait until timeout
reached.
check if submit to the provider succeeded.
The reason is that if the result is not checked, this state will always
succeed and the import will again wait until timeout.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1473169

the test failure is unrelated - it is fixed by https://github.com/ManageIQ/manageiq/pull/15782

@miq-bot assign @simaishi


CI: Add GH status reporting to upgrade when it is on stable jobs

Description

Add GH status reporting to upgrade when it is on stable jobs.
Reporting copied from smoke-tests after rotation:

pending
success
failure (on abort, on error, on pipeline failure)

Motivation and Context

To gate PRs with the upgrade job.
How Has This Been Tested?

Deployed pipeline with this changes here: https://concourse.suse.dev/teams/main/pipelines/kubecf-viccuad/jobs/upgrade-test-master
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code has security implications.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

rebased master for changes in consuming vars, tested by flying the pipeline with upgrade-test in production and in experimental jobs, all fine.


Simplify mess of telescope types

Introduce a list of telescope types
e.g., https://github.com/Eventdisplay/Eventdisplay_AnalysisFiles_CTA/blob/prod5-v01/DetectorGeometry/CTA.prod5.teltypes.dat
(see c4a05daea98e93c3c49e1c7a423c279327d22d68 and 1eb6204ae2338cbfb0e064590b05bda1e89ce838)
This should be propagated into the large number of scripts and parameter files where these appear

Simplification achieved with commits above.


[ABW-2929] gateway update v2 0 0

Description

2.0.0 is not yet deployed on mainnet, only on hammunet. Although running app using mainnet/stokenet it appeared that it works just fine.

How to test

Run app on hammunet and validate it works.

PR submission checklist

[ ] I have tested app on mainnet/stokenet/hammunet and verified it works.

With the plans of having a hotfix 1.4.1 release, make sure to not merge and release this Gateway update as part of 1.4.1.

The app works fine except if you close network and run a request. For example close the network and try to add a new GW.
The reason this is happening is that all api methods changed to suspend methods that return a Response. The problem here is not the suspend, but the way we tell retrofit that we handle the response.
In the previous solution we return a Call and we try/catch the request. Now we only try/catch the response. If no network is available the library fails before sending a response back. I would suggest reverting those changes.

was not aware of that. Will revert


templates: bump for v3.4.0

Automated bump of templates for v3.4.0

Build workflow kicked off as expected.


Add isort to precommit

Some of the files I reviewed had inconsistent import structures, so I think this would be usefull to keep everything clean and orgnized.

https://pycqa.github.io/isort/docs/configuration/pre-commit.html

paused for now, some circular import were found when sorting imports.


update sdk to support spec version 0.2

This change updates the Go SDK to support spec version 0.2. This includes updating property names to drop the redundant 'event' prefix and updates the cloudeventsversion property to specversion. The binaryUnmarshal method now uses the cloudevents structtag to determine the header name for each well known property. This change also includes helper methods on the generic Event interface that handle type conversion. This change also updates the 0.1 support to use lowercase property names.

@tenczar @berndtj can you guys work together ?  Not sure why this later PR has much benefits over the earlier #5

Berndt's PR was a quick change that he made to get the kubecon demo working. My change was supposed to be small and address a couple quality of life issues. I let it spiral out of control and then decided trying to handle the merge conflicts would be a pain, so I made this as a separate PR. I will close Berndt's add point to this one.

the PR needs to be signed :smile_cat:

can we have some README update - to explain V02 ?


Fix instantiated generic mixin declaration emit

Alternative to #19087, pulling the minimal amount in to fix this issue and identifying the secondary locations which needed fixing.
Fixes #18545

@mhegazy


added rembg extension support

added rembg extension support, working on a couple others but will submit PR for those seperately once i figure them out.. this one was pretty straightforward.

Cool I have something to add and create custom always on scripts too that I use for post processing that other ppl will prob find useful as well, I go on vacation tomorrow so I'll commit them when I get back


Add TODOs Badge

Hi there! I wanted to propose adding the following badge to the README to indicate how many TODO comments are in this codebase:

The badge links to tickgit.com which is a free service that indexes and displays TODO comments in public github repos. It can help surface latent work and be a way for contributors to find areas of code to improve, that might not be otherwise documented.
The markdown is:
[![TODOs](https://img.shields.io/endpoint?url=https://api.tickgit.com/badge?repo=github.com/crawlab-team/crawlab)](https://www.tickgit.com/browse?repo=github.com/crawlab-team/crawlab)

Thanks for considering, feel free to close this issue if it's not appropriate or you prefer not to!

There is no need to add this badge in our README. Thanks


Update remaining test xfail reasons

The only place where I've left non-updated xfail tests is in test_orm_mode.py, which I'm not quite sure what we're going to do with yet, but clearly it's going to get an overhaul.
I was able to fix at least a handful of tests along the way here. There was one place where I changed an error message to make things a little more clear, in a way that I felt was good enough to change a test from xfailing to passing. (I'll point this out below.)
Selected Reviewer: @adriangb

please review

Great stuff!


SoapySDRPlay doesn't report AGC support

SoapySDRUtil reports Supports AGC: NO for SoapySDRPlay driver. Problem seems to be missing hasGainMode method in Settings.cpp (setGainMode / getGainMode is not enough).

Patched in now; thanks!


Install failure

I got an installation failure in Ubuntu 18.04 on my Desktop as follows.
$ nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command
...
======= 3 failed, 488 passed, 8 deselected, 17 warnings in 3.54 seconds ========
builder for '/nix/store/2zk2mn864ryfg894h3254s99miry55np-python2.7-pyOpenSSL-19.0.0.drv' failed with exit code 1
building '/nix/store/fz141pnlvjzihpa7mwqly7zhq15lrb3i-python2.7-paramiko-2.6.0.drv'...
cannot build derivation '/nix/store/firc9ghi214xzzzmhzajfy1w7kbbix5i-python2.7-urllib3-1.24.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1lh5cvkdc6igk5641q8nn2j0vi8bwldd-python2.7-dulwich-0.19.11.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/asbyk79r5jj3gbl5ik44rv1c312b2pmp-mercurial-4.9.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3bvzbgmsfazvayvzmpxwqyya36jdr9zc-nix-prefetch-hg.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/fmy4pj7i7w7pka3b5i64k2783j333852-nix-prefetch-scripts.drv': 1 dependencies couldn't be built
building '/nix/store/k5i8dpn8zydvkyq3y5596np2knzr9la0-remove-references-to.drv'...
cannot build derivation '/nix/store/y6d1l3pymv4q605dv4gk338m2sshhzqp-cabal2nix-2.14.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4md7k3bldgc826yqjsxk400h7y98i7ic-cabal2nix-obelisk-command.drv': 1 dependencies couldn't be built
error: build of '/nix/store/4md7k3bldgc826yqjsxk400h7y98i7ic-cabal2nix-obelisk-command.drv' failed
(use '--show-trace' to show detailed location information)
$ uname -a
Linux H110M-HD2 5.4.0-62-generic #70~18.04.1-Ubuntu SMP Tue Jan 12 17:18:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ nix-env --version
nix-env (Nix) 2.3.10

But I succeeded an installation in a newer Ubuntu on my Lenovo notebook:
$ nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command
...
$ uname -a
Linux khchoi-ThinkPad-X1-Carbon-5th 5.8.0-38-generic #43-Ubuntu SMP Tue Jan 12 12:42:13 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ nix-env --version
nix-env (Nix) 2.3.10

I'm running into the same issue on NixOS 20.09. I tried working around it by using an older version:
nix-env -f https://github.com/obsidiansystems/obelisk/archive/v<IP_ADDRESS>.tar.gz -iA command

This actually installs fine, but ob init then runs into the same cabal2nix error.
Is there another workaround I could try until the issue is resolved?

Same goes for me :

Linux 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
nix (Nix) 2.3.10

After following the Getting Started steps ,
Note ->
Same failure happens with ./try-reflex

I tried the installation again today, and I've got the starter app running without any problems! I'm guessing it was an upstream issue that's fixed.

@mark-gerarts What changed for you? I tried the installation just a moment ago and still getting this ssl error.

I simply tried running the installation again:
$ nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command

After which ob init and ob run etc. just worked. As to what changed is hard to say unfortunately. I've been working on other Haskell projects as well the last few week, so my system's state is very likely to be different from when I encountered the installation issues...

I'm also running into this error on the nixos/nix:latest docker image of a gitlab-ci runner.

nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command

works on an EC2 instance provisioned with nixops:
$ nix-info
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3, channels(root): "nixos-20.03.1445.95b9c99f6d0", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

obelisk now appears to be working on nixos 20.09.  This may be due to openssl 1.1.1k arriving in nixpkgs master.

any update on this ? I have the same issue :
parallels@vm:~/dev/plutus-use-cases/use-case-2$ uname -a
Linux vm 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Looks like the same issue as https://github.com/reflex-frp/reflex-platform/issues/721, which will be fixed by the upcoming Nixpkgs bumps.

I was having these problems and found a fix at least locally.
the instructions asked to put the config stuff in
/etc/nix/nix.conf
which resulted in build errors.
but placing them in
~/.config/nix/nix.conf
installed obelisk successfully  :+1:


Clip 3D volumes of a model based on geometry of one or more elements

Request: clip 3d volumes of a model based on geometry of one or more elements.
To solve this, we could obtain the geometry of a specified set of elements as polyfaces.  We could produce a ClipVector from them (one clip plane per facet), then use the ClipVector to clip the model.
A key aspect of this is that this should be an enterprise solution, not hard-coded for certain elements.
See this discussion  for more details. Also this one.
See this specific comment for an experiment that was done that shows the proof of concept.

Update August 19th:
This could be solved by enabling frontend application to obtain polyfaces from the geometry of the elements of interest, convert them into a set of convex hulls, possibly expand those hulls, create a convex clip plane set from each hull, and apply the result as a ClipVector to the view.

[x] Rpc interface method to obtain polyfaces from one or more elements. #4470
[x] geometry-core API to produce convex clip plane set from polyfaces. #4185
[ ] geometry-core API to expand polyface by a specified distance from its surface.
[x] API to decompose a polyface into a set of approximate convex hulls.

This is probably better left to an external library like V-HACD, transpiled to WebAssembly and incorporated into a sample.

We should consider an alternate approach than just getting polyfaces from elements.  It can result in many clip planes and they would not necessarily be convex except for very simple geometry.
Perhaps just getting the bounds of the element and clipping based on that could be enough.

Element bounding boxes will not suffice - that is what they thought we were suggesting, and pointed out that the bounding box of e.g. a long curvy pipe will be a poor substitute for the actual geometry.

This could be solved by enabling frontend application to obtain polyfaces from the geometry of the elements of interest, convert them into a set of convex hulls, possibly expand those hulls, create a convex clip plane set from each hull, and apply the result as a ClipVector to the view.

[ ] Rpc interface method to obtain polyfaces from one or more elements.
[ ] geometry-core API to produce convex clip plane set from polyfaces
[ ] geometry-core API to expand polyface by a specified distance from its surface
[ ] API to decompose a polyface into a set of approximate convex hulls

Hello iTwin team. Regarding this development request, is it possible to please share an update?
Refers to this: https://github.com/iTwin/itwinjs-core/discussions/3961
Thanks Tony

@tonygem2022 it's on our roadmap.
You can now create a clip plane set from a polyface.
@EarlinLutz is currently adding support for expanding a polyface's surface.
I am adding support for obtaining polyfaces for elements.
Work on the convex hull decomposition library has not yet begun.

Thanks for the timely response @pmconne
So if i understand the road map correctly, this will be 2H22, before end December?
Thanks.

That's the plan.

Hello @pmconne. A gentle check in to see if this timeline is still on progress? Absolve the follow-up though it doesnt appear this page is frequently updated. Thanks.

That's great @pmconne! Please let me know when complete and we would be pleased to test.
Thanks.

@tonygem2022 @hanan-commits-work @Rycha2021 @ovaisa #4794 illustrates one way to achieve this. It uses V-HACD to produce the convex hulls required for clipping. All of the features it uses - obtaining polyfaces from elements and producing a clip from a polyface - are included in iTwin.js 3.5. @EarlinLutz and @dassaf4 are still working on the API for expanding the polyfaces.

Thanks @pmconne.
Is the iTwin team working on providing an example?
Thanks

@tonygem2022 #4794 contains the example.


Add tarilabs to opendatahub-io org

Onboarding task
Description
Onboarding task
New Open Data Hub Member Requirements

[x] New members have reviewed and acknowledged the Open Data Hub:

Code of Conduct
Contribution Guide
Community Membership Guidelines

[x] Enabled 2FA on their GitHub account

Pull Request Requirements

[x] New members are added in alphabetical order
[x] Only one new member change per commit (if you add two members separate it in two commits
[x] For individual user changes: Commit message format Add <USERNAME> to <opendatahub-io, mlops-sig, ...>.
[ ] For new team requests: Commit message format Create <TEAMNAME>. If the new team consists solely of existing members, you may
[ ] New GitHub team requests are from an existing opendatahub-io member who will function as the maintainer of the team. Each additional member will follow the same requirements for adding new members

@LaVLaS @andrewballantyne @cfchase one of you will need to approve this.


Error building TASO from source code

I'm able to build the source code for TASO (albeit with the following warning that I'm not sure how to fix):
-- Configuring done
CMake Warning at CMakeLists.txt:69 (add_library):
  Cannot generate a safe linker search path for target taso_runtime because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libcublas.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/lib/x86_64-linux-gnu/stubs

  Some of these libraries may not be found correctly.

-- Generating done
-- Build files have been written to: /tmp/taso/build

but once I try to install, I get this error:
...
[ 59%] Building CUDA object CMakeFiles/taso_runtime.dir/src/cudnn/concat_kernel.cu.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_00003481_00000000-5_activation_kernel.cudafe1.stub.c:6:0,
                 from tmpxft_00003481_00000000-5_activation_kernel.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_0000348d_00000000-5_batchnorm_kernel.cudafe1.stub.c:6:0,
                 from tmpxft_0000348d_00000000-5_batchnorm_kernel.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_000034a3_00000000-5_cast_kernel.cudafe1.stub.c:6:0,
                 from tmpxft_000034a3_00000000-5_cast_kernel.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
[ 61%] Building CUDA object CMakeFiles/taso_runtime.dir/src/cudnn/constant_kernel.cu.o
[ 62%] Building CUDA object CMakeFiles/taso_runtime.dir/src/cudnn/conv2d_kernel.cu.o
[ 64%] Building CUDA object CMakeFiles/taso_runtime.dir/src/cudnn/cuda_helper.cu.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_000034c7_00000000-5_concat_kernel.cudafe1.stub.c:6:0,
                 from tmpxft_000034c7_00000000-5_concat_kernel.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
/tmp/tmpxft_000034c7_00000000-5_concat_kernel.cudafe1.stub.c: In function ‘void __device_stub__Z18assign_with_stridePfPKfiii(_ZN4taso8DATATYPEE*, const _ZN4taso8DATATYPEE*, int, int, int)’:
/tmp/tmpxft_000034c7_00000000-5_concat_kernel.cudafe1.stub.c:12:149: error: ‘__args_arr’ was not declared in this scope
 void __device_stub__Z18assign_with_stridePfPKfiii(_ZN4taso8DATATYPEE *__par0, const _ZN4taso8DATATYPEE *__par1, int __par2, int __par3, int __par4){__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 16UL);__cudaSetupArgSimple(__par3, 20UL);__cudaSetupArgSimple(__par4, 24UL);__cudaLaunch(((char *)((void ( *)(_ZN4taso8DATATYPEE *, const _ZN4taso8DATATYPEE *, int, int, int))assign_with_stride)));}
                                                                                ^
/tmp/tmpxft_000034c7_00000000-5_concat_kernel.cudafe1.stub.c:12:149: error: ‘__args_idx’ was not declared in this scope
 void __device_stub__Z18assign_with_stridePfPKfiii(_ZN4taso8DATATYPEE *__par0, const _ZN4taso8DATATYPEE *__par1, int __par2, int __par3, int __par4){__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 16UL);__cudaSetupArgSimple(__par3, 20UL);__cudaSetupArgSimple(__par4, 24UL);__cudaLaunch(((char *)((void ( *)(_ZN4taso8DATATYPEE *, const _ZN4taso8DATATYPEE *, int, int, int))assign_with_stride)));}
                                                                                ^
CMakeFiles/taso_runtime.dir/build.make:862: recipe for target 'CMakeFiles/taso_runtime.dir/src/cudnn/concat_kernel.cu.o' failed
make[2]: *** [CMakeFiles/taso_runtime.dir/src/cudnn/concat_kernel.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_000034ed_00000000-5_constant_kernel.cudafe1.stub.c:6:0,
                 from tmpxft_000034ed_00000000-5_constant_kernel.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c:6:0,
                 from tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:217:0:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /tmp/tmpxft_00003503_00000000-5_conv2d_kernel.cudafe1.stub.c:6:0,
                 from tmpxft_00003503_00000000-5_conv2d_kernel.cudafe1.stub.c:1:
/usr/local/cuda-10.0/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "crt/device_functions.h is an internal header file and must not be used directly.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
/tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c: In function ‘void __device_stub__Z13assign_kernelPfif(float*, int, float)’:
/tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c:12:83: error: ‘__args_arr’ was not declared in this scope
 void __device_stub__Z13assign_kernelPfif(float *__par0, int __par1, float __par2){__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 12UL);__cudaLaunch(((char *)((void ( *)(float *, int, float))assign_kernel)));}
                                                                                ^
/tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c:12:83: error: ‘__args_idx’ was not declared in this scope
 void __device_stub__Z13assign_kernelPfif(float *__par0, int __par1, float __par2){__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 12UL);__cudaLaunch(((char *)((void ( *)(float *, int, float))assign_kernel)));}
                                                                                ^
/tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c: In function ‘void __device_stub__Z11copy_kernelPfPKfi(float*, const float*, int)’:
/tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c:1:96: error: ‘__args_arr’ was not declared in this scope
 #pragma GCC diagnostic push
                                                                                ^
/tmp/tmpxft_00003517_00000000-5_cuda_helper.cudafe1.stub.c:1:96: error: ‘__args_idx’ was not declared in this scope
 #pragma GCC diagnostic push
                                                                                ^
CMakeFiles/taso_runtime.dir/build.make:934: recipe for target 'CMakeFiles/taso_runtime.dir/src/cudnn/cuda_helper.cu.o' failed
make[2]: *** [CMakeFiles/taso_runtime.dir/src/cudnn/cuda_helper.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/taso_runtime.dir/all' failed
make[1]: *** [CMakeFiles/taso_runtime.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

the problems seem unrelated but I thought I'd include the warnings to provide all the context.
Thanks for your help!

It seems there are potential misconfiguration when you did cmake. And people have experienced similar issues with onnx https://github.com/onnx/onnx-tensorrt/issues/150.  Can you try to set USE_CUDA to your CUDA path in file config.cmake, and redo cmake.

The same error still occurs, unfortunately


Particle CLI Installer Failure

Re: https://community.particle.io/t/photon-flashing-cyan-with-red-bursts-solved/25113/5
BDub said:

Here's a direct link for Windows: https://binaries.particle.io/cli/installer/windows/ParticleCLISetup.exe

Michele replied:

But when I ran the setup program it opened the installer dialog and then popped up an error "Your internet connection seems to be not permitted or dropped out!  Please reconnect and click Retry to resume installation."
Well there's nothing wrong with my Internet connection.  I even tried this on a different PC and got the same error.  So I'm not going to get aggravated, I'm just going to ask for more help.  How do I get this installed?
Just out of curiosity, does this try to talk to a server in China?  Because I have all of .cn blocked at my router, as well as a number of other malware-type Internet domains.

@monkbroc would you please look into this error, because the alternative is a whole lot of no fun on Windows... installing dfu-util, openssl, PATH updates, etc.. Thanks!

I don't think I'll be able to get to this for a while. It sounds like a weird issue with this person's computer, maybe ad blocker / antivirus.
I'm curious why you mention openssl in relation to the CLI.

The CLI uses openssl for the keys command.  In particular the particle keys doctor command.  Does the installer also install openssl?

No, it does not. I wasn't aware of the details of the key doctor command.

The CLI installer includes SSL since 0.2.0

I couldn't reproduce this with the latest installer. It would be good to have the installation log to see how far the installer had come before failing. The OP mentions that various domains are blocked (.cn and various 'malware-type' domains) so I would guess that is the cause of the issue here.
Closing this as unreproducible. Happy to re-open when more information is available.


fix: keyblock navigation error

Description

Fixes #417
Demo

https://github.com/aeternity/aescan/assets/11598532/7ca516ba-df2f-4962-9d3a-b490ca6becd4
Checklist:

[ ] I have read and followed the Contributing Guide
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I suggest to close this, as it is solved in open PR


Expand vocabulary for observation_type [REPLACEMENT ISSUE]

The original issue
Id: 12
Title: Expand vocabulary for observation_type

could not be created.
This is a dummy issue, replacing the original one. It contains everything but the original issue description. In case the gitlab repository is still existing, visit the following link to show the original issue:
TODO

In GitLab by @kbubnicki on Aug 28, 2020, 13:53
Here we also need the community feedback I think.
NOTE: I was trying to think about AI when drafting these schemas. Then the idea for observation_type was to have only basic categories that are understandable from AI algorithm point of view (e.g. it would be quite difficult for AI algorithm to distinguish between staff and other people) i.e. this the first step in AI classification. Afterwards, having this information, we can focus only on animals and follow with species-level classification. Empty is fine and could be one of observation_type categories instead of a separate is_empty field.

In GitLab by @kbubnicki on Aug 28, 2020, 13:55
Unknown and/or Unidentifiable are also fine when thinking about AI output.

In GitLab by @peterdesmet on Aug 28, 2020, 14:19
Deprecating is_empty is a good idea. Adding label community:feedback too.

In GitLab by @kbubnicki on Sep 2, 2020, 15:28
I would propose to make a decision now about a vocabulary for observation_type to finish the first complete draft of these schemas that can be presented to a broader community (this is also related to some other issues). My proposition is to have the following categories:
Animal
Empty
Human
Undefined
Vehicle

and to improve a description for this field adding sth like:

All categories in this vocabulary have to be understandable from AI point of view.

As I understand that it can be important to distinguish between project staff and other human observations we can consider adding new term e.g. is_staff or maybe even better a boolean field setup or sth similar to mark all records made during setup/picking-up a camera or just changing batteries/sd cards etc. With this solution you can still get a proper 1st step classification by AI model for this field.

In GitLab by @peterdesmet on Sep 2, 2020, 15:36
Sounds good to me. Only Undefined is a bit unclear. Does this mean:

Has been processed and it is unknown what type of observation this is.

Or:

Has not been processed and therefore the observation type is unknown.

In GitLab by @kbubnicki on Sep 2, 2020, 15:50
I would say the first one which corresponds to a very low confidence of classification which is below some predefined threshold i.e. neither human nor AI can say what was recorded.

In GitLab by @peterdesmet on Sep 2, 2020, 17:11
So the classification took place, but the result is that the type of observation is Undefined/Unknown. I can't really tell what word is the most clear here. @yliefting @milotictanja?

In GitLab by @kbubnicki on Sep 3, 2020, 00:41
mentioned in commit 1cf8d960d276ce21e6b3f2f75e918b241f04545d

In GitLab by @kbubnicki on Sep 3, 2020, 00:46
mentioned in merge request !9

In GitLab by @milotictanja on Sep 3, 2020, 15:17
Imho Unknown is most comprehensible, because you tried to define what is on the picture, but did not succeed (so you defined that the thing on the picture is unknown).

In GitLab by @peterdesmet on Sep 4, 2020, 13:31
Implemented in !9.


Feedback service not working

Hi,
I'm using this gem for sending push notifications on IOS and it works fine for me. Now I need to use apple feedback service to know about the device tokens whose user has deleted the app but when I tried calling feedback function(APNS.feedback), it gives me blank array. As I've seen in the code I don't think I should explicitly need to do any configuration regarding host or post as it is already managed in core.rb but I'm not sure why I'm not able to receive device tokens in array. Is there any other configuration required? I'm assuming it will work fine for me using sandbox gateway i.e in development mode.
Please comment.

@sshinde-systango Were you able to solve this issue?

I found this stackoverflow question that helped me.


[FEATURE] Adding support for prctl Syscall

Motivation
The prctl syscall can be used to manipulate the information about a process. In particular can be used to change the process name in attempt to hide a malicious behaviour with a "false identity" (e.g. renaming itself to ssh). It would be nice if Falco could detect such a behaviour.
Feature
Implement the prctl syscall in the 3 drivers.

Ei @therealbobo thank you for that! this syscall should be already tracked in this issue https://github.com/falcosecurity/falco/issues/1998

Hey @Andreagit97, I didn't notice that! I'd like to keep this open because the prctl could hide a malicious behaviour and I think that its implementation could be very useful for the community! If you want I could try to work on it! 😄


cni: move ambient iptables detection off bash

One step closer to distroless support. However, we still use ip which isn't in the image.
Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
33e7dd1c0193bd079bab72b6506a1f0cdb1c2d31
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Not working

I keep on getting errors when trying to tru the exe and py. when i run the exe i get a dll error. when i run the py this is what comes on the cmd ---(Advanced Mode) Generating programme...
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "C:\Users\nawid\Downloads\BuilderGPT-1.3.0\ui.py", line 89, in generate_schematic
schem = get_schematic_advanced(description, process_label)
File "C:\Users\nawid\Downloads\BuilderGPT-1.3.0\ui.py", line 42, in get_schematic_advanced
programme = core.askgpt(config.BTR_DESC_SYS_GEN, config.BTR_DESC_USR_GEN.replace("%DESCRIPTION%", description), config.GENERATE_MODEL, disable_json_mode=True)
File "C:\Users\nawid\Downloads\BuilderGPT-1.3.0\core.py", line 77, in askgpt
logger(f"askgpt: response {response}")
File "C:\Users\nawid\Downloads\BuilderGPT-1.3.0\log_writer.py", line 26, in logger
log_file.write(log_line)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 331-345: character maps to
also fix the link to your discord

I'll fix it tomorrow. Thanks for your feedback~~

Could you please try this build:
https://github.com/Zhou-Shilin/BuilderGPT/actions/runs/9382511454/artifacts/1570525159
@nawidwwww

I tested it on my side it was fine, so I just MERGE it. If you still have problems, just reopen the issue.


auto-save files

For now we've decided not to do the backend. File is saved in LocalStorage when page exits or on command by pressing "save" button.


Update BadgeIndicatorContainer visibility when BadgeView is created

Description of Change
Initially set IsInvisible="true" for BadgeIndicatorContainer so that it will be invisible when BadgeView is created and it Text property is initially equals to 0.
Bugs Fixed

Fixes #638

Behavioral Changes
The BadgeIndicatorContainer will be invisible if when BadgeView is created it Text property is initially equals to 0.

For some reasons the badge position is changed after the modifications in this PR from top right to top left.

PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard
[ ] Updated documentation

@AndreiMisiukevich bindable property name  has the same name as the enum Type should it be renamed? https://github.com/xamarin/XamarinCommunityToolkit/blob/1860937eacde3ced52e32fffff08a7592e8754b1/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/BadgeView/BadgeView.shared.cs#L29
but this is not what causing the position to change.

No, let's leave as is
I think we need to call UpdateBadgeViewPlacement() in OnTextChanged before UpdateLayout
It should solve our problem

Exactly what I was about to test right now :)

Oh, probably it won't help(
Seem we should observe BadgeIndicatorContainer.IsVisible and when this property changes we will have to call ```UpdateBadgeViewPlacement(true)``

I tested you are right It becomes visible before changing the position

Oh, probably it won't help(
Seem we should observe BadgeIndicatorContainer.IsVisible and when this property changes we will have to call UpdateBadgeViewPlacement(true)

I tried with (also with PropertyChanged )
		static Grid CreateIndicatorContainerElement()
		{
			var newgrid = new Grid
			{
				HorizontalOptions = LayoutOptions.Start,
				VerticalOptions = LayoutOptions.Start,
				IsVisible = false
			};
			newgrid.PropertyChanging += IndicatorContainerElement_PropertyChanged;
			return newgrid;
		}

		public static void IndicatorContainerElement_PropertyChanged(object sender, PropertyChangingEventArgs e)
		{
			if (e.PropertyName.Equals(nameof(IsVisible)))
				((sender as Grid).Parent as BadgeView)?.UpdateBadgeViewPlacement(true);
		}

Unfortunately it is not working maybe  because UpdateVisibilityAsync is running async or I am missing something else.

I am for now testing without animation only you may need to set  IsAnimated="False" in xaml.
Another suggestion is to call UpdateBadgeViewPlacement like:
From https://github.com/xamarin/XamarinCommunityToolkit/blob/1860937eacde3ced52e32fffff08a7592e8754b1/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/BadgeView/BadgeView.shared.cs#L351-L352
To:
else
{
		BadgeIndicatorContainer.IsVisible = badgeIsVisible;
		await UpdateBadgeViewPlacement(true);
 }

it is updating the position but for some reasons the dimensions are not good (small) when incrementing first time from 0 up to 3, after 4 it becomes good.

It seems working as expected, now is ready to be tested.

Ignore the last commit as it appears it creating an infinite loop when badge position is other than TopRight.

I have changed below line for debugging
https://github.com/xamarin/XamarinCommunityToolkit/blob/1860937eacde3ced52e32fffff08a7592e8754b1/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/BadgeView/BadgeView.shared.cs#L255
To
if ((BadgeContent.Height <= 0 && BadgeContent.Width <= 0) || (BadgeText.Height <= 0 && BadgeText.Width <= 0))
and found that BadgeText.Height and BadgeText.Width equals -1 while it is visible and at the same time BadgeContent.Width has a correct value. I don't know why BadgeText are not updated on the on the first increment of text value from 0 to 1.
With the modification mentioned in this comment and by ignoring the last commit, the badge position is updated but only after 2 textchanged events (means from value 0 to 2)

I have changed below line for debugging
https://github.com/xamarin/XamarinCommunityToolkit/blob/1860937eacde3ced52e32fffff08a7592e8754b1/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/BadgeView/BadgeView.shared.cs#L255
To
if ((BadgeContent.Height <= 0 && BadgeContent.Width <= 0) || (BadgeText.Height <= 0 && BadgeText.Width <= 0))
and found that BadgeText.Height and BadgeText.Width equals -1 while it is visible and at the same time BadgeContent.Width has a correct value. I don't know why BadgeText are not updated on the on the first increment of text value from 0 to 1.
Status now: The badge position is updated but only after 2 TextChanged events (means from value 0 to 2)

Hmm, interesting case. I'll take a look and try to fix myself (I am not sure I will have success haha)

I guess this badge should stick to the top right corner

Now it's a little above

@Cfun1 https://github.com/xamarin/XamarinCommunityToolkit/pull/654

I guess this badge should stick to the top right corner

Now it's a little above

true, I am thinking we need to change the way how margins are calculated.

#638 is fixed

Please, focus on #640 in this PR :)
Does it sound OK for you?

Of course no issue :)


Error in preparing_faces_parallel.py

'pretrained_models/shape_predictor_68_face_landmarks.dat' file exists in the path. What's the problem?
!python prepare_data/preparing_faces_parallel.py \ --root_path /content/drive/MyDrive/Dataset/landscape \ --mode align
1
Running on 201 paths
Here we goooo
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "prepare_data/preparing_faces_parallel.py", line 42, in extract_on_paths
predictor = dlib.shape_predictor(SHAPE_PREDICTOR_PATH)
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. dlib.shape_predictor()
2. dlib.shape_predictor(arg0: str)
Invoked with: PosixPath('pretrained_models/shape_predictor_68_face_landmarks.dat')
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "prepare_data/preparing_faces_parallel.py", line 91, in
run()
File "/usr/local/lib/python3.7/dist-packages/pyrallis/argparsing.py", line 158, in wrapper_inner
response = fn(cfg, *args, **kwargs)
File "prepare_data/preparing_faces_parallel.py", line 85, in run
pool.map(partial(extract_on_paths, args=args), file_chunks)
File "/usr/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. dlib.shape_predictor()
2. dlib.shape_predictor(arg0: str)
Invoked with: PosixPath('pretrained_models/shape_predictor_68_face_landmarks.dat')

dlib.shape_predictor() expects a str, and got a PosixPath instead.

Thanks @woctezuma for the correction! I guess we missed this in our tests before the release.
This has been fixed using your suggestion.


Passkey integration

Hey! Not sure how hard it is to implement some Passkeys or even if it's planned but creating the issue for it. 🙂

I'm almost done with my implementation but it does have a dependency on pilcrow's oslo package.
I could create a PR to this repo within a few days.
I think oslo has very good validation functions but this module should also have some utils that create the keys / challenges etc.
I think the minimum would be:

A composable which handles key and signature creation on client side
Nitro endpoint that returns credential options.
Server util for authenticator validation (just like oslo)
Server util for credential validation (just like oslo)

@Atinux what do you think about the dependency on oslo?
Maybe it's better to copy the necessary functions (with reference) instead of depending on the whole package

Hello!!
By olso, do you mean this package?
I look forward to your PR being merged!

Yes, the webauthn part has the necessary cryptographic key validation functions.

If we can avoid importing oslo but having the utilities into this package it would be great so we can be sure that it works on the edge runtime too.
Happy to see your PR @Gerbuuun ❤


Testing for issue #26

@binlijin reported an issue with RoaringBitmapFactory at https://github.com/metamx/bytebuffer-collections/issues/26
This is a proposed new unit test that should verify his problem.
(On my machine, this unit test passes.)

:+1:

Thanks @lemire


add deno-lib to third-party database

 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.


Uploading files does not work

Using Ubuntu Yakkety and vsftpd 3.0.3-7 uploading files does not work.
Tried with Node 8, 6 and 4.
Just executing auth works fine.
Making a put fails with the following error:
{ Error: 425 Failed to establish connection.
    at Ftp.parse (/Users/alexander/code/notepad/js/node_modules/jsftp/lib/jsftp.js:337:11)
    at Ftp.parseResponse (/Users/alexander/code/notepad/js/node_modules/jsftp/lib/jsftp.js:216:8)
    at Stream.<anonymous> (/Users/alexander/code/notepad/js/node_modules/jsftp/lib/jsftp.js:156:10)
    at emitOne (events.js:96:13)
    at Stream.emit (events.js:188:7)
    at ResponseParser.reemit (/Users/alexander/code/notepad/js/node_modules/duplexer/index.js:70:25)
    at emitOne (events.js:96:13)
    at ResponseParser.emit (events.js:188:7)
    at readableAddChunk (/Users/alexander/code/notepad/js/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js:195:16)
    at ResponseParser.Readable.push (/Users/alexander/code/notepad/js/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js:162:10) code: 425 }

Are you able to make a test that fails with your use case?

So:

set up Ubuntu Yakkety
install vsftpd
configure ftp writing to be allowed
restart vsftpd
run the following node script

const fs = require('fs');
const JSFtp = require("jsftp");

const ftp = new JSFtp({
  host: "<IP_ADDRESS>",
  user: "ftpuser", // defaults to "anonymous"
  pass: "NYTimes", // defaults to "@anonymous"
  debugMode: true,
});

ftp.ls(".", function(err, res) {
  console.log('err is', err);
});

const person = fs.readFileSync('person.json');
ftp.put(person, 'person.json', function(hadError) {
  if (!hadError)
    console.log("File transferred successfully!");
});

person.json
{
  "name": "alex",
  "age": 24
}

It hangs after printing err is null.

You probably need to read person as a buffer I think readFileSync defaults to utf8

@devotox nope, default for readFile encoding is null in which case it returns a buffer.


⚠ Cioos National CKAN Sitemap has degraded performance

In 59c2167, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 6976 ms

Resolved: Cioos National CKAN Sitemap performance has improved in fc0a4f9 after 9 minutes.


Keyword parameter identifiers don't get escaped

Hey,
while testing this source generator with another one I noticed an issue with some generated parameter names.
Methods that use keywords such as long as identifiers don't get properly prefixed with @ in the generated interface.
Example:
public void VoidMethodWithKeywordParam(long @long)

results in:
void VoidMethodWithKeywordParam(long long); // CS1001 Identifier expected

but should be:
void VoidMethodWithKeywordParam(long @long);

This should be the line where param.Name needs to be checked and sometimes prefixed.
https://github.com/daver32/InterfaceGenerator/blob/9382c69cf8c72bdc21bcb1e2984f4b7f3902dbae/InterfaceGenerator/AutoInterfaceGenerator.cs#L327
e. g. AutoRest is handling these identifiers like this:
1. Writing the identifier.
2. Checking for C# keywords

Thanks for the heads up, I've just added this in v1.0.8


chat: read-only channels have non-functioning message actions

Describe the bug, optionally with screenshots
When a chat restricts posters (I discovered this in the tlon public office hours channel), there is still a mouseover option to reply to a previous comment. The GUI pops up and you can type a response, but when hitting send it renders for a moment and then disappears (presumably because the backend permissions don't actually line up)
To Reproduce
Steps to reproduce the behavior:

Join Groups chat channel which has restricted permission
Click on the # symbol on mouseover to create a reply thread
Type in text to the chat box in the sidebar
See message render and then disappear

Expected behavior
Probably just removing the mouseover option to create a thread is the way to solve for this. alternatively, you could still allow that but in the threaded replies sidebar have the chat box removed like it is for the main chat channel.
Additional context:

Ship type: planet
Instance type: self hosted (locally on macOS, currently)
OS/browser: Brave

Threads now respect channel perms, but we still make it look like you can emoji react in these channels and that could be annoying for some people. Should be a simple fix.


MemoryCache disposed exception

use module-zero in .net core 1.1
here is exception detail：
ERROR 2017-06-22 14:27:33,118 [4    ] Mvc.ExceptionHandling.AbpExceptionFilter - Cannot access a disposed object.
Object name: 'Microsoft.Extensions.Caching.Memory.MemoryCache'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Microsoft.Extensions.Caching.Memory.MemoryCache'.
at Microsoft.Extensions.Caching.Memory.MemoryCache.CheckDisposed()
at Microsoft.Extensions.Caching.Memory.MemoryCache.TryGetValue(Object key, Object& result)
at Abp.Runtime.Caching.Memory.AbpMemoryCache.GetOrDefault(String key)
at Abp.Runtime.Caching.CacheBase.Get(String key, Func2 factory)    at Abp.Runtime.Caching.CacheExtensions.Get[TKey,TValue](ICache cache, TKey key, Func2 factory)
at Castle.Proxies.Invocations.ITenantCache_GetOrNull.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.TenantCache2Proxy.GetOrNull(Int32 tenantId)    at Abp.MultiTenancy.TenantStore.Find(Int32 tenantId)    at Abp.MultiTenancy.TenantResolver.GetTenantIdFromContributors()    at Abp.MultiTenancy.TenantResolver.ResolveTenantId()    at Abp.Runtime.Session.ClaimsAbpSession.get_TenantId()    at Abp.Auditing.AuditingHelper.CreateAuditInfo(MethodInfo method, IDictionary2 arguments)
at Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__24.MoveNext()

DEBUG 2017-06-22 14:27:33,124 [4    ] ore.Mvc.Internal.ControllerActionInvoker - Request was short circuited at exception filter 'Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter'.
DEBUG 2017-06-22 14:27:33,124 [4    ] etCore.Mvc.Internal.ObjectResultExecutor - No information found on request to perform content negotiation.
DEBUG 2017-06-22 14:27:33,124 [4    ] etCore.Mvc.Internal.ObjectResultExecutor - Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter' and content type 'application/json' to write the response.
INFO  2017-06-22 14:27:33,124 [4    ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO  2017-06-22 14:27:33,124 [4    ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 9.8788ms
DEBUG 2017-06-22 14:27:33,124 [4    ] Microsoft.AspNetCore.Server.Kestrel      - Connection id "0HL5P6DUK58HQ" completed keep alive response.
INFO  2017-06-22 14:27:33,125 [4    ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 19.4502ms 500 application/json; charset=utf-8

when access api ：AbpUserConfigurationController/GetAll，and cookies exist item “Abp.TenantId” value  is 1

Is that always happening or just one time?

always happening on Application run  for a while

Did you make any change? For instance, have you upgraded Abp package version? If so, what was old version and current version?

the version i use is 2.0.2

Have you solved this issue? Can you repeat it with a fresh new startup template?

Hi! I faced similar problem with AbpMemoryCache disposing. Do you have any solutions for this problem?

@KaterynaZorina actually we couldn't reproduce this problem. Do you know a way to reproduce it ?

@ismcagdas unfortunately I can't tell you how to reproduce this problem. It appears randomly. Here is stack trace:
ERROR 2018-03-08 10:53:08,381 [64   ] bp.Runtime.Caching.Memory.AbpMemoryCache - System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Microsoft.Extensions.Caching.Memory.MemoryCache'.
at Microsoft.Extensions.Caching.Memory.MemoryCache.CheckDisposed()
at Microsoft.Extensions.Caching.Memory.MemoryCache.TryGetValue(Object key, Object& result)
at Abp.Runtime.Caching.Memory.AbpMemoryCache.GetOrDefault(String key)
at Abp.Runtime.Caching.CacheBase.GetOrDefaultAsync(String key)
at Abp.Runtime.Caching.CacheBase.d__19.MoveNext()
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Microsoft.Extensions.Caching.Memory.MemoryCache'.
at Microsoft.Extensions.Caching.Memory.MemoryCache.CheckDisposed()
at Microsoft.Extensions.Caching.Memory.MemoryCache.TryGetValue(Object key, Object& result)
at Abp.Runtime.Caching.Memory.AbpMemoryCache.GetOrDefault(String key)
at Abp.Runtime.Caching.CacheBase.GetOrDefaultAsync(String key)
at Abp.Runtime.Caching.CacheBase.d__19.MoveNext()

@KaterynaZorina does it happen when you are working on the app UI ? If so, what was the last operation caused this problem ? A few users had a similar problem when deleting a user on the UI.

@ismcagdas I didn't delete users. This issue appears randomly after different API calls. But I can't reproduce it. Clearing cache solves this issue for awhile.

Probably this problem will be solved with https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2846. We will release ABP v3.5 in a short time. I'm closing this issue, please reopen if https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2846 doesn't fix the problem.


Lack ability to display number of weeks

It's better if support display week number.

I just release a new version.
Check the Example project.
You can now.

I don't think the example project has a calendar that shows the week numbers.

No the example don't show this but you can. By implementing
- (void)calendar:(JTCalendarManager *)calendar prepareMenuItemView:(UIView *)menuItemView date:(NSDate *)date;

If you use the default implementation for menuItemView (I mean if you use the default view) implement:
- (void)calendar:(JTCalendarManager *)calendar prepareMenuItemView:(UILabel *)menuItemView date:(NSDate *)date;

With this you can customize the label like you want and set the text you want.
The default implementation is:
NSCalendar *calendar = _manager.dateHelper.calendar;
NSDateComponents *comps = [calendar components:NSCalendarUnitYear|NSCalendarUnitMonth fromDate:date];
NSInteger currentMonthIndex = comps.month;

static NSDateFormatter *dateFormatter = nil;
if(!dateFormatter){
    dateFormatter = [_manager.dateHelper createDateFormatter];
}

dateFormatter.timeZone = _manager.dateHelper.calendar.timeZone;
dateFormatter.locale = _manager.dateHelper.calendar.locale;

while(currentMonthIndex <= 0){
    currentMonthIndex += 12;
}

view.text = [[dateFormatter standaloneMonthSymbols][currentMonthIndex - 1] capitalizedString];


Fix bugs regarding bury sibling cards

Hi  @st3v3nmw
This fixes bugs:
https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/759
https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/760
I've included a new test case, and updated a few that were based on an incorrect understanding of the existing 1.10.1 functionality.
Apologies for the extra work!
Cheers
Ronny

Thanks for the fixes @ronzul!

Sorry Stephen, I just noticed a bug with this fix.
Not sure when you were intending to do a release, but please hold off.


Urgent: Add Profiles Tab to STO and PTC. View Only. Purpose: So Users can directly check whose colors (in caledar) are assigned to what program. Also Display how much Capacity are the Venues.

Urgent: Add Profiles Tab to STO and PTC. ONLY VIEW. Purpose: So Users can directly check whose colors (in caledar) are assigned to what program. Display how much Capacity is the said Venue.
Venues List and Programs List can only be edited by Admin-DSA as usual.  View only for STO and PTC.

done..


add google map

here we can add google map of the location  so user can easily understand the location + after that both column size is also equal

that will increase the number of map impressions which we're avoiding


Styling tray manager

Hi,
Thanks for your awesome work on taffybar! It's a lovely little application.
I'm currently trying to style it, and I'd like to style the tray manager separately from the rest of the bar, so I've been looking into GTK theming. I understand that you're using EggTrayManager to implement the tray manager, however trying to style this with class "*EggTrayManager*" style "my-style" doesn't style the manager. My understanding is that one can style using widget, class or widget_class, none of which seem to match and style the tray.
What is the best way finding out the widget/class name of the items I'd like to theme (in particular the tray)? I've tried grepping through for widget and class but the string constants I've found haven't produced the desired effect.
Cheers

Thanks for the report.  Unfortunately, I've never really had much luck at figuring out the gtk(2) theme system myself.  I thought I understood it at one point, but that seemed to break for a large number of people.
One thing to look at: some login managers start XSettings managers (e.g., gnome-settings-daemon or lxconfig).  These programs seem to have some way to override the gtk theme settings pretty aggressively.  If you have an XSettings manager running, you might try to disable it temporarily to see if any of those classes actually work.

Hi @travitch,
Thanks for your swift response.
Good suggestion, I had a fiddle and managed to get the icons in the bar with dark backgrounds (with gaps of light background) but can't seem to reproduce this now, I presume because I'm running mate-settings-daemon. Killing the daemon kills MATE. Sadly I'm not sure it's worth the effort, I've already sunk ~3 hours into it!
FWIW I tried running taffybar with the following environment variables set:
GTK_THEME, GTK2_RC_FILES (e.g. env GTK_THEME=Arc:dark GTK2_RC_FILES=/usr/share/themes/Arc-Dark/gtk-2.0/gtkrc  taffybar) without any success in overriding the current theme.
Just one more question, do you know of any easy way to get the names of the widgets in the bar for theming? I can theme some aspects, and I think if I can be sure of the widget hierarchy then I might have better luck overriding the global rules.
Cheers

The widget name is never set for the tray which is why it is difficult to style it
You can do something like this to fix this issue
      tray = do
        tray <- systrayNew
        container <- Gtk.eventBoxNew
        Gtk.containerAdd container tray
        Gtk.widgetSetName container "Taffytray"
        Gtk.widgetSetName tray "Taffytray"
        return $ Gtk.toWidget container

@IvanMalison,
Thanks for this suggestion, I've been playing around with this today and have managed to ditch the many many widget pattern matches and just use a single "Taffbar" widget match after applying your suggestion. I'll tart up my config, and produce a tutorial at some point and post it.

Here are my findings:
Out of the following:

base[NORMAL]
base[PRELIGHT]
base[ACTIVE]
base[SELECTED]
base[INSENSITIVE]

bg[NORMAL]
bg[PRELIGHT]
bg[ACTIVE]
bg[SELECTED]
bg[INSENSITIVE]

fg[NORMAL]
fg[PRELIGHT]
fg[ACTIVE]
fg[SELECTED]
fg[INSENSITIVE]

base[NORMAL]
base[PRELIGHT]
base[ACTIVE]
base[SELECTED]
base[INSENSITIVE]

Only
bg[NORMAL]
bg[PRELIGHT]

fg[NORMAL]
fg[PRELIGHT]

Are applied
bg covers the bar and widget backgrounds in NORMAL mode, PRELIGHT affects the background colour when the window switcher is clicked, changing the background colour of the current window and the window name being hovered over in the drop down list.
fg covers the text color (Note, text doesn't seem to style anything) in NORMAL mode, PRELIGHT again only affects items in the window switcher when clicked with similar behaviour.

The image above uses the following taffybar.rc
include "solarized.rc"

style "default" {
    font_name = "Terminus 10"
}

style "light"  = "default" {
# NORMAL: Normal color
# PRELIGHT: Mouse over effects
# ACTIVE: Whilst mouse is pressed
# SELECTED: When text is selected
# INSENSITIVE: For widgets that cannot be used
    bg[NORMAL]        = @base3
    bg[PRELIGHT]      = @base1

    fg[NORMAL]        = @base00
    fg[PRELIGHT]      = @red
}

widget "Taffybar*"                style "light"

Here's solarized.rc
# Solarized colors
gtk_color_scheme = "base03:  #002b36" # (dark)  Background
gtk_color_scheme = "base02:  #073642" # (dark)  Background highlights
gtk_color_scheme = "base01:  #586e75" # (dark)  Comments / Secondary content | (light) Optional emphasized content
gtk_color_scheme = "base00:  #657b83" # (light) Body text / Default code / Primary content
gtk_color_scheme = "base0:   #839496" # (dark)  Body text / Default code / Primary content
gtk_color_scheme = "base1:   #93a1a1" # (dark)  Optional emphasized content | (light) Comments / Secondary content
gtk_color_scheme = "base2:   #eee8d5" # (light) Background highlights
gtk_color_scheme = "base3:   #fdf6e3" # (light) Background
gtk_color_scheme = "yellow:  #b58900"
gtk_color_scheme = "orange:  #cb4b16"
gtk_color_scheme = "red:     #dc322f"
gtk_color_scheme = "magenta: #d33682"
gtk_color_scheme = "violet:  #6c71c4"
gtk_color_scheme = "blue:    #268bd2"
gtk_color_scheme = "cyan:    #2aa198"
gtk_color_scheme = "green:   #859900"

This tray is now deprecated, and the new SNITray does not have this issue


Add Known Colors to Color.Parse

Color Parse can now parse Known Colors like for example Magenta (This was possible in Mapsui 4.0)

When migrating from v4 to v5 I discovered that this was possible in v4 and not in v5. Because I have written Logic werde Users can change colors using the Color Editor on Windows so it is possible that Users selected the magenta Color. I have implemented this Color passe in custom Code and thought that it could be usefull for others. If you think this Not necessary I can close the pull request. Because this Code can Radolfzell be Generated by Ai.

and the sourcecode of the file to au
Generate a case insensitive Dictionary NamedColors with Name of Color as key and Color as Valeska

The parse (lookup) should already be case Insensitive because the _namedColors Dictionary is created With Case Insensitive Keys.
return _namedColors ??= new(StringComparer.InvariantCultureIgnoreCase)
Or dou you suggest that I parse the Color with WindowsForms Color and than set the RGBA values with that?

@inforithmics Sorry, I messed up. In my memory the Color.<Color> fields were an enum, but they are static fields and there is no simple general way to parse them. I was thinking of a way in which we would not have to add another full list of colors.
If we reorganize color we could introduce an enum internally as the core definition of our colors. This would allow simplifying the FromColor parse, but we would still need to add a full list of all the static fields, so not less code.
I am going to merge it like it is.


New App: Shuffle Images

Randomly display an image from a list of up to 20 user-defined images.
Still trying to figure out how to get them to display linearly (i.e. order defined), but can't figure out a way to cache an index that wouldn't get constantly overwritten.
A unique index key would be fine across devices since the images aren't cached, but couldn't figure out a good way to do that at the moment.
This app also may help reduce the number of apps listed on the device if you have a lot of photos.

Note I just noticed the burger of the day app was also modified here, but I didn't change anything in that file. It doesn't look like any content was changed, but I just checked on the main branch and looks like the two lines that got modified were done so when I ran make lint
cc @kstardesigns for reference.

Note I just noticed the burger of the day app was also modified here, but I didn't change anything in that file. It doesn't look like any content was changed, but I just checked on the main branch and looks like the two lines that got modified were done so when I ran make lint
cc @kstardesigns for reference.

@betterengineering @rohansingh @matslina Please merge in this change, it should fix an issue in the burger app where certain letters like ñ aren’t appearing correctly

Also fyi. This should probably go under home,  entertain or create when trying to add it to the tidbyt.
Would be nice if when we used make app we could add pre selected categories so when you made it live the app would appear in these lists, granted the list could get long that way, but only worth it if it makes it easier on you guys.

FYI I think I modified apps.go the wrong way when trying to resolve the conflict with the shopify app that was added as it wasn't in the apps.go and so this commit would now delete that, sorry about that.
I can't update my branch as github currently says it's up to date, so sorry about that.


RichTextField / RichTextBlock should strip out HTML tags from search-indexable content

Issue Summary
Currently, when indexing RichTextFields, or RichTextBlocks within StreamFields, the raw content including HTML tags is passed to the index. Since HTML tag names / attributes are not meaningful searchable content*, it would be better to provide a get_searchable_content method on these that applies Django's striptags filter.
More importantly, if you customise the Elasticsearch backend (or run raw Elasticsearch queries) to take advantage of Elasticsearch's highlighting support (see #5340), you currently end up with either stray HTML tags or spurious formatting in the results, depending on whether you passed 'encoder': 'html' in the query.
(* This isn't totally true - for example, you could make a good case for indexing the alt text on images - so an ideal solution would probably involve being able to specify custom rules at the richtext feature level to generate a plain text representation. However, on balance, I think stripping tags out is better than keeping them in.)
Steps to Reproduce
Search for 'h2' on https://www.rca.ac.uk/ . Observe that the results include many pages that contain an <h2> element but not the text "h2"...

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no

Is it OK if I work on a PR that resolves this issue? I've already implemented the same possible solution above in my project a long time ago.

@acarasimon96 Absolutely, yes please!

Resolved via #6099


Issue: Mekanism Lithium dust is Ore dictionaried

And believe me that leads to huge shortcuts in Mekanisms processing line when Lithium ores exist in world gen.
It needs removing from the ore dictionary or given its own name, this would stop:
Tinkers construct from smelting lithium ore straight into liquid lithium.
Would stop lithium ore being crushed into lithium dust bypassing the solar evap plant entirely.
Would stop Induction cell/provider recipes from being shortcut by the above processed dust straight from ores without any mek processing involved.
At the moment we are trying to minetweaker all the other recipes out and it's just not working as not every mod has MT compatibility.
Also think about the next mod coming along and adding in lithium ores and you end up with the same scenario,  please rethink the lithium dust > ore dictionary please.
Did I say please?
Please
PS We've given up trying to MT everything as all a player needs to do is make 1 mek lithium dust and them using one of numerous ways to unify ore dictionary items can change any lithium dust into Mek's Lithium dust.

You can remove items from oredictionary entries with MT. I did something similar with ReactorCraft's Thorium. Here's the script I used:
val thorium = ore:ingotThorium;
thorium.remove(ReactorCraft:reactorcraft_item_ingots:8);
It should be easy enough to alter that. You'd need something like this:
val lithiumdust = ore:dustLithium;
lithiumdust.remove(<unlocalized name of Mekanism Lithium dust goes here>);

Only problem with removing Meks lithium dust from the ore dictionary is that then breaks the recipes for Induction providers and cells, as well as other things.
It not only requires ore dictionary removal but Meks' recipes need altering to not use ore dict lithium dust.  I've not managed to change the Induction cell and provider recipes successfully (doesn't seem to be working correctly) without it breaking them completely.
Also removing it from the ore dictionary does not stop other lithium dusts being used in the chemical oxidizer to make lithium.  In fact those 2 lines you said which I added did very little.

Hm. That would definitely be more troublesome. The only other option I can think of is to disable oregen for Lithium, but that might break the source mod.

OreDict removal on MT is broken somewhat. See https://github.com/stanhebben/MineTweaker3/issues/272
In any case, I generally prefer having stuff in OreDict and recipes actually using OD values. IC2 was always a pain because it never did that (dunno now they sure didn't when I last used it).
As for the recipes, it's possible to rewrite the Induction Cell / Provider recipes with advanced recipe stuff in MT. You only need to rewrite the basic one anyway because the others already depend on that one by default.
Removing the Oxidizer recipes is pretty effortless too, the only downside being if you crystallize too much Lithium there is no way to turn that back into liquid / gaseous form, at least as long as MT hasn't fixed that OreDict bug.
In any case long story short, I don't think anything needs to change in Mekanism for this.

I agree, I don't want to remove Ore Dictionary registration for the sake of another mod's balance.  There are plenty of mods which allow for recipe modifications, as well as configurable ore gen.

@Sil3ntStorm please try and rewrite the Induction cell/provider recipes and see what happens.

@b0bst3r I already did (you should know that) and it works just fine. What issues do you see (we should probably discuss that elsewhere like over on yours as this doesn't seem the right place)?

If you mean the push you sent then I suggest you check the recipes for the tiers after the basic one and have a go at crafting them.
Feel free to open a git to discuss it.


#1022 - check status_ESC prior to set_clock

Yes, it should.

I've tested as far as ensuring that time is still reset when needed, and that it successfully backs out of any pump menus to do so.


Fix circe-extras build

Codecov Report

Merging #1488 into master will increase coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1488      +/-   ##
==========================================
+ Coverage   85.93%   86.29%   +0.36%
==========================================
  Files          58       58
  Lines        2197     2197
  Branches      107      107
==========================================
+ Hits         1888     1896       +8
+ Misses        309      301       -8

Impacted Files
Coverage Δ

...les/core/shared/src/main/scala/io/circe/Json.scala
81.56% <0.00%> (+1.67%)
:arrow_up:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
86.54% <0.00%> (+1.75%)
:arrow_up:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
97.59% <0.00%> (+2.40%)
:arrow_up:

Continue to review full report at Codecov.

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


TCP Fast Open information incorrect

TCP Fast Open was added in Windows Server 2016 (https://docs.microsoft.com/en-us/windows-server/get-started/whats-new-in-windows-server-2016#networkingnetworkingnetworkingmd) - the improvements in 1709 were around fallback improvements (cf. https://datatracker.ietf.org/meeting/100/materials/slides-100-tcpm-updates-on-windows-tcp/) and load balancer support (reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v TcpFastopenKey /t REG_BINARY /f /d<PHONE_NUMBER>abcdef0123456789abcdef)

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

ID: 570e0a36-5369-ae26-7df8-f7beee1b61b2
Version Independent ID: 239cfd6f-e9d1-b909-f48e-2164fb70b6e4
Content: What's New in Windows Server, version 1709
Content Source: WindowsServerDocs/get-started/whats-new-in-windows-server-1709.md
Product: windows-server-threshold
GitHub Login: @greg-lindsay
Microsoft Alias: greg-lindsay

#please-close


opt revert convert IN with 2 options to OR expression rule

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Remain contentLength property for files not inject BrowserLink script

@YangLyu89,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:shipit:


viewer.addOverlay returns reference to Viewer instead of created Overlay

Hi,
It seems to me that when I use
var overlay = viewer.addOverlay(elm, position, OpenSeadragon.Placement.CENTER);
the variable overlay contains a reference to the Viewer instance.
I expected a reference to the created Overlay instance. Is this correct behaviour?
You can test this in the Basic OpenSeadragon Example with Overlay, by dumping the overlay variable at the end of the code:
https://codepen.io/iangilman/pen/vyWabR

Yeah, at some point a number of the viewer functions were written to make them "chainable", so you could call a bunch of them all in a single statement. I actually don't think it's terribly useful, so we're not doing that with newer functions, but I don't really want to remove the chainable aspect of the old functions, for fear of breaking people's existing code. At any rate, it's a design flaw, not a bug.
To get what you want, it's two statements:
viewer.addOverlay(elm, position, OpenSeadragon.Placement.CENTER);
var overlay = viewer.getOverlayById(elm);

...And I'm open to suggestions on how to deprecate the chaining for future versions without breaking people's code!