Google assistant throws error when opening/closing cover in 0.92

Home Assistant release with the issue:
0.92.0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
hass.io
Component/platform:
google_assistant
Description of problem:
As of 0.92, when I open or close a cover using Google Assistant it responds with "That mode isn't available for the Back Gate" and I get an error in the HA log (pasted below under traceback).
I should note that the cover DOES open and close as expected through google, just with the errors from both Google and HA.
This is with a stateless cover via ESPHome.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
Error handling message {'inputs': [{'context': {'locale_language': 'en'}, 'intent': 'action.devices.EXECUTE', 'payload': {'commands': [{'devices': [{'id': 'cover.back_gate'}], 'execution': [{'command': 'action.devices.commands.OpenClose', 'params': {'openPercent': 0}}]}]}}], 'requestId': '2573257550867487632'}: {'errorCode': 'notSupported'}

Additional information:

Yes, it's normal now, there will be a new thrait later, commandonly..
quote from the creator:
commented 13 days ago
In the next release, google assistant will answer an error to open and close commands for stateless and optimistic covers but will execute the command anyway. This is the expected behaviour because the state of these covers can't be trusted.
Google assistant doesn't support commands without checking the state of the cover yet. They are working on it and according to them having this error is, for now, the best way to deal with this issue.
If you don't want to hear the error you have to use a custom component and replace in the trait.py file :
raise SmartHomeError( ERR_NOT_SUPPORTED, 'Querying state is not supported')
lines 1072 and 1077, with response['openPercent'] = 50
However you might have other issues in the future.

https://github.com/home-assistant/home-assistant/pull/23498

Thank you, closing this issue..


improvements to image gallery

better lazy-loading behavior
play/pause button

@zackgalbreath This works great. I think may be the controls should be a little larger?

@zackgalbreath That looks better.


add a "resolve from config" wrapper around the resolve decorator

Add a small wrapper around resolve function modifier to "resolve from config"
Changes
Add a hamilton.function_modifiers.resolve_from_config hook that just passes ResolveAt.CONFIG_AVAILABLE flag to the original resolve class.
How I tested this
Have been using this as a small custom snippet (albeit not as a wrapper around the class) in some internal projects for quite a while. Its really just a convenience wrapper to make my pipeline code a little cleaner.
I've made a very small attempt to duplicate a relevant unit test.
Notes
Checklist

