molecule fails to find my roles

Prerequisites

[X] This was not already reported in the past (duplicate check)
[X] It does reproduce it with code from main branch (latest unreleased version)
[X] I include a minimal example for reproducing the bug
[X] The bug is not trivial, as for those a direct pull-request is preferred
[X] Running pip check does not report any conflicts
[X] I was able to reproduce the issue on a different machine
[X] The issue is not specific to any driver other than 'default' one

Environment
WSL (Ubuntu 22.04), molecule-plugins[podman]
Mostly following examples from https://ansible.readthedocs.io/projects/molecule/getting-started/
As documented, molecule simply does not work.
What happened
After creating an "extensions" folder, running molecule init scenario inside that folder, editing converge.yml to add an include_role task with one of the roles in the collection, I get
fatal: [instance]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname instance: Name or service not known", "unreachable": true}

Running molecule the "old way" in the individual role's folder still works fine, but I am limited to testing only the specific role that way rather than testing integration between multiple roles.
Reproducing example
No response

Closing this as not able to reproduce, not enough information given.


Encountered "  "LET "" at line 1, column 1.

OrientDB Version: 2.2.17
OS: Ubuntu
Expected behavior
script sql
LET memberEdge = (CREATE EDGE FROM #15:1 TO #21:1 SET modifiedTime =<PHONE_NUMBER>265)
end
should succeed
Actual behavior
Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Invalid script:Encountered "  "LET "" at line 1, column 1.
Was expecting one of:
 ...
";" ...
 ...
    DB name="production"
    DB name="production"

Steps to reproduce
The error goes away if I remove parenthesis:
script sql
LET memberEdge = CREATE EDGE FROM #15:1 TO #21:1 SET modifiedTime =<PHONE_NUMBER>265
end
works. However, the query is auto created by orientjs, so I cant change it.

hi @alpeshgaglani
do you have the script to reproduce this issue?
Thanks

Hmm.. I cant reproduce this on a new database. This happens in our production database that was originally created with an older version (I believe 2.1.6). As mentioned, removing the paranthesis fixes the issue. Is query parsing dependent on the version of database or the version of the server? If former, is there a way to upgrade database version?

Hi @alpeshgaglani
Probably on your old db you have strictSql set to false. This setting disables the new SQL parser and can lead to this kind of problems
Thanks
Luigi

Turns out it's actually the other way round - this error occurs as long is strictSql is set to TRUE.
The repro steps are:
create database plocal:/var/orientdb/TmpDB
alter database custom strictSql=true
create class VertexA extends V
create class VertexB extends V
create class AToB extends E
alter class VertexA STRICTMODE true
alter class VertexB STRICTMODE true
alter class AToB STRICTMODE true
create property VertexA.name string
create property VertexB.name string
create property VertexA.out_AToB LINKLIST AToB
create property VertexB.in_AToB LINKLIST AToB
create property AToB.out LINK VertexA
create property AToB.in LINK VertexB
insert into VertexA set name = "Hello"
insert into VertexB set name = "World"
script sql
let memberofedge = (CREATE EDGE AToB from #17:0 TO #20:0)
end
This fails. However, removal of paranthesis executes the query
This is a huge issue for our production db with multiple failed queries. we have monkey-patched it by removing the orientjs statement builder and passing straight strings for critical paths, but there are over 80 cases that it's still an issue.

hi @alpeshgaglani
do you have a JS script to reproduce this issue?
Thanks

var orientjs = require("orientjs");
var dbSvr = orientjs({
host: 'localhost',
port: 2424,
username: "root",
password: "somepassword"
});
var db, vertexAClass, vertexBClass;
dbSvr.create("TestDB").then(function (newDb) {
db = newDb;
return db.exec("ALTER DATABASE CUSTOM strictSql = true").then(function () {
return db.class.create("VertexA", "V").then(function (dbClass) {
vertexAClass = dbClass;
return db.query("ALTER CLASS " + dbClass.name + " STRICTMODE true").then(function () {
return dbClass.property.create("name");
})
});
}).then(function () {
return db.class.create("VertexB", "V").then(function (dbClass) {
vertexBClass = dbClass;
return db.query("ALTER CLASS " + dbClass.name + " STRICTMODE true").then(function () {
return dbClass.property.create("name");
});
});
}).then(function () {
return db.class.create("AToB", "E").then(function (dbClass) {
return db.query("ALTER CLASS " + dbClass.name + " STRICTMODE true").then(function () {
return db.exec("CREATE PROPERTY AToB.in LINK VertexB (MANDATORY true)").then(function () {
return db.exec("CREATE PROPERTY AToB.out LINK VertexA (MANDATORY true)");
});
});
})
}).then(function () {
return db.exec("CREATE PROPERTY VertexA.out_AToB LINKLIST AToB").then(function () {
return db.exec("CREATE PROPERTY VertexB.in_AToB LINKLIST AToB");
});
}).then(function () {
return db.exec("INSERT INTO VertexA SET name = 'One'");
}).then(function () {
return db.exec("INSERT INTO VertexB SET name = 'Two'");
}).then(function () {
var query = db.let("One", function (statement) {
return statement.select().from("VertexA").where({ name: "One" });
}).let("Two", function (statement) {
return statement.select().from("VertexB").where({ name: "Two" });
}).let("NewEdge-1", "CREATE EDGE AToB FROM $One TO $Two");
/*
function (statement) {
return statement.create("Edge", "AToB").from("$One").to("$Two");
});*/
console.log("Statement: " + query.buildStatement());
return query.commit().all();
})
.then(function (response) {
console.log("response", response)
dbSvr.drop("TestDB");
})
.catch(function (err) {
console.log(err);
dbSvr.drop("TestDB");
});
});

hi @alpeshgaglani
this test in particular fails for this variable name
NewEdge-1 that contains - that is not supported by the new parser
if you use  NewEdge1 it will work
Then the .commit() is part of the the statement
if you want to log the real script generated you have to do this
var commit = query.commit();
console.log("Statement: " + commit.buildStatement());
return commit.all();

Ah.. where can I get the details for the new parser? We are seeing a bunch of queries that used to work, but are no longer functioning. As an example, we have an edge with property publishedDate of type date. Previously, a query like:
select expand($unpublished) from #22:0 let $unpublished = (select from out_HasActivityVersion[publishedDate != null].out from $current.in_HasCategory.out) used to work.
However, the square bracket filtering is no longer working. It would be great to know what's changed so we can react accordingly.

HI @alpeshgaglani
In this specific case, probably the problem is only the != null, just try to replace it with is not null.


Runtime deps should be copied based on TargetFramework

from https://github.com/fsprojects/Paket/issues/1693#issuecomment-228038155

Currently we copy runtime deps to $(OutputPath). We should change that to $(OutDir)
We should only copy the stuff that is used in current target framework

/cc @Rcomian

this is now in alpha channel. @Rcomian can you please try it out?

Yes! this seems to have fixed the build issue on my build.
Thanks :D

Wish there was a tip jar for this project


Blog page has no image

The Blog Page has no images ..we have to add the images for individual blog post so that user can understand what the blog is about..

I would like to contribute to this issue under GSSOC'23. Please assign me this issue.

Sorry, closing as not planned/ not required right now.. If case if you feel the issue should not be closed. Ping me or @anmode


Focus

Is possible to set the focus or  other settings so the barcode can be hold closer  ??
Thank you.

#175

The merged PR works great on iOS devices now.
@JimmyPun610  This can be closed.


Add the events and conditions

Ⅰ. Describe what this PR does
This PR adds the conditions and events when the runtime scaled out and in.
Ⅱ. Does this pull request fix one issue?

fixes #700
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #730 (e37ae3c) into master (cab76ff) will decrease coverage by 0.17%.
The diff coverage is 6.81%.

:exclamation: Current head e37ae3c differs from pull request most recent head df2a3a7. Consider uploading reports for the commit df2a3a7 to get more accurate results

@@            Coverage Diff             @@
##           master     #730      +/-   ##
==========================================
- Coverage   16.72%   16.55%   -0.18%
==========================================
  Files          69       69
  Lines        3013     3044      +31
==========================================
  Hits          504      504
- Misses       2458     2489      +31
  Partials       51       51

Impacted Files
Coverage Δ

pkg/ddc/alluxio/replicas.go
0.00% <0.00%> (ø)

pkg/ddc/alluxio/transform.go
0.00% <0.00%> (ø)

pkg/ddc/alluxio/transform_permission.go
62.50% <100.00%> (ø)

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 cab76ff...df2a3a7. Read the comment docs.


File_Mk 'MasteringMetadata': local variable is initialized but not referenced

warning C4189: 'MasteringMetadata': local variable is initialized but not referenced

Thanks.


disable-devtool script inside an iframe auto redirects to the specified URL page

Hi, the disable-devtool script inside an iframe auto redirects to the specified URL page instead it should wait if there is any activity like using of devtools on the parent page.

I have moved the script outside the iframe and found it detect it as an open tool just like inspect element and redirect to the URL.
Can you please fix this to avoid iframe.

Any way to fix this issue? :(

Here's my workaround for this
This will disable the script when loaded in an iframe

@milindpatel63 Am not sure, disabling the script through iframe is not a workaround. We need a way to make it work along with iframe and get this issue fixed.

Fixed! Please upgrade to Version 0.1.7.

@imranhome1 @josephmiller2000 @karchung0930 @milindpatel63
Fixed! Please upgrade to Version 0.1.9


test: move samples tests to their own kokoro jobs

Note: the samples jobs were enabled in internal change 631419791
Towards internal issue 332735129
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)
🦕

I have mailed https://github.com/googleapis/python-bigquery-dataframes/pull/665 to address the failing lint. I'd rather keep those changes out of this PR since this is just supposed to be enabling the tests.

Closing since https://github.com/googleapis/python-bigquery-dataframes/pull/665 has been merged, which includes these changes.


Refactoring

[ ] challenge the website as it exists today to make it more organised
[ ] make sure there's no code duplication => list new components that need to be created

This needs to wait for mapping of existing components in Ticket#2

https://alexkondov.com/tao-of-react/

List References by Theme but I have a rendering issue (see screenshot attached

)
It loads twice, but 9/10 times it doesn't render anything.
I'll get back on it later tonight, but if on of you @gaeVG or @mridha-emran have an idea :)
(everything is pushed on branch 01-refactoring)


Add support for project config based on user config

Ok, first review done! Thanks for the short PR :-)


[CRASH] The Android App crashes after tapping on the "Send G$" and "Profile" buttons.

The Android App crashes after tapping on the "Send G$" and "Profile" buttons.
Preconditions:

the user is logged in

Steps:

tap on the 'Send G$'/'Profile' button
observe the result

Actual result:
The App crashes after tapping on the 'Send'/'Profile' buttons
Expected result:
The App works properly, the user is able to Send G$/Change profile settings
Environment:
DEV Version 1.36.1-8 (2503)
QA Version 1.36.1-8 (2502)
Device:
Samsung S20 FE // Android 11
Attachments:
full logs from device - https://app.zenhub.com/files/166818382/d78f63e3-c785-4bfa-b1a8-fc9cdc457cef/download
filtered logs - https://app.zenhub.com/files/166818382/bc9694e0-ca9b-42cc-af82-6b1c1810df33/download
video - https://images.zenhubusercontent.com/166818382/f5cba489-7507-4474-a7a4-37f9d5a1a3f9/337301f9_0e7d_4383_bd24_fbebd54b2178.mp4

@johnsmith-gooddollar the issue is not reproduced.


Clicking to address "copy to clipboard" don't work

OS: Windows 10 v1909
Browser: Google Chrome v81.0.4044.138

Duplicate of: #1771
Thanks for reporting! I hope this problem has been addressed with #1791.


[MonorepoBuilder] Versions conflict if vendor/ or node_modules/ are present in project

Hi, i run either composer install and yarn install in the /projects/open-training directory and i got conflicts.
This is example error:
> vendor/bin/monorepo-builder merge

Package "moment/moment" has various version
===========================================

 ------------------------------------------------------------------------------------------ ----------
  File                                                                                Version
 ------------------------------------------------------------------------------------------ ----------
  /app/projects/open-training/node_modules/eonasdan-bootstrap-datetimepicker/composer.json   >=2.10.5
  /app/projects/open-training/node_modules/moment-timezone/composer.json                     >=2.6.0
 ------------------------------------------------------------------------------------------ ----------

 [ERROR] Found conflicting package versions, fix them first.

Script vendor/bin/monorepo-builder merge handling the merge event returned with error code 1
The command '/bin/sh -c composer merge' returned a non-zero code: 1

include also vendor, could be in nested dirs for various reasons


change CPU to cuda still can NOT use GPU locally

in ingest.py there is a option ,and original value is 'cpu'。
when I change it to "cuda" and wanna use GPU locally that is RTX3070,and it doesn't work.

This code is not tested on CUDA


[android] No more lag starting a torrent transfer when we automatically switch to "Transfers"

When user starts a torrent transfer, the Transfer's display is opened and it can take several seconds to show that the transfer has been added.

I've started an  android-stub-transfer branch].
I've made some modest optimizations like moving the TransferFragment's onTime() non UI update related code into a background task to minimize the locking time of the UI thread.
Similar work should be done on every other "onTime()" function in the code base if the UI thread is being blocked.
Approach to problem
I've created a Stub Torrent Transfer object that gets added to the TransferManager on an internal list.
Whenever we perform an onTick, we ask the transfer manager to check for any stubs it might have, if a corresponding transfer hasn't been added, the List adapter will populate an entry on the list view, whenever we find a corresponding transfer the TransferManager makes sure to clear the stub.
Status, almost there, was very sleepy doing this the last time I touched the branch a couple nights ago.

@gubatron onTime() is meant to be executed in the main UI thread and should not span any background task. Regarding the stub idea, if we have some architecture weakness (that I'm sure is the root of the problem) we should fix it. Please, don't merge this branch without further review.

CC: @alejandroarturom I think you will smile next time you try FrostWire. Thank you for insisting on getting this fixed.


Image not found

Have you follow the Installation steps, in particular the execution of php artisan adminlte:install command? That should install the AdminLTELogo.png image on the Laravel's public folder
Anyway, check also if the image exists inside the public folder, for example, on a Linux environment, you can run the next command inside your Laravel Project root folder:
find public/ -name "AdminLTELogo.png"

In my local environment, that will output:
public/vendor/adminlte/dist/img/AdminLTELogo.png


fix: stop file format failure when does not exist

If a file format has been created vis the provider and the is subsequently deleted manually the plan refresh fails rather than removing the resource from the plan and recreating
Test Plan

[*] acceptance tests executed
[* ] unit test added

References
Fixes #1395
*

my first PR so be gentle !!

this looks fine, except you need to run make docs. i will take care of it this time since need to get the latest release out. Appreciate your contribution!


Implement Matrix client-server API wrapper

The goal is to implement a wrapper for the Matrix client-server API. This wrapper will consist of:

a Request module which returns a struct containing the data necessary for each HTTP request
an HTTPClient module which makes the requests using Tesla
an API module which ties the aforementioned modules together in order to make the HTTP requests to a Matrix homeserver.

Docs: https://matrix.org/docs/spec/client_server/r0.6.1
Progress:

[x] 2 API standards (#2)
[x] 4 server discovery (#3)
[x] 5.5 login (#4)(#5)
[ ] 5.6 account registration and management (#6, #8, #14)
[ ] 5.7 account administrative contact information (#6, #14)
[x] 5.8 current account information (#6, #13)
[x] 6 capabilities negotiation (#20, #21)
[ ] 8 filtering
[ ] 9.3 room events
[ ] 9.4 syncing
[ ] 9.5 getting events for a room
[ ] 9.6 sending events to a room
[ ] 9.7 redactions
[ ] 10.1 room creation
[ ] 10.2 room aliases
[ ] 10.4 room membership
[ ] 10.5 listing rooms


⚠ Panel - Hydeos has degraded performance

In e2465aa, Panel - Hydeos (https://pterodactyl.hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 2412 ms

Resolved: Panel - Hydeos performance has improved in 3b83826 after 1 hour, 13 minutes.


freezes when using protocol input-method-unstable-v2

hi,
i'm using input-method-unstable-v2 to input text from my application into another.
This works for example with gedit, alacritty and firefox (xwayland mode), but when i do the same with vscode (xwayland), qt apps or firefox (MOZ_ENABLE_WAYLAND=1) then my application just freezes on wl_display_dispatch  right after zwp_input_method_manager_v2_get_input_method.
Is there any known reason why this is happening?
also: using text-input-unstable-v3 also makes wl_display_dispatch freeze my application (with all apps)
edit: the same thing happens with text-input-unstable-v3 under KDE Plasma (wayland)

This doesn't seem to be a wlroots bug, this seems to be a client bug. If you want help regarding writing Wayland clients, please ask in #wayland on Libera Chat.


Logo urls is wrong on production build

Hello i have an error with logo urls when i try to compile on production build
the problems is there https://github.com/nejcm/docz-theme-extended/blob/master/theme/src/gatsby-theme-docz/helpers/index.js#L14 the getPublicUrl its returned urls with 3 slashes
`/${(base || '').replace(/^\/|\/$/g, '')}/${src}` // here we added 2 slash + one from config

HTML

Demo

export default {
  lang: "en",
  title: "", // removed title because we use logo.svg
  description: "UI Components",
  host: "<IP_ADDRESS>",
  port: 9000,
  src: "./src",
  public: "./docs",
  typescript: true,
  files: "**/*.mdx",
  ignore: ["./*.md"],
  menu: [
    "Getting Started",
    "Actions",
    "Behavior",
    "Feedback indicators",
    "Forms",
    "Images and icons",
    "Lists and tables",
    "Navigation",
    "Overlays",
    "Structure",
    "Titles and text",
  ],
  themeConfig: {
    search: true,
    logo: {
      src: {
        light: "/docs/logo.svg",
        dark: "/docs/dark-logo.svg",
      },
      width: 125,
    },
    mainContainer: {
      fullscreen: false,
      align: "center",
    },
    header: {
      icons: "minimal",
      fixed: true,
    },
    footer: {
      navigation: true,
    },
    menu: {
      search: false,
      headings: {
        rightSide: true,
        scrollspy: true,
        depth: 3,
      },
    },
  },
};

Sorry for the slow response. Will check it out.

Should be fixed in v2.0.14.

@nejcm fixed, thanks !!!


KNMI Plugin misses data

Hi Bram,
Compliments for your KNMI Plugin for Domoticz. Small issue on my side. Actually I installed the plugin to get the Max en Min temp for TODAY. It is in the parameterlist from the API but appearently you didn't implement those two parameters.
Could you do so for the next update of this plugin please.
Sake Kingma

That should be no problem. Unfortunatelly my  domoticz crashed yesterday so I must relair that first.Op 22 jan. 2023 22:09 schreef After-burner @.***>:
Hi Bram,
Compliments for your KNMI Plugin for Domoticz. Small issue on my side. Actually I installed the plugin to get the Max en Min temp for TODAY. It is in the parameterlist from the API but appearently you didn't implement those two parameters.
Could you do so for the next update of this plugin please.
Sake Kingma
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Done

Thx a lot!!!
Kind Regards
Edwin


UPDATE: adjust structure for new python.quantecon.org bucket

This PR makes adjustments for the new python.quantecon.org s3 bucket structure.
Tasks:

[x] add new landing page
[x] add about_lectures.rst page
[x] populate about_lectures.rst (@jstac)
[x] adopt a new custom python theme. (@DrDrij working on python-html.tpl)
[x] updates to Makefile for new theme
[ ] migrate new theme to private theme and adopt default editing theme in this repo

Cleaning:

[x] @DrDrij to clean up the theme folder of any unused assets.

@DrDrij in the new template it would be nice if we could have an easy to enable announcements panel. Perhaps under the breadcrumbs that we could post short term information.

@DrDrij we will need to address these on this branch. I am happy to make the changes when you're ok with a pull/push
/home/ubuntu/repos/lecture-source-py/source/rst/404.rst:3: WARNING: Title overline too short.

**********
Page Not Found
**********
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/ubuntu/repos/lecture-source-py/source/rst/404.rst: WARNING: document isn't included in any toctree
/home/ubuntu/repos/lecture-source-py/source/rst/search.rst: WARNING: document isn't included in any toctree
/home/ubuntu/repos/lecture-source-py/source/rst/status.rst: WARNING: document isn't included in any toctree

[ ] pdf construction using make pdf and ipynb_pdf_constructor doesn't seem to be working for this branch. (@mmcky)

Fix the next round of sphinx warnings
/home/ubuntu/repos/lecture-source-py/source/rst/index_toc.rst:61: WARNING: Explicit markup ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] zreferences
/home/ubuntu/repos/lecture-source-py/source/rst/index.rst:: WARNING: Invalid jupyter kernels. jupyter_kernels: {'python3': {'kernelspec': {'display_name': 'Python', 'language': 'python3', 'name': 'python3'}, 'file_extension': '.py'}}, lang: python3

User Testing Results:

[ ] execution badge links from status.html page link to py folder context and 404
[ ] execution test badge on index pages should be removed
[ ] troubleshooting needs to be setup
[ ] Report Issue needs to be setup
[ ] there are no breadcrumbs on  https://preview.python.quantecon.org/index_toc.html

[ ] pdf construction of 404 halts ipynb_pdf_constructor. @AakashGfude perhaps we should add a simple file filter for these types of documents for ipynb_pdf_constructor

[ ] @DrDrij would you mind to add in the hide for the following in the theme (https://github.com/QuantEcon/lecture-source-py/issues/681)


检索 Outlook 中的电子邮件 问题

[在此处输入反馈]
From contains 里填写完整邮件地址，无法搜索到结果。
Subject contains里填写内容，是可以搜索到结果。
请问是否有需要注意的地方

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 6fc53dfd-8c62-11ff-78a8-a6cae06bc4ac
Version Independent ID: 2f5b95d6-fb4a-61a6-0fdf-52b18975c901
Content: Outlook - Power Automate
Content Source: articles/desktop-flows/actions-reference/outlook.md
Service: power-automate
Sub-service: desktop-flow
GitHub Login: @mariosleon
Microsoft Alias: marleon

English translation:
Fill in the full email address in From contains, and the search result cannot be found.
Fill in the content in Subject contains, and you can search for results.
Is there anything to pay attention to?

Hello @zanghao268, thank you for using Power Automate for desktop. As this question concerns a technical issue, not a documentation issue, we would kindly ask you to post your question to the Power Automate community, where technical experts can assist you.


Revert "electron_20: mark EOL"

Reverts NixOS/nixpkgs#215545.
It actually isn't EOL yet.

Maybe just mention in the commit description that this was a mistake? LGTM otherwise.

Never mind: https://www.electronjs.org/blog/electron-23-0#end-of-support-for-20xy


fix: Remove CSRF parameter from sales-dashboard search form

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
The search form in the Sales dashboard includes a CSRF token. This token is not validated (it can be omitted with no consequence) and it is not necessary (this is a read-only GET endpoint, so it can be safely removed).
The main benefit of removing the CSRF token is it allows us to share nicer URLs to pre-made queries, such as /sales-dashboard/?search=foo. Otherwise, the search URLs look like /sales-dashboard/?csrfmiddlewaretoken=obnoxiously_long_random_string_that_appears_before_the_actual_search_term&search=foo.
How did you test this code?

Manually in development only. I've confirmed that this endpoint in production also does not validate the presence of the csrfmiddleware parameter.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.89%. Comparing base (d5f76ff) to head (83bbc77).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3716   +/-   ##
=======================================
  Coverage   95.89%   95.89%
=======================================
  Files        1101     1101
  Lines       34681    34681
=======================================
  Hits        33256    33256
  Misses       1425     1425

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


Include all type parameters in completions within type parameters' constraints

fixes https://github.com/microsoft/TypeScript/issues/56474

@iisaduan would it be possible for you to take a quick look at this?


Tabular: Fixed root_mean_squared_error metric unavailable during fit()

Issue #, if available:
Description of changes:
Fixed root_mean_squared_error metric unavailable during fit()
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-464-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-464/1/index.html


Suggestions for tfa.text features

Hi all,
If anyone has any suggestions for what can be added in TF Addons - Text, please feel free to share them here.
I am rather new to NLP but seeing as TF Text is also a rather new library, I'm hoping there are various basic modules/ features that can be added and in which others and I can contribute.
@seanpmorgan  @facaiy If you have any ideas and/or suggestions please do share.

How are we planning on accepting contributions to tfa.text now that tensorflow/text is a thing?

We could accept contributions to tfa.text and graduate highly used and tested modules to tensorflow/text.

We could accept contributions to tfa.text and graduate highly used and tested modules to tensorflow/text.

So my first thought was this because the barrier to entry for someone willing to maintain code in addons is lower than tensorflow/text (I assume but maybe incorrectly). Certainly worth a discussion though thanks for bringing this up!
cc @ewilderj @dynamicwebpaige @karmel for thoughts

CC @edloper for thoughts.

@edloper @karmel Any update on this?

If any modules within tfa.text become highly used and well-tested, we'd be happy to talk about graduating them into tensorflow/text.

Closing this issue as we've set up a possible path from tensorflow/addons to tensorflow/text for the right submodules.
As far as suggestions of what to add to tfa.text I would generally prefer it happen a little more organically (i.e. we'll add them as requests come in). Apologies I don't work heavily with NLP so nothing jumps off the top of my head.


Fast moving objects don't update properly. See pong

Resolved by switching to double buffering canvas model. Not sure what was wrong with the Tkinter implementation of dirty rectangle updating


Support for data-teaser and data-preview tag

Hi,
I would like to show a preview of my video on :hover but Plyr doesn't seem to support the data-teaser and data-preview tag.
Is it normal behaviour and would it be simple to support it ?
Thanks,

It's normal.
It's usually normal for us not to support features that aren't supported by native HTML5 media, and that hasn't been documented as a feature we support. 😉
There's no the data-teaser or data-preview btw. data-attributes are used for custom developer data. Browsers don't care about them other than giving developers access to read and set.
You can implement this yourself by listening for mouseover and mouseout.

Closing this since it's not something we have intended to support, and the user is now a ghost. If someone else wants it there's a similar PR already. I think there's also a feature suggestion somewhere.


Feedback: Update Mines behaviour

From player feedback...

The Mines were confusing, people didn't know what effect they had.

We could add like a skull and crossbones or something to the explosion effect
Maybe flash / shatter or damage the side of the board that it hits?
The flashing light before explosion wasn't that noticeable, we could add a different effect or a little exclamation mark maybe

Let's see how the current changes are received. Closing.


Ubuntu no longer includes fonts ttf-kochi-mincho or ttf-kochi-gothic

From @vpigrad on March 29, 2016 3:36
This blocks running tests that need content_shell.  They recommend "fonts-vlgothic" or "fonts-ipafont-gothic" which are more up to date.  I don't think the kochi fonts have been updated in over a decade:
https://launchpad.net/ubuntu/xenial/+package/ttf-kochi-gothic
Copied from original issue: dart-lang/test#415

From @zoechi on March 29, 2016 8:29
As a workaround I created symlinks to arbitrary other fonts to make it work but that shouldn't be necessary.
(Debian - some of these fonts might be available as package for Ubuntu but aren't for Debian)
apt-get install msttcorefonts fonts-indic fonts-tlwg-garuda-otf
mkdir /usr/share/fonts/truetype/kochi
cd /usr/share/fonts/truetype/kochi
ln -s ../dejavu/DejaVuSans-Bold.ttf kochi-gothic.ttf
ln -s ../dejavu/DejaVuSans-Bold.ttf kochi-mincho.ttf
mkdir /usr/share/fonts/truetype/ttf-indic-fonts-core/
cd /usr/share/fonts/truetype/ttf-indic-fonts-core/
ln -s ../dejavu/DejaVuSans-Bold.ttf lohit_hi.ttf
ln -s ../dejavu/DejaVuSans-Bold.ttf lohit_ta.ttf
ln -s ../dejavu/DejaVuSans-Bold.ttf MuktiNarrow.ttf
mkdir /usr/share/fonts/truetype/ttf-punjabi-fonts/
cd /usr/share/fonts/truetype/ttf-punjabi-fonts/
ln -s ../dejavu/DejaVuSans-Bold.ttf lohit_pa.ttf

ln -s dejavu/ ttf-dejavu
cd /usr/share/fonts/truetype
ln -s dejavu/ ttf-dejavu

I've moved this issue here because it's about content shell itself being broken, not about test in particular.

Thank you zoechi.  Your fix worked on Ubuntu 14, but didn't on 16.  On 16, it fails with the error:
[10411:10411:0100/000000:21269733035:ERROR:zygote_linux.cc(612)] write: Broken pipe
The lack of output as to why it quit makes troubleshooting the failure impossible.

Ignore my last post.  I only thought it wasn't working since the error message is misleading.  You have to pass it a URL in the command line or, it fails with the above misleading error.
content_shell --dump-render-tree http://google.com/
Works.

After a Ubuntu update to 16.04 yesterday, the above workaround no longer works.  I ran strace, and you can see that content_shell does a stat on the Microsoft fonts, but doesn't open them.  It's a blocking issue again.

content_shell was built to run Chrome layout tests not to use it for unit testing. It is convenient because it doesn't open a window, besides that its a misuse of the tool.
An alternative could be pub run test to run a custom executable and support passing additional command line options to the browser like
xvfb-run --server-args='-screen 0, 1024x768x16' dartium -start-maximized http://localhost:63342/bwu_quick_nav/example/example1.html

A workaround for Ubuntu 16.04 is to downgrade libfontconfig1 and fontconfig-config to 2.11.1-0ubuntu8.


Fail fast when detecting invalid Repo :log option

This pull requests causes the adapter init to fail if the :log option's value is invalid, thus failing fast and preventing more cryptic errors down the line
Closes https://github.com/elixir-ecto/ecto/issues/4188

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

Thank you, @viniciusmuller !


ROU-4536: Improve visualViewport validation

This PR is for improving the visualViewport validation, to prevent errors when its undefined.
Checklist

[x] tested locally
[x] documented the code
[x] clean all warnings and errors of eslint
[x] requires changes in OutSystems (if so, provide a module with changes)
[ ] requires new sample page in OutSystems (if so, provide a module with changes)

@BenOsodrac Why was this PR closed, since the task is still in code review?

@gnbm because @rugoncalves created a new odc main, and due to hundreds of conflicts, was easier to create a new branch and PR, than try the rebase and merge


using spacebar instead of enter for stats invocation

Reference -

https://github.com/projectdiscovery/nuclei/issues/2811
https://github.com/projectdiscovery/nuclei/issues/3184

This should be probably handled within clistats

Implemented at https://github.com/projectdiscovery/utils/pull/65 but really unstable with different console types - I think the embedded server in clistats is a better option


Added PeerManagement.Type = 'etcd'

Which problem is this PR solving?
This PR offers an alternative to Redis for centralized peer discovery using an etcd service.
Short description of the changes

This PR builds on the changes in https://github.com/honeycombio/refinery/pull/491
Added three new config options: xxx
Added Close(ctx context.Context) error to the Peers interface to allow for clean shutdown and de-registration of an instance from the cluster.

Race condition in Peers interface design
Since peer.NewPeers() launches async go routines for both Redis and etcd, it is possible that a callback could occur before we call RegisterUpdatedPeersCallback() to register the call back, therefore missing the initial callback.
For example, in etcd_test.go we should be able to assert that p0 will receive 3 callbacks, one for itself, and then 2 for each additional member.  However, because of the race condition, we might only get 2 callbacks.
We could change the Peers interface to instead register a callback during peer.NewPeers(conf, cb) call OR we could add a Start() method to the Peers interface, such that users would RegisterUpdatedPeersCallback() and then call Start() when ready to participate in receiving updates.

Thanks for opening @Baliedge. Let us know when you're ready for review.
I like the idea of expanding the peers interface to have a Start() func that would remove the race condition you've identified.


MODELADMIN: print button does not work (error response)

VERSION: Beta1
Situation: ModelAdmin
Action:

clicking on print button.
I get a server error.  I dont have time right now to look up actual error, but you may have the same. If not then ping me and I will find exact error.

Can confirm that both Print and Import CSV no longer work, however the errors are different.
For Print:

For Import CSV:

Further info on Import CSV bug... it appears that the entwine onclick handler in GridField.js (from silverstripe-admin) is not being triggered when the import button is clicked.

@colintucker please can you report separate bugs in their own issues - mixing a print bug and a CSV import is a bit confused

The issues mentioned here have been fixed, but there's still work to do on the print feature: https://github.com/silverstripe/silverstripe-admin/issues/236


How to fetch private/public key?

Hi,
I looked into key handler class and seems there is no API for fetch private/public key out? We are going to use Tink to generate daily rotated private/public key pair using Hybrid Engine, so will have a storage to store keys. Could you advise how to achieve this?
Thank you!

After reading source code, I found I could use this?
private_keyset_handle._keyset.key[0].key_data.value

This will give the private key. For example:
b'\x12\x8a\x01\x12D\n\x04\x08\x02\x10\x03\x12:\x128\n0type.googleapis.com/google.crypto.tink.AesGcmKey\x12\x02\x10\x10\x18\x01\x18\x01\x1a \xe1\x8fd\xf1\x80\xc5\x14\x14\xd3\xac\xf1\xda\xaf\x14\x80\xa0\xf0Uhq!\xb8l\xc7i\xe58\xe6\x7f+\x14\xfd" x\xf6x\x7fc\xc9$#m\xfa\x8d&\xdc!\xb8g0q\x8f\x86U\xf60\xffSD\x14<\xf6_\xab`\x1a \x05\x895\xf9\x19\x0b}N\xc5q\x1e\xa9\xf9e\xcft\x1fS\x06\x1bt/\xb9\xe71\xf4t\x1d\xb3\xb9D3'

The key management aspects in Tink are documented in https://github.com/google/tink/blob/master/docs/KEY-MANAGEMENT.md. The language how-to guides also contain sections on storing, loading and generating keys.
In short, Tink stores keys as protobuf. A key consists not only the raw key material, but also all parameters necessary to instantiate a primitive. We strongly recommend not to extract the raw key material out of a key protobuf and use it as in other context. Doing so will certainly lead to cross-protocol attacks (e.g., a single key material is used in two different protocols).
Please comment if you have any additional question.


[CI][AArch64] Enable ONNX installation in ci_arm image

This patch enables ONNX and dependencies installation on ci_arm as
a way to enable ONNX and Torch testing.
cc @Mousius @NicolaLancellotti @areusch @driazati @gigiblender

@tvmbot rerun


ERROR Invalid JWT: provided signature is invalid

Describe the bug
getting ERROR Invalid JWT: provided signature is invalid on my excecution layer
Steps to reproduce
i had running sepolia reth beta5, then i installed mainnet reth node and both of them start to get same error. Both using ./ethd documentation for multiple nodes
https://eth-docker.net/Usage/Advanced#multiple-nodes-on-one-host
Node logs
ERROR Invalid JWT: provided signature is invalid

Platform(s)
Linux (x86)
What version/commit are you on?
beta5
What database version are you on?
db2
What type of node are you running?
Archive (default)
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

Does your CL use the same JWT as your EL?

Does your CL use the same JWT as your EL? Please provide a set of commands/steps we can use to reproduce. I am not familiar with ethd usage at all

Sure Bro, the steps ara basically install full archive sepolia reth+lighthouse node and then
cd ~ && git clone https://github.com/eth-educators/eth-docker.git && cd eth-docker

./ethd install

./ethd config

Th

update to beta6 solve the issue


Remove getindex function for OrderedDict

Remove getindex function for OrderedDict as it was unintuitive and not used internally.
Should only be merged after #134 and #138

I normally checked, but I agree we need more tests. This is one of my todo's and with the seed PR it will be a lot easier to write better tests.

So is this good to merge? This needs to go, redefining a package method results in the kind of bugs that take hours to fix.


Don't use MemoryStyle for heap base pointer relocations

Instead add a helper method to Memory which indicates whether the base pointer of memory can move. Use this and plumb the result around to the various locations that require it. This improves the readonly application of the base pointer in Cranelift by having the optimization kick in in more scenarios. It additionally fixes combining shared linear memories with 64-bit addressing or a page size of 1 by adding a runtime check before relocation of a linear memory that it's allowed to do so.
A few codegen tests are added to ensure that readonly is applied where it wasn't previously and additionally a new *.wast test was added with the cross product of various features of linear memories and some basic tests to ensure that the memories all work as expected.
This refactoring fixes two preexisting issues about shared memories requiring a "static" memory style. The restriction is now based on whether the pointer can relocate or not and that's upheld via the new trait method added here.
To account for these bug fixes the fuzzers have been updated to allow mixing the threads proposal with memory64 or custom-page-sizes.
Closes #4267
Closes #9523

I'll also notably point out that this is incompatible with MemoryCreator so I've filed #9568 to track that. I think there needs to be a good bit of refactoring of the internals of how we represent memory so I hope to tackle that next-ish.


shodan api

Describe the bug
shodan api key config file to update>?
To Reproduce
habu.shodan.open
Expected behavior
to show the scanned results.
Environment

OS: kali

Hi, you can save your shodan api key editing the file "~/.habu.json", or, using the command config.set, like this:
habu.config.set SHODAN_APIKEY YOUR_SHODAN_API_KEY
You can use the following command:
habu.config.show --show-keys
To check that the config has been saved correctly.


Support no_std use cases by using alloc

We long term want to support compilation of livesplit-core with just core + alloc. You'd provide your own time source as some global handler but other than that everything should mostly just work as we already see with wasm32-unknown-unknown. However most crates that we depend on probably don't support this yet, so that's probably going to be a lot of Pull Requests.
Update
All the crates we need are sufficiently patched on forked branches. We just need to do a bunch of PRs now. Here's the super fancy results, with LiveSplit One being rendered within the world of Wind Waker:
https://twitter.com/CryZe107/status/1158444993549414401
Status
Basic Support
Required

[x] base64 - Released as 0.11.0, PR is merged https://github.com/marshallpierce/rust-base64/pull/111
[x] derive_more - Released as 0.99.0, PR is "merged" https://github.com/JelteF/derive_more/pull/84
[x] odds
[x] ordered-float
[x] palette - Released as 0.5.0, PR is merged https://github.com/Ogeon/palette/pull/138
[x] serde
[x] snafu - Released as 0.6.0, PR is merged https://github.com/shepmaster/snafu/pull/138
[x] hashbrown - Released as 0.6.0 (There might be some bug though https://github.com/tkaitchuck/aHash/issues/17)
[x] libm

Polyfilled (not required, but would be good to get rid of the polyfill)

[x] unicase - Released as 2.6.0, PR is merged https://github.com/seanmonstar/unicase/pull/34
indexmap - Released as 1.3.0, PR is merged https://github.com/bluss/indexmap/pull/106 (but serde support is missing https://github.com/bluss/indexmap/issues/109)
[x] chrono - Released as 0.4.10, PR is merged https://github.com/chronotope/chrono/pull/341

Optional

[x] byteorder - Some IO.
image - Too much IO.
[x] livesplit-hotkey - We don't really need it, but we can easily provide an empty hotkey implementation.
[x] livesplit-title-abbreviations
parking_lot - Not really needed on no_std, does too many OS things.
quick-xml - Too much IO.
serde_json - Too much IO, but there is a PR: https://github.com/serde-rs/json/pull/516
utf-8 - Uses IO.

Rendering

[x] euclid - Released as 0.20.6, PR is merged https://github.com/servo/euclid/pull/372

[x] num-traits - Released as 0.2.9, PR is merged https://github.com/rust-num/num-traits/pull/99

[x] ttf-parser
[x] rustybuzz - PR is is merged, needs a release: https://github.com/RazrFalcon/rustybuzz/pull/30
[x] lyon - Needs a PR: https://github.com/CryZe/lyon/tree/no-std

depends on euclid
[x] sid - Released as 0.6.1, PR is merged https://github.com/nical/sid/pull/2

[x] rusttype - Released as 0.8.0, PR is merged https://gitlab.redox-os.org/redox-os/rusttype/merge_requests/145

[x] stb_truetype - Released as 0.3.0, PR is merged https://gitlab.redox-os.org/redox-os/stb_truetype-rs/merge_requests/31

[x] smallvec - Released as 0.6.11, PR is merged https://github.com/servo/rust-smallvec/pull/159

Software Rendering

[ ] tiny-skia - Needs a PR
[x] euc - Released as 0.5.0, PR is merged https://github.com/zesterer/euc/pull/12

[x] vek - Released as 0.10.0, PR is merged https://github.com/yoanlcq/vek/pull/41

depends on num-traits

It seems that std::io is causing massive problems, where all our parsing, saving, serializing and co. is just not within the bounds of core and alloc. It easily could be as there barely is a reason you can't do IO without an operating system, but it's currently std only due to OS specific error codes. There is a fork called core-io, but that's going to be a ton of PRs. However there is the possibility of simply not doing any parsing, saving and serializing on no_std until then. Other problems include HashMap, Hotkeys, timing and paths, but all of these can easily be replaced (BTreeMap, mocked Hotkeys, timing handler, and a wrapper around String / &str).

Speaking in terms of a no_std implementation, I see no real reason to have file IO directly. At most I could see implementing support for Parsing and Serializing but leave it to the developer implementing the no_std library to handle any IO needs. This would require a custom built BufReader, BufRead, Seek (possibly others) implementations which might be outside the scope of this crate though. Having livesplit-core omit this functionality until that can be safely, and correctly, implemented seems like a viable path to go down for now.

Well yeah it wouldn't be File IO, it would just be the IO traits, such as Read, Write, Seek, BufRead that we can't use. And all our dependencies use them too, so that's a pain to fix in the ecosystem without no clear solution other than possibly using the fork, but that's super hacky too.

All required crates are released now, so we can merge basic support in.

So a ton changed in our renderer recently and we have fairly different dependencies now. rusttype is gone, lyon is gone and instead we have ttf-parser, tiny-skia and rustybuzz as dependencies now. ttf-parser is already no_std compatible, rustybuzz turned out to be trivial, so I just opened a PR. I'll have to look into tiny-skia as well, but I believe we can probably close this soon.

This is blocked on proper optional feature propagation support in cargo, which is reasonably close to stabilizing.


Public mailing list

FAIRDOM self-subscribing mailing list -<EMAIL_ADDRESS>Should the link to self-subscribe to this mailing list be provided on the website or not? Should we only give it to people that contact us via other emails first or during users meeting?

It's provided on the website at https://fair-dom.org/get_involved

ok. thanks


fix(ui): Center update divs

What this PR does 📖

Even with #633 update button location was still incorrect. This fixes it

Which issue(s) this PR fixes 🔨

Resolve #619

Hi @Flemmli97 had a small issue trying to compile this branch on Windows. Linux and Mac were able to build fine

hmm im not sure why that is. but the only change is a .scss file and no code changes with this pr

I think if you merge dev into your branch this will go away.

Hi @Flemmli97 had a small issue trying to compile this branch on Windows. Linux and Mac were able to build fine

hmm im not sure why that is. but the only change is a .scss file and no code changes with this pr


[XLA] Fix plugin example buffer address for tuples

Currently the returned se::DeviceMemoryBase(buf, size) uses the incremented buf, which may cause deallocation error.
(Resubmit of #11595 after CLA fix)

Can one of the admins verify this patch?

Jenkins, test this please


Animation triggers twice

The centering animation (on "Center between..." toggle change or on startup when moving from left to center) is triggered but does not finish fluently and starts again, so it triggers twice. This occured on all versions I used (at least from <IP_ADDRESS> to <IP_ADDRESS>, maybe even older but not tested).

Yeah... i noticed that one to but, i did not take it as a priority. I will try to do something about it ;)


Binary generated with mix release fails to start

Precheck
Environment

Elixir version (elixir -v): 1.9.1
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): Postgresql 10.2
Ecto version (mix deps): 3.1.7 (ecto) fa21d06e
Database adapter and version (mix deps): postgrex 0.15.0 (postgrex) dd534916
Operating system: mac os 10.12

Current behavior
When I run _build/.../app/<app_name> start It crashes with the following error
** (EXIT from #PID<0.163.0>) an exception was raised:
    ** (FunctionClauseError) no function clause matching in Code.ensure_loaded?/1
        (elixir) lib/code.ex:1044: Code.ensure_loaded?(20)
        (ecto_sql) lib/ecto/adapters/sql.ex:481: Ecto.Adapters.SQL.normalize_pool/1
        (elixir) lib/keyword.ex:873: Keyword.update/4
        (elixir) lib/keyword.ex:877: Keyword.update/4
        (ecto_sql) lib/ecto/adapters/sql.ex:459: Ecto.Adapters.SQL.init/3
        (ecto) lib/ecto/repo/supervisor.ex:162: Ecto.Repo.Supervisor.init/1
        (stdlib) supervisor.erl:295: :supervisor.init/1
        (stdlib) gen_server.erl:374: :gen_server.init_it/2

I looked at the codebase https://github.com/elixir-ecto/ecto_sql/blob/master/lib/ecto/adapters/sql.ex#L438 this expects a connection where as I am getting a number.
But the app runs fine when run like mix run --no-halt
Code repository https://github.com/ikouchiha47/shorty
Run ENV=prod mix release shorty and then <generate binary> start
Expected behavior
It runs without crashing

Change
  pool: 20,

to:
  pool_size: 20,

and you should be good to go!

And thanks for providing example app https://github.com/ikouchiha47/shorty/blob/master/config/releases.exs#L8, it was incredibly useful to solve the issue quickly.

Thanks :))) such a bad mistake


tests: use old build of ceph@master

for unlocking the ci.
this is intended to be reverted.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons

jenkins test centos-non_container-collocation

Do we need to do the same for other tox file ?
I know we only have reboot in all_daemons and collocation scenarios but we won't test the same ceph@master version on every scenarios

this is a temporary workaround for unlocking the ci.
as you said, we only reboot in all_daemons and collocation, having ceph@master being tested against two differents commits doesn't really matter IMO.

the only downside with this is that I don't really know how long this build of ceph@master will be available

let's give it a shot, will see how it goes :man_shrugging:


Create installation and deployment guide for the deployment in the environment outside AWS

Create the tutorial and terraform configuration that will deploy the Middleware with all supporting services in the local Kubernetes cluster.
This tutorial should include step-by-step instructions how to prepare environment, deploy the infrastructure and run the Middleware

Related to #269, but we should not only provide Terraform Script but also manual instructions and configuration files.


Info not showing up properly

Hi,
Thanks a lot for sharing your code here.
If you have time, could you please help to check my situation here.
Hardware versionWL1H112M
Software version<IP_ADDRESS>(H351SP2C983)
Web UI versionWEBUI <IP_ADDRESS>(W2SP5C7110)
Configuration file versionH112-370-CUST <IP_ADDRESS>(C1217)

And mine here just showed:

And to clarify, I think I do have 5g singal here with the green light on 5g and

Any thoughts, thanks

Hi,
glad you are finding this code useful.  I normally only see that behaviour when the 5G nr data is not available, typically because the device has fallen back to 4G only.
The data capture uses the same as the api call the 'Advanced->System->Device Information' menu

what does this say on your box?
The raw api call used is as below if you can compare result.  Perhaps there is some slight mismatch with parameter naming on your firmware release:
view-source:https://<IP_ADDRESS>/api/device/signal
which returns the following payload:

Let me know what you see!

For the record, and in light of there being no Discussion area in this repo, I'd like to add that this script is working for me - cheers! With a little pokign I can sometimes get 5G from the 3rd closest tower to me here in Liverpool.

<response>
<pci>460</pci>
<sc></sc>
<cell_id>378696</cell_id>
<rsrq>-5.0dB</rsrq>
<rsrp>-82dBm</rsrp>
<rssi><=-113dBm</rssi>
<sinr>11dB</sinr>
<rscp></rscp>
<ecio></ecio>
<mode>7</mode>
<ulbandwidth>10MHz</ulbandwidth>
<dlbandwidth>10MHz</dlbandwidth>
<txpower>PPusch:0dBm PPucch:-2dBm PSrs:0dBm PPrach:0dBm</txpower>
<tdd></tdd>
<ul_mcs>mcsUpCarrier1:29</ul_mcs>
<dl_mcs>mcsDownCarrier1Code0:3 mcsDownCarrier1Code1:21</dl_mcs>
<earfcn>DL:99 UL:18099</earfcn>
<rrc_status>1</rrc_status>
<rac></rac>
<lac></lac>
<tac>3079</tac>
<band>1</band>
<nei_cellid>No1:459</nei_cellid>
<plmn>23420</plmn>
<ims></ims>
<wdlfreq></wdlfreq>
<lteulfreq>19299</lteulfreq>
<ltedlfreq>21199</ltedlfreq>
<transmode>TM[0]</transmode>
<enodeb_id>0001479</enodeb_id>
<cqi0>32639</cqi0>
<cqi1>32639</cqi1>
<ulfrequency>1929900kHz</ulfrequency>
<dlfrequency>2119900kHz</dlfrequency>
<nrulbandwidth>100MHz</nrulbandwidth>
<nrdlbandwidth>100MHz</nrdlbandwidth>
<nrulmcs>NRmcsUpCarrier1:29</nrulmcs>
<nrdlmcs>NRmcsDownCarrier1Code0:0 NRmcsDownCarrier1Code1:0</nrdlmcs>
<nrtxpower>PPusch:20dBm PPucch:20dBm PSrs:20dBm PPrach:20dBm</nrtxpower>
<nrearfcn>DL:642000 UL:642000</nrearfcn>
<nrulfreq>3630000kHz</nrulfreq>
<nrdlfreq>3630000kHz</nrdlfreq>
<nrsinr>2dB</nrsinr>
<nrrsrp>-108dBm</nrrsrp>
<nrrsrq>-12.0dB</nrrsrq>
<arfcn></arfcn>
<bsic></bsic>
<rxlev></rxlev>
</response>

Appreciated.  Enjoy the 5G !


modified to handle alternate ports in start/stop scripts

The port 9999 is hardcoded into the scripts in the stop section. I updated this.

D'oh. I tested the regular start but not the Java1.7 version. I fixed the typo. Thanks @npickens.

This was also an issue for me. Realized that when I followed instructions found here (https://looker.com/docs/setup-and-management/on-prem-mgmt/upgrade), it was not really stopping looker.
Had to modify to remove https (for http), and change the port.

I just noticed this, is this still a desired change?
If so, the merge conflicts will need to be fixed.
If not, we should close it.
Let me know either way and we'll get this taken care of. :)

Still should be done.
On Mon, Feb 13, 2017, 7:12 PM Alex Abrahamian<EMAIL_ADDRESS>wrote:

I just noticed this, is this still a desired change?
If so, the merge conflicts will need to be fixed.
If not, we should close it.
Let me know either way and we'll get this taken care of. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/looker/customer-scripts/pull/1#issuecomment-279565822,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQyEVrkBZma2-GxQQKajN79eTUOcVBYks5rcPFfgaJpZM4Hlv20
.

Cool, let me know when you have fixed the conflicts, retested, and I'll get this merged in.

@aabrahamian just updated.


Handle 429 response

With recent upgrade to TestRail API, the API is rate limited on TestRail Hosted and may throttle requests. TestRail might also return a 429 Too Many Requests response which the users are expected to handle. Such a response also includes a Retry-After header indicating how many seconds to wait before allowed to submit the next request.
The SDK needs to be updated to handle this response and retry the request based on the Retry-After header value.

I have insufficient access so I cannot add mdharamadas as the assignee for this issue.
However, let it be noted that he is working on this issue himself.

https://github.com/RetailMeNot/TestRailSDK/pull/23


Insomnia does not start

Expected Behavior
Start the application and show the collections
Actual Behavior
I get an the following error:
Application error: Failed to render . Please report the error to [our Github Issues](https://github.com/Kong/insomnia/issues)
Reproduction Steps
I just open the program and it doesn't work
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
`Application Error
Failed to render . Please report the error to our Github Issues
Stack trace
TypeError: s.spec.info.version.startsWith is not a function
at children (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/project-a967a15a.js:1:28833)
at file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9275
at Object.useMemo (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:116:25888)
at h2.useMemo (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:9:6238)
at dl (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9182)
at kMe (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9613)
at MMe (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9989)
at tu (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9737)
at QMe (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:24100)
at jS (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:116:19553)
at w_ (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:1575)
at rj (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:46077)
at ej (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:39819)
at Kbe (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:39745)
at Kd (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:39596)
at Ax (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:35959)
at XB (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:34906)
at T (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:103:1591)
at Immediate.he [as _onImmediate] (file:///C:/Users/vali/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:103:1957)
at process.processImmediate (node:internal/timers:476:21)
Ok
Login
Sign Up
Personal Projects
Personal Projects
PROJECTS (1)
Filter
Render Failure: s.spec.info.version.startsWith is not a function
Preferences
Made withby Kong`
Insomnia Version
2023.5.8
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
Installed from website
Last Known Working Insomnia version
The previous version worked

Hi @vali-m
This issue was raised here
https://github.com/Kong/insomnia/issues/6465
and someone has kindly fixed it:
https://github.com/Kong/insomnia/pull/6493
Hopefully we'll see it sorted in the next patch release soon!
Jon


Storage Iterator(startKey, endKey) method has different results across implementations

While working on the FormatProvider I implemented the Iterator(startKey, endKey) method specified in the interface. I used the mem_store implementation as a reference to base my tests against. While doing this, I added a few extra test cases to mem_store (and FormatProvider) just to make sure that both Iterator(startKey, endKey) implementations work the same:
itr = store.Iterator("abc_", "abc_")
verifyItr(t, itr, 4, "abc_")

itr = store.Iterator("abc_", "mno_")
verifyItr(t, itr, 7, "")

If you were to add these additional test cases to the other storage providers in aries-framework-go and aries-framework-go-ext, you'll discover that most of the other implementations work differently for those two cases.
We really need to standardize the Iterator(startKey, endKey) method.

#2543 closes this issue, since the new storage interface no longer has an Iterator method (replaced with tags + querying).


Rotating Thumbnails

Attempting to rotate model thumbnails always places them -90 degrees offset from what was desired

sorry for the delayed response, I was using #136, but hopefully now that its been merged, the traffic_editor_assets package will be installed in ws/install


[Table] pagination / infinite scrolling

@jkruder In addition to sorting, we would love to give this a shot, too. Do you have any suggestion about implementation?

If you're interested in infinite scrolling, I would take a look at: https://github.com/facebook/fixed-data-table. Might find some inspiration there.
If you want to pursue pagination I would suggest creating the pagination UI; next/prev buttons, page number buttons with an ellipsis and provide a callback that simply communicates what page was selected. This will allow something like redux to be utilized for the paging and then the consumer of the table can populate it with the new table rows. What do you think?

I'll leave this to my teammate @VladimirPal.
My rough idea is that the Table would detect and keep track of scrolling positions, and have a callback onScrollToEnd. Pagination logic(either client or server side) would be handled outside of Table. Pros and cons of this approach are similar to those of my approach for sorting.

The infinite scroll is best implemented when you have all of the data and can control the heights of each row. Currently, we do not enforce a specific row height so determining how many rows to insert at a given point becomes more complicated. My vote would be to keep the table simple and provide paging hooks -- or, create a decorator that will wrap a table and provide pagination controls. See https://www.google.com/design/spec/components/data-tables.html#data-tables-tables-within-cards for an example of the paging controls.

I see, thanks for sharing!

@jkruder @zachguo I have implemented infinite scrolling as a prop on my table and will submit a PR for this soon. Thanks

What do you think about using https://github.com/orgsync/react-list for the infinit scroll?

When do you plan to do pagination?

@kodermax logics for pagination can be handled by user outside MUI. For creating a table footer similar to the specs of material design you can try following code snippet.
// footer.jsx

import React from 'react';
import {TableFooter as TF, TableRow, TableRowColumn, FontIcon, IconButton} from 'material-ui';

const styles = {
  footerContent: {
    float: 'right'
  },
  footerText: {
    float: 'right',
    paddingTop: 16,
    height: 16
  }
};

const TableFooter = React.createClass({

  propTypes: {
    offset: React.PropTypes.number.isRequired, // current offset
    total: React.PropTypes.number.isRequired, // total number of rows
    limit: React.PropTypes.number.isRequired, // num of rows in each page
    onPageClick: React.PropTypes.func // what to do after clicking page number
  },

  render() {
    let offset = this.props.offset;
    let total = this.props.total;
    let limit = this.props.limit;
    return (
      <TF adjustForCheckbox={false}>
        <TableRow>
          <TableRowColumn style={styles.footerContent}>
            <IconButton disabled={offset === 0} onClick={this.props.onPageClick.bind(null, offset - limit)}>
              <FontIcon className="material-icons">chevron_left</FontIcon>
            </IconButton>
            <IconButton disabled={offset + limit >= total} onClick={this.props.onPageClick.bind(null, offset + limit)}>
              <FontIcon className="material-icons">chevron_right</FontIcon>
            </IconButton>
          </TableRowColumn>
          <TableRowColumn style={styles.footerText}>
            {(offset + 1) + '-' + Math.min((offset + limit), total) + ' of ' + total}
          </TableRowColumn>
        </TableRow>
      </TF>
    );
  }

});

export default TableFooter;

@zachguo That looks good. Do you think we could add it to the lib?

I can do a PR if users find it helpful.

send PR, we will improve

I'd be interested in a pagination implementation. Been trying out the footer bit @zachguo posted and it looks good.

@zachguo since the changes in v15.0 pertaining to module imports, my module loading approach would not render the TableFooter component. I couldn't find a suitable workaround for that so instead I slightly modified the structure of your component, see below for anyone interested in using.
import Component from 'react-pure-render/component';
import React, { PropTypes } from 'react';
import ChevronLeft from 'material-ui/svg-icons/navigation/chevron-left';
import ChevronRight from 'material-ui/svg-icons/navigation/chevron-right';
import IconButton from 'material-ui/IconButton';

const styles = {
  footerContent: {
    float: 'right'
  },
  footerText: {
    float: 'right',
    paddingTop: '16px',
    height: '16px'
  }
};

class PagiFooter extends Component {

  constructor(props) {
    super(props);
  }

  static propTypes = {
    offset: PropTypes.number.isRequired, // current offset
    total: PropTypes.number.isRequired, // total number of rows
    limit: PropTypes.number.isRequired, // num of rows in each page
    onPageClick: PropTypes.func.isRequired // what to do after clicking page number
  }

  render() {

    let { offset, total, limit } = this.props;

    return (

          <IconButton disabled={offset === 0} onClick={this.props.onPageClick.bind(null, offset - limit)}>
            <ChevronLeft/>
          </IconButton>
          <IconButton disabled={offset + limit >= total} onClick={this.props.onPageClick.bind(null, offset + limit)}>
            <ChevronRight/>
          </IconButton>
          {Math.min((offset + 1), total) + '-' + Math.min((offset + limit), total) + ' of ' + total}

    );
  }

}

export default PagiFooter;

Including the component as so:
          <TableFooter>
            <TableRow>
              <TableRowColumn colSpan="3">
                <PagiFooter offset={1} total={2} limit={3} onPageClick={this.pagiFunction}/>
              </TableRowColumn>
            </TableRow>
          </TableFooter>

I couldn't determine what was causing your component not to render - I believe it might be some sort of namespacing collision with the module loading approach. I'd be curious to hear any possible culprits. Thanks anyway.

So based on implementation given by @zachguo I was able to add pagination and it works just fine. Thanks for your comments. Following is the complete implementation code (except for methods):

        <TableHeader displaySelectAll={false} adjustForCheckbox={false}>
          <TableRow>
            {this.tableData ? Object.keys(this.tableData[0]).map((key, idx) => (
              <TableHeaderColumn>{Utils.toHeaderCase(key)}</TableHeaderColumn>
            ))
              : ''
            }

          </TableRow>
        </TableHeader>
        <TableBody
          deselectOnClickaway={this.state.deselectOnClickaway}
          displayRowCheckbox={false}
          showRowHover={this.state.showRowHover}
          stripedRows={this.state.stripedRows}
        >
          {this.tableData ? this.tableData.map((row, index) => (
            <TableRow key={index} selected={row.selected}>
              {Object.keys(row).map((prop, ind) => (
                <TableRowColumn>{row[prop]}</TableRowColumn>
              ))
              }
            </TableRow>
          )) : ''}
        </TableBody>
        <TableFooter>
          <TableRow>
            <TableRowColumn style={styles.footerContent}>
              <IconButton onClick={() => this.getPreviousPage()} disabled={!(this.props.pagination.hasOwnProperty('prev'))}>
                <ChevronLeft/>
              </IconButton>
              <IconButton onClick={() => this.getNextPage()} disabled={!(this.props.pagination.hasOwnProperty('next'))}>
                <ChevronRight/>
              </IconButton>
            </TableRowColumn>
            <TableRowColumn style={styles.footerText} />
          </TableRow>
        </TableFooter>

@rs6g10 - that looks like a docs example in the making. Care to submit a PR?

@Dombo I upgraded MUI to v0.15 today and ran into same issue. I don't know what happened, thanks for your workaround.

@Dombo hmm, even your workaround didn't work for me. What I got is just an empty tr... PagiFooter was ignored and not rendered at all...
Actually no matter what I put into
<TableFooter adjustForCheckbox={false}>
  <TableRow>
    <TableRowColumn colSpan="3">
      ...
    </TableRowColumn>
  </TableRow>
</TableFooter>

got ignored.... Do you know why?

@zachguo I also struggled with that issue - my guess is that it's related to the TableRow component.
      var rowColumns = _react2.default.Children.map(this.props.children, function (child, columnNumber) {
        if (_react2.default.isValidElement(child)) {
          return _react2.default.cloneElement(child, {
            columnNumber: columnNumber,
            hoverable: _this2.props.hoverable,
            key: _this2.props.rowNumber + '-' + columnNumber,
            onClick: _this2.onCellClick,
            onHover: _this2.onCellHover,
            onHoverExit: _this2.onCellHoverExit,
            style: (0, _simpleAssign2.default)({}, styles.cell, child.props.style)
          });
        }
      });

      return _react2.default.createElement(
        'tr',
        _extends({
          className: className,
          style: prepareStyles((0, _simpleAssign2.default)(styles.root, style))
        }, other),
        rowColumns
      );

Specifically
 if (_react2.default.isValidElement(child)) {

Is my PagiFooter somehow not a valid react element?

@Dombo Thanks for your reply! I don't think that's the case, it didn't work even if I simply put a string inside TableRowColumn... 😕

@Dombo @zachguo i figured it out. When you create a custom component wrapping TableFooter, you need to

Omit the inner TableFooter element
Make the wrapping component extend React.Component
And set the muiName property on the wrapped component:

class MyCustomTableFooter extends React.Component {
  render() {
    return (
      <TableRow>
        <TableRowColumn>

This is my custom table footer

        </TableRowColumn>
      </TableRow>
    );
  }
}

MyCustomTableFooter.muiName = 'TableFooter';

@Dombo @zachguo
I think it is a bug caused by <TableFooter adjustForCheckbox={false}>
If  adjustForCheckbox={false} is removed, the footer shows as usual.
Related Issues: https://github.com/callemall/material-ui/issues/4581

@zachguo In the next major version we'll be including a regular table and an example of a material styled infinite/virtualized data grid component.

@nathanhere and when you plan to release new major version?

@rs6g10 @Dombo
Nice example, It helped a lot!
Can you give an ideia how to brake the list in pages?
Thanks,

Meanwhile I'll just leave this here https://github.com/ultimate-pagination/react-ultimate-pagination-material-ui

@Dombo Could you post your method to calculate the offset?

has anyone made any progress for infinite horizontal scroll?

+1 for working example of pagination/infinite scroll

I gonna close this, guys. Few takeaways from this thread:

logics for pagination and infinite scrolling should be handled by user/you not MUI
examples for TableFooter can be found above
"next major version we'll be including a regular table and an example of a material styled infinite/virtualized data grid component." https://github.com/callemall/material-ui/issues/1511#issuecomment-235240163

If you are open to design specs other than Material Design, take a look at Ant Design's table component.


Window is flickering while resizing

It seems that there is a resize issue at the MetroWindow. When the window is resized at the left side, the right edge flickers. The same issue appears on the top edge, in that case the bottom edge flickers.
However, resizing from the bottom and the right edge works perfectly fine.

@valentinhuber which version of MahApps? this should be better in the latest alpha.

Version 1.1.2.
Thanks for your reply, I'm going to test it later on and will provide you with feedback.

Tried the latest alpha (Version 1.1.3-ALPHA 170), you were right, it looks much better now, even though the flickering is not gone yet.

@valentinhuber it's not possible to fix this completely. if you compare with a normal window, then you can see that the inner content also flickers. so out content flickers too, but a little bit better.

Would also point that top left is the measure point for all content so it's
normal to flicker when changing this point

When you resize window, the whole device with swapchain must be recteated (this is relevant for DX 9, on which WPF is working) So, recteating device + swapchain causing this small flickering effect.


expand the mention of standard config types and give a couple of examples

can you put this on pause for a bit. i'm reworking the static site and any PR changes are have a high probability to be lost.


Landing page responsive

To improve this React component code, I can make it cleaner and more maintainable by following some best practices:
Use Consistent Formatting: Clean up indentation and spacing for better readability.
Destructure Props: Destructure props directly when passing values like title, greenTitle, and href to avoid repetition.
Semantic HTML: Use semantic HTML tags for better accessibility.
Optimize Div Usage: Avoid unnecessary divs and use appropriate elements where possible.
Comments: Add meaningful comments where necessary to explain sections of the code.

@MinavKaria can you please check and merge it


Infinite loader displayed when messagesLoaded is true

First, thank you for your amazing plugin!
Describe the bug
When the server returns an empty list of messages, the message window shows a message No messages for the first room, but shows an infinite loader for the others.
Steps to reproduce
Here is a repo to reproduce the issue: https://github.com/despatates/vue-advanced-chat-sandbox
Starting with messages = [] and messagesLoaded = false.
I simulate an empty response from the server by setting messagesLoaded = true.
When I select another chat room, the infinite loader remains visible.
Expected behavior
The message window should display No messages if the server returns an empty list of messages.
Screenshots

Device (please complete the following information)

OS: Fedora 38
Browser: Chrome 113.0.5672.126, Firefox 113.0.1
Package version: 2.0.7

Hmm, I think I found the solution by writing this issue.
messagesLoaded must be reset to false before requesting the messages for the newly selected room. Thus it will reset the "loading state" of the message window. And eventually set it back to true when the messages are loaded.
Am I right?

Yep that's exactly right


[Existing API Name] : ScreenShot API

Brief Description 🤓
I would like to add the Screen Shot API in the which is used to find the image of the content that has been provided by the user .
Provide reference!
https://docs.screenshotapi.net/?ref=redirect
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @Aksshay88🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

/gssoc24


Add specific Box64 builds for common ARM64 hosts

Context
This PR will mainly attempt to address #571.  The main changes are found on the base image and most of this PR are documentation changes. I have also removed ARM_COMPATIBILITY_MODE completely as it QEMU binaries has been removed from the base image.
Base image changes include:

Box64 and Box86 updates
Additional Box64 builds for specific devices including Oracle ARM and M1
Added ARM64_DEVICE env var to specify which Box64 build is to be used

The documentation changes include:

separating ARM64-exclusive env vars
adding relevant Box64 env vars for stability tweaking
update pages with ARM_COMPATIBILITY_MODE mentioned

I have also specified sane defaults for Box64 configurations on the Dockerfile to make sure it is set properly.
Choices

We had issues with QEMU so it didn't make any sense for it to stay on the base image.
Separating the ARM64-exclusive env vars should make it less confusing for the users.
Having specific Box64 builds for common server hosts will allow us to make sure that we provide the best stability they can get. This should minimize the server crashes caused by the emulation.

Test instructions

Tested it on my Oracle ARM server with ARM64_DEVICE set to adlink.

Checklist before requesting a review

[x] I have performed a self-review/test of my code
[x] I've added documentation about this change to the docs.
[x] I've not introduced breaking changes.
[x] My changes do not violate linting rules.

@thijsvanloef do you mind publishing a test image tag for this PR?

Here is the image: thijsvanloef/palworld-server-docker:arm-box64-test

This is all I can do for this specific PR for now. For those still having issues, I added documentations for config tweaking. It's hard for me to figure out which combination of the Box64 configs would work for a specific device. I only have my Oracle ARM server as a reference.
Some combinations might work for others and some might not. I think all we can do is ask them to test different configurations themselves based on the documentation. I added a specific section for it on the known issues page.

Thank you so much for your work ❤


fix: handle rcon errors

Handles any RCON errors gracefully.

Codecov Report

Merging #123 into master will increase coverage by 0.29%.
The diff coverage is 74.5%.

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
+ Coverage   90.32%   90.61%   +0.29%
==========================================
  Files          97       97
  Lines        3627     3655      +28
  Branches      175      178       +3
==========================================
+ Hits         3276     3312      +36
+ Misses        299      289      -10
- Partials       52       54       +2

Impacted Files
Coverage Δ

src/games/services/rcon-factory.service.ts
37.5% <0%> (-12.5%)
:arrow_down:

src/games/services/server-configurator.service.ts
77.41% <25%> (-1.62%)
:arrow_down:

src/games/services/game-runtime.service.ts
94.11% <86.36%> (+19.92%)
:arrow_up:

src/games/services/game-runtime.service.spec.ts
97.43% <90%> (-2.57%)
:arrow_down:

src/games/utils/rcon-commands.ts
88.46% <0%> (+3.84%)
:arrow_up:

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 e74ab4c...9ab2415. Read the comment docs.


Undoing and redoing operations contains bug

If we don't lie the last operation (in other words, Redo button is disabled currently), when we undo the step, the redo stack still stores the steps that is already obsolete and unreachable, we should remove the step.

I think this page is helpful:
Public Class UndoRedoClass(Of T)
    Private UndoStack As Stack(Of T)
    Private RedoStack As Stack(Of T)

    Public CurrentItem As T
    Public Event UndoHappened As EventHandler(Of UndoRedoEventArgs)
    Public Event RedoHappened As EventHandler(Of UndoRedoEventArgs)

    Public Sub New()
        UndoStack = New Stack(Of T)
        RedoStack = New Stack(Of T)
    End Sub

    Public Sub Clear()
        UndoStack.Clear()
        RedoStack.Clear()
        CurrentItem = Nothing
    End Sub

    Public Sub AddItem(ByVal item As T)
        If CurrentItem IsNot Nothing Then UndoStack.Push(CurrentItem)
        CurrentItem = item
        RedoStack.Clear()
    End Sub

    Public Sub Undo()
        RedoStack.Push(CurrentItem)
        CurrentItem = UndoStack.Pop()
        RaiseEvent UndoHappened(Me, New UndoRedoEventArgs(CurrentItem))
    End Sub

    Public Sub Redo()
        UndoStack.Push(CurrentItem)
        CurrentItem = RedoStack.Pop
        RaiseEvent RedoHappened(Me, New UndoRedoEventArgs(CurrentItem))
    End Sub

    Public Function CanUndo() As Boolean
        Return UndoStack.Count > 0
    End Function

    Public Function CanRedo() As Boolean
        Return RedoStack.Count > 0
    End Function

    Public Function UndoItems() As List(Of T)
        Return UndoStack.ToList
    End Function

    Public Function RedoItems() As List(Of T)
        Return RedoStack.ToList
    End Function
End Class

Public Class UndoRedoEventArgs
    Inherits EventArgs

    Private _CurrentItem As Object
    Public ReadOnly Property CurrentItem() As Object
        Get
            Return _CurrentItem
        End Get
    End Property

    Public Sub New(ByVal currentItem As Object)
        _CurrentItem = currentItem
    End Sub
End Class


Allow pointer to array for HasLen

Description
According to reflect (Value) Len() int godoc, we can get the length of the pointer to an array:
// Len returns v's length.
// It panics if v's Kind is not Array, Chan, Map, Slice, String, or pointer to Array.

It means that the following piece of code must succeed in go-quicktest/qt:
qt.Assert(t, qt.HasLen(&[2]string{"Monsieur", "André"}, 2))

However, the current checker of HasLen will return the following error for such a case:
bad check: first argument of type *[2]string has no length

even though the Golang native logic equates len(&[2]string{"Monsieur", "André"}) == 2 to true.
This PR adds the logic for handling pointers to arrays and adds appropriate tests.
Drive-by improvements

Removing unused emptyInterface;
Removing unused paramNames attribute in reportParams;
Removing extra checks for types after we specified their type instead of any;
Migrated reflect.Ptr to reflect.Pointer as it is now the new accepted standard naming.

Hey Roger(@rogpeppe) and Francesco(@frankban). I have noticed you are the active maintainors for this project, so I would appreciate your reviews. The library looks great, this change is mostly for consistency with Golang standard libraries, thanks.


[Bug] [TuGraph] document sync batch error {code: InputError} {message: No such graph: 1} 无法建立图知识库

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
Linux
Python version information
3.10
DB-GPT version
latest release
Related scenes

[ ] Chat Data
[ ] Chat Excel
[X] Chat DB
[x] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[ ] Installation From Source

[ ] Docker Installation

[X] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
centos7.9
a800
Models information
chatglm4-9b-chat
text2vec-large-chinese
What happened
建立图知识库，无论输入什么格式文件，无论选什么切分方式，都报这个错误，无法解决，Tugraph运行正常，建立向量知识库也正常。

What you expected to happen
正常构建图知识库
How to reproduce
直接dockercompose运行最新doker和Tugraph
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

嗯我也遇到了，在图数据库这事上，有好几个错了

@nmbtwzt @TodayWei Hi. The name of the graph rag can not be number. TuGraph DB refuse to create a graph named like "1".

可能是图数据库不能用中文命名，改成英文就可以了


Some figure cleaning (2,3,4)

Codecov Report

Merging #434 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
- Coverage   87.41%   87.38%   -0.03%
==========================================
  Files          23       23
  Lines        1740     1736       -4
==========================================
- Hits         1521     1517       -4
  Misses        219      219

Flag
Coverage Δ

#unittests
87.38% <ø> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

lineage/states/StateDistributionExpon.py
89.00% <0.00%> (-0.22%)
:arrow_down:

lineage/states/stateCommon.py
96.07% <0.00%> (-0.15%)
:arrow_down:

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 c16a94a...8c53de9. Read the comment docs.

Figure 2 (as it is in the manuscript). Uncensored lineage statistics and the estimation of them.

Figure 2, but is censored (I just put this in the supplementary figures, doesn't necessarily have to be in the manuscript). I just wanted to see what it looks like. We should keep in mind that I've turned the random seed off.

Figure 3 as it is in the manuscript. Estimation results over varying population sizes (the number of lineages is increased). This is for censored lineages.

Figure 3 but the uncensored version. Again, it's a supplementary figure, but doesn't necessarily mean that it has to be in the manuscript or anything.

Figure 4, as it is in the manuscript. These are uncensored lineages over increasing state distance. 4 lineages in particular are picked to have their G1 lifetime observation plotted to show what state distance (operationalized by the Wasserstein distance) means. The lineplot of accuracy is done the same way as it is in figure 3, but with the x-axis being the Wasserstein distance.

These are all screenshots, by the way, so they look better on Jenkins and don't have things cut off.

@Farnazmdi feel free to go in and make changes if you want. I'll work on figures 5 6 7 on a new branch (5 being the state representation, 6 being AIC, and 7 being the censored lineage figure).

I increased the number of data points to 200, so the build will take longer now.

They look very good! @shak360
In figure4, I guess we should decrease the gap between the cartoon and the second subplot.
In general, the errorfill looks better than the boxplots, the problem is when the data is grouped, it is making discrete chunks looks sharp, I mean if we had not grouped a couple of data points together, then the ribbon should have been more smooth. I don't have a solution immediately, but I think it is something we can figure out by smoothing or something...
In figure 2, the second row parameters (corresponding to G2, I guess) should change because one of them looks like doesn't exist.
Other than these, they look very nice! Thanks guys.

I think to make this more readable the grid size needs to be adjusted.

It looks like we cannot do scatter inside the errorfil(). So maybe let's only keep errorfill for accuracy and use errorbar or something else for parameter estimations.


Caddy 0.11.1 release tarball contains full path names.

1. What version of Caddy are you using (caddy -version)?
Caddy v0.11.1
2. What are you trying to do?
Extract the release tarball
6. What did you expect to see?
Relative pathnames
7. What did you see instead (give full error messages and/or log)?
# tar xvf caddy_v0.11.1_linux_amd64.tar.gz
tar: Removing leading `/' from member names
/Users/matt/Dev/src/github.com/caddyserver/releaser/cmd/release-caddy/gopath_11-12-1459.051000170/src/github.com/mholt/caddy/dist/README.txt
/Users/matt/Dev/src/github.com/caddyserver/releaser/cmd/release-caddy/gopath_11-12-1459.051000170/src/github.com/mholt/caddy/dist/LICENSES.txt
/Users/matt/Dev/src/github.com/caddyserver/releaser/cmd/release-caddy/gopath_11-12-1459.051000170/src/github.com/mholt/caddy/dist/CHANGES.txt
/Users/matt/Dev/src/github.com/caddyserver/releaser/cmd/release-caddy/gopath_11-12-1459.051000170/src/github.com/mholt/caddy/dist/EULA.txt
init/
init/.DS_Store
init/README.md
init/freebsd/
init/freebsd/caddy
init/linux-systemd/
init/linux-systemd/README.md
init/linux-systemd/caddy.service
init/linux-sysvinit/
init/linux-sysvinit/README.md
init/linux-sysvinit/caddy
init/linux-upstart/
init/linux-upstart/README.md
init/linux-upstart/caddy.conf
init/linux-upstart/caddy.conf.centos-6
init/linux-upstart/caddy.conf.ubuntu-12.04
init/mac-launchd/
init/mac-launchd/README.md
init/mac-launchd/com.caddyserver.web.plist
/var/folders/d4/3d8k5bgd62v9h2c5f05xkyx80000gn/T/caddy_deployment_251802561/caddy

8. How can someone who is starting from scratch reproduce the bug as minimally as possible?

Download the caddy v0.11.1 tarball
Extract: tar xvf caddy_v0.11.1_linux_amd64.tar.gz

For comparison, here's the v0.11.0 tarball extracted:
# tar xvf caddy_v0.11.0_linux_amd64.tar.gz
README.txt
LICENSES.txt
CHANGES.txt
EULA.txt
init/
init/.DS_Store
init/README.md
init/freebsd/
init/freebsd/caddy
init/linux-systemd/
init/linux-systemd/README.md
init/linux-systemd/caddy.service
init/linux-sysvinit/
init/linux-sysvinit/README.md
init/linux-sysvinit/caddy
init/linux-upstart/
init/linux-upstart/README.md
init/linux-upstart/caddy.conf
init/linux-upstart/caddy.conf.centos-6
init/linux-upstart/caddy.conf.ubuntu-12.04
init/mac-launchd/
init/mac-launchd/README.md
init/mac-launchd/com.caddyserver.web.plist
caddy

Oops. Dangit. I thought I had fixed that...

I fixed the bug upstream: https://github.com/mholt/archiver/commit/298df7b5f54d0940dc376a7581ce9c47ecbb07b2
Will re-upload assets tomorrow when I have a fast internet connection.

Re-built and uploaded the assets. Thanks


Support UA access control list

Codecov Report

Merging #61 (9a6a2b2) into dev (1d66510) will decrease coverage by 0.65%.
The diff coverage is 14.41%.

:exclamation: Current head 9a6a2b2 differs from pull request most recent head bf0feb2. Consider uploading reports for the commit bf0feb2 to get more accurate results

@@             Coverage Diff              @@
##                dev      #61      +/-   ##
============================================
- Coverage     26.91%   26.26%   -0.66%
- Complexity      136      138       +2
============================================
  Files            54       55       +1
  Lines          1943     2052     +109
  Branches        135      148      +13
============================================
+ Hits            523      539      +16
- Misses         1380     1472      +92
- Partials         40       41       +1

Impacted Files
Coverage Δ

...ank/wecross/account/service/ServiceController.java
0.57% <0.00%> (-0.06%)
:arrow_down:

...count/service/account/UniversalAccountBuilder.java
46.66% <0.00%> (-5.19%)
:arrow_down:

...com/webank/wecross/account/service/utils/Path.java
0.00% <0.00%> (ø)

...ank/wecross/account/service/account/UAManager.java
36.60% <47.05%> (+2.23%)
:arrow_up:

...ross/account/service/account/UniversalAccount.java
17.12% <75.00%> (+3.35%)
:arrow_up:

...ecross/account/service/config/UAManagerConfig.java
94.87% <100.00%> (+0.13%)
:arrow_up:

...k/wecross/account/service/exception/ErrorCode.java
100.00% <100.00%> (ø)

.../com/webank/wecross/account/service/utils/SM2.java
13.04% <0.00%> (+0.14%)
:arrow_up:

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 1d66510...bf0feb2. Read the comment docs.


No matching toolchains found for types @bazel_tools

Hi guys. So I followed the instructions from [https://google.github.io/mediapipe/getting_started/building_examples.html#android]( Examples)  to build an example of hand tracking with mediapipe. I reinstalled  g++ and it still shows the same error. The installation process was difficult, I had a lot of errors that I fixed them until the last step (run) where I got stuck. i tried also to build with Bazel in Command Line but it was the same error. So here's what the error showed:
bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu Starting local Bazel server and connecting to it... INFO: SHA256 (https://github.com/bazelbuild/rules_foreign_cc/archive/master.zip) = 3e6b0691fc57db8217d535393dcc2cf7c1d39fc87e9adb6e7d7bab1483915110 DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3e6b0691fc57db8217d535393dcc2cf7c1d39fc87e9adb6e7d7bab1483915110" DEBUG: Repository rules_foreign_cc instantiated at:   /home/bigbooss/Desktop/mediapipe/WORKSPACE:39:13: in <toplevel> Repository rule http_archive defined at:   /home/bigbooss/.cache/bazel/_bazel_bigbooss/b94c3a95826560b855bc249f7b0d01ea/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel> INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/master.zip) = d7c8150cfe290009d7a0a747022380d2a83ace702a6ad2548521f92fb88fe7e0 DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d7c8150cfe290009d7a0a747022380d2a83ace702a6ad2548521f92fb88fe7e0" DEBUG: Repository rules_cc instantiated at:   /home/bigbooss/Desktop/mediapipe/WORKSPACE:33:13: in <toplevel> Repository rule http_archive defined at:   /home/bigbooss/.cache/bazel/_bazel_bigbooss/b94c3a95826560b855bc249f7b0d01ea/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel> ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu' failed; build aborted: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type INFO: Elapsed time: 5.126s INFO: 0 processes. FAILED: Build did NOT complete successfully (17 packages loaded, 40 targets co\ nfigured)
g++        9.3.0
bazel      3.7.0
Android Studio  4.1.

Did you install the sdk and ndk properly and did you set up sdk and ndk paths in workspace properly?

thanks for answer me.
Yes, I think I installed them all.

then i set up the path :
export ANDROID_HOME=/home/bigbooss/Android/Sdk
export ANDROID_NDK_HOME=/home/bigbooss/Android/Sdk/ndk/21.3.6528147/

@bannani
you can try to solve it by downgrading your ndk version. I experienced the same so I did this.
Try to run the given file in the mediapipe folder
bash  setup_android_sdk_and_ndk.sh , It will do the rest and setup the paths in the workspace file.

@bannani did you manage to get this fixed?

@bannani Did you resolved the problems above what you encounter to?
I has the same problems.
Could you give some advise, thank you !

Hi @bannani I am facing the same errors. Did you manage to fix them?

i have the some problems in linux,  i solved it by taking the following steps :
#step1:
./setup_android_sdk_and_ndk.sh

#step2:
vi ~/.bashrc
export ANDROID_HOME=$PATH:$HOME/Android/Sdk
export ANDROID_NDK_HOME=$PATH:$HOME/Android/Sdk/ndk-bundle/android-ndk-r18b

#step3:
bazel  build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/facemeshgpu:facemeshgpu

#### INFO: Build completed successfully, 3983 total actions

Hi @bannani and others, Could you please test the above with the latest release of MediaPipe and reach us back if you still see the same error. Thanks!

eRROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/facemeshgpu:facemeshgpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facemeshgpu:facemeshgpu' failed; build aborted: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type

some quesiotn the toolchains have problem,how could I solve this?

Seems this is still an issue, the NDK directory tree changed and the scripts need to be updated to reflect this. You can work around it this by using an older version.
Follow these steps:

Open Android Studio and launch the SDK Manager.
Go to "SDK Tools" Tab.
Check the tick mark for "Show Packages",  located at the bottom right, above the buttons.
Look for "NDK (Side by Side)"
Install version "21.4.7075529". Seems to be the last version with the expected directory tree.
Modify your $ANDROID_NDK_HOME variable to point to the newly installed location either in your terminal or profile. Should be:
export $ANDROID_NDK_HOME=$ANDROID_HOME/ndk/21.4.7075529

Hope this helps!

try to use these commands, it helped me,
echo "android_sdk_repository(name = \"androidsdk\")" >> WORKSPACE
echo "android_ndk_repository(name = \"androidndk\", api_level=21)" >> WORKSPACE
firslty i had skiped this but than i had the same problem as you. So I have written these lines and all now works fine.
More detail here

Any reason that these lines:
android_sdk_repository(name = "androidsdk")
android_ndk_repository(name = "androidndk", api_level=21)

aren't just committed to git? i.e. are there cases where you would not want those lines in the WORKSPACE file?