text:
missing sensors

Hi
I miss many Sensors.
I have 127 Entitys (most switches like GCODE etc.) but only 3 sensors:

My Sensor (? i think Filament Runout Sensor)
My_cam0 (ok)
Thumbnail (ok)
Board MKS SKIPR (Armbian)
Can anyone help?

can you provide logs please

where can i find log-file?

https://moonraker-home-assistant.readthedocs.io/en/stable/support/logs.html#go-full-debug-log

Sorry. too many privacy.
But here error from log:
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:361
Integration: Sensor (documentation, issues)
First occurred: 18:11:47 (1 occurrences)
Last logged: 18:11:47
Error while setting up moonraker platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/moonraker/sensor.py", line 350, in async_setup_entry
await async_setup_basic_sensor(coordinator, entry, async_add_entities)
File "/config/custom_components/moonraker/sensor.py", line 359, in async_setup_basic_sensor
async_add_entities([MoonrakerSensor(coordinator, entry, desc) for desc in SENSORS])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/moonraker/sensor.py", line 359, in
async_add_entities([MoonrakerSensor(coordinator, entry, desc) for desc in SENSORS])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/moonraker/sensor.py", line 575, in init
self._attr_native_value = description.value_fn(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/moonraker/sensor.py", line 123, in
value_fn=lambda sensor: float(
^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'

I have 2 printer with Klipper in my HA. My QIDI Printer show all sensors...

You seems to be missing a sensor (bed temperature/target) that we expect is always present.
Now I realize that sensor may not be there if you don't have a heated bed.

can you confirm wether or not you have a heated bed.
it would also help if you would share a bit more of the log. (you can send it to me via slack, if you prefer) I need to see the API call response from your printer to validate what data is missing that we are expecting

my printer is a Sapphire Max with heated bed. All works fine.
home-assistant_2023-12-30T18-02-09.903Z.txt

my query from
http://192.168.178.55:7125/printer/objects/query?heater_bed&extruder&print_stats&toolhead&display_status&virtual_sdcard&bme280 enclosure_fan&temperature_sensor Raspberry
{     "result": {         "eventtime": 7465.608195809,         "status": {             "heater_bed": {                 "temperature": 19.03,                 "target": 0,                 "power": 0             },             "extruder": {                 "temperature": 20.15,                 "target": 0,                 "power": 0,                 "can_extrude": false,                 "pressure_advance": 0,                 "smooth_time": 0.15,                 "motion_queue": null             },             "print_stats": {                 "filename": "",                 "total_duration": 0,                 "print_duration": 0,                 "filament_used": 0,                 "state": "standby",                 "message": "",                 "info": {                     "total_layer": null,                     "current_layer": null                 }             },             "toolhead": {                 "homed_axes": "xyz",                 "axis_minimum": [                     -4,                     0,                     0,                     0                 ],                 "axis_maximum": [                     310,                     307,                     350,                     0                 ],                 "print_time": 7091.866435244047,                 "stalls": 0,                 "estimated_print_time": 7449.05480572619,                 "extruder": "extruder",                 "position": [                     164.675,                     163.78,                     50.4,                     149.58350999999968                 ],                 "max_velocity": 500,                 "max_accel": 500,                 "max_accel_to_decel": 250,                 "square_corner_velocity": 2             },             "display_status": {                 "progress": 0,                 "message": null             },             "virtual_sdcard": {                 "file_path": null,                 "progress": 0,                 "is_active": false,                 "file_position": 0,                 "file_size": 0             },             "bme280 enclosure_fan": {},             "temperature_sensor Raspberry": {}         }     } }

home-assistant_2023-12-30T18-38-26.201Z.txt
Only one Printer (Sapphire with MKS SKIPR board)

Hey @rt1970 what is you comfort level with GIT?
I have a branch you could test in your setup to see if it works
option 1, checkout missing_float_data
option 2, replace the content of custom_components/moonraker/sensor.py
by this file

merge in main branch


text:
Strange rendering in numpy2volume2  example

Hi, when I run the numpy2volume2 example, I would expect the shapes to have relatively smooth surfaces, instead I get these odd stripes. I would appreciate an explanation and suggestion if it is possible to get a more uniform color that is just directly from the color array?
Stationary

Rotating with mouse

You can play with different modes of visualisation, have you tried
vol.mode(1)
The default is 0 which adds some reflection effect which for simple volumes like the one above is not ideal.

That is better, but is there anywhere to retain the edges?

The thing is that there are no "edges"! this is a volumetric dataset so the edges would be the isosurfaces at a specific set of values (not lines).

source: gharchive/issue

authors: LindyBalboa marcomusy

repo: marcomusy/vedo

license: MIT

license_type: permissive

license_source: github-api


text:
Add maestro to CI

Task/Issue URL: https://app.asana.com/0/488551667048375/1202846016452961/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2   👈

This comment was auto-generated by Graphite.

source: gharchive/pull-request

repo: marcosholgado/Android


text:
Why do u can render a Object in v-for [mdTabs].

I recently started learning vue, I tried to component of the time, I found no way to use v-for the rendering of an Object data, I found your mdTabs components can be done, this is amazing, I checked the information and Read the source code are not the result, I would like to ask about ~
file: src/mdTabs/mdTabs.vue

i try something like function:registerTab,  first time it's empty, after the children render, the Object data will be fill,  but it can't work. Q _Q

I didn't understand what you're asking. Do you want to create a component aside vue-material? Or do you want to implement mdTabs dynamically with an object as a source?

@marcosmoura  yeah, i want to implement mdTabs dynamically with an object as a source.

You can have something like that:
<md-tabs>
  <md-tab v-for="tab in tabs" :md-label="tab.label">
    {{ tab.content }}
  </md-tab>
</md-tabs>

tabs: [
  {
    label: 'Phone',
    content: 'Totam dolorum temporibus cumque nulla praesentium, aliquam earum quas rerum ab blanditiis provident.'
  },
  {
    label: 'Favorites',
    content: 'Maiores consequuntur magnam, error possimus, non qui sed modi iusto sunt.'
  },
  {
    label: 'Near me',
    content: 'Tempore dignissimos veniam iure minus, quidem, est tenetur mollitia similique aspernatur velit.'
  }
]

Please let me know if this works for you.
Thanks.

thanks~ it can work for me.

But I read your source code, I would like to know is that in my component, how can I let my components like you, let an empty Object after adding the content update view, like your components.

your object can work v-for after tab's data adding.

my components also adding data in second time. but my button can't be rendered. 😢

Well. This is pretty much Vue.js logic here. There is no additional secret to make this object for being rendered. Please notice that this do not have any relation with Vue Material.
This object below will work exactly like the last example that I gave to you.
tabs: {
  phone: {
    label: 'Phone',
    content: 'Totam dolorum temporibus cumque nulla praesentium, aliquam earum quas rerum ab blanditiis provident.'
  },
  favorites: {
    label: 'Favorites',
    content: 'Maiores consequuntur magnam, error possimus, non qui sed modi iusto sunt.'
  },
  near_me: {
    label: 'Near me',
    content: 'Tempore dignissimos veniam iure minus, quidem, est tenetur mollitia similique aspernatur velit.'
  }
}

Please let me know if this works for you.
Thanks.

i try it, your last example can work for me. maybe my code have some unknow error, i think it by myself . thank you very much, vue-material is great! 👍

authors: ChenZerong marcosmoura

repo: marcosmoura/vue-material

license: mit

license_source: bigquery


text:
Getting 400 response

Thanks for this project, it seems perfect for my needs! Unfortunately I'm getting a 400 response when I attempt to sync. Tested both the universal and amd MacOS releases.

Hey there,
First off, thanks for giving October a spin. There isn't currently any logging being saved so I have no way to know (on my end) what went wrong here but I'll release an update shortly so you can either have a look for yourself or share the logs with me so I can try to see what's up.
Thanks!

Hey @jasondemeter,
I've just released v0.9.2 which puts some proper logging in the app and will save them to a log file.
If you can upgrade and then run through attempting an upload again, it'll save the response from Readwise to the log file which you can upload here.
You can find the location of the log files here. Feel free to reach out if you need some pointers on how to navigate to those files though.
The logs don't contain any sensitive information (eg; Readwise token) but if you prefer to not share them publically, feel free to forward them to october@utf9k.net and I'll get back to you shortly.
Thankfully I'm also in the Readwise Discord so if needed, I can bug the devs to see what's up with the API but odds are it'll be something to do with the bookmarks being parsed being malformed or something.

Hi Marcus,
I've sent over the log file. Each one of my highlights got a Bookmark has no source title so skipping to next item error message, thus no payload was sent to the Readwise API. I just got my Libra 2 so I have only 43 highlights across 2 books, both of which were side-loaded with Calibre. I think the fact that they're side-loaded may be part of the issue here. Let me know if there is any other experimentation you'd like me to do — I'll get back quicker next time!
Thanks!

@jasondemeter Ah, thanks for sending that through!
I personally use sideloaded books myself and it's what October is primarily developed against. That said, I use Calibre to add metadata to items before sending them over to my Kobo.
What I can do in this case is just set the title to be the epub name so eg; Vagabonding - Rolf Potts.epub and then you can edit it in Readwise if you prefer.
The bare minimum needed really is just a highlight and a title though. I'll see about pushing an update shortly and thanks again for the log file 🙂

Hey @jasondemeter,
I've just released a new version of October that should allow you to upload items now. In short, if no title is present, October will use the filename instead. If that somehow doesn't work (it should be impossible...), it'll just send the highlights off with no title. Readwise will then create a book simply called "Quotes".
Thanks again for bringing this issue to my attention and let me know how you get on with the update :)

Oh interesting? 🤔 Any chance you could send me the epub file so I can see about recreating it? I don't imagine it's specific to the file. It did occur to me that all of my books are actually kepubs, using the kobo epub plugin.
While I don't know the specifics on what differs, perhaps that makes a difference in how metadata is loaded into the Kobo database?
Another possible fallback could be trying to extract the metadata from the epub itself. Given they're just zipped up HTML, it shouldn't be too expensive to poke inside and look for a metadata title tag

Ah and thanks for pointing out the oversight in the About section 😅

Anyway, I'll close this issue for now but feel free to reply here. I've also captured the topics mentioned as standalone tasks.

authors: jasondemeter marcus-crane

repo: marcus-crane/october


text:
Rename fallback_to_referer

Possible names:

enable_referer_guard
allow_referer
use_referer_header

Naming fits better to the rest of the naming: allow_, allowed_, enable_.

There is no reason to rename fallback_to_referer since fallback describes the procedure quite well.


text:
in VM detail if you have no disks, the (hide)/(show) button is still there and is clickable

It would be better to have "no disks" there

Fixed by: https://github.com/matobet/ovirt-ui-components/pull/27

authors: jelkosz mareklibra

repo: mareklibra/userportal


text:
Rendering environment error

While testing the garment simulation, I encountered an error when rendering the garment garment_specification.json.
 File "/data/lsq/GarmentCode/pygarment/meshgen/render/pythonrender.py", line 197, in render_images
    render(pyrender_garm_mesh, pyrender_body_mesh, side, paths, render_props)
  File "/data/lsq/GarmentCode/pygarment/meshgen/render/pythonrender.py", line 155, in render
    color, _ = renderer.render(scene, flags=pyrender.RenderFlags.RGBA)
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/pyrender/offscreen.py", line 104, in render
    self._renderer.render(scene, flags, seg_node_map)
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/pyrender/renderer.py", line 125, in render
    self._update_context(scene, flags)
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/pyrender/renderer.py", line 755, in _update_context
    texture._add_to_context()
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/pyrender/texture.py", line 197, in _add_to_context
    glTexImage2D(
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/OpenGL/latebind.py", line 45, in __call__
    return self._finalCall( *args, **named )
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/OpenGL/wrapper.py", line 885, in wrapperCall
    raise err
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/OpenGL/wrapper.py", line 878, in wrapperCall
    result = wrappedOperation( *cArguments )
  File "/home/liushengqi/miniconda3/envs/torch2/lib/python3.10/site-packages/OpenGL/error.py", line 228, in glCheckError
    raise GLError(
OpenGL.error.GLError: GLError(
        err = 1281,
        description = b'invalid value',
        baseOperation = glTexImage2D,
        pyArgs = (
                GL_TEXTURE_2D,
                0,
                GL_RGBA,
                9416,
                7618,
                0,
                GL_RGBA,
                GL_UNSIGNED_BYTE,
                array([ 51,  51,  51, ...,  83,  84, 255], dtype=uint8),
        ),
        cArgs = (
                GL_TEXTURE_2D,
                0,
                GL_RGBA,
                9416,
                7618,
                0,
                GL_RGBA,
                GL_UNSIGNED_BYTE,
                array([ 51,  51,  51, ...,  83,  84, 255], dtype=uint8),
        ),
        cArguments = (
                GL_TEXTURE_2D,
                0,
                GL_RGBA,
                9416,
                7618,
                0,
                GL_RGBA,
                GL_UNSIGNED_BYTE,
                array([ 51,  51,  51, ...,  83,  84, 255], dtype=uint8),
        )
)

It appears to be an error related to the pyrender version. Could you provide any assistance with the installation of pyrender and PyOpenGL?
I am using Ubuntu 20.04.6 LTS with CUDA 11.3. My Python version is 3.10, Pyrender is at version 0.1.45, and PyOpenGL is at version 3.1.0.

Hi, sorry for delay in my replies
At first glance it seems like versions conflict
I will double check within a few days and return back to you

@LSQsjtu again, many apologies for delay, unfortunately, I have limited capacity to answer the issues in timely manner, but if you still encounter the problem, here is what I found.
Here is my setup with versions of libs which successfully render your example:
python 3.10.6
CUDA 12.5
pyrender 0.1.45
PyOpenGL 3.1.0
Pillow 10.1.0
trimesh 4.0.7
imageio 2.33.1
And, I'm using Windows as my OS. It seems like the setup is the same except for CUDA version and OS, so maybe you could try some suggestions from pyrender community:
https://github.com/mmatl/pyrender/issues/148#issuecomment-844102585
https://github.com/mmatl/pyrender/issues/86
Please, let me know if any of these help!

Thanks for your reply. It works on Windows, but is still not working on my Linux machine. The rendering error might be my environment error in my environment. Because the EGL is not working on my Linux machine, and I change to OSMesa.

Unfortunately, I've never tested this on Linux, but I might be soon
I will update this issue if any new info shows up

@LSQsjtu In Linux I had to install some non-python packages. On Ubuntu I installed the following with apt:
libgl1-mesa-dev
libgl1-mesa-glx
libgles2-mesa-dev
libegl1-mesa-dev
libglu1-mesa-dev
Does that resolve the issue for you?
Btw, not sure if there are nvidia versions of these opengl packages. From what I remember 15 years ago, the mesa packages were not nearly as accelerated as the nvidia versions. If you figure out ways to improve the sim on Linux I'd love to know!

I have tried to install these non-python packages. But the rendering error using mesa still exists.

Unfortunately, I was not able to reproduce the issue. I have installed the project on RedHat Linux, and it worked flawlessly

Thanks for your continuous assistance. I believe the main reason lies in my system configuration, so I have switched to the Windows system for simulation rendering and will close this issue. Nevertheless, thank you for your selfless help.

authors: LSQsjtu acrefoot maria-korosteleva

repo: maria-korosteleva/GarmentCode


text:
Multiple Kafka consumers for Horizontal Scalibility

Hi,
I did not see group ID in kafaka configuration. So how do I install elasticsearch-river-kafka on multiple nodes for HA and scaling purpose? Assume in AWS, I want to have two elasticsearch client nodes in two different AZs with elasticsearch-river-kafka installed, in this way, if I lose one AZ, my system is still working; on the other hand, we can scale the system just by adding mode nodes.
Could we add this configuration item just like logstash-kafka-output plugin does?
Regards,
Autumn Wang.

Dear @autumnw,
Thanks for your interest in this river plugin. Sure, feel free to add that configuration and send a pull request (basically you will need to pass the groupId as a config parameter and use that when creating a consumer). Could you please also post the link of logstash-kafka-output plugin you are referring to?
Thanks,
Mariam

Dear Mariam Hakobyan,
I am learning ELKstack for my interest.But I meet a problem about elasticsearch-river-kafka.I hope to get your help.Thank you very much.
The vesions of my ELKstack is :
Kafka vesion :0.8.2.0
Elasticsearch version :1.7.0
elasticsearch-river-kafka version :1.3.0
My problem is:
(1) I start Kafka,that is OK;
(2) I create a topic "test" in Kafka,that is OK;
(3) I create a producer of Kafka and write message,that is OK;
(4) I configurate elasticsearch-river-kafka as your document,that'return is "{"_index":"_river","_type":"kafka-river","_id":"_meta","_version":1,"created":true}",Is it OK?
the cmd is :
curl -XPUT 'localhost:9200/_river/kafka-river/_meta' -d '
{
"type" : "kafka",
"kafka" : {
"zookeeper.connect" : "localhost",
"zookeeper.connection.timeout.ms" : 10000,
"topic" : "test",
"message.type" : "json"
},
"index" : {
"index" : "kafka-index",
"type" : "status",
"bulk.size" : 100,
"concurrent.requests" : 1,
"action.type" : "index",
"flush.interval" : "12h"
},
"statsd": {
"host" : "localhost",
"prefix" : "kafka.river",
"port" : 8125,
"log.interval" : 10
}
}'
(5) I get messages from kafka-index,That is Error,that's return is "{  "error" : "IndexMissingException[[kafka-index] missing]",  "status" : 404}"
the cmd is:
curl -XGET 'localhost:9200/kafka-index/_search?pretty=1'
Thanks,
Tootwo.

authors: autumnw mariamhakobyan tootwo163


text:
fastapi_sio depends on legacy version of pydantic and fails dependency requirements

While attempting to add fastapi_sio to a prototype I get the following error from poetry:
Because no versions of fastapi-sio match >0.4.0,<0.5.0
 and fastapi-sio (0.4.0) depends on pydantic (>=1.9.0,<2.0.0), fastapi-sio (>=0.4.0,<0.5.0) requires pydantic (>=1.9.0,<2.0.0).
And because pydantic (2.6.1) depends on pydantic (2.6.1)
 and no versions of pydantic match >2.6.1,<3.0.0, fastapi-sio (>=0.4.0,<0.5.0) is incompatible with pydantic (>=2.6.1,<3.0.0).
So, because protoserver depends on both pydantic (^2.6.1) and fastapi-sio (^0.4.0), version solving failed.

If you could advise of any work arounds for this dependency snafu?

Thanks for creating the issue. The library is indeed built on pydantic v1. I'll try to migrate the library to pydantic v2 over the weekend.

Resolved with https://github.com/marianhlavac/fastapi-sio/pull/3

authors: marianhlavac pobk

repo: marianhlavac/fastapi-sio


text:
Improve bashCommand to rely on $SHELL if defined

Change bashCommand to use $SHELL if defined and if not, rely on /bin/sh as it is now before.

Fixed in 4e828cd8ecc0662e5e59f4a208255b6eab44b9e7

repo: marianopeck/OSSubprocess


text:
[emacs plugin] Support completion in nodejs-repl

I am using tern successfully in Emacs with js2-mode.
I also tried using nodejs-repl
The repl is "working" but I'm not seeing any completion candidates. I enabled tern-mode in the REPL buffer and when I try to complete I see the following in Messages:
Tern mode enabled
tern-run-query: Wrong type argument: arrayp, nil
Any ideas how to get this to work?
Thanks!

Since such a repl buffer isn't a regular JavaScript file, you'd have to write a different minor mode for it. This is outside of the scope of this repository, but it's probably not terribly hard if you reuse pieces from my tern.el.

authors: conorbev marijnh

repo: marijnh/tern


text:
Typing method 'update'

Missing typing method 'update'

Sorry, I don't use Typescript myself. PRs welcome.

authors: leanniby mariocasciaro

repo: mariocasciaro/object-path-immutable


text:
TimePoint is missing

Hello,
I am using version 1.1.0 installed via NuGet. TimePoint is missing in the following namespace ChartJs.Blazor.ChartJS.Common.Time.
Could you please check and fix it?
Thanks!
Br,
Nikolay Papunov

Do you mean TimeTuple?

I would like to create line chart with Datetime for x. I saw the sample code in the repo and there TimePoint was used. I can see the class in the repo as well but not in the NuGet. If the new method is to use TimeTuple, I am fine to use it. Could you please provide quick sample?

As mentioned in the readme

Unlike the documentation, the samples should always be up to date with the current development on master. That means, that the code you see in the samples folder on master might not actually compile on the current nuget version. To browse the samples for the latest nuget version, see the samples on the releases branch.

So here's the time line chart one.

Btw, please see #122 in regards to the samples.


text:
Create manual.yml

Experiment with actions

Test

repo: markeel/gdterm


text:
Conan 2: CMake output is not streamed

You only get to see the output once it's finished.

This is due to this in conans/util/runners.py because pipes are being used
        try:
            proc = subprocess.Popen(command, shell=shell, stdout=out, stderr=err, cwd=cwd)
        except Exception as e:
            raise ConanException("Error while running cmd\nError: %s" % (str(e)))

        proc_stdout, proc_stderr = proc.communicate()
        # If the output is piped, like user provided a StringIO or testing, the communicate
        # will capture and return something when thing finished

repo: markfinal/cruiz


text:
Error writing logs

Hi,
I'm using it since last year but few weeks ago I started to receive error message in internal NLog log file.
only write ops with an op_type of create are allowed in data streams
Any ideas what has happened?
Thanks

Sorry, that was not a NLog issue, it's completely an Elastic


text:
Not working?

Hi, I've copied the example but I can't get this to work. It doesn't smooth scroll, just jumps straight to the target element as if the plugin isn't loaded:
<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>Title</title>

        ...

                About

             Team

 About

 Team

Am I missing something?

Huh, that's odd. I'll take a look, thanks for reporting!

Hmm strange. I'm using the latest Firefox on a Mac. There are no errors in the dev console, it just doesn't smooth scroll.

Ah yeah, it works on Chrome.

OK, I'll get Firefox installed and have a look.

Works for me in Firefox... There's a setting for smooth scroll, you don't have that unchecked, right?

No idea how that got unchecked 😂. Thanks

authors: boosh markmead

repo: markmead/alpinejs-scroll-to


text:
Update index.html

Hey there!
Here's the summary of what i have updated your index.html document:
Language Attribute: Added lang="en" to the  tag.
Meta Tags: Added keywords and author meta tags.
Favicon: Included a link to a favicon.
Preconnect: Added a preconnect link to speed up resource loading.
Link Title Attribute: Added a title attribute to the link inside the  tag.
Loading Message: Enhanced the loading message for better user engagement.
These changes i have made, will improve the SEO, accessibility, and performance of your page.
hope you like it!👍

You can read more about open source contributions here: Make Your First Open Source Contribution

authors: blinkwilly markodenic

repo: markodenic/web-development-resources


text:
Investigate the occational crashes

Investigate the occational spontaneous crashes, so far only reported on Windows, usually after a long time of running the program.

https://github.com/learningsimulator/learningsimulator/issues/163

repo: markusrobertjonsson/learningsimulator


text:
Gitlab Wiki Usage

File names should not contain spaces. This is fixed in 81d592510946c68ef069e1cbdd7466680d55ec7b.
TODO: For the Wiki a link syntax [link](<basename.md>) does not get the proper MIME type assigned by the server. .md needs to be removed. Together with above change such links are served correctly: [link](basename)

Assignees: @prismv
Labels:
Milestone:

fixed in release 0.4.2

authors: markusstraub prismv

repo: markusstraub/mdsplit


text:
offered update for software item already update to level

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.2 beta 3
Windows version, edition, and architecture
windows 11pro 26100.2033
Describe your issue
driver booter 12.0.0.356 is already installed.
yet app detects 12.0.0 and offers 12.0.0.356
Steps to reproduce the issue
this same issue on 2 other computers
UniGetUI Log
[2024-10-12 12:39:03]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.2-beta3
[2024-10-12 12:39:03]
[2024-10-12 12:39:03] Version Code:  3.1193
[2024-10-12 12:39:03] Encoding Code Page set to 437
[2024-10-12 12:39:04] Using bundled GSudo at C:\Users\Robert\AppData\Local\Programs\UniGetUI\Assets\Utilities\gsudo.exe
[2024-10-12 12:39:04] Loaded language locale: en
[2024-10-12 12:39:05] Randomly-generated background API auth token for the current session: efli1wn3yj78pvl587angyptg2k7v497s0hyzbjh0sl2zzmztwkurcdbor3jrxoj
[2024-10-12 12:39:05] Api running on http://localhost:7058
[2024-10-12 12:39:05] Lang files were updated successfully from GitHub
[2024-10-12 12:39:05] Downloaded new icons and screenshots successfully!
[2024-10-12 12:39:05] UniGetUI is up to date
[2024-10-12 12:39:06] Command cargo was not found on the system
[2024-10-12 12:39:06] Command npm was not found on the system
[2024-10-12 12:39:06] Command pwsh.exe was not found on the system
[2024-10-12 12:39:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pip
                      █ Executable path: C:\Users\Robert\AppData\Local\Microsoft\WindowsApps\python.exe
                      █ Call arguments:  -m pip
                      █ Version:
                      █
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:06] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\Robert\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments:
                      █ Version:
                      █   System WinGet CLI Version: v1.8.1911
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:07] Command scoop was not found on the system
[2024-10-12 12:39:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\Users\Robert\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments:
                      █ Version:
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:08] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version:
                      █   Name                           Value
                      █   ----                           -----
                      █   PSVersion                      5.1.26100.1882
                      █   PSEdition                      Desktop
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                      █   BuildVersion                   10.0.26100.1882
                      █   CLRVersion                     4.0.30319.42000
                      █   WSManStackVersion              3.0
                      █   PSRemotingProtocolVersion      2.3
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-12 12:39:08] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2024-10-12 12:39:08] Found 0 installed packages from Pip
[2024-10-12 12:39:08] Found 0 available updates from Pip
[2024-10-12 12:39:09] Found 0 installed packages from Chocolatey
[2024-10-12 12:39:10] Found 0 available updates from Chocolatey
[2024-10-12 12:39:10] Found 0 installed packages from PowerShell
[2024-10-12 12:39:10] Found 0 available updates from PowerShell
[2024-10-12 12:39:12] Found 1 available updates from Winget
[2024-10-12 12:39:12] Ignored updates database was never loaded, so it is going to be loaded now
[2024-10-12 12:39:12] Found 141 installed packages from Winget
[2024-10-12 13:00:07] Found 0 installed packages from Pip
[2024-10-12 13:00:08] Found 0 installed packages from Chocolatey
[2024-10-12 13:00:08] Found 141 installed packages from Winget
[2024-10-12 13:00:09] Found 0 installed packages from PowerShell
[2024-10-12 13:04:15] Found 0 installed packages from Pip
[2024-10-12 13:04:16] Found 0 installed packages from Chocolatey
[2024-10-12 13:04:16] Found 141 installed packages from Winget
[2024-10-12 13:04:16] Found 0 installed packages from PowerShell

