fix boolean.py when kdb.Shape is passed.

This pull request addresses and fixes a bug introduced in pull request #3013 . In #3013 , an error would arise when a kdb.Shape object was passed to the boolean function because the Shape class lacked the cplx_trans attribute.
Reproduce
import gdsfactory as gf
c = gf.Component()
rec = gf.components.rectangle(size=(100, 10), layer=(1, 0))
points = [
    (0, 0),
    (70, 0),
    (100, 30),
]
polygon = gf.Component().add_polygon(points=points, layer=(1, 0))
c << gf.boolean(rec, polygon, operation="or", layer=(1, 0))

@joamatab do we need support for shape/shapes?

Boolean is mostly here for backwards compatibility, so im not sure we need to support shapes here


Create regions.json on postinstall step

I add postinstall step that creates regions.json with a list of { continents: ..., countries: ... } from caniuse-lite.
Create client/data folder with structure:

-- data/
--- wikipedia-links.js
--- regions.js // IDE will show autocomplete to fields `continents` and `countries`
--- regions.json // not added to git
--- .gitignore // prevent commit `regions.json`

oh, bad idea
vite build error :(

Remove --ignore-scripts from test.yml for postinstall running


Node ID maximum length (MEGH-4309)

What is maximum length of Node ID? Is it the only parameter that is unique for node?

We use 3 different formats for node id based on the claiming and deployment types.

mac_address (12 bytes):
uuid as base 64 encoded string (22 bytes)
uuid as standard text representation (36 bytes)

The cloud backend itself considers all 3 as text strings and so any other format would also work. The strings can even be longer (upto 64 bytes).
And yes, node_id is the only parameter unique for the node, but there is also a corresponding unique private key + certificate pair for each node and the node_id is embedded into the certificate.

Thank You for response. What is the format after private deploy (no claiming)?
I need to read nodeid by esp_rmaker_get_node_id() and need to know size for storage array declaration.

@jacek12345 , for private deployments, if you use the rainmaker admin CLI the default is the 22 characters long base64 encoded UUID. It requires one additional byte for NULL termination.
However, note that in the private deployment, you can choose any format you want, but just need to ensure that the ids are unique. They could be mac addresses or even numbers like 000001, 0000002, so on.

Thank You


MQTT ACK

ESP32 using TLS
I have some code that is long running. This can cause the ACK to fail when using QOS 1. The message is then resent making the issue worse as the long running code is re triggered.
I don't think this is a bug more a programming issue.
Is there some function to confirm once the message has been Acknolodged I can then kick off the function. I have the payload from MQTT stored and need to trigger the long running prcoessing function. It sends out signals at a very slow speed 1 after the other to a 3rd party system.
All works fine when the longrunning function is disabled.
Thanks

I'm not entirely following. Your ESP starts a long process when a certain message is received and this causes the ACK to be delayed? Is this correct?
If yes, this automatically raises the question about task priorities and yielding.  If possible, please do.
If not possible, try to run espMqttClient in the other core (if your esp32 has two cores).

Hi
Yes correct an MQTT message is recived and then a long process starts it sends 32 Messages over an RF link spaced 10 seconds apart.
This of course courses the ACK to be delayed. No I am not yielding.  I will try this. Thanks

any progress?

Closing because of lack of updates.
Feel free to reopen if the issue persists.


Language Support

I use Æ/æ, Ø/ø and Å/å, but these charecters do not seem to be supported.

Thank you reporting it. We are going to support more languages, that's a good one.
What is the locale you used for this characters plz ?

It is danish, I do not use Language codes in my app, but I would guess something like this: Locale('da', 'DK')

After some digging it's our database encoding.
We are going to fix this on the demo database to save all texts for all languages correctly.

This has been fixed and will be available soon on the production server.
Feel free to reopen if you still got an error.
Thank you for reporting this, this helps us make it better 👍

This has been fixed and will be available soon on the production server.
Feel free to reopen if you still got an error.
Thank you for reporting this, this helps us make it better 👍


(DisplayFusion) Moving to core pacakges, along with an update script

This should be all set on my end.

also change the filename of the icon to be all lowercase.

All set? Maybe?

All set? Maybe?

We'll see, it's now scheduled to run on appveyor. So if that one doesn't fail, then everything should be good to go.
As long as you can confirm that you have permission from the maintainer to move the package here of course.

I had emailed the original maintainer, keithlammers, I believe he is also the guy that writes all that software. I just emailed him again to verify that he's good with it. I'll post it on here when I get it.


Pace never stops with PubNub

First of all Pace is awesome, but I can't make it work in my web app because it is tracking all PubNub requests, so the bar always stay visible even with new Ajax requests.
I am using Ember.js and PubNub generally make a lot of requests for listen channels and other actions.
Some help over here! Thanks in advance.

@fxckdead Everytime a new request is made, Pace gets into action. It seems this behaviour is okay.

@russellhoff I wasn't saying Pace had a problem, if you read the original question,  Pace stay "loading" when you are using PubNub, it's coz Pubnub use long-live request to make the "ping" with their servers:

This request will be "pending" until next "heartbeat" call, so, pace never will complete the progress bar.

@fxckdead It's okay, but I'd never said Pace had any kind of problem, actually I said it was a right behaviour.
Anyway, is there any option for Pace to ignore PubNub heartbeats? Thanks!

@russellhoff with the option "ignoreUrls" you pass an array of domains/urls that Pace will not track, like i said before:
window.paceOptions = {
			document: true, // disabled
			eventLag: true,
			restartOnPushState: true,
			restartOnRequestAfter: true,
			ajax: {
				trackMethods: ['POST', 'GET'],
				ignoreURLs: ['pndsn.com']
			}

		};

With these options in Angular i have everything working.


Dirty tracking performance improvements

This PR is the third (and final) in a series of overhauls of the threading, snapshotting and dirty tracking model.
This PR addresses the underlying issue of the performance of the dirty tracking, which is currently based on soft dirty PTEs. While it works, it has a couple of shortcomings:

Soft dirty PTEs can only be reset globally, creating a synchronisation point and preventing us from performing dirty tracking on more than one application at a time on each host.
Resetting and reading soft dirty PTEs requires writing to /proc/self/clear_refs and reading from /proc/self/pagemap respectively, which can be a drain on performance when done repeatedly in a tight loop.

Ideally we would do this tracking with userfaultfd write-protected pages, however, this is only available in kernels 5.7+, i.e. Ubuntu 22+ which isn't yet stable. In the interim we can use an mprotect + SIGSEGV approach, where we make pages read-only using mprotect, then catch the resulting segfault when they're written to, and mark them as dirty.
Although in our current use-cases the PTEs are less performant that the segfault approach, this may not be the case for all workloads, so I'd like to keep the soft PTEs approach around.
PTEs, segfaults and userfaultfd all result in a different approach to aggregating diffs for a batch of threads. PTEs are system-wide, while segfaults are handled by individual threads (so we have to introduce thread-local tracking), and userfaultfd would use a single background tracker thread per application. To abstract the boilerplate for doing this and support switching more easily, I've introduced a single DirtyTracker class that abstracts all the details, and a configuration parameter DIRTY_TRACKING_MODE which can be set to softpte or segfault for now, and uffd in future.
This results in quite a few changes to the code:

Abstract all dirty tracking logic to an interface encapsulated in the DirtyTracker class.
Support both global and thread-local dirty tracking.
Move all logic related to handling thread snapshots, invoking threads and dirty tracking into the Executor class (previously this was scattered across Faabric and Faasm).
Introduced the concept of a "main thread snapshot", used by threaded applications and controlled by Faabric. Previously this snapshot had to be created and updated outside of Faabric, which was confusing and error-prone.
When repeatedly executing batches of threads from the same application, cache each scheduling decision and pass it as a hint to the next batch of the same size.
Stop using dirty page tracking to track changes made to snapshots. We can do this manually with higher precision as all changes to each snapshot now go through methods on the SnapshotData class.
Improve the performance of inner loops related to dirty tracking and diffing.

I'm going to merge this and take discussions of improvements and tweaks offline.


ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found ld: Undefined symbols:

I was run xcode15.2，What should I do

Hello.
I don't have access to a Macbook to test this. If you want, please look at the contributing guide and try to build the binary yourself and see if that works.


For the C code we need to turn on the PRODUCTION flag to remove all the frame alignment assertions within the main evaluation loop.

          @apoelstra For the C code we need to turn on the PRODUCTION flag to remove all the frame alignment assertions within the main evaluation loop.

Originally posted by @roconnor-blockstream in https://github.com/BlockstreamResearch/simplicity/issues/164#issuecomment-1656314963

We also need to the PRODUCTION flag enabled when performing benchmarks.  OTOH, we want the flag off when running the fuzzer.


x/crypto: CVE-2023-39325

Go version
golang:1.20 container
Output of go env in your module/workspace:
NA

What did you do?
Installed a module that uses x/crypto 0.18.0, which uses x/net 0.10.0.
What did you see happen?
This was flagged for this CVE because of the older version of x/net used by x/crypto.
What did you expect to see?
I would expect x/crypto to being using a fixed version of x/net 0.17 or newer.

CC @golang/security

CVE-2023-39325 affects the HTTP/2 server, which is not used by x/crypto. We do not make unnecessary updates to modules to upgrade dependencies on modules which have vulnerabilities in code that is not used.


Prerender node service creating dmp files on server tmp folder

Hello,
We are using prerender middleware node service for our angular websites (for solve SEO issues) on our centos server
and we are getting one strange issue because of this
our server tmp folder getting filled .dmp files because of this node service (and then we start getting No Space left issue on server)
and we have to delete all the dmp files everyday from our server /tmp folder
this is confirmed that those .dmp files are generating by prerender node service because we stopped this service for 2 days and there was no new files added
but when we started it back again same issue
Please advice how can we resolve this issue
Thanks,
Ekam

Hi @ConradP
we are also getting same issue at our end
we are centos7 with cpanel
i checked chrome version on our server google-chrome-stable-94.0.4606.81-1.x86_64
so we are unable to find package to downgrade this
can you help on this or send us any link where we can get version 90 stable version
Thanks,
Ekam

Hi @ConradP
we are also getting same issue at our end
we are centos7 with cpanel
i checked chrome version on our server google-chrome-stable-94.0.4606.81-1.x86_64
so we are unable to find package to downgrade this
can you help on this or send us any link where we can get version 90 stable version
Thanks, Ekam

@simranjeetsingh ,
I got lucky and had an old .deb file for version 90.0.4430.212-1 and used it to do the downgrade with apt.
I'm pretty sure you can do the same thing with Yum but you need the .rpm file. Google doesn't advertise the older packages because it's not really a great idea to run older versions that usually have known vulnerabilities so proceed with caution.
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-90.0.4430.212-1.x86_64.rpm
you should be able to swap out the version number in the url for a more recent one if you want to trouble-shoot or test a newer version. I found the exact version numbers here
Hope it helps.

Thanks @ConradP
IT works for us now
You Rock
Thanks Again

Any update on this?


Merge Hypermap

This branch is a merge of Terranodo's Registry, Hypermap, and Hypersearch additions, and also includes the following bug fixes and modifications:

registryUrl has been added to the config.
The "zoom to extent" functionality works for registry layers.
The cross domain error caused by including a GeoNode CSRF token in the request header to the default hypermap catalogue has been addressed.
The application does not error out when embedded in a GeoNode session.
GeoNode layers can be added to the map.

@darinacosta Looks like there are conflicts, can you resolve them please.

@BerryDaniel Ah, yeah they're being caused by the local service editing PR merge, taking a look now.


Tab bar button press wait for scenes to fully render even though there is lazyload placeholder

Current behaviour
Version 2.0.0-alpha.4 works like a charm,  when swiping, tab's indicator slide with same with swiping scenes no delay, evertyhing is ok. I am using tab war with "scrollenabled", when sliding tab's indicator slide out of the screen, tab bar is focused to the active position with a long delay. It is same when navigate throught the tab bar (on press). I figured out, tab bar wait for scenes didCompenentMount, and then sliding animation and focus begins, that makes the delay, no lazy load place holder, goes directly (after the delay) to rendered scene.
Expected behaviour
Swiping scenes and navigation through tab bar should both work with lazy load, with same transition speed. I am not sure if it is tab bar's expected behaviour. Is there any way to work it synchronous with swiping?
Code sample
https://github.com/oguzhanali/LaggyTabBarView/blob/master/index.js
Screenshots (if applicable)

What have you tried

Your Environment

software
version

ios or android

react-native

react-native-tab-view
2.0.0-alpha.4

react-native-gesture-handler
1.0.16

react-native-reanimated
1.0.0-alpha.12

node

npm or yarn

Are you on iOS or Android?

@satya164 sorry for not mentioning, issue is on Android.

I can only see a minor delay (probably because I'm on a high-end device), but it's expected because your screens aren't optimized. Please see https://github.com/react-native-community/react-native-tab-view#avoid-unnecessary-re-renders on how to prevent-unnecessary re-renders to speed up tab switching.

@satya164 I am actually asking, is this possible to use a lazy load placeholder with tab bar on press jumpto method? https://snack.expo.io/@satya164/react-native-tab-view-lazy-load pressing the tab do not load lazy load place holder, just swiping does. Can you give me a advice or trick ?

pressing the tab do not load lazy load place holder

state update happens first with tab press. why do you want to show placeholder? surely faster the user sees the screen the better?

In current scenario there is two differences
When I swipe to the next tab - I see the loader(placeholder) and have a feeling that something is 'loading'.
When I press on the next tab - everything freezes(I do not understand whether application working or stuck) and after several seconds my tab appears.

@vasilich6107 Any solution worked for you.. because it is happening in the latest update also ?

@ankitjaiswal1994 I switched to flutter cause RN is to painful to work with ;-)

@vasilich6107 ROFL... Good Mate :)


