flexget.api : OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)

Browsing the webui causes these errors on the api:
2016-04-26 07:50 ERROR    flexget.api                   Exception on /tvdb/series/The Last Ship/ [GET]
Traceback (most recent call last):
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restful/__init__.py", line 477, in wrapper
    resp = resource(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restplus/resource.py", line 42, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 34, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api/tvdb_lookup.py", line 85, in get
    result = lookup_series(name=search, session=session)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 31, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 446, in lookup_series
    _update_search_strings(series, session, search=name)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 378, in _update_search_strings
    func.lower(TVDBSearchResult.search) == name).first()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2634, in first
    ret = list(self[0:1])
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
    return list(res)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2735, in __iter__
    self.session._autoflush()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1303, in _autoflush
    util.raise_from_cause(e)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1293, in _autoflush
    self.flush()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2019, in flush
    self._flush(objects)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2137, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2101, in _flush
    flush_context.execute()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 373, in execute
    rec.execute(self)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 532, in execute
    uow
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 174, in save_obj
    mapper, table, insert)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 767, in _emit_insert_statements
    execute(statement, multiparams)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
    return meth(self, multiparams, params)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (sqlite3.OperationalError) database is locked [SQL: u'INSERT INTO tvdb_series (id, last_updated, expired, name, language, rating, status, runtime, airs_time, airs_dayofweek, content_rating, network, overview, imdb_id, zap2it_id, banner, first_aired, aliases, actors, posters) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: (269533,<PHONE_NUMBER>, 0, u'The Last Ship', u'en', 8.5, u'Continuing', 45, u'9:00 PM', u'Sunday', u'TV-14', u'TNT', u"Their mission is simple: Find a cure. Stop the virus. Save the world. When a global pandemic wipes out eighty percent of the planet's population, the crew of a lone naval destroyer must find a way to pull humanity from the brink of extinction. Executive Producer Michael Bay presents The Last Ship, starring Eric Dane, Rhona Mitra and Adam Baldwin.", u'tt2402207', u'EP01741727', u'graphical/269533-g.jpg', '2014-06-22 00:00:00.000000', u'[]', None, None)]
2016-04-26 07:50 ERROR    flexget.api                   Exception on /tvdb/series/True Detective/ [GET]
Traceback (most recent call last):
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restful/__init__.py", line 477, in wrapper
    resp = resource(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restplus/resource.py", line 42, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 34, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api/tvdb_lookup.py", line 85, in get
    result = lookup_series(name=search, session=session)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 31, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 446, in lookup_series
    _update_search_strings(series, session, search=name)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 378, in _update_search_strings
    func.lower(TVDBSearchResult.search) == name).first()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2634, in first
    ret = list(self[0:1])
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
    return list(res)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2735, in __iter__
    self.session._autoflush()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1303, in _autoflush
    util.raise_from_cause(e)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1293, in _autoflush
    self.flush()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2019, in flush
    self._flush(objects)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2137, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2101, in _flush
    flush_context.execute()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 373, in execute
    rec.execute(self)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 532, in execute
    uow
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 174, in save_obj
    mapper, table, insert)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 767, in _emit_insert_statements
    execute(statement, multiparams)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
    return meth(self, multiparams, params)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (sqlite3.OperationalError) database is locked [SQL: u'INSERT INTO tvdb_series (id, last_updated, expired, name, language, rating, status, runtime, airs_time, airs_dayofweek, content_rating, network, overview, imdb_id, zap2it_id, banner, first_aired, aliases, actors, posters) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: (270633,<PHONE_NUMBER>, 0, u'True Detective', u'en', 9.0999999999999996, u'Continuing', 60, u'9:00 PM', u'Sunday', u'TV-MA', u'HBO', u'An anthology series in which police investigations unearth the personal and professional secrets of those involved, both within and outside the law.', u'tt2356777', u'SH01814225', u'graphical/270633-g7.jpg', '2014-01-12 00:00:00.000000', u'[]', None, None)]
2016-04-26 07:50 ERROR    flexget.api                   Exception on /tvdb/series/Suits/ [GET]
Traceback (most recent call last):
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restful/__init__.py", line 477, in wrapper
    resp = resource(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restplus/resource.py", line 42, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 34, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api/tvdb_lookup.py", line 85, in get
    result = lookup_series(name=search, session=session)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 31, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 446, in lookup_series
    _update_search_strings(series, session, search=name)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 378, in _update_search_strings
    func.lower(TVDBSearchResult.search) == name).first()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2634, in first
    ret = list(self[0:1])
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
    return list(res)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2735, in __iter__
    self.session._autoflush()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1303, in _autoflush
    util.raise_from_cause(e)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1293, in _autoflush
    self.flush()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2019, in flush
    self._flush(objects)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2137, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2101, in _flush
    flush_context.execute()
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 373, in execute
    rec.execute(self)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 532, in execute
    uow
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 174, in save_obj
    mapper, table, insert)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 767, in _emit_insert_statements
    execute(statement, multiparams)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
    return meth(self, multiparams, params)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (sqlite3.OperationalError) database is locked [SQL: u'INSERT INTO tvdb_series (id, last_updated, expired, name, language, rating, status, runtime, airs_time, airs_dayofweek, content_rating, network, overview, imdb_id, zap2it_id, banner, first_aired, aliases, actors, posters) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: (247808,<PHONE_NUMBER>, 0, u'Suits', u'en', 8.9000000000000004, u'Continuing', 45, u'10:00 PM', u'Wednesday', u'TV-14', u'USA Network', u"Suits follows college drop-out Mike Ross, who accidentally lands a job with one of New York's best legal closers, Harvey Specter. They soon become a winning team with Mike's raw talent and photographic memory, and Mike soon reminds Harvey of why he went into the field of law in the first place.", u'tt1632701', u'EP01407658', u'graphical/247808-g9.jpg', '2011-06-23 00:00:00.000000', u'[]', None, None)]

duplicate #1065

Reproduced this morning with  -L debug --debug-db-sessions. I just went on the series tab on the webui. It seems to happen when series are marked as expired and need a tvdb refresh.
Is at line 513 :
flexget.log.error.zip

This should be resolved now. Please test.


Add authorized feature for Shenyu

Feature Request
It is planned to add a plug-in for authorization authentication in shenyu. Currently, the tools that can be integrated are WebFlux Security or sa-token. I want to discuss the specific integration plan in the community. If there are other better suggestions, I hope you can put forward them. For reference, if the integration scheme is determined, I plan to implement it with @jinze1107.If you are interested in this, you can also join us to develop.

@Zhoutzzz @WYUSIG How about the progress

@Zhoutzzz @WYUSIG How about the progress

https://shenyu.apache.org/zh/docs/plugin-center/authority-and-certification/oauth2-plugin

done


Master is now at 3.2 status

I'd imagine since 3.2 shouldn't be a breaking change, that master should just default to it instead of a separate branch. Keeping this here as a reminder.

Just imported WAT 4.0 Master in a fresh 3.2 Beta 6 project and WAT is not compiling. There might have been a breaking change after all
type_library.gd, line 3, "function signature doesn't match the parent. Parent signature is "String to_string()"


Deploy Ory Kratos on AKS: Set up Kratos for identity management using Azure AD as Identity provider, enabling users to authenticate with their Azure AD credentials.

Set up Kratos for identity management using Azure AD as Identity provider.
TODO

[ ] Create manifest files for deployment

[ ] Kratos manifest files
[ ] Postgres deployment (Kratos needs a postgres instance)

[ ] Get app registration on Azure
[ ] Configure Kratos siocial sign in with an app registration to auth users from Azure

The Postgresql integration is intriguing!

@SonOfLope this was closed with the checklist not being completed

Will be replaced in : https://github.com/ai-cfia/howard/issues/74
Which provides explanation. Thank you


Add 2.4 Change Control Management Roy Feedback #4

Consider adding to section 2.4 Change Control Management a paragraph identifying / defining a Change Control Board (CCB) along with a defined process that includes a written Change Request (C/R) artifact.

Added to section 2.4.2 for internal change requests


Update ibc-go version

[ ] Update golang version  from 1.19 to 1.21 and test compatibility of all ibc relay related modules.
[ ] Upgrade ibc-go from v7 to v8 and test compatibility of all ibc relay related modules.

Since, the chain centauri(composable finance) is still using ibc-go v7, it is not feasible currently to upgrade the ibc-go version to v8 in the ibc-relay.


requests: adding colorbar to ee maps; converting MODIS AOD to numpy array

geemap version: 0.7.9
Python version: 3.8.2
Operating System: Linux

Description
First of all thank you for this package in python. I have used your codes for preparing animations and adding colorbars to it.
It will be great if you can add that functionality to geemap.Map. The outputs can be really useful.
I tried to used the routines to convert image to numpy array. However it did not work for MODIS/006/MCD19A2_GRANULES image collection. It would be really great if you can add one example for this data product.
Thanks in advance.

Only a specific type of animations can have a colorbar. For example, you can have a colorbar for temperate animations, but you can't have a color for Landsat timelapse. You can always create your own colorbar and then add it to the animation. Then you can use Map.image_overlay() to add the animation to the map.
geemap.ee_to_numpy() only works for a small area of the image. If you are working with a larger area, try exporting the image to Google Drive, then load the GeoTIFF using other Python libraries (e.g., rasterio, xarray).


notebook: learn graph with selected features - close #3

At first all the edges connected to the target were pointing away from it.
Then I used the reverse method on the sm object to reverse the direction of all edges. But this also affects the direction of other edges.


Reland "improve the scrollbar behavior when viewport size changed"

Reland #76102(revert by #80059)
Can not merge before the customer test fixed.
CC @Piinks

Thank you thank you! Sorry for the delay, running all customer tests now.

I found one more test failure. Working on getting it fixed now. :)

