IDE proposal: WoCCode

Women of Color (WoC) -- which includes Black, indigenous, and Latinx
minorities -- are the most underrepresented demographic from high
paying industries, including software engineering. Yet WoC are flush
with the talent, creativity, and social insight to solve complex
problems and lead in the software industry. This program seeks to
unite WoC and other members of minoritized groups, to battle feelings
of isolation and marginalization that are prevalent in educational
institutions and industry settings. Using a dedicated Slack space and
cohorts of 4-5 people, we will create a peer mentoring network for WoC
and members of other minoritized groups to engage, receive feedback,
and troubleshoot issues around their participation in open source
software communities, including Astropy.

I have little experience with program like this. It seems to me that finding the participants might turn out to the the hard part. Has anyone run similar program in the past and can speak to that?

Another thought: This program plans to distribute funds in small amounts over a relatively large number of people (all moderators, participants, speakers etc.). That means that there will be large number of people benefiting financially, but this program alone will about triple the number of people paid from Astropy funds. I'm not saying it can't be done, but I want to point out that there is some work to set that all up through NumFOCUS.

@hamogu I plan to use my position in the AAS Committee for the Status of Minorities in Astronomy (CSMA) to advertise and recruit. I also participate in a peer-mentoring program for women of color that has made a big difference over the course of my career, and I based the mentoring cohort model off of that. The once monthly webinar series is based on my experience organizing the MKI Code Coffee events.

Also regarding compensation, @hamogu, I'm not sure if an honorarium requires tax forms. Perhaps we can ask NumFOCUS if there are methods to pay small amounts (e.g., the same as it would be for a reimbursement for something small like a dinner).
If that doesn't work, I can look into awarding this as a grant through my university. I know we are able to pay out small amounts to anyone fairly easily.

I'm not sure if an honorarium requires tax forms

I suppose it does, but you need to check with numfocus. Also, e.g people on visa tied to their employment  are not allowed to take any honorarium as it's a form of income.

I have updated the PR to reflect discussions in this thread.

The consensus of those community members who chose to participate in the discussion was that this project should be funded. The coordination committee announced that in an email a few days ago. This comment is just to update the issue with that result. Congratulations! I hope that this will be a very successful program!
Please move forward with planning and contact the finance committee about all financial details.


Add items without animation

Hello! Please, help me. I want to add items without animation. But I can't.
I tried to set up none animation
        let updater = TableViewUpdater(tableView: tableView)
        updater.insertRowAnimation = .none
        updater.reloadSectionAnimation = .none
        updater.reloadRowAnimation = .none
        manager.tableViewUpdater = updater

It doesn't work.

Hi!
Assuming we are talking about MemoryStorage, there are several ways to make this happen, but i would say the most reliable of them would be something like this:
var items = manager.memoryStorage.items(inSection: 0) ?? []
items.append(contentsOf: [newItems])
manager.memoryStorage.setItems(items, forSection: 0)

Translating to UIKit API, this basically changes datasource for section 0, and calls reloadData on UITableView, so there would be no animation happening.
Alternatively, if you want to change multiple sections at once, you could modify sections directly, getting them from manager.memoryStorage.section(at: 0) as? SectionModel, and then calling manager.memoryStorage.storageNeedsReloading(), which again would call UITableView.reloadData method.

Many thanks!


Specify iOS Plugin Class

The pubspec.yaml file doesn't specify the iOS plugin class name, so it was not included when brought into a flutter app resulting in MissingPluginException when trying to create the PDF. The pubspec.yaml has been missing this for more than just version 0.6.0, so I'm not sure what was happening before. I noticed some podfile changes in the previous PR. I wonder if they were the cause of this popping up. Either way, adding an iOS specification to the pubspec.yaml file fixes this issue.

Just wanted to bump this one @Afur

Just another friendly bump, thanks!

@bdlindsay I have just stumbled onto this issue too, I got the package working by including FlutterHtmlToPdfPlugin rather than SwiftFlutterHtmlToPdfPlugin. Looking FlutterHtmlToPdfPlugin.m it calls SwiftFlutterHtmlToPdfPlugin but it itself is called FlutterHtmlToPdfPlugin


Add beat ratio display after AC

Sample output:
✔ Accepted
✔ 1562/1562 cases passed (53 ms)
✔ Your runtime beats 74.21 % of java submissions
Signed-off-by: Fan Zhenya<EMAIL_ADDRESS>

@skygragon

Sorry I'm busying in work those days, will get back to u this weekend I hope :)

Thanks for contributing this!

@skygragon  happy coding :)


Attempt optimize draw map

worked on a test to make sure nothing breaks when optimize code. It is a lot easier to deal with than doing manual tests.
If you want to try out the test call it using pytest.
tests/map1.png is the file it verify against to make sure the method makes a correct image.
I also notice that I can almost not see height (I have a bright monitor, perhaps it is easier for you to see)

Yeah the height colour difference is extremely minimal right now. The height recolour would need a more complex math for it to be more apparent.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_98373772-e9a2-4be8-aaea-33f311b593bd/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_98373772-e9a2-4be8-aaea-33f311b593bd.git

Docs Build status updates of commit b7b4fcf:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_main_2022-03-14-02-11-50 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


do syntax incorrectly recognises a method called do

I am trying the rxjs stuff and they have a method called do: https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/do.md. When I use this method in live script, it transpiles it into ['do'] rather than leaving it as a method do().

That's probably not needed, but that's not a bug either. It does the same.

Javascript has a do {} while () statement, therefor do is a language keyword, therefor it's not allowed as a object key in pre-es5 engines. :balloon: Legacy!


Vendoring dependencies of the nocode project

This PR adds a vendor directory.
This is obviously an empty directory since there are no dependencies.

Probably best not to put anything into the container if we don't need to.

There's already a PR for a .dockerignore file, I prefer not to interfere with it right now.

I would propose to have composer.json with name and description only)

No code is the best way to write secure and reliable applications.
No PHP, double so.


normal contractile ring maturation PMID:34133210