AUDIT - Filter by date range

It's not possible to filter the graphs by a date range at the moment. Should be added to the audit sections.

This is done on the emails, guests and sessions now. Not implemented on the socials yet.


[HW]

Name: Shalini Kumari
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/shalini-kumari-a89460128/
Attach the homework screenshots below for both step II and step III:

https://api.badgr.io/public/assertions/5ETi9tJXQfCUogY_WO9IIQ?identity__email=ishalini95%40gmail.com


implement user deletion functionality

I wrote a function in the main script to remove a client information from /etc/openvpn directory and add an option in the manageMenu to operate the function.

This will cause revoked certificates to be allowed to connect to the VPN.
Please, do not edit EasyRSA index.txt, unless you know what you are doing.

It seems I'm missing something. How could it be possible to connect while all related files are removed and the index.txt is updated?

As for your other question, please learn how X509 certificates work.

Thanks. I'll read about that.
Do you have any suggestions to remove a client in a clean way? I mean, is there any convenient way to do so? Probably you have thought about it before and it just cannot be done easily.


Request: Add repositories with Bible translations.

It would be nice to have option in the application, to enter URL for additional repository with unofficial YES files, made by community.
Something like packages repo for Linux distributions. You have official repo maintained by Distribution maintainers, and you have community repos.
The functionality should allow add as many as you want repos, by using URL or QR code.
List of repos should allow modifying it (changing URL or even priority), enabling and disabling it, and finally removing repo.

This is a very key feature.
I have been wanting this for years now

I agree this is an important feature. Does anyone have the bandwith to implement this feature?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
you mean time to implement it, or place for storing files and bandwidth for downloading?
Wysłano z bezpiecznej poczty e-mail Proton Mail.
------- Original Message -------
środa, 31 sierpnia 2022 08:58, Randy Sugianto (Yuku) @.***> napisał(a):

I agree this is an important feature. Does anyone have the bandwith to implement this feature?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wnUEARYKAAYFAmMPBwQAIQkQP1g+OhBz7kUWIQTSWXF4J1vgcFBNcSo/WD46
EHPuRcQhAPwMcU87bhcBKKtGw+8MNx47aLGE5aa69bBaKdqwcM301gD+LflE
hD/OW7SSJOxuoPLdIabRS7iOnRo+MGxzMAjnaws=
=1kVm
-----END PGP SIGNATURE-----

Time to implement it on the app.


spec how to make e2e compulsory for a user

... wat?

Various people have asked whether there's going to be a way to require
communication to a user or a HS be E2E encrypted.  We haven't yet
defined how E2E capability negotiation should happen, if at all, and we
certainly haven't specced a way to require all communication for a user
(or a server) to use E2E.  Hence this bug.
The use case here is if I am paranoid, and only want people to contact
me if they're using E2E - and likewise protect me from ever using
non-E2E clients on my account.

thing on my list would be to indicate whether a room is E2E on the invite, or even the sidebar for extra fanciness.
would be a way to 'auto enable' E2E for rooms you create for the purpose of a PM only.


Can't lint graphql operation inside .js or .jsx files whith graphql-config

Context
Today, graphql-eslint is loading schema and operations via graphql-config if available and not disable. Otherwise, it uses directly graphql-tools and parserOptions of eslint configuration file.
Problem
When parsing schema and operations directly via graphql-tools, we use some loaders such as CodeFileLoader which allow to parse graphql inside JavaScript and TypeScript files.
But when we use graphql-config, this loaders are not used by default.
This lead to projects not lintable if used with graphql-config.

Fix available in<EMAIL_ADDRESS>


Possible to help me with your theme?

Hello, I am creating my own theme. I love your theme as well. Could you please show me how to create a theme like yours?
I don’t understand css and hence, cant really figure out your theme.

Sorry for taking a while to get back to you!
The best I can give you is https://dx13.co.uk/articles/2024/03/10/tweaking-nnw-theme/, but the CSS tweaks I did were so minimal I can't really give guidance beyond that 😢 .


Manage ZFS YUM repo and RPM GPG key

Fixes https://github.com/bodgit/puppet-zfs/issues/8

Hi @bodgit!
Not quite sure why the CI pipeline fails -- looks like it's got nothing to do with the code I've changed. Anything I can do to fix it?

Not quite sure why the CI pipeline fails -- looks like it's got nothing to do with the code I've changed.

No, I'm not sure either. They only seem to fail when Travis runs them, I can't reproduce it locally, changing the rspec output so I can see which specific test is failing would be my first option.
A few points on the PR:

I would prefer to manage the GPG key as a straight file resource here.
Also, I would prefer to manage the Yum repositories using the yumrepo type, a lot of the complexity with the augeas type can then be removed as it's just flipping the enabled attribute on the DKMS or kmod repositories.
This whole section can be wrapped with a Boolean $manage_repo = true parameter so if someone wants to manage the repositories themselves they can do that.
Using $facts['os']['release']['full'] will be correct on Red Hat but on CentOS the release will be something like 7.6.1810 and so that .1810 will likely need to be chopped off for the repository URL's.

Pushed a few changes:

gpg keys managed using file resource
repos managed using yumrepo
fixed the OS release name

Let me know if you have anything else I can do to make it better.

I've merged in your PR with a few changes, I've dropped the testing/source repos as there's no equivalent on Debian/Ubuntu. I'm going to try and get #18 working at least before I cut a new release.
Thanks for the contribution!

You're more than welcome @bodgit -- thank you for your Puppet modules!

v2.2.5 should be up on the forge now.


stub unused services

Addresses #67

needs NOT_IMPLEMENTED field from https://github.com/osrf/buoy_msgs/pull/13/files