[x] PR has an informative and human-readable title (this will be pulled into the release notes)
[x] Changes are limited to a single goal (no scope creep)
[x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

Looking good! Minor change for docstring (and maybe name) then let's merge.

added a little bit of a redirect to the @resolve docs... feedback greatly appreciated


forbidden: 10.8 -> 10.9

Diff: https://github.com/ivan-sincek/forbidden/compare/refs/tags/v10.8...v10.9
Changelog: https://github.com/ivan-sincek/forbidden/releases/tag/v10.9
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310930 run on x86_64-linux 1

2 packages built:

forbidden
forbidden.dist


Molecule tests will fail because python sh module is not installed in test environment.

Evidently the test environment does not contain the python sh module as indicated by this tox failure:
__________ ERROR collecting molecule_lxd/test/functional/test_func.py __________
molecule_lxd/test/functional/test_func.py:24: in <module>

How do I go about fixing this?

Molecule 3 removed sh module. It should be replaced with subprocess.run. See https://github.com/ansible-community/molecule/blob/db8dd09264d110e323ac645688a405faca368ac5/src/molecule/util.py#L114


fix tests

[x] fix finalizer_test.go. code in https://gist.github.com/bap2pecs/65e97276d3253e3973f138ab84878e74
[ ] fix op-node/rollup/finality/plasma_test.go. uncomment the failed test
[ ] https://github.com/babylonchain/optimism/pull/23#discussion_r1693164778: we should have a test case for this where fd.L1Block is different from lastFinalizedBlock.L1Origin
[ ] https://github.com/babylonchain/optimism/pull/23#discussion_r1679957843: we shouldn't keep iterating if some blocks in the range is not finalized. see if we should add a test case
[ ] design and implement more tests in finalizer_test.go

Kamino cloned this issue to babylonlabs-io/optimism


Adding GitHub templates and fix typos

Adding GitHub issue & pull request templates and change README.md content.

changing README.md content = fix typos

btw, i'm not sure with the typos in the templates


SSH-ing from Vscode Mac Monterey apparently now looks like a "brute force SSH attack"

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:Version: 1.67.2 Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 Date: 2022-05-17T18:20:04.972Z (2 days ago)

OS Version: Monterey Darwin arm64 21.4.0

Steps to Reproduce:

Install newest vscode on current MacOS.
Configure ssh-config to allow you to login to a server using public key authetification.
Login to the server using vscode.
Wait for thesysadmin to accuse you of trying to brute force attack the SSH login server.

My friend using an Intel mac also got her account suspended for the same reason after the recent vscode update.

@sdat2, apologies for not getting back to you and I am sorry to hear about the trouble. In order to further investigate the issue do you mind sharing more information about the traffic pattern that has qualified the requetss generated by VS Code as a brute force attack? Thank you very much!

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


Contains a single character in a property returns inconsistent results from CosmosDB

I have just run into an issue when looking up documents in CosmosDB by checking if a property of the document contains a specific searched value. What I want to achieve was to show a list of results to the user on the user entry of each character of the desired searched value - so each user input would fire a request to the database with the changed searched value. So when trying to lookup up I would convert both the field and the searched value in either lower or upper case. The problem occurs when the searched term contains only one character as it would occasionally give results that do not contain that character in the corresponding property.
Here is an example:
The example data that the CosmosDB table holds:
{
    "entityType": 2,
    "org_id": "some guid",
    "identifier": "serialnumber1"
}

(I have stored documents with serialnumber1 to serialnumber12 just for testing purposes)
Linq query:
object => object .EntityType == 2 && object.OrgId == "some guid" &&
                      device.Identifier.ToUpper().Contains(identifier.ToUpper())

Also tried using SqlQuerySpec class as well to build a query to the database:
new SqlQuerySpec {
       QueryText = "SELECT TOP 10 * FROM Table t WHERE (t.entityType = @entityType AND t.org_id = @orgId AND CONTAINS(LOWER(t.identifier), @identifier))",
       Parameters = new SqlParameterCollection
        {    new SqlParameter("@entityType", 2),
             new SqlParameter("@orgId", orgId),
             new SqlParameter("@identifier", identifier.ToLower())
       }
}

The searched term that was used was a single character for example - "t" or "d" or "f" - and it would cause the occasional misbehavior. Pretty much every one in 10 tries would return a random response that I was not expecting as "t"/"d"/"f" are not contained within the string "serialnumber" that I had stored in the database.
If the searched term is longer than a single character, it seems to be working fine.
Thus, I was wondering what could be causing this behavior?

It took me under five minutes to write a unit test that confirms that this is in fact A MASSIVE BUG. Normally this might go weeks without a response, but I'm guessing that they'll be responding shortly.

ActivityId: 71e235c6-8ac8-400e-8e72-0c57c4c01d1a
With code that looked like this...
            var query = _DocumentClientRO
                        .CreateDocumentQuery<T>(CollectionUri)
                        .Where(predicate)
                        .Take(maxItemCount)
                        .AsDocumentQuery<T>();

I did a ToString() on query and it looked like this...
{"query":"SELECT TOP 1 * FROM root WHERE ((root[\"docType\"] = 4) AND CONTAINS(UPPER(root[\"gameName\"]), \"J\")) "}
Ok, I've now recreated this problem via the azure portal.

Folks, while someone looks into this deeper, could you check if HasMoreResults == true? Sometimes we return empty pages even though the query has more results. In this case lower or upper may lead to poor query performance leading to more pages. You can further troubleshoot query performance by looking at the query metrics documented here: https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sql-query-metrics . You can see these in the portal as well (currently using special URL: https://portal.azure.com/?feature.dataexplorerquerymetrics=true )

@kirillg I've got feature.dataexplorerquerymetrics=true in the querystring but I'm not seeing any additional information. My query also restricts the results to about 20 documents, i.e. c["docType"] = 4, and returns almost instantly, so I don't believe there are more results.
I'm also seeing the same behavior with LOWER in the query...

WHERE ((c["docType"] = 4) AND CONTAINS(LOWER(c.gameName), "J"))

It seems to be some weird incompatibility between the CONTAINS and UPPER/LOWER functions. I haven't been able to reproduce the problem with STARTSWITH or ENDSWITH.

thanks Jack. Service some times will send an empty page with continuation token if the time limit or RU budget allocated to the current execution episode is exhausted. If the filter expression leads to poor performance (e.g. scan), this can happen even if you're not asking for lots of results. Try clicking "Load More" at the bottom in your current repro to see if there are more results. To see the query metrics, you need to run this query in a query tab which you get by clicking "New Query". once you have the results, click on Query Results tab (see image below)

The results were four game documents which didn't have a "J" in their names.
Activity Id: 15f216e9-9e87-401d-b011-d537a4eb8d74

@kkostov5 @jackbond this is confirmed to be a regression in our backend. Fix is partially deployed and will get fully deployed  worldwide over the course of the next two weeks.


[SPARK-40667][SQL] Refactor File Data Source Options

What changes were proposed in this pull request?
Code refactor on all File data source options:

TextOptions
CSVOptions
JSONOptions
AvroOptions
ParquetOptions
OrcOptions
FileIndex related options

Change semantics:

First, we introduce a new trait DataSourceOptions, which defines the following functions:

newOption(name): Register a new option
newOption(name, alternative): Register a new option with alternative
getAllValidOptions: retrieve all valid options
isValidOption(name): validate a given option name
getAlternativeOption(name): get alternative option name if any

Then, for each class above

Create/update its companion object to extend from the trait above and register all valid options within it.
Update places where name strings are used directly to fetch option values to use those option constants instead.
Add a unit test for each file data source options

Why are the changes needed?
Currently for each file data source, all options are placed sparsely in the options class and there is no clear list of all options supported. As more and more options are added, the readability get worse. Thus, we want to refactor those codes so that

we can easily get a list of supported options for each data source
enforce better practice for adding new options going forwards.

Does this PR introduce any user-facing change?
No
How was this patch tested?

@brkyvz committed changes to address your comments, please take another review!

/test

@brkyvz comment addressed, feel free to take another look

Can one of the admins verify this patch?

@brkyvz @sadikovi @cloud-fan comments addressed, please take another look.

thanks, merging to master!


PDF tags after converting tags from PDF

PDF tags after converting tags from PDF
I'am trying to parse one archived Russian newspaper with following code
from os import listdir
from os.path import isfile, join
import sys
import pdftotext
from ftfy import fix_text

l = sys.argv[1]
onlyfiles = [f for f in listdir(l) if isfile(join(l, f))]

the_text = ""
for pdf_file in onlyfiles:
    with open(l+pdf_file, "rb") as f:
        pdf = pdftotext.PDF(f)
        the_text += pdf_file+'\n'
        #print(pdf_file)
        for page in pdf:
            the_text += str(page)
            #print(page)
        the_text += str(len(pdf))+'\n'
        #print(len(pdf))

a = open('res.txt', 'w')
ttt = fix_text(the_text)
a.write(ttt)
a.close()

and after parsing get following.

In PDF relevant text is here

How i can get rid of this strange text?

Can you provide a link to the PDF in question?

Sorry for delay. PDF is here https://drive.google.com/file/d/1zf9gJ18SKwEEJnTl-O-CDfdz09ZOcSq5/view?usp=sharing

How i can set custom font for pdftotext?

It sounds haven't made the effort to understand the issue.
There is no fix for us to do here. The creator of that PDF has made it so you can't automatically extract the correct text.


Additional API Support

Refactored several api functions to utilize V23.0 of the API and created first implementations of the following functions:
    'Get-ICUnassignedPhoneNumbers',
    'Get-ICHoursofOperation',
    'Get-ICPointOfContact',
    'Get-ICContact',
    'New-ICHoursOfOperation',
    'New-ICAgent',
    'New-ICPointOfContact',
    'New-ICSkill',
'Remove-ICContact',
    'Set-ICAgent',
    'Set-ICSkill',
    'Set-ICUser',
    'Set-ICHoursOfOperation',
    'Set-ICPointOfContact'

Rock on! This looks good! Are you happy for me to go ahead an publish verion 0.41 once I merge this?

Should be good to merge on my end! I've got no further major functionality planned.


[FEAT]: APIPie provider improvements

What would you like to see?
Refer to https://github.com/Mintplex-Labs/anything-llm/issues/2464#issuecomment-2458680527 to end for more details or scope.

Enable streaming on Apipie providers
File chat model providers with the query param for chatx so we can reduce model selection for LLM Options.

Keep the full .cache of models, apply the post-filter after that request on the resulting file contents. We can reuse this cache for Embedding and Voice Support

Investigate Voice and Embedder model support (filter appropriate models for each). If Embedding, TTS, or STT are viable break them into separate issues from this issue.

@timothycarambat
Thanks for this would be amazing to see, one other feature that might be worth looking at is we also provide Pinecone Vector DBs  for our users so if you are looking to implement TTS and Embedding it might also be worth looking at our Pinecone integration also.
Docs available here https://apipie.ai/docs/Features/Pinecone


php artisan schema:dump error (mysqldump8 and mysqld 5.7)

Laravel Version: 8.0.0
PHP Version: 7.4.*
Database Driver & Version: mysqldump 8 and mysqld 5.7

Description:
executing :
php artisan schema:dump

I receive an error
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'db_laravel_8' AND TABLE_NAME = 'failed_jobs';': Unknown table 'column_statistics' in information_schema (1109)

due to the different version mysqldump 8 against an older mysql daemon 5.7.
schema:dump execute mysqldump local command. The version 8 has the flag column-statistics set as 1 (true) by default. mysql5.7 could not have "information_schema.COLUMN_STATISTICS".
Steps To Reproduce:
In a envirnoment where you have mysqldump 8 and mysql5.7 execute php artisan schema:dump
Fix

In baseDumpCommand() (MySqlSchemaState.php) add option column-statistic=0

    protected function baseDumpCommand()
    {
        $gtidPurged = $this->connection->isMaria() ? '' : '--set-gtid-purged=OFF';
        $statisticOff = " --column-statistics=0 ";
        return 'mysqldump ' . $statisticOff . ''.$gtidPurged.' --skip-add-drop-table --skip-add-locks --skip-comments --skip-set-charset --tz-utc --host=$LARAVEL_LOAD_HOST --port=$LARAVEL_LOAD_PORT --user=$LARAVEL_LOAD_USER --password=$LARAVEL_LOAD_PASSWORD $LARAVEL_LOAD_DATABASE';
    }

Do you want to PR your fix?

Sure!

I submitted the PR : #34079

mysqldump: [ERROR] unknown variable 'column-statistics=0'
I got this error when try to run php artisan schema:dump

@vanthao03596 which database driver and version are you running?

mysqldump: [ERROR] unknown variable 'column-statistics=0'
I got this error when try to run php artisan schema:dump

@vanthao03596  Which version of mysqldump ? mysqldump --version

your database driver. Mysql? maria db? what version?

I replicated the error.
With mysql-client (mysqldump) 8 , column-statistics is supported;
with mysql-client (mysqldump) 5.7, column statistic is NOT supported.
Using column-statistics=0, it allows to use mysqdump8 with a mysql5.7(server)
Using column-statistcis=0 fails with mysqldump5.7
Possible solutions that I have in mind:

avoid to use column-statistics by default, and add a option in schema:dump (for example disable-statistic)
try to do some "magic": executing mysqldump without column-statistci, if it fails, try with column-statisctics.

I like more the first one.

@roberto-butti  @driesvints I'm using mysqldump, mysql 8.0.2

@roberto-butti so it seems it's not just mysql 5.7

@roberto-butti @driesvints I'm using mysqldump5.7, mysql 8.0.2

@vanthao03596  just to clarify,
mysqldump is version 5.7.30 and the mysql database service is 8.0.2. Is it correct ?
@driesvints  do you want i add a option in DumpCommand to allow the user to "disable" statistics and force (--column-statistics=0) only.
The parameter could be column-statistics-off, or something similar.
I could create a PR in my break lunch or this evening.

I think you'd want statistics off by default? The migrations are only meant for your DB structure, nothing else really.

ok, I agree to keep --column-statistics=0 in the code as default (now we have this, in the latest codebase).
And allow to the user to declare in command line to  skip column-statistics (with an option) if the user has a old version of mysqldump.
--skip-column-statistics (the name of the option in the signature of the command).
Is it ok for you, @driesvints ?

I think we need to find a solution where it never faults, on any MySQL version. In which specific situations does it fail now?

As far as i know on mysqldump 5.7 it fails bacause it doesn't support column-statistics=0 .
It is quite a common problem on backup software that rely on mysqldump. I see that lot of them has the option in the configuration to set or not the column-statistics.
I'm courious to see if also DbDumper of Spatie has the same problem...

Is there any way we can check for the MySQL version in that command to not use the flag when it's 5.7?

I mean mysqldump 5.7

As far as i know we have mysqldump --version.
But the output is differente based on the version , the build and the architecture.
For mysqldump 8 :
mysqldump  Ver 8.0.19 for osx10.15 on x86_64 (Homebrew)

or,  for mysqldump 5.7:
mysqldump  Ver 10.13 Distrib 5.7.29, for osx10.15 (x86_64)

See Ver and the Distrib.
So I think that we can't rely on the version output.

We could just state that the feature requires a certain version of mysqldump?

Sure @taylorotwell .
At this point my suggestion is :
the requirements is to have mysqldump version 8.
My additional suggestion is , for the user with an older version of mysqldump, allow them to use and additional option in command line, and allow them to use the feature schema:dump (is a kind of "legacy" option). What do you think ?

I'm going to release a PR, if you agree.
I think that i'm covering all scenarios.
Let me know what do you think ab out this proposal.
The only thing requested by the user for not having errors,  is to force the user to use the option --column-statistics-off in the condition with mysqldump 8 and mysqld 5.7.
Considering that is an edge case, the great library of spatie DbDumper it doesn't support this scenario (i think that i will drop a PR also for that package).

mysqldump version
mysql service version
artisan command to use

5.7
5.7
php artisan schema:dump

8
8
php artisan schema:dump

5.7
8
php artisan schema:dump

8
5.7
php artisan schema:dump --column-statistics-off

Is there really no way to determine the MySQL version in the command? Then we can work around this entirely.

Is there really no way to determine the MySQL version in the command? Then we can work around this entirely.

Currently I'm not able to determine a reliable way to identify exactly the version :(

PR #34125
Tested with:

mysqldump version
mysql service version
artisan command to use

5.7
5.7
php artisan schema:dump

8
8
php artisan schema:dump

5.7
8
php artisan schema:dump

8
5.7
php artisan schema:dump --column-statistics-off

Tested also with Posgtres connection (pg_dump) with php artisan schema:dump

and the file is .dump not .sql ?


Reset buttons added

Fixed issue #4004
I have added reset buttons to all calculators.
Please view my PR @sairish2001

Please view my PR @sairish2001


API endpoints not returning data in loval dev environment

The API endpoints, documented in the README, don't return JSON data. Instead, the theme renders an empty page with theme elements visible.
Reproduction

start the WordPress environment in project_creativecommons.org
visit one of the API endpoints documented in README
see the theme being rendered instead of JSON data

Expectation

The endpoint would return expected JSON data. Alternatively, there may be missing documentation to describe how to prepare the WordPress environment to return data from the API endpoints (such as configuring a menu).

When following the example in the README, I get a 301 Moved Permanently response.
$ http -aadmin:password http://localhost:8888/wp-json/ccnavigation/menu
HTTP/1.1 301 Moved Permanently
Connection: Keep-Alive
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Date: Tue, 14 Sep 2021 09:18:33 GMT
Keep-Alive: timeout=5, max=100
Location: http://localhost:8888/wp-json/ccnavigation/menu/
Server: Apache/2.4.48 (Debian)
X-Powered-By: PHP/7.3.30
X-Redirect-By: WordPress

Just a thought, but the 301 moved permanently may be redirecting to the same endpoint with a trailing slash.

Going further on the hunch of some redirect/rewrite setting, enabling WordPress permalink settings seems to have enabled the localhost:8888/wp-json endpoint (with and without trailing slash):

Opened a pull request to mention permalink settings in the WP API docs:
https://github.com/WP-API/docs/pull/118


Issue replicating published numbers

Hi,
I'm having some trouble replicating the published numbers on the Pokemon set. My runs converge to an FID of about 29. While some variance from published numbers is expected, this is quite a large difference. I'm not sure why this is happening, as I've not changed the code or training parameters. Could you kindly provide some insights?
Thanks

what are your training settings exactly?

I used the exact same code as commit edc3720. Other specs are as following:

System: Ubuntu 18.04

GPU: Quadro RTX 8000 (x2)

Batch Size: 64

#ticks: 350 (1.4 MImgs)

FID progress plot

Plot for an older commit, with lowest FID 28.6 (4.5 MImgs):

In edc3720 I increased the capacity of the generator which leads to much better results on diverse and large datasets (FFHQ  LSUN). However, this seems to be counterproductive on small datasets such as Pokemon. I added a new option (--cfg=fastgan_lite) which uses a light weight generator that trains faster and gives better results. You should be able to reproduce our results from the paper, below is the FID curve that I get with the most recent commit (8480bdd), best FID=26.27.


Raw Risk score calculation (mitigation modifier)

Change the mitigation modifier to decrease raw risk score by 15% (rather than 10 points)

Can this be for 0.5

Similar to #60
Need to change hardcoded modifiers by variables in store.ts
Current calculation is:
 if (mitigationScore >= percentage * maxMitigationScore) {
    total = rawRiskScore - deduction;
  } else {
    total = rawRiskScore;
  }

deduction will need to be changed to a percentage (0.15)
Then the totalwill need to be calculated on rawRiskScore - rawRiskScore * deduction

Actually, should be (1-deduction) * rawRiskScore


How to integrate in my c++ project

How to integrate in my c++ application. I have tried the examples project but it is throwing lot of linking error. can some on help

Hi, thanks for reporting the problem.
The examples were outdated and not in sync with the current developments. I updated them today, if they still don't work comment on this bug (reopen it if you wish) or in the user forum.


Adding coloured OK/ER messages using ANSI colours for the text terminal

This is a fun little thing. It is mostly cosmetic, but I think it can help to improve readability of OK / ERROR messages in a text terminal.

Nice. I wonder if we should be using the standard python library logging... https://docs.python.org/2/library/logging.html

This is actually not that useful for me, because I usually pipe the output to a file, where the coloring is lost...

@felipesanches this can be closed?

I'd rather leave it here for some day in the future. I would not put effort on it now. But would be nice to have someday maybe.


new hook problem

Hey, I'm trying to add a FireBullets_PostDataUpdate hook to this base, but apparently I don't know how to add a hook to this base yet, can someone help me? some changes I made to try to hook
Hooks.cpp
H::Setup

Interfaces.cpp

i dont know why but im read how you hook others function and i have tried to do the same with other sigs and the index of the function but it gives to me an error on DTR::FireBullets_data when i inject, can someone help me?

For complement, i already tried changing CTEFireBullets on Interfaces.cpp for DWORD, but i dont know if i was right about this, for real, i dont know if using CTEFireBullets as interface is the correct method to do this

For complement, i already tried changing CTEFireBullets on Interfaces.cpp for DWORD, but i dont know if i was right about this, for real, i dont know if using CTEFireBullets as interface is the correct method to do this too

Help me to understand something
What is CTEFireBullets?
How did you come up with that signature?

CTEFireBullets is a hooked function that give to me the exact angles and eye position of an player and the especific tick where they shoot, is good to resolve angles and i gonna use in backtrack, the signature i get from europiav2 source that ive found on yougame, the source appeared to be updated because is recently posted but i dont know if is really updated

CTEFireBullets is a struct, if you use FireBullet_PostDataUpdate you need to have this struct i think, the values from this struct come from FireBullet_PostDataUpdate hooked function that give to me the exact angles and eye position of an player and the especific tick where they shoot, is good to resolve angles and i gonna use in backtrack, the signature i gotted from europiav2 source that ive found on yougame, the source appeared to be updated because is recently posted but i dont know if is really updated

1: Show me the hook
2: It isnt an interface afaik
3: all you need to do is get the signature -> cast it to a LPVOID / PVOID -> use that as the hook address
Make sure you are also using the correct calling conventions and storing / restoring correct values. If you need more help my discord is аbc#0001 (copy it, it has a unicode character which you cant type)

The FireBulletsPostData hook and the function:

How im hooking: (its commented because its crash when injects and im testing other things)

How im setting I::FireBullets on interfaces.cpp: (i already tried to use DWORD instead of CTEFireBullets but the crash continues)

when i inject, the debugger show the crash is due to these lines:

paste issue. closed
btw, probably mistake is in asm inline, u trying to call undefined function, at least i dont see it on screens.


The value for property 'dirPermissions' is final and cannot be changed any further.

Expected Behavior
We use the copySpec in OpenSearch to prepare distribution packages (see please the snippet below). No issues in 8.2.1 but with latest 8.3-rc-2 the build fails with the exception.
Current Behavior
Caused by: java.lang.IllegalStateException: The value for property 'dirPermissions' is final and cannot be changed any further.
        at org.gradle.api.internal.provider.AbstractProperty$FinalizedValue.beforeMutate(AbstractProperty.java:498)
        at org.gradle.api.internal.provider.AbstractProperty.assertCanMutate(AbstractProperty.java:272)
        at org.gradle.api.internal.provider.AbstractProperty.setSupplier(AbstractProperty.java:221)
        at org.gradle.api.internal.provider.DefaultProperty.set(DefaultProperty.java:71)
        at org.gradle.api.internal.file.copy.DefaultCopySpec.setDirMode(DefaultCopySpec.java:480)
        at org.gradle.api.internal.file.copy.DefaultCopySpec_Decorated.dirMode(Unknown Source)

Context (optional)
 copySpec {
    into("opensearch-${version}") {
      into('config') {
        dirMode 0750
        fileMode 0660
        with configFiles(distributionType, jdk)
        from {
          dirMode 0750
          jvmOptionsDir.getParent()
        }
      }
}

Steps to Reproduce
The reference build file is here (it is pretty simple): https://github.com/opensearch-project/OpenSearch/blob/main/distribution/archives/build.gradle. But if there is a need to have a smaller reproducible example, I should be able to provide it.
Gradle version
8.3-rc-2
Build scan URL (optional)
No response
Your Environment (optional)
https://github.com/opensearch-project/OpenSearch/pull/8896

Thank you for providing a valid reproducer.
The issue is in the backlog of the relevant team and is prioritized by them.

I was able to reproduce with the project you shared: https://scans.gradle.com/s/yc5h6zbvchsmw/failure#1


removed go generate step

Codecov Report

Merging #29 (f97227f) into main (5bba8da) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   79.53%   79.53%
=======================================
  Files          10       10
  Lines         767      767
=======================================
  Hits          610      610
  Misses        108      108
  Partials       49       49

Continue to review full report at Codecov.

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


add rclone serve sftp

hello and thanks,
please add rclone serve sftp.
thanks

SFTP is implemented, I use this (App Version 1.7.4-ARM32, Rclone Version 1.44). When you configure a new remote it is the 3rd-last, labeled "SFTP/SSH".


Added Bombyx theme

Hi Luke,
This is my color theme, Bombyx. I also have a VSCode version at https://github.com/y6nH/bombyx. It's a dark, warm and silky palette that I've been using and refining for a while now. Hope you like it.

Hi! Thanks for adding this, it looks nice.


Disable building when runtime is not available

Related with #1
There could also be message about the missing runtime on the #71's active manifest status bar item.

The same would be needed for sdk extensions. So we probably need some way to get that information at first run and re-check later on somehow because the user might install those. The biggest issue with SDK extensions is we will need to resolve the version that should be installed; so rust-stable sdk extension with the GNOME Sdk 41, should map to fdo 21.08 and so to rust-stable//21.08 instead of rust-stable//41 which doesn't exists.
Once we can do all of this and we have that information, we could easily implement something to allow the user installing them like mentioned on #1 on top of that


fix(ButtonGroup): add toolbar interactions for role toolbar

Closes https://github.com/github/primer/issues/3423

Introduces an accessibility improvement to ButtonGroup by adding correct toolbar interactions (navigate with left/right arrow instead of tab) when supplied role="toolbar".
Changelog

New

Test file and tests for ButtonGroup
Added ButtonGroup "As Toolbar" story
Added e2e test for new ButtonGroup "As Toolbar" story
Snapshots for new story

Changed

Export ButtonGroup as PolymorphicForwardRefComponent<'div', ButtonGroupProps>
Update ButtonGroup to use focusZone with left/right arrow when role="toolbar" is supplied.

Rollout strategy

[x] Patch release
[ ] Minor release
[ ] Major release; if selected, include a written rollout or migration plan
[ ] None; if selected, include a brief description as to why

Testing & Reviewing

Test deployed As Toolbar story, notice keyboard interaction. Compare to other ButtonGroup stories (these should have normal tab keyboard navigation)
Merge checklist

[x] Added/updated tests
[ ] Added/updated documentation
[x] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[x] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge
[x] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

Looks good! closing

Probably a noob question, but do we anticipate any overlap with ActionBar, which is also a role="toolbar" with buttons

Probably a noob question, but do we anticipate any overlap with ActionBar, which is also a role="toolbar" with buttons and does that change our recommendation?

I think it's fine to have both functionalities in the codebase, we're not making toolbar the default behavior for ButtonGroup but want to support accessibility-wise if that were the use case on the consumer end. ActionBar renders differently than ButtonGroup so I see how there could be valid use cases for both as toolbars depending on what the consumer is trying to do/convey. It also seems like the future of ActionBar on primer is uncertain (see https://github.slack.com/archives/GACAW0NPM/p1730231906392899) so I think we're good to move forward.
Tagging @primer/design-reviewers in case there's any thoughts


Snap Store version is outdated

The package in the Snap Store is version 2.0.8, which is several months old. It looks like the deployment part of your Travis build may be broken.

Hey @derikson,
Yes you are right. I believe the snap provider had an issue sometime ago. I would check during the next  release if the updated token fixes the issue.

@imolorhe going back through the build history in Travis CI, I think the tagged versions fail on deploy with an error from Lerna that there are uncommitted changes in the working tree. See, for example, https://travis-ci.org/imolorhe/altair/jobs/523324317#L1850

@derikson Yeah but if you go further down through the history 😄 snap already had an issue before the lerna issue. I was hoping the snap provider issue would be fixed sometime (plus I didn't really have time to look into it) but the last actual failure seems to be an authentication issue (which could have been as a result of them fixing the issue), so I have now updated the authentication token and would see if that fixes the snap build.
https://travis-ci.org/imolorhe/altair/jobs/513607704#L2067

@imolorhe I see. Thanks.


block deser dynafed support

This adds supports to deserialise dynafed block.
This closes #23
@tiero please review.

add .idea to gitignore

Please run npm run prettier  on your code to format correclty @sekulicd

add .idea to gitignore @sekulicd

You also need to delete the folder and repush with "deleted .idea" in order to remove it from git

I added another test fixture for a block with compact current and null proposed params taken from https://github.com/ElementsProject/rust-elements/blob/acc702c/src/block.rs#L653 and added assertions to check the expected block hash, version, and signBlockWitnessLimit, along with number of transactions.
The block hashes resulting from block.getHash() are not matching those expected by the tests in rust-elements. Any ideas why?

The block hashes resulting from block.getHash() are not matching those expected by the tests in rust-elements. Any ideas why?

cc/ @sekulicd

@asoltys seems that toBuffer func used to calculate Block hash is outdated.

thanks @asoltys
@sekulicd  can you cherry-pick his commit to add the test? https://github.com/asoltys/liquidjs-lib/commit/4a0bb0c4b38d327ec247d49e89219798fb0b28e2

@tiero @altafan i merged with master and added code for block serialisation, please review commit a0edc38


"Tech Women Rising" conference link not visible unless hovered over

Describe the bug
"Tech Women Rising" conference link in Volunteer page font color is white, which is the same as background color so not visible unless hovered over.
To Reproduce
Steps to reproduce the behavior:

Go to https://shescoding.org/volunteer
Look at 5th bullet point for Tech Women Rising conference
Hover over whitespace and see link in green font
See error

Expected behavior
Font color to be in green
Screenshots

Desktop (please complete the following information):

Browser: chrome, safari, firefox

I'll work on fixing this.

Sounds good, thanks @adriennelim :)

Merged to master on 10/27/2018


Revert "chore(deps): update dependency yaml to v1.0.0-rc.5"

Reverts ikatyang/yaml-unist-parser#41
Ref: https://github.com/renovatebot/renovate/issues/2180#issuecomment-402894322

Codecov Report

Merging #45 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #45   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          26     26
  Lines         530    530
  Branches      103    103
=====================================
  Hits          530    530

Continue to review full report at Codecov.

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


[RayJob] Fix example misconfiguration.

Signed-off-by: Dmitri Gekhtman<EMAIL_ADDRESS>

Why are these changes needed?

The --object-store-memory flag in the sample RayJob config causes failed RayCluster setup, with this message:
https://github.com/ray-project/kuberay/blob/1694b9e2fba06f4d2378ea70c3fda679ee67b61d/ray-operator/controllers/ray/common/pod.go#L836-L837
This prevents the job from running to completion.
This PR fixes the issue by removing the --object-store-memory flag from the configuration.
Ray does a good enough job of figuring out appropriate object store memory itself.
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

cc @harryge00

@kevin85421, we've been talking about errors due to misconfiguration -- hopefully configuration tests can catch this kind of issue!


Ruby 3.4 replaces initial backtick by single quote

This prevents test error such as:
  Scenario: specify a method does not throw an expection                                               # features/its.feature:145
    Given a file named "example_spec.rb" with:                                                         # aruba-2.2.0/lib/aruba/cucumber/file.rb:26
      """
      class Klass; end

      describe Klass do
        subject { Klass.new }
        its(:foo) { will_not raise_error }
      end
      """
    When I run rspec                                                                                # features/step_definitions/additional_cli_steps.rb:1
    Then the example should fail                                                                       # features/step_definitions/additional_cli_steps.rb:23
    And the output should contain "Failure/Error: its(:foo) { will_not raise_error }"                  # aruba-2.2.0/lib/aruba/cucumber/command.rb:123
    And the output should contain "expected no Exception, got #<NoMethodError: undefined method `foo'" # aruba-2.2.0/lib/aruba/cucumber/command.rb:123
      expected "F\n\nFailures:\n\n  1) Klass foo is expected not to raise Exception\n     Failure/Error: its(:foo) {...e\n\nFailed examples:\n\nrspec ./example_spec.rb:5 # Klass foo is expected not to raise Exception\n" to string includes: "expected no Exception, got #<NoMethodError: undefined method `foo'"
      Diff:
      @@ -1,17 +1,33 @@
      -expected no Exception, got #<NoMethodError: undefined method `foo'
      +F
      +
      +Failures:
      +
      +  1) Klass foo is expected not to raise Exception
      +     Failure/Error: its(:foo) { will_not raise_error }
      +
      +       expected no Exception, got #<NoMethodError: undefined method 'foo' for an instance of Klass> with backtrace:
      +         # ./example_spec.rb:5:in 'block (2 levels) in <top (required)>'
      +     # ./example_spec.rb:5:in 'block (2 levels) in <top (required)>'
      +
      +Finished in 0.01104 seconds (files took 0.05894 seconds to load)
      +1 example, 1 failure
      +
      +Failed examples:
      +
      +rspec ./example_spec.rb:5 # Klass foo is expected not to raise Exception
       (RSpec::Expectations::ExpectationNotMetError)
      <internal:array>:42:in 'Array#each'
      features/its.feature:158:in `the output should contain "expected no Exception, got #<NoMethodError: undefined method `foo'"'

Ruby upstream ticket:
https://bugs.ruby-lang.org/issues/16495

Thanks, verified this fixes the build by adding Ruby 3.4 to the build and our cucumber monkey patch


[SUPPORT]prestodb read hudi incorretly after ddl by spark

spark 3.2.2
hudi 0.11.1
prestodb 0.274
hive 2.3.5
the following step could recreate the bad read:
these are done by spark:
set hoodie.schema.on.read.enable=true;
create table p1011 (
id string,
f1 string,
f2 string,
ts bigint
) using hudi
tblproperties (
type = 'mor',
primaryKey = 'id',
preCombineField = 'ts',
'parquet.column.index.access'='true'
);
insert into p1011 select '01','f1_v','f2_v',1657608295538000;
insert into p1011 select '02','f1_v','f2_v',1657628170556000;
ALTER TABLE p1011 ADD COLUMNS(f3 string);
insert into p1011 select '03','f1_v','f2_v',1657628170776000, 'f3_v';
ALTER TABLE p1011 RENAME COLUMN f3 TO f3_new;
when i spark-sql return the right result:

select id, f2, ts, f3_new from p1011;
01 f2_v<PHONE_NUMBER>538000 NULL
02 f2_v<PHONE_NUMBER>556000 NULL
03 f2_v<PHONE_NUMBER>776000 f3_v

but when i prestodb, it returns:
Query 20221017_013025_00001_wqfhy failed: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.LongWritable
when i change the table property by spark:
alter table p1011 set tblproperties ('parquet.column.index.access'='false');
then i prestodb, it returns the incorrect result:
id | f2 | ts | f3_new
----+------+------------------+--------
01 | f2_v |<PHONE_NUMBER>538000 | NULL
02 | f2_v |<PHONE_NUMBER>556000 | NULL
03 | f2_v |<PHONE_NUMBER>776000 | NULL
id=03, the [f3_new] field value should be [f3_v].
could any one help me? thanks a lot.

@duanyongvictory  Which connector did you use， hudi connector or hive connector.
currently， presto not support read hudi table which has done schema evolution.
But don't worry. The relevant PR will be raised this week

it seems this pr does not work with presto 0.274 version.

hive connector:
Add support for allowing to match columns between table and partition schemas by names for HUDI tables. This is enabled when configuration property hive.parquet.use-column-names or the hive catalog session property parquet_use_column_names is set to true. By default they are mapped by index.
Default value: false .Set to true,This problem is solved.
hudi connector of prestodb:
There is no such problem.
hudi connector of trino:
By default, use_parquet_column_names=true ，which plays an equivalent role as parquet_use_column_names does


Any way to make better result (avoid deformed head), e.g. more iterations etc?

I love this thing, thanks for the great work.
The result is amazing. The only problem I'm having. When the head moves too much and it results a deformed head.
Currently, it takes about 2min to generate one clip. I don't mind to wait for longer if I can get rid of the deformed head.
Is there a way where I can increase iterations or so to make it better? Any parameter can be tuned? This is the command I'm using:
python /bin/first-order-model-master/demo.py --config /bin/first-order-model-master/config/vox-adv-256.yaml --driving_video .\driver-1x1.mp4 --checkpoint /bin/first-order-model-master/play/vox-adv-cpk.pth.tar --relative --adapt_scale --source_image .\VanGogh.jpg

What deformed head means?

Video and image are square.
In general, it worked pretty well. This only happened in some spots.
I have tried to half the video speed (with interpolated frames) and also resize the face of the image to cover the driver video (start image), all didn't help  :-(

Probably the headphones produce some problems.
In general the is no much control over the output, just --adapt_scale so you may try without it.

without --adapt_scale looks pretty much the same.
I'll try rotpscope and make the headphones blurry. Does it track the edge of the face? in case I blur the edge, too.

Not much difference :-(

I think it looks much better now. I split the video and use a later starting point.

OK, here is my final product:
https://youtu.be/FOZ5AggeQI8
I learned a lot through this exercise and I want to share my experience:

Splitting the video helps to minimize distortion. The transition between the clips is a bit jumpy. But it's still better than weird deformed head.
(Dark) headphones covering the ears are fine. I assume it simply takes it as long hair.
 The head stretched horizontally:

I guess it interprets as two ears are visible at the same time and tries to render the image accordingly. That wasn't an issue with long hair.
I masked the surrounding of my face, but then the shoulders started jumping up and down. So I had to leave the shoulder free from mask. You still can see a jump when my hands went over my shoulders.

What I learned from these:

Do not change the surrounding of the face.
Ensure shoulders are clearly visible.

I hope this is useful.

I am having some weird issue with my driving video and source image.
As you mentioned the shoulder jumps, yes it is happening here too. For me I tried to use my grandfather's source image which has an upper torso (cheat above). To avoid issues I used a driving video which has a similar postion as that of the source image but when I render the final video the video has some jumping going on. The shoulders twitch and there is a sort of a blip.
Any ways to solve it?


Republika Srpska and Srpska Krajina join Serbia

SomeRandomGuy00Map
Hey I'm pretty sure that following a Serbian win in the Yugoslav wars, there should be some kind of annexation event for Republika Srpska and Srpska Krajina, as their expressed goals were to stay within the FR of Yugoslavia.
Also, Serbia should be the war leader for the Serb side in the Croatian and Bosnian wars.


scripts: Use shellcheck within lint.sh and fix issues

/cc @0xFelix
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/hold
We need to bump the image to v20221104-3adec0b before this can land.
https://github.com/lyarwood/project-infra/blob/e3614ce264032cb8c76191c7278b73f32f90b936/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml#L17

/lgtm

https://github.com/kubevirt/project-infra/pull/2458 will bump the image so we can land this.

/hold cancel
/retest

/approve

/approve

/lgtm


How to use openvpn to connect to casdoor And use Wecom as Casdoor's provider?

Problem Statement
No response
Proposed Solution
No response
Additional information
No response
Acceptance Criteria
No response

I have no idea

I have no idea, but casdoor supports OIDC https://casdoor.org/de/docs/how-to-connect/oidc-client which is compatible to openvpn-auth-oauth2 out of the box

Yes,it's  compatible to openvpn-auth-oauth2 out of the box.However, after configuring the openvpn server, I use the client connection to jump to the callback casdoor on the web page, and the message returned to me is failed to exchange token: oidc: json: cannot unmarshal array into Go struct field itcAlias.address of type oidc.UserInfoAddress into *oidc.itcAlias”.

@jkroepke Could you help me test this problem?

Whats your configuration?

It's my configuration.

could you try this:

CONFIG_OAUTH2_SCOPES=openid

what's the openid?

Thats the root cause:

https://github.com/casbin/casdoor/issues/1184

Casdoor is using an address field inside the token which is not standard conform and the error

json: cannot unmarshal array into Go struct field itcAlias.address of type oidc.UserInfoAddress into *oidc.itcAlias”.

Says that the format of the field can not be translated into the expected structure.
Be reducing the scopes, the hope is that the field is omit from token which should avoid the error maybe.

#88 could be a potential fix here, because I used a minimal token interface which ignore the address token field. I do not use the field anyways, It's safe to ignore.

https://github.com/jkroepke/openvpn-auth-oauth2/actions/runs/7259045867?pr=88 at the bottom, there is a Artifact named dist which contains the linux binary that contains the fix.
It's possible that you test this?

When I use min-tonken to compile and install, I report an ERROR "time=2023-12-19T09:28:54.421Z level=ERROR msg="error loading config: validation error: oauth2.client.id is required""


Add the cache dir example for the yarn classic

Issue #, if available:
There is no issue I made for.
The current Dependency Caching page does not explain how to configure the codebuild cache for Yarn.
Description of changes:
Yarn v1 (Classic) uses ~/.cache/yarn as its dependency cache dir for linux environment, so .
Note that Yarn v2+ (Berry) uses ./.yarn/cache as its dependency cache dir, but I haven't tried to use it so this PR does not include changes for Yarn v2+.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Thanks for checking this PR! 👋

Thank you for the submission @KengoTODA ! I will make this change now.


Allow RelWithDebInfo and MinSizeRel configurations on cmake

I had the need to build ROS2 on MSVS using RelWithDebInfo configuration, and discovered that ament_tools changed the value passed with --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo to 'Release'
This PR addresses this case

Thank you for the patch.
I fixed the style to pass the linters / tests.


Document adding to sources

This is something that tripped me up when trying out this package. If
it is a valid step, please add it in.

Great, thanks!


Introductory documentation about error messages

Write documentation to help users interpret error messages.  E.g., what is the significance of NUMBER in the below terminal output?
gr1c return code:

255

 gr1c stdout, stderr:

syntax error, unexpected NUMBER
Error detected on line 4.

There are two tasks:

improve the quality of hints in messages given when quiting on error.  (I claim the above is obvious, but it is a specific example of confusing error messages given to me by a user.)
create a page introducing the kinds and contents of error messages that is useful both to users as well as those interested in debugging gr1c internally.

Note that the above terminal output is from TuLiP; only the text "syntax error,..." is from gr1c. Also note that the return code from gr1c here is -1, which is type-casted to 8-bit unsigned int.

Realized as of f1e82e4a2c4a339a9610f1112b6b57a5889327c0
The first task "improve the quality of hints in messages..." is already done. The motivating example in the OP should really be directed at the gr1c wrapper in TuLiP. The actual message from gr1c ("syntax error...") is already quite descriptive and useful.


[FEATURE] Add Logout button

Description
Currently after logging, there's no way to logout from the app beside manually changing localStorage.isLogged = false.
This is would be a follow up on #36 and #14
With this, I think the we'd have a complete auth system for the app
Screenshots
No response

@Dun-sin what are your thoughts on this?

@Dun-sin what are your thoughts on this?

I'm going to leave it for now, until I at least work on the chat part of the itself

noted

Hello @mathiasayivor is someone working on this feature. I have worked on this tech stack it will be easy for me to implement and learn more, can you please guide me further on this so that I can start.

@Dun-sin what are your thoughts on this?

I'm going to leave it for now, until I at least work on the chat part of the itself

@Dun-sin suggested we wait till at least some parts of the app is working.

Thanks @mathiasayivor.

Hi guys!! @mathiasayivor, @Dun-sin  Anyone is working on this feature?, I can work on it.


NullReferenceException on IOS.

Xamarin.Auth Issue
I haven't reproduced it. All I see is this exception in my logs. Hope you can use it for something. Sorry for the little information.
Exception (NullReferenceException): Object reference not set to an instance of an object.   at Xamarin.Auth.WebAuthenticatorController+UIWebViewDelegate.LoadingFinished (UIKit.UIWebView webView) <0x1017c8fb0 + 0x00054> in <90b79cf7264c430a928c8ab5cce5ca18#beecb3912fa11429e4f57fcd07479bca>:0     at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)    at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) <0x1009c3bbc + 0x00047> in <c7623ebd6c5c49808d04bacb43da90c0#beecb3912fa11429e4f57fcd07479bca>:0     at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) <0x1009c3b00 + 0x0005b> in <c7623ebd6c5c49808d04bacb43da90c0#beecb3912fa11429e4f57fcd07479bca>:0     at AulaNative.iOS.Application.Main (System.String[] args) <0x1003786c4 + 0x0003b> in <552d4a1a779e4272bf8ca9667ab8a860#beecb3912fa11429e4f57fcd07479bca>:0
Version

[ ] nuget version = 1.7.0

Steps to reproduce
We are using many third party IdPs. And it is working in the cases we can reproduce. My guess is that one of them returns an error.
We are using the Authenticator like this:
AuthenticationState.Authenticator = new OAuth2Authenticator(
                clientId,
                null,
                scope,
                new Uri(authoriseUrl),
                new Uri(redirectUrl),
                new Uri(accessTokenUrl),
                null,
                false);
            AuthenticationState.Authenticator.ClearCookiesBeforeLogin = true;
            AuthenticationState.Authenticator.ShowErrors = false;
            AuthenticationState.Authenticator.AllowCancel = true;

PresentViewController(AuthenticationState.Authenticator.GetUI(), true, OAuthCompleted);

Platform:
Xamarin.IOS.  If it's an error then at least something to clarify what is going wrong.
Actual behaviour
Exception (NullReferenceException): Object reference not set to an instance of an object.   at Xamarin.Auth.WebAuthenticatorController+UIWebViewDelegate.LoadingFinished (UIKit.UIWebView webView) <0x1017c8fb0 + 0x00054> in <90b79cf7264c430a928c8ab5cce5ca18#beecb3912fa11429e4f57fcd07479bca>:0     at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)    at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) <0x1009c3bbc + 0x00047> in <c7623ebd6c5c49808d04bacb43da90c0#beecb3912fa11429e4f57fcd07479bca>:0     at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) <0x1009c3b00 + 0x0005b> in <c7623ebd6c5c49808d04bacb43da90c0#beecb3912fa11429e4f57fcd07479bca>:0     at AulaNative.iOS.Application.Main (System.String[] args) <0x1003786c4 + 0x0003b> in <552d4a1a779e4272bf8ca9667ab8a860#beecb3912fa11429e4f57fcd07479bca>:0

Still happening. It happens when some error occurs. We just don't know which error because it throws an exception.


🐛 BUG: wrangler init --from-dash example-worker produces invalid toml file (script property in routes)

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.10.0 [Wrangler]
What version of Node are you using?
16.19.0
What operating system are you using?
Linux
Describe the Bug
I have used wrangler init --from-dash example-worker and followed the prompts. Login was successful too. When I try to do wrangler deploy, I get the following error.
ERROR Processing wrangler.toml configuration:

    - Expected "routes" to be an array of either strings or objects with the shape { pattern,
  custom_domain, zone_id | zone_name }, but these weren't valid: [
        {
          "pattern": "exmaple.com/",
          "zone_name": "",
          "script": "example-worker"
        },
        {
          "pattern": "www.exmaple.com/",
          "zone_name": "",
          "script": "example-worker"
        },
        {
          "pattern": "stage.exmaple.com/",
          "zone_name": "",
          "script": "example-worker"
        },
        {
          "pattern": "dev.exmaple.com/",
          "zone_name": "",
          "script": "example-worker"
        }
      ].

My wrangler.toml produced by wrangler init --from-dash example-worker looks like this:
name = "example-worker"
main = "src/index.ts"
compatibility_date = "2023-09-05"
usage_model = "bundled"
env = { }

[[routes]]
pattern = "exmaple.com/"
zone_name = ""
script = "example-worker"

[[routes]]
pattern = "www.exmaple.com/"
zone_name = ""
script = "example-worker"

[[routes]]
pattern = "stage.exmaple.com/"
zone_name = ""
script = "example-worker"

[[routes]]
pattern = "dev.exmaple.com/"
zone_name = ""
script = "example-worker"

[triggers]
crons = [ ]

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

@munim this appears to have been fixed with #4470. I'm going to close this issue in light of that. If the issue persists, please reopen. Thanks!


[meta] add tests for k8s 1.18 and remove 1.5

This commit remove tests on GKE 1.15 and add tests on GKE 1.18 following
new GKE version updates:
https://cloud.google.com/kubernetes-engine/docs/release-notes#April_06_2021

jenkins test this please

jenkins test this please

jenkins test this please

jenkins test this please

failing for unrelated reason, merging and will backport because it's blocking every other PR on any branches.


[LW-9597] Transaction expiry date

Checklist

[x] JIRA - https://input-output.atlassian.net/browse/LW-9597
[x] Proper tests implemented
[x] Screenshots added.

Proposed solution
Add expiry date for send flow and dapp transaction confirmation.
Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots

coverage: 50.567% (-0.01%) from 50.577%
when pulling 308632dfda9be950be8ca0279d80adced853d96b on feat/lw-9597-transaction-expiry-date
into b4f7c81417f84d4762e91f67cd6a1a76ce3355ad on main.

A few small comments, also, what does it happen when a transaction validity interval is expired? currently the dapp-connector doesn't open.

I'm not sure. The submitted transaction should fail, but I don't know why dapp connector doesnt open.

A few small comments, also, what does it happen when a transaction validity interval is expired? currently the dapp-connector doesn't open.

I'm not sure. The submitted transaction should fail, but I don't know why dapp connector doesnt open.

It does fail.. but silently. That's on your branch. If you want to see it yourself, I can tell you where the dapp connector is..


Vapor pressure disaggregation has strange dips during early morning

While working on MetSim I can across a strange phenomena that VIC 4.2 produces when running with the FORCE_OUTPUT option.  Using the Stehekin test data the behavior can be seen in the plot below.  This is taken from a slice [96:128] of the output data.

I believe this is coming from the constraint that VP cannot exceed saturation vapor pressure.  This isn't a bug.
The algorithm for disaggregating VP is as follows:

Assume "daily" value of VP corresponds to sunrise
Linearly interpolate between sunrises of each day to get hourly values
In those hours when saturation pressure is less than VP, set VP = saturation pressure

Well - if it's not a bug then it is not right either. It makes the time series look very strange and even if the code correctly implements what you describe above then the resulting time series looks just plain strange and not physical at all. This is exactly why I want to take the out of VIC and make this explicit, because this odd behavior is completely invisible to anyone.

@arbennett : Can you replace the figure with one that has a line instead of dots and a few more days. That makes it immediately obvious that the dips are an artifact of the algorithm not a reflection of some physical process.

@bartnijssen here's an updated plot:

@tbohn This is the code I have been looking at for the vapor pressure disaggregation: https://github.com/UW-Hydro/VIC/blob/7c3556ba31b8df8ad292ace10e0a2845dd81276b/src/initialize_atmos.c#L1220-L1263

@bartnijssen humidity isn't written out in the setup I have.  Do you know if I can set something in the global_param file to make it output?

@arbennett and @bartnijssen Just so you understand why I did what I did, let me give a little background.  Note - I'm not arguing with you on this.  I just want to make sure people understand what I did, so they don't think "This guy Ted just seemed to mess up everything he put his hands on."

Before I added the linear interpolation, the "disaggregation" was to hold VP constant during the day, resulting in a step function.  I agree, those little dips look unphysical, but I ask you to consider how physical the step function looks.
Yes, @bartnijssen is correct, relative humidity (RH) is very useful to look at in this context, as is vapor pressure deficit (VPD).  In fact, both of those variables start looking strange when you have a step function for VP.  When we wrote the Bohn et al 2013 MTCLIM evaluation paper, I did compare (don't recall if the plots are in the paper itself) hourly RH with observations and found a much better fit than using the step function.  And given that several functions in VIC are dependent on VPD, you might want to check how those look with and without the linear interpolation before making your final decision.
When I implemented the linear interpolation, of course I made sure there was an option to not use it (and go back to the previous step behavior) if one didn't like it.

@bartnijssen yes, I understand why you wanted to take the forcing processing out of VIC.  It makes sense.
@arbennett yes, you can output RH by specifying OUT_REL_HUMID in out global param file.

Of course, people still might conclude that "This guy Ted seemed to mess up MOST of what he put his hands on", but hopefully the VP disaggregation won't be on the list...

@tbohn : No need to fall on your own sword. At some point you have to make a decision on how to handle things like RH > 100% and it all seems like a reasonable procedure, but you have to admit the curve looks odd. My guess is that those periods correspond to brief periods when Rhum reaches 100%. The nice part of creating the met series independently is that it showcases the consequences of the assumptions we make more explicitly.
@arbennett : Can you overlay the temperature and RHUM on the same plot (or make two more plots with the same x-axis?
At this time the decision we need to make is whether we want to emulate this behavior exactly (at least in MetSim 1.0) or whether we want to change it. My inclination would be: Since this is NOT a bug but intentional, we reproduce the behavior in MetSim 1.0 and then evaluate later whether we want to change this. @tbohn : let me know what you think.
@arbennett : I think your procedure in MetSim already does almost all of this. I think the only constraint you need to add (after the interpolation) is that : vp = vp_sat if vp > vp_sat. You can calculate vp_sat as a function of the air temperature.

@bartnijssen Your plan seems reasonable to me - v1.0 just translates the same functionality to the stand-alone tool.  Subsequent versions can improve it.

After @arbennett adds the additional plots I will close the issue and I will open another one to examine this issue more closely in the future.

Here are the updated plots:

Thanks @tbohn and @bartnijssen for the discussion, I'll make sure this behavior gets implemented in MetSim.

OK, thanks for the updated plots. They do clearly indicate what is going on. Closing it here - we can continue this in MetSim (https://github.com/UW-Hydro/MetSim/issues/15).


return error instead of just logging it and add detailed error messages

Please provide a description of this PR:
This PR returns the error and fails immediately instead of just logging it and continuing processing. This PR also adds detailed error messages to other failure paths to help the user understand what went wrong. See this thread  for more details.
Related to #53357

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

I should have added a release note to this. I think it makes sense to try and backport this to 1.24 and 1.23 too, so I will follow up with a PR for the release note and backport that as well.

In response to a cherrypick label: new pull request created: #53983

In response to a cherrypick label: new pull request created: #53984

In response to a cherrypick label: new pull request could not be created: failed to create pull request against istio/istio#release-1.23 from head istio-testing:cherry-pick-53708-to-release-1.23: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for istio-testing:cherry-pick-53708-to-release-1.23."}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request","status":"422"}

In response to a cherrypick label: new pull request could not be created: failed to create pull request against istio/istio#release-1.24 from head istio-testing:cherry-pick-53708-to-release-1.24: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for istio-testing:cherry-pick-53708-to-release-1.24."}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request","status":"422"}


taxonomy.kingdom is always null

In the taxonomy object of a species, the kingdom seems to be never defined. e.g.
taxonomy": {
    "irn": 417,
    "kingdom": null,
    "phylum": "Chordata",
    "subphylum": "Craniata",
    "superclass": "Gnathostomata",
    "class": "Actinopterygii",
    "subclass": null,
    "superorder": null,
    "order": "Perciformes",
    "suborder": null,
    "infraorder": null,
    "superfamily": null,
    "family": "Pempheridae",
    "subfamily": null,
    "genus": "Pempheris",
    "subgenus": null,
    "species": "multiradiata",
    "subspecies": null,
    "author": "Klunzinger, 1879",
    "code": "ICZN",
    "taxonRank": "Species",
    "taxonName": "Pempheris multiradiata",
    "commonName": "Bigscale Bullseye",
    "otherCommonNames": [ ]
}

More an issue with content consumed from API.  Will raise issue with curators.

I think when you get around to documenting the JSON, a note to the effect that the default kingdom is Animalia would do the job. Cheers!

will do :+1:


refactor: delete print statement

When you execute a gradle task, this is output:
 ./gradlew buildNativeLambda

> Configure project :
DOESN'T EXIST!! = native-image
DOESN'T EXIST!! = native-image

I don't think we should have this print statement. Or if we want it it should use Gradle logger and it should not appear by default.

Thanks for the reversion! It was obfuscating our outputs a bit.


build fails on 1.8

Hi there,
When I try to build chinook-sample, it fails during the final stage.  I am using openjdk-8 (do I have to use Oracle instead?). I tried to use instead 1.7, but then spark-core complained that it needed major.minor 52. Unfortunately, I am not sufficiently familiar with the java ecosystem to figure this out on my own (I am coming from Haskell), so I would appreciate any suggestion. I include below the error and part of the stacktrace produced.
Thank you,
George

$ gradle -a run --stacktrace
:chinook-sample:compileJava UP-TO-DATE
:chinook-sample:compileFrege UP-TO-DATE
:chinook-sample:processResources UP-TO-DATE
:chinook-sample:classes UP-TO-DATE
:chinook-sample:run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
:chinook-sample:run FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':chinook-sample:run'.

Process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'' finished with non-zero exit value 100

Try:
Run with --info or --debug option to get more log output.

Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':chinook-sample:run'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)

Nope no need for Oracle. This is the output for java -version
openjdk version "1.8.0_72-internal"
OpenJDK Runtime Environment (build 1.8.0_72-internal-b15)
OpenJDK 64-Bit Server VM (build 25.72-b15, mixed mode)

It seems you're not using the gradle wrapper could you try again with the wrapper ?
./gradlew -a run
I've realized the gradle wrapper version is 2.6. For next release I should be updating that too, it's a little bit old.

This is my java -version:
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

And here is the output of ./gradlew  -a run
./gradlew -a run
:chinook-sample:compileJava UP-TO-DATE
:chinook-sample:compileFrege
:chinook-sample:processResources UP-TO-DATE
:chinook-sample:classes
:chinook-sample:run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
:chinook-sample:run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':chinook-sample:run'.
> Process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'' finished with non-zero exit value 100

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.254 secs

It's really weird. They only way I could reproduce it is when I tried to run the sample app when the port was already taken by another instance.
I don't have time now, but next thing I'm gonna do is to activate all logging traces to see what's really happening, and I'll try to get back to you asap.
Thanks for the feedback George

Wow. Sorry to bother you with such a trivial issue. 8080 was already taken: once I changed the port everything worked out.
Thanks a lot.

No worrries and thanks for the feedback, it's clear that in future releases there should be more logging information.


RangeError: Maximum call stack size exceeded

Reported by JohanTh in the chat.
Reproduce: https://github.com/JohanTh/longtest

This issue was moved to xolvio/chimp#94


Report Based On WLM Service Class

QWACWLME can be used as Service Class name - but only for DDF. There is no Report Class analogue.

Done - New  BYSCLASS.JCL and updates to README.


[2024-11-07] Disallow publishing imported events through version history

Short description

This PR removes the buttons from the version history for imported events from an external calendar.
Proposed changes

Remove buttons

Side effects

I'm not 100% sure if this is the best way to do it, or if maybe some explanatory text would be helpful. What do you think?

Resolved issues

Fixes: #3107

Pull Request Review Guidelines

I think removing the buttons is valid, another option could be to disable them / gray them out?
In both cases, a short help text would probably be nice though, I agree.
However, could you please also add some backend validation to ensure imported events are not published?

However, could you please also add some backend validation to ensure imported events are not published?

Fair point! I'm still trying to evaluate what the most sensible validation would be. Do we just not want some users (like authors) to not publish them or do we not want any user to be able to publish them? If so, wouldn't that defeat the purpose of importing the events in the first place? :thinking: If you have any suggestions, I would be interesting in hearing them :)

However, could you please also add some backend validation to ensure imported events are not published?

Fair point! I'm still trying to evaluate what the most sensible validation would be. Do we just not want some users (like authors) to not publish them or do we not want any user to be able to publish them? If so, wouldn't that defeat the purpose of importing the events in the first place? 🤔 If you have any suggestions, I would be interesting in hearing them :)

Oops, yes, "ensure imported events are not published" was probably an unfortunate way to formulate this 😆
If it's just the authors, I would go ahead and prevent them from publishing imported events, ever, since AFAIK they are not allowed to add external calendars anyways, right?
If it's about noone being able to publish draft events imported from external sources, I would suggest enforcing this for all endpoints, except for the initial import.
But the first one is probably easier and more accurate to the issue description

@charludo & @jarlhengstmengel I'm sorry that it took me so long to get back to this. But finally this PR is ready to be reviewed again :)
Most prominent changes:

background check was added
The button reappears but now is disabled with a title describing why the button is disabled

:)

@JoeyStk
The desired behaviour is that no user can publish or turn imported events into draft or refresh their date, right?

Yes, at least for imported events


TZIP-10 (Beacon) support for interacting with Tezos dApps

WalletConnect is an elegant solution for linking mobile wallet to dApp.
It seems Tezos have their own TZIP-10 standard for interacting with Tezos dApps, also called 'Beacon' (https://gitlab.com/tezos/tzip/-/blob/master/proposals/tzip-10/tzip-10.md)
Would it be possible to incorporate Beacon support within Trustwallet (SDK at https://docs.walletbeacon.io)? The alternative is to get another Tezos-specific mobile app just to handle my single Tezos NFT.
I've posted the same issue in the upstream WalletConnect monorepo.

Is it this similar to Ethereum web3 provider?

Interesting, I would suggest WalletConnect V2 to add Tezos support


How to update the entire search index after switching to Meilisearch

I've updated an AnswerDev installation to use Meilisearch, but only newly created or updated questions and answers can be searched.
How to create a full site index with all existing content?
Thank you!

Ah, thank you @LinkinStars - you're really fast :rocket:
Not a big deal atm, as we're only starting using Answer.
But already a big fan of it, and list of enhancements that we ideally try to contribute ourselves is growing.
Thanks!


[Question]: Receiving a connection error while connecting to Ollama on my host machine

What is your question?
I've been trying to get my local instance of Ollama to work with LibreChat for a while to no avail. I'll post my librechat.yml file in the "More Details" section below. I'm runng Librechat within Docker.
Ollama is running fine on my local machine--if I run the following, I get a valid response as expected:
curl http://localhost:11434/v1/chat/completions \
    -H "Content-Type: application/json" \
    -d '{
        "model": "phi3",
        "messages": [
            {
                "role": "system",
                "content": "You are a helpful assistant."
            },
            {
                "role": "user",
                "content": "Hello!"
            }
        ]
    }'

However I'm getting the following error within the ./logs directory.
{"cause":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","message":"request to http://host.docker.internal:11434/v1/chat/completions failed, reason: connect ECONNREFUSED <IP_ADDRESS>:11434","type":"system"},"level":"error","message":"[handleAbortError] AI response error; aborting request: Connection error.","stack":"Error: Connection error.\n    at OpenAI.makeRequest (/app/api/node_modules/openai/core.js:292:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ChatCompletionStream._createChatCompletion (/app/api/node_modules/openai/lib/ChatCompletionStream.js:53:24)\n    at async ChatCompletionStream._runChatCompletion (/app/api/node_modules/openai/lib/AbstractChatCompletionRunner.js:314:16)"}

[ ]

More Details
Here is my librechat.yml file:
For more information, see the Configuration Guide:
https://www.librechat.ai/docs/configuration/librechat_yaml
Configuration version (required)
version: 1.0.9
Cache settings: Set to true to enable caching
cache: true
endpoints:
custom:
- name: "Ollama"
apiKey: "ollama"
# use 'host.docker.internal' instead of localhost if running LibreChat in a docker container
baseURL: "http://host.docker.internal:11434/v1/chat/completions"
models:
default: [
"codestral",
"phi3",
"mixtral:8x7b-instruct-v0.1-q4_1",
]
# fetching list of models is supported but the name field must start
# with ollama (case-insensitive), as it does in this example.
fetch: true
titleConvo: true
titleModel: "current_model"
summarize: false
summaryModel: "current_model"
forcePrompt: false
modelDisplayLabel: "Ollama"
What is the main subject of your question?
Endpoints
Screenshots
No response
Code of Conduct

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

try to set the baseURL to : http://host.docker.internal:11434/v1/

Thanks for the quick response, although (I should have mentioned) I had tried that as well. Same error:
{"cause":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","message":"request to http://host.docker.internal:11434/v1/chat/completions failed, reason: connect ECONNREFUSED <IP_ADDRESS>:11434","type":"system"},"level":"error","message":"[handleAbortError] AI response error; aborting request: Connection error.","stack":"Error: Connection error.\n    at OpenAI.makeRequest (/app/api/node_modules/openai/core.js:292:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ChatCompletionStream._createChatCompletion (/app/api/node_modules/openai/lib/ChatCompletionStream.js:53:24)\n    at async ChatCompletionStream._runChatCompletion (/app/api/node_modules/openai/lib/AbstractChatCompletionRunner.js:314:16)"}


Fix issue when ExtendedDSL#run's path: option doesn't end with a '/'

If you forget to put a '/' (on UNIX) at the end of your path: option for ExtendedDSL#run it will fail regardless if the directory exists or not. For instance test { }.run(path: '/path/to/jmeter/bin/') is acceptable but test{ }.run(path: '/path/to/jmeter/bin') will always fail.
This PR fixes that issue.

@90kts, any reason you didn't just merge?

conflicted with another recent merge on same code - easier to make new commit

Oh, I see.
El 10 oct. 2016 7:13 p. m., "Tim Koopmans"<EMAIL_ADDRESS>escribió:

conflicted with another recent merge on same code - easier to make new
commit
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flood-io/ruby-jmeter/pull/96#issuecomment-252760166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAINX_Y7hlQNbE-XfwONZ8cBDha6yiR4ks5qyriRgaJpZM4KKVjr
.


Summary function not working with default GORG database

text in the summary file states:
"custom databases without the expected columns are not supported in the summary function"
I ran:
nextflow run BigelowLab/gorg-classifier -profile docker --seqs 'data/metagenomes/SRR*1.fastq.gz' --cpus 8

the metagenome I used was downloaded like so:
fastq-dump --split-files --skip-technical -N 0 -X 300000 --gzip --readids SRR6507279

I fixed the bug related to this issue in 23b3f7092d49b066f1a1d7ecf679bb677f3a6de2. I did have to update these read names though because they should be the same in R1 and R2.
Here's the name fix I did:
def readfq(fp): # this is a generator function
    last = None # this is a buffer keeping the last unprocessed line
    while True: # mimic closure; is it a bad idea?
        if not last: # the first record or a record following a fastq
            for l in fp: # search for the start of the next record
                if l[0] in '>@': # fasta/q header line
                    last = l[:-1] # save this line
                    break
        if not last: break
        name, seqs, last = last[1:].partition(" ")[0], [], None
        for l in fp: # read the sequence
            if l[0] in '@+>':
                last = l[:-1]
                break
            seqs.append(l[:-1])
        if not last or last[0] != '+': # this is a fasta record
            yield name, ''.join(seqs), None # yield a fasta record
            if not last: break
        else: # this is a fastq record
            seq, leng, seqs = ''.join(seqs), 0, []
            for l in fp: # read the quality
                seqs.append(l[:-1])
                leng += len(l) - 1
                if leng >= len(seq): # have read enough quality
                    last = None
                    yield name, seq, ''.join(seqs); # yield a fastq record
                    break
            if last: # reach EOF before reading enough quality
                yield name, seq, None # yield a fasta record instead
                break

if __name__ == "__main__":
    import sys
    for name, seq, qual in readfq(sys.stdin):
        name = name.rpartition(".")[0]
        print("@" + name, seq, "", qual, sep="\n")

Then
zcat SRR6507279_1.fastq.gz | python update_names.py | gzip > example/SRR6507279_1.fastq.gz
# etc.


remove waffle.io badge

Removed waffle.io badge due to this service being shut down, causing the readme to have a broken link.

Coverage remained the same at 100.0% when pulling 07260f1269b76038290b0e0cbfb7629015c88222 on ashears:patch-1 into 0c23931ef2e2c66e44efad206485eba537a06db3 on htmllint:master.


Use playwright to run Electron smoke tests

This PR fixes https://github.com/microsoft/vscode/issues/128479

Continues in https://github.com/microsoft/vscode/pull/146692


how do i add a additional lets encrypt dns provider?

how do i add a additional lets encrypt dns provider?

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI tells me this one is neither of them.
I encourage your to seek community support: join our Slack workspace and reach out to us on the #support channel.
Another option is to use Stack Overflow and tag your question traefik.
You can of course double check Traefik's documentation :sweat_smile:


(PDB-2329) Revise sticky terminus failover

(This goes with https://github.com/puppetlabs/puppet-server/pull/931)
Use an injected java.util.concurrent.ConcurrentHashMap instance for
tracking the the state required for sticky query failover. This replaces
the previous behavior if trying to detect when we were running under
puppet server and reaching out for a static clojure.lang.Atom instance.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/558/
Test PASSed.

This looks mostly good to me, except I really don't think you need any of the mutex stuff.  Ruby doesn't actually have threads and you'll never be running in an environment where anyone would be trying to call those methods from multiple threads concurrently, so introducing a dependency on those constructs mostly feels like asking for trouble to me.

@cprice404 all updated

+1 from me

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/576/
Test PASSed.

@mullr I've been staring at this patch this morning, and it occurred to me it's hard to validate it is working. I know we can prove it doesn't break things, by looking at acceptance tests, but how do I tell its doing what I expect? It sounds like it should retain memory of sticky state across ruby instances, should I just recreate a failure using puppet server on my laptop, and ensure that after X amount of tests it still remembers that (now) that the other hostname is the primary service to call?

@kbarber yes, one way to test this is to use a puppet server with my patch applied and hook it up to two puppetdbs. Don't configure replication between the two. Make sure puppetserver is running with two ruby instances. Then run puppet twice and see the messages go the the first puppetdb. Kill the first pdb, run puppet once, and check that the messages go to the second pdb. Then bring the first pdb back, waiting for it to start, and run puppet twice checking that all the messages continue to go to the second pdb.

For the shared cached code path this relies on this PR: https://github.com/puppetlabs/puppet-server/pull/931

Okay, my end-to-end tests with the corresponding puppet-server patch seem to say this does was it says on the tin. The only condition though where this matters, is when command_broadcast is true just to note, because if its false, it will update the cache in the current thread anyway :-). So really, this is about solving the sticky_read_failover and command_broadcast = true cases. Which it solves. So good.

@mullr I think we're still waiting on puppet-server, they wanted some tests. What do you want to do with this PR? Leave it, or we can close and re-open later if the other work is low on your priority list. Just wary of leaving this open indefinitely, 'tis all.

This is still in limbo, as we figure out what to do with agent-side failover.

I'm going to close this for now since its in limbo, please re-open when we are ready to go.


bluez 5.44

Following bluez dbus api change
cf issue #7

This currently works only for GATTCharacteristic::write_value, and flags argument is poorly handled.
The flags argument of write_value should be an array of MessageItem::DictEntry(MessageType::Str, MessageType::Variant), but it feels wrong to me to expose underlying dbus-rs types, so I used a HashMap<&str,&str> to be able to build & test.
What should I do for this?

Thanks for looking into this!
Yes, you shouldn't expose the dbus types.
It seems that only 3 possible options are valid: 1) Empty dict 2) "offset" with value 3) "device" with object (of course the 2. and 3. can be together)
The third one is only available for server side, so I don't think we should worry about that for now.
We should handle the offset value, which can be an Option<u16> (the default(None) will be 0).
You can add the dict somewhat like this:
self.call_method("WriteValue",
                 Some(&[MessageItem::new_array(args).unwrap(),
                        MessageItem::DictEntry(Box::new("offset".into()),
                                               Box::new(offset.unwrap_or(0u16).into()))]))

Also you need to update the read_value calls as well.
let mut m = /* method call */
m.append_items([/* Dict as above */]);

I changed the HashMap parameter in favor to your offset solution, but handled it a bit differently so that an empty Dict is sent to dbus if offset is None.
I'll test it on my BLE lightbulb later this week, to check if everything works as expected
The dbus GATT Descriptor interface has also changed the same way: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/gatt-api.txt#n165
I'll change the Descriptor too if you're ok with my current code ;)