(PR triage): @Piinks did the failure get fixed?

Continue work at #82687


Unable to build BLAS - complex.h missing

Hello,
I am currently trying to build BLAS as it is needed for another code I will be using - NEML (https://github.com/Argonne-National-Laboratory/neml). My current setup is Win 10, Visual Studio 2012 with installed Intel Parallel 2015.
I have followed the steps for installing OpenBlas from https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio, but the Conda Prompt exited with an error during the build - ninja: build stopped: subcommand failed. ; see attached output from the shell. It appears that build encountered an error in not finding complex.h.
Would it be possible to get some feedback on what the issue might be and how it could be resolved? I can provide any info needed to help resolve this. Sadly I am restricted to using Windows because of other softwares which will later use the above NEML model which requires BLAS.
Many thanks all
Anaconda Prmt - BLAS.txt

cmake is introduced here well after 2012. Please use mingw make ONLY.

Hi brada4, is the mingw installation method described anywhere I can access and follow? I am a rookie programmer and it would certainly help. Thanks

It is to type command make , and Makefiles will figure out available compilers and options. It stands that way on the front page for a decade or so.

I do not think this is a cmake vs gmake problem. As far as I know, support for C99 features like complex.h was added at or around VS2017 so complex.h may not have been available in Visual Studio 2012. If you also have the Intel compiler installed, maybe it is only a question of setting CMAKE_C_COMPILER to point to icc instead ? Another option could be to install a more recent version of VS (community edition probably) unless NEML absolutely requires VS2012

Ok, I installed chocolatey and then installed make. After that, I opened cmd, cd to \OpenBLAS and make . The result does not seem correct.. :
D:\GITlib\OpenBLAS>make
process_begin: CreateProcess(NULL, uname -m, ...) failed.
Makefile.system:14: pipe: No error
The system cannot find the path specified.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
Makefile.system:56: pipe: Bad file descriptor
process_begin: CreateProcess(NULL, gcc -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_PARALLEL_MAKE=0 -o getarch getarch.c cpuid.S, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile.prebuild:70: getarch] Error 2
process_begin: CreateProcess(NULL, uname -m, ...) failed.

I guess I am missing something?

This now seems to go looking for the gcc compiler rather than MSVC.

Digging deeper, it seems that the #include <complex.h> in kernel/x86_64/cdot.c` is actually redundant, as common.h will already
include either this header or a suitable non-C99 workaround. Could you try deleting the offending line from cdot.c ? (I have checked that this works on Linux, but I cannot readily try on Windows with VS2012)

Hi Martin, I will delete the line from cdot.c and try again the method posted in https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio, which I used previously failing. Will share result in a bit.

After removing <complex.h> from cdot.c, the build continued up to [12718/17241] but failed again due with the following:
[12718/17241] Building C object utest\CMakeFiles\openblas_utest.dir\test_kernel_regress.c.obj
FAILED: utest/CMakeFiles/openblas_utest.dir/test_kernel_regress.c.obj
C:\Users\Mark\miniconda3\Library\bin\clang-cl.exe  /nologo  -I..\lapack-netlib\LAPACKE\include -I..\ -I. /DWIN32 /D_WINDOWS /W3  -DHAVE_C11 -DMS_ABI -Wall -m64 -DF_INTERFACE_FLANG -DDYNAMIC_ARCH -DSMP_SERVER -DMAX_CPU_NUMBER=8 -DMAX_PARALLEL_NUMBER=1 -DNO_AFFINITY -DVERSION="\"0.3.15.dev\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 /MD /O2 /Ob2 /DNDEBUG /Zi /showIncludes /Foutest\CMakeFiles\openblas_utest.dir\test_kernel_regress.c.obj /Fdutest\CMakeFiles\openblas_utest.dir\ -c -- ..\utest\test_kernel_regress.c
In file included from ..\utest\test_kernel_regress.c:1:
..\utest/openblas_utest.h(35,9) : warning: macro name is a reserved identifier [-Wreserved-id-macro]
#define _OPENBLAS_UTEST_H_
        ^
In file included from ..\utest\test_kernel_regress.c:1:
In file included from ..\utest/openblas_utest.h:38:
In file included from ..\utest/ctest.h:31:
C:\Users\Mark\miniconda3\Library\lib\clang\11.0.1\include\inttypes.h(18,2) : error: MSVC does not have inttypes.h prior to Visual Studio 2013
#error MSVC does not have inttypes.h prior to Visual Studio 2013
 ^
C:\Users\Mark\miniconda3\Library\lib\clang\11.0.1\include\inttypes.h(21,15) : fatal error: 'inttypes.h' file not found
#include_next <inttypes.h>
              ^~~~~~~~~~~~
1 warning and 2 errors generated.

...
[12727/17241] Generating Fortran dyndep file CMakeFiles\openblas.dir\Fortran.dd
ninja: build stopped: subcommand failed.

It appears that it has an issue with the version of VS - do you think there is way to bypass this as for complex.h.  Alternatively, I could try using the make approach. Would this require adding an env variable CMAKE_C_COMPILER to Intel C compiler?
To answer your question Martin, I am needing NEML (and respectively BLAS) for the structural solver Ansys. Ansys versions only accept specific versions of VS and Intel Parallel, and as I have an old version of Ansys currently I have to stick to VS2012. Thanks!

utest/ctest.h will need changing so that it includes stdint.h instead, and uses literal %u and %d in its printf statements
Something like this will probably work (remove the .txt when saving)
ctest.h.txt

Hi Martin, thanks for the feedback but the method of changing ctest.h did not work. Failed at inttypes.h again. I will probably have to accept defeat here but thanks for your help!

strange, from what I had seen on the net I assumed vs2012 would not define STDC_VERSION at all, so I used that to decide which to include.
Did you make sure that the "new" ctest.h ended up in the utest folder ?
(the less elegant solution would be to remove utest from the cmake targets)

(i.e. remove the line add_subdirectory(utest) from the toplevel CMakeLists.txt)

Yes the new test was copied to utest folder as a .h file. Ok, I will this method without  add_subdirectory(utest)

Update: It did build and install with your suggestion Martin; thank you! I can see however that when trying to compile the NEML software, it does not find the BLAS library. Is there a need to define any env var to the OpenBLAS folder so that cmake recognises it? Cmake documentation tells me it should recognise OpenBLAS without any additional work. I will probably raise a question to NEML folks on their git for this and close this issue as solved here.
CMake Error at D:/GITlib/cmake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find BLAS (missing: BLAS_LIBRARIES)

No idea, as far as I know it should work since cmake 3.6 Maybe try adding -DBLA_VENDOR=OpenBLAS to your cmake command line for NEML

Thanks, I will try and reach out to them. Once again, thank you!


RTL languages support?

Can rainloop suppport RTL languages?

Yes it should support this. Only takes some css and a little php. Surprised its not already there. Hope someone else replies.


Upgrade go to 1.22

#1190  👈
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite

Merge activity

Apr 11, 3:27 PM EDT: @lazynina started a stack merge that includes this pull request via Graphite.


Misc typo

The following line
contains data about the pages in database.
should be
contains data about the reports in the database.
The following line
The fields in the virtual table correspond to C/AL properties on the page objects.
should be
The fields in the virtual table correspond to C/AL properties on the report objects.

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

ID: 58260c19-af02-28ca-5809-3ffb6c420b4b
Version Independent ID: c59ce1ec-638b-3a95-a74b-9641a633f977
Content: Report Metadata Virtual Table - Dynamics NAV
Content Source: dynamics-nav/Report-Metadata-Virtual-Table.md
Product: dynamics-nav-2018
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello, Thanks for the feedback. The article has been fixed and an update will be published soon.


Correctly brand the wallet

[x] In config.json change the value of name to Tezori.
[x] In config.json change the value of version to 0.1.0.
[x] In config.json add a key called tagline with the value A community wallet for Tezos
[x] Look for all references to the string 'Galleon' and change it to name from config.json
[x] If this is not the case already, the app titlebar should also be using name from the config file
[x] Change <AppSubtitle>Beta Wallet for Tezos Betanet</AppSubtitle> in app/containers/LoginHome/index.js to use the tagline value.

After this change, there should be no hard coded instances of the string 'Galleon' left. At the moment, there are two instances in app/containers/LoginHome/index.js.

Merged with #205
Note: A hard restart to the wallet is required for the changes in the title bar to take effect


unify kbe and be pfrags.Frags class

There seems to be a low-hanging fruit of shared functionality.

Even if there is shared functionality now, I think we should keep these separate. The periodic fragmentation can be far more complicated/bug-prone than the molecular version, and I would much rather develop in one or the other separately. I don't think this isn't really a place where efficiency/optimization is necessary, and readability will be far more important/useful

aye, aye :-)