ok, so I pulled in #57 and #69 to get some unit testing and requires https://github.com/osrf/buoy_msgs/pull/13
The basic test is for both python and cpp building on the basic test in #56 but I added an implementation of the buoy_msgs/interface to check power_controller data published on /pc_record from the ROS2 gazebo plugin

here -> https://github.com/osrf/buoy_sim/pull/68/commits/1bd69a23ed49829001d594829e1e65ec52d28f51
I added a NoOpController ROS2 node plugin to service all unimplemented buoy commands

@chapulina I can't figure out what's going on with the failing checks. For some reason, it looks like the sim isn't running for 5000 iterations in CI, but it passes in my workspace when I have andermi/stub_unused_services for buoy_sim, and main for buoy_msgs and buoy_examples


Add OAK for Education page with Cortic AI Toolkit mention

Behind so I don't think will have a proper review but could we add this GIF on the page?
https://github.com/cortictechnology/cep/blob/main/resources/Visual-Programming.gif
It's very compelling to show what it does.

Thanks @Luxonis-Brandon, agreed. Just updated the PR


Garbage text on SDL_Keycode wiki page

On the wiki page for SDL_Keycode, this text is present:

I assume this text was meant to be replaced/filled in via an automated script.

Transferred to the sdlwiki bug tracker and closing here.


CB-14665 SaltOrchestrator checkResult is not resilient to transient c…

…luster proxy failures
See detailed description in the commit message.

only rerequested Peti's review to make PR appear in merge ready list :)


why is this not free

Still wondering why this feature is not free of charge.
Users with only Office 365 licenses are now forced to use scripts etc to assign licenses, and the sole purpose of this feature is to use/assign MS licenses.

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

ID: d215ddd2-d71f-8b91-c5f7-314c6287cafc
Version Independent ID: ef317dea-e56a-e6db-3344-67aa028a0ca7
Content: What is group-based licensing in Azure AD?
Content Source: articles/active-directory/fundamentals/active-directory-licensing-whatis-azure-portal.md
Service: active-directory
GitHub Login: @eross-msft
Microsoft Alias: lizross

Thanks for the feedback! We are looking into this and will get back to you shortly.

Hi, How will we handle F users for licensing?

@CharlPels please direct this question to MSDN and we will respond there. We are moving away from product-related questions in the doc comments. https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=windowsazuread


[Service] Multi app support in Kuberay

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Ray Serve is already supporting multi application in 2.0 API.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Specifically supporting these uses -- https://docs.ray.io/en/releases-2.4.0/serve/multi-app.html#adding-deleting-and-updating-applications -- would be great

cc @v4if

Done by https://github.com/ray-project/kuberay/pull/1136 and https://github.com/ray-project/kuberay/pull/1156


Is the travis bot working correctly?

The packages I have requested seem to have been tested 3 times by the travis bot with no errors and no pull requests.
I have had a look back (in the issues) and it looks like none of the requests have been completed in the last week or so?

Sorry about the delay. I'm working on it.

(Cross-posted from some package bug I now lost track of)
Every package fails, because the name "Raphael Pinson" is decoded incorrectly: https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/174487752#L343
Adding {"alias"=>"augeas", "sourceline"=>"ppa:raphink/augeas", "key_url"=>nil}
gpg: keyring `/tmp/tmp7kaj2kfz/secring.gpg' created
gpg: keyring `/tmp/tmp7kaj2kfz/pubring.gpg' created
gpg: requesting key AE498453 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp7kaj2kfz/trustdb.gpg: trustdb created
gpg: key AE498453: public key "Launchpad PPA for Rapha�l Pinson" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 687, in addkey_func
    func(**kwargs)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 370, in add_key
    return apsk.add_ppa_signing_key()
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 261, in add_ppa_signing_key
    tmp_export_keyring, signing_key_fingerprint, tmp_keyring_dir):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 210, in _verify_fingerprint
    got_fingerprints = self._get_fingerprints(keyring, keyring_dir)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 202, in _get_fingerprints
    output = subprocess.check_output(cmd, universal_newlines=True)
  File "/usr/lib/python3.4/subprocess.py", line 609, in check_output
    output, unused_err = process.communicate(inputdata, timeout=timeout)
  File "/usr/lib/python3.4/subprocess.py", line 947, in communicate
    stdout = _eintr_retry_call(self.stdout.read)
  File "/usr/lib/python3.4/subprocess.py", line 491, in _eintr_retry_call
    return func(*args)
  File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 94: ordinal not in range(128)

I don't think so. Adding the relevant key fails, but the rest of the steps should be working.


nginx: "upstream sent too big header" error

When trying to login to admirer after spinning up a stack get the following

An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.

nginx logs give the this error.
2023/01/05 17:23:47 [error] 94#94: *1 upstream sent too big header while reading response header from upstream, client: <IP_ADDRESS>, server: localhost, request: "GET /adminer/ui/?pgsql=rdf-postgis%3A5432&username=postgres HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080/?pgsql=rdf-postgis%3A5432&username=postgres", host: "localhost:3838"
2023/01/05 17:23:47 [warn] 94#94: *1 upstream server temporarily disabled while reading response header from upstream, client: <IP_ADDRESS>, server: localhost, request: "GET /adminer/ui/?pgsql=rdf-postgis%3A5432&username=postgres HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080/?pgsql=rdf-postgis%3A5432&username=postgres", host: "localhost:3838"
<IP_ADDRESS> - - [05/Jan/2023:17:23:47 +0000] "GET /adminer/ui/?pgsql=rdf-postgis%3A5432&username=postgres HTTP/1.1" 502 494 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-"

Fixed manually by solution detailed here.
So far I think I am the only one to experience this error. Unsure if fix to the code, troubleshooting update to documentation, or something else is required if anything.

Changed browser from chrome to edge and issue did not occur

I think I was running out of memory at the time. This issue has since resolved itself for me after upgrading my hardware.


[BEAM-13434] Update a few dependencies that may depend on log4j transitively.

This mirrors https://github.com/apache/beam/pull/16223/files, but for the release branch.
Note that pubsublite dependency was upgraded on master in https://github.com/apache/beam/commit/ba49cd9d26a589c3830f10d0e9fd2299809fe842 . This PR however includes only a part of this change.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @dpcollins-google

Run Java_Examples_Dataflow PreCommit

Hey, can hold on before merging this PR in.
@suztomo -- Version 2.35.0 of Beam is going to be used in the January LTS release, but version 1.4.5 of pubsublite is not compatible with the versions of dependencies we selected in the LTS bom.
We are having some discussions, but we believe that the current version of pubsublite does not pull in log4j.

Run Java_Examples_Dataflow PreCommit

ack, sure.

Right. This version of pubsublite cannot go to 2.35.0.

@suztomo -- Sorry to disturb your vacation. I have one last question -- The team wants to upgrade the version of flogger in pubsublite from 0.7.1 to 0.7.2 due to the log4j concerns even though log4j is not brought in directly.
In this case, do you recommend doing a patch release of pubsublite to include this version upgrade? I.e. releasing a pubsublite 1.2.1 that has the version upgrade? https://search.maven.org/artifact/com.google.cloud/google-cloud-pubsublite/1.2.0/jar