Seems OK to me. Let me now if you tested it.

I just tested it with my lightbulb, and it looks ok for me.
I think you should test on another device before merging, because I could not get the offset parameter to work with mine since it has a weird implementation of GATT (the value read for a characteristic is different from the value written)

@CromFr sorry for being late. I looked trough your changes, and tested on different devices. The read_value calls need some correction to work well with the offset parameter, and the indentation is slipped in some places. Here is a diff with the mentioned changes, which I put together during the tests, and applies to your work. Squash your commits, so we can merge this PR.
Thanks for working on this!

here it is
hope everything is good ;)

Thx @CromFr


Bring aaa_fit_multi-sexbehav-sae up to speed with aaa_fit_all-dhs-multi-sexbehav-sae

I think there are improvements I've made to the later which haven't been included in the first. That said, the difference between the two scripts is mainly 4 categories versus 3 categories -- since for all-dhs I've included an if else loop saying that if there is only one survey then don't bother with the temporal random effects.

Ah, the reason this could be important is that I need the 4 category outputs to compare to Laga in #8. So would prefer that they are good quality.

The utility script for running this should only run for countries with the good FSW question

Included country level aggregates
Used update for the formulas to save a bit of writing
Cleared up confusion about using BYM2 here or Besag (we're using Besag!)
Removed the part about max_model_id (not a great idea, there are only three models and they fit quickly)
Updated the multinomial_model function code to have the country level aggregates etc.


The "yoda_style" option can be a risky rule while working with pecl-php-operator extension?

I found pecl-php-operator extension that can overload PHP operators.
If it works, then $a === 100 won't be equivalent to 100 === $a after overloading __is_identical($arg) method and the "yoda_style" option can be a risky rule ?
Sorry to ask such a silly question, but I don't know whether this option is really safe or not.
https://github.com/php/pecl-php-operator
http://pecl.php.net/package/operator

Wouldn't it still be the same and in both cases function __is_identical would be called?

Hi @bluedasher13 ,
Interesting extensions :)
We don't support these, however we can always try to not break things for these extensions. If I read the docs correctly I have the same question as @kubawerlos , flipping to yoda or back won't change anything here?