Package Managers Logs
Manager WinGet with version:
System WinGet CLI Version: v1.8.1911
Using Native WinGet helper (COM Api)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 2024-10-12 12:39:06
Process end time:   2024-10-12 12:39:06

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Robert\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2024-10-12 12:39:08
Process end time:   2024-10-12 12:39:11

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024-10-12 12:39:08
Process end time:   2024-10-12 12:39:12

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 2024-10-12 12:39:09
Process end time:   2024-10-12 12:39:09

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2024-10-12 12:39:11
Process end time:   2024-10-12 12:39:12

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024-10-12 13:00:07
Process end time:   2024-10-12 13:00:08

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024-10-12 13:04:15
Process end time:   2024-10-12 13:04:16

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024-10-12 13:06:41
Process end time:   2024-10-12 13:06:42

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Relevant information
No response
Screenshots and videos

Does this happen with WinGet cli?

it shows under winget: winget source

authors: marticliment timbobit

repo: marticliment/UniGetUI


text:
Vcpkg package manager

[x] I have read the contributing guidelines, and I agree with the Code of Conduct.
[x] Have you checked that there aren't other open pull requests for the same changes?
[x] Have you tested that the committed code can be executed without errors?
[x] This PR is not composed of garbage changes used to farm GitHub activity to enter potential Crypto AirDrops.
Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. I appreciate your understanding.