As long as the old pubsublite works fine with the new flogger (It's very likely; otherwise we would have seen Beam test failures already), we don't need to touch pubsublite version in 2.35.0 branch.

retest this please


Fix 0.7.0 deps

Checklist

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

Fat fingered the auto PR before I got to update the dependencies in meta.yaml.
This PR fixes the deps.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

@conda-forge-admin, please rerender


Footnotes is always rendered at the end of post instead of the writting location

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.109.0-47b12b83e636224e5e601813ff3e6790c191e371+extended windows/amd64 BuildDate=2022-12-23T10:38:11Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes
I have the following markdown file:
+++
title = "test"
+++

# H1
write something

## h1.1
write something[^1]

[^1]: annex 1 (should be under ``h1.1``)

# H2
write something[^2]

[^2]: annex 2 (should be under ``H2``)

It is rendered as this:

How can I get the footnotes in each section? I expected that the annex 1 foonotes should be under heading h1.1
This is the configuration:
[markup]
  [markup.tableOfContents]
    endLevel   = 3
    ordered    = false
    startLevel = 1
  [markup.highlight]
    anchorLineNos      = false
    codeFences         = true
    guessSyntax        = false
    hl_Lines           = ''
    lineAnchors        = ''
    lineNoStart        = 1
    lineNos            = true
    lineNumbersInTable = true
    noClasses          = true
    style              = 'onedark'
    tabWidth           = 2
  [markup.goldmark]
    parser.autoHeadingID     = true
    parser.autoHeadingIDType = "github"
    [markup.goldmark.renderer]
      hardWraps = false
      unsafe    = true
      xhtml     = false

By definition, in all of the major style guides (CMS, AP, etc.), footnotes always appear at the bottom of the page.
Please use the forum (https://discourse.gohugo.io/) for questions and troubleshooting. We prefer to use GitHub for verified bugs and vetted enhancements. Thanks.


Stream from file input without re-encoding

If not, is it possible to use gstreamer directly to do it?
Thanks and Cheers

I mean, is it feasible codewise in pipeline.cpp?

Hi @frallain,
Yes it is possible. It's written in the readme which options force a transcoding:

RTSP_FRAMERATE | -f: The desired output framerate for your stream [default: 25] - RTSPATT will have to do encoding to change the framerate (Increased CPU usage)

The options that force transcoding are:

Changing the resolution
Changing the framerate
Enabling the time overlay

If you see that RTSPAtt is transcoding despite none of those options being used, then it's a bug. In which case, let me know and I'll fix it as soon as possible :-)
Thanks for using RTSPATT!

@Ullaakut Ok, I am trying to stream a 1920x1080 10FPS H264 mp4 file:
$ mediainfo legacy_openRTSP.mp4
General
Complete name                            : legacy_openRTSP.mp4
Format                                   : QuickTime
Format/Info                              : Original Apple specifications
File size                                : 27.9 MiB
Duration                                 : 1mn 2s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 763 Kbps
Encoded date                             : UTC 2017-11-14 11:05:13
Tagged date                              : UTC 2017-11-14 11:05:13
Writing library                          : Apple QuickTime

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile<EMAIL_ADDRESS>Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=50
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 2s
Bit rate mode                            : Variable
Bit rate                                 : 3 761 Kbps
Maximum bit rate                         : 8 027 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 10.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.181
Stream size                              : 27.9 MiB (100%)
Language                                 : English
Encoded date                             : UTC 2017-11-14 11:05:13
Tagged date                              : UTC 2017-11-14 11:05:13
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

and I think it transcodes the file:
$ docker run -p 8554:8554 -v /tmp/:/videos/ -e INPUT=/videos/legacy_openRTSP.mp4 -e RTSP_RESOLUTION=1920x1080 -e RTSP_FRAMERATE=10 -e RTSP_ROUTE=/feeding  ullaakut/rtspatt:1.3.2
Server configuration:
Address:	<IP_ADDRESS>
Port:		8554
Route:		/feeding
Username:
Password:
Auth method:	basic
Input:		/videos/legacy_openRTSP.mp4
Input type:	file

H264 encoding with:
Framerate:	10
Resolution:	1920x1080

Launching stream with the following pipeline: ( appsrc name=mysrc ! decodebin ! videoscale ! video/x-raw,width=1920,height=1080 ! videorate ! video/x-raw,framerate=10/1 ! capsfilter ! queue ! x264enc speed-preset=superfast ! rtph264pay name=pay0 pt=96  )
Stream ready at rtsp://<IP_ADDRESS>:8554/feeding

Can you confirm or not that it is transcoding?
Also, the [default: 25] for RTSP_FRAMERATE is confusing, should I specify it if my video is not at 25FPS? Shouldn't be the default framerate the original framerate of the input video?

Yes, here it's going to transcode the video because the resolution and framerate options are specified.
I agree that it's super confusing, especially that currently if RTSP_FRAMERATE isnt specified, it just isn't modified, and is not set to 25fps like the documentation would suggest.
I will update the documentation to match reality and in the meantime, running:
docker run -p 8554:8554 -v /tmp/:/videos/ -e INPUT=/videos/legacy_openRTSP.mp4 -e RTSP_ROUTE=/feeding  ullaakut/rtspatt:latest

Should work without any transcoding.

@Ullaakut No it still transcodes due to the default resolution of 1280*720 :
$ docker run -p 8554:8554 -v /var/log:/videos/ -e INPUT=/videos/legacy_openRTSP.mp4   -e RTSP_ROUTE=/feeding ullaakut/rtspatt:1.3.2

Server configuration:
Address:	<IP_ADDRESS>
Port:		8554
Route:		/feeding
Username:
Password:
Auth method:	basic
Input:		/videos/legacy_openRTSP.mp4
Input type:	file

H264 encoding with:
Framerate:	25
Resolution:	1280x720

Launching stream with the following pipeline: ( appsrc name=mysrc ! decodebin ! videoscale ! video/x-raw,width=1280,height=720 ! videorate ! video/x-raw,framerate=25/1 ! capsfilter ! queue ! x264enc speed-preset=superfast ! rtph264pay name=pay0 pt=96  )
Stream ready at rtsp://<IP_ADDRESS>:8554/feeding

Alright I found the issue! Thanks @frallain :) Will fix this later on today or tomorrow.

@Ullaakut Cool, glad to help.

Actually after looking into it for a few hours here, didn't really find a way to consistently have working video without encoding. Will leave the forced encoding for now but remove the default WIDTH, HEIGHT and FRAMERATE values (except for videotestsrc, which requires dimensions to be built.)
I will add the help wanted label on the issue and hopefully someone else will be able to help. Until then, if you really need to avoid the encoding, I suggest using ffmpeg

See https://github.com/Ullaakut/RTSPAllTheThings/pull/55 for an update on some fixes regarding this.

@ullakut some relevant information at https://stackoverflow.com/questions/29794053/streaming-mp4-video-file-on-gstreamer

This pull request might turn out to be useful:

https://github.com/Ullaakut/RTSPAllTheThings/pull/61

#61 fixes this issue, thanks to @enricomarchesin ! Closing for now, but if that still doesn't work for you @frallain , let me know :)

Just a side note, I did a couple of tests to understand the actual performance improvement when no decoding and encoding is done on the source
Default pipeline
The original image, when idle (not streaming), was showing this with docker stats:
CONTAINER ID        NAME                    CPU %               MEM USAGE / LIMIT   MEM %               NET I/O             BLOCK I/O           PIDS
1a4995cbe07d        hardcore_visvesvaraya   10.71%              710MiB / 3.855GiB   17.99%              828B / 0B           1.89MB / 4MB        9

When streaming a Full HD H262 video, the CPU usage more than tripled (it's a 2.7 GHz Intel Core i7 with 4 cores assigned to Docker):
CONTAINER ID        NAME                    CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
1a4995cbe07d        hardcore_visvesvaraya   35.32%              2.016GiB / 3.855GiB   52.30%              516kB / 33.9MB      2.97MB / 4.12MB     29

Custom pipeline
I then served the same video and passing a custom pipeline (inspired by the post linked above):
GST_PIPELINE="filesrc location=/tmp/video.mp4 ! qtdemux ! video/x-h264 ! rtph264pay pt=127 name=pay0"

This is the resource usage when idle:
CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT    MEM %               NET I/O             BLOCK I/O           PIDS
f1cf254e0374        jolly_fermi         0.00%               7.68MiB / 3.855GiB   0.19%               758B / 0B           98MB / 3.7MB        1

And this is the stats when streaming:
CONTAINER ID        NAME                   CPU %               MEM USAGE / LIMIT    MEM %               NET I/O             BLOCK I/O           PIDS
f553127b7142        condescending_darwin   1.70%               7.93MiB / 3.855GiB   0.20%               593kB / 21.8MB      0B / 3.7MB          6

🤩 Amazing, isn't it?

Yes, encoding is very resource-intensive, especially for high quality streams. It's very good indeed that it's now possible to have pipelines that work without encoding when it's not necessary :) I just wish I figured out how to fix the main pipelines though, as it's not easy for most users to write gstreamer pipelines (and to be honest, I haven't been using gstreamer much this past year, so I'm a bit rusty myself)


: ImageIO: PNG IDAT: invalid distance too far back

I think there is a problem with image loader.
Console says: : ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
: ImageIO: PNG IDAT: invalid distance too far back
The file is working fine in other app-installations. Problem: I have now an invalid image inside my app (only first rows of the image) and imageloader doesn't reload it.

Thanks, @ogezue .
Would you show me logs about this issue ?

ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk is caused by the image is very huge.
I try to resize the image.


crosvm: 103.3 -> 104.0

Description of changes
Update, and fix. I still have to run with --seccomp-log-failures.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Test with:
nix run github:astro/microvm.nix#crosvm-example --override-input nixpkgs github:astro/nixpkgs/crosvm


Incorrect output for inline block statement containing an empty statement

Describe the bug
dprint-plugin-typescript version: 0.80.2
Input Code
An if statement with a block statement that only contains an empty statement, all in one line (see Playground):
if (true) {;}

Expected Output
dprint should remove the empty statement, but keep the block statement:
if (true) {}

Actual Output
dprint currently removes the block statement entirely:
if (true)

Note that dprint formats this code correctly when the block statement is not on a single line (see Playground):
// Before
if (true) {
    ;
}

// After
if (true) {
}

Thanks for reporting this! It will be fixed in the next release.


Markup on Pypi site not properly formatted

Whether intended or not, the markup does not resolve properly when viewed on the Pypi site: https://pypi.python.org/pypi/yotta/0.8.3

This should be fixable using something like setuptools-markdown (https://github.com/msabramo/setuptools-markdown).  Unfortunately, there is an issue I am working with upstream to fix in pypandoc that prevents this from being a suitable solution at the moment (require pandoc install on all clients, not just maintainer machine).
Relevant Tickets:

https://github.com/msabramo/setuptools-markdown/issues/6
https://github.com/bebraw/pypandoc/issues/70

If we wanted to do something else in the short term, you can use this code as a reference.  Not as nice as setuptools-markdown but works: https://github.com/digidotcom/python-suitcase/blob/master/setup.py#L10

TBH It might be best to simply maintain separate docs for the PyPI page and github readme. They can be tailored specifically to the audience then too (i.e. the PyPI one can say things like report bugs on github...)

That seems fair.  I was able to push a patch through and there is a new version of pypandoc released now that resolves the issues I mentioned previously, so use conversion of the readme may be a possibility as well now.   That being said, tailoring could make sense.

see #488 ;)


Android TV RaisedButton focusColor doesn't work correctly with keyboard arrow keys / dpad

Android TV RaisedButton focusColor doesn't work correctly with keyboard arrow keys / dpad
here is a simple example app, please run on AVD TV simulator  to reproduce the issue..

keyboard left / right arrow keys works on all items but first item (a) focusColor will not change even though widget is focused...

after pressing keyboard up / down keys a few times focusColor becomes unreliable...

I tried with stable and master branch.
thanks !
Andras
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: ListItems(),
    );
  }
}

class ListItems extends StatefulWidget {
  @override
  _ListItemsState createState() => _ListItemsState();
}

class _ListItemsState extends State<ListItems> {
  List<String> litems = [
    'a',
    'b',
    'c',
    'd',
    'e',
    'f',
    'g'
  ];

  var focusedbox = '';

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      body: Container(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Container(
                height: 100.0,
                child: Text(
                  focusedbox,
                  style: TextStyle(
                    color: Colors.blue,
                    fontSize: 80,
                  ),
                )),
            Container(
              height: 50.0,
              child: ListView.builder(
                itemCount: litems.length,
                scrollDirection: Axis.horizontal,
                itemBuilder: (BuildContext context, int index) {
                  return Focus(
                    onFocusChange: (bool focusgained) {
                      if (focusgained) {
                        setState(() {
                          focusedbox = litems[index];
                        });
                      }
                    },
                    child: Container(
                      height: 100,
                      padding: EdgeInsets.all(10.0),
                      child: RaisedButton(
                        // autofocus: true,
                        clipBehavior: Clip.antiAlias,
                        focusColor: Colors.red,
                        onPressed: () {
                          setState(() {
                            focusedbox = litems[index];
                          });
                        },
                        child: Text(litems[index]),
                      ),
                    ),
                  );
                },
              ),
            ),
          ],
        ),
      ),
    );
  }
}

andras:apptv3 andras$ flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.14.6 18G4032, locale en-US)
    • Flutter version 1.12.13+hotfix.9 at /Users/andras/development/flutter
    • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/andras/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/andras/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.44.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1

[✓] Connected device (1 available)
    • sdk google atv x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

CC @gspencergoog

You're creating a separate Focus widget that isn't part of the button, and it is receiving focus, and the button isn't focused when that happens, since your new Focus widget's focus node is an ancestor of it.
If you add canRequestFocus: false to the Focus widget you create, it will work as you expect.


feat/debug console host

A description of the changes proposed in the pull request:
A variable called debug_console_host now appears in conf_global.yml, which is localhost by default but can be customized by the user. This only affects hummingbot when debug_console is enabled.
Tests performed by the developer:
Ran Hummingbot with and without the debug_console, and ensured that the debug console loaded correctly when this variable was changed to a different host.
Tips for QA testing:

HI, I see the tests ran for 6 hours and seemed to be proceeding correctly before expiring at 360 minutes and cancelling themselves. Is this unexpected behaviour? I'd love any pointers that someone who has seen these run before might be able to give me, thanks!!

@jackgillett101 thank you for contributing. We've seen this error happen randomly in the past. I re-ran the workflow to see if we get a different result this time.

Template fixed and branch rebased, should be good to go

Hello @jackgillett101
The Hummingbot Foundation just started the governance process for the community to approve or reject Pull Requests through Pull Request Proposals.
For more information about how PRP votes work, check this page: https://hummingbot.org/governance/prp/
We want to know if you still have interest in having your Pull Request merged into the main codebase.
If so, please check the following on your Pull Request for our team to be able to open it for community voting:

Your Pull Request is targeted to the development branch
Your branch is up to date with the current development branch
All GitHub checks have passed
There is no merging conflicts

If you have any questions or need any help, feel free to reach us out on the #dev-general channel on our Discord (https://discord.gg/HAgZ79nzU4)

If you have no interest in merging this PR to our code-base or don't reply to this comment in 30 days, the Foundation team will close this PR.
You can still create a new PR any time you want!
Thank you for contributing to Hummingbot Client!

Hello @jackgillett101
The Hummingbot Foundation just started the governance process for the community to approve or reject Pull Requests through Pull Request Proposals.
For more information about how PRP votes work, check this page: https://hummingbot.org/governance/prp/
We want to know if you still have interest in having your Pull Request merged into the main codebase.
If so, please check the following on your Pull Request for our team to be able to open it for community voting:

Your Pull Request is targeted to the development branch
Your branch is up to date with the current development branch
All GitHub checks have passed
There is no merging conflicts

If you have any questions or need any help, feel free to reach us out on the #dev-general channel on our Discord (https://discord.gg/HAgZ79nzU4)
If you have no interest in merging this PR to our code-base or don't reply to this comment in 30 days, the Foundation team will close this PR.
You can still create a new PR any time you want!
Thank you for contributing to Hummingbot Client!

Thanks - I'm still interested in merging this to allow the debug console host location to be controlled by config

Hi @jackgillett101, can you please resolve merge conflicts in this PR? We will wait for your reply and after a few days we will close this PR if we receive no answer from you. Thanks!

Closing this PR as the developer has not responded and created a PRP.


Docs4Doge : Improve README

Starting to work on Docs4Doge initiative, it's a suggestion for refreshing the README.
This PR is mainly about organization of existing content, keeping important content on the front page and redirect for more specific content, reduce the information mix. It also groups used tools/social media.
I think one important point is that many type of user would come here, developer as well, but more regular user, and we have to get useful information for both. Developers need info to code, but regular user need also to (relatively) understand where they are and get some useful information regarding their situation.
Work done

Try to get a nicer and more organized README.md
Add all information related to installation in INSTALL.md
Remove FAQ questions from README and create FAQ.md
Organize used tools and social media

I think mostly looks good. I'm nervous of moving the license text, simply because we do need to make sure we're properly legally covered and that means making it highly visible. Going to do a proof read pass in a second then confirm recommendations.

I think that's the one comment from me, we need the license at the top of the readme so we're covered from a legal perspective (in particular it covers that there is no warranty and we are not liable for the software). I suspect @patricklodder may want to review too though.

Going to close-reopen to trigger CI.

The juridic protection won't change if the license it at the top or the bottom of the README, the difference will be about perception.
I understand your concern about warranty stuff, could be interesting to add disclaimer, but I don't think adding juridic info at the top is the best idea (but must be here for sure).
Do you think if we say "Dogecoin Core is released under the terms of the MIT license." [current warning] people understand there is no warranty and no liability on the software ? I've some doubt.

Another FAQ is in progress for dogecoin.com, need to avoid duplicate question if this repo use FAQ.md. Don't know if 2 FAQ would be relevant, if they can be complementary with more technical information for the GitHub FAQ, or if keep only one of them make sense.

@michilumin I'd love thoughts

@patricklodder @AbcSxyZ What is the status on this?

I agree with @patricklodder  on this: https://github.com/dogecoin/dogecoin/issues/2271#issuecomment-877858939.
The documentation piece would be better organized as a project in itself without binding it to a particular release. In particular, for developers who look at source code and lots of branches on a daily basis it makes no sense to bind this to a release. We are not the casual users who will only look at the last release and depend only on that to work and/or learn.
This would allow releases to move forward without being unnecessarily delayed with non-essential improvements. As documentation projects get finished they will be added on releases. That way development does not block documentation and documentation does not block releases.
@patricklodder @rnicoll

I agree, from my pov no need to fix documentation to a specific release. Status for this PR is pending and waiting feedback.
I mentioned that some rework of the INSTALL.md would be great, see https://github.com/dogecoin/dogecoin/issues/2460#issuecomment-901749778.
Actually, I extracted developer/technical related information from the initial README.md and I put everything in the INSTALL.md, so still messy and some content shouldn't be here (like a contribution section).
For the INSTALL.md, in my mind we can give first install instruction for release (the easiest way), and then link to build instruction from sources. Eventually Docker 🙃 (see #2337), but maybe later.
We may think about instruction from packages manager, like https://packages.debian.org/unstable/dogecoin, but I'm not sure where we should write it.

Merged in with #2466. Thank you for your work!


Respect deployment labels in the CSV

Description of the change:
This change adds the labels of the deployment to the ClusterServiceVersions DeploymentSpecs. So the labels defined for the deployment (and defined in its manifest) will be applied too, if the operator gets bundled and  installed via OLM.
Motivation for the change:
Currently the CSV does not contain the labels of the deployment in the deployment spec, even there is a field for it (clusterserviceversion_types.go#L71).
This leads to missing labels of the deployment, when the operator is bundled and installed via OLM. This PR addresses it and adds the deployment labels to the CSV.
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/assign @camilamacedo86
/assign @varshaprasad96

@camilamacedo86 the "sanity / docs" job seemed to have some connection issues. Is there a way to retrigger this?

@fabianvf can you help me with this?

Apart from the one issue of adding webhookPath in samples, rest seem fine.

Thanks @varshaprasad96 for having a review on it. I added comments to your findings. For sure I can change it as well...

/retest-required

@camilamacedo86 @varshaprasad96 thanks for your review and lgtm.
The ansible e2e failed (not sure if it is a flake, as the error message got truncated). Would it be possible to retrigger it to get this PR merged?


Result-marks api added

🎯 Title and Issue Number
College-Result Api
it is college result api that i have mentioned details in issue
i have checked all of th endpoints in my local database
anyone who want to add this api in his/her project can simple replace mongodb url here you go
he/she will be able to use this api
Closes #128

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!

Hey @Yashgabani845, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

As per you said i am making 2 Different PRs

@Yashgabani845 We're thrilled to inform you that your pull request has been successfully merged into the APIverse🚀🎁
Your hard work, dedication, and expertise have made a significant impact on our project, and we couldn't be more grateful for your contributions.😇
Your code will now be a part of our growing ecosystem, helping developers worldwide to create exceptional APIs.❣🔥
Happy Coding! ✨
Will See you soon❣

/assign


commits prefixed with "chore(deps)" are ignored in changelog

Describe the feature
I am not sure if this a desired behaviour or if it is configurable, but when I generate a changelog the commits that have a type of chore AND a scope get ignored. commits of type chore without any scope are not ignored.
For instance, I am using dependabot and it creates commit messages with type and scope like "chore(deps-dev)" and I would like to include these commits in my changelog.
This is my changelog.config.json. Do I need to add a scopeMap? If so, I think a hint in the documentation would be helpful, since all scopes for commit types "feat" are accepted.
{
    "types": {
      "feat": {
        "title": "🚀 Features"
      },
      "fix": {
        "title": "🐞 Bug Fixes"
      },
      "chore": {
        "title": "🧹 Chores",
        "semver": "patch"
      },
      "refactor": {
        "title": "♻ Refactor"
      },
      "build": {
        "title": "🏗 Build"
      },
      "test": {
        "title": "🧪 Test"
      },
      "docs": {
        "title": "📄 Docs"
      },
      "style": {
        "title": "👨🎤 Style",
        "semver": "patch"
      },
      "ci": {
        "title": "🚚 CI/CD",
        "semver": "minor"
      }
    }
  }

Additional information

[x] Would you be willing to help implement this feature?

It's not a bug, it's a hard-coded deliberate behavior of the current version. I have pushed a PR #103 to propose a way to customize which types(scopes) should be ignored. Waiting for maintainer feedback.


Create/update develop branch which includes progress from Lara and Piumi

Issue in the 'Done' bucket - closing as complete.


0.27.0 and win-64

Checklist

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

Update to https://github.com/containers/common/releases/tag/v0.27.0.
Include files under share/containers (containers.conf, seccomp.json) only on Linux.
Add Windows build (same as macOS).

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


Getting "Content not available" on every channel or stream I try to play

HW: Rpi4
Kodi: Matrix 19.5
I am running the latest version of this addon, and can log in fine and see available streams from Telia Play. However, nothing plays, instead throwing the error message: Content not available. I am using this Kodi instance, with VPN deactivated, from Spain. Used to work up until 2-3 weeks ago.
I have another Kodi instance in Sweden, and it turns out it has the exact same problem.
EDIT: Adding log file info:
2024-10-28 11:30:03.704 T:1072     INFO <general>: initializing python engine.
2024-10-28 11:30:05.236 T:1072     INFO <general>: CPythonInvoker(7, /storage/.kodi/addons/plugin.video.teliaplay/addon.py): script successfully run
2024-10-28 11:30:05.530 T:1072     INFO <general>: Python interpreter stopped
2024-10-28 11:30:09.544 T:992      INFO <general>: VPN Mgr : (service.py) Disconnect filter found for window 10025 or addon Telia Play
2024-10-28 11:30:11.452 T:992      INFO <general>: VPN Mgr : (service.py) Disconnected from VPN
2024-10-28 11:30:17.504 T:1090     INFO <general>: initializing python engine.
2024-10-28 11:30:18.979 T:1090     INFO <general>: CPythonInvoker(8, /storage/.kodi/addons/plugin.video.teliaplay/addon.py): script successfully run
2024-10-28 11:30:19.320 T:1090     INFO <general>: Python interpreter stopped
2024-10-28 11:30:26.835 T:1101     INFO <general>: initializing python engine.
2024-10-28 11:30:28.045 T:1101     INFO <general>: CPythonInvoker(9, /storage/.kodi/addons/plugin.video.teliaplay/addon.py): script successfully run
2024-10-28 11:30:28.397 T:1101     INFO <general>: Python interpreter stopped
2024-10-28 11:30:38.653 T:1113     INFO <general>: initializing python engine.
2024-10-28 11:30:39.367 T:946      INFO <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2024-10-28 11:30:43.338 T:1113  WARNING <general>: [script.module.inputstreamhelper] Widevine update check was made on 2024-10-28 11:28
2024-10-28 11:30:43.368 T:1113     INFO <general>: CPythonInvoker(10, /storage/.kodi/addons/plugin.video.teliaplay/addon.py): script successfully run
2024-10-28 11:30:43.400 T:946     ERROR <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.teliaplay/?title=Nyhetsmorgon%5BB%5D%5BCOLOR+violet%5D+%E2%97%8F+%5B%2FCOLOR%5D%5B%2FB%5D%5BCOLOR+grey%5D%2805%3A45+-+12%3A00%29%5B%2FCOLOR%5D&mode=play&url=4&media_id=m-102797984864a13a&catchup=LIVE&start=1730090700&end=1730113200&info_labels=%7B%27title%27%3A+%27Nyhetsmorgon%5BB%5D%5BCOLOR+violet%5D+%E2%97%8F+%5B%2FCOLOR%5D%5B%2FB%5D%5BCOLOR+grey%5D%2805%3A45+-+12%3A00%29%5B%2FCOLOR%5D%27%2C+%27sorttitle%27%3A+%27Nyhetsmorgon%5BB%5D%5BCOLOR+violet%5D+%E2%97%8F+%5B%2FCOLOR%5D%5B%2FB%5D%5BCOLOR+grey%5D%2805%3A45+-+12%3A00%29%5B%2FCOLOR%5D%27%2C+%27originaltitle%27%3A+%27Nyhetsmorgon%5BB%5D%5BCOLOR+violet%5D+%E2%97%8F+%5B%2FCOLOR%5D%5B%2FB%5D%5BCOLOR+grey%5D%2805%3A45+-+12%3A00%29%5B%2FCOLOR%5D%27%2C+%27plot%27%3A+%27I+Nyhetsmorgon+m%C3%A5ndag%3A+S%C3%A5+ska+du+t%C3%A4nka+kring+veckopeng+%E2%80%A2+Japansk+mat+f%C3%B6r+hj%C3%A4rta+och+sj%C3%A4l+%E2%80%A2+Vanliga+missuppfattningar+kring+profylax%27%2C+%27plotoutline%27%3A+%27I+Nyhetsmorgon+m%C3%A5ndag%3A+S%C3%A5+ska+du+t%C3%A4nka+kring+veckopeng+%E2%80%A2+Japansk+mat+f%C3%B6r+hj%C3%A4rta+och+sj%C3%A4l+%E2%80%A2+Vanliga+missuppfattningar+kring+profylax%27%2C+%27aired%27%3A+%272024-10-28%27%2C+%27dateadded%27%3A+%272024-10-28%27%2C+%27duration%27%3A+22500%2C+%27sortepisode%27%3A+%27410280545%27%2C+%27sortseason%27%3A+%272024%27%7D]
2024-10-28 11:30:43.766 T:1113     INFO <general>: Python interpreter stopped

It would be great if this could be looked into. Maybe Telia updated their API or something?

Same here. The reason is that the domain streaminggateway-telia.clientapi-prod.live.tv.telia.net no longer exists. I guess they changed the API, or if we are lucky just the domain.

Looking at what happens when I access teliaplay.se it looks like the right domain is now streaminggateway.clientapi-prod.live.tv.telia.net

I did a search/replace in addon.py replacing the domain and I can confirm that the addon started working again.

Excellent find, works for me too!


RPG Game - Battle Of Grandia

RPG Game - Battle Of Grandia
Live link - https://thawing-river-75700.herokuapp.com/
This is an RPG adventure game where a warrior seldom crosses path(collide with) with krakens spread across the whole map. Once the Kraken and warrior collision happens, the battle scene is started. Here the warrior has to defeat the Kraken by colliding with it AND then pressing the spacebar to attack it (spacebar event is fired when colliding).
For each spacebar event, the kraken's health decrease by 20. The Kraken throws fireballs (physics group) in a random manner. When fireball collides with the warrior, it's health is decreased by 10.
Default health of warrior: 100
Default health of Kraken: 1000
Default health of entities and fireball/warrior attack damage values are stored in a config file for easy maintenance.
In this project I :

Used Webpack
Used ES6
Used Encapsulation
Deal with async code
Send and receive data from a back-end endpoint
Deploy to Heroku

At the end of the second day, my objective was to

build a complete 100x100 tilemap
put more varieties of monsters to fight - different appearances, different powers, etc.

I achieved

100x100 tilemap is not complete but playable
only one type of monster

Instructions

WASD to move the warrior
To damage the Kraken, first, collide with it AND then press the spacebar. Each press will damage the Kraken little by little. Holding the spacebar is not going to work. (Sword is a melee weapon. So this is how I built it.)

Pro tip: constantly move your character to avoid getting hit by the fireballs. Remember they are random.
Late submission due to issues with deployment. Spent the fifth and the sixth-day fixing numerous errors.

Changes made after code review:

Added check for the presence of name - if present, the game doesn't show the welcome screen.
Fixed the issue of sending scores to the API every time a player wins. Now

The score is sent to the API when the game is lost.
Score saved to local storage when the game is won.

Added tests for all scenes and objects.


feat: add word search algorithm

Description of Change
Added the code for finding if a string can be constructed by combining sequentially adjacent characters in a grid.
Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

I will make the corrections in the code.


health-check on docker container

Greetings,
I find this project very attractive, the only missing component is the health-check mechanism
via docker.
I am getting an error when i am trying to curl -f, probably the image does not support curl.
this is my docker-compose.yml;
version: '3'
services:

  verdaccio:
    image: "verdaccio/verdaccio:3.5"
    ports:
      - "4873:4873"
    container_name: "NPM_verdaccio"
    volumes:
      - /Users/ron/dev/npm/verdaccioVol:/verdaccio/storage
    restart: always
    labels:
      - "verdaccio.description=NPM private repository"
      - "verdaccio.department=DevOps"
    **healthcheck:
      test: curl -f http://localhost:4873 || exit 1
      interval: 30s
      timeout: 5s
      retries: "3"**

I would love to hear if there is any docker image made for health checking.
thank you very much.

A ping endpoint is available, check the helm chart syntax if you need hints:
https://github.com/helm/charts/blob/master/stable/verdaccio/templates/deployment.yaml
The alpine image does not include curl, but wget is available. If you need curl for whatever reason, you can always extend the image.

Thank you very much for your response.
I chose to extend the image & install curl in it.
In case some one want to pull verdaccio with curl in it:
docker pull rongimpi/verdaccio_curl

Thanks @dlouzan . I'll close this one 👍


test: remove index column from test assertion

Purpose
Fix failing integration test - id column is now an index, so isn't in the .columns attribute. Code changes were introduced in #365
What the code is doing
Updated the expected list of column headers
Testing
Ran pytest -m "not db" locally
Time estimate
2 min

Should we test that execute_table.index.name and scenario_table.index.name equal id?

Should we test that execute_table.index.name and scenario_table.index.name equal id?

Found via @dmuldrew's integration test branch

Found via @dmuldrew's integration test branch


JSONLD missing notes

E.g.
https://bibdata.princeton.edu/bibliographic/4732989/
https://bibdata.princeton.edu/bibliographic/4732989/jsonld
The JSON only has the first 505, and doesn't have the 510 (Citation/References), 520 (Summary), 541 (Source of Acquisition),  561 (Ownership and History), 563 (Binding Information).
Audit all of the notes, and consider rendering them with labels that are more specific. See https://www.loc.gov/marc/bibliographic/bd5xx.html. It may actually be easier to just assume that most or all of these will surface at some point.
I think there are one or two that should not be rendered. @tampakis do you remember?

The 5xx fields mentioned above (and others) are included in the traject config. However Don wanted us to make some changes specified in pulibrary/orangelight#325.


Add test teardown

Ready to merge

This change is

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, 1 of 1 files at r4, 1 of 1 files at r5, 1 of 1 files at r6, 1 of 1 files at r7, 1 of 1 files at r8, 1 of 1 files at r9, 1 of 1 files at r10, 1 of 1 files at r11, 1 of 1 files at r12, 3 of 3 files at r13.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


convnext implementations fail on CUDA GPUs

🐛 Describe the bug
I'm not entirely sure if this is reproduceable, or just a quirk of my environment. For what it's worth, I've tried it on several GPUs, and gotten the same result. The problem is with the built-in convnext implementation, and can be triggered like so:
import torch
from torchvision.models import convnext_tiny

images = torch.normal(0.0, 1.0, size=(2, 3, 100, 100), dtype=torch.float32).to("cuda")
model = convnext_tiny().to("cuda")
model(images)

Running on the CPU, this outputs the class probabilities like you would expect. However, on the GPU, it crashes:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torchvision/models/convnext.py", line 176, in forward
    return self._forward_impl(x)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torchvision/models/convnext.py", line 170, in _forward_impl
    x = self.features(x)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/container.py", line 204, in forward
    input = module(input)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/container.py", line 204, in forward
    input = module(input)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torchvision/models/convnext.py", line 63, in forward
    result = self.layer_scale * self.block(input)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/container.py", line 204, in forward
    input = module(input)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/blue/cli2/daniel.petti/ssl/.venv/lib/python3.8/site-packages/torch/nn/modules/linear.py", line 114, in forward
    return F.linear(input, self.weight, self.bias)
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling `cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)`

Versions
Collecting environment information...
PyTorch version: 1.13.1+cu117
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A

OS: Red Hat Enterprise Linux Server release 7.9 (Maipo) (x86_64)
GCC version: (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.17

Python version: 3.8.5 (default, Sep  4 2020, 07:30:14)  [GCC 7.3.0] (64-bit runtime)
Python platform: Linux-3.10.0-1160.81.1.el7.x86_64-x86_64-with-glibc2.10
Is CUDA available: True
CUDA runtime version: 11.4.152
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 2080 Ti
GPU 1: NVIDIA GeForce RTX 2080 Ti
GPU 2: NVIDIA GeForce RTX 2080 Ti
GPU 3: NVIDIA GeForce RTX 2080 Ti
GPU 4: NVIDIA GeForce RTX 2080 Ti
GPU 5: NVIDIA GeForce RTX 2080 Ti
GPU 6: NVIDIA GeForce RTX 2080 Ti
GPU 7: NVIDIA GeForce RTX 2080 Ti

Nvidia driver version: 470.161.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.22.0
[pip3] torch==1.13.1
[pip3] torchvision==0.14.1
[conda] Could not collect

For reference, torch.backends.cudnn.version() reports 8500, even though the script didn't get the CuDNN version for some reason.

Hi @djpetti ,
Unfortunately I'm not able to reproduce the issue:
[ins] In [1]: import torch
         ...: from torchvision.models import convnext_tiny
         ...:
         ...: images = torch.normal(0.0, 1.0, size=(2, 3, 100, 100), dtype=torch.float32).to("cuda")
         ...: model = convnext_tiny().to("cuda")
         ...: model(images)
Out[1]:
tensor([[ 0.3778, -0.3301,  0.5875,  ...,  0.3186,  0.7818,  0.6760],
        [ 0.2024,  0.0881, -0.0515,  ..., -0.1618,  1.3115, -1.2001]],
       device='cuda:0', grad_fn=<AddmmBackward0>)

(I ran this on a A100)
Googling the error message suggests it might be memory-related. But I tried a (5, 3, 1000, 1000) image and I'm getting a  proper OutOfMemoryError, i.e. not the same error message. So... I don't know (sorry).
Out of curiosity, what happens if you pass a (1, 3, 32, 32) image?

Yeah, that was my first thought too, but I found that I got the same error with inputs of any batch size. Later, I figured out that this error is not actually limited to convnext. It appeared in all sorts of other (seemingly random) situations.
The system that I was testing this on actually has a system-level CUDA 11.4 installation. At the time, I didn't think much of it, since Pytorch bundles its own CUDA. However, I figured out that if I uninstalled the system CUDA, then the Pytorch issues went away! So I think there must have been some kind of weird CUDA version conflict between the bundled and system CUDAs.
Anyway, I'm closing this issue, because it's an environment problem and not a bug in Pytorch.


Update Euro 2012 stats- PLAYERS EXTRA DATA.csv

http://www.uefa.com/uefaeuro/season=2012/statistics/round=15172/players/type=shotswide/index.html

Thanks!


Strange behaviour: microG Services Core inside itself

microG Services Core appears inside microG Services Core, I'm not sure if it is normal but it is strange.
See:

This definitely shouldn't be the case. When you touch on it, does it list any messages?

Yes, I see Messages 8 (4841 bytes).

Do you have original Google Play Store installed on that device? It might be that Google sends out push notifications to Play Services even without them being registered if they feel that's a good idea...

@mar-v-in: Yes, I have Google Play Store 5.1.11 installed.
Sometimes I disable push notifications and sometimes I re-enable them but other than that and update components I haven't done any changes.
Could you please add some code that store all the messages sent to microG Services Core (only the ones with microG Services Core as recipient)?
So I can send them to you when it re-happens.

The problem seems to be disappeared, I will re-open it in case the problem will reappear.


Ffuf Pitchfork attack feature?

Hi! I'm just wondering if pitchfork attack(just like in burpsuite) is possible with ffuf alone without using automation(bash script)? Because when fuzzing multiple locations(2 wordlist) using ffuf, cluster bomb attack is used where it makes combinations/permutations with all payload sets.
Here's the illustration of pitchfork attack type. I'm wondering if it's possible with ffuf:

It uses two different payloads in two different positions at the same time.
Thank you!

Oh nevermind. After reading through files, it's possible via config file. Thanks input.go file!


BLIP2 feature extractor and ITM

Thanks for the great work!
I was trying out BLIP2 feature extractor and ITM. I was wondering if there is a new model_type and name attribute in BLIP 2 for these tasks. It seems the model type and name provided in the notebook examples are not working.
e.g, name="blip2_feature_extractor", model_type="pretrain"
I'm getting AttributeError: 'NoneType' object has no attribute 'from_pretrained'  error
Thanks.

See the issue and solution here: https://github.com/salesforce/LAVIS/issues/119.
Thanks.

Hi, thanks for the quick reply.
#119 is an encoding issue. I think something is missing in the pre-trained model.
Currently, I can not load the pre-trained models in the notebook examples. I believe #128 is reporting the same thing.
Thanks!

Hi @Bekyilma,
The key missing warning is expected. See https://github.com/salesforce/LAVIS/issues/128.
Can you elaborate what do you mean by "can not load"? It is throwing exceptions?

Hi both,
Great work with this repo, @dxli94!
I might well be wrong but I thought I’d comment in case it helps.
Have you been using the salesforce-lavis package installed via PYPI (pip install salesforce-lavis)? If so, I think the issue you're having is due to the fact that the stable release v1.0.0 doesn't yet include the blip2_feature_extractor that has been recently added to this repo. If you install the dev version using the instructions in the README you should be able to use the BLIP2 feature extractor.
Thanks

@jonathan-roberts1, thanks a lot for adding this. This is precisely correct.
We are still actively adding more BLIP2 code at this moment. We will publish a new release once the BLIP2 release is ready.
Thanks.

Hi @dxli94,
Yes, the issue was what @jonathan-roberts1 precisely explained. The stable release v1.0.0 doesn't yet include the blip2_feature_extractor. However, I just tried the dev version and I am able to use the feature extractor.
Thanks again for the great work, Looking forward to future releases!


Task inheritance typechecking is broken

https://docs.celeryproject.org/en/stable/userguide/tasks.html?highlight=inheritance#task-inheritance
import celery

app = celery.Celery("worker")

class MyTask(celery.Task):

    def on_failure(self, exc, task_id, args, kwargs, einfo):
        print('{0!r} failed: {1!r}'.format(task_id, exc))

@app.task(base=MyTask)
def add(x, y):
    raise KeyError()

test.py:11: error: Argument "base" to "task" of "Celery" has incompatible type "Type[MyTask]"; expected "Optional[Task]"

Thanks for the report!
Should be fixed in the latest version (0.6.0)


Registering as tenant user not working as expected.

Environment: Windows 10 & Linux (Ubuntu 19.10)
APIM Version : 3.1.0-M2
Issue:
Unable to register an user as tenant. user navigated to a blank page with only the wso2 navigation bar visible upon clicking register now button. User navigated to /accountrecoveryendpoint/processregistration.do after clicking register now button.
Step to reproduce:

Create a new tenant (example.com) in Carbon
Navigate to devportal and select the newly created tenant
Provide username<EMAIL_ADDRESS>Complete the basic sign up details. Use<EMAIL_ADDRESS>as the email
Seeing a blank page with only the navigation bar on top upon clicking on the Register now button.

Error Log:
wso2-apim-3.1.0-m2-register-user-as-tenant-error_log_1.log
wso2-apim-3.1.0-m2-register-user-as-tenant-error_log_2.log
Screenshot:

Hi @imchivaa,
For self registration to work for tenants, you need to follow the steps given in this documentation. Although this is enabled for the super tenant by default without further configuration, you have to follow the steps given in the documentation to enable self registration for tenants.

Cool. Got it working following the documentation. Let me close the issue.


Security issue workaround breaks browsers without localStorage

The workaround assumes localStorage is present.
This will break in browsers without that, including safari in private browsing mode

Just got bit by this too 😩 .
Is it only Safari's Private Browsing mode that doesn't allow localstorage?

Fixed in Safari 11. ember-cli-simple-auth uses an adaptive storage backend that detects this and falls back to cookies in that case. would you accept a PR for this?

I'm not sure if it is relevant to the security fix that we use localStorage over cookies (localStorage prevents some data from being sent over the wire, thats all). I'd like to see a reasoned judgement on this.
@les2 at the very least, it would be welcome as an opt-in setting. 👍


Update crypo to latest and revert 4 files to openssh < 9.5

overview
Update sshr.crypto to ssh.crypto's latest version.
And revert 4 files to 9.5 version for resolve<EMAIL_ADDRESS>message handle problem.
If upstream server's openssh is under 9.5, upstream cannot handle<EMAIL_ADDRESS>message.
But current sshr can handle that new message so sshr send message to upstream.
I makes disconnect client immediatly.
This PR solve that problem by sshr.crypto does not support<EMAIL_ADDRESS>like previous version.

Changes for solve problem : https://github.com/heat1024/sshr.crypto/pull/2/files

@tsurubee
Can I got a review for this PR?
This PR solve ssh connection disconnect when typing 1 letter if client use openssh >= 9.5.

@heat1024
Thanks for all your efforts.
LGTM!


getFirstSegments producing error : {BadRequest: Unable to create result: helper "getSegmentLists" : TypeError: Cannot read property 'meta' of undefined}

I have HL7 message, I am trying to convert it into an FHIR using handlebars templates.
This is the HL7 msg :
MSH|^~&|AIN ADA||WIW||20210802103432||SIU^S14|245942910343210-0036||2.5.1
PID||738966|566329||Bugs^Bunny^^^1^||19600513|M|||
AIG|1|A|2828^Saal 05^^E/S5^Saal 05^|O|^2814|||202108020808|0||8400|||P|
AIG|2|A|3338^hama ali^212737^BEE^hama^ali|P|^10570|||202108020808|0||8400|||O|
AIG|3|A|47899^bou chnak^215070^PWP^bou^chnak|P|^10570|||202108020808|0||7200|||I|
I made this template which works fine :
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
    {{#with (getFirstSegments msg.v2 'PID' )}}
    {
        "ID":"{{PID-2}}",
        "reasonReference":[
        {{#with (getSegmentLists ../msg.v2 'AIG')}}
        {{#each AIG as |AIGIns|}}
        {{#if (eq AIGIns-4 "P" )}}
            {
                "reference": "Procedure/{{generateUUID AIGIns-5-1}}",
            },
        {{/if}}
        {{/each}}
        {{/with}}
        ]
    }
   {{/with}}
]

}
the output is :
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"ID": "738966",
"reasonReference": [
{
"reference": "Procedure/c4f9c654-7490-3233-b90e-a7eb5088d6c5"
},
{
"reference": "Procedure/c4f9c654-7490-3233-b90e-a7eb5088d6c5"
}
]
}
]
}
Now, when I try to put the reasonReference code block in a separate file and call it like this :
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
    {{#with (getFirstSegments msg.v2 'PID' )}}
    {{>Resources/Surgery.hbs}}
   {{/with}}
]

}
I get this error :
{BadRequest: Unable to create result: helper "getSegmentLists" : TypeError: Cannot read property 'meta' of undefined}
PS: Surgery.hbs contains exactely the same code :
{
"ID":"{{PID-2}}",
"reasonReference":[
{{#with (getSegmentLists ../msg.v2 'AIG')}}
{{#each AIG as |AIGIns|}}
{{#if (eq AIGIns-4 "P" )}}
{
"reference": "Procedure/{{generateUUID AIGIns-5-1}}",
},
{{/if}}
{{/each}}
{{/with}}
]
}

Hi @moe-men , there are severeal errors in your templates which result in the error.Firstly the following are my workable correction:

Main Template

{
    "resourceType": "Bundle",
    "type": "transaction",
    "entry": [
        {{#with (getFirstSegments msg.v2 'PID' )}}
        {{>Resources/Account.hbs msg=../msg PID=PID}}
        {{/with}}
    ]
}

Resources/Surgery.hbs

{
    "ID":"{{PID-2}}",
    "reasonReference":[
    {{#with (getSegmentLists msg.v2 'AIG')}}
    {{#each AIG as |AIGIns|}}
    {{#if (eq AIGIns-4 "P" )}}
        {
            "reference": "Procedure/{{generateUUID AIGIns-5-1}}",
        },
    {{/if}}
    {{/each}}
    {{/with}}
    ]
}

There are the issues you have:

The Surgery.hbs need two arguments, separately are msg and PID, you must pass them while invoking sub templates;
The #with block will create a new context, which makes your origin directly-usable arguments different, i.e. msg => ../msg, that why I use msg=../msg while invoking the Surgery.hbs template;
Now that the msg has been directly passed to the Surgery.hbs template, the getSegmentLists ../msg.v2 'AIG' should be changed to getSegmentLists msg.v2 'AIG';

Correct those issues and then your templates are all works.


No ignition is causing infinite error

We have a simulation that does not trigger an ignition (the temperature never rises quite enough) and end up with 'average error function' of Inf and 'average deviation function' of -Inf. for the whole data set.
Looking at
https://github.com/pr-omethe-us/PyTeCK/blob/bba7984deb39e0beec0144e061c539d2cb33e0b2/pyteck/eval_model.py#L405
        # calculate error function for this dataset
        error_func = numpy.power(
            (numpy.log(ignition_delays_sim) -
             numpy.log(ignition_delays_exp)) / standard_dev, 2
             )
        error_func = numpy.nanmean(error_func)

I'm guessing the nanmean is supposed to take a mean excluding NaN values, but the result of  numpy.log(ignition_delays_sim) is not NaN but is -Inf when no ignition is detected, because process_results() sets ignition delay to zero if no ignition:
  else:
            warnings.warn('No ignition for case ' + self.meta['id'] +
                          ', setting value to 0.0 and continuing',
                          RuntimeWarning
                          )
            self.meta['simulated-ignition-delay'] = 0.0 * units.second

So we end up with 'average error function' of Inf and 'average deviation function' of -Inf.
Should we exclude infinities before averaging? include them somehow?
I guess technically it is an infinite error, but that doesn't help you rank things!

Just noticed this is a duplicate of issue #1 :)


https://gitub.u-bordeaux.fr repositories are not collected

This is a GitLab instance, declared as such in platforms.csv and comptes-organismes-publics.
There is no repo matching gitub (the missing h is intentional) in repertoires/json/all.json.

I can see gitub repos in repertoires/json/all.json, so : is this issue still Open or can it be closed ? @bzg

Mh, yes, I just checked, the repos are here, I'm closing this now. Thanks and sorry for the delay!


Fix #136, mount /sys/fs/cgroup volume to fix systemd cgroup message

to avoid this fix getting lost, let's merge #143 and then put this on top. other than that LGTM

SGTM


How to drag and drop edge with Sigma JS

0
down vote
favorite
I am having an edge on Sigma.js graph. As per the business requirement, it should be just a line without nodes. So I hide the two nodes of the edge.
Then as per the new requirement, I have to drag and drop that line (so it is a edge but two nodes at the ends are hidden).
As I am aware there is no drag and drop support for sigma js edges. But I found following which I can drag and drop multiple nodes. https://github.com/Linkurious/linkurious.js/wiki/How-to-select-and-drag-multiple-nodes
So I tried to add hidden nodes to the activestate when user click on line.
 s.bind('clickEdge', function (e) {
        activeState.dropEdges();
        activeState.dropNodes();
        activeState.addNodes(e.data.edge.source);
        activeState.addNodes(e.data.edge.target);
    }
});

But this doesn't solve my issue as we cant drag the lines (as nodes). Do you guys see any possibility of achieving this requirement?
Thanks!

The problem with dragging edges is that I don't even succeed in representing to myself what it would look like. Do you have an exemple of this already existing somewhere so I can figure it out?

I have exactly same requirement, selecting and dragging an edge.
Here is a bit more description regarding this requirement... We want to let the user be able to create relations between unrelated nodes. So from node A we would like to make a line come out from it (edge) and drag it on top of the node B which will then connect them together.
Thanks


semantic-release and package.json version

Just started using this repo and I love it. Everything works like a charm, including automatic releases to Travis CI, coveralls, github and npm. I have noticed however that the package.json 's version field seems to be stuck at 0.0.0-development even though semantic-release seems to have pushed version 1.0.0 to NPM. Is it not also supposed to modifiy the package.json version field? Am I doing something wrong? Thanks for the help and the great work on this repo.

Hi @Neoflash1979, that's how semantic release works ;). Refer to its documentation for more info

See issue #208 for my fix.


Does hive have support for Flutter Desktop?

Question
Just wanted to know if hive works on Flutter Desktop.

Yes. You just need to provide a valid path to Hive.init().

Yes. You just need to provide a valid path to Hive.init().

thank you.