closing for now, happy to reopen if details show there is an action for us here, please share such details if you've any :)


Fix: Restore Robolectric fingerprint after accessibility checks

Restores the original Robolectric fingerprint after performing accessibility checks. This ensures that the fingerprint is not permanently modified, which can cause issues in other parts of the test suite.

@takahirom this wouldn't have survived across tests, but if you tried to scroll after running checks, you might hit some threading issues that compose works around.


Can't run anything on python

Discussed in https://github.com/microsoft/vscode-jupyter/discussions/12835

Originally posted by hmseanlee February 14, 2023
Failed to start the Kernel.
Kernel Python 3.10.6 is not usable. Check the Jupyter output tab for more information.
View Jupyter log for further details.

Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.


Firefox and Brave shields

This would be featured in an out-of-scope area as well? It's actually covered here

Likewise Brave's in-depth forray into counter-surveillance

We can have these represented as a subsection/sidenote/addendum in the Location Bar Review.
When we write up the final recommendations for visual treatment of the address bar for ipfs:// content, we need to note how these vendors should handle these pieces of UI.
All of the implementation infrastructure for tracker identification and blocking is HTTP-centric, so most of the functionality in these interfaces doesn't make any sense in the context of ipfs:// content.
We'll need to do an analysis of tracking methods or potential with IPFS content requests, and provide a recommendation based on the outcome.