This pull request is for support for the vcpkg Package Manager.
I'm sorry if the code is not good, this is my first time ever working with C#. I tried to write code in the style of all the other package managers and not touch more than I needed to.
List of Added Translations:

vcpkg ManagerProperties Description (A popular C/C++ library manager. Full of C/C++ libraries and other C/C++-related utilities
Contains: C/C++ libraries and related utilities)
InvalidOperationException value (Cannot update vcpkg port files as requested: git was not installed or the VCPKG_ROOT environment variable / the custom vcpkg root setting were not set)
Automatic Portfile Update Setting Title (Update vcpkg's Git portfiles automatically (requires Git installed))
Custom vcpkg Root Setting Title (Custom vcpkg root)

Manager Capabilities (for the table on the home page):
Install as administrator: yes (for vcpkg roots in an admin-locked directory)
Skip integrity checks: no (I don't think vcpkg has this capability, or if it has integrity checks to skip)
Interactive installation: no (it's being built from the command-line; there's no interactivity to show)
Install Older Versions: no (vcpkg doesn't support this on a global scale, only for projects with vcpkg.json control files)
Install a PreRelease Version: no (vcpkg doesn't have pre-release versions)
Install a Custom Architecture: not directly supported but can be easily achieved (via using a different triplet / source)
Install on a Custom Scope: no (everything just gets installed to the vcpkg directory)
Custom Install Location: no / sort of not directly supported but can be easily achieved? (everything just gets installed to the vcpkg directory; you can change which vcpkg directory via the "Custom vcpkg root" setting)
Custom Package Sources: not directly supported but can be easily achieved (it will automatically detect custom triplet / source CMake scripts dropped into %VCPKG_ROOT%\triplets or %VCPKG_ROOT%\triplets\community)
Other Potentially Unresolved Things

I have added a colored icon, but as src/UniGetUI.PackageEngine.Managers.Vcpkg/Vcpkg.cs:65 states, discussion #2826 brought me to believe that an outlined icon must be added by the maintainers, so if you care enough that may be one thing that needs to happen.
As I mentioned in #2146, the way I have package discovery working is it simply returns a package for all sources as I wasn't sure how better to implement this.
I would recommend probably squash-merging this if you weren't going to already, as I pretty much just edited the file for package manager-specific settings and the files for the package manager. Unfortunately, I accidentally forgot to commit some changes for some commits, so not all commits compile as requested in the Contributing Guidelines.

Closes #2146

Closing this pull request as I have one more thing to implement (as proposed in #2146).


text:
[FEATURE REQUEST] Import/Export capability of apps

I saw that there is an open issue already for backing up a list of apps every X time with #786, but I would like to be more specific in this feature request and see if it aligns or not with that request.
I would like to have the following backup (export) / restore (import) capabilities with WingetUI as follows:

Export - be able to export all the currently installed apps to a file with all the details that WingetUI knows such as: Name, package ID, Installed Version, Soruce and etc.).
Import - be able to import the apps from point 1 with a granular selection of which apps to install or not based on parameters such as:

Only specific source(s).
Specific version of a given package and not always the latest that is currently available.

Subsequent imports of the same app list should handle the current state of the installations and ask for each package what the user wants to do:

For already installed package: Revert to the specific version from the app list, update it to latest or do nothing.
For apps that are not installed: Install the app with the specific version from the app list, install the latest version or do nothing.

Hope it was clear enough 🙂

could you please repost this comment on the original issue?
it is to not have duplicate trackers for a same feature request.
Thanks!

could you please repost this comment on the original issue?
it is to not have duplicate trackers for a same feature request.
Thanks!

I don't think they are the same, this is why I opened this new one.
I think #786 needs to be migrated to this one as this one is more detailed and not the other way.
What do you think?
Posting here the additional feature from #786:
Backup package list on a file every x time.

Feature number 1 won't be implemented for the time being.
Feature number 2 will come in the next release:

repo: marticliment/WingetUI


text:
Problème de pagination + filtrage (retour label)

Les infos de filtrage ne sont pas conservées au changement de page.

C'est à ça que sert la session !

repo: martinkirch/disco


text:
iis module not working on windows server 2016

I tried installing wmi_exporter and added the iis module to the list while installing the exporter as mentioned in the documentation.
Version used: 0.3.4
Prometheus is giving an error

expected text in HELP, got "INVALID"

Hi @cw-pratik,
Sorry about that. Could you try accessing the exporter directly in the browser and see what it outputs? It sounds like there's some error reported, rather than metrics.

@carlpett I tried to look at the output. But could not find any error as such.
Have attached the output too.
iis-output.txt

Ok, the output looks fine, so probably not something directly tied to the exporter. Are you using some load balancer or proxy solution between your Prometheus instance and exporters?

No there is no proxy or load balancer. I tried doing "curl" on the endpoint and am able to get the output.

I was using the master branch of prometheus. Moved to the stable release branch and it started working.
Sorry for the trouble.

authors: carlpett cw-pratik


text:
Update sbt-sonatype to 3.9.14

Updates org.xerial.sbt:sbt-sonatype from 3.9.2 to 3.9.14.
GitHub Release Notes - Release Notes
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #130.

repo: martinpallmann/gchat


text:
Role . Team repetition

团队的管理员和成员分别关联同一角色，查看角色使用者，同一团队会出现两次，应出现一次就可

resolved


text:
Message management - Send messages, after the button is selected, remove the shadow

按钮选中后，没有阴影；
实际结果：

预期结果：

选择收件人的时候，也不显示阴影；

resolved


text:
Channel . New channel, input box title blocked

新增渠道，输入框的标题被遮挡

resolved


text:
🛑 POH events bot from render hosting is down

In 5792c4f, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 1abd823.

repo: masch/poh-events-uptime


text:
🛑 POH events bot from render hosting is down

In e0580ea, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 0f2c807.


text:
Improve doc

At least the following action needs to be covered:

[ ] Add a readme

List all functions with short intro to each function (JSdoc generated ?)

Improve sendMessage documentation

[x] activate a stricter linter for jsdoc in all of our code

[ ] deploy the html generated website to a static hosting provider into the CI, for example netlify, under a subdomain of massa.net.

This may be of interest to generate markdown from JSDoc :
https://www.npmjs.com/package/jsdoc-to-markdown

If it's validated JSDOC generated i take the follow

At this moment , i will just try to ship a poc of :
JSDOC generated using jsdoc-to-markdown and uploaded on netlify to see if we have something interesting
Then in second time focus on update the doc to fit with the format

As we are using Assembly Script this is the lists of package which are not working with AS :
https://www.npmjs.com/package/jsdoc-to-markdown : KO only working with Javascript
https://github.com/SoftwareBrothers/better-docs :  KO Working with Typescript but need a ts.config file and when you give him. Big problems with compilators, normal we use AS
https://stackoverflow.com/questions/51720894/is-there-any-way-to-use-jsdoc-with-ts-files-maybe-transpile-with-babel-the : KO The three method explained here doesn't work too because of AS.
I really don't understand why Compilation is involved in all of this stuffs , instead of just read the jsdoc and display it as a markdown but i won't surrend ! I Think i need a simpler plugins to manage this.
I'm actually trying to make it with original markdown system from JsDoc configured with typescript  but it's actually not working

https://github.com/jaydenseric/jsdoc-md : KO don't recognize any of our JSdoc on .Ts files , (in case our jsdoc was broken I'm using their example and it didn't work too )

We discussed about how Near is using it because they use AS too :
Near don't use JSDOC and don't generate their markdown and docs throught the code.
We discussed about ask on Assembly Script Discord if they have solutions i readed lots of topics about JSDOC
and the main contributors of AS are doing lobbying against the pr related to JSDoc in AS .
Now i will try to ask personnaly on AS discord and to throw the bottle to the sea and try to find a stupid package which job is only reading the doc and give me a markdown or html or something like this

Looking on this thread : https://www.reddit.com/r/typescript/comments/vy1ew0/recommend_a_ts_documentation_generator/
To find a solution :
https://github.com/ui-js/grok : KO , using TypeDoc. But could be our answer and the result is great :'(

https://discord.com/channels/721472913886281818/1057250855595806761 Link of the Bottle

This is to have a trace about the status and discussion we had about this subject with @longgamma-massa
I have done lots of tests of different libraries , read lots of PR and topics on discord and reddit, then i have put a question on discord to ask if someone is doing what we want.
At this moment no one on the web is doing the first phase of the process which is :
Generate (markdown or html) from JsDoc commentary in Assembly Script files.
And the critical part is the Assembly Script files because it's not hard to generate jsdoc commentary from Javascript or Typescript but we are using Assembly Script and there is a small percentage of devs who are interested in Assembly Script so there is no tools to doing what we want.
But we can fork an external lib and derive the type of code they can use , to maybe fit with Assembly Script.
After a call with @Thykof  we have identified an hypothetical way to solve the problem.
Indeed the technical problem comes from the parser of the tools we want to use. The parser is the reader of the code
But we have seen another tools doing the same thing we want to do : Prettier which is a popular tool is not working with Assembly Script and a guy did a fork of prettier before prettier receive the code ( in assembly script) and read it he change the format to fit with what is needed
But we have two problems :
a) First , this is really deep we are forking a library using another fork with the faith of this will be the right way to do it .
b) It may take some times. for sure we won't have result in two days. There is lots of possible wrong direction we can go in and we are not sure of what we are doing. Maybe the problem is more deeper than the parser . This libraries are not small libraries
So this is two way to see this :

Take the time to work on this and try to make it work
or
See if we really need this in the future , and do it in another time

Maybe we can ask a point of view from @gregLibert  what do you think about it .
I have lots of informations and libraries which can be good to use but we need to work on them for sure
my opinion : At this moment i spent two days to test and have informations on Jsdoc and Typedoc and things like that i think we can stop the task. Focus on have a good Readme made manually , improve the linter of our Jsdoc and talk about if we really need this kind of process at this stage of the company (for sure it should be a good process to have but the time to invest can be huge and the tunnel effect can be big too)

To test it:

go in the PR branch
execute npm run doc
open the index.html file located in the docs/documentation/html/ directory
start testing

To test it:

go in the PR branch
execute npm run doc
open the index.html file located in the docs/documentation/html/ directory
start testing

Seems good for start. If we can modify the font style to Massa's it would be great. The rest I checked and seems ok.

documentation linting and generation are well set up, now we need more specification on the output of the doc: where to put the html generated website? @longgamma-massa  @gregLibert

documentation linting and generation are well set up, now we need more specification on the output of the doc: where to put the html generated website? @longgamma-massa @gregLibert

What about using Github pages ?

Github Pages can be a good solution.
We just need to create a repo to host our release  docs package for each repo
Then at each update on main the website should be updated to
So our process can be :
a) at each Milestone or Release on the project, launch process generate docs website
b) push to main release doc repo, the docs website last release
c) Website should be updated
Replicate this on each repo with a doc hosted needed