tutanota-desktop: installing from tar

Motivation for this change
Current tutanota-desktop installation is based on its AppImage. The problem is that the download URL does not have any version on it, so in case there is a version update, the installation breaks, unless someone updates the SHA.
This one is based on the tar files on the Github releases. As the download URL has the version, this will be more helpful and will not break when the version is updated.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

/marvin opt-in
/status needs_reviewer

One more tiny nit: The commit message should be imperative. I suggest "tutanota-desktop: install from release tarball".

Thanks again for this. I'm still relatively new to nix so I'm not in a position to review the code. I can, however, confirm that the app builds, launches and appears to work after some brief testing with nox-review.


Feature: configurable OTP label

Hi,
Right now the OTP label is hardcoded to be PowerDNS-Admin
https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/204c996c81f2f2ef14f6d98e5ea907e69a7ede92/powerdnsadmin/models/user.py#L92
It would be great for it to either be configurable or to match the site_name, as some authenticator apps tend to overwrite the key if the label is the same. Proposed change:
--- original.py	2022-07-22 09:08:18.460801206 +0000
+++ user.py	2022-07-22 09:06:39.660791555 +0000
@@ -89,8 +89,8 @@
         return '<User {0}>'.format(self.username)

     def get_totp_uri(self):
-        return "otpauth://totp/PowerDNS-Admin:{0}?secret={1}&issuer=PowerDNS-Admin".format(
-            self.username, self.otp_secret)
+        return "otpauth://totp/{2}:{0}?secret={1}&issuer={2}".format(
+            self.username, self.otp_secret, Setting().get('site_name'))

     def verify_totp(self, token):
         totp = pyotp.TOTP(self.otp_secret)

It seems to me that this issue can be closed.

@upcFrost this has been resolved in a recent PR and will be included in the next patch release very soon.
Thank you!


[Feature] Provide Re-usable S3-Backup locations