NTR normal contractile ring maturation
(this is the phase between assembly and constriction referred to in GO as 'maintenance but seems to be called more commonly 'maturation' in publications.

Also
'premature protein localization to cell division site'

normal contractile ring maturation
(this is the phase between assembly and constriction referred to in GO as 'maintenance

Does this mean that GO:1902406 is the GO term to use in a logical def?

Yes,  To be sure I'm going to double check this with Kathy  and MAriaSanta so you might want to hold on...

new terms
normal actomyosin contractile ring organization FYPO:0007827
normal actomyosin contractile ring maturation FYPO:0007828
premature protein localization to cell division site FYPO:0007829
renamed FYPO:0007127 to use "maturation"


Getting error when converting emotions mobilenet model to tensorflow lite

Hello,
First thank you for your work on this repo.
I got an error when running file to_tflite.py in mobile_app folder on my Mac.
Here is steps which I did:

clone the repo
create env by virtualenv (python3.9)
install tensorflow: python3 -m pip install tensorflow
cd mobile_app
python3 to_tflite.py

I got the error log:
(env) Quans-Mac mobile_app % python3 to_tflite.py
2024-09-26 10:08:17.568254: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
/Volumes/BACKVIET/work/workspace/AndroidStudio/face-emotion/env/lib/python3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
warnings.warn(
app/src/main/assets/emotions_mobilenet
Traceback (most recent call last):
File "/Volumes/BACKVIET/work/workspace/AndroidStudio/face-emotion/mobile_app/to_tflite.py", line 41, in
convert_h5('../models/affectnet_emotions/mobilenet_7.h5', 'app/src/main/assets/emotions_mobilenet',quantize=False)
File "/Volumes/BACKVIET/work/workspace/AndroidStudio/face-emotion/mobile_app/to_tflite.py", line 31, in convert_h5
converter = tf.compat.v1.lite.TFLiteConverter.from_keras_model_file( input_model_file)
File "/Volumes/BACKVIET/work/workspace/AndroidStudio/face-emotion/env/lib/python3.9/site-packages/tensorflow/lite/python/lite.py", line 3220, in from_keras_model_file
return TFLiteKerasModelConverter(
File "/Volumes/BACKVIET/work/workspace/AndroidStudio/face-emotion/env/lib/python3.9/site-packages/tensorflow/lite/python/lite.py", line 2675, in init
keras_model = keras_deps.get_load_model_function()(
TypeError: 'NoneType' object is not callable
Any idea for fix? Thank you

I downgrade the TensorFlow version from 2.16.2 to 2.13.1 yesterday and it works like charms.
Perhaps the reason as you tell above, so i think you the code should be migrated soon to new version of TensorFlow
Thank you for your great work on this repo


Bump analytics to 5.0.1

Update version of the analytics to include these chart bug fixes:

https://github.com/Energy-Sparks/energy-sparks_analytics/pull/658
https://github.com/Energy-Sparks/energy-sparks_analytics/pull/655
https://github.com/Energy-Sparks/energy-sparks_analytics/pull/653

And these non-functional changes:

https://github.com/Energy-Sparks/energy-sparks_analytics/pull/641
https://github.com/Energy-Sparks/energy-sparks_analytics/pull/657
https://github.com/Energy-Sparks/energy-sparks_analytics/pull/652

I guess we could rely on the bundler lock. There are times when we're not ready to release master from the analytics, but switching between versions with known content can be done via bundler. Happy to discuss.


Gradle sync issues when previewing simple composable

OS: Windows 10
IntelliJ IDEA 2022.1.4
`@Composable
@Preview
fun App() {
var text by remember { mutableStateOf("Hello, World!") }
MaterialTheme {
    Button(onClick = {
        text = "Hello, Desktop!"
    }) {
        Text(text)
    }
}

}`
When I want to preview this simple composable I get this error:
Unable to find method 'java.net.URLEncoder.encode(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;'
java.net.URLEncoder.encode(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

With the alpha plugin and IntelliJ 2022.2 its working.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


WIP: implement gedis client to BCDB

Fixes #224

will be merged as part of https://github.com/threefoldtech/zosv2/pull/245


Remove the beam search generator

Hi @pender , first of all, thank you so much for your repo. I found it really helpful for learning about RNNs, the code is enough clear, the model based on reddit well trained and everything is cool.
I have only one curiosity: is it possible to generate the answer instantly from the model, without the char after char generation?
I think that I have understand that this generation effect is in the beam search generator but I can't fully get how it works.
It would be great if the model could write the answer in one instant, or add a parameter by which the user can decide what type of generation use.
Thanks for your work and everything.
Alessandro.

Hi Alessandro, generation for this type of model has to occur one character at a time, because each character is chosen based on all of the previous characters. You can disable beam search by typing "--beam_width 1" during chat, which will make generation faster (and much worse), but it will still choose one character at a time.

@geroale just wanted to share something similar I wanted and how I did it, although it does not return the output instantly, it does return it as a whole (sentence) at once. Usefull for creating APIs or integrating the output in your own code
def chatbot(net, sess, chars, vocab, max_length, beam_width, relevance, temperature, topn, input_text):
    states = initial_state_with_relevance_masking(net, sess, relevance)
    while True:
        #user_input = input('\n> ')
        user_input = input_text
        start_time = time.time()
        user_command_entered, reset, states, relevance, temperature, topn, beam_width = process_user_command(
            user_input, states, relevance, temperature, topn, beam_width)
        if reset: states = initial_state_with_relevance_masking(net, sess, relevance)
        if not user_command_entered:
            beam_width = 1
            states = forward_text(net, sess, states, relevance, vocab, sanitize_text(vocab, "> " + user_input + "\n>"))
            computer_response_generator = beam_search_generator(sess=sess, net=net,
                initial_state=copy.deepcopy(states), initial_sample=vocab[' '],
                early_term_token=vocab['\n'], beam_width=beam_width, forward_model_fn=forward_with_mask,
                forward_args={'relevance':relevance, 'mask_reset_token':vocab['\n'], 'forbidden_token':vocab['>'],
                                'temperature':temperature, 'topn':topn})
            #print(chars)
            out_chars = []
            out = []
            for i, char_token in enumerate(computer_response_generator):
                out_chars.append(chars[char_token])
                out.append(possibly_escaped_char(out_chars))
                #print(possibly_escaped_char(out_chars), end='', flush=True)
                states = forward_text(net, sess, states, relevance, vocab, chars[char_token])
                if i >= max_length: break
            #print("".join(out))
            #print("--- %s seconds ---" % (time.time() - start_time))
            return "".join(out)
            states = forward_text(net, sess, states, relevance, vocab, sanitize_text(vocab, "\n> "))

You just store the characters in var[] and once the loop ends, you join them in a single statement.
PS: My code modification is to return the output, if you want to just print it, comment return line and uncomment print.


Improve "new-menu"

I am not sure what "new-menu" means, but I think we need to fix these problems:

it shouldn't have "stackable", which makes the items stacked when width is small. the new-menu already has overflow: auto
justify-content: center doesn't work with overflow: auto (for small width), so use margin: auto

https://bhch.github.io/posts/2021/04/centring-flex-items-and-allowing-overflow-scroll/

runner-new-menu is dead code (copying & pasting ?)

I think new-menu came from a ancient PR that aimed to improve fomantic's "menu" 😆.


The page crashes after click an inaccessible cluster

Describe the bug
Create an inaccessible cluster. When click the edit button, the entire page crashes and become blank page.
To Reproduce
Steps to reproduce the behavior:

Create an inaccessible cluster.
Select the current cluster and click the edit button.
the entire page crashes and become blank page.

Expected behavior
Should prompt for errors to prevent the entire page from crashing into blank page.
Screenshots

KubeVela Version
1.6.4
Additional context

@zf-git-nj Can you provide the Chrome browser console logs when the page crash?

@barnettZQG Please check the following log.

/assign


Variable in a group JOIN clause added to ORDER BY as a SQL variable

Steps to reproduce
from t1 in _dbContext.Rooms
join t2 in _dbContext.ContentRooms on new { id = t1.RoomsId, lang = _languageId } equals new {id = t2.RoomsId, lang = t2.LanguageId} into gj
from subt2 in gj.DefaultIfEmpty()
select new { t1.RoomsId, Name = (subt2 != null ? subt2.Name : null) };

SELECT [t1].[RoomsId], [t1].[AccomodationsId], [t1].[MinDays], [t1].[PeopleValidForEnd], [t1].[PeopleValidForStart], [t1].[PriceTypesId], [t2].[RoomsId], [t
2].[LanguageId], [t2].[Description], [t2].[Name], [t2].[Subtitle]
FROM [Rooms] AS [t1]
LEFT JOIN [ContentRooms] AS [t2] ON ([t1].[RoomsId] = [t2].[RoomsId]) AND (@___languageId_0 = [t2].[LanguageId])
ORDER BY [t1].[RoomsId], @___languageId_0

The issue
A C# variable in a group join clause (in this case, _languageId) gets added to the ORDER BY statement as a SQL variable.
Exception
System.Data.SqlClient.SqlException: The SELECT item identified by the ORDER BY number 2 contains a variable as part of the expression identifying a column position. Variables are only allowed when ordering by an expression referencing a column name.
 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
         at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
         at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandl
er, TdsParserStateObject stateObj, Boolean& dataReady)
         at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
         at System.Data.SqlClient.SqlDataReader.get_MetaData()
         at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
         at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32
timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
         at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
         at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, String executeMethod, IReadOnlyDictionary`2
 parameterValues, Boolean openConnection, Boolean closeConnection)
         at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues
, Boolean manageConnection)
         at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable.Enumerator.MoveNext()
         at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider.<_GroupJoin>d__26`4.MoveNext()
         at System.Linq.Enumerable.<SelectManyIterator>d__163`3.MoveNext()
         at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
         at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
      ClientConnectionId:7014ceed-b429-4ab8-8af0-a8470783025e
      Error Number:1008,State:1,Class:16

The same query with a literal value sometimes work:
...
join t2 in _dbContext.ContentRooms on new { id = t1.RoomsId, lang = 2 } equals new {id = t2.RoomsId, lang = t2.LanguageId} into gj
...

...
LEFT JOIN [ContentRooms] AS [t2] ON ([t1].[RoomsId] = [t2].[RoomsId]) AND (2 = [t2].[LanguageId])
ORDER BY [t1].[RoomsId], 2

Further technical details
EF Core version: 1.0.1
Related
https://github.com/aspnet/EntityFramework/issues/6145
https://github.com/aspnet/EntityFramework/issues/3036

Is there a way to make this work with only navigation properties?
In this case there are two tables: Rooms and ContentRooms; the latter containing localized content of the former, with as key the Room ID and the Language ID.
I guess the question would be if there's a way to pre-filter navigation properties by some criteria... or to have a virtual Language ID key column in Rooms that takes the value of the language one needs...

Generated Sql after fix:
exec sp_executesql N'SELECT [t1].[Id], [t2].[Id], [t2].[Language], [t2].[Name], [t2].[RoomId]
FROM [Rooms] AS [t1]
LEFT JOIN [ContentRooms] AS [t2] ON ([t1].[Id] = [t2].[RoomId]) AND (@__languageId_0 = [t2].[Language])
ORDER BY [t1].[Id], (SELECT 1)',N'@__languageId_0 nvarchar(4000)',@__languageId_0=N'en'


Google Bard API Support

Would be nice to have the option to use Google Bard to create playlists.  I've noticed from using both openai and bard that they give different results.

Bard does not have and open API (yet) for me to test things out. I can try adding support for importing JSON files (which can be updated using Bard or any other LLM).

Thanks for the quick reply.  Yeah, the API is in beta mode.  No rush, whenever you have the time.  Just thought it would be interesting to see how the services compare.

Completed https://github.com/arsaboo/beets-plexsync/pull/38


Wallet related RPC call failed

Hello, I am needing some help. When I try to start EPS I get the following errors:

INFO:2019-05-01 01:59:08,969: Starting Electrum Personal Server
INFO:2019-05-01 01:59:08,970: Logging to C:\Users\Synaptic\AppData\Local\Temp/electrumpersonalserver.log
DEBUG:2019-05-01 01:59:08,971: obtaining auth from .cookie
ERROR:2019-05-01 01:59:08,985: JsonRpcError({'code': -18, 'message': 'Requested wallet does not exist or is not loaded'})
ERROR:2019-05-01 01:59:08,987: Wallet related RPC call failed, possibly the bitcoin node was compiled with the disable wallet flag

I have already added disablewallet=0 to my bitcoin.conf but the issue persists. I can't get past this point.
This is what my bitcoin.conf looks like:

datadir=X:\Bitcoin\Bitcoin-mainnet
server=1
disablewallet=0

This is running off an external harddrive. any suggestions?

That error is related to Core's multiwallet feature.
Multiwallet mode is activated if bitcoin.conf has multiple wallet lines, eg:

wallet=wallet-file1.dat
wallet=wallet-file2.dat

To make EPS use one of those files, set in config.ini this:

wallet_filename = wallet-file1.dat

wallet_filename is blank by default, that is used when Core is not in multiwallet mode. So maybe your error is because you accidently set wallet_filename to something ?

Thanks, I will try that. I had Pierre Rochard's node launcher also previously installed on this computer, which I believe might had something to do with my error.  So I decided to uninstall and delete everything, so now the blockchain is re-downloading. I'll also try your solution and report back if the problem persists.

I have it working now after deleting node launcher, the blockchain, and re downloading everything. I also launched bitcoind instead of the gui. I was using the gui before. I don't know if that causes a difference in being able to connect the EPS.


'Not equal to' on has_many_through

This issue is related to theforeman issue #7383
When I search on 'relation !=' and I have two relations (which one is = and the other one is !=)it will return on the search results.
Example:
I have a user who belongs to two organizations (organization_id = 3 and organization_id = 4).
When I will search on users 'organization_id != 3' that user will return on the search result.
we thought a nice enhancement on scoped_search would be adding external method by operators:
scoped_search :in => :organizations, :on => :id, :rename => :organization_id, :complete_value => true, :only_operator => '!=', :ext_method => :fix_it_method
scoped_search :in => :organizations, :on => :id, :rename => :organization_id, :complete_value => true

This way, I could build an external method only to that operator.
Do you have a way to ensure that it will not return on the search result?
Thanks,

Closing this as it is working as intended.
Feel free to add any ideas about improvements for :ext_method to #110


Add aborted tests to TRX summary

Description
The current TRX report summary is missing information about various test status, such as aborted, timeout, inconclusive, etc.
Full list is here https://github.com/microsoft/vstest/blob/458e90e8e310b71629953e380ebabcb1546a0ced/src/Microsoft.TestPlatform.Extensions.TrxLogger/ObjectModel/TestRunSummary.cs#L105-L116
Public repro here https://github.com/mfkl/trx-missing-attributes-repro
It would be nice to have this information as part of the TRX summary, which currently only reports failed/passed test information.
I've started by adding the aborted test result info to the TRX summary. If the approach seems fine with you, I'll add the other properties so that the TRX summary is completely filled.
To write the test, I had to modify the following public API src/Microsoft.TestPlatform.ObjectModel/TestOutcome.cs which does not match the internal API src/Microsoft.TestPlatform.Extensions.TrxLogger/ObjectModel/TestOutcome.cs
Related issue
Contribution towards https://github.com/microsoft/vstest/issues/2506

@microsoft-github-policy-service agree [company="{g-research}"]

@microsoft-github-policy-service agree

Hi, could anyone please take a look and provide their thoughts on this?

Thanks @mfkl for the PR, TRX is used in more than one tool and we need to ensure that we're not breaking anybody, at the moment we're busy on higher priority tasks, we'll review and let you know soon as possible but we don't have an ETA at the moment. Thanks for the patience.

Understood, thanks. Will wait for your feedback!

We did some check and for the moment we decided to not take this PR for risky edge cases, we're planning to work on a full review of the TRX format and implementation. Thanks for your contribution.

I think it's really annoying that the TRX says that all of these attributes are zero when it's just making it up. When a sessiontimeout happens (I tell it 300 seconds and it's only run half my tests) it lies and says that the total was some small part of my tests.


Issues while installing homebridge-CT200

Can you help me on this, are these warnings or should do some additional updates?
npm WARN deprecated<EMAIL_ADDRESS>this package is deprecated please use https://github.com/xmppjs/xmpp.js
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>this package is deprecated please use https://github.com/xmppjs/xmpp.js
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this package is deprecated please use https://www.npmjs.com/package/@xmpp/client

These are from dependencies of bosch-xmpp package, which this plugin uses. These warnings are not necessarily bad, but this is something that the developer of bosch-xmpp must fix. Until then, these warnings will remain.
TL;DR You shouldn't be worried. Closing.


Installation progress

When running command "msiexec /i C:\WindowsAdminCenter\WindowsAdminCenter1904.1.msi /qn /Lv log.txt SME_PORT=<port> SSL_CERTIFICATE_OPTION=generate" There is no easy way check when installation is finished. So I would suggest that command could be "Start-Process msiexec.exe -Wait -ArgumentList '/i C:\WindowsAdminCenter\WindowsAdminCenter1904.1.msi /qn /Lv log.txt SME_PORT=<port> SSL_CERTIFICATE_OPTION=generate'"

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

ID: fe84fb4b-3420-bc1e-6a1d-b64ecc56fc5e
Version Independent ID: f089767e-4613-d595-a0ee-0dab012724a1
Content: Install Windows Admin Center
Content Source: WindowsServerDocs/manage/windows-admin-center/deploy/install.md
Product: windows-server-threshold
Technology: manage
GitHub Login: @jwwool
Microsoft Alias: jeffrew

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Attribute with fixed enum value + default/fixed values for elements

Fixes #68
... and a bit more because it turned out as a rabbit hole and I got ambitious.
Background on the bug
There was a DefaultValueType that was identical to ReturnType except enums were typed as string.
The reason is that enums are not returned by XTypedService.ParseValue<E>(attr, type, T defaultValue).
This would be best, and doable in modern .net, but the legacy generation code had to do
(E)Enum.Parse(typeof(E), XTypedService.ParseValue<string>(attr, type, defaultValue))
and that's why defaultValue had to be a string for enums.
That works nicely for default values, but the issue is that the same DefaultValueType was used for fixed values and as the linked issue shows, fixed values must be actual enum type and not strings.
Change 1: Get rid of DefaultValueType, fix fixed enums values
I'm simply using ReturnType instead.
The difference is that enum fixed and default values are now declared with their enum type rather than string.
This change fixes #68, here's one example from AIXM schema:

Note that I also reversed the check in setter from value.Equals(fixed) to fixed.Equals(value).
I was afraid that if the fixed value is a reference type, such as string, users could pass a null value and the check would throw a NRE instead of the more specific error.
Change 2: fix default values
Of course change 1 broke default enum values because now an enum is passed to ParseValue<string> as explained in Background.
If fixed it by handling default attribute values differently. Now they're checked in the getter itself with a if (attr == null) return defaultValue;. A small benefit is that no more parsing is done for default enums as they're not stored as strings anymore.
Here's an example with an enum (from AIXM):

And another example with a decimal (from AIXM):

At this point, overload ParseValue<T>(XAttribute, type, T defaultValue) is not needed anymore.
I left a comment but kept the function so that it doesn't break users who upgrade XObjectsCore without regenerating their code.
Change 3: adding element support
I got ambitious and noted that the code that reads fixed and default attributes in XSD schema was commented for elements.
I added it, but there is one slight difference worth noting.
Fixed values work the same way. The getter is always returning the fixed value; the setter throws if value != fixed and that's it.
The getter for default element values is different though. XSD specs say that default attribute values kick in when attribute is absent, hence my change 2 if (attr == null) return defaultValue. But for elements, XSD specs say that the default kicks in for empty elements. Specifically, missing elements are still considered null/absent. So the codegen differs a bit and I scripted if (elem != null && elem.IsEmpty) return defaultValue.
Example with an enum but other values work the same (from 1707__ISYBAU_XML_Schema):

(Yes that condition is formatted horribly by CodeDOM 😫)

@mamift the legacy CodeDOM is terrible, what do you think of using a template, text-based approach instead (like Scriban)?
I'm not gonna do it any time soon, I don't have the bandwidth for that currently, but I would like to have your opinion.
Is it a future option or is there a showstopper?

Can you please investigate your code further as there are failing tests for this PR, that do not appear in the current master branch:
https://dev.azure.com/mamift1/LinqToXsdCore/_build/results?buildId=302&view=ms.vss-test-web.build-test-results-tab

@jods4 In the future can you also please post code as plain text and NOT as a screenshot.

@mamift thanks for reviewing, I'm gonna take a look at the failing test.
I also just realised that my new support for elements with fixed value is slightly incorrect:
The getter shouldn't always return the fixed value for an element: if the element is optional, null is possible as well.
Likewise the setter for an optional fixed element should accept null as a way to remove the element.
I'll fix this as well.

I fixed several issues with the new default/fixed support for Elements.
Here's a rundown of the issues caught by tests and my last changes:
Test failures
First test failure was caused by complex types in default values of elements...
One example is found in windowsTaskSched.xsd that has elements with fixed empty content (a slightly weird idea):
  <!-- DaysOfWeek -->
<xs:complexType name="daysOfWeekType">
    <xs:all>
        <xs:element name="Monday"       fixed="" minOccurs="0" />
        <xs:element name="Tuesday"      fixed="" minOccurs="0" />
        <xs:element name="Wednesday"    fixed="" minOccurs="0" />
        <xs:element name="Thursday"     fixed="" minOccurs="0" />
        <xs:element name="Friday"       fixed="" minOccurs="0" />
        <xs:element name="Saturday"     fixed="" minOccurs="0" />
        <xs:element name="Sunday"       fixed="" minOccurs="0" />
    </xs:all>
</xs:complexType>

This is a can of worms I don't want to get into -> I have simply opted out when the value is a complex type. Only elements with simple types get default value support (probably the main use case anyway).
The next 3 failures were weird because it was mostly the same files as the first failure, and the file didn't seem to contain typeof(void) anyway... They seem to be gone now except 2 in OfficeOpenXml, I'll check it out tomorrow.
Last failure was funny, it's a limitation of the code that creates initializer for default values that was never noticed before (there are more test cases now that I've added elements to the party).
It detected lists with a simple type_as_string.Contains("List") was can easily lead to false positives! Offender here was AuthorListType in shema Pubmed. To make it slightly more robust I used a regular expression with word boundaries, so that when List is part of another type name it won't match.
Also later I noticed that this method didn't handle nullable type names with a ? at the end properly, which caused new issues so I added this as well.
Feature changes
As I said I realised my handling of fixed values was bad for elements, because they should be handled like defaults: an optional element with a fixed value can still be additionally be interpreted as null when the element is absent.
To support this, the first change is that the return type of an element with default/fixed value remains nullable.
When reading, the codegen still checks whether the element is present before returning its fixed value.
When writing, the codegen of an optional elements accepts both the fixed value and null (which would remove the XElement).
Here are a few code examples after those changes for elements:
An boolean element with fixed value true (I used a locally modified windowsTaskSched.xsd.cs for this as there was no test case readily available):
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static System.Boolean? EnabledFixedValue = System.Xml.XmlConvert.ToBoolean("true");

/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (AllowStartOnDemand?, RestartOnFailure?, MultipleInstancesPolicy?, DisallowStartIfOnBatteries?, StopIfGoingOnBatteries?, AllowHardTerminate?, StartWhenAvailable?, NetworkProfileName?, RunOnlyIfNetworkAvailable?, WakeToRun?, Enabled?, Hidden?, DeleteExpiredTaskAfter?, IdleSettings?, NetworkSettings?, ExecutionTimeLimit?, Priority?, RunOnlyIfIdle?, UseUnifiedSchedulingEngine?, DisallowStartOnRemoteAppSession?)
/// </para>
/// </summary>
public virtual System.Boolean? Enabled {
    get {
        XElement x = this.GetElement(EnabledXName);
        if ((x == null)) {
            return null;
        }
        return EnabledFixedValue;
    }
    set {
        if ((EnabledFixedValue.Equals(value)
                    || (value == null))) {
        }
        else {
            throw new Xml.Schema.Linq.LinqToXsdFixedValueException(value, EnabledFixedValue);
        }
        this.SetElement(EnabledXName, value, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Boolean).Datatype);
    }
}

Here's an element with a default value, from the same schema:
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static System.TimeSpan? ExecutionTimeLimitDefaultValue = System.Xml.XmlConvert.ToTimeSpan("PT72H");

/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (AllowStartOnDemand?, RestartOnFailure?, MultipleInstancesPolicy?, DisallowStartIfOnBatteries?, StopIfGoingOnBatteries?, AllowHardTerminate?, StartWhenAvailable?, NetworkProfileName?, RunOnlyIfNetworkAvailable?, WakeToRun?, Enabled?, Hidden?, DeleteExpiredTaskAfter?, IdleSettings?, NetworkSettings?, ExecutionTimeLimit?, Priority?, RunOnlyIfIdle?, UseUnifiedSchedulingEngine?, DisallowStartOnRemoteAppSession?)
/// </para>
/// </summary>
public virtual System.TimeSpan? ExecutionTimeLimit {
    get {
        XElement x = this.GetElement(ExecutionTimeLimitXName);
        if ((x == null)) {
            return null;
        }
        if (((x != null)
                    && x.IsEmpty)) {
            return ExecutionTimeLimitDefaultValue;
        }
        return XTypedServices.ParseValue<System.TimeSpan>(x, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Duration).Datatype);
    }
    set {
        this.SetElement(ExecutionTimeLimitXName, value, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Duration).Datatype);
    }
}

Considerations about setting attributes to null
It occured to my that setting a default/fixed attribute to null can make sense as well, because it would remove the XAttribute from document.
The problem is that when using value types this is impossible unless the property type is changed to a Nullable, which is a big source-breaking change. In addition, this is quite an edge case whereas reading the non-nullable default value is the main, common use-case. So I did not do it. Default/Fixed attributes are always non-nullable. The workaround to remove them from document is to remove the XAttribute from Untyped, I guess.
For reference types, this could be done with [AllowNull] on the property and code similar to elements in the setter. I did not do it because I don't think it's worth the effort. It could always be added later.

The two new failures were caused by being more strict on Contains("List")... sometimes it's actually IList.
This string-based type detection is very finicky. I have fine-tuned the Regex a bit.
(FYI any Debug assertion or exception is reported by the "no typeof(void)" test although the cause is quite different from what the test report says.)
I had some temporary failures not related to this PR but to DateOnly / TimeOnly and maybe I'm tired but I don't understand.
There are two build targets: .net standard 2.0 and .net 6.0. The former doesn't support DateOnly/TimeOnly, yet the code compiles without #if? I also notice that when parsing I'm calling [Date|Time]Only.Parse(string, IFormatProvider) and that specific overload was added in .net 7.0. So again: how does it successfully compile targetting .net 6.0?? How do the tests run without failure? (well I had some failures that pointed these issues to me, but I changed nothing and now everything works on my machine...)
@mamift tests are green now :)

the legacy CodeDOM is terrible, what do you think of using a template, text-based approach instead (like Scriban)?
I'm not gonna do it any time soon, I don't have the bandwidth for that currently, but I would like to have your opinion. Is it a future option or is there a showstopper?

@jods4 I agree; CodeDOM itself is very limiting because it only models the common type system, which doesn't model everything C# can do. It's funny in hindsight, that MS engineers back in 2007 chose CodeDOM (which has an API that supports multi-language code generation) but then added a bunch of hacks that make it all C# specific.
I'm open to using a string/template based solution like Scriban, but my openness to that is very tentative. I've had lots of trouble with T4 templates before - when they go wrong, they're a huge hassle to debug; I always had a really mixed experience, constantly having to resort to Debugger.Break() or Launch() or just dumping values to Debug.Write. While this CodeDOM implementation is bad, it has one redeeming benefit: the entirety of the code generation process is readily debuggable, every class declaration, method definition, property or statement body that gets generated can be debugged easily using the VS user interface.
Does Scriban offer the same experience? Haven't looked into it, but I would base my judgement on how easy it is to edit/debug. Also maybe the tooling for T4 templates has improved a lot in 2022 (I last used them extensively in VS2015) and that too, might be worth looking into.
Finally, I did look into using the Roslyn API and this tool: https://github.com/KirillOsenkov/RoslynQuoter
Basically, you feed this tool some C# code and it will generate the Roslyn code to generate the input code (if that makes sense - if you use the tool it'll probably make sense). Something like this would probably be the closest equivalent to what the debugging experience is now with the current CodeDom implementation. The downside with Roslyn is that because it powers the C# compiler, the API surface is massive, much more than CodeDom. Even using RoslynQuoter to scaffold things, we'd probably still have to write some thin or superficial wrapper around many of the required Roslyn APIs [granted that's the case now with CodeDOM].
But, one upside to using Roslyn is that it might enable opting into generating newer C# lang features more easily.

I had some temporary failures not related to this PR but to DateOnly / TimeOnly and maybe I'm tired but I don't understand.
There are two build targets: .net standard 2.0 and .net 6.0. The former doesn't support DateOnly/TimeOnly, yet the code compiles without #if? I also notice that when parsing I'm calling [Date|Time]Only.Parse(string, IFormatProvider) and that specific overload was added in .net 7.0. So again: how does it successfully compile targetting .net 6.0?? How do the tests run without failure? (well I had some failures that pointed these issues to me, but I changed nothing and now everything works on my machine...)

Also are you using Rider by chance? The project itself will not work with Rider due to a bug in Rider not correctly building the right targets. It just trips and falls over when it encounters the the .NET standard 2.0 / .net 6 build targeting.

@mamift

I'm open to using a string/template based solution like Scriban, but my openness to that is very tentative. I've had lots of trouble with T4 templates before - when they go wrong, they're a huge hassle to debug;

I think you're spot on with this comment.
I have experience with Scriban and it's a great templating engine with good features, esp. to generate source code (amongst others because of white space control), but debugging is not one of them.
There's no source code for the template itself, so when something breaks inside your template expressions you're in for some trial-and-error.
I had some success by putting all my logic outside of templates, producing some specific "ViewModel" objects for binding, and keeping the templates pretty basic, formatting only. This mostly avoids the need to debug templates but of course there's always an occasional hiccup.
Maybe the ideal would be to find a good templating engine that has Code Generator support, so that the template itself becomes just C# that can be easily debugged, as any other code.
Another idea might be to rely on C# template literals (esp. the new triple quoted ones) and a set of helper functions that integrate with interpolation (e.g. to support lists/iteration, etc.). The main drawback of this is that controlling indentation/whitespace of generated code is tricky. A bold move could be to not care at all, and run the output through a formatter (like dotnet format or csharpier).

The downside with Roslyn is that because it powers the C# compiler, the API surface is massive, much more than CodeDom.

I have the same concern. I'm afraid the code will still be way more complicated than it needs to be. Building a DOM tree is so much more difficult, and unreadable, compared to a templated $"if ({member} is null) return null".

Were you using Rider by chance?

No, just VS and sometimes VS Code.
I don't understand how it works and compiles (referencing APIs that are unavailable in target runtime), but hey if it works, it works 😄


[Feature] Unicode Character Support (SQL Database)

Plugin Version: 1.6.5
Minecraft Version:  (Paper Spigot) 1.15.2-R0.1-SNAPSHOT
Summary:
Could you make it so Unicode characters can be stored in the SQL Database? For example characters like ► and »

Fixed.
Thank you so much!!!

Still not fixed. Suffix is still varchar 128. I believe it needs to be something like "utf8mb4" or "utf8mb4_unicode_ci".


Sharing feedback Message

Current URL in message: https://feedback.psi-mis.org/[server]/[enrollmentID]
New URL in message: https://client-dev.psi-connect.org/hnqis_rdqa//assessment.html?id=[enrollmentID]&server=[serverURL]
Example: https://client-dev.psi-connect.org/hnqis_rdqa//assessment.html?id=K6R5nVdOanW&server=https://dev.psi-mis.org

Notes from meeting:

During the debug period use the URL above, but on production
Definitive UID: https://client.psi-connect.org/hnqis_rdqa//assessment.html?id=[enrollmentID]&server=[serverURL]&lang=[lang]


Merge prTesting_202004281933 branch to master branch

Docs Build status updates of commit 8dc4185:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 8dc4185:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestRef.md
:warning:Warning

Details

split/updateTestRef.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
Line 0: [Warning] Markdown content is not allowed before H1.
Line 1: [Suggestion] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning on 04/01/2020.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


PDF preview not working in edit attachment page or in media library.

And also not getting synced to GCS.

Hi,
I also can't sync existing PDFs to GCS. Getting a series of "Unknown failure reason." when trying to "Synchronize non-images files between Google Storage and local server"


[Bug][connector-iceberg]fixed iceberg sink

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Could you add a test case?

This is useless code, existing case can cover it

Is there any need to modify here?
https://github.com/apache/seatunnel/pull/7656/files#diff-75806c45c1b7d159a39a4442309885784ee116d510a2f147b347ab26db03e2b4R113

Is there any need to modify here? https://github.com/apache/seatunnel/pull/7656/files#diff-75806c45c1b7d159a39a4442309885784ee116d510a2f147b347ab26db03e2b4R113

@hailin0 Is your code old?

Is there any need to modify here? https://github.com/apache/seatunnel/pull/7656/files#diff-75806c45c1b7d159a39a4442309885784ee116d510a2f147b347ab26db03e2b4R113

@hailin0 Don't need it

Is there any need to modify here? https://github.com/apache/seatunnel/pull/7656/files#diff-75806c45c1b7d159a39a4442309885784ee116d510a2f147b347ab26db03e2b4R113

@hailin0 Don't need it

@sunxiaojian
Why is it needed here?
https://github.com/apache/seatunnel/blob/4a2e27291c4d16d36ff4edaf70a67242ff78e9bf/seatunnel-connectors-v2/connector-iceberg/src/main/java/org/apache/seatunnel/connectors/seatunnel/iceberg/data/RowConverter.java#L221

Is there any need to modify here? https://github.com/apache/seatunnel/pull/7656/files#diff-75806c45c1b7d159a39a4442309885784ee116d510a2f147b347ab26db03e2b4R113

@hailin0 Don't need it

@sunxiaojian
Why is it needed here?
https://github.com/apache/seatunnel/blob/4a2e27291c4d16d36ff4edaf70a67242ff78e9bf/seatunnel-connectors-v2/connector-iceberg/src/main/java/org/apache/seatunnel/connectors/seatunnel/iceberg/data/RowConverter.java#L221

Primary Keys are passed through configuration, so why not config them correctly ?

Is there any need to modify here? https://github.com/apache/seatunnel/pull/7656/files#diff-75806c45c1b7d159a39a4442309885784ee116d510a2f147b347ab26db03e2b4R113

@hailin0 Don't need it

@sunxiaojian
Why is it needed here?
https://github.com/apache/seatunnel/blob/4a2e27291c4d16d36ff4edaf70a67242ff78e9bf/seatunnel-connectors-v2/connector-iceberg/src/main/java/org/apache/seatunnel/connectors/seatunnel/iceberg/data/RowConverter.java#L221

In order to be consistent with the case_Sensitive configuration,  I have already added it,  but the primary keys can be overridden through configuration.


Setup Android api layer

The first commit puts the foundation in place to add the Android layer version of the Godot OpenXR api. It's mostly empty for now asides from Godot's plugin setup utilities.
The second commit adds an Android module which can be used to quickly build and run the demo project from within Android Studio. The demo project itself is not modified by the process. This will help facilitate and speed up development/debugging of the plugin.

@BastiaanOlij Is it possible to omit a directory from scons?
The src/jni directory added in this PR needs to be omitted since it's only valid for Android builds.

@BastiaanOlij Is it possible to omit a directory from scons?
The src/jni directory added in this PR needs to be omitted since it's only valid for Android builds.

Already mentioned this in chat but for completeness sake. For scons you just need to write out these three lines in more detail instead of relying on wildchars:
sources += Glob('src/*.cpp')
sources += Glob('src/*/*.cpp')
sources += Glob('src/*/*/*.cpp')

And make similar changes for cmake:
https://github.com/GodotVR/godot_openxr/blob/master/android/CMakeLists.txt#L104

Also can you add some info to the readme about debugging from Android Studio. I always forget the details about this :)


Still no sound from clementine

I looked at the previous closed issues and have tried all sorts of acrobatics with pulseaudio. However, the container logs still give me : PulseDeviceFinder:59 Connection to pulseaudio failed
I even tried passing as an environment variable --env PULSE_SERVER=tcp:localhost:4713
and this works for getting sound from Chrome as well.
Any suggestions?

Hi, of course the description lacks some details to let me spend my leisure on figuring out why in your setup this does not work. Actually using the provided run script and image Clementine plays sound. I use it daily. There just was an issue when using it together with another container because the sound could not be shared across multiple containers. I just added another flag for the run scripts to have chrome and clementine both playing sound through /dev/snd.
I am going to close this issue.


unable load client

Can you please post your logs?

it doesnt even show me that

From the issue template text:

Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

idk what is real one

Your client log shows that you are having issues loading the vanilla client from Jagex, which we can't help with. Double-check your network and make sure you can load the vanilla OSRS client.


Add Tenant ID to V2 Tracer

Update the V2 tracer to

use UUIDs instead of int's
load a tenant ID and use that when saving sessions

Ran an LLM and agent trace against the old backend and confirms they're still captured after these changes


cue-api-python: switch from CFFI ABI mode to API mode

Because we are sticking with dynamic linking (see issue #3079), this issue doesn't make sense anymore, so closing.


Java 9 Support

Java 9 release is imminent (currently this is set for July 27)
For reference here's the Java 9 migration guide
http://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-5657F44A-B2D7-4FB6-AAD7-295AC4533ABC

+1

+1 Java 9 is out!

+1 I tried to install java 9 in alpine but no luck, i tried, jdk, jre and even server jre but i got same exact message . I didnt even try to minify it
/tmp/jdk-9/bin # ./java -version
#
A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f496de04907, pid=50, tid=51
#
# JRE version:  (9.0+181) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (9+181, mixed mode, aot, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xced907]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x267
#
# Core dump will be written. Default location: /tmp/jdk-9/bin/core
#
# An error report file with more information is saved as:
# /tmp/jdk-9/bin/hs_err_pid50.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Yep @sabareeshkkanan, I've encountered same exact issue

Looks like there is early preview for Alpine Linux http://jdk.java.net/9/ea. No idea how stable it is though, but it's good to see native musl branch.

@msvab sweet.. gotta try using that

I tested the JDK9-ea179 alpine distribution a few weeks back. I ran a few containers from this image. I didn't notice any immediate issues, other than needing to add a few exports commands due to the default exported modules. I did try using alpine-3.6 as well, but unfortunately a non passive change was introduced when upgrading busy box that no longer recognizes non-POSIX environment variables.
https://github.com/gliderlabs/docker-alpine/issues/290
FROM alpine:3.5

ENV JAVA_HOME=/opt/jdk \
    PATH=${PATH}:/opt/jdk/bin \
    LANG=C.UTF-8

RUN set -ex && \
    apk add --no-cache bash && \
    wget http://download.java.net/java/jdk9-alpine/archive/179/binaries/jdk-9-ea+179_linux-x64-musl_bin.tar.gz -O jdk.tar.gz && \
    mkdir -p /opt/jdk && \
    tar zxvf jdk.tar.gz -C /opt/jdk --strip-components=1 && \
    rm jdk.tar.gz && \
    rm /opt/jdk/lib/src.zip

JDK9 has musl version.
download serverjre-9-ea+181_linux-x64-musl_bin.tar.gz from jdk.java.net
java -version:

java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+181-alpine-nightly-h6744-20170807)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+181-alpine-nightly-h6744-20170807, mixed mode)

+1

Hi people, I would love to see an alpine image with java9. Was there any progress in the past month? Can we help somehow?

you can try to build using this early access http://jdk.java.net/9/ea

added MUSL anapsix/alpine-java:9 and anapsix/alpine-java:9_jdk image tags (see java9 branch)

I did try using alpine-3.6 as well, but unfortunately a non passive change was introduced when upgrading busy box that no longer recognizes non-POSIX environment variables.

Found a work around for this issue. https://github.com/docker-library/openjdk/issues/135#issuecomment-318191456
Which worked nicely since bash is already provided by this image.
# Use a bash shell instead of the default sh shell to support non-POSIX environment variables
ENTRYPOINT ["/bin/bash", "-c", "java $JAVA_OPTS -jar myservice.jar"]

Also looks like the 9-musl image is no longer buildable, until portola is GA is may be difficult to keep up as the only musl download currently available is for 11.
wget http://download.java.net/java/jdk9-alpine/archive/181/binaries/serverjre-9-ea+181_linux-x64-musl_bin.sha256
--2018-04-27 13:02:34--  http://download.java.net/java/jdk9-alpine/archive/181/binaries/serverjre-9-ea+181_linux-x64-musl_bin.sha256
Resolving download.java.net (download.java.net)... <IP_ADDRESS>
Connecting to download.java.net (download.java.net)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.java.net/java/jdk9-alpine/archive/181/binaries/serverjre-9-ea+181_linux-x64-musl_bin.sha256 [following]
--2018-04-27 13:02:34--  https://download.java.net/java/jdk9-alpine/archive/181/binaries/serverjre-9-ea+181_linux-x64-musl_bin.sha256
Connecting to download.java.net (download.java.net)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-04-27 13:02:35 ERROR 404: Not Found.

jdk10 has been released, but there haven't been any musl builds for alpine linux. http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
However, jdk11 has alpine linux builds with musl support. http://jdk.java.net/11/

Perhaps, the route to take with Java 9, 10, and 11 is to go with glibc versions for a while

I agree. Would still like to have additional musl images available for those that want to experiment.

this is unlikely to happen with current Oracle Java licensing terms (see #82)

@anapsix thank you for maintaining this, it was useful!
Looking at zulu / adopt alpine images.


Add support for HiDPI screens

Hi,
I recently faced #42 but unfortunately I'm not here to bring you the ultimate answer answer to  life, the universe and everything.
However, I have a working solution to adapt betterlockscreen to HiDPI screens. This fix read the DPI value from Xft.dpi and use it to compute the best rectangle size. The function logical_px() was inspired by this one from i3lock.

@pavanjadhaw any chance of getting this merged? This does seem to fix #42 for me


basic Stripe FE/BE integration complete

Description
Please include a summary of the change and a link to which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Pulled down development branch and tested locally.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

You guys are fast!


Update<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Update gqlgen and gqlparser
This updates gqlgen and gqlparser to the latest versions<EMAIL_ADDRESS>and<EMAIL_ADDRESS>
In https://github.com/ent/contrib/pull/607/files github.com/99designs/gqlgen was moved from v0.17.48 to v0.17.51.
I see that in that PR it has a comment that says that gqlgen version v0.17.52 has an issue with ent field collection. It blames commit: https://github.com/99designs/gqlgen/commit/f81239e47a7ebaf1ab276689344e1189f83ac0a0
The blamed gqlgen commit was merged https://github.com/99designs/gqlgen/pull/3287
This was to fix https://github.com/99designs/gqlgen/issues/3285 by reverting https://github.com/99designs/gqlgen/pull/3203
Currently gqlgen v0.17.61 is the latest. It is not clear to me if there remains any problem with gqlgen and ent field collection.
Please point me to an open issue in gqlgen (or PR) describing (or fixing) the ent field collection problem.

Hmmm, I'm not sure if my local environment is entirely what was expected. I appear to be finding the required local setup by process of elimination.

Ok, I am getting go generate failures when I run nektos/act to simulate the remote GitHub action failures:
act -j generate

This provides this minor output tweak:
| diff --git a/entgql/internal/todogotype/generated.go b/entgql/internal/todogotype/generated.go
| index dd27c93..d9738af 100644
| --- a/entgql/internal/todogotype/generated.go
| +++ b/entgql/internal/todogotype/generated.go
| @@ -20630,7 +20630,7 @@ func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.Sele
|  	return res
|  }
|
| -func (ec *executionContext) unmarshalOMap2map(ctx context.Context, v any) (map[string]any, error) {
| +func (ec *executionContext) unmarshalOMap2map(ctx context.Context, v any) (map[string]interface{}, error) {
|  	if v == nil {
|  		return nil, nil
|  	}
| @@ -20638,7 +20638,7 @@ func (ec *executionContext) unmarshalOMap2map(ctx context.Context, v any) (map[s
|  	return res, graphql.ErrorOnPath(ctx, err)
|  }
|
| -func (ec *executionContext) marshalOMap2map(ctx context.Context, sel ast.SelectionSet, v map[string]any) graphql.Marshaler {
| +func (ec *executionContext) marshalOMap2map(ctx context.Context, sel ast.SelectionSet, v map[string]interface{}) graphql.Marshaler {
|  	if v == nil {
|  		return graphql.Null
|  	}
[Continuous Integration/generate]   ❌  Failure - Main Check generated files
[Continuous Integration/generate] exitcode '1': failure
[Continuous Integration/generate]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.5/arm64/bin/node /var/run/act/workflow/hashfiles/index.js] user= workdir=
[Continuous Integration/generate] 🏁  Job failed

Ok, moved to gqlgen v0.17.62 to make any/interface consistent


[MNT] Refactored PyODAnnotator, added method get_test_params

Reference Issue:
Estimator Test Parameters Refactor https://github.com/alan-turing-institute/sktime/issues/1678
Refactored PyODAnnotator by creating get_test_params method as explained in issue and removed params from tests/_config.py

Hi @NoaBenAmi , you need to run pre-commit, see our docs pls


Resident Evil 5 stutters/freezes with dxvk

The game stutters / freezes a lot with dxvk but with wined3d it's very acceptable / playable.
I recorded 2 videos with both dxvk and wined3d, i also forgot to enable the graph but it's very noticeable without it still.
DXVK
https://www.youtube.com/watch?v=b9mkGL_YN28
WINED3D
https://www.youtube.com/watch?v=hC1CLy4uidQ
I deleted the steam shader cache in between tests.
Software information
RESIDENT EVIL EVIL 5, game settings are maxed, HIGH / 8X AA / 1920x1080
System information

GPU: RX 570 8GB
Driver: 21.2.1-1
Wine version: Proton experimental, same issue with others
DXVK version: 1.9.1

Apitrace file(s)

https://mega.nz/file/VBRWGbIZ#qGRuQdT1rrTZpOMvy00x7WzimnsvfaHtJsO4iasppvE

Log files

d3d9.log:  re5dx9_d3d9.log

Looks to me like it's compiling shaders

Looks to me like it's compiling shaders

But is it normal to freeze this much compiling with dxvk but not on wined3d?

Yes, that's normal. If you think there's something wrong then please provide the necessary apitrace.

Yes, that's normal. If you think there's something wrong then please provide the necessary apitrace.

I just think its wierd the way it acts on dxvk, in wined3d it stutters just a bit in the begining and then the game is fully playable mostly but with dxvk it just keeps freezing a lot on each map i go to, so maybe something is not right?
Here's the trace
https://mega.nz/file/VBRWGbIZ#qGRuQdT1rrTZpOMvy00x7WzimnsvfaHtJsO4iasppvE

Same problem as #2084 and #2453.


Cilium install fails with Vagrant hosted Kubernetes cluster

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
vagrant@mstr:~$ cilium status
/¯¯
/¯¯_/¯¯\    Cilium:         6 errors
_/¯¯_/    Operator:       OK
/¯¯_/¯¯\    Hubble:         disabled
_/¯¯_/    ClusterMesh:    disabled
__/
Deployment        cilium-operator    Desired: 1, Ready: 1/1, Available: 1/1
DaemonSet         cilium             Desired: 6, Ready: 6/6, Available: 6/6
Containers:       cilium-operator    Running: 1
cilium             Running: 6
Cluster Pods:     2/2 managed by Cilium
Image versions    cilium             quay.io/cilium/cilium:v1.11.1@sha256:251ff274acf22fd2067b29a31e9fda94253d2961c061577203621583d7e85bd2: 6
cilium-operator    quay.io/cilium/operator-generic:v1.11.1@sha256:977240a4783c7be821e215ead515da3093a10f4a7baea9f803511a2c2b44a235: 1
Errors:           cilium             cilium-w467l    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
cilium             cilium-6kcgc    controller cilium-health-ep is failing since 33s (3x): Get "http://<IP_ADDRESS>:4240/hello": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
cilium             cilium-822m4    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
cilium             cilium-f5zg7    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
cilium             cilium-kbfx4    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
cilium             cilium-v4wxb    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
Cilium Version
Version 1.11.1
Kernel Version
5.13.0-27-generic #29-Ubuntu SMP Wed Jan 12 17:36:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:19:12Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
cilium-sysdump-20220131-052833.zip
Relevant log output
vagrant@mstr:~$ kubectl get pods -n kube-system -o wide
NAME                           READY   STATUS    RESTARTS        AGE   IP           NODE   NOMINATED NODE   READINESS GATES
coredns-64897985d-qrfnc        0/1     Running   7 (3m34s ago)   16m   <IP_ADDRESS>   n4     <none>           <none>
coredns-64897985d-xkbr6        0/1     Running   7 (3m9s ago)    16m   <IP_ADDRESS>   n5     <none>           <none>
etcd-mstr                      1/1     Running   0               28m   <IP_ADDRESS>    mstr   <none>           <none>
kube-apiserver-mstr            1/1     Running   0               28m   <IP_ADDRESS>    mstr   <none>           <none>
kube-controller-manager-mstr   1/1     Running   0               28m   <IP_ADDRESS>    mstr   <none>           <none>
kube-flannel-ds-bgf8h          1/1     Running   0               25m   <IP_ADDRESS>    n4     <none>           <none>
kube-flannel-ds-dm7qp          1/1     Running   0               25m   <IP_ADDRESS>    n3     <none>           <none>
kube-flannel-ds-h786f          1/1     Running   0               25m   <IP_ADDRESS>    n2     <none>           <none>
kube-flannel-ds-ld4gp          1/1     Running   0               25m   <IP_ADDRESS>    n5     <none>           <none>
kube-flannel-ds-lm97w          1/1     Running   0               26m   <IP_ADDRESS>    mstr   <none>           <none>
kube-flannel-ds-tk6v6          1/1     Running   0               26m   <IP_ADDRESS>    n1     <none>           <none>
kube-proxy-29vhh               1/1     Running   0               28m   <IP_ADDRESS>    mstr   <none>           <none>
kube-proxy-4m5vq               1/1     Running   0               25m   <IP_ADDRESS>    n2     <none>           <none>
kube-proxy-4qr8n               1/1     Running   0               25m   <IP_ADDRESS>    n3     <none>           <none>
kube-proxy-8qt7p               1/1     Running   0               25m   <IP_ADDRESS>    n5     <none>           <none>
kube-proxy-kqvsj               1/1     Running   0               25m   <IP_ADDRESS>    n4     <none>           <none>
kube-proxy-lrpjf               1/1     Running   0               26m   <IP_ADDRESS>    n1     <none>           <none>
kube-scheduler-mstr            1/1     Running   0               28m   <IP_ADDRESS>    mstr   <none>           <none>

⌛ Waiting for Cilium to be installed and ready...
    /¯¯\
 /¯¯\__/¯¯\    Cilium:         6 errors
 \__/¯¯\__/    Operator:       OK
 /¯¯\__/¯¯\    Hubble:         disabled
 \__/¯¯\__/    ClusterMesh:    disabled
    \__/

DaemonSet         cilium             Desired: 6, Ready: 6/6, Available: 6/6
Deployment        cilium-operator    Desired: 1, Ready: 1/1, Available: 1/1
Containers:       cilium             Running: 6
                  cilium-operator    Running: 1
Cluster Pods:     2/2 managed by Cilium
Image versions    cilium             quay.io/cilium/cilium:v1.11.1@sha256:251ff274acf22fd2067b29a31e9fda94253d2961c061577203621583d7e85bd2: 6
                  cilium-operator    quay.io/cilium/operator-generic:v1.11.1@sha256:977240a4783c7be821e215ead515da3093a10f4a7baea9f803511a2c2b44a235: 1
Errors:           cilium             cilium-6kcgc    controller cilium-health-ep is failing since 28s (6x): Get "http://<IP_ADDRESS>:4240/hello": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
                  cilium             cilium-822m4    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
                  cilium             cilium-f5zg7    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
                  cilium             cilium-kbfx4    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
                  cilium             cilium-v4wxb    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
                  cilium             cilium-w467l    unable to retrieve cilium status: unable to upgrade connection: pod does not exist
↩ Rolling back installation...

Anything else?
Running Kubernetes in Vagrant initiated virtual machines on a baremetal linux server.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I think I am hitting the same problem, still working on it. My theory is that cilium is trying to assign the pod to the IP address that vagrant uses for it's vagrant management tasks - which is non-routable. Check out the ip in the address in the pods.

Partial fix:  you need to modify /etc/systemd/system/kubelet.service.d/10-kubeadm.conf and add the line
Environment="KUBELET_EXTRA_ARGS=--node-ip=_YOUR_NODE_IP"
Kubeadm clusters want to grab the lowest IP possible to bind to by default, which is normally not the routeable node ip and is instead vagrant.

After this is fixed on all k8s nodes, you'll need to delete all cilium node resources (kubectl delete cn --all) and then restart all cluster pods.
Then you should be golden.
cilium status may report that everything is good even if you don't do all that - don't believe it, in my experience today it still did route properly, but after killing all the pods it did no problemo.

Given the workaround, does this seem like something that Cilium can or should try to work around or is it just specific to vagrant+kubeadm?

In the Vagrant+kubeadm case, it seems like considerable additional logic for Cilium to work around the IP associated with the default route. One might argue the argument parsed in KUBELET_EXTRA_ARGS=--node-ip= implies as much. Other CNI plugins nod to this, e.g., Calico has IP_AUTODETECTION_METHOD's interface=.

@Disgruntled Thank you very much!  The solution worked.


SecureSign configuration fields

We have specific resource for each component:

Fulcio
Rekor
Trillian
CTLog
TUF

Each of the component could have set of config parameters (secrets to use, PCV names, expose services or not). Some of them may be optional some of them required.
I would like to get the whole list of parameters that make sense to implement for each component. We can create new follow-up issues for related features.

@sallyom @tommyd450 I know you were working on the Helm charts so I think you have the best experience with the component configuration. Can you try to list all parameters that would make sense to implement for each component?

fulcio : https://github.com/securesign/secure-sign-operator/pull/45 :white_check_mark:

migrated to jira https://issues.redhat.com/browse/SECURESIGN-569


i3lock-color update

In your readme you mention that i3lock-color hasn't been updated since 2012. This is no longer true, and seems to be in active development.
https://github.com/eBrnd/i3lock-color/commits/master

Thanks for pointing that out! It looks like the author is not maintaining it anymore, but another user decided to maintain it. I changed the README with the updated information.


RunnableManager is useless on its own

I would think that RunnableManager can get an object derived from Runnable and run it. However, that is far from true, RunnableManager is intended to be used like

Create a config class derived from RunnableManagerConfig, including ConfigOption('runnable'): is_subclass(Runnable)
Create your class derived from RunnableManager with config class of your config

Then this piece of code in RunnableManager creates your Runnable instance from the __init__ of RunnableManager` (?!):
    def _initialize_runnable(self, **options):
        runnable_class = self._cfg.runnable
        runnable_config = dict(**options)
        return runnable_class(**runnable_config)

Meaning that your derived Runnable must have the same config options as RunnableManager (?!), including runnable option, which is completely useless.
The initialization of the runnable happens in the init, I can't see why it is deferred and hidden. Instead, the RunnableManager API should look like this:
  runnable = YourRunnable(**args)
  FeasibleRunnableManager(runnable=runnable).run()

Which is not hard to achieve, but this should be the default implementation.
class FeasibleRunnableManagerConfig(RunnableManagerConfig):
  @classmethod
  def get_options(cls):
      return {
        ConfigOption('runnable'): lambda obj: isinstance(obj, Runnable),
      }

class FeasibleRunnableManager(RunnableManager):
  CONFIG = FeasibleRunnableManagerConfig
  def _initialize_runnable(self, **options):
    return self._cfg.runnable

Hi, thanks for raising this issue. RunnableManager is a abstract base class and an internal implementation detail of Testplan, it is not  intended to be exposed as part of the package's public API for use by code outside of Testplan itself.


Add gaurds to TxBuilder to protect against wallet/app network mismatch

Description
See title.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?

Load app and connect wallet.
Make sure wallet and app network are the same.
Switch to a different network in the app.
Try to stake or unstake an investment.
You should see an error message about a network mismatch in the modal.

Visual context
n/a
Checklist:

[x] I have performed a self-review of my own code
[x] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[x] I have commented my code where relevant, particularly in hard-to-understand areas
[x] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

Test failing, maybe because of the way Signer is mocked?


Add support for xlcnd/meteoalarmeu

xlcnd/meteoalarmeu is custom component, an alternative to core integration. It shares very similar functionality to the core one so it would be great to support it!

I would like to see this integration as well, because the official meteoalarm.eu integration from HA doesn't seem to work anymore. For reference see: https://github.com/home-assistant/core/issues/45063

Thanks for integrating xlcnd/meteoalarmeu! Seems a new release is missing? 1.4.0 only contains newly added translations. Would you mind creating the 1.4.1 release for us? Cheers!

@nurtext No problem, I will release a new version today


Suggestion for the Prism Test

Hello, I was taking your Prism Test and I think I found a single hiccup.
Several times when I was reading the answers, there were 2 answers which I agreed with, but I could only choose one.
I would suggest make it such that a person can choose either 1 statement to strongly agree with or 1 or 2 statements to somewhat agree with.
This could likely make it so this test can be more sensetive to people who see some parts of their answer in different answers.

Hi, the Prism Test was actually not made by me. The section in the website with the Prism Test was exclusively for tests that other people made. The link to the repo can be found here: https://github.com/prismquiz/prismquiz.github.io


Add BaseRecord and inherit connection record from BaseRecord

Codecov Report

Merging #75 into master will increase coverage by 0.49%.
The diff coverage is 71.77%.

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
+ Coverage   70.67%   71.17%   +0.49%
==========================================
  Files         176      177       +1
  Lines        7400     7475      +75
==========================================
+ Hits         5230     5320      +90
+ Misses       2170     2155      -15


Update abstract-socket version

abstract-socket version 0.1.0 depended on nan version ~1.1.0, which had issues with compiling for io.js / Atom.
Version 1.0.0 now depends on nan version ~1.7.0. This fixes the issue and as far as I can tell, it still works perfectly fine with dbus-native. Since dbus-native depends on abstract-socket version ^0.1.0, it doesn't download the new version so dbus-native doesn't work with io.js / Atom.

Thanks! Would you volounteer to test #63 ? I'd like to merge it as well before publishing to npm

piblished as v0.2.0


Monomorphization: Traits feature

Suppose I define a theory generic over some type T, let's say vectors, and I want to specify a contains function for vectors:
type Vec _;
...
function Contains<T>(v: Vec T, e: T): bool {
   (exists i: int:: InRange(v, i) && ReadVec(v, i) == e)
}

Yet  the problem here is that I do not may have extensional equality for T. So I would prefer to use an equality specific for T.
If one wants to have specific operations on generic type parameters T in programs, there are type classes in functional languages and traits in Rust and C++.
Here I'm going to claim that in an axiomatic language with monomorphization for generics it is even simpler than in programming languages to achieve something similar than traits. So lets try this example again:
type Vec _;
...
function Contains<T>(v: Vec T, e: T): bool {
   (exists i: int:: InRange(v, i) && IsEqual(ReadVec(v, i), e))
}
function {:trait} IsEqual<T>(x1: T, x2: T): bool;

There is now an abstract uninterpreted function which describes the equality being used here. This equality would be instantiated by axioms which are specific to the type instantiation:
axiom {:trait} (forall x1, x2: int :: IsEqual(x1, x2) <=> x1 == x2);
axiom {:trait} (forall<T> x1, x2: Vec T :: IsEqual(x1, x2) <=> IsEqualVec(x1, x2));
...

Because we monomorphize, we actually end with IsEqual_int and IsEqual_vec_T being separate functions, and the above axioms would expand to what we expect.
Some open questions:

Do we really need a special {:trait} attribute?
Do we need to specify something similar like {:ctor} today to instantiate the axiom? Can we perhaps get rid of this and compute the information it provides?
.. and possibly many more

@shazqadeer
@RustanLeino

Thanks for the interesting feedback.  I ran boogie on the following program with the options /monomorphize /printInstrumented and manually confirmed that the expected definitions and axioms are generated.
type Vec _;

function InRange<T>(v: Vec T, i: int): bool;
function ReadVec<T>(v: Vec T, i: int): T;
function IsEqual<T>(x1: T, x2: T): bool;
function IsEqualVec<T>(x1: Vec T, x2: Vec T): bool;

function Contains<T>(v: Vec T, e: T): bool {
   (exists i: int:: InRange(v, i) && IsEqual(ReadVec(v, i), e))
}

axiom (forall x1, x2: int :: IsEqual(x1, x2) <==> x1 == x2);
axiom {:ctor "Vec"} (forall<T> x1, x2: Vec T :: IsEqual(x1, x2) <==> IsEqualVec(x1, x2));

procedure A(x: Vec int, y: int) {
    assert Contains(x, y);
}

procedure B(x: Vec (Vec int), y: Vec int) {
    assert Contains(x, y);
}

This experiment suggests that the `{:trait}' attribute could be simulated by the currently supported features.
Your message also contains the orthogonal idea of eliminating the :ctor attribute and automatically calculating axiom instantiations.  This is an interesting idea and I will think about incorporating it.


Allow disabling state restoration

I have cases where state restoration is either not desirable or not worth implementing the serialization for. Please provide a way to disable state restoration, either globally through Navigator or on a per-screen basis through Screen. If the app is closed from a screen that is not restorable it should use the initial screen on startup.

I'd also like to be able to disable this. I usually set the configChanges to handle myself. With Compose this is easy to do and most stuff where you need state restoration for are nog longer needed.
Since it's been a year since this is asked. If I have the time I'll try to make a pull request. I've looked at the code and I think a per-screen basis is hard to do. So globally is probably easier. I thought of a few options. One is a global config in which you just say true or false to state restoration. Another option would be to create a SaveableNavigator and a Navigator (which wouldn't be saveable). Another would be to pass a parameter with the Navigator that says it will be saveable.
Personally I like the option of the SaveableNavigator, but this would require change to many code bases. So the last option with a parameter or a config will make the most sense for now. What do you think?
Also the Screen will still be Serializable, as long as you don't use it to serialize it you should be fine, but that can be hard to understand. This is also a reason why I don't want the state restoration, because you don't know you messed up until you move the app to the background in the screen you make the mistake.

We have updated state restoration docs, have a look to see if now it can help you.
https://voyager.adriel.cafe/state-restoration
We also added on Voyager 1.0.0-rc05 a new API for customizing NavigatorSaver, you can disable it easily by writing or own NavigatorSaver like:
public fun disableNavigatorSaver(): NavigatorSaver<Any> = NavigatorSaver { initialScreens, stateHolder, disposeBehavior, parent ->
    Saver(
        save = { "" },
        restore = {
            Navigator(initialScreens, stateHolder, disposeBehavior, parent)
        }
    )
}

CompositionLocalProvider(
    LocalNavigatorSaver provides disableNavigatorSaver()
) {
    Navigator(...) {
       ...
    }
}

@DevSrSouza That's awesome! However I think this Navigator constructor is internal. So this specific code can't be used. But if I set the restore to null it also works, not sure if it's okay to return null though?

I see... I will take a look for the next release in this case.

Hi @kevinvanmierlo, with 1.0.0-rc06 you can do it!

Awesome @DevSrSouza , thanks!

Just wanted to add something to this thread for people like me who want to pass all sorts of objects to screens without having to think about the Serializable. If you disable the navigatorSaver the tabbar navigator and inner navigators will not work as well. So I created this to counter that:
object KMNavigatorSaver {
    val saverMap = mutableMapOf<String, List<Screen>>()
}

@OptIn(ExperimentalVoyagerApi::class, InternalVoyagerApi::class)
public fun kmNavigatorSaver(): NavigatorSaver<String> = NavigatorSaver { initialScreens, key, stateHolder, disposeBehavior, parent ->
    Saver(
        save = {
            val uuid = randomUUID() // This is my multiplatform implementation, use Androids implementation here if you only use Android
            KMNavigatorSaver.saverMap[uuid] = it.items
            uuid
        },
        restore = {
            val items = KMNavigatorSaver.saverMap[it]
            KMNavigatorSaver.saverMap.remove(it) // Remove so we don't keep everything in memory all the time
            Navigator(items ?: initialScreens, key, stateHolder, disposeBehavior, parent)
        }
    )
}

This will make sure the inner navigators will continue to work. However when the system closes your app and saves everything, the screens will be gone when the app is restored.


Shouldn't check28 skip keys which are in state: PendingDeletion

Is there any reason why check28 checks all KMS Keys, even those which are in State: PendingDeletion?

Hi @nexeck, I guess you mean the KeyState attribute right? Allowed values are Enabled, Disabled, PendingImport, or PendingDeletion. I agree with you the query should filter by Enabled only.
I'm fixing it, I'll submit a PR in a moment. Thanks for reporting it!

Now it works as expected and doesn't check when a custom KeyState is in a different state than "Enabled"


Make input at topbar work when hidden

A quick and easy change that makes (regular PlayerGui) GuiObjects accept input.
They'll only receive input when the topbar is hidden using SetCore.
This allows people to create their own interactive menubar.
The settingsbutton still has Active set to true, so buttons under it don't accept input.
This change only has effect on stuff under the topbar where nothing is to begin with.

This is on purpose for the time being

"On purpose" normally means "We didn't change it and we plan on keeping it this way for some reason we can't exactly tell you because it's not valid "

Not sure if I should delete this branch yet...


Determine the origin of a call

Right now the origin of a Ray call is hard coded.
https://github.com/spatie/ruby-ray/blob/1ed1b780f63878e91ace085aea7e14694af50e14/lib/ray/request.rb#L19-L20
We should add logic, similar to what the Ray PHP package does, to determine the origin of a ray call.
https://github.com/spatie/ray/blob/7d70acea2146e24ba1f452192b80846e7dd439e9/src/Payloads/Payload.php#L42

Currently implementing this using: https://ruby-doc.org/core-2.2.3/Thread/Backtrace/Location.html

Done!


WIP: Add support for check plugins

My attempt to implement support for check plugins. Closes https://github.com/sensu/sensu-plugins-go-library/issues/1

It's not really a useful check (yet), but I have a working example check plugin built from this branch, here: https://github.com/calebhailey/cloudwatch-explorer

Nice work @calebhailey!
Ultimately we decided to leave the renaming out for now, and your version was missing proper reporting of the check's exit status and simplified reading stdin a bit too much :)
I'm closing this one in favor of #13, but my plan is to come and salvage the change log and some of the renaming by the end of the plugin hack week! Thanks again!


[Bug]: Button click event change value in input form

What happened?
`  <.simple_form for={@form} id="login_form" action={~p"/users/log_in"} method="post">

<.input style="frame(width: 225) disabled(true)"  field={@form[:pin]}  value={@pin} type="SecureField" label="Pin"> </.input>
<.simple_form/>
 <Button  phx-click="1" phx-value-v="1" >1 </Button>

Hello , when i click on the button in macos lvngo the value dont change all the time,
in ios lvngo the first time value dont change but after the value change with a gap.
The problem is only in a form.
if i write this code all is ok but that is not normal
def handle_event("1", %{"v" => v}, socket) do
    send(self(), "test")
    cond do
      v == "cancel" ->
        s = String.length(socket.assigns.pin)
        s = String.slice("elixir", 0, s-1)

        {:noreply,  socket |> assign(pin: s)}
      v == "reset" ->
        {:noreply,  socket |> assign(pin: "")}

        true ->
  {:noreply,  socket |> assign(pin: socket.assigns.pin <> v)}

      end

end

def handle_info("test", socket) do

  {:noreply, socket |>  push_patch(to: ~p"/users/log_in")}

end

Library Version
last
Xcode Version
last
Swift Version
last
On which device or simulator are you running into the problem?
iPhone, MacOS
Target Device Operating System Version
last
Relevant log output
No response

@pierre2202 we just published LVN Go for MacOS 0.3.1 that included the 0.3.1 release of the client that I think will solve this problem. Can you confirm your LVN Go version to see if this resolves your issue?

i updated with the last version 0.3.1 all liveview native but the problem is always here, i did a mix deps ,compile and relaunch the server

can you share an example app for us to quickly diagnose?

of course

i tried a swift method ,that work better with lvngo ios but sometimes not . In macos that dont work.
front end :
 <SecureField style={["frame(width: 225)","disabled(true)",~s[focused(attr("focus"))]]} focus={@focus}  text={@pin} name="pin">Pin</SecureField>
back end
def handle_event("1", %{"v" => v}, socket) do
    socket =
      socket |> assign(focus: "false")

    send(self(), {"test", %{v: v}})

    {:noreply, socket}

end

def handle_info({"test", %{v: v}}, socket) do
  cond do
    v == "cancel" ->
      s = String.length(socket.assigns.pin)
      s = String.slice(socket.assigns.pin, 0, s-1)

    socket =  socket |> assign(pin: s)
    {:noreply, socket |> assign(focus: "true") }
    v == "reset" ->
      socket = socket |> assign(pin: "")
      {:noreply, socket |> assign(focus: "true") }

      true ->
socket =  socket |> assign(pin: socket.assigns.pin <> v)
{:noreply, socket |> assign(focus: "true") }

      end
end

@pierre2202 unfortunately Carson (our Swift dev) was dealing witth Hurricane Milton and lost power. I'm hoping he'll be back next week and I'll have him take a look at this.
I did take a look at the app you linked but it was very large. It would be helpful if you could isolate this issue in an example app that only has the relevant code. Thanks!

no problem i did that, the exampleapp is uploaded  with only the user_login_live.ex  on http://localhost:4000/ when server is launched


SteamVR seems to be confusing a tracker with my controller

And my character has the T-Pose animation. What am I doing wrong here?

SteamVR sometimes assumes the first moving tracked object to be a controller. So, if you press 6. Start, which spawns trackers, before putting on your headset and using the actual controllers, they sometimes switch places. Make sure you always go into vr, check your controllers are working, and then press 6. Start through the vr virtual desktop.
Sometimes it still happens even if you do everything right, though, in which case just restart SteamVR.
As for the T-Pose, you have to align yourself to your avatar then press both triggers to calibrate FBT. You cant do that if your controller gets switched, though.

Ah, I will try that. I did find "Manage trackers" but that just made both of my controllers not do anything. Will try that suggestion


Update README.md

The correct parameter is the Project Number, not the Project ID.
Both exists in the Google's Developers Console.

Thank you I have updated this - sorry for the confusion.

I am the one who needs to say thanks for time spent in this project. 👍


Is there a way to know a model is "tool compatible" ?

By that I mean is there a method to know, when deploying a model, if it's compatible with a Semantic Kernel usage.
It looks like model.details doesn't have this information
Thanks for your help

By that I mean is there a method to know, when deploying a model, if it's compatible with a Semantic Kernel usage.
It looks like model.details doesn't have this information
Thanks for your help

It seems Ollama has the meta data anywhere, as they are tagging their model cards with it:

However, I don't know of anything in the "local" meta data after the manifest was pulled.
OllamaSharp will throw an strongly typed ModelDoesNotSupportToolsException once it finds out that tools are not supported. But I guess that's too late at runtime, right?

Yep indeed. I would love to collect this data as a boolean to forbid the use of Semantic Kernel in order to avoid Errors.
But once the manifest is pulled, it seems like this information is lost

Thanks for you answer tho ! I will find another way to collect this data :)

Maybe looking in the Ollama repository how they find out.

Maybe here