keep in mind that Github page will generate a website at https://massalabs.github.io so the scope will be Massa as a whole, not only sc development. GitHub Page host one website per account or per organization.
Note that it is possible to add a CNAME to use for example domain sc-docs.massa.net (https://stackoverflow.com/a/66354977/5903242).
In addition, I am not fan of committing generated code. With Github page, I haven't seen yet another way than committing the website source code. The website source code will be generated by the repo massa-as-sdk CI. We need to find a way that the CI publish into our new repos sc-docs, this could be done by a script doing a git commit and git push into it.
But how to handle multiple repos (massa-as-sdk, as-types...) pushing into one repo (massalabs.github.io)? We will need an index.html that list every npm packages we have and one folder per packages. Then every repo will have a CI that update its folder.
Example for repo as and package as-types:

index.htm contains a list: as-types, as-proba, massa-as-sdk
as CI generate doc for as-types and as-proba
the CI of as-types:

generate html documentation
clone the repo sc-docs, move the generated html doc into the right folder: /as-types
git push origin main
this will update the github page hosting

To conclude, I would rather look for a solution to host our assembly script smart-contract documentation into an external hosting provider and having a CI in each repo that

genreate the documentation in html format
deploy/publish it into the hosting provider (netlify for example)
serve it at massa-as-sdk-doc.massa.net and as-types-docs.massa.net for instance.

@Thykof do we have enough votes?

Yes we do, I have update the proposal 3

List of all folder in our server:
/var/wwww/type-doc/massa-as-sdk
/var/wwww/type-doc/massa-as-types
/var/wwww/type-doc/massa-as-proba
/var/wwww/type-doc/massa-web3
/var/wwww/type-doc/sc-deployer
/var/wwww/type-docs/smart-contracts
/var/wwww/type-doc/as-transformer

doc is now hosted at https://as-sdk.docs.massa.net/

@Thykof This issue is closed but in CR. Should I check anything?

This issue is linked to an opened https://github.com/massalabs/massa-as-sdk/pull/134
so I reopen this issue and keep it in code review

@Thykof what about the second checkbox 'improve sendmessage'? Is it also done?

No, I am asking core team
cc @AurelienFT

Here is the explanation for sendMessage:
The goal of send message is to send a message (so smart) in the future that will be executed as soon as possible after the start period but not after the end period. This message allow you to make executions in the future and they are executed deterministically on all nodes. The execution is made "as soon as possible" because there is a priority on messages and a limit of messages possibly executed on each slot so if you send a low amount of fee then your message could possibly not executed directly at the first slot of the slot period. And if all of the slots of your period have a huge load of messages with more fee than you then it's possible that your message is never executed.

Also there is an optional filter on message that add a new condition on the trigger instead of : "as soon as possible in this range" it becomes "as soon as possible after this field has been update in the state in this range".
So you can pass as parameter an address and also an optional datastore key.
If you pass only an address then the message will be executed only after : "we are in the range and a change has happens during this range on the address" (possibly balance etc). If you add a datastore key in the condition : "we are in the range and a change has happens during this range on the address at that datastore key".
Without condition it's just : "we are in the range"

authors: 0xMazout ASAPSegfault Thykof gregLibert longgamma-massa

repo: massalabs/massa-as-sdk


text:
🛑 Iran 1 - VIP 1 is down

In 3922f50, Iran 1 - VIP 1 ($VIP1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 1 - VIP 1 is back up in b7751fa after 7 minutes.


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In 5a67779, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in 84b6c8f.


text:
🛑 RESTREAM-IR-14-Afranet-4 is down

In eeaa0f2, RESTREAM-IR-14-Afranet-4 ($IR_14) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-14-Afranet-4 is back up in 500a6a2.


text:
🛑 RESTREAM-IR-13-Afranet-3 is down

In 462a03a, RESTREAM-IR-13-Afranet-3 ($IR_13) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-13-Afranet-3 is back up in f283fc8.


text:
🛑 RESTREAM-IR-13-Afranet-3 is down

In 0cb5537, RESTREAM-IR-13-Afranet-3 ($IR_13) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-13-Afranet-3 is back up in 0c0cd67.


text:
🛑 RESTREAM-IR-12-ZirSakht-3 is down

In e9111c1, RESTREAM-IR-12-ZirSakht-3 ($IR_12) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-12-ZirSakht-3 is back up in 1db411c.


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In b48b83c, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in b606f39.


text:
🛑 Iran 10 - Zirsakht 3 is down

In 06f1c0b, Iran 10 - Zirsakht 3 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 9c5e705.


text:
🛑 RESTREAM-IR-14-Afranet-4 is down

In 4c5e29c, RESTREAM-IR-14-Afranet-4 ($IR_14) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-14-Afranet-4 is back up in 751e7c5.


text:
🛑 Iran 10 - Zirsakht 3 is down

In 8a0dacb, Iran 10 - Zirsakht 3 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 32271cf.


text:
🛑 Iran 10 - Zirsakht 3 is down

In 767ce2b, Iran 10 - Zirsakht 3 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 2222081.


text:
🛑 Iran 1 - VIP 1 is down

In f982d4c, Iran 1 - VIP 1 ($VIP1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 1 - VIP 1 is back up in 1722b0c after 20 minutes.


text:
fix: fixed for the issue (#125)

1. Description

1.1. Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples.

1.2. Breaking Change

[x] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

1.3. Related Issues

bors merge

repo: mastodon-dart/mastodon-api


text:
Add catalog browser into the app

Would force me to start an actual application shell versus a single _MainApp widget.
Also starts making the app useful, especially if we can do offline caching of the image data - it becomes a completely offline card browser, which in itself is useful.

Done @ HEAD.

repo: matanlurey/superlaser


text:
devops_todo_list_docker_volumes

INSTRUCTIONS
DockerHub todoapp image
DockerHub mysql-local image
Pull the mysql-local image
docker pull valeriiderkach/mysql-local:1.0.0

Run
docker run -d -p 3306:3306 --name mysql-local -v mysql-local:/var/lib/mysql valeriiderkach/mysql-local:1.0.0

Pull the todoapp image
docker pull valeriiderkach/todoapp:2.0.0

Run
docker run -d -p 8081:8080 --name todoapp valeriiderkach/todoapp:2.0.0

Open app in your browser
http://localhost:8081
Working app logs

No need to add screenshot as file to PR. Will be better to add it as comment

yes, fixed


text:
Issue with new @material/textfield package [codelab]

I followed all the steps but the output was not as expected. After checking the complete project code, I found that the issue is with the version.
If I am using -
"dependencies": {
"@material/ripple": "^4.0.0",
"@material/textfield": "^4.0.0"
}
then everything is working fine. But while I was installing these packages using npm, it was giving issue. New version which is 6.0.0 ("@material/textfield": "^6.0.0") is having some issue. It is giving below error while starting -
ERROR in ./login.scss
Module build failed:
@use "./mixins";
^
@use is coming soon, but it's not supported in this version of Dart Sass.
╷
23 │ @use "./mixins";
│ ^^^^^^^^^^^^^^^
╵
node_modules/@material/textfield/mdc-text-field.scss 23:1  root stylesheet
stdin 2:9                                                  root stylesheet
in /Users/supriodutta/MyFiles/SuprioFiles/ML/Practice/test_jaya/Time_Conversion_Utility/node_modules/@material/textfield/mdc-text-field.scss (line 23, column 1)
@ multi (webpack)-dev-server/client?http://localhost:8081 ./login.scss

Please upgrade to latest Sass version to use latest Dart Sass syntax that supports @use rule.
If you're following MDC-101-web codelab which suggests @import syntax existing version of Sass should still work. You should be able to still use @import with either v4 or v6 of MDC Web.
Please follow getting started guide for full setup instructions.
We'll update our codelabs to latest version of MDC Web (v6.0.0), please follow this bug for updates.

authors: abhiomkar supriodutta


text:
'Failed to load font' error

Package
google_fonts
Description
If you ran into this error, it means that an attempt was made to fetch a font TTF file from Google Fonts' servers, but failed. For example:
Exception has occurred.
_Exception (Exception: Failed to load font with url https://fonts.gstatic.com/s/a/85fcd167f63837ebb1c310a8e83bf1d5039fbbd5a13ac4812691d52817631161.ttf: Failed host lookup: 'fonts.gstatic.com')

The most common reason is the device/emulator/simulator doesn't have internet access.

For macOS and Android, you must allow HTTP requests following these instructions
If this occurred in a test, see https://github.com/material-foundation/flutter-packages/blob/main/packages/google_fonts/example/test for how to set up things properly
Your device/emulator/simulator may not be connected to Wi-Fi or a mobile network
(Highly unlikely) The URL may be invalid, or Google Fonts may be down. Navigate to https://fonts.gstatic.com/s/a/85fcd167f63837ebb1c310a8e83bf1d5039fbbd5a13ac4812691d52817631161.ttf to verify.

Background
The default behavior for this package is to fetch (and cache) fonts from the Internet at runtime. Including chosen fonts at build time is also supported, instructions for doing this are in the README.
Still need help?
If you ran into this issue and have eliminated all possible causes listed above, please comment with all relevant information (Wi-Fi / mobile network, target device & OS, flutter version -v, etc.)

The problem is that despite "catchError" an error is logged in the Firebase console.
For example:
GoogleFonts.pendingFonts([
      GoogleFonts.soraTextTheme(),
    ]).then((value){
      debugPrint("[Theme][fetchFonts] all font fetched!");
    }, onError: (e)async{
      debugPrint("[Theme][fetchFonts] error: $e");
    }).catchError((e){
      debugPrint("[Theme][fetchFonts] catchError: $e");
    });```

Please any solution for this?

Any Fix to this , its been long since the issue is opened

Also seeing thousands of these errors thrown in sentry. Please fix

read the "solution" part of the OP's comment

The solutions listed there only help those who have no idea what has caused the errors. In my case, I already know why they are thrown.
Excerpt from the README:

HTTP fetching at runtime, ideal for development. Can also be used in production to reduce app size
Font file caching, on device file system
Font bundling in assets. Matching font files found in assets are prioritized over HTTP fetching. Useful for offline-first apps.

I wouldn't choose HTTP fetching if the document strongly recommended we avoid it, or if fetching should never fail. However, it is clearly stated that it can be used in production, and I think everyone knows that fetching fails if there is no Internet connection or the servers are down. "To reduce app size" is a very common reason we choose it over bundling if the app is not offline-first. I (and probably some others here) have opted in to use HTTP fetching, already knowing connection errors sometimes occur.
In that case, thousands of error logs appearing in an error monitoring tool are just a noise. It is possible to mark those logs as "closed" on Crashlytics to make them hidden, but I've heard that having a large number of errors affects the visibility of the app in the Play Store. (I'm not sure about the App Store and whether errors marked as closed still have a negative impact in the same way.) Shouldn't there be a way to mute such logs on the app side?  Or should I manually check the error message to exclude this particular error from the logs sent to Crashlytics?

authors: Princewil Tr736 guidezpl kaboc offline-first rockeypandit treeplate

repo: material-foundation/flutter-packages


text:
Add Dutch translation

Add dutch translation

I created a PR in your fork: ngommers/homeassistant-intex-spa#1.
After you merge that PR, mathieu-mp/homeassistant-intex-spa#32 will remain as a single PR for the functional change "Add dutch translation".
Thank you for your contribution !!!

authors: mathieu-mp ngommers

repo: mathieu-mp/homeassistant-intex-spa


text:
Offline converter only mode

Hello,
First of all thanks for great library :)
I'm one of the developers of Apache OpenMeetings https://openmeetings.apache.org/
Right now we are using

MathJax 2.7.5 in offline mode (thanks to https://github.com/pkra/MathJax-single-file)
Formulas are being entered in TeX format, converted to SVG and displayed using http://fabricjs.com/

Everything seems to work as expected. (via Typeset and MessageHook)
Recently I

turn strict CSP ON
noticed the new 3.0.5 version has been released

With strict CSP it turn out MathJax performs DOM manipulations and injecting stylesheets
Is it possible to turn this OFF?
Version 3.0.5 seems to have tex-svg-full which seems to be what I need, BUT

I found no way to create non-minified version of this JS, Is this possible?
It still injects stylesheets, Is it possible to turn this off?
Documentation states there is no Typeset and MessageHook anymore, maybe there is an option to perform TeX->SVG conversion using Promise or something similar so I can get Errors if any?

Thanks in advance for your answers
(Please let me know if I should post to some other place)

Thanks a lot for detailed answer :)
I'll try to migrate and will report back :)

PS, if you want to work off-line, then you may be able to use a nodes-based server-side solution rather than an in-browser one.  You could use Puppeteer for that, or use MathJax's node support to do what you normally would do in a browser.  See the MathJax node demos page for examples.  The documentation for that is sparse, but the examples may be sufficient together with the web documentation.

Thanks,
We have back-end in Java, no node in the stack :)

Hello @dpvc,
I would like to post an update
I moved our JS build to npm and was able to implement standalone (offline) MathJax
Thanks for the pointer!
The only minor issue: I would like to get parse error in catch in below code
MathJax.tex2svgPromise('\\sqrt')
        .then((x) => console.log(MathJax.startup.adaptor.innerHTML(x)))
        .catch((err) => console.log(err.message));

currently I workaround this :)
Thanks a lot for the help!

Since my original response to you, we have added easier support for the formatError() function, so the configuration is easier to manage.  For example:
MathJax = {
  tex: {
    formatError(jax, error) {throw Error('TeX error: ' + error.message)}
  },
  startup: {
    typeset: false,
    pageReady() {
      return MathJax.tex2svgPromise('\\sqrt')
        .then((x) => console.log(MathJax.startup.adaptor.innerHTML(x)))
        .catch((err) => console.log(err.message));
    }
  }
}

This causes the catch() function to run for me.  If that doesn't work for you (with a current version of MathJax), then can you give more details about your configuration?

thanks a million!
totally missed this part :(((
now everything works without extra parsing :)

Glad you got it to work.

authors: dpvc solomax

repo: mathjax/MathJax


text:
Different font for mathcal in different browsers (and OSes)

Hi,
Starting from the LaTeX code
mathcal
\begin{equation}
\mathcal{W}
\end{equation}

using tex4ht and some other tools I end up with the following HTML+MathML code
<!DOCTYPE html>

	<title>math fonts</title>
	<meta charset="utf-8" />

mathcal

				<math xmlns="http://www.w3.org/1998/Math/MathML" display="block" class="equation">
					<mi mathvariant="bold-script">W</mi>
				</math>

This HTML page is rendered differently on different browsers and operating systems combinations.
In particular I find that the combination of my Arch Linux installation + Chromium (Version 88.0.4324.96 (Official Build) Arch Linux (64-bit)) renders the font as I expect from the PDF, while Firefox (84.0.2 (64-bit)) on the same PC uses the wrong glyph.
Chromium:

Firefox:

Safari on Mac (from a friend, I do not have the specific versions at hand now):

The result does not change if I switch to SVG output or if I pre-process the HTML file (both CHTML and SVG output) with the tools available at MathJax-demos-node.
I do not get any error message in the console.
According the MathML documentation I found, bold-script is the correct mathvariant, so it seems like Chromium is correct and the other browsers are wrong here.
How can I have all browsers render as Chromium on Arch Linux does in the first screenshot above?
Thank you

According the MathML documentation I found, bold-script is the correct mathvariant.

That is not actually correct.  The page you link to only indicates that W with mathvariant="bold-script" should map to U+1D4E6 (the bold script W in the Math Alphanumerics Unicode block), but the character shown next to that is just 𝓦 in the HTML file, and so its display is dependent on the fonts on your system, and how your browser handles them.  It will be a different character on different computers (in fact, it should show the same differences that you indicate above).
In addition, this is the bold version of the character at U+1D4B2, in the script section, which is probably the one you actually are after.  But again, what you see there will depend on your fonts and the browser you are using.
Unfortunately, there are more than one "script" font face in LaTeX, including the calligraphic face (\mathcal) and the script face (\mathscr), but MathML only has one mathvariant for script, and it is not clear whether this should be the face used by \mathcal or the one from \mathscr.  The Unicode Organization shows \mathscr in the Math Alphanumerics section for script and bold-script variants, and so did the STIX1 fonts, but Cambria Math has \mathcal at those locations, and STIX2 seems to have \mathcal for script, but a bold version of \mathscr for bold-script (which seems pretty weird).  So there is not much consistency among fonts for what these characters should look like.
The MathJax TeX fonts map the script variant to \mathscr characters, like the Unicode Organization charts indicate, and uses an internal variant for \mathcal.  MathJax doesn't have a bold version of \mathscr, and so when the MathML calls on bold-script, it falls back on the browser's implementation of the characters at that location in the Math Alphanumerics section.  That is why you are seeing a difference from browser to browser, as you would with any character that is not in the MathJax fonts.
I'm not sure tex4ht maps \mathcal to bold-script, but perhaps the figure \mathscr is script and didn't have anywhere else for \mathcal, or perhaps there is a font that misuses bold-script as a different face from script.
It is possible to add a post-filter to the MathJax MathML input jax to convert bold-script to the internal mathvariant used by MathJax to produce the calligraphic script.  This configuration would do it:

According the MathML documentation I found, bold-script is the correct mathvariant.

That is not actually correct.  The page you link to only indicates that W with mathvariant="bold-script" should map to U+1D4E6 (the bold script W in the Math Alphanumerics Unicode block), but the character shown next to that is just 𝓦 in the HTML file, and so its display is dependent on the fonts on your system, and how your browser handles them.  It will be a different character on different computers (in fact, it should show the same differences that you indicate above).
In addition, this is the bold version of the character at U+1D4B2, in the script section, which is probably the one you actually are after.  But again, what you see there will depend on your fonts and the browser you are using.
Unfortunately, there are more than one "script" font face in LaTeX, including the calligraphic face (\mathcal) and the script face (\mathscr), but MathML only has one mathvariant for script, and it is not clear whether this should be the face used by \mathcal or the one from \mathscr.  The Unicode Organization shows \mathscr in the Math Alphanumerics section for script and bold-script variants, and so did the STIX1 fonts, but Cambria Math has \mathcal at those locations, and STIX2 seems to have \mathcal for script, but a bold version of \mathscr for bold-script (which seems pretty weird).  So there is not much consistency among fonts for what these characters should look like.
The MathJax TeX fonts map the script variant to \mathscr characters, like the Unicode Organization charts indicate, and uses an internal variant for \mathcal.  MathJax doesn't have a bold version of \mathscr, and so when the MathML calls on bold-script, it falls back on the browser's implementation of the characters at that location in the Math Alphanumerics section.  That is why you are seeing a difference from browser to browser, as you would with any character that is not in the MathJax fonts.
I'm not sure tex4ht maps \mathcal to bold-script, but perhaps the figure \mathscr is script and didn't have anywhere else for \mathcal, or perhaps there is a font that misuses bold-script as a different face from script.
It is possible to add a post-filter to the MathJax MathML input jax to convert bold-script to the internal mathvariant used by MathJax to produce the calligraphic script.  This configuration would do it:

Thank you very much for the detailed explanation and for the proposed solution that fixes the issue for me.
I never use \mathscr in my documents and I just discovered that I do not even have that macro available with the set of packages I use.
Looking at the PDF you have linked, I would say that tex4ht maps \mathcal to the mathematical script characters where available (e.g. \mathcal{A} is mapped to U+1D49C) and to simple script characters when the mathetical version is not available (e.g. \mathcal{B} is mapped to U+212C).
To all of them, it adds the attribute mathvariant="bold-script".

Thank you very much for the detailed explanation and for the proposed solution that fixes the issue for me.
I never use \mathscr in my documents and I just discovered that I do not even have that macro available with the set of packages I use.
Looking at the PDF you have linked, I would say that tex4ht maps \mathcal to the mathematical script characters where available (e.g. \mathcal{A} is mapped to U+1D49C) and to simple script characters when the mathetical version is not available (e.g. \mathcal{B} is mapped to U+212C).
To all of them, it adds the attribute mathvariant="bold-script".

authors: dpvc matteoipri


text:
Make awake_sleep_seconds optional and support None

I have some days in my Garmin Sleep data where I have no restless moments sleeping this results in an error:
daily_sleep_dto.awake_sleep_seconds
Input should be a valid integer [type=int_type, input_value=None, input_type=NoneType]

That's impressive! I didn't realize that was possible.

When I call garth.SleepData.get("2023-03-03")
I get - SleepData(daily_sleep_dto=DailySleepDTO(id=1677749580000, user_profile_pk=47111956, calendar_date=datetime.date(2023, 3, 3), sleep_time_seconds=25860, nap_time_seconds=0, sleep_window_confirmed=True, sleep_window_confirmation_type='enhanced_confirmed_final', sleep_start_timestamp_gmt=1677749580000, sleep_end_timestamp_gmt=1677775440000, sleep_start_timestamp_local=1677796380000, sleep_end_timestamp_local=1677822240000, unmeasurable_sleep_seconds=0, deep_sleep_seconds=5100, light_sleep_seconds=14400, rem_sleep_seconds=6360, awake_sleep_seconds=0, device_rem_capable=True, retro=False, sleep_from_device=True, sleep_version=2, awake_count=0, sleep_scores=SleepScores(total_duration=Score(qualifier_key='GOOD', optimal_start=28800.0, optimal_end=28800.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), stress=Score(qualifier_key='EXCELLENT', optimal_start=0.0, optimal_end=15.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), awake_count=Score(qualifier_key='EXCELLENT', optimal_start=0.0, optimal_end=1.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), overall=Score(qualifier_key='EXCELLENT', optimal_start=None, optimal_end=None, value=90, ideal_start_in_seconds=None, ideal_end_in_seconds=None), rem_percentage=Score(qualifier_key='EXCELLENT', optimal_start=21.0, optimal_end=31.0, value=25, ideal_start_in_seconds=5430.6, ideal_end_in_seconds=8016.6), restlessness=Score(qualifier_key='EXCELLENT', optimal_start=0.0, optimal_end=5.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), light_percentage=Score(qualifier_key='EXCELLENT', optimal_start=30.0, optimal_end=64.0, value=56, ideal_start_in_seconds=7758.0, ideal_end_in_seconds=16550.4), deep_percentage=Score(qualifier_key='EXCELLENT', optimal_start=16.0, optimal_end=33.0, value=20, ideal_start_in_seconds=4137.6, ideal_end_in_seconds=8533.8)), auto_sleep_start_timestamp_gmt=None, auto_sleep_end_timestamp_gmt=None, sleep_quality_type_pk=None, sleep_result_type_pk=None, average_sp_o2_value=None, lowest_sp_o2_value=None, highest_sp_o2_value=None, average_sp_o2_hr_sleep=None, average_respiration_value=14.0, lowest_respiration_value=12.0, highest_respiration_value=17.0, avg_sleep_stress=12.0, age_group='ADULT', sleep_score_feedback='POSITIVE_OPTIMAL_STRUCTURE', sleep_score_insight='NONE'), sleep_movement=None)
Note the awake_sleep_seconds=0 in the response above.

Impressive! I wonder what your results are when you run this:
https://colab.research.google.com/github/matin/garth/blob/main/colabs/sleep.ipynb

When I run the notebook above on the
sleep_data = [sd.daily_sleep_dto for sd in garth.SleepData.list(latest, 90)]
line I get 5 validation errors for SleepData
daily_sleep_dto -> unmeasurable_sleep_seconds
none is not an allowed value (type=type_error.none.not_allowed)
daily_sleep_dto -> deep_sleep_seconds
none is not an allowed value (type=type_error.none.not_allowed)
daily_sleep_dto -> light_sleep_seconds
none is not an allowed value (type=type_error.none.not_allowed)
daily_sleep_dto -> rem_sleep_seconds
none is not an allowed value (type=type_error.none.not_allowed)
daily_sleep_dto -> awake_sleep_seconds
none is not an allowed value (type=type_error.none.not_allowed)
This is related to a me flying back from Europe on the 23rd of July and getting a very strange sleep score for the sleeping on the plane crossing timezones.
SleepData(daily_sleep_dto=DailySleepDTO(id=1690085700000, user_profile_pk=47111956, calendar_date=datetime.date(2023, 7, 23), sleep_time_seconds=7380, nap_time_seconds=0, sleep_window_confirmed=True, sleep_window_confirmation_type='enhanced_confirmed_final', sleep_start_timestamp_gmt=1690085700000, sleep_end_timestamp_gmt=1690093440000, sleep_start_timestamp_local=1690128900000, sleep_end_timestamp_local=1690136640000, unmeasurable_sleep_seconds=0, deep_sleep_seconds=2700, light_sleep_seconds=4020, rem_sleep_seconds=660, awake_sleep_seconds=360, device_rem_capable=True, retro=False, sleep_from_device=True, sleep_version=2, awake_count=1, sleep_scores=SleepScores(total_duration=Score(qualifier_key='INVALID', optimal_start=28800.0, optimal_end=28800.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), stress=Score(qualifier_key='INVALID', optimal_start=0.0, optimal_end=15.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), awake_count=Score(qualifier_key='INVALID', optimal_start=0.0, optimal_end=1.0, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), overall=Score(qualifier_key='INVALID', optimal_start=None, optimal_end=None, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), rem_percentage=Score(qualifier_key='INVALID', optimal_start=21.0, optimal_end=31.0, value=9, ideal_start_in_seconds=1549.8, ideal_end_in_seconds=2287.8), restlessness=Score(qualifier_key='INVALID', optimal_start=None, optimal_end=None, value=None, ideal_start_in_seconds=None, ideal_end_in_seconds=None), light_percentage=Score(qualifier_key='INVALID', optimal_start=30.0, optimal_end=64.0, value=54, ideal_start_in_seconds=2214.0, ideal_end_in_seconds=4723.2), deep_percentage=Score(qualifier_key='INVALID', optimal_start=16.0, optimal_end=33.0, value=37, ideal_start_in_seconds=1180.8, ideal_end_in_seconds=2435.4)), auto_sleep_start_timestamp_gmt=None, auto_sleep_end_timestamp_gmt=None, sleep_quality_type_pk=None, sleep_result_type_pk=None, average_sp_o2_value=None, lowest_sp_o2_value=None, highest_sp_o2_value=None, average_sp_o2_hr_sleep=None, average_respiration_value=15.0, lowest_respiration_value=13.0, highest_respiration_value=19.0, avg_sleep_stress=16.0, age_group='ADULT', sleep_score_feedback='NONE', sleep_score_insight='NONE'), sleep_movement=[...])

Want to set all of those fields causing validation errors as Optional?
Everyone should be able to run that Colab.

done

@nzigel released 0.4.41.
Can you try running the Colab again?
You'll need to delete the environment and starting a new one to make sure you get the latest and greatest.

authors: matin nzigel

repo: matin/garth


text:
🛑 Hacker News is down

In 6c2adc6, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 357 ms

Resolved: Hacker News is back up in cadae8d.

repo: mativarela/monitoriib


text:
installation fails on ubuntu 21.04 with Python 3.9.5

I have succesfully install geos, but running sudo python3 setup.py install fails with the following error:
checking for GEOS lib in /root ....
checking for GEOS lib in /root/local ....
checking for GEOS lib in /usr ....
GEOS lib (version 3.9.0) found in /usr
running install
running bdist_egg
running egg_info
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
creating basemap.egg-info
writing basemap.egg-info/PKG-INFO
writing dependency_links to basemap.egg-info/dependency_links.txt
writing namespace_packages to basemap.egg-info/namespace_packages.txt
writing requirements to basemap.egg-info/requires.txt
writing top-level names to basemap.egg-info/top_level.txt
writing manifest file 'basemap.egg-info/SOURCES.txt'
reading manifest file 'basemap.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'basemap.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/mpl_toolkits
creating build/lib.linux-x86_64-3.9/mpl_toolkits/basemap

.
.
.
.
A bunch of compiler notes and warnings. Then the error:
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^
src/_geoslib.c: In function ‘__Pyx_modinit_type_init_code’:
src/_geoslib.c:5678:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 5678 |   __pyx_type_8_geoslib_BaseGeometry.tp_print = 0;
      |                                    ^
src/_geoslib.c:5686:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 5686 |   __pyx_type_8_geoslib_Polygon.tp_print = 0;
      |                               ^
src/_geoslib.c:5694:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 5694 |   __pyx_type_8_geoslib_LineString.tp_print = 0;
      |                                  ^
src/_geoslib.c:5702:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 5702 |   __pyx_type_8_geoslib_Point.tp_print = 0;
      |                             ^

error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/distutils/include -I/usr/include/python3.9 -c src/_geoslib.c -o build/temp.linux-x86_64-3.9/src/_geoslib.o -MMD -MF build/temp.linux-x86_64-3.9/src/_geoslib.o.d -msse -msse2 -msse3" failed with exit status 1

########### EXT COMPILER OPTIMIZATION ###########
Platform      :
  Architecture: x64
  Compiler    : gcc

CPU baseline  :
  Requested   : 'min'
  Enabled     : SSE SSE2 SSE3
  Flags       : -msse -msse2 -msse3
  Extra checks: none

CPU dispatch  :
  Requested   : 'max -xop -fma4'
  Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
  Generated   : none
CCompilerOpt._cache_write[796] : write cache to path -> /home/theodor/Downloads/basemap/build/temp.linux-x86_64-3.9/ccompiler_opt_cache_ext.py

Installing using pip results in the same error.

It seems that tp_print was removed in CPython 3.9 (see https://bugs.python.org/issue39361), so this error is probably occurring in the conversion of _geoslib.pyx to _geoslib.c.
Are you using the _geoslib.c file from the repo? It might work if you remove the C file to force the generation of this file again by Cython. This _geoslib.c file in the repo is probably super-old and ideally it should be deleted and add Cython as build dependency.

Thanks, that made me able to install, but led to another (possibly related) issue. When importing Basemap i get this error:
>>> from mpl_toolkits.basemap import Basemap
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/theodor/.local/lib/python3.9/site-packages/basemap-1.2.2+dev-py3.9-linux-x86_64.egg/mpl_toolkits/basemap/__init__.py", line 53, in <module>
    import _geoslib
ImportError: libgeos-3.9.1.so: cannot open shared object file: No such file or directory
>>>

That looks strange to me, in the original message the output says:
GEOS lib (version 3.9.0) found in /usr

so I would expect basemap to request libgeos-3.9.0.so, which is available in Ubuntu 21.04 under /usr/lib/x86_64-linux-gnu/libgeos-3.9.0.so when you install libgeos-3.9.0 (this package gets installed automatically with libgeos-dev). Do you have several GEOS versions installed?

Thank for your help! I fixed it by removing 3.9.1 and installing 3.9.0.

Just to add here. The following work for me without having to altered the version of Python.
sudo apt -y install libgeos-dev
pip3 install git+https://github.com/matplotlib/basemap/

@thdb-theo @GeoFelpave I just uploaded preliminary wheel binaries of the future basemap version 1.3.0 (with bundled libgeos_c). In case you are still interested you can try out with (for Python 2.7 and 3.5 to 3.9):
python -m pip install "basemap-data == 1.3.0b1" "basemap == 1.3.0b1"

authors: GeoFelpave molinav thdb-theo

repo: matplotlib/basemap


text:
Doubled/Duplicate bridged messages in matrix

Hi, I'm using the bridge with a discord user account, latest git master and latest stable synapse. Ever since this morning, the matrix versions of my discord private rooms are receiving 2 duplicate messages for every discord message. Before today, the bridge was working as expected. I don't think I changed anything when the problem started. I tried upgrading both the bridge and synapse once I noticed the problem, but it's still occurring.
I did notice that in a newly created matrix room (corresponding to a newly opened DM in discord), I didn't see duplicate messages, but I'm still getting duplicate messages in bridged matrix rooms/DMs that existed before today.
I'm using essentially the default configuration, just adjusted to my homeserver. Let me know if I can provide any other information for debugging.

Well, in typical software fashion, I tried restarting from a fresh database, and the duplicate messages have stopped.  I still have my old database around in case it's useful for debugging, but otherwise, problem solved.

Well, in typical software fashion, I tried restarting from a fresh database, and the duplicate messages have stopped.  I still have my old database around in case it's useful for debugging, but otherwise, problem solved.

Er, I spoke too soon. After a few hours of non-repeated messages, the problem is back. Not sure if there's other state I can clear besides the internal database.

Er, I spoke too soon. After a few hours of non-repeated messages, the problem is back. Not sure if there's other state I can clear besides the internal database.

Well, I figured it out. An old VPS i had mx-puppet-discord running on previous had rebooted, and I forgot that the service was started by default, so two bridges were running at the same time. Spooky zombie services.

Well, I figured it out. An old VPS i had mx-puppet-discord running on previous had rebooted, and I forgot that the service was started by default, so two bridges were running at the same time. Spooky zombie services.

repo: matrix-discord/mx-puppet-discord


text:
Support for center-aligning elements in HTML messages.

It feels like a big omission that we have zero control currently over positioning content (e.g. images) in messages currently, when constructing longer messages (such as the description of a group).
Github for instance allows you to center images & branding etc with tricks like:
### Sublime's custom image

in the markdown.
Should we support the removed-in-HTML5 align attribute, and/or add a data-mx-align attribute a bit like data-mx-color to give this flexibility?

Ooi, why can't we whitelist the appropriate CSS rule over adding a attribute that's deprecated?

@Half-Shot That would require everyone to have a CSS parser in addition to HTML

Hmm, I thought Riot was doing that but it was not. So that's fine. I'd prefer supporting data-mx-align since it would probably end up being mapped to a CSS rule anyway, and that gives it a nice distinction from align.

The deprecated HTML attribute align allowed for left, right, and center. If this spec feature intends to only allow the value center, then I think a custom attribute name like data-mx-align would be clearer. If instead all align values would be supported, then using the plain attribute align seems fine, since that's what the Matrix spec does for other HTML attributes that it carries over without modification.

authors: Half-Shot ara4n jryans tulir

repo: matrix-org/matrix-doc


text:
consider not bg loading /members for tab-complete to work

currently we bg load /members for every room to populate up the membership list, and make tab-complete supersnappy. however, this uses a lot of RAM on the membership events, which gradually gets worse until you restart the app. empirically it seems that Discord can get away with super-snappy tab completion while storing the membership list serverside; they fire off a JSON query over WS and then you get some zlib binary results back as the user is tab-completing. And they end up using 50MB of heap on Chrome. so if they can do it, we should have a go too.

wrong repo


text:
OpenAPI spec doesn't label URI properties

Some type: string properties are specified to contain URLs (avatar_url, Pusher url, well-known base_url, og:image), but this isn't machine readable.
JSON Schema allows to specify URL strings with the formats uri, uri-reference, iri, and iri-reference. OpenAPI v2 doesn't define these, so the JSON schema definitions apply. The questions which format to use are:

Do these URLs have to be absolute? I suppose so, because the base url would be unclear, so let's not use the -reference formats.
Are raw non-ASCII characters allowed in these URLs? I would favor it, so let's use the iri format.

Do you agree with the iri format? Would you accept a PR that adds an URL format to these properties?

Now that I looked into both spec documents again, not using format in those cases does look like an omission; on top of what you said, the Swagger spec explicitly opens the door for freeform format values. That said, iri is a Draft 7 addition, while OpenAPI v2 is based on Draft 4 that only defines uri - I guess we should follow that. Also, it's known if those format values are supported by all kinds of tooling used both for Matrix spec text generation and for actual code (for one, I use a code generator in my client library, and I know a couple other projects that generate code from OpenAPI descriptions). Submitting a PR to see what the CI pipeline should be straightforward and provide at least some basic validation.

authors: KitsuneRal lukaslihotzki


text:
First draft of AS filters

I consider this change small and niche enough that it probably doesn't warrant a gdoc, but happy to create if needed.
Fixes #1299
-- Proposal created as #1306 --

Because Github has hidden it, I'm still unsure what would make a good substitute for virtual users? Or I could just describe them.

This is purely synapse's implementation stuff - why is it even in here?

@maxidor While the registration file is currently an example only, I think there definitely is worth in speccing it as a proper thing,so that registration files can be used cross HS. A lot of ASs generate registration files for you, and it would be a shame if those generated files wouldn't work on MXHSD or Dendrite (or whatever new HS), right?

Or I could just describe them.

@Half-Shot this option is my preference, although the existing spec uses the term "masqueraded user", so maybe continue using that somehow?

I'm going to close this while we're waiting for the MSC to go through.

authors: Half-Shot jcgruenhage maxidor turt2live


text:
Looking for Matrix MXKAttachmentTypeAudio implementation

Hi Team,
I have gone through all versions of Matrix Changes guide, but found no luck on implementation for Audio attachment.
Can you please guide in case if i missed finding the implementation or do we have to keep a watch on the the feature implementation.
Regard's
Swapna

Hi @swapnapentam,
MXKAttachmentTypeAudio  uses MXK prefix meaning that is part of MatrixKit. If you look at the corresponding enum at the SDK level, which is kMXMessageTypeAudio, you will see that the SDK can handle the reception of such message but the sending is not yet supported. There is no [MXRoom sendAudio:] method like we have for video ([MXRoom sendVideo:]) or image or generic file.
The main reason is that we are short of hands at the moment and we focus on things that is required for our main app, Riot.

authors: manuroe swapnapentam

repo: matrix-org/matrix-ios-sdk


text:
Vertical text?

I have working script but i would like to show four digit number vertically in menubar (not in dropdown menu) to save menu space. Me and many others have lots of apps running in menubar so it would help if numbers are vertically or if user could put 2-3 rows of tiny numbers instead of just one row of big numbers.
Now it shows:
1234
I would like to have like this and width of menu is as narrow as possible:
1
2
3
4
or
1234
34.5
5.6
or
1  3  5
2  4  .
3  .   6
4  5

You can do this in v2 thanks to #324.

repo: matryer/bitbar