Is your feature request related to a problem? Please describe.
We are currently considering to use mariadb-operator. Having the option to backup databses to S3 is great, but it is very cumbersome to define the whole S3-configuration for every backup CR.
Describe the solution you'd like
It would be great to have a separate CR which defines a backup-location and can be referenced by backup-CRs. An example is the approach velero takes with their BackupStorageLocation (https://velero.io/docs/v1.14/api-types/backupstoragelocation/)
Describe alternatives you've considered
Using kustomize with a base-manifest that contains S3-configuration.
Environment details:

Kubernetes version: 1.29.0
Kubernetes distribution: [Vanilla]
mariadb-operator version: [none]
Install method: [none]
Install flavor: [none]

Additional context

Hi @mmontes11,
We encountered the same issue. Our teams use a shared Helm chart for service deployment, where they can choose whether to enable MariaDB. Each team gets its own namespace, which complicates configuring S3 backups.
The main challenge is that IAM for Service Accounts is namespace-scoped. This means that while the Helm chart can configure MariaDB correctly, the backup job might lack permissions. The platform team would need to authorize the specific combination of Service Account and namespace for backups.
The BackupStorageLocation approach wouldn’t work with this operator since each MariaDB instance and its backup job could be in a different namespace, causing IAM account issues.

To make the setup more dynamic, the mariadb-operator could act as an S3 proxy:
flowchart LR

mariadb --> backupjob --> mariadb-operator-backup-proxy --> s3

The backup-proxy could generate pre-signed URLs, allowing backup jobs to upload directly to S3 without passing through the proxy pod.
This setup would enable all MariaDB backups to use the same S3 bucket securely, with the proxy creating dedicated directories for each namespace. However, implementing this solution would involve significant effort.


Create alunos

Hi, i want add my school from ipc ( Polytechnic Institute of Coimbra) and my university's name is ESTGOH(escola superior de oliveira do hospital).

https://websrv2.estgoh.ipc.pt/portal2/oferta-formativa-2/licenciaturas-2/engenharia-inform-tica-2/
Engineering informatics

@mirandapt123 You might miss my previous comment. Please react.

@mirandapt123 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue. Thank you for the understanding!


nginx reverse proxy does not work

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
location ^~ /x/
{
    proxy_pass http://localhost:3001/;
    proxy_set_header Host localhost;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header REMOTE-HOST $remote_addr;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
    proxy_http_version 1.1;
    # proxy_hide_header Upgrade;

📝 Error Message(s) or Log
no response
🐻 Uptime-Kuma Version
1.10.0
💻 Operating System and Arch
linux
🌐 Browser
chrome
🖥 Deployment Environment
no response

hi,

[!TIP]
First of all repeating the same content 3x is not very productive. Please include the content we are asking for the next time.
Doing below the minimum efffort and not filling out the fields (missing version and arch in linux, missing version in linux, no error message, no deployment environment, no "I did X, and then Y happend" in the problem description) just leads to worse support of your issue.

We have documented the process how to install nginx in our wiki at https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy#nginx
=> please follow the configuration we provide instead of writing your own.

[!NOTE]
Uptime Kuma does not support a subdirectory such as http://example.com/uptimekuma. Please prepare a domain or sub-domain to do that. A hacky way to produce subdirectory status pages is listed here.
This issue is tracked in https://github.com/louislam/uptime-kuma/issues/147

Hi.
I also ran into this issue even after using the config in https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy#nginx (With SSL (Certbot):). unless there is another option that i need to set.
compose.yaml:
  uptime:
    image: louislam/uptime-kuma:1
    container_name: uptime-kuma
    ports:
      - "3001:3001"
    volumes:
      - uptime-kuma:/app/data

ran into this issue

Doubtfull, as this issue does contain no context what @yuanjie-ai issue actually was.
Next time, please open a dedicated issue and link to this one, as remote debugging is already hard (no need to make it harder when missing the context we ask in the issue form)
To your issue:

Could you share your nginx configuration file?
what do you mean by PS: this is the initial setup, I should redirect to setup, but it doesn't?
What site are you accessing how? What are you seeing instead?

Hi @CommanderStorm
I'll open new issue with more context.


Providing explicit documentation for throwing an exception when no bu…

…ffer exists.

@Ruyk for your review


@conda-forge-admin, please add bot automerge

Additional comment:
@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/dicttoxml-feedstock#8.


Change dart.ui:RenderView to work in logical coordinates (instead of physical)

Desired Change
Move the conversion between logical to physical coordinates into the Flutter Engine instead of doing it in RenderView.  In particular, let the Flutter Engine be responsible for applying the root transformation based on its awareness of the needed metrics.
In other words, delete RenderView.applyPaintTransform() and similar functions, moving their logic out of Dart code and into the Flutter Engine.
Background
Window, RenderView, and ViewConfiguration act as the glue between the physical coordinate system of the platform's window system and the logical coordinate system of Flutter's widget tree.
This arrangement is sensible enough.  On most platforms, the window system expects applications such as Flutter to produce content of a specific physical size to fill the window independently of how they model their content internally.  Flutter applies this transformation at the root of the render tree.
However, on Fuchsia with Mozart v2, the window system does not work in physical coordinates anymore.  The world consists of geometric elements (shapes) which can be drawn at any scale with various materials (including textures).  The problem isn't to produce a certain number of pixels but rather to produce geometry which fits a given logical region of space.
So the window's physical size isn't really relevant anymore.  However, we do need to produce textures at a sufficient resolution so they look good, taking into account the display density and the projection matrix of the textured elements.
Mozart v2 supports this via a "Metrics Event" API which informs Flutter about the scale factor which will be applied to its part of the scene.  It's a bit like having a "level of detail" hint.  These metrics are ultimately applied by the Flutter Engine's SceneUpdateContext to determine the resolution of the textures to be rendered.
Unfortunately, Flutter has already pre-scaled its content by the devicePixelRatio by the time this happens, so the Flutter Engine has to undo the transformation layer before applying the metrics.
It would be nice if we hadn't applied this transformation in the first place and just let the Flutter Engine take care of it since it knows best how the metrics will change moment to moment.
Further Discussion
My current thinking is that devicePixelRatio is a nice hint which applications can use to load their assets at a usable resolution for times when the application is situated at the normal focal plane.
When the application is not in focus, it may be pushed away from the camera and scaled down.  The Mozart metrics provide more accurate information about the minimum resolution at which textures must be rendered for good fidelity.  In particular, we can render fewer pixels which saves bandwidth.
In a Flutter app which contains multiple PhysicalModelLayers it's possible for different metrics to apply to each layer (although this behavior is not supported today).
So all told, I think it would be a good idea to move most of the code which deals with physical units into the Flutter Engine.
Thoughts?

/cc @mikejurka
/cc @Hixie

@abarth would know history if @Hixie doesn't.

It's @Hixie 's decision, but we evaluated designs like the one you're proposing when we picked the current approach.
One of the challenges with the design you're proposing is that the engine doesn't have enough information to apply changes to the device pixel ratio without input from the framework.  For example, the framework might select different assets depending on the device pixel ratio (e.g., with the appropriate density of pixels in a image) or might change its rendering entirely based on the device pixel ratio (e.g., a visual design that responsive to the available number of pixels).
I'm quite clear what the problem is with the current design.  It seems like a possible implementation of a "Metrics Event" is to inform the framework of the new device pixel ratio and have it produce a new ui.Scene that conforms to that device pixel ratio.  The framework is already designed to respond to changes in the device pixel ratio in this way.

In summary, can you explain a bit more about the problem you're trying to solve?

Everything works already and I am able to feed in dynamic changes to the pixel ratio, etc. just fine.
Really this is just a question of how the responsibility for applying transformations should be factored between the flutter framework and the engine.  Specifically, I propose that the root of the layer tree be represented in logical coordinates instead of being scaled by device pixel ratio as it is today.  The engine can be responsible for applying whatever scaling it needs at rendering time.
Likewise inputs coming from the engine can be scaled before being presented to the framework so that it doesn't have to perform its own conversions.
In the end, it would allow me to delete some redundant conversions.

Another issue with communicating with the engine in logical coordinates is that you lose some expressive power.  For example, suppose I want to draw the outline of a rectangle that is exactly one physical pixel wide and inset exactly one physical pixel from the boundary.  If the engine speaks logical pixels in floating point and the device pixel ratio is 1 and 1/3, then there's no way for me to specify this command exactly because the width I desire for the outline cannot be represented exactly in floating point.

This is actually more or less how the system used to work, but to address a number of issues (e.g. accessibility having to work in a different coordinate system than pointer events, etc) we've been progressively moving more and more of this logic into the framework, so that an app that doesn't use the framework works entirely in the coordinate system provided by the OS.

So the window's physical size isn't really relevant anymore. However, we do need to produce textures at a sufficient resolution so they look good, taking into account the display density and the projection matrix of the textured elements.
Mozart v2 supports this via a "Metrics Event" API which informs Flutter about the scale factor which will be applied to its part of the scene. It's a bit like having a "level of detail" hint. These metrics are ultimately applied by the Flutter Engine's SceneUpdateContext to determine the resolution of the textures to be rendered.

How about pushing the metrics events to the framework, e.g. as a varying device pixel ratio? As you zoom a scene out, its dpr drops from 2.0 to 1.9 to 1.8 to 1.7, etc, all the way down to 0.5 or whatever. We could actually do this pretty efficiently since at the framework level that's just tweaking a transform that's then applied to a bunch of prerecorded display lists (obviously we'd lose the rasterisation cache during the animation but that's all as far as I can tell). We would even automatically step down image assets and so forth as it happens. Then the engine doesn't have to do any scaling at all.

In a Flutter app which contains multiple PhysicalModelLayers it's possible for different metrics to apply to each layer (although this behavior is not supported today).

Parts of the framework already support the idea of having a different device pixel ratio for a different physical layer, we could definitely push further in that direction. I'm not sure I really understand what this means, though. Aren't all the layers drawn on the same screen?

A primary motivation for all this is rendering performance, so that if we
have multiple apps in the Armadillo timeline, we don't need to render to
textures bigger than we need
My hesitation was the same as Adam's, namely that apps can make
initialization decisions based on pixel ratio. A question so I understand
properly:
"My current thinking is that devicePixelRatio is a nice hint which
applications can use to load their assets at a usable resolution for times
when the application is situated at the normal focal plane."
Does this mean the devicePixelRatio would be static, or would it change
when the scale factor changes? Apps should have access to some notion of a
static device pixel ratio, even if there is another pixel ratio applied at
a given time to an app.
On Mon, Jul 24, 2017 at 1:45 PM, Jeff Brown<EMAIL_ADDRESS>wrote:

Everything works already and I am able to feed in dynamic changes to the
pixel ratio, etc. just fine.
Really this is just a question of how the responsibility for applying
transformations should be factored between the flutter framework and the
engine. Specifically, I propose that the root of the layer tree be
represented in logical coordinates instead of being scaled by device pixel
ratio as it is today. The engine can be responsible for applying whatever
scaling it needs at rendering time.
Likewise inputs coming from the engine can be scaled before being
presented to the framework so that it doesn't have to perform its own
conversions.
In the end, it would allow me to delete some redundant conversions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/11362#issuecomment-317549076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAa4VwnSnzgenRRMcfVXdQj5hRc9k6Nzks5sRQKHgaJpZM4OhqxW
.

I'm holding off pushing dynamic changes to the display pixel ratio because doing so also affects the window's physical size (due to rounding) even if the window's logical size remained constant the whole time.  Then when the framework re-derives the logical size from the window's physical size, it observes a change (due to rounding) and so performs an undesirable relayout.
It's this conversion I would like to avoid.
That said, I agree that working in logical space makes it problematic to draw in exact pixel units with pixel perfect alignment.  There's not much we can do about this, although we can partially avoid it by choosing a nominal device pixel ratio that is precisely representable as a power of 2 fraction.  e.g. use 21/16 = 1.3125 instead of 4/3 = 1.333...

Parts of the framework already support the idea of having a different device pixel ratio for a different physical layer, we could definitely push further in that direction. I'm not sure I really understand what this means, though. Aren't all the layers drawn on the same screen?

Even if the layers are drawn on the same screen they may be transformed differently.  For example, if we applied a perspective transformation to the scene, physical layers further from the camera would appear smaller and thus have different metrics.
In truth, Mozart's current definition of metrics is overly simplistic.  It's just a first stab at expressing level of detail.

Can you elaborate on the issue with the window sizes?

Flutter's ViewportMetrics are currently defined like this:
struct ViewportMetrics {
float device_pixel_ratio = 1.0;
int32_t physical_width = 0;
int32_t physical_height = 0;
int32_t physical_padding_top = 0;
int32_t physical_padding_right = 0;
int32_t physical_padding_bottom = 0;
int32_t physical_padding_left = 0;
};
The Mozart view manager provides the view's dimensions in logical pixels.  So to work with Flutter, the RuntimeHolder takes the logical dimensions, multiplies them by the device pixel ratio, converts the result to an integer, then assigns the value to the ViewportMetrics.
Subsequently the Flutter framework calculates the logical dimensions by taking the physical dimensions, converting to a float, and dividing by the device pixel ratio.  Due to the integer conversion, the logical dimensions which the Flutter framework determines may be slightly different from the value which the Mozart view manager supplied.
So even if the view's logical dimensions haven't changed, the Flutter framework may perceive that they have due to accumulated rounding errors when the scale factor changes.

We could just make physicalWidth and physicalHeight be doubles.

We could, but that's not particularly physical either.  ;)

how so?

@Hixie That won't necessarily cause a different device pixel ratio to arrive at precisely the same logical floating point values because floating point math isn't associative.

If I understand correctly, the concern is that Mozart will have a window of 100x100 physical pixels, on a device with a device pixel ratio of 2.0. So it'll internally think it's a window of 50x50 pixels. Then that window will be shrunk down to 50x50 pixels, so it'll update the device pixel ratio to 1.0, giving a new physical size of 50x50.
Except that actually it'll be a window of 171.5x178.5 physical pixels, on a device with a device pixel ratio of 3.5, internally considered a window of 49x51 pixels, which will then shrink down to 30.38x31.62 pixels, with a device pixel ratio of 2.17, and a reported physical dimension of 106.33x110.67, which, when multiplied by 2.17, will be something like 49.00000001x51 (well, not in this case, but hypothetically anyway), so then we'll trigger a layout that we didn't want to trigger since all we wanted to do was adjust the transform.

One option is that the Window structure in dart:ui could contain any two of logical pixels, physical pixels, and a device pixel ratio, so that on platforms with physical pixels + a device pixel ratio (iOS, Android) we'd use that, and on platforms with logical pixels + a device pixel ratio (Fuchsia), we'd use that. The framework could easily handle that.

That would work.  It's worth noting that we perform similar unnecessary
conversions to / from physical coordinates for input events right now.
Mozart has everything in logical coordinates already.
On Mon, Jul 24, 2017, 10:57 PM Ian Hickson<EMAIL_ADDRESS>wrote:

One option is that the Window structure in dart:ui could contain any two
of logical pixels, physical pixels, and a device pixel ratio, so that on
platforms with physical pixels + a device pixel ratio (iOS, Android) we'd
use that, and on platforms with logical pixels + a device pixel ratio
(Fuchsia), we'd use that. The framework could easily handle that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/11362#issuecomment-317637489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGPhBhEt3TSxtBO-uIpxs6u8-SBaUo8ks5sRYOzgaJpZM4OhqxW
.

@Hixie is the discussion above still representative of the current state?

I'm not aware of anything having changed on our side. @schwa423 may know more.

Currently have physical size and the device-to-pixel ratio; closing as obsolete. Feel free to re-open if need be.@hixie, WDYT?


docs: document everything, dedup existing docs

Not actually everything, just adding one liner descriptions where I could.
Adding #[doc(inline)] duplicates all docs so one has to be careful using it (#560)
Having both pub mod x; and pub use x::*; is redundant and creates 2 paths from where an item can be imported, so I opted to keep the glob export.

As this one is a bigger PR, would leave it after the release and alloy merge.

@rakita I moved the constants and util to primitives because there were some duplicates, I think they make more sense since it has a constants and utils module and I felt they don't really belong in random modules of other crates. WDYT?

@rakita I moved the constants and util to primitives because there were some duplicates, I think they make more sense since it has a constants and utils module and I felt they don't really belong in random modules of other crates. WDYT?

If we had only one lib sure, if maybe there is an intention to be used somewhere else sure.
but these are very specific constants and they are not put in the random modules but in the module that uses them.
Duplicates should ofcourse be removed.


HAWQ-1368 Add option to hawq register to specify log directory

@radarwave Can you please review this, will be submitting a different PR to docs repo to update documentation.

LGTM.
+1

Submitted PR for documentation https://github.com/apache/incubator-hawq-docs/pull/135

Already merged, please close this PR. Thanks.


Can I suggest using /node_modules/ for --node option

Can I suggest using **/node_modules/** for -n --node option
I had the program die on me a few times til I realised it was it was STILL going through node_modules folder even though I was using -n

I am assuming this has been abandoned?


dragend on background: stopPropagation does not work in Chrome 36

consider this example:

    <meta charset="utf-8">
    <title>Sandbox</title>

Start a drag on the rectangle and end the drag on the background. In Chrome 36, the background click is not suppressed and not prevented. This is not what I expect and not what Firefox 31 does. Can someone please explain the difference in browser behaviour and provide a workaround for Chrome?
Also: whether I do stopPropagation() or not does not seem to make any difference in either browser. Why is that?
PS: No answer yet on this on stackoverflow for weeks:
http://stackoverflow.com/questions/26427603/dragend-on-background-stoppropagation-does-not-work-in-chrome-36
Would appreciate your help.

Thank you for the explantation. However, I am irritated that you are not able to reproduce the behavior. Even in Chrome 39, the click after the non-empty dragend on the background is not suppressed!


Allow simulations including leap days

Describe the solution you'd like
It would be great if SAM could produce outputs including leap days, if provided with input weather files that include leap days. Currently, it seems that SAM can accept weather files that include leap days (at least via PySAM, as of PySAM version 2.2.2), but that the outputs never have them. The following forum post seems to confirm this: https://sam.nrel.gov/forum/forum-general/3722-accounting-for-daylight-saving-time-dst-in-electricity-rates.html#10448

Hi @danielolsen ! Thanks for the issue! This is definitely on our wishlist. We currently have it posted on the SSC repo, where the underlying algorithm lives: https://github.com/NREL/ssc/issues/604 . I'm closing this issue but will copy your comment over to the other issue to make note of the multiple requests for the feature!


compiler errors

I'm assuming that because this is for AHK 2.x, it won't compile for v1.33?
I'm seeing errors with some functions.  One example:
(266) : ==> Call to nonexistent function.  Specifically: FormatTime(, "yyyy/MM/dd hh:mm:ss")

Correct - its intended for use with Autohotkey V2.
As the Readme states, this library was developed with AHK V2.0.a100 - and would not work with more recent versions of AHK v2 due to many breaking changes. It needs to be updated ... ;-(


Missing documentation for using argparse to parse arguments in options file

It is possible to parse arguments via argparse in options files, via
from k4FWCore.parseArgs import parser
# use parser as any other ArgumentParser

This is undocumented at the moment.

[ ] https://github.com/key4hep/k4FWCore/pull/169
[ ] https://github.com/key4hep/key4hep-doc/pull/58


how to augment images with png format?

i want augmented images in png format

for me its working. i enter the path where the images are located and generate them...


Web development

Fixed the Server
Finished the integration with real data

I merged this into my branch and made a couple changes. All of this should be included in the file-watching PR.


Add photo of self

This issue will include formatting and placing the image in the website.  The image size and shape will be determined here.

Image was added and was formatted to fit home section


generate env.json in the deploy pipeline

Implemented in https://github.com/Staketab/mina-names/pull/25


How to use ractive.set without firing ractive.observe?

Description:
I need to update a variable of a component, so I use this.set("myvalue", 5), but this triggers this.observe('myvalue', function(_new){}) also, which leads an endless loop (because of my handler I just passed to this.observe()).
That's why I need to update a variable without triggering this.observe(). Is this possible?
Versions affected:
0.9.0

Does the observer also set it to a different value, causing the infinite loop? Or am I missing something?

You can use a strict observer if you === comparisons are ok for the observer. Otherwise, you can silence the observer while you're setting and resume it afterwards.

@fskreuz yes. When a value is got from the network source, it is .set() to the component variable. If the component's variable is changed within webapp, it is sent to the network source. As the newly received value causes re-send of the exact same value, it causes an infinite loop.
@evs-chris I didn't understand how to use "a strict observer". Is it somewhere in the documentation?

It's an option. See https://ractive.js.org/api/instance-methods/#ractiveobserve

Unfortunately {strict: true} has no effect in my case. I had solved the problem by "silencing" the observer:
        __ = this
        silenced = no
        @observe \testValue, (_new) ->
            if silenced
                silenced := no
                return
            log.log "sending #{_new}"
            actor.send-val _new

        actor.receive = (msg) ->
            silenced := yes
            __.set \testValue, msg.payload.IoMessage.val

It looks a bit dirty. I wish we had ractive.set('keypath', value[, {fireObserver: false}) option.

@ceremcem silencing is actually built in to observers in 0.9, though it looks like I missed that part in the API docs.
        __ = this
        handle = @observe \testValue, (_new) ->
            handle.silence
            log.log "sending #{_new}"
            actor.send-val _new
            handle.resume

        actor.receive = (msg) ->
            __.set \testValue, msg.payload.IoMessage.val

I think. I haven't played with livescript in quite some time. You may also have to adjust it a bit if the actor is asynchronous.

Following code works as expected:
        __ = this
        handle = @observe \testValue, (_new) ->
            log.log "sending #{_new}"
            actor.send-val _new

        actor.receive = (msg) ->
            handle.silence!
            __.set \testValue, msg.payload.IoMessage.val
            handle.resume!

Looks quite nicer. Thank you!


Hotkey support for palette

Hotkeys for elements are read from corresponding metamodel XML. Disabled elements can not be added. Hotkeys conflicts are forbidden by hotkey manager itself.

посмотрел, как поправите --- отпишитесь

Вроде починили наконец


Offer accurate, open-ended licensing suggestions.

Hi @pjbull,
This change alone would fix #102! Not that we couldn't take it even further...
Thanks for sharing your thoughts.
Best,
Marianne

Thanks!
Could you also add the BSD 3-clause license text in the LICENSE file? (currently selecting that option does nothing)
https://github.com/drivendata/cookiecutter-data-science/blob/master/{{ cookiecutter.repo_name }}/LICENSE#L1
Also, let's say "No license file" as the third option, just to be explicit.

@pjbull Right, I thought about the {{ cookiecutter.repo_name }}/LICENSE afterwards! Done.

Thanks @mkcor!


Add napari-hub description

Closes #142

Codecov Report

Merging #146 (2df120c) into main (51bb9d0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   80.79%   80.79%
=======================================
  Files          13       13
  Lines        1432     1432
=======================================
  Hits         1157     1157
  Misses        275      275

Continue to review full report at Codecov.

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

Closing as #150 added a simple .napari-hub/DESCRIPTION.md.


mkcloud: safely onadmin and onhost

run all onadmin and onhost functions with safely
Could be alternative fix to PR #1338

let's see how gating does. If it works I'll drop #1338 .

The failure in gating could be fixed with this PR: https://github.com/SUSE-Cloud/automation/pull/1349

PR #1349 was merged, retriggering gating job


[Kernel] Fix input for flashinfer prefill wrapper.

fix https://github.com/flashinfer-ai/flashinfer/issues/362

/ready

@LiuXiaoxuanPKU Just for a heads up: we just upgraded the PyTorch and FlashInfer versions in #6951


templates/pre-install-secret.yaml not present

Hi
The start_vmr.sh script references a template called templates/pre-install-secret.yaml. This file isn't present in the templates directory.

Please do a git pull. This is already addressed in f8b2e6b.

It seems this can be closed now.


Text trims incorrectly when CJK characters sits between half-width brackets

Describe the bug
Text trims incorrectly when CJK characters sit between rounded brackets. English characters seem to be working fine. Full-width brackets work fine as well.
To Reproduce
Here's a sample code:
<StackPanel>
        <TextBlock FontSize="40" TextTrimming="CharacterEllipsis" Text="这里有一些中文字符 (放在一个英文括号里面)"/>
        <TextBlock FontSize="40" TextTrimming="CharacterEllipsis" Text="Here are some English texts (in round brackets)"/>
</StackPanel>

With avalonia it produces this:

However, just as what WPF shows, it is supposed to be something like this:

Environment

OS: Windows
Avalonia-Version: 11.0.6

Might be fixed by: #16919

Thanks for your attention, but it doesn't seem to be fixed on my side with Avalonia 11.2.3, or with the prerelease version mentioned in the pull request 11.3.999-cibuild0053672-alpha, or the lastest pre-release version 11.3.999-cibuild0054097-alpha


Add --kubelet-enabled to bootstrap script for experimental use

Issue #, if available:
N/A
Description of changes:
I'm looking to add Custom UserData and AMI support within Karpenter for the AWS provider.
We've decided to add support as described here using a sandwich like model where UserData is executed in three distinct segments -
Karpenter Managed -> User Managed -> Karpenter Managed.

In the first segment, we intend to complete bootstrapping but not start the kubelet.
In the second segment, custom user data is executed and at this point you can either perform any package installation, or even directly modify kubelet parameters if desired.
In the third and final segment, all Karpenter will do is start the kubelet.

This change in the AMI enables Karpenter to use this model of UserData merging.
We can potentially extend this ability to Managed Nodegroups. This should be backwards compatible with how Managed Nodegroups currently functions and if we move to a UserData sandwiching model, we can then let everyone modify kubelet or container-runtime params without needing the Custom AMI mode.
How was this tested?

I created an AMI in my AWS account by running make 1.21 with these changes.
I launched some worker nodes using this AMI to verify that

There was no regression in the script and it still behaves as before when this flag is not provided.
When specifying the flag as --kubelet-enabled false, I verified that all the bootstrapping was complete and only the kubelet wasn't enabled. I used the ssm-agent running on the node to enable the kubelet and the nodes joined the cluster thereafter.
Used a MIME multi-part choice to simulate the UserData sandwiching and made sure that worked too.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It's also leaks the details of bootstrap.sh in the sense that users would depend on the location of config files.

Yeah I think this is fair. I've gone back and forth on whether we want the bootstrap script to be the one merging configuration or rather relying on the UserData author to do it. I think the flexibility this provides is that you've got the ability to make any customization what so ever and you don't need to tailor the bootstrap script to each use case since that requires a new flag each time. For example, overriding containerd config in #848 which would be additional surface for the bootstrap script). I do think this scales best, but I agree that this is essentially pushing the complexity off to the UserData author.

I'd prefer to go with --kubelet-extra-config and --containerd-extra-config if it would cover Karpenter's use case?

This doesn't entirely solve Karpenter's use case either since users of Karpenter would need some way to wire through this configuration, thereby expanding the API surface in the Karpenter's provisioner API. eksctl currently has as a field kubeletExtraConfig which is something we're looking to avoid in the Karpenter API. The Managed Nodes API doesn't accept something like kubeletExtraConfig, which is why this wouldn't help the use case that #855 was targeting either. I think a UserData only approach through some form of a runtime contract probably keeps everyone's APIs clean.
Maybe an alternative for us is that these args are pointers to files rather than stringified JSON / TOML? We can then have Karpenter and Managed Nodes pass in a hardcoded file name - and have those two services inform their users that they need to always populate those files if they want add additional configuration. It should also unblock eksctl I think.

@suket22 what you're doing is similar to what I do with current MNGs; I opened #855 to make the process easier (e.g. not have to manually modify bootstrap.sh).
This pattern should also work for your use case if you make each user data section a separate text/x-shellscript mime part. In the first mime part you need to replicate #855 (until it's merged) and then in all subsequent sections you need to source /etc/profile.d/bootstrap-env.sh at the beginning and save any variables you want persisted to subsequent sections into /etc/profile.d/bootstrap-env.sh at the end.


When I installed BAZEL, there was such a problem,

When I installed BAZEL, there was such a problem, how to solve
The term 'convertfrom-json' is not recognized as the name of a cmdlet

The specific mistake is this:
ERROR: The term 'convertfrom-json' is not recognized as the name of a cmdlet,
Nction, script file, or operable program. Check the spelling of the name, or
A path was included, verify that the path is correct and try again.
The install of bazel was NOT successful

@tiantianwei When you created this issue, it appears you did not read the following:

THIS REPOSITORY IS DEPRECATED. DO NOT CREATE AN ISSUE HERE.
You are looking for https://github.com/chocolatey/choco instead. Thanks!

Note that it is still in your issue comments. Please advise on how we can make that clearer?

Are you saying that BAZEL package has a problem, or a CHOCOLATEY packet has a problem, should not BAZEL package, because I tried the 0.4.3 version, it had the same problem, but if the CHOCOLATEY package, you are maintenance staff

@ferventcoder
Are you saying that BAZEL package has a problem, or a CHOCOLATEY packet has a problem, should not BAZEL package, because I tried the 0.4.3 version, it had the same problem, but if the CHOCOLATEY package, you are maintenance staff

@ferventcoder
I am a Chinese, you can read Chinese

I am a Chinese, can you read Chinese? @ferventcoder

@ferventcoder
I am a Chinese, English is not very good, can you read Chinese?

@tiantianwei I can not read Chinese. :D
I am not a maintainer of the Bazel package on the community repository. You will want to follow up with the folks that are. At https://chocolatey.org/packages/bazel

When you do followup, please tell them that they are using 'convertfrom-json', which is not available in PowerShell v2.

@ferventcoder
Well, thank you very much.


[Playground] Learning Paths: Cloud Native tutorials with Meshery Playground

Current State:
Learning paths with courses that have hands-on labs like https://layer5.io/learn/learning-paths are an excellent resource for DevOps engineers and others training on cloud native technologies. The live cluster environment in the Meshery Playground is an ideal environment for these hands-on labs and Meshery is an ideal tool for learning every kind of cloud and cloud native technology. Meshery Docs / Meshery Playground is currently missing tutorials and scenarios that walk-through common infrastructure management scenarios - the content for these labs is missing and needs to be developed.
Desired State:
A section of Meshery Docs can be dedicated to these courses and hands-on labs with Meshery. Previously, Meshery Docs had embedded Katacoda scenarios, but Katacoda is no longer available. The Meshery Playground makes for a powerful replacement. Written labs / tutorials containing commonplace infrastructure management scenarios are needed, however. Both video recordings using the Meshery Playground can be used to walk-through these scenarios and so can students be invited to perform the labs interactively in the live cluster in Meshery Playground.
Checklist of suggested tutorials
All the scenarios need to be replaced using above mentioned desired state.

[ ] #9833
[ ] #9869
[ ] #9870
[ ]
[ ]
[ ]

Current Behavior

Desired Behavior

Implementation

Acceptance Tests

Mockups

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@leecalcote may I work on this issue?

@anshikavashistha thanks for jumping in! 👏 Yes, would you like to take a crack at one of the child issues from the list in the description? Not knowing you experience level and comfort level, let's agree to have you give one of them a shot while leaving the assignment open until you've demonstrated that you're supremely confident in your ability to complete the tutorial. Does that sound appropriate or are you already quite well-versed here?

Thank you for this amazing opportunity .I am a beginner to this org
Perhaps ,I will try my best to complete the assignment

Hey @leecalcote I would like to work on https://github.com/meshery/meshery/issues/9869

@chiragbiradar, excellent. Level of comfort with Kubernetes? Familiarity with Jekyll?
@anshikavashistha, any progress to report?

@leecalcote
I am good at Kubernetes but not familiar with Jekyll.

@leecalcote currently working on it but not much familiar with the tech stack

@chiragbiradar you may go ahead ,you have more familiarity with the tech stack

@leecalcote I am good at Kubernetes but not familiar with Jekyll.

Hi, @chiragbiradar ,
the child issues under this epic, don't need any jekyll knowledge as such, the structures is already provided in each one of them.

@vishalvivekm Ok then I will start working on it

Hello @leecalcote / @vishalvivekm
Are these child issues still open for contributions? (It appeared so after looking at them). If yes a few questions please:

The desired state refers to a separate section in the docs, should it be a primary section like "overview / concepts"? Or a sub-section under one of them. Any preferred name for the section?
I am assuming as a first step written labs are required first, the video recordings are something separate?

I have a few years of K8s experience, (I had the certs too but did not renew after expiry) and I am familiar with jekyll (have built a couple JAMStacks).

Yes, they are open for contribution; ripe for the picking.

Yes, there will be a dedicated Tutorials section. Perhaps, under Guides or another existing section. This PR is related to figuring that out - https://github.com/meshery/meshery/pull/9868.
Yes, however, both can be done at the same time or maybe there's no video at all. We're at the beginning of figuring out which format or combination works best. Much depends on the individual doing the recording. Could be quite short 30 seconds or less, or could be a full example of the entire tutorial.

@sangramrath, thank you for speaking to your experience and comfort level with the technology at-hand. This is most helpful. Let's get one of these into your hands so that you might take a crack at one, yeah?

Sure thanks @leecalcote. May be the sub issue #9870 (pods)?

@sangramrath, excellent. If you'll comment on the issue, I'll see that it's assigned. I've gone ahead and sent a Playground-entitled invite to your gmail address.

Hello @leecalcote is there a support channel in slack for the playground? Or may be a documentation? I looked at the usual places such as docs.meshery.io but didn't find anything specific.
I am having a few issues and I am not sure if that should be expected.

@vishalvivekm as you work through a layout and collection structure, should the model or a category be used in the URL path? https://github.com/meshery/meshery/issues/9870#issuecomment-1967188392

@sangramrath I missed one of your earlier questions about Docs for the Playground / MeshMap. Here's a link to the docs site for MeshMap - https://docs.layer5.io/meshmap

@vishalvivekm as you work through a layout and collection structure, should the model or a category be used in the URL path? #9870 (comment)

Currently, we aren't storing the tutorials inside a dedicated collection (we might in future as they grow in number).
For now, all of them will initially reside in guides/tutorials/ and will be grouped model-wise.
in that sense, type and model are important variables.


MqttCommunicationException when connecting to Mqtt broker running on Kubernetes

Hi,
I am running a Mqtt broker as a container on my local Kubernetes cluster. Right now I am using MqttNet as anonymous without username and password in my web api which is also running as container on the Kubernetes cluster and then trying to interact with the MQTT broker. Right now I am getting the below error:
Connection id "0HMEJVU79R6PI", Request id "0HMEJVU79R6PI:00000002": An unhandled exception was thrown by the application.
System.AggregateException: One or more errors occurred. (Error while connecting with host 'mqtt-service.default.svc.cluster.local:1883'.)
 ---> MQTTnet.Exceptions.MqttCommunicationException: Error while connecting with host 'mqtt-service.default.svc.cluster.local:1883'.
 ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (111): Connection refused [::ffff:<IP_ADDRESS>]:1883
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)
   at System.Net.Sockets.Socket.MultipleAddressConnectCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.<>c.<ConnectAsync>b__277_0(IAsyncResult iar)
--- End of stack trace from previous location where exception was thrown ---
   at MQTTnet.Implementations.CrossPlatformSocket.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at MQTTnet.Implementations.CrossPlatformSocket.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Internal.MqttTaskTimeout.WaitAsync(Func`2 action, TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at DockerizedTestAPI.Controllers.WeatherForecastController.Get() in /src/Controllers/WeatherForecastController.cs:line 69
   at lambda_method(Closure , Object , Object[] )
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Below is my connection code:
IMqttClient _mqttClient = new MqttFactory().CreateMqttClient();

            var clientOptionsBuilder = new MqttClientOptionsBuilder();
            clientOptionsBuilder.WithTcpServer("mqtt-service.default.svc.cluster.local", 1883);

            MqttClientConnectResult result = _mqttClient.ConnectAsync(clientOptionsBuilder.Build()).Result;

My mosquitto.conf file is:
listener 1883 <IP_ADDRESS>
allow_anonymous true

I am also using the below MQTTNet version:
 <PackageReference Include="MQTTnet.AspNetCore" Version="3.1.1" />
Is it mandatory to configure username and password if using MqttNet or if we dont it still work as "Allow Anonymous"?
I dont know if this is the right place to ask the question since it also involves Kubernetes.
Please guide.

"Anonymous authentication" should work if you don't set username and password, I guess...

Connection refused is a pretty good hint and indicates that it is not an authentication issue. The issue is listener 1883 <IP_ADDRESS> in the mosquitto.conf. Accessing a pod from outside (via service or directly) requires binding to <IP_ADDRESS>. With <IP_ADDRESS>, Mosquitto is only accessible from within the same pod (can be a different container though).

I assume this was a configuration issue with Kubernetes so that this ticket can be closed.


Microsoft Azure Backup can not be searched after deploy the configuration server through OVA template in Windows Server 2016.

[Enter feedback here]
User said that the Microsoft Azure Backup can not be searched in Windows Server 2016 after complete the following action.

Deployment of configuration server through OVA template (https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-deploy-configuration-server).
The OVF image is build on Windows 2016.

We can not verify it due to our limited description in Azure China Cloud(https://portal.azure.cn).
Thanks and Best Regards!
Edward Chen
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d72ac543-7402-d3c3-150f-b85f009abe2c
Version Independent ID: f613426a-e18f-81ef-ddca-d2646e157cb1
Content: Troubleshoot replication issues for disaster recovery of VMware VMs and physical servers to Azure by using Azure Site Recovery
Content Source: articles/site-recovery/vmware-azure-troubleshoot-replication.md
Service: site-recovery
GitHub Login: @mayurigupta13
Microsoft Alias: mayg

@rockboyfor Thanks for the comment. Is there something specific question you have or is there something  you would like to change, update in the referenced doc?
Please clarify.

@rockboyfor any update please?

@rockboyfor
We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Add ability to skip tests

Should we extend the window.test object to include all of the functions and properties instead of exclusive ones like .only and .skip?

Yeah, I suppose it would be better to just maintain feature parity with mocha's it object so that it doesn't surprise anyone.


Update submodules fmt, googlettest, substrait, yaml-cpp.

Thanks for your contribution, can you describe why we need to upgrade these tsubmodule expect the substrait?

I'm only really interested in updating the substrait, the rest are along for the ride as they are likely just as out of date as the substrait submodule.


slurm: 17.02.6 -> 17.02.9 for CVE-2017-15566

Motivation for this change
Older version downloads of slurm have been removed. This patch version includes only minor changes from previous. (There is a newer 17.11 series as well, but it's a larger change.) Tested built clients in live slurm env.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thank you! Also pushed to stable in bd9512f2171a5e370e67f3ade0c695fa481d4eec.


Plural form of properties in RDF ontology

The RDF ontology defines plural forms of some properties like submodelElements as can be seen here:
https://github.com/admin-shell-io/aas-specs/blob/e7fe85877c616838a59e17b1f90b038372ca9362/schemas/rdf/rdf-ontology.ttl#L2366
The examples use properties in singular form:
https://github.com/admin-shell-io/aas-specs/blob/e7fe85877c616838a59e17b1f90b038372ca9362/schemas/rdf/examples/Submodel_SubmodelElement_Example.ttl#L69
Probably the plural forms are wrong as ontologies usually define singular forms for multi-valued properties.

Hi @kenwenzel ,
Thanks for submitting the issues!
The reason behind the plural forms is that the code in  https://github.com/admin-shell-io/java-model is automatically generated based on it and thus the properties need to coincide with the JSON and XML schema.
The examples are indeed outdated and we are preparing the new ones for V3RC02.

Please have a look at the branch https://github.com/admin-shell-io/aas-specs/tree/draft-V3RC02-schemas for the latest development.
@changqin26 FYI

Thank you for the quick response. The properties are indeed in singular form now. That is good.
Do you think it is also possible to move all properties into the AAS namespace as mentioned in issue #43 for V3RC02? This would really simplify the usage of the RDF syntax.
If property ranges are an issue then OWL local property restrictions can be used to express them.
The attributes in the XML serialization are also not in different namespaces.

@kenwenzel I'm closing the issue for now as it seems to be fixed. Please re-open, or better re-create a concrete issue for V3RC02.


Change molecular_db.citation to use tiptap rich-text

As discussed, it's better for security if we avoid sending user-supplied HTML to the browser, so this converts the molecular_db.citation field to tiptap JSON rich-text. I manually validated the values defined in the migration script by copying them to project descriptions and ensuring they didn't make any console errors when loaded.
I didn't convert the description field, because I realized that we currently display that as inline text, and it would complicate things if we had to support that in the UI.
I also included several small tweaks:

Gracefully return no data from Dataset.fdrCounts if ds_moldb_ids doesn't exist in the elasticsearch record, instead of erroring and breaking the whole query
Updated PRODUCTION_UPGRADE.md (@richardgoater please read the changes)
Increased the graphql test timeout. Unfortunately I haven't been able to figure out the cause of the lag, but sometimes the first test is delayed by up to 50 seconds, usually causing it to timeout in CI.

@richardgoater

LGTM, but this still needs a corresponding front-end update?

citation is a new field in the feat/custom-moldbs branch. The front-end currently just uses hard-coded data in the DatabaseDescriptions.vue component. It will be part of your front-end task to integrate the new dynamic database description, link & citation fields into the UI.


I cant debug my launch chrome or javascript its errors always

Type: Bug
when I try to debug my html file Its directs me a popup page... And when I try to debug my js code it doesnt debug
VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:41:44.469Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
19.83GB (11.21GB free)

Process Argv
--crash-reporter-id 28d2c594-a78c-45d0-9e56-b2f9cbb7bb42

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

python-image-preview
076
0.1.2

better-comments
aar
3.0.2

launch-config
Art
0.8.4

tf2snippets
cha
0.1.0

my-txt-tool
cpf
0.2.1

prettier-vscode
esb
10.1.0

auto-rename-tag
for
0.1.10

vscode-gutter-preview
kis
0.30.0

ReactFlowSnippets
lsa
0.2.17

debugpy
ms-
2024.2.0

python
ms-
2024.2.1

vscode-pylance
ms-
2024.2.3

vscode-css-peek
pra
4.4.1

LiveServer
rit
5.7.9

es7-react-js-snippets
rod
1.9.3

launch-vscode
sol
0.0.2

txtx
txt
0.1.6

tensorflow-snippets
vah
0.3.3

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30981707
cppperfcontrol:30979541
d34g3935:30971562
fegfb526:30973843
bg6jg535:30979843
8f97e687:30977000
dsvsc020:30976470

Please more details or logs
/jsDebugLogs

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[v6 rc3] FieldArray fields.remove bugged when using Immutable

Using Immutable and FieldArray. When the form is fresh, adding and removing fields works normally. But when a Field inside FieldArray has touched (maybe with other flags too, didn't test yet) and then trying to apply field.remove on that Field, the following error shows up:
Uncaught TypeError: list.splice is not a function
Digging in the debugger, it seems that the error comes from redux-form trying to apply list.splice on a Map (which fails obviously as splice is a List only method).

In case you still have problems, please open a formal bug report.
Otherwise, please ask for help at StackOverflow.


Fix #2289: Management provider information lost after failover

Requires https://github.com/Terracotta-OSS/terracotta-platform/pull/445
See https://github.com/Terracotta-OSS/terracotta-platform/pull/445 for explanations

@mathieucarbou : does not compile ?
09:17:00       managementRegistry.entityCreated();```

@anthonydahanne : see PR description... It needs https://github.com/Terracotta-OSS/terracotta-platform/pull/445 and a release first!

test this please