[MAJOR] Initial structural changes

This will fix the import issues, and there's some generic clean-up too.

See if this works.


Always "Checking Authentication Status"

When I go into the addon settings for Indiegala, it always shows "Checking Authentication Status". I can re-authenticate and then it says "User is authenticated", but as soon as I close the addon settings window and open it again, it's back to "Checking Authentication Status". I tried uninstalling and reinstalling the addon, and the issue persists.
It also takes a very long time to import Indiegala games (all other libraries are quick).

it takes a few mins for it to finish checking and show that you are logged in.


Added Pak-Austria Fachhochschule Institute of Applied Sciences and Te…

…chnology to JetBrain/Swot for educational access
Pak-Austria Fachhochschule Institute of Applied Sciences and Technology

@waqarali5498 First stage of verification passed, official domain is paf-iast.edu.pk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@waqarali5498 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Update deploy-and-configure-the-report-message-add-in.md

Made changes to the navigation
Fixes#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/10938

@JohanFreelancer9 Please copy review

@MSFTTracyP Please merge this PR. Thanks


🐞 [Bug]: Report Controller's report is incorrect (0.0% change for everything) after processing transactions.

What happened?
I've added my assets to the app 19 hours ago. Within that duration, 3 updates have happened.
After that, I logged out, and logged in again. Then, my report was displaying 0.0% change for all my assets.
platform

[X] Android
[X] iOS

Expected behavior
Report should have displayed the correct amount of changes

This happens when the following 2 conditions merge:

the user is not new (have transactions in the server)
client is new (client is fetching the transactions from the server to create missing snapshots)

In this case, the client incorrectly creates the snapshots from transactions with up-to-date prices, whereas it should have used the transaction's date to fetch the price from the corresponding price table.


Is there a way to replace all recursion with iteration?

I'm doing mod and ^^ operations on huuuge Integers, and always exhausting my call stack
Is there a way to replace all recursion with iteration?

Closing due to lack of information.