initilizing skill gives error message

When the skill is initialized python gives an error message: init failed with AttributeError bool object has no attribute lower.
Apparently this is during this line: self.placement_1 = self.settings.get ('placement_1' , False).lower()
I suspect that the settings file is incorrect. It is not clear to me if I should edit the settingsmeta.yaml file in the dir
/opt/mycroft/skills/mympdplaylist-skill.joergz2 .
Or should I make a settings.json file in ~/.config/mycroft/skills/mympd...  directory? If so can you give me an example of this json file. Should I put 5 radio entries in this file even if I start with only 1 mpd player.

Hey, if you change the start of the __init__.py to something like this it should work:
class Mympdplaylist(MycroftSkill):
    def __init__(self):
        super(Mympdplaylist, self).__init__(name="My MPD playlist manager")

    def initialize(self):
        self.settings_change_callback = self.on_settings_changed
        self.on_settings_changed()
        self.same_device = DeviceApi()
        info = self.same_device.get(); self.same_device = info['description'].lower()

    def on_settings_changed(self):
        self.host = self.settings.get('radio_1')
        self.port = self.settings.get('port_1')
        self.placement_1 = self.settings.get('placement_1', '').lower()
        self.placement_2 = self.settings.get('placement_2', '').lower()
        self.placement_3 = self.settings.get('placement_3', '').lower()
        self.placement_4 = self.settings.get('placement_4', '').lower()
        self.placement_5 = self.settings.get('placement_5', '').lower()
        self.placements = {self.placement_1:[self.settings.get('radio_1'),self.settings.get('port_1')],\
                           self.placement_2:[self.settings.get('radio_2'),self.settings.get('port_2')],\
                           self.placement_3:[self.settings.get('radio_3'),self.settings.get('port_3')],\
                           self.placement_4:[self.settings.get('radio_4'),self.settings.get('port_4')],\
                           self.placement_5:[self.settings.get('radio_5'),self.settings.get('port_5')]}

This assigns any undefined placement settings to a blank string rather than the Boolean False. So they have a lower() method but would still evaluate to False if tested in a conditional, eg if not self.placement_1
With this change the Skill will load without settings existing, which will let it sync with the backend. Anytime the settings change the on_settings_changed() method will get called and updated self.placements

Hi Kris, thanks for your answer. I cannot judge if your solution is working but I think it will.
As I often do after posting a question somewhere , I found a solution myself. I sort of reverse engineered the settings.json myself:
{"placement_1" : "Salon" , "radio_1" : "<IP_ADDRESS>" , "port_1" : "6600" , "placement_2"  ........ "placement_5"..... }
Then the skill loads OK and is later rewritten with mycroftfirstrun entry at the end.
It is still unclear to me why there are two settings files. Is the settingsmeta.yaml file meant for the configuration setting via the mycroft skills site? The settings.json file in the ~/.config/mycroft .... directory is obviously necessary (in this skill) ; why is this file not present in the github directory?  Or am I missing something?

settingsmeta.json defines what settings exist, where as settings.json contains the values of the settings.
So the Skill directory shouldn't need to be writable by the user running Mycroft, where as the settings.json file should which is why it is in ~/.config/mycroft.

I tried the code of @krisgesling. It's not working for me. I understand the intention and approximately the sense of the position of the instructions. But I get either a KeyError from Python or a ConnectionError from mpc library. For the moment I've not enough time to look deeper at that issue and it's working in my environment. I hope I can have a look in October.

Fortunately, I have some time right now. I'm a bit perplex. On the one hand, the use of self.settings.get() corresponds exactly to the Mycroft documentation:
https://mycroft-ai.gitbook.io/docs/skill-development/skill-structure/skill-settings#reading-settings
@rocus I don't have all five MPD servers occupied in my account. The skill still works for me. The cause should be somewhere else.
Unfortunately I can't reproduce the misbehavior.
@krisgesling I'm not a Python professional but just an amateur but if I remove the settings.get() method from the initialze() function and move it to the on_settings_changed() function, then the data will only be retrieved if something changes in the settings. Or am I wrong there? If nothing changes, then the dictionary self.placements is empty, isn't it?

Yep, in this case I suggest setting it as a callback when the settings change and calling that function during initialize:
    def initialize(self):
        self.settings_change_callback = self.on_settings_changed
        self.on_settings_changed()

This way the function gets executed on Skill load, and then again anytime the settings get modified.
I didn't look at what happens after the Skill loads. Potentially you shouldn't try setting anything up unless the placements dictionary is populated?
This is also a good reason to initialize attributes/variables in your class constructor (the __init__ function) so you don't end up in situations where it doesn't yet exist. Eg if self.placements was initialized as None or an empty dict, then you can easily check if it has been populated yet.

After retesting, I find that krisgesling's code works after all, and I've adopted it. Thanks!


Failures in Python tests don't break Travis.

Consider: https://travis-ci.org/GoogleChrome/webrtc/builds/48841035
If you scroll down you can see the Python tests broke but the build says it passes.

Same thing happens with the jstdPhantom tests unfortunately. I know I'd feel a lot better if failures caused the grunt build to fail instead of having to look at the text closely.

There has to be a way to enable this.
On Thursday, January 29, 2015, Chuck Hays<EMAIL_ADDRESS>wrote:

Same thing happens with the jstdPhantom tests unfortunately. I know I'd
feel a lot better if failures caused the grunt build to fail instead of
having to look at the text closely.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/webrtc/issues/451#issuecomment-72144374.

Please migrate this to the apprtc repo

Migrated


failing nuget package restore with unreachable server

In my package sources I have an additional package source listed, which is unreachable once not connected to the corporate network. I also have the official nuget package source listed. Once I open a solution, it will try and restore my nuget packages, but it fails doing this, since it keeps on complaining about the unreachable corporate network server. As a result of this any Bower packages will fail to restore as well.
Unchecking the unreachable server in my nuget package sources solves the problem.
Output:
Restoring packages for d:\Documents\Visual Studio 2015\Projects\WebApplication1\src\WebApplication1\project.json
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Runtime'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Text.Encoding'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Text.Encoding'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Tasks'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Threading.Tasks'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Collections'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Collections'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Globalization'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Globalization'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Reflection'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.IO'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.ObjectModel'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.ObjectModel'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Xml.ReaderWriter'
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Xml.ReaderWriter'.
Warning: FindPackagesById: System.Text.Encoding
An error occurred while sending the request.
Warning: FindPackagesById: System.Threading.Tasks
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Text.Encoding'.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Threading.Tasks'.
Warning: FindPackagesById: System.Runtime
An error occurred while sending the request.
Warning: FindPackagesById: System.Collections
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Runtime'.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Collections'.
Warning: FindPackagesById: System.Globalization
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Globalization'.
Warning: FindPackagesById: System.Reflection
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Reflection'.
Warning: FindPackagesById: System.IO
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.IO'.
Warning: FindPackagesById: System.ObjectModel
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.ObjectModel'.
Warning: FindPackagesById: System.Xml.ReaderWriter
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Xml.ReaderWriter'.
Warning: FindPackagesById: System.Threading.Tasks
An error occurred while sending the request.
Warning: FindPackagesById: System.Collections
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Threading.Tasks'.
Warning: FindPackagesById: System.Globalization
An error occurred while sending the request.
Warning: FindPackagesById: System.Text.Encoding
An error occurred while sending the request.
Warning: FindPackagesById: System.Runtime
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Text.Encoding'.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Runtime'.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Globalization'.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Collections'.
Warning: FindPackagesById: System.Reflection
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Reflection'.
Warning: FindPackagesById: System.IO
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.IO'.
Warning: FindPackagesById: System.ObjectModel
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.ObjectModel'.
Warning: FindPackagesById: System.Xml.ReaderWriter
An error occurred while sending the request.
GET http://<IP_ADDRESS>/nuget/nuget/FindPackagesById()?Id='System.Xml.ReaderWriter'.
Error: FindPackagesById: System.Globalization
An error occurred while sending the request.
Error: FindPackagesById: System.Runtime
An error occurred while sending the request.
Error: FindPackagesById: System.Reflection
An error occurred while sending the request.
Error: FindPackagesById: System.Collections
An error occurred while sending the request.
Error: FindPackagesById: System.Threading.Tasks
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.Restore.NuGet.HttpSource.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.Restore.NuGet.PackageFeed.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RemoteWalkProvider.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RemoteWalkProvider.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.d__1.MoveNext()
Restore failed
An error occurred while sending the request.
Error: FindPackagesById: System.Text.Encoding
An error occurred while sending the request.
Error: FindPackagesById: System.IO
An error occurred while sending the request.

This is by design.  Use kpm restore --ignore-failed-sources to ignore unreachable sources.
We have a work item to improve the error message and make this command line option more discoverable.  https://github.com/aspnet/DNX/issues/1271


TypeError: object of type 'float' has no len()

Q: What was the previous ChromaDB version?

chromadb==0.3.29

Q: What is the current ChromaDB version?

chromadb = "^0.4.2"

Q: On which versions of chroma-migrate do you see this issue?

chroma-migrate = "^0.0.5", or
commit hash: f188d084eda90a73cf804beac7c8164b6fdd8e97

Q: How can we replicate the issue?

Download DB and migrate, chroma.zip

Q: What was your cli path?

DuckDB (You run chroma and save files to a persist_directory)
Files I can use on my local machine with chroma, or upload to a remote server that runs chroma
What is the path to the persist directory your data is currently stored in?[./chroma] - Clicked enter
What is the path you would like your data to be stored in?[./chroma_migrated] - Clicked enter

Q: What is trace output?
(JobSearch) ➜  JobSearch git:(main) ✗ chroma-migrate
...
...
...
Traceback (most recent call last):
  File "/Users/andrey/opt/anaconda3/envs/JobSearch/bin/chroma-migrate", line 8, in <module>
    sys.exit(run_cli())
             ^^^^^^^^^
  File "/Users/andrey/opt/anaconda3/envs/JobSearch/lib/python3.11/site-packages/chroma_migrate/cli.py", line 130, in run_cli
    migrate_from_duckdb(api, persist_directory)
  File "/Users/andrey/opt/anaconda3/envs/JobSearch/lib/python3.11/site-packages/chroma_migrate/import_duckdb.py", line 77, in migrate_from_duckdb
    collection.add(id, embedding, metadata, document)
  File "/Users/andrey/opt/anaconda3/envs/JobSearch/lib/python3.11/site-packages/chromadb/api/models/Collection.py", line 96, in add
    ids, embeddings, metadatas, documents = self._validate_embedding_set(
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/andrey/opt/anaconda3/envs/JobSearch/lib/python3.11/site-packages/chromadb/api/models/Collection.py", line 379, in _validate_embedding_set
    if documents is not None and len(documents) != len(ids):
                                 ^^^^^^^^^^^^^^
TypeError: object of type 'float' has no len()

We just released 0.0.6 which should fix this issue!


renaming and re-organizing openapi spec files

Don't merge until the Kotlin part has been approved (about to be merged), as this will likely cause CI actions to fail on active pull requests

I will wait until the Kotlin part is ready.


Fix PWA

This should fix #15. I haven't tested because I don't have a static file server, but I can see if I can install one quickly to test it out. Generating a build, I can see a service-worker.js file is generated, which wasn't happening previously, so I believe it is fixed, but I can check just to make 100% sure.

I think it's working right now. The service worker registers and the site seems navigable if you set the network throttling to offline in the network tab in dev tools. It gives me an option to install the pwa too.
If you can confirm that it works on your end too I can merge!

So this seems to work for me. If I install the website as a PWA, I can load the pages and it caches it offline. So I can disconnect and the pages will load. However, this does not cache any of the images. Not entirely sure what to do about this.

I'm getting the exact same thing. Interestingly enough, it looks like the service worker is caching all of the images, but it is caching them with a __WB_REVISION__ query, which the images on the page don't use. Picture is related. Not sure if the query should be on the image sources or not. I'm looking into the PWA plugin documentation now to see if they say anything about that.

After some more digging, I don't get any of that additional stuff in the URLs in my local environment, so that leads me to believe that Netlify is adding them, which would make sense. If Netlify sees those URLs, it is able to route it to the correct resource because you are connected to the internet, whereas when you're offline Netlify isn't able to route it therefore you get the 404. Looking into the Netlify documentation right now to see how this might be fixed.

Netlify lossless compression is turned on in the site build settings. Perhaps that is why. Let me see if a build without that fixes it.

Sick. Was not aware of that. I needed to make that change anyways—as it should be a dev dependency—so it wasn't completely unnecessary. But will definitely do that next time! Thanks!

Hm. I believe it's still doing the same thing after disabling netlify's image post-processing.

It seems to be working now. Not entirely sure if that was the fix. I noticed that when the website is loaded from the service worker, i.e. you go to a different page effectively refreshing the browser state, it works. I think when the page is loaded from the service worker, it has the correct URL but when it's from Netlify, it has that other URL. Not sure how that could be fixed. I'll try a hard refresh to see if that fixes the state, but otherwise it seems to work.

Ah actually it was because I had cache disabled as I'm working on another project right now.
All working?

Only bummer is that you need to load the pages prior to load the cache. Can't download ahead of time. This actually only applies to assets. Vuepress preloads most of the actual page content so you'll see that you can load pages offline without visiting them. Doesn't do the same to assets though.
If you see that it's all good on your end I'm ready to merge!

Okay, I see the issue. Netlify seems to change the URL to some cloudfront.net URL for caching on their end, I suppose. When I navigate to another page after turning off my internet, all the images and everything work correctly. It's just when you're online then suddenly go offline and reload the page. The assets are cached, you just need to be on the cached HTML to use the cached assets.
Side note: I'm seeing some assets that aren't able to load that should be able to, like baby-rr.svg. I think these just have the wrong URL configured.

So I think that the baby-rr.svg might just be unsupported media types? The mp4's aren't able to be cached either for me.

Also I did disable asset optimization in the commit prior

mp4 isn't a file that is cached by default, however svg is. Looking at the cache, I think the path should be /assets/baby/baby-rr.svg instead of /assets/baby-rr.svg.

Ah you can enable custom globPatterns. I wonder if I can override that and stick mp4's in there.

Okay, an empty cache and hard reload fixed all of the stuff with the URLs and images for me. So that seems to be working.
I am generating a local build right now with an updated globPatterns. Once I confirm that it works, I'll commit and this should be finished.

From what I can see, everything works correctly except for the videos that use Youtube :tada:

Seems to work great! 🥳
Thank you so much! I really appreciate it!
Gotta start a contributors list somewhere.


MAINT: use environment.yml to create CI environment

This is a good improvement to clean up the environment used to test the full thing, but what I additionally meant in my other comment: we can make another environment (which doesn't need that much packages, only rampwf and the dependencies needed for the iris kit), that is then actually used for the CondaEnvWorker

Oh sorry I did not read fully the comment. It makes a lot of sense.


Update git action go versions to 1.22.5

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.06%. Comparing base (9b23ab5) to head (86fc955).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   99.06%   99.06%
=======================================
  Files           3        3
  Lines         213      213
=======================================
  Hits          211      211
  Misses          1        1
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


mod_rewrite doesn't work on arm64

Dockerfile:
FROM httpd:2.4.54
RUN sed -i -e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' conf/httpd.conf

It works on amd64, but doesn't work on arm64.
Error: exec /usr/local/bin/httpd-foreground: exec format error

With your exact Dockerfile and --platform linux/arm64/v8, I'm unable to reproduce. :confused: :disappointed:

Thank you, let me try.


Auto aggregate applies MIN, MAX, and MEAN at once

Given: I'm in the Data Explorer
When: the Auto mode is enabled (via the AutoInput - https://influxdata.github.io/clockface/?path=/story/components-inputs-composed--autoinput)
Then: I can select a group of Auto Aggregates

MIN, MAX, MEAN
MIN, MAX, MEDIAN

When: There is only a single time series
(Not: Multiple time series selected)
Then: The Band Chart is auto selected (https://github.com/influxdata/giraffe/issues/228)
Design Notes
https://www.figma.com/file/naxHHmkcY0Tc6pfbgzdq9T/Auto-Aggregation?node-id=250%3A110

I've edited and added a criteria to this Issue:
And: There is only a single time series
Not: Multiple time series selected

This is in response the visibility issues existing when there are many time series overlapping.
CC @russorat @desa

@desa ok, I thought we were getting a little meta data from Flux. I defer to what you think will work here.


Fix formatting optional variants

Adjusts the formatting rules so that ?#variant remains formatted and ? #variant is replaced with ?#variant.

There's already a test in the diff (here), but we could add more if you think there are any other edge cases.

There's already a test in the diff (here), but we could add more if you think there are any other edge cases.

That's fine as long as it covers bot expressions and patterns. Later I saw that in the training project the patterns were also corrected, so I assume this test is checkin both.


Add kibana 5.1.1

Hi @bn0ir thank you very much for your pull request!
Have you tested it perhaps with kibana 5.1.1. ?

Hello, yes, we test it with kibana 5.1.1 today.
It works perfect.
Thanks!

Happy it helped.
If you want to discuss something without opening an issue feel free to write to<EMAIL_ADDRESS>Davide


Add test for build service/classloader issue

Add a "ToBeFixed" test case for the related issue.
Issue: #17559

OK, I've already triggered the following builds for you:

ReadyForRelease build

This went into https://github.com/gradle/gradle/pull/22987


Support custom streams filter in nack interceptor

Description
This change allows users to pass custom stream filters to the nack interceptor in order to enable/disable nacks for certain streams based on the StreamInfo.

LGTM @aalekseevx!
I added you to the org so CI runs/you can make a branch directly on the repo easier

Thank you! That makes thinks easier

Is it OK now?

@aalekseevx looks great!
mind writing a simple test that NACKs really get disabled. Just so in the future someone doesn’t break it
then a merge from me!

Added some basic checks

It seems like 10ms is too small timeout for wasm arch, 50ms seems fine

merged! Go ahead and tag w/e you want @aalekseevx

Thank you! I hope I've done it right


In gateway profile (worker and manager)  is not working

Description:

GW is running with profile -Dprofile=gateway-manager/worker
If API has a sequence with  then it does not allow to publish and throwing errors

Closing hence https://github.com/wso2/product-apim/pull/2731 is merged.


We need a Blog page for this Community

Blog site should be similar to main site.
add some good quality blog
blog site should be responsive and user friendly.
after creating your page please share your screenshots videos before you raise PR.

Hi @SahityaRoy , I'd like to build the blog page, can you assign it for me?

I am want to solve these issue .

@SahityaRoy  I want to solve these issue please assign me this .

I can help solve this issue pls...

I can build the blog page, please assign this issue to me.

Hi @SahityaRoy , I'd like to build the blog page, can you assign it for me?

please go ahead

Hey @SahityaRoy  @Potato-29 Should I work on this issue, I am interested to explore myself more on blogging side If yes then please assign me under GSOC 23.

I kindly request you to assign Issue #35 to me. I am excited about the opportunity to contribute further and would love to get started on this issue as soon as possible under GSSoC'23.


UAA Release 66.0 to 67.0/68.0+ breaks ssl skipverification

We are unable to get authentication to work via LDAP(S) even though we are using the same ops file to enable LDAP. It appears setting "skipverification" to "true" is no longer honored. Switching back to 66 works, but anything newer does not.
Looking at the source code, one thing we noticed was from 66 to 67, tomcat was upgraded from 8.5 to 9.X. Outside of that, it isn't that obvious why it wouldn't be honoring "skipverification"

After further troubleshooting, it appears the "ldap.ssl.skipverification" doesn't fully honor the "skip" part. I was querying an externally (BigIP) load balanced DNS name that fronts multiple LDAP servers which wouldn't allow authentication to succeed. When specifying the individual LDAP servers behind the external load balanced DNS name in the "ldap.base.url" line , the authentication request would succeed. I have chosen to specify multiple LDAP servers in the  "ldap.base.url" line, however this solution is flawed in that if one of the servers is completely down, it will take in practice ~4:25 for UAA to try the next server in the list and succeed. If the server is up and pinging, but the LDAP service running on the SSL port  is down, UAA will immediately try the next LDAP server in the list. I didn't try it with two servers down.
In the end, it appears "ldap.ssl.skipverification: true" doesn't honor a BigIP load balanced VIP/DNS name which fronts multiple LDAP servers. I believe this is due to the fact the certs that are eventually provided from the LDAP servers are for those servers specifically and do not mention the load balanced VIP/DNS name. Each server uses the same root and issuing CA, but the issued cert for each server is different. This worked in 66.0 and prior, but not anything newer.


Add StarknetPlugin to test runner

It is required to import functions from compilation unit targetting a contract, on which protostar focuses.

https://github.com/software-mansion-labs/cairo/pull/60

@karol-bisztyga #1736 completes the task on protostar side, testing the functionality.


DCOS-39862: Add hover state and cursor styles to column header

Testing

Checkout the nodes page and take a look if the column header behaves the same as before (having the carret being displayed when hovering and the mouse being a pointer.
Trade-offs

Decided to add state because it is just little, contained and the easiest solution.

Dependencies

None

Any ETA for merging this into the ui-kit?

@juliangieseke what is there missing on the CI for this to be green?

@nLight nothing, tests were flaky… restarted them 👍


ImportExport issue for child pages

Description
If you create 5 pages and you set the last one as the parent of 1,2,3 and 4 it will work in your page but if you try to export that, it will fail to import, only page 5 will be shown and all the children will be lost(1,2,3 and 4 for this example). I have tested this feature with full and incremental, both ways are failing.
Steps to reproduce
https://www.useloom.com/share/58c2b631291246e386355c53f8049428

Create any number of pages (let's say you created 3 pages).
Set the *last created as the parent of the pages you just created (if you create 3 pages, then page number 3 will be the parent on page 1 and 2)
Export these pages, both parent and children
In a new website import the 3 pages

Current result
You will only be able to see the parent page (in this example only page number 3 will be shown)
Expected result
You should be able to see all the pages 1,2 and 3.
*Order of creation should not affect.
Affected version

[x] 9.2
[x] 9.1.1

@dnnsoftware/tag this has been fixed in #2030 which in turn caused #2105
Please close if you have no further comments


Correct heading order for single IMAGE result page #1616

Fixes
"Fixes #1616 by @obulat"
Description
Pull Request changes the headers of the following components to be a in sequential order
(h2) *VImageDetails.vue
(h2) * VRelatdImages.vue
Checklist

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

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

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

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

Developer's Certificate of Origin 1.1

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

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

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

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

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

@obulat these changes are for the image page reflecting page #1616. Please let me know if there is anything else needed for this action.
cc: @kickeyhickey
cc: @Jbudd512


Audit python APIs and force kwargs where appropriate

For APIs with long argument lists forcing the specification of kwargs can both help with code-clarity and future backwards compatibility.
We can do this by adding introducing * to the function arguments.
e.g.
def serve(
    *,
    open_browser: bool = True,
    web_port: int | None = None,
    ws_port: int | None = None,
    recording: RecordingStream | None = None,
) -> None:

There aren't many functions left; should be quick work!


Set destination of the Ego vehicle using command line

Is there a way to set the destination for the Ego vehicle using a command line (i.e., by providing waypoints via command line)?
We have to currently provide the destination using Dreamview which is not a scalable approach for conducting experiments.
We are using Apollo 5.0 on Ubuntu 18.04.

@saurabhjha1 you can try:
https://github.com/ApolloAuto/apollo/blob/master/modules/tools/mock_routing/mock_routing_request.py

Hi @saurabhjha1 , hope our answer resolved your question. We will close the issue for now. If you have any additional question, please feel free to open a new issue. Our engineer team are more than happy to help that.
Thank you for supporting Apollo!


Fix dependencies issues of postgresql-syntax and re+base

Motivation for this change
Things done

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

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

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

GHC Version: 8.8.3

Looks good, compiles on my machine.  Thanks!

Oh, and in the future, please see the .github/CONTRIBUTING.md file for an explanation of the format that commit messages should have.


Addressing the temporary excludes - cleanup work

@cidrblock @ssbarnea as i am removing one by one line and then run the tox -e lint  command and there were no errors till now, so just wanted to confirm that I am doing the right thing?
Related to #73

@Ruchip16 Please rebase and eliminate unrelated changes from commit.

Closing this PR because above referenced PRs related to this PR have already been merged.


Remove unlocker?

https://github.com/lukesampson/scoop-extras/blob/master/unlocker.json contains
http://usfiles.brothersoft.com/utilities/system_utilities/unlocker1.9.0-portable.zip
which is 404. I found the same SHA at
http://download.oldapps.com/Unlocker/unlocker1.9.0-portable.zip
but when I visit http://www.emptyloop.com/unlocker/ in Chrome or Firefox, I'm yelled at to run away (IE let's me visit without a whimper).
Should we delete this app as many claim it's malware?

Closing per #466.


Created Learn.md file

Learn.md file contains the details of the project which helps the students to understand the project's overview. It helps them to set up the project and contribute to it following the contribution guidelines and code of conduct
fix: #7

@PrathicaShettyM  Thanks for your contribution! Keep up the awesome work 😊🎉


Translated content into Chinese

as title

Thank you for the translation. I’m not sure how to proceed though with this pull request. I can add a link to your translation in the readme and in the book itself, also keep an issue open for translations.

Thank you for the translation. I’m not sure how to proceed though with this pull request. I can add a link to your translation in the readme and in the book itself, also keep an issue open for translations.

It's nice to do that, and thank you.
This is translated to help those who's not good at English. That's good if it could did help

Thanks again. I've added links in the README and in the Home.md to the Chinese translation.
#4


Use keypad keycodes in ncurses

Hello !
Your code has greatly helped me to intergrate readline in ncurses for a student project.
I would like to replicate an irssi interface for an IRC-like protocol.
I want to catch keypresses events (like F(n) keys, or shift-arrow combinaisons) in the ncurses part and not forward them to readline. The catching is done with keypad, but as you wrote:

Do not enable keypad() since we want to pass unadulterated input to readline

How can I handle special keys events in the ncurses scope, while passing unadulterated input to readline ? Is is possible ? Maybe with a inverse transformation ?
What if I do keypad, then test if its a special char, if so disable keypad and somehow ungetch the character ?
Or is the only solution to wait and watch for the sequence of unadulterated input ? ncurses.faq.html#modified_keys
Thank you for your time.
PS: can I use your code ? Is is MIT licensed ?

I posted an almost identical question on stackoverflow.
The idea seems to let readline do the bindings & callbacks.
Thank you anyway for the good work !

Glad it's helpful. Feel free to use it! It's public domain to me.
Yeah, things get a bit messy with keypad() enabled. The only method I'm aware of would be to translate symbolic constants like KEY_RIGHT back to escape sequences and feed those to readline. To get the correct escape sequence for the terminal, you can do e.g. tigetstr("kcuf1"), where terminfo(5) lists the capability names (kcuf1 is the right arrow key). In practice, you're very likely to be dealing with a terminal that uses ANSI escape sequences.
Handling it inside readline is probably easiest, like you said. I'd start with that.


Bump user API version to support unique user id

Purpose

subject

For the change, https://github.com/wso2/identity-api-user/pull/73.

identity.user.api.version is at a higher version in the master branch already.


Bump remotedialer to add pause/resume functionality

Since bumping the steve dependency also bumps the wrangler dependency,
there were a few adjustments necessary due to changes in wrangler and
apiserver. Those are included here.
Issues:
https://github.com/rancher/rancher/issues/34819
https://github.com/rancher/rancher/issues/32934

@thedadams , I'm a bit concerned "downgrading" apiserver here. 2021/09/24 version was from release/v2.5 branch of apiserver which is based on 2021/02/08 (https://github.com/rancher/apiserver/commits/release/2.5) while one from 2021/09/22 is from master which has quite a few additional commits included (https://github.com/rancher/apiserver/commits/master). Are we absolutely sure we're safe including it in 2.5? There must have been a reason we branched then.

@snasovich I though we needed to do this because of steve. However, now I see that steve has a release/v2.5 branch too. Let me work on that.

@snasovich I though we needed to do this because of steve. However, now I see that steve has a release/v2.5 branch too. Let me work on that.

Perfect, thank you. Yup, steve from release/v2.5 branch uses 2021/09/24 version of apiserver so if we put necessary changes in release/v2.5 branch of steve we shouldn't have this issue.


Create Dijkstra.java

"Added solution for the Dijkstra in java. The code is optimized for time and space complexity, with detailed comments to explain each step. Let me know if any changes are needed!"


Add a section on service mesh and how to integrate it with Kubernetes services

This is a Feature Request
Problem:
The current Kubernetes Service documentation page does not cover the topic of Service mesh, which is an important and emerging technology that can enhance the functionality and security of services in Kubernetes.
Proposed solution:
Add a section on service mesh and how to integrate it with Kubernetes services using popular tools like Istio or Linkerd. The section should explain what is a service mesh, why it is useful, what are its benefits and challenges, and how to use it with Kubernetes services. The section should also provide examples and diagrams to illustrate the concepts and steps.

/sig doc

/sig docs

/language en

page related to this issue : https://kubernetes.io/docs/concepts/services-networking/service/

/close
None of the service mesh technology is from the kubernetes core.
We are not documenting them on k8s.io/docs website.


Ensure all leadership tasks are activated if requested

Merged in PR #859 two new leadership tasks were added that accounted for user metrics and cleaning up dangling agent connections.
Unfortunately the properties were set to true only in the ConfigurationProperties class which is bound after evaluation of conditions so before then the properties
have no values and thus weren't enabled by default as expected. This commit fixes this in two ways:

Ensure that the GenieTasksAutoConfiguration is applied before the GenieLeadershipAutoConfiguration
Ensure that the default set of properties for the two leadership tasks are set to true in the files that are loaded into the environment before conditionals are evaluated on auto configs

Coverage decreased (-0.07%) to 91.527% when pulling 6a15cf1b7b946da2248ed5c58cc85070cd5887a7 on tgianos:fixLeadershipOrder into f942821ce0b9775a0aac3ce1f66d4d11dd449ad5 on Netflix:master.


Error when fetching url: Couldn't resolve host name

I want to crawl news from this URL:

https://www.huobi.vc/zh-cn/

The option code I wrote is:
{
"expected_update_period_in_days": "2",
"url": "https://www.huobi.vc/zh-cn/",
"type": "html",
"mode": "on_change",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36",
"headers": {
"Cookie": "__zlcmid=wqivWyfRdwLMfr; __cfduid=d857b861dce22617bf6b8056ac46bd4b11585131759",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36",
"referer": "https://www.huobi.vc/zh-cn/"
},
"extract": {
"url": {
"xpath": "//[@id="notice_top_box"]/span/a",
"value": "@href"
},
"title": {
"xpath": "//[@id="notice_top_box"]/span/a",
"value": "normalize-space(.)"
},
"content": {
"xpath": "//*[@id="notice_top_box"]/span/a",
"value": "string(.)"
}
}
}
But the system returned an error. Message as follows:
[00:00:00] INFO -- : Dry Run started
[00:00:00] INFO -- : Fetching https://www.huobi.vc/zh-cn/
[00:00:05] ERROR -- : Error when fetching url: Couldn't resolve host name
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/adapters/faraday.rb:106:in block in request' /app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/callbacks.rb:146:in block in execute_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/callbacks.rb:145:in each' /app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/callbacks.rb:145:in execute_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/operations.rb:35:in finish' /app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/easy_factory.rb:164:in block in set_callback'
/app/vendor/bundle/ruby/2.5.0/gems/ethon-0.12.0/lib/ethon/easy/response_callbacks.rb:68:in block in complete' /app/vendor/bundle/ruby/2.5.0/gems/ethon-0.12.0/lib/ethon/easy/response_callbacks.rb:68:in each'
/app/vendor/bundle/ruby/2.5.0/gems/ethon-0.12.0/lib/ethon/easy/response_callbacks.rb:68:in complete' /app/vendor/bundle/ruby/2.5.0/gems/ethon-0.12.0/lib/ethon/easy/operations.rb:33:in perform'
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/operations.rb:16:in run' /app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/cacheable.rb:18:in run'
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/block_connection.rb:31:in run' /app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/stubbable.rb:25:in run'
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/request/before.rb:26:in run' /app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/adapters/faraday.rb:82:in perform_request'
/app/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.3.1/lib/typhoeus/adapters/faraday.rb:72:in call' /app/vendor/bundle/ruby/2.5.0/gems/faraday_middleware-0.12.2/lib/faraday_middleware/gzip.rb:24:in call'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.12.1/lib/faraday/request/url_encoded.rb:15:in call' /app/vendor/bundle/ruby/2.5.0/gems/faraday-0.12.1/lib/faraday/request/multipart.rb:15:in call'
/app/vendor/bundle/ruby/2.5.0/gems/faraday_middleware-0.12.2/lib/faraday_middleware/response/follow_redirects.rb:78:in perform_with_redirection' /app/vendor/bundle/ruby/2.5.0/gems/faraday_middleware-0.12.2/lib/faraday_middleware/response/follow_redirects.rb:66:in call'
/app/app/concerns/web_request_concern.rb:26:in call' /app/vendor/bundle/ruby/2.5.0/gems/faraday-0.12.1/lib/faraday/rack_builder.rb:139:in build_response'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.12.1/lib/faraday/connection.rb:386:in run_request' /app/vendor/bundle/ruby/2.5.0/gems/faraday-0.12.1/lib/faraday/connection.rb:149:in get'
/app/app/models/agents/website_agent.rb:397:in check_url' /app/app/models/agents/website_agent.rb:386:in block in check_urls'
/app/app/models/agents/website_agent.rb:385:in each' /app/app/models/agents/website_agent.rb:385:in check_urls'
/app/app/models/agents/website_agent.rb:379:in check' /app/app/concerns/sortable_events.rb:92:in check'
/app/app/concerns/dry_runnable.rb:31:in dry_run!' /app/app/controllers/agents/dry_runs_controller.rb:41:in create'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/base.rb:194:in process_action'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rendering.rb:30:in process_action' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/callbacks.rb:42:in block in process_action'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:132:in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/callbacks.rb:41:in process_action'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rescue.rb:22:in process_action' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:34:in block in process_action'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:168:in block in instrument' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:23:in instrument'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:168:in instrument' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:32:in process_action'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/params_wrapper.rb:256:in process_action' /app/vendor/bundle/ruby/2.5.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/railties/controller_runtime.rb:24:in process_action'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/base.rb:134:in process' /app/vendor/bundle/ruby/2.5.0/gems/actionview-<IP_ADDRESS>/lib/action_view/rendering.rb:32:in process'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal.rb:191:in dispatch' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal.rb:252:in dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:52:in dispatch' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:34:in serve'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:52:in block in serve' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:35:in each'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:35:in serve' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:840:in call'
/app/vendor/bundle/ruby/2.5.0/gems/warden-1.2.8/lib/warden/manager.rb:36:in block in call' /app/vendor/bundle/ruby/2.5.0/gems/warden-1.2.8/lib/warden/manager.rb:34:in catch'
/app/vendor/bundle/ruby/2.5.0/gems/warden-1.2.8/lib/warden/manager.rb:34:in call' /app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/tempfile_reaper.rb:15:in call'
/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/etag.rb:25:in call' /app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/conditional_get.rb:38:in call'
/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/head.rb:12:in call' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/http/content_security_policy.rb:18:in call'
/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/session/abstract/id.rb:259:in context' /app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/session/abstract/id.rb:253:in call'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/cookies.rb:670:in call' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:28:in block in call'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:98:in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:26:in call'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/debug_exceptions.rb:61:in call' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/show_exceptions.rb:33:in call'
/app/vendor/bundle/ruby/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:38:in call_app' /app/vendor/bundle/ruby/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:26:in block in call'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:71:in block in tagged' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:28:in tagged'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:71:in tagged' /app/vendor/bundle/ruby/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:26:in call'
/app/config/initializers/silence_worker_status_logger.rb:3:in call' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/remote_ip.rb:81:in call'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/request_id.rb:27:in call' /app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/method_override.rb:22:in call'
/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/runtime.rb:22:in call' /app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/executor.rb:14:in call'
/app/vendor/bundle/ruby/2.5.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/static.rb:127:in call' /app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/sendfile.rb:111:in call'
/app/vendor/bundle/ruby/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:524:in call' /app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.8/lib/rack/handler/webrick.rb:86:in service'
/usr/lib/ruby/2.5.0/webrick/httpserver.rb:140:in service' /usr/lib/ruby/2.5.0/webrick/httpserver.rb:96:in run'
/usr/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
[00:00:05] INFO -- : Dry Run finished
How should I handle this error. thank you.

Please help close this issue. I have solved it, it is the malfunction of my firewall.


Model converges on CPU but not GPU, what could it be?

I'm on a very standard system: x86 EPYC CPU on A100 GPU.
** Environment **
---------------------------------
System Environment Report
Created: 2023-01-06 11:42:29 CST
---------------------------------

PyTorch information
-------------------
PyTorch version: 1.13.0
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: NVIDIA DGX Server (x86_64)
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang version: Could not collect
CMake version: version <IP_ADDRESS>
Libc version: glibc-2.17

Python version: 3.8.13 (default, Oct 21 2022, 23:50:54)  [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-3.10.0-1160.11.1.el7.x86_64-x86_64-with-glibc2.17
Is CUDA available: True
CUDA runtime version: 11.0.221
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: A100-SXM4-40GB
Nvidia driver version: 450.156.00
cuDNN version: Probably one of the following:
/usr/lib64/libcudnn.so.7.6.3
/usr/lib64/libcudnn.so.8.2.1
/usr/lib64/libcudnn_adv_infer.so.8.2.1
/usr/lib64/libcudnn_adv_train.so.8.2.1
/usr/lib64/libcudnn_cnn_infer.so.8.2.1
/usr/lib64/libcudnn_cnn_train.so.8.2.1
/usr/lib64/libcudnn_ops_infer.so.8.2.1
/usr/lib64/libcudnn_ops_train.so.8.2.1
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] lovely-numpy==0.2.8
[pip3] numpy==1.22.4
[pip3] pytorch-ranger==0.1.1
[pip3] torch==1.13.0
[pip3] torch-optimizer==0.3.0
[pip3] torchaudio==0.13.0
[pip3] torchmetrics==0.9.3
[pip3] torchvision==0.14.0
[conda] blas                      1.0                         mkl
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] lovely-numpy              0.2.8                    pypi_0    pypi
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py38h7f8727e_0
[conda] mkl_fft                   1.3.1            py38hd3c417c_0
[conda] mkl_random                1.2.2            py38h51133e4_0
[conda] numpy                     1.22.4                   pypi_0    pypi
[conda] pytorch                   1.13.0          py3.8_cuda11.6_cudnn8.3.2_0    pytorch
[conda] pytorch-cuda              11.6                 h867d48c_0    pytorch
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] pytorch-ranger            0.1.1                    pypi_0    pypi
[conda] torch-optimizer           0.3.0                    pypi_0    pypi
[conda] torchaudio                0.13.0               py38_cu116    pytorch
[conda] torchmetrics              0.9.3                    pypi_0    pypi
[conda] torchvision               0.14.0               py38_cu116    pytorch

Composer information
--------------------
Composer version: 0.12.0
Composer commit hash: None
Host processor model name: AMD EPYC 7742 64-Core Processor
Host processor core count: 128
Number of nodes: 1
Accelerator model name: A100-SXM4-40GB
Accelerators per node: 1
CUDA Device Count: 1

CUDA: Driver Version: 450.156.00   CUDA Version: 11.0

Note via Conda, my pytorch-cuda is 11.6 but my system is using CUDA 11.0.

** To reproduce
Steps to reproduce the behavior:

Instantiate Trainer, and call trainer.fit() with below model.

Expected behavior
Model converges when device=cpu but loss is all NANs when device=gpu.
After several days of thinking and debugging I can't figure out what it could be!
Additional context
Note, all model parameters are torch.float32.
I'm using a Huggingface model, but it's sufficiently custom that I believe I need to write my own ComposerModel class, instead of using your conversion method from composer.models import HuggingFaceModel.
My full model class:
class VPT_model(ComposerModel):
  '''
  Custom VPT implementaiton for MosaicML.
  https://docs.mosaicml.com/en/v0.11.1/trainer/using_the_trainer.html
  '''

  def __init__(self,
               model_huggingface_name: str = "google/t5-v1_1-large"):
    super().__init__()

    self.device = "cuda" if torch.cuda.is_available() else "cpu"
    self.model = T5ForConditionalGeneration.from_pretrained(model_huggingface_name).to(self.device)
    self.model.train()

  def forward(self, batch):
    input_embeds_arr = torch.cat(
        [batch['clip_pooled_embedding'], batch['clip_last_hidden_states'], batch['caption_embedding']],
        dim=1)  # concat along sequence dimension
    return self.model.forward(inputs_embeds=input_embeds_arr, attention_mask=batch['attn_mask_arr'], labels=batch['labels'])

  def loss(self, outputs, batch):
    return outputs[0].sum() # same results with and without .sum()

  def eval_forward(self, batch, outputs=None):
    '''
    Docs: https://docs.mosaicml.com/en/v0.11.1/api_reference/generated/composer.ComposerModel.html#composer.ComposerModel.eval_forward
    todo: Placeholder so that training doesn't crash.
    '''
    return 0

Thank you for any help you can provide!

Hi Kastan,
VPT on youtube? Sounds like a cool project.
May I see your call to Trainer?
I suspect changing the precision to 'fp32' (default for cpu, but not for gpu) may be the fix: Trainer(..., precision='fp32',)
Also, one thing to note: it looks like your system CUDA version is older than the CUDA version used to build pytorch. I think it's usually recommended that the system CUDA is the same or newer than the pytorch CUDA version.
Let me know if that helps!

Problem solved!! Phew, thank you!
Yes, very excited about the project. It won 'best project of the year' in UIUC's advanced NLP seminar: https://github.com/KastanDay/video-pretrained-transformer


JSONATA error aren't caught by catch node

Using the latest version of Node-RED (0.18.7), it seems like Jsonata errors aren't caught by the catch node.
To reproduce:
[{"id":"bb167586.1b9ac","type":"inject","z":"3fe00875.5d929","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":440,"y":280,"wires":[["afddf62e.6722d8"]]},{"id":"afddf62e.6722d8","type":"change","z":"3fe00875.5d929","name":"JSONATA Error","rules":[{"t":"set","p":"payload","pt":"msg","to":"$join([null, payload], '/')","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":280,"wires":[[]]},{"id":"d57d40dc.0b453","type":"catch","z":"3fe00875.5d929","name":"","scope":null,"x":420,"y":360,"wires":[["fcfbd7a.c4c2728"]]},{"id":"fcfbd7a.c4c2728","type":"debug","z":"3fe00875.5d929","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"error","x":600,"y":360,"wires":[]},{"id":"5c0e6416.b5fab4","type":"inject","z":"3fe00875.5d929","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":440,"y":100,"wires":[["8dda031a.5d2c88"]]},{"id":"8dda031a.5d2c88","type":"function","z":"3fe00875.5d929","name":"Normal error","func":"node.error('error', msg)\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":100,"wires":[[]]},{"id":"ebc04e57.49adb","type":"comment","z":"3fe00875.5d929","name":"Gets caught by catch node","info":"","x":470,"y":60,"wires":[]},{"id":"ff0b13bf.bbe388","type":"comment","z":"3fe00875.5d929","name":"Doesn't get caught by catch node","info":"","x":500,"y":240,"wires":[]}]

Fixed in 0.19 branch


Error in readme?

Hey, just found your plugin, which was exactly what I needed. Thanks!
I did have some trouble getting it to work:  I think there's an error in the static config in the readme:
[experimental.plugins.blockuseragent]
    modulename = "github.com/traefik/plugin-blockuseragent"
    version = "v0.0.1"

Module name should be github.com/agence-gaya/traefik-plugin-blockuseragent, right?  And version should be whatever the latest version is (ie v0.1.7 for now)?

Documentation updated, thanks.


wip: lifting and lowering traits

I have added "direct" byte manipulation in 0.3, without using the generated JS "glue" code, and it's way faster. Thanks for the work, though.


Noarch build should be marked as broken

Comment:
Currently the noarch build takes precedence over all the other builds (even though they have a higher build number). E.g. when installing on linux:
conda create -n abc --dry-run -c conda-forge brightway2 | grep bw2calc
  bw2calc            conda-forge/noarch::bw2calc-1.8.1-pyhd8ed1ab_0

But it also happens on windows and osx -> https://github.com/haasad/activity-browser/actions/runs/3669758199/jobs/6203822495
This means that there is currently no solver library installed when installing brightway, which is a bad user experience and makes tools like the activity-browser borderline unusable. I think the "easiest" way to fix i would be to request the noarch to be marked as broken: https://conda-forge.org/docs/maintainer/updating_pkgs.html#removing-broken-packages
I assume a maintainer of the feedstock has to do this.
Otherwise bw2calc could be bumped to 1.8.2, where there won't be a noarch package anymore.
@m-rossi, @cmutel

You are right @haasad we should mark it as broken. I will take care of that.

conda create -n abc --dry-run -c conda-forge brightway2 | grep bw2calc
  bw2calc            conda-forge/linux-64::bw2calc-1.8.1-py311h38be061_3

Works, thx :+1:


fixed issue with 0-byte read/writes on Windows

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Roger Huebner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Simple count of fields for alert

Influx version 1.0.0
Kapacitor version 1.0.0
Sorry for the ask. I seem to have some issues getting the correct count of statuses.
Example:
var info = 10
var warn = 30
var crit = 100

stream
    |from()
        .measurement('request')
        .where(lambda: "status" >= 400 AND "status" <= 499)
    |window()
        .period(10m)
        .every(10m)
    |count('status')
        .as('400_count')
    |alert()
         .message('Elevated 4xxs - {{ index .Fields "400_count" }}')
         .info(lambda: "400_count" > info)
         .warn(lambda: "400_count" > warn)
         .crit(lambda: "400_count" > crit)
         .slack()
         .log('/tmp/badrequest.log')

I want to get a count of all status codes, but I need to do something similar to count("field") Does this look correct?
Edit: worked after restart of kapd.

Oddly, I'm getting some weird round numbers that don't reflect what's in grafana or queried in influx. What should have been a test of 40 returned 800. Is this stateful?

@shaunwarman Could you provide example data that shows the issue you are having?

Could my expectations of |count be off? It should count the points which should be filtered based on |where correct?
Could the timing in the count be off because "Aggregation functions always use the batch time."

Thanks @nathanielc for the help..
It looks like influxDB will dedupe data upon queries, but kapacitor won't. So alerts with count could seem inflated. Will switch to a batch approach to get the dedupe benefits from influxDB.


Notification sent but not received (Desktop)

Hi, I'm trying to send push notifications to safari from my server but notification isn't shown even though the submission has been successful.
This is my code:
          var apn = require("apn");
           let options = {
             cert: "./certificates/cert.pem",
             key: "./certificates/key.pem",
             production : true
           };
           let apnProvider = new apn.Provider(options);
           let notification = new apn.Notification();
           notification.topic = "web.xxxxx.xxxx";
           notification.title = "My title";
           notification.body = "My text";
           notification.sound = "ping.aiff";

           apnProvider.send(notification, safariTokens).then( result => {
           console.log(result);
           });

          apnProvider.shutdown();

Where am I wrong? Thanks in advance!

Try calling apnProvider.shutdown() inside the result function returned by . send , not outside

I tried what you said:
apnProvider.send(notification, safariTokens).then( result => {            console.log(result);            apnProvider.shutdown();         });
but it doesn't work.

I had the same issue .... what I found was if you are not sending any urlArgs, you still need to set urlArgs to []. After doing this I began to receive my notifications.
`
var notification = new apn.Notification();
notification.expiry = Math.floor(Date.now() / 1000) + 3600 * 24 * 7;
notification.body = body;
notification.title = title;
notification.topic = "";
notification.urlArgs = [];
`

Thanks @brntphish, that was it!

@brntphish how did you figure that out? :D

@abdurahmanadilovic pure luck


Multiple cursor yank doesn't check to see if something new was copied externally and only uses internal Sublime killring

If you have multiple selection enabled and copy text outside of sublime that you want to paste at each selection location and then you yank. It doesn't check to see if something new has been copied externally only returning the most recent killring item from sublime. I assume the code was rewritten so multiple selection works with the killring but is it possible to make it also check as it does without multiple selection the external clipboard has been updated because it works fine if you go up to the menu and paste using the built-in paste commands.

I think this is left over from the time I didn’t support yanking a single item into a multi-cursor destination. So I think this can be fixed quite easily.

Okay that's good news just thought I'd report it since I noticed the problem. I was going to look at the code because thought it might be a quick fix but don't have much time this week.

Oh yeah I remembered I was going to have a look when you changed the code for multiple cursors somewhere but couldn't remember where and just found it. I am assuming that you never updated this function.

I just had a look at this. And I think I just fixed it! Will release soon I hope.

Okay that's great!
On Sun, Dec 11, 2016, 23:07 Jonathan Payne<EMAIL_ADDRESS>wrote:

I just had a look at this. And I think I just fixed it! Will release soon
I hope.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grundprinzip/sublemacspro/issues/139#issuecomment-266278334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtO1hVJKIyi5uV7L2oPNF2AQX4VfKdfks5rG-eYgaJpZM4IgL7j
.


system: change UX for new notices

o Switch to shared circle with coloring (no visual jumping)
o Switch SUCCESS circle to muted (muted keeps us calm)
o Switch dialog color to primary (keep one consistent "neutral" layout)
o Switch dialog close button to plain (it doesn't do anything)
o Add translation in legacy template (because that's nice)
o Add muted circle to page load (to avoid shifts and jumps)
o Check error level for crash report in production (probably better as warning)
o Rearrange dismiss and error presentation, inline "circle" indicator (perhaps)
Behavioural changes thought of but discarded:
o Open error dialog right away (it implies action to be taken but might be annoying especially if the reporting page is already open)
o Dismiss on redirect also? (can't do this, clears crash report)

@AdSchellevis @swhite2 I found a little more time and I think this is my proposal waiting for review :)


Update README.md

Thanks for the PR.
This fork is more of a throw-away for submitting PRs, and is not (currently) intended to be used as is. Therefore it's best to direct any fixes, updates or improvements upstream to the ddev/ddev-selenium-standalone-chrome.

Closing.
See https://github.com/tyler36/ddev-selenium-standalone-chrome/pull/1#issuecomment-1484310932


Diagnostic docs improvements

Our ASP.NET Core docs have a section for "(ASP.NET Core 2.0+)" - but that's all we support now, so we should remove or at least edit the earlier section.

List of things to do:

[ ] Clarify that we only support ASP.NET Core 2.1+ (when #3264 is merged)
[ ] Provide a trace troubleshooting section
[ ] See whether we can reduce the length a bit, or maybe split into multiple docs.


Improve YAML parsing error messages

Wrong number of spaces may lead to this error message:
“did not find expected key while parsing a block mapping at line 1 column 1”
See also wrong line reported in 'did not find expected key while parsing a block mapping' · Issue #190 · ruby/psych
It would be nice to manually parse the YAML file when this error is returned to find the first occurrence where spaces before attributes are not correct to give the user a better hint where to look.

In order to print the correct error message we will have to monkey patch the Psych and that should not cause any concerns as we will be updating the just the line number from the error message which we can find from psych handler.
But main challenge is the method that we are monkey patching i.e. Psych::Parser#parse. In Psych 4 this is coming from C code(PR) and monkey patching that we are hoping for will only be possible if we update underlying Psych to >= 5.
This can be done by adding runtime dependency in gemspec, but need to verify if this is the right approach.


v.1.5.0 Animating #000 alpha 0.25 to #000 alpha 0 makes the bgcolor to start from white

Using: VelocityJS.org (1.5.0).
Same on both chrome and firefox.
Css is already preseted as background-color:transparent;
Animating rgba(0,0,0,.0) to rgba(0,0,0,.25) makes the bgcolor to start from rgba(255,255,255,1) really fast. Which makes the bgcolor blink white once, which looks awful.
It only happens when animating to rgba(0,0,0,.25), not when animating from rgba(0,0,0,.25) to rgba(0,0,0,0)
For example, my issue is when making a menu change bgcolor depending on scroll.
if (targetdir.hasClass('topnav')) {
targetdir.velocity({
height: 110,
backgroundColor: "#000",
backgroundColorAlpha: 0.0
});
} else {
targetdir.addClass('topnav');
targetdir.velocity({
height: 75,
backgroundColor: "#000",
backgroundColorAlpha: 0.25
});
}

I've come across this before - for some reason the browsers sometimes take a total value of 0 to mean "nothing" and then decide on either white or black (which can be seriously annoying) - have you tried using real values rather than the "shortcut" ones?
if (targetdir.hasClass('topnav')) {
   targetdir.velocity({
      height: 110,
      backgroundColor: "rgba(0,0,0,0)"
   });
} else {
   targetdir.addClass('topnav');
   targetdir.velocity({
      height: 75,
      backgroundColor: "rgba(0,0,0,0.25)"
   });
}

(I'm trying to get people away from the "shortcut" ones as they're no longer required and will probably be removed in a future major version release)

Hi sorry for the delay.
The alternative didn't work as well. I tried that before too. I had to use jquery .animate for the one blinking and velocity on the other.
I prefer without shortcuts so that's good to hear.

I've had the same problem and the way I fixed it was to animate from
      backgroundColor: "rgba(0,0,1,0)"
to
      backgroundColor: "rgba(0,0,1,0.25)"
I had this issue mostly only for FF.
Without doing the 1 it will mistake colour 0 for nothing and start at (255,255,255,1) for a split second.
It is the same issue as https://github.com/julianshapiro/velocity/issues/650 is my guess.
https://github.com/julianshapiro/velocity/issues/409 is what helped me.

Ugh, think I've hit this with Firefox with css animations before - might be worth making an exception so rgb(0, 0, 0) is translated to rgb(0, 0, 1) transparently...


Auto fit card height might be a good idea.

It's a great plugin to use, thank you so much for developing and maintaining it!
In the process of using it, I noticed a problem, every time I drag the card into the canvas, I habitually manually double-click the bottom edge of the node to make it match the card size, although it is not too inconvenient, but I think it would be more convenient if it could automatically complete the auto resize fit height!
Thanks again for your great work. It makes my workflow smoothy!

This repo might be helpful：https://github.com/Quorafind/Obsidian-Canvas-Node-Resize


Refine definitions of Observability Domain(s) and Introduce Architecture Observability as a Capability

Feature Request
Description of Problem:
Below image is from @rocketstack-matt shared at the London on-site accelerator

Refine definitions of Observability Domains
When discussing Observability
I want to ensure that all conversational participants are on the same page
so that we can have clear, concise and valuable conversations related to how Observability fits in to AasC
System Observability
In the diagram shared above Observability is specifically System Observability, which is the Domain of Obsesrvability that most people are familiar with. There are actually other Domains of Observability that are relevant here,  I mention a couple below.
As we know, System Observability is a qualitative characteristic that describes how well we are capable of understanding the internals of our Systems by virtue of the external signals they provide.  The three canoncal pillars of System Observability are Logs, Metrics and Distributed Traces.  IMO however Logs are just a degenerate form of Events (although some may argue that Events should just be considered a fourth pillar alongside the other three).
System Observability only begins to provide value once we can derive and convey Actionable Insights.  One way Actionable Insights can be realized is in terms of Monitors. Monitors use concepts such as Thresholds/Capacity to Trigger Actions.  These Actions can be as simple as Alerting via Channels and as complex as triggering downstream automation pipelines that transform code or are part of a set of Actions that implement Self-Healing features (or more simply Elasticity) for Systems.
As it relates to Architecture as Code, System Observability will be one of the sources of Metrics that will drive Fitness Scoring calculations and Indicators for Threshold breach calculations in Monitors that serve as (Holistic, Continuous) Fitness Functions.

ref Software Architecture Metrics (Ciceri, Farley, Ford, Harmel-Law, et. al.)
Data Observability
Data Observability is how well we can understand our Data by virtue of signals that are generated regarding our Data.
There have actually been good Logs/Events for various data-stores/databases for a very long time, and structured much betteer that things like Application/Service Logs.  Audit tables are one form, as are the bi-temporal aspects of bi-temporal stores.  For ACID databases, the Transaction Logs are actually perfect Logs.  Each Atom in a Time-Series Database is actually a Log/Event for that Database.  For services/bounded contexts that leverage Event Sourcing, the Event Store is a set of perfect logs for that store.
The dual to System Observability's Distributed Tracing in the domain of Data Observability is Data Lineage, which is included under the Data Domain in the image from @rocketstack-matt above.   DIstributed Traces (Spans) are signals that describe flow of logic over time, Data Lineage are signals that describe flow of Data over tme.
With regards to Data Metrics, what are the important Metrics and what shape do they take?  It depends.  What it depends on is what Insights we are trying to derive in order to fuel specific Actions.  This is the same in all Observability Domains.  This will likely include things like Freshness.
We will likely want a Capablity that subsumes Data Quality/Freshness/Consistency (is this the existing Data Catalog Capability in the image above?).  In the same way that the actual signals from the System Observability domain will fuel Fitness Score calculations and System Fitness Functions, Data Observability will fuel Data Freshness etc. calculations and inform Monitors that implement Data Fitness Functions around things like Quality/Consistency.
Code Observability
Code Observability is how well we can understand our Code by virtue of signals that are generated regarding our Code.
Source Control Management systems, similar to databases/stores, have been providing well structured logs for a long time.  We just ned to avail ourselves of them.  Considerig GIT, even if a commit is not technically a simple diff, we can think of it as such.  A Commit and it's Diffs are therefore the single Events/Log Line for Code Observability.   So we have perfect logs for Code Observability in the form of GIT history.
I would suggest that the dual to Distributed Tracing in Code Observability is Merges/Pushes.  These describe the flow of Code between Branches and Repositories over time.
Again the types and shape of Code Observability Metrics depends on what Insights we want to derive and what Actions we want the Insights to Trigger.  In fact, I believe that the set of Metrics we care about may be completely different for each specialization of "X as Code".  e.g. the Metrics for Architecture as Code may be different to those for Infrastructure as Code.
If we get Code Observability right, then we automatically get things like Architecture as Code Observability, Infrastructure as Code Observability, etc.  Defining AasC Metrics for the Architecture version of DORA metrics (see this point in Andrew Harmel-Law's recorded talk A Commune in the Ivory Tower for reference. He talks there about ADRs in specific but I believe the same or similar can be derived for other Architecture Artifacts to measure our efficiencies) will give us insight into the efficiencies (and bottlenecks) in our Architecture Practices as they relate to producing Architecture Artifacts.
Introduce Capability for Architecture as Code Observability
I believe we want to define and implment a Capability for Observability that builds on the realization of the Domain(s) of Observability.  The Domains are how we describe these Observability Domains layered on top of the base AasC Schema.  The Capability is where we define the Shape of Metrics/Events we care about in the Observability Domains that will feed into our calculations (Data Freshness, System Fitness Scores) and feed into Monitors that implement Fitness Functions and finally that will serve as Triggers for entry into other Capabilities like Drift Detection
For eample, in an idealized future: A Commit Event/Log that introduces/makes a change to an Infrastructure as Code Artifact  is used by a Monitor to Trigger an Action (workflow) to re-calculate Drift Detection.  As part of this workflow the new IasC Artifact is fed through a Transformer, which produces an AasC Artifact following the schema we define.  This Transformer potentially also pulls in other linked AasC Artifacts, like ADRs that specify what infrastructure is used in between Ingress Gateways and Service Instances, which would allow the Transformer to know which Relationships and Entitities to Remove/Compress or Add/Expand depending on which direction the Transformation is going in.  Then this newly produced AasC Manifest is diff'ed against the existing AasC committted Manifest to determine and calculate Degree of Drift.   The workflow may also:

branch/commit/push/PR this new AasC Manifest for review.
Publish Degree of Drift as a Metric/Event
Published Degree of Drift may trigger Alerts or Invalidate a Release, which is essentially a Monitor of Degree of Drift that triggers downsteram automation.  A.k.a. a Fitness Function for Degree of Drift

@ojeb2 I'm curious to get your feedback on what I've said about Data Observability and also about Observability in general feeding into other Capabilities.

@mgasca thanks for the detailed write up . . . a question on data observability are you describing two things here?

Where you refer to database logs, are you talking about observing the change of the state of data in the running system? If so isn't that a form of system observability?
Where you're talking about schema / lineage / catalogue I assume we're talking about what we have as the Data Domain in the picture above?

Regarding Data Observability vs System Observability.  The distinction is all about what we are Observing.  i.e. Data Observability is a Characteristic of our Data and is about understanding our Data over time.  System Observability is a Characteristic of our Systems and is about understanding our Systems over time.  and so on...
It may be possible to say that everything is just System Observability, but that loses a lot of nuance and also understanding around implications of potential impact of the Observability Characteristic in different Domains.
Understanding the state and flow of our Data over time is quite a bit different to generally understanding the state and flow of our Systems over time.  The easiest example to give here is the one I gave above around "movement".  In System Observability movement is captured by Distributed Tracing and is a signal that describes the flow of logic over time (even though it also includes flow of data and it's possible to capture details about the data flowing, that's not the primary driver).  Distributed Tracing doesn't really make sense when describing how our Data moves.  Data Lineage is exactly the signal that describes how our Data moves.  Although I believe some say that Data Traceability is distinct from Data Lineage, I think that Data Lineage may subsume Data Traceability.  Interested to hear thoughts from @ojeb2 on this.
What I'm suggesting around a distinct domain of Data Observability vs System Observability is not novel nor is it my idea.  There is plenty of work and research on this.  That said, Data Observability is less settled at this point than System Observability.  Different sources talk about different pillars.  Many talk about 5 pillars and they can be for instance:
Freshness, DIstribution, Volume, Schema, Lineage
Personally I disagree with that.  I'm of the opinion that there are really 3 Pillars that are common across Domains:
Logs/Events, Metrics, Movement
Freshness and Volume are just specific Metrics.  This is related to what I said in the first post about the shape of specific Metrics within the domain being dependent on the Insights we try and derive.
The reason I separate out Schema (or Catalog) from Data Observability is the same reason I separate out AasC/IasC from System Observability.  The reason is one that I brought up during the London On-Site Accelerator, and which @ojeb2 agreed to at the time.  Namely, by nature Observability signals are time-series, because the point of Observability is observing things over time.  I suppose we could say that Schema/AasC/IasC changes over time, and that would be accurate.  If that's the case, then I would suggest the 4 common pillars of Observability across all Domains are:
Structure, Logs/Events, Metrics, Movement
Hope that helps clarify, happy to chat more about it

Another set of examples from across industry supporting the idea that Data Lineage includes the Funtime personal reality of Data Movement is this post on the atlan blog (atlan is a Catalog and Lineage Store)
https://atlan.com/open-source-data-lineage-tools/
The way they describe Lineage requires that it includes the operational Movement metadata. All five of them open source Lineage tools they mention gather operational Movement signals.
Funnily enough, it seems that Pachyderm uses a version control system as the store. So Data Lineage as Code in a sense. They are using version control as the event store, as I mention is the case for general Code Observability.  I also noted that if you get Code Observability right you get X  as Code Observability for free. To a certain degree it seems this is the route they are taking.


3.0.3 Doesn't return error when having storage access failures

Hello, I just upgraded from 2.3.2 to 3.0.3, and added the required features in my Cargo.toml as requested. For some reason, 3.0.3 Entry::new doesn't return any error anymore when failing to access the platform secure storage.
As an example:
Running on 2.3.2:
Entry {
    inner: Any { .. },
}
Err: Couldn't access platform secure storage: SS error: result not returned from SS API

Trying with 3.0.3, using the features linux-native, apple-native and windows-native:
Entry {
    inner: Any { .. },
}
Auth token has been stored successfully. // shouldn't be the case, it should throw the same error as 2.3.2 does

Snippet from my code:
pub fn store_secret(
    entry_service: &str,
    entry_name: &str,
    credential: &str,
) -> keyring::Result<()> {
    let entry = Entry::new(entry_service, entry_name)?;
    entry.set_password(credential)?;
    Ok(())
}

I then unwrap the result, which leads to an error on 2.3.2 (when having no keyring back-end or simply a bad configuration).
Note that I have the same keyring configuration between the two runs and I can easily change the crate version to reproduce the error.
I am using gnome-keyring under WSL2 (Windows Subsystem For Linux).

Hi, @shard77, thanks much for bringing this to my attention.  The error you are receiving on v2.3.2 indicates that you are using the Secret Service credential store, but the features you are specifying with 3.0.3 (linux-native) indicate you are using the Linux keyring credential store. Because the Linux keyring credential store is always available and doesn't need to be unlocked, you will generally not receive an error when setting a (non-empty) password in it.
In order to use the Secret Service credential store with v3.0.3 you will need to remove the linux-native feature and add either the sync-secret-service or the async-secret-service feature. (And, if you decide to use the async support for the secret service, which was the default in v2.3.2, you also will need to specify a crypto feature and an async runtime feature.) Exactly which feature can be used to enable a particular credential store on a particular platform is detailed in the module documentation.
Please let me know if this solves your problem.

Hi, @shard77, thanks much for bringing this to my attention. The error you are receiving on v2.3.2 indicates that you are using the Secret Service credential store, but the features you are specifying with 3.0.3 (linux-native) indicate you are using the Linux keyring credential store. Because the Linux keyring credential store is always available and doesn't need to be unlocked, you will generally not receive an error when setting a (non-empty) password in it.
In order to use the Secret Service credential store with v3.0.3 you will need to remove the linux-native feature and add either the sync-secret-service or the async-secret-service feature. (And, if you decide to use the async support for the secret service, which was the default in v2.3.2, you also will need to specify a crypto feature and an async runtime feature.) Exactly which feature can be used to enable a particular credential store on a particular platform is detailed in the module documentation.
Please let me know if this solves your problem.

Ah I see, that makes sense. Much thanks for the answer!
Just a question because I'm kind of confused, does it mean that the logic for throwing such errors on v2.3.2 has been removed on v3.0.3? The thing is that if I'm going to end up using sync-secret-service or async-secret-service, I'd need to install additional dependencies, and this is rather inconvenient for me.

Hi @shard77 glad that answer was helpful.  It looks like you edited a second question out of your comment, so probably you figured out the answer, but just in case I'll answer that question anyway:

the error handling in 3.0.3 is exactly the same as it was in v2.3.2, so once you switch to using the secret service (either sync or async) things will work the same as they did for you in v2.3.2.

Thanks for using keyring and contributing!

Hi @shard77 glad that answer was helpful. It looks like you edited a second question out of your comment, so probably you figured out the answer, but just in case I'll answer that question anyway:
* the error handling in 3.0.3 is exactly the same as it was in v2.3.2, so once you switch to using the secret service (either sync or async) things will work the same as they did for you in v2.3.2.

Thanks for using keyring and contributing!

Yeah I found it out :) - thanks for the confirmation!


Create a footer white-9

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Footer/footer-white9.html.
If you need to use any icon please use it from Hero Icons
Good luck.

@DarioCostaAlves go ahead


Cannot build the Docker image

When I just check out the source and do a simple docker build, after a lengthy compilation I get:
npm ERR! Linux 3.19.0-39-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.2.0
npm ERR! npm  v3.3.12
npm ERR! path /app/node_modules/nodegit/node_modules/amdefine
npm ERR! code EXDEV
npm ERR! errno -18
npm ERR! syscall rename

npm ERR! EXDEV: cross-device link not permitted, rename '/app/node_modules/nodegit/node_modules/amdefine' -> '/app/node_modules/amdefine'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /app/npm-debug.log

I am using the official node image because the one from Google is deprecated.
It fails at step 9: RUN npm install -g bower && npm install && bower --allow-root install

I believe that npm install's --no-bin-links argument needs to be provided so that the ./node_modules/.bin/ symlink is not created.
I get this error all the time from npm inside Docker on some machines.
Side effects:
The main downside to it is since the .bin symlink is avoided, if you need to use it you gotta manually go to it. For example with the jasmine testing framework ./node_modules/.bin/jasmine becomes ./node_modules/jasmine/bin/jasmine
Further reading:

npm fails in vagrant on windows
generic vmware on windows
docker-machine on osx

I hit this issue yesterday and I think that you can get around it by creating a symlink of your ./node_modules directory to an area outside of your shared folders, i.e. mkdir ~/tmp_node_modules && ln -s ~/tmp_node_modules ./node_modules, and then running npm install.
I created a small command line tool called sympm that automates those steps and acts as a replacement for npm install (without any arguments, of course) when inside of a virtual machine. You don't need to install with flags like --no-bin-links; everything should behave correctly.
Maybe it'll be helpful to somebody here.

Try my fork - improved Dockerfile
https://github.com/ryanshawty/GitLab-Pages

If others find @ezekg works for them, I will merge Pull Request #33. Let me know. Thanks!

I think you mean @ryanshawty's solution, mine was the npm tool above his fork. 👌

@Glavin001 @rabejens this issue can be closed.

Thanks!


[feature request] overall timers

with instance timers we should also have overall timers that start the moment someone comes online to see there overall time online that keeps counting even after instance switching

Added with: https://github.com/pypy-vrc/VRCX/commit/34a3b2518b195d38cfe358daf167787b1c239872


Expand TxStatus to include rejected transactions

Description
Currently we're not able to enable rejected tx tracking until we make a distinction between transactions that are rejected because they're incorrect and will never be accepted vs transactions that are rejected but can be accepted in the future.

This is an edge case involving checkTx accepting a tx and RecheckTx rejecting the tx


Fix assert_xydata() incorrectly failing on floating point numbers

assert_xydata() is incorrectly failing when comparing floating point numbers with slight inconsistencies due to floating point arithmetic.
We should fix this issue.

https://github.com/earthlab/matplotcheck/pull/143 <- also implemented here.


Cuchillo means knife, Tenedor means Fork.

https://github.com/go-gitea/gitea/blob/b5b39a56ad9efc09d7e830f764a40ba39a76066c/options/locale/locale_es-ES.ini#L353
I think it looks a bit unproffesional to show this translation but I don't know how to change it as translation comes from Crowdin.
Fork word should not be translated by the way, else no spanish speaker developer will understand.

Update it on crowdin: https://crowdin.com/project/gitea


Rust 1.62 (MSVC 64-bit)  update not reflected

Brief description of your issue
winget upgrade --all or winget install rustlang.rust.msvc installed new version of Rust, but winget cannot recognize it.
Rust 1.62 (MSVC 64-bit)                   Rustlang.Rust.MSVC                    <IP_ADDRESS>         1.63.0           winget

Steps to reproduce
winget upgrade --all or winget install rustlang.rust.msvc
Expected behavior
New version of rust is installed and recognized.
Actual behavior
New version of rust is installed but not recognized.
Environment
Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.856
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0

In "Control Panel", there are two version of Rust.
Manually uninstall the old one resolve the problem.
Perhaps winget did not clean the old one before installing the new one?