text:
Add DataTableSet class to hold collection of DataTables with relationships

Add DataTableSet class to hold collection of DataTables with relationships

Support for relationships between DataTables, with a DataTableSet containing the relationship information between the DataTables.
Support add relationship to the DataTableSet.
Support for normalizing a DataTable to create a new DataTable in the DataTableSet.

Additional context
import woodwork as ww

products_dt = ww.DataTable(products_df, name='products')
transactions_dt = ww.DataTable(transactions_df, name='transactions')

datatable_set = ww.DataTableSet(name='retail')
datatable_set = datatable_set.add_datatable(products_dt)
datatable_set = datatable_set.add_datatable(transactions_dt)
new_relationship = ww.Relationship(datatable_set["products"]["product_id"],
                                   datatable_set["transactions"]["product_id"])
datatable_set = datatable_set.add_relationship(new_relationship)

datatable_set = datatable_set.normalize_entity(base_datatable_id="transactions",
                                               new_datatable_id="sessions",
                                               index="session_id",
                                               make_time_index="session_start",
                                               additional_variables=["device", "customer_id"])

@gsheni With the accessor implementation, this implementation could change quite a bit from what would have been done with DataTables. Maybe we should create a new issue for this if this type of functionality is still needed.

Closing in favor of: https://github.com/alteryx/woodwork/issues/752

authors: gsheni thehomebrewnerd

repo: alteryx/woodwork


text:
XMLRPC Filesystem + expose Module

Got it running...
All Unittests from fs.tests are running (some methods are not available).
the functions of gettext/settext have a strange encoding behaviour, would be coll if you could check this.
Thank you.

The XMLRPCFS is used only for testing, right ?

Yes, at the moment. Also as reference implementation?

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
The method is returning object as Result<Result> instead of Result since version 3.7

Hi,
since the update of fluentResults to 3.7 we are facing following issue. We have a code which functions as following
public static Result<dynamic> DynamicConvert(dynamic source, Type dest)
        {
            var result = new Result<dynamic>();
            try
            {
                var converted = Convert.ChangeType(source, dest);
                return result.WithValue(converted);
            }
            catch (Exception e)
            {
                return Result.Fail($"{e.Message}");
            }
        }

this was working fine until 3.6. After updating to 3.7 we notice that now result.WithValue is returning Result of Result object however earlier (version 3.6) it was returning simple Result object, As an example on version 3.7+ we now get
Result<Result<string>>

however on prior versions 3.6 and below we get
Result<string>

in both above cases

Type is typeof(string)
source is "SomeStringValue"

ON debugging i found that  somehow with 3.7 now there is an extra call occurring to following method in Results.cs file
public static Result<TValue> Ok<TValue>(TValue value)
        {
            var result = new Result<TValue>();
            result.WithValue(value);
            return result;
        }

And this is leading to an extra wrapping of Result object
Any hints?

Hi,
in the release notes I see that we added a new implicit conversation in v3.7 (see https://github.com/altmann/FluentResults/releases/tag/v3.7) Issue and PR is also linked.

I think that the method WithValue() works correctly. But after WithValue() an implicit conversation occur and the Result is wrapped in another Result object but I don't really know why.
The git repo of FluentResult is really easy to setup locally on a dev machine. Only cloning and building. If you need a solution asap it would be great if you can create a test to reproduce this issue and maybe you find the solution. Maybe we have to check in the implicit conversation if the TValue is already a Result and then we can return it and don't wrap it again.

@kuldeepGDI I invested some time and have now a working solution. I don't have much experience with dynamic in c# because I try to prevent it in all my projects.
Please look at the pr #145. There you see the changes and also the test which I added. Please let me know your opinion.

I added my comment there, when would be the new version published then ? THanks a lot for quick fix !

The new version 3.11 is released in some minutes. I keep the issue open. If you know why its double casted please let me know.

source: gharchive/issue

authors: altmann kuldeepGDI

repo: altmann/FluentResults


text:
Rename Inserter to Positioner

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Preparing for publish under new name

What is the current behavior? (You can also link to an open issue here)
Main class is called Inserter

What is the new behavior (if this is a feature change)?
Main class is called Positioner

Other information:
Whee templates are fun.

This resolves #3

repo: altmeta-org/reposition


text:
🛑 m.syzszz.cn is down

In bc0375a, m.syzszz.cn (https://m.syzszz.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: m.syzszz.cn is back up in fccb82d.

repo: alzee/up


text:
🛑 m.syzszz.cn is down

In d0327a2, m.syzszz.cn (https://m.syzszz.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: m.syzszz.cn is back up in ea96488 after 17 minutes.


text:
error while loading shared libraries: libPVRTexLib.so

Hi!
I'm trying to compile for linux in debut mode, and i get this error:
error while loading shared libraries: libPVRTexLib.so: cannot open shared object file: No such file or directory

I can confirm libPVRTexLib.so is present in 3rdparty folder.
In release mode, i cannot even compile.. i get that error during compilation.
Is there any instructions on how to build? Thanks!
I'm using Qt 5.13 64bits btw.

Using $LD_LIBRARY_PATH lets me run the app once compiled in debug mode. But i think this shouldn't be necessary

Hi.
Unfortunately I don 't have Linux OS, try asking at NathV he was adding a Linux support.

Is this library missing for the release build?

Hey! thanks for the quick answer! The library is not found on release build at compilation time, so it fails to compile as release. It compiles ok as debug, but then it crash because it does not find ti.

Verify that these lines are correct for your system
PVRTexTool.pri
linux {
    linux:contains(QMAKE_HOST.arch, x86_64) {
        LIBS += $$PWD/Linux_x86_64/libPVRTexLib.so
    } else {
        LIBS += $$PWD/Linux_x86_32/libPVRTexLib.so
    }
}

In the project i have those exact lines.
However, changing them to LIBS += -L$$PWD/Linux_x86_64/ -lPVRTexLib makes it work here. Only for debug.

Sorry, with that modification it works on my system for both RELEASE and DEBUG. If that's ok, i can make a PR, or you can test and change it yourself as it only two lines. IDK if this affects other systems though

I cannot check :( I only have macos

Should i wait for NathV? perhaps he drops here to give me a hand?

You can make a request-pull if you can fix the mistake.

Is there a discord or anything where we can talk to developers?

No, only here

authors: amakaseev azagaya

repo: amakaseev/sprite-sheet-packer

license: mit

license_source: bigquery


text:
Pass arguments from superset-demo to superset-init.

I will change it so that I can create an administrator without interaction.
ex)
docker-compose exec -T superset superset-demo
--username admin --firstname admin --lastname user --email admin@fab.org --password admin

I appreciate the idea, but I don't think the demo needs to be so fancy. Thanks.

authors: amancevice mnagaku

repo: amancevice/superset


text:
Redis persistent, with volume

correct #581

Hi there, sorry to pitch in at that late stage but i guess we need to think a bit more about how we configure the persistent redis.
We set the maxmemory-policy to allkeys-lru here - https://github.com/amazeeio/lagoon/blob/master/images/redis/conf/redis.conf#L8
I think we should look into the other eviction policies as when using redis as a persistent storage (e.g. for a queue) we should make sure no data gets lost so the noeviction policy would be an idea - but this will lock up redis when we reach the maxmemory configured.
Eviction Policies: https://redis.io/topics/lru-cache

@dasrecht
mhh that is a good point, my understanding was that we need the persistent Redis still with allkeys-lru but we want it persistent so that a possible redis container restart does not loose any caching.
I guess we could make maxmemory-policy configurable via an env variable and by default have it set to  allkeys-lru?

authors: Schnitzel dasrecht rtprio

repo: amazeeio/lagoon


text:
doc: Improve gphase unitary matrix definition in docstring

Issue #, if available:
LaTeX rendering is incorrect for gphase unitary matrix definition.
see: https://amazon-braket-sdk-python.readthedocs.io/en/latest/_apidoc/braket.circuits.gates.html#braket.circuits.gates.GPhase

Description of changes:
Fix LaTeX markup. Also add full matrix definition for consistency with other gates. With these changes, it looks like:

Testing done:
Validated rendered docs from PR output.
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Is it potentially misleading to depict the global phase as a 2*2 matrix?

Is it potentially misleading to depict the global phase as a 2*2 matrix?

Yes, not only misleading but completely wrong. Thanks for catching this, not sure why I did that. Will open a new PR to fix it.

repo: amazon-braket/amazon-braket-sdk-python


text:
Ion Widget on front page incorrectly handling unicode characters

E.g.
'\u263A'
'☺'

...is displayed as...
'âº'
'âº'

Here's a screenshot to illustrate exactly where the problem occurs:

I've double checked the ion-js library, and it handles unicode correctly, so I am fairly confident the problem is with the  web page.

Here's the problem:
https://github.com/amazon-ion/ion-docs/blob/9dcf5cc15d60f8a5ed026c468dfd0a2e2a06c32d/assets/ion-widget.js#L42
The fromCharCode function/property/whatever is expecting UTF-16, whereas the IonWriter is outputting UTF-8.

repo: amazon-ion/ion-docs


text:
namespace plumbing

as in https://github.com/ambiata/icicle/issues/401

looks ok. an example with different namespaces wouldn't go astray
👍

never mind example comment, just saw the one in ice

authors: amosr tranma

repo: ambiata/icicle


text:
How to use this tool?

Please post a How-to on how one goes about installing and using your tool.

RTFM - https://github.com/ameer1234567890/OnlineNandroid/wiki


text:
Added support for ninja build system

Hi,
many large projects are switching to (or at least are supporting) the ninja build system. The ninja build system has the advantage of a much smaller overhead than classical make files. For more information see: https://ninja-build.org/
This PR adds support in ament for building ROS2 with ninja. It does so by adding a new build option called --ninja. This options set a ninja_build flag which is then queried afterwards. If set to true cmake is passed the option -G Ninja and instead of make the ninja build tool is called.
Please note that I'm not that familiar with python. So if anything of this PR looks like bad style or should be done in another way please tell me.
Edit: With ccache, gcc and gold linker I get a compile time for ROS2 of about 12 minutes compared to 14 minutes with make (also witch ccache, gcc and gold linker)

Please see #127 for a different PR adding support for XCode which will likely interfere with this.

With the last commit I changed to variable name to use_ninja and the build parameter to --use-ninja.

Thank you for the update. I committed some additional minor changes and triggered some CI builds (not using --use-ninja though since our build slaves don't have it installed):

All green :rocket: Thanks!

authors: dirk-thomas firesurfer


text:
feat(eslint): unicorn overrides

Unicorn has a few rules which need to be disabled because they are either incompatible with React or are unnecessarily burdensome premature optimizations.

These are great. The prefer abbreviations one especially has come up in discussions, and is very tedious to customize. However these are breaking changes so the (squashed) commit will need to be amended with the details.

I am closing this PR in favor of individual PRs for each proposed rule change in order to expedite releasing fixes for the ones causing critical problems.

authors: igetgames stevensacks

repo: americanexpress/eslint-config-amex


text:
Configuring URI

Hello.
I followed the instructions in the README:

Create env
Activate Env
Use the following:

export-experiment-list --experiments 'all' --output-dir out

But I am getting the following error:
Traceback (most recent call last):
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\Scripts\export-experiment-list-script.py", line 33, in <module>
    sys.exit(load_entry_point('mlflow-export-import==1.0.0', 'console_scripts', 'export-experiment-list')())
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 79, in main
    export_experiment_list(experiments, output_dir, export_metadata_tags, notebook_formats, export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 26, in export_experiment_list
    exporter = ExperimentExporter(client, export_metadata_tags, utils.string_to_list(notebook_formats), export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment.py", line 20, in __init__
    self.run_exporter = RunExporter(self.client, export_metadata_tags, notebook_formats, export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\run\export_run.py", line 23, in __init__
    self.dbx_client = DatabricksHttpClient()
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 70, in __init__
    super().__init__("api/2.0", host, token)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 21, in __init__
    raise MlflowExportImportException("MLflow host or token is not configured correctly")
mlflow_export_import.common.MlflowExportImportException: MLflow host or token is not configured correctly

I made sure to set set MLFLOW_TRACKING_URI=http://localhost:5051 (this is on Windows 11).
My Mlflow is running on Kubernetes and I am port-forwarding, but the pf works fine as I have access to it through the browser.
There is no token that I'm aware of.
Still I get this error.

https://github.com/amesar/mlflow-export-import#databricks-export-examples
[https://opengraph.githubassets.com/5f7bcec87702c4eecf4b943e4e45ef3297ca308edcfe01d0f5412273a18bdad1/amesar/mlflow-export-import]https://github.com/amesar/mlflow-export-import#databricks-export-examples
amesar/mlflow-export-import: Export and import MLflow experiments, runs or registered models - GitHubhttps://github.com/amesar/mlflow-export-import#databricks-export-examples
Setup. Supports python 3.7.6 or above. Console scripts. Python console scripts (such as export-run, import-run) are provided as a convenience. For a list of scripts see setup.py.. This allows you to use
github.com

From: Ronny Efronny @.>
Sent: Sunday, January 16, 2022 3:40 PM
To: amesar/mlflow-export-import @.>
Cc: Subscribed @.***>
Subject: [amesar/mlflow-export-import] Configuring URI from Command Line? (Issue #33)
Hello.
I followed the instructions in the README:

Create env
Activate Env
Use the following:

export-experiment-list --experiments 'all' --output-dir out
But I am getting the following error:
Traceback (most recent call last):
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\Scripts\export-experiment-list-script.py", line 33, in
sys.exit(load_entry_point('mlflow-export-import==1.0.0', 'console_scripts', 'export-experiment-list')())
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1128, in call
return self.main(*args, **kwargs)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 79, in main
export_experiment_list(experiments, output_dir, export_metadata_tags, notebook_formats, export_notebook_revision)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 26, in export_experiment_list
exporter = ExperimentExporter(client, export_metadata_tags, utils.string_to_list(notebook_formats), export_notebook_revision)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment.py", line 20, in init
self.run_exporter = RunExporter(self.client, export_metadata_tags, notebook_formats, export_notebook_revision)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\run\export_run.py", line 23, in init
self.dbx_client = DatabricksHttpClient()
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 70, in init
super().init("api/2.0", host, token)
File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 21, in init
raise MlflowExportImportException("MLflow host or token is not configured correctly")
mlflow_export_import.common.MlflowExportImportException: MLflow host or token is not configured correctly
I can't quite figure out how to "configure" these things, and it's nowhere to be seen in the README (or maybe I missed it!).
Would love some help with this!
—
Reply to this email directly, view it on GitHubhttps://github.com/amesar/mlflow-export-import/issues/33, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AANEMEMYR6XBXEWWFYOFFXDUWLRGZANCNFSM5MC4XZ4Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

+1

authors: LarkRanger ReHoss amesar

repo: amesar/mlflow-export-import


text:
Colliders attached to dead Entities are never removed

I've been using this lib, it's very nice but of course some functionality is missing.
As I go along, I've been adding the things that it's missing that I need and keeping each feature in a separate branch on my github. I'll make an effort to merge all that you guys want after Amethyst is updated to specs 0.15.0, because all of my add-ons are based off of that.
Anyway, I needed to do some raycasting, so I exposed a method on your Physics struct which calls the interferences_with_ray method on the collider world of the nphysics::World that the Physics stores. I'm able to very easily just grab this Physics struct from my ECS systems and do the raycasting that I need to do.
I wanted to manipulate the components of the entity which owns the collider that the ray hit. I was planning on making it so that I could use the user_data method of the nphysics ColliderDesc through your guys's PhysicsColliderBuilder. This would allow me to put the Id of the ECS entity associated with the collider in the user data, so that I could fetch it later and use it to manipulate some components.
When I started trying to add a method to the PhysicsColliderBuilder to let me add user data, I learned that you guys are already using the struct to store the Id of the entity just as I would've.
Naturally, to test my solution, I attempt to delete the entity attached to the collider in question. This seems to work: all of the other components are removed from my entity.
The collider, however, is still there. The bodies I'm doing raycasting against are static and in their own collision group, but I suspect that if I had them as normal dynamic bodies, one would still be able to collide with them, despite the fact that the colliders in question are associated with entities which are, in fact, dead.
I'm more than willing to PR a bugfix for this, but this is getting into the sort of arcane nphysics juggling systems magic that would require some pretty good knowledge of your guys's code base. Some pointers would be greatly appreciated. (I'm also not too worried about this because the bodies I'm raycasting against are static; the fact that they aren't actually deleted is somewhat annoying but functionally irrelevant to me, so this issue also serves as documentation of the problem)
Thanks in advance,
Cedric Hutchings.

I think perhaps we could benefit for some sort of test for this, where an entity is instantiated, deleted, and then raycasting or some other method is used to verify if the entity and its collider and physics were, indeed, removed from the physics simulation.

Agreed. I want to write out my own document trying to make sure I get all the cases tested correctly when I get the time here hopefully soon to spend time with this repo. Looking forward to your PR's and appreciate your feedback a whole lot! The amethyst specs update is very very very very close to merging I believe, and if Amethyst doesn't release soon after that (although I believe it should), I'll just leave a git dependency for that feature without actually releasing to crates (so it'd be easy to depend on master of both specs-physics and amethyst for those users) so we can merge in your specs upgrade.

What work is left to do on this issue after the merge of #38 ?

authors: cedric-h distransient jojolepro

repo: amethyst/specs-physics


text:
Align code to the master branch of iDynTree for Stack-of-Task MAP computation

The Stack-of-Task (SoT) MAP code in this repo is not aligned with the master branch of iDynTree.
In general, the SoT code computes the human whole-body kinematics and dynamics estimation as a combo of these two sequential tasks (details in this paper), as follows:

The alignment change concerns the way in which the two tasks implementation is defined, according to this https://github.com/robotology/idyntree/pull/991.

Useful similar pieces of code:
Task 1 (Non collocated wrench estimation)
Setup of the berdy option/helper:
https://github.com/robotology/human-dynamics-estimation/blob/3384a0bd6b8411c865e38136a30ece69241ce7c7/devices/HumanWrenchProvider/HumanWrenchProvider.cpp#L841-L848
Computation and use of the Rate of Change of Momentum (no acceleration or velocity terms):
https://github.com/robotology/human-dynamics-estimation/blob/3384a0bd6b8411c865e38136a30ece69241ce7c7/devices/HumanWrenchProvider/HumanWrenchProvider.cpp#L426-L445
https://github.com/robotology/human-dynamics-estimation/blob/3384a0bd6b8411c865e38136a30ece69241ce7c7/devices/HumanWrenchProvider/HumanWrenchProvider.cpp#L1182-L1189
Task 2 (Full dynamics)
Setup of the berdy option/helper
https://github.com/robotology/human-dynamics-estimation/blob/3384a0bd6b8411c865e38136a30ece69241ce7c7/devices/HumanDynamicsEstimator/HumanDynamicsEstimator.cpp#L932-L941

The code was merged in devel since a while (https://github.com/robotology/idyntree/pull/991), and then released in master with iDynTree v6.0.0 (see https://github.com/robotology/idyntree/releases/tag/v6.0.0)

The code was merged in devel since a while (robotology/idyntree#991), and then released in master with iDynTree v6.0.0 (see https://github.com/robotology/idyntree/releases/tag/v6.0.0)

Sorry, the issue actually refers to the MAPest code implemented in Matlab. @claudia-lat do you have updates on this? Was the code updated?

The code was merged in devel since a while (robotology/idyntree#991), and then released in master with iDynTree v6.0.0 (see https://github.com/robotology/idyntree/releases/tag/v6.0.0)

Sorry, the issue actually refers to the MAPest code implemented in Matlab. @claudia-lat do you have updates on this? Was the code updated?

Friendly ping @claudia-lat

The updated version is used in https://github.com/ami-iit/component_cht-intention-retargeting/tree/versionWithMAP/code.
The main of this repo should be aligned to this one.

authors: RiccardoGrieco claudia-lat lrapetti

repo: ami-iit/MAPest


text:
Add CD32 support

We made an experimental test setup for CD32 when CDDA support landed in the MiSTer Minimig core.
We should see if there’s a clean way to integrate it in the launcher (and explore what that means for e.g. emulator use).

Nice!  It;s a mxied bag, really wish the CDTV games worked, or worked better.  Really wanted to hear the CDDA music in DOTC, and Xenon 2 :)   Thanks for the work your putting into this.  Cheers.

Yeah, the “emulator” does not really support CDTV (even though some games run), it’s written for CD32 games.

Nice one!

repo: amigavision/AmigaVision


text:
Add constructor to  SitemapXmlOnline

[SitemapXmlOnline] (https://github.com/amihaiemil/charles/blob/master/src/main/java/com/amihaiemil/charles/sitemap/SitemapXmlOnline.java) should have a constructor accepting an apache HttpClient (maybe a proxy needs to be configured).

done.

repo: amihaiemil/charles


text:
overide delete_model method

Checklist

[X] There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.
problem that sqladmin doesn't correct delete related models with ondelete=cascade
Describe the solution you would like.
solution is override delete_model method from:
await session.delete(obj)
to:
await session.execute(delete(self.model).filter_by(id=pk))
Describe alternatives you considered
No response
Additional context
No response

@spark-19977 Can you provide a minimal example to reproduce this?
It seems to be working fine and also the solution you have mentioned doesn't work we are not using session.delete(obj) at all.

repo: aminalaee/sqladmin


text:
Chaining render to onLoadFinished

QUESTION
Expected behavior
I am trying to get a pdf of a report from a website which needs login. So I am first logging in to the website which then redirects to the page I want access to. I need to hook the onLoadFinished function to the     page.render function. Here is the code I am using:
page.open(BASE_URL + Report_URL).then(function(status) {
        console.log(status);
        try{
            page.evaluate(function(){
                setTimeout(function(){
                document.getElementById("username").value = "admin";
                document.getElementById("password").value = "admin";
                document.getElementById("submit").click();
                },100)
            })

        page.property('onLoadFinished', function(status,page) {
            console.log('==== onLoadFinished()');
            try{
                console.log('  status: ' + status );
                page.render("report.pdf")
            }catch(ex){
                var fullMessage = "\nJAVASCRIPT EXCEPTION";
                console.log(fullMessage);
            }
        },page);
        }catch(ex){
            var fullMessage = "\nJAVASCRIPT EXCEPTION";

            console.log(fullMessage);
        }

    });

Actual behavior
Nothing happens, even exception does not come.
How can this be achieved? I want to chain the onloadFinished function to another function which can render the page as pdf...pls help!!
Environment

OS: Ubuntu 14
Node version (node -v): v6.2.2
package version: npm - 3.9.5

Did you try using page.on(...) instead of property? I really should just remove property as it confuses people.

Thanks for replying Amir, I solved it by using this.render instead of page.render. Updated code :-
page.open(BASE_URL + Report_URL).then(function(status) {
    console.log(status);
    try{
        page.evaluate(function(){
            setTimeout(function(){
            document.getElementById("username").value = "admin";
            document.getElementById("password").value = "admin";
            document.getElementById("submit").click();
            },100)
        })

    page.property('onLoadFinished', function(status,page) {
        console.log('==== onLoadFinished()');
        try{
            console.log('  status: ' + status );
            this.render("report.pdf")
        }catch(ex){
            var fullMessage = "\nJAVASCRIPT EXCEPTION";
            console.log(fullMessage);
        }
    },page);
    }catch(ex){
        var fullMessage = "\nJAVASCRIPT EXCEPTION";

        console.log(fullMessage);
    }

});

license: isc


text:
Change variables and update graphs

User story

As a user
I need to change the variables of a scenario
So that I create the costumers desired scenario and compare it with the baseline scenario

Acceptance criteria

Graphs are updated after I change the variables
I can only choose between predefined variable and I cannot add anything new
Change the graphs automatically. If it is not possible, I need a button to click on and update the graphs

authors: MichaelScheiderer olyaee


text:
Closes #111 - Add landing page design

Here is the design update for landing page. It includes additional interactivity.
Please see the comments in the Figma project which also explain how the design technically behaves:
https://www.figma.com/file/FRqpUl9lXzAZqG02BHk626/Home_page_base?node-id=0%3A1
I'm yet too much noob for how to use Figma properly so I used comments and no components. I was extremely slow or inefficiently working with it. Every change costs so much time, I practically worked 4 working days on this.

I don't know why the small screen version was exported so large:

I also considered of all your last comments, @NickZecamp . Just the footer-banner, I thought, would be better to leave with the colour of the background because its position is fixed.

looks good

@NickZecamp I changed that loudspeaker to an eye. Is there some more things for this current design?

Everything looks good to me ok_hand
Just discovered that you are using unicode characters in your icons. The problem is that they can be displayed in different ways and do not always follow the same style. What do you think if we replace them with images?

Yes, that's okay. I didn't know about this problem. Could you help me with that? Maybe I should replace some of my cards and the input field with your field?

Everything looks good to me ok_hand
Just discovered that you are using unicode characters in your icons. The problem is that they can be displayed in different ways and do not always follow the same style. What do you think if we replace them with images?

I added a Figma commment there which explains to use images. It's too much for me now to change it, so I hope this sufffices.

authors: krisutofu tuilagio


text:
167 create new proof templates page

Finished functionalities of #167.
Some tests are missing and will be added in another PR.
Saving of the selected image doesn't work yet, we are in contact with Tamara about that. Please ignore this fact for this review.
RM: @jackDS008

There is no dropdown menu for selecting the credential definition

I can select more than one credential definition however we must take just one

The pop up does not appear for the case of this error

Please we should have here a simple and small + button to add the attributes

The creation of a new proof template with attributes did not work on my side and the pop up does not appear to indicate the error maybe the others must also try to create one

Please don't forget to run prettier. it seems that it was not executed according to the command with the check option

There is no dropdown menu for selecting the credential definition

Yes we did a table because a Dropdown isn't really useful in this case. I asked Tamara if it's okay

The creation of a new proof template with attributes did not work on my side and the pop up does not appear to indicate the error maybe the others must also try to create one

Karol edited the HttpService at the same time and since we didn't want the work twice we didn't add it. Now there should be error popups for all HttpErrors

Please don't forget to run prettier. it seems that it was not executed according to the command with the check option

There is no dropdown menu for selecting the credential definition

No because a DropDown isn't that useful in this case. I wrote Tamara about it.

I can select more than one credential definition however we must take just one

Have you created a proof on the onboarding website once? But I also wrote Tamara about this.

pushed to main via #234


text:
Artax - How can we set proxies in http client

Hi there,
How can we apply proxies in http client, in curl we use CURLOPT_PROXY and CURLOPT_HTTPPROXYTUNNEL
Is there a way we can set proxies in Artax http client?
thanks

Yes, there is, see https://github.com/amphp/artax/blob/fb8c11fe7530be274483adf63346cc1b0fa1714a/lib/HttpSocketPool.php
Please open further issues regarding Artax in its own repository.

authors: kelunik waleedmazhar

repo: amphp/amp


text:
Support psr/container ^2.x

The only difference I see between psr/container ^1.x and 2.x is the return type bool on ContainerInterface, which seems already implemented by the injector's container like that.

Thanks!

Thanks as well! @kelunik

authors: kelunik thgs

repo: amphp/injector


text:
Custom ping interval being ignored

Hello,
When a new Websocket instance is made, we can pass Options to override some settings. For example:
new Websocket(new Application(), Options::createServerDefault()->withHeartbeatPeriod(20)->withQueuedPingLimit(10));
Here in the above, I am overriding the heartbeat period to 20 seconds. The expected behavior from this, as I understand it, is the pings sent to the client should occur every 20 seconds. However, because of the way it's written, they are instead sent every second, thereby ignoring the heartbeat period. By extent, the default period, which is 10 seconds, is also ignored.
The definition of withHeartbeatPeriod is:

Duration in seconds between pings or other connection activity if the heartbeat is enabled. Default is 10.

The heartbeat is also already enabled by default by passing Options::createServerDefault().
Because the pings are currently sent every second, is the Websocket is not functioning as intended, and thus this is an issue?

The watcher is executed every second, but there's a guard to check the expiry time set in https://github.com/amphp/websocket/blob/master/src/Rfc6455Client.php#L152, so it seems to do the right thing, no?

My understanding was the pings were supposed to occur with the interval set (so 20 seconds), but the behavior I'm seeing is it occurs every second. So I'm not sure if this is an issue, or I'm misunderstanding the usage.

Does this make sense?

repo: amphp/websocket


text:
[TACHYON-1098] Stripping path from TachyonURI

https://tachyon.atlassian.net/browse/TACHYON-1098

Now AbstractLineageClient passes just the path part to
LineageMasterClient#createLineage, which, in turn, has been updated
accordingly.
InodeTree#createPath passes the correct path part of the TachyoURI to
PathUtils#getPathComponents

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5657/
Test PASSed.

Thanks for fixing this bug and improving PathUtils#getPathComponents!

The new commit should address your comments. Thanks guys!

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5661/
Test PASSed.

+1 LGTM. Thanks for the patch!

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5671/
Test PASSed.

LGTM. Thanks for the fixes!

repo: amplab/tachyon


text:
[SMALLFIX] Fix ApplicationMasterTest

Followup to https://github.com/amplab/tachyon/pull/2334

Merging to fix developer build


text:
Console.log in production code

Really? console.log?
We need to support IE8 (ye, ye, poor me) and it throws. Could you do something about it?

https://github.com/amplitude/Amplitude-Javascript/commit/ca093a600702d4a1ce80eabb8729ee5f6500b90c will be in the next release

authors: Andarist djih

repo: amplitude/Amplitude-Javascript


text:
TaskDialog.ShowAsync throws NullReferenceException

Getting a NullReferenceException here
DialogResult = await dialog.ShowAsync().ConfigureAwait(true);

System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentAvalonia.UI.Controls.TaskDialog.ShowAsync(Boolean showHosted)
   at HanumanInstitute.MvvmDialogs.Avalonia.Fluent.FluentTaskView.ShowDialogAsync(IView owner)

Do note that the TaskDialog does show; the error throws after closing it.
Avalonia v11.0.0-rc1
FluentAvalonia v2.0.0-rc1

I can't reproduce any crash with TaskDialog. However, you've only included one line of your code from which I cannot determine where any errors may be arising. Please include enough context in sample code for me to diagnose or reproduce the issue, thanks.
This works for me:
 var td = new TaskDialog
{
    Title = "title",
    Content = "Content",
    XamlRoot = this,
    Buttons =
    {
        TaskDialogButton.OKButton
    }
};

var result = await td.ShowAsync().ConfigureAwait(true);

repo: amwx/FluentAvalonia


text:
Changed from ffmpeg to libvlc

The video stream is handled by libvlc, which increases stability and speed. Isn't tested on Bebop since I don't have one...

Not going to accept this directly as I want to keep the old vision approach in place and users can choose either.  However, I'll get your code incorporated into a release shortly.

repo: amymcgovern/pyparrot


text:
Fix file size calculation

AWS doesn't promise to always return the total loaded size, sometimes it just returns the data size that was request to be loaded.

AWS doesn't promise to always return the total loaded size

Could you link to some documentation on this?

authors: LinusU benglewis


text:
Remove zero-width space characters in CastleRights docs.

No idea how those got there, but they mess up the docs.rs rendering!
I searched and this seems to be the only occurrence of these characters in this repository.

oops

authors: KarelPeeters analog-hors

repo: analog-hors/cozy-chess


text:
Markdown content not statically rendered

Please provide the environment you discovered this bug in.
@analogjs/content: "^0.2.0-beta.8",
@analogjs/router: "^0.2.0-beta.7",
@analogjs/platform: "^0.2.0-beta.7"
Which area/package is the issue in?
content
Description
When prerendering static markdown routes, the generated html file does not contain the rendered markdown content. Instead, the markdown angular component is present in the generated html file.
See the repo at https://github.com/zawasp/analogjs-test and the served content from dist/analog/public at https://analogjs-test.pages.dev/about. The About markdown page source contains <analog-markdown ngh="0">

</analog-markdown> instead of the markdown content.
Please provide the exception or error you saw
No response
Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

Same here

I think I know what's going on here. The template for the internal markdown component isn't being compiled in the library, so we may need to adjust the compilation mode.

authors: brandonroberts henriquecustodia zawasp

repo: analogjs/analog


text:
chore(platform): move @nx/devkit to dev dependencies

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines

PR Type
What kind of change does this PR introduce?

[x] Other... Please describe:
Changing how dependencies are installed

Which package are you modifying?

[x] platform

What is the current behavior?
@nx/devkit is installed along with @analog/platform but it is only used for development.
What is the new behavior?
@nx/devkit is only installed for development.
Does this PR introduce a breaking change?

[x] No

Thanks! @allcontributors add @ocombe for code

authors: brandonroberts ocombe


text:
Mechanism for creating and populating tables

There are multiple examples where we want to supply supplemental data to be joined in with data used for analysis:

mapping data to decode status codes received from services. for example: pardot visitor_activities has type and type_name that we're decoding and then mapping to event_action.
creating calendar tables. there isn't a standard way to do this in redshift and, after much investigation, the best process for doing this really is joining against a table with all relevant dates in it.

In order to deal with this, we need a procedural way to build and tear down datasets that is 100% integrated into the way we're deploying models. This should likely look like a python script that is integrated into runner.py, and runs multiple python files, each of them responsible for building or tearing down a particular table. Some tables will be best built via code and some will be best loaded from a CSV, so it should be flexible enough to handle multiple methods of data population.

@drewbanin this is still a very useful thing to solve.

repo: analyst-collective/models


text:
deploy docs missing 404

The instructions for ShinyProxy droplet on DigitalOcean include a link to documentation for deployment.  The URL of this link is https://shinyproxy.io/deploying-apps/ .  I have also included a picture at the bottom of this post where you can see the link "deploy your Shiny apps" in the DO docs.
The webpage is missing.  Clicking the link results in a 404 error.

Can you fix the link and/or the server so that clicking the link brings me to the deployment documentation?
Can you also provide a working link to the deployment docs here, for reference?

Hi @MareoRaft thanks for the report on the broken link. The shinyproxy website has been recently revamped, so I'll need to check all the links.
I am planning to update the 1-click image, see #3 . I'll include updated links in the summary.

@MareoRaft The new posting for v2.5.0 is out and the links fixed: https://marketplace.digitalocean.com/apps/shinyproxy

authors: MareoRaft psolymos


text:
Incorrect result for stochastic

I tried this data (sorry if it's too long):
runkit link
But the result seems incorrect. d remains undefined.

I am also facing same issue https://runkit.com/embed/s41ke7eaefwm

This happens when the close, high and low are same for the entire period; I'll add a fix
Thankyou

Fixed on version 1.1.5

I'm using 1.1.8 and when having multiple same high, low, close it still returns Object {d: undefined, k: NaN}

@JanMesaric How long is the dataset? This can still occur if your period is as long or shorter than the dataset. Try with the data posted by OP to confirm

@JMoli , correct, didn't see that.

authors: JMoli JanMesaric anandanand84 gauravchauhan ourarash


text:
Move files from main directory

Files like

quickstart.py
quickstart_REBEL.py
quickstart_finetune.py
quickstart_finetune_load.py
quickstart_guided.py

can be moved to /examples directory.

good idea

repo: anarchy-ai/LLM-VM


text:
Some little fixes

Some little fixes

Code Covarage :100:  % #1
Connect TravisCI with Scrutinizer :+1:
Some minor changes

Code Covarage :100: % #1
Connect TravisCI with Scrutinizer :+1:
Some minor changes

repo: andegna/geezify


text:
Adds basic text support

Hi @andfanilo ! Love your project!
This PR is related to #17 and adds basic text support
This is more or less just the basic text box functionality. It uses the active edit mode from fabric to write the text

@andreaferretti as I haven't heard back from you, I guess that this PR isn't relevant to you, so I'll close it in the next few days

repo: andfanilo/streamlit-drawable-canvas


text:
Feat:Search Filter Not Working for Resources made it dynamically

Describe the feature
Description:
The search filter functionality on DevDocsHub currently does not work as expected when users try to search for specific programming resources. I would like to propose an enhancement where the search feature is updated and optimized to allow users to easily find resources based on keywords like  language, doc_title, or doc_url.
Proposed Solution:
1.   Implement a search functionality that allows users to search for resources using relevant filters (language, doc_title, or doc_url.).
2.  Ensure that the search results are accurate and display relevant resources based on user input.
This feature will improve the usability of the platform, allowing users to quickly locate the programming resources they need.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

in which levels this features lies? @andoriyaprashant

under gssoc 24 extnd. can you assign that to me ?

authors: akshatjaiin punishermortal

repo: andoriyaprashant/DevDocsHub


text:
foliage sdist <pkg-id>

It would be handy to be able to get the source distribution for a single package. That lets you a) check that it looks right, b) get the final cabal file that foliage will use.
b) is especially helpful if you want to do a revision: you want to start from the current "latest" cabal file. Doing this yourself (even in a script) is annoying: you need to parse the metadata file, download the source archive, find the cabal file, apply the existing revisions. Annoying. Much nicer if we could just ask foliage for the latest cabal file (which we can get from the sdist).

Ignore this, I don't actually want the sdist, I want the final cabal file, which isn't even in the sdist.

I'll close this for now. Maybe we can open another issue to design the workflow of making a revision.

authors: andreabedini michaelpj

repo: andreabedini/foliage


text:
🛑 pharmacomms is down

In 6e2e535, pharmacomms (https://pharmacomms.tv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pharmacomms is back up in a6823ad after 5 minutes.

repo: andrespitt/uptime


text:
🛑 pharmacomms is down

In 0861165, pharmacomms (https://pharmacomms.tv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pharmacomms is back up in d735d79 after 17 minutes.


text:
Data representation selection for closures

Closures have different calling conventions than stateless stack functions.

This "could" work now with parametric code and data, but needs an actual implementation to make it concrete.


text:
Fix: Replace Buffer with TextEncoder/TextDecoder for mobile comptability

Replaced the use of Buffer with TextEncoder and TextDecoder in the pretty function for mobile comptability
Added comments explaining that Buffer is not compatible with mobile versions of Obsidian due to reliance on Node.js-specific APIs.
Ensures UTF-8 encoding is maintained without breaking compatibility across different environments.

This commit addresses the Uncaught (in promise) ReferenceError: Buffer is not defined error that occurs when using the plugin on mobile devices, specifically on Android. The error prevents the calendar from updating in the Gist or the file, and it does not appear on desktop environments.
Issue Details:
What I found is that error occurs because Buffer is a Node.js-specific API, which is not available in environments like mobile versions of Obsidian
This issue was observed on a Xiaomi 11 running Android, where the calendar would not update as expected.
The error does not appear in desktop environments such as Windows 11 and Lubuntu 24.04, where Buffer is supported.
Solution:
Replaced the Buffer usage with TextEncoder and TextDecoder, which are compatible across all environments, including mobile versions of Obsidian.
I tested the changes on Android (Xiaomi 11), Windows 11, and Lubuntu 24.04, confirming that the calendar updates correctly across these platforms without triggering the error.

repo: andrewbrereton/obsidian-to-ical-plugin


text:
🛑 nhcam is down

In fec5e66, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 716de8b.

repo: andrewdavies-net/upptime


text:
🛑 nhcam is down

In 2ba21b0, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in e9b533d.


text:
🛑 nhcam is down

In 63295b4, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 8314c39.


text:
🛑 nhcam is down

In aa8d561, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in fb9773e.


text:
🛑 nhcam is down

In e58dd0e, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in fe2caf3.


text:
🛑 nhcam is down

In e0040a8, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 7382d30.


text:
🛑 Gioia Git is down

In 7c7017e, Gioia Git (https://git.gioia.cloud/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gioia Git is back up in 307cef8 after 7 minutes.

repo: andrewgioia/status


text:
Problem running example notebooks

If I run iocaml -js min then the notebook iocaml-symbolic-math.ipynb runs without problems, but the notebook iocaml-Vg.ipynb raises the error Unknown directive `require'.
Now, if I run iocaml then the above error does not show up, but both notebooks crash with Unbound module Iocaml.
I already followed the advice of issue #14. I am using ocaml 4.01.

Sorry, the notebooks in the repository are a bit out of date.  I'll try and get them into working order again asap.
Some specific advice;  when using javascript based compilation (ie -js ) if you want to use #require then add the option -serve-jslibs.  You may also need to add #use "topfind" to the top of the notebook (or .iocamlinit file).
For the byte code kernel, to access the Iocaml module you will need to add #require "iocaml-kernel.notebook".
Hope that helps (and if not the notebooks should be fixed shortly).

Thank you! Adding #require "iocaml-kernel.notebook" to the first cell of both notebooks did it.

authors: andrewray mardukbp

repo: andrewray/iocaml


text:
No module named 'translation_agent' help wanted

I am really very new to programming, forgive me if this is a stupid question but,
When I try to run app.py I receive below error:
Traceback (most recent call last):
File "/content/translation-agent/app/app.py", line 6, in
from process import (
File "/content/translation-agent/app/process.py", line 8, in
from patch import (
File "/content/translation-agent/app/patch.py", line 9, in
import translation_agent.utils as utils
ModuleNotFoundError: No module named 'translation_agent'

Traceback (most recent call last):
File "/translation-agent-main/app/app.py", line 6, in
from process import (
File "/translation-agent-main/app/process.py", line 8, in
from patch import (
File "/translation-agent-main/app/patch.py", line 37
match endpoint:
^
SyntaxError: invalid syntax

Also have the same issue

repo: andrewyng/translation-agent


text:
进阶

android怎么进阶，怎么阅读android sdk，怎么写个好的自定义View，自定义控件

最基本，要了解view绘制流程，多看开源项目。
进阶的话，市面上很多讲解虚拟机，framework ， binder机制的书啊，先看看了解这些有大概的了解。然后可以下源码一些细节进行了解。

源码，原理

推荐看看《Android开发艺术探索》这本书

同推荐《android开发艺术探索》，还有一本《android群英传》写的也挺好~

老罗的《Android 系统源代码情景分析》
Rocky notifications@github.com于2016年4月26日周二 21:04写道：

同推荐《android开发艺术探索》，还有一本《android群英传》写的也挺好~
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/android-cn/android-discuss/issues/427#issuecomment-214733963

推荐《Android开发艺术探索》和《深入理解Android内核设计思想》

authors: Lujango fishCoder fuqinwu kyleinfo rockzhai ruijun shenshanlaoyuan

repo: android-cn/android-discuss


text:
中文情况下，barrier会展示错误。

中文情况下，barrier会展示错误。

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tool="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tool:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
<View
    android:id="@+id/message_user_bg"
    android:layout_width="47dp"
    android:layout_height="47dp"
    android:layout_marginTop="16dp"
    android:background="@drawable/bg_circle_photo"
    app:layout_constraintLeft_toLeftOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

<ImageView
    android:id="@+id/message_user_header_avatar"
    android:layout_width="47dp"
    android:layout_height="47dp"
    android:layout_marginLeft="1dp"
    android:layout_marginTop="17dp"
    app:layout_constraintLeft_toLeftOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

<RelativeLayout
    android:id="@+id/message_user_creator_root"
    android:layout_width="47dp"
    android:layout_height="47dp"
    app:layout_constraintLeft_toLeftOf="@id/message_user_bg"
    app:layout_constraintTop_toTopOf="@id/message_user_bg">

    <View
        android:id="@+id/message_user_bg_creator"
        android:layout_width="47dp"
        android:layout_height="47dp"
        android:background="#ff0000" />

    <ImageView
        android:id="@+id/message_user_header_avatar_creator"
        android:layout_width="46dp"
        android:layout_height="46dp"
        android:layout_margin="1dp" />

    <ImageView
        android:id="@+id/message_user_label"
        android:layout_width="14dp"
        android:layout_height="14dp"
        android:layout_alignParentRight="true"
        android:layout_alignParentBottom="true"
        android:layout_marginRight="1dp"
        android:layout_marginBottom="1dp" />
</RelativeLayout>

<TextView
    android:id="@+id/message_user_name"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_marginLeft="4dp"
    android:layout_marginBottom="2dp"
    android:includeFontPadding="false"
    android:textColor="@color/black"
    android:textSize="12sp"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintLeft_toRightOf="@+id/message_user_header_avatar"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toTopOf="@+id/message_user_bg"
    app:layout_constraintWidth_default="wrap" />

<LinearLayout
    android:id="@+id/message_desc_time_root"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:visibility="gone"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintLeft_toLeftOf="@id/message_user_name"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/message_user_name"
    app:layout_constraintWidth_default="wrap">

    <TextView
        android:id="@+id/message_time_desc"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:maxLines="1"
        android:textColor="@color/black"
        android:textSize="15sp"
        android:visibility="gone" />

</LinearLayout>

<ImageView
    android:id="@+id/message_feed_pic"
    android:layout_width="56dp"
    android:layout_height="56dp"
    android:layout_marginLeft="4dp"
    android:layout_marginTop="16dp"
    android:layout_marginRight="16dp"
    android:text="已取关"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

<TextView
    android:id="@+id/message_feed_text"
    android:layout_width="56dp"
    android:layout_height="56dp"
    android:layout_marginLeft="4dp"
    android:layout_marginTop="16dp"
    android:layout_marginRight="16dp"
    android:background="@drawable/message_feed_text_bg"
    android:ellipsize="end"
    android:includeFontPadding="false"
    android:maxLines="3"
    android:paddingLeft="2dp"
    android:textColor="@color/black"
    android:textSize="12dp"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

<androidx.constraintlayout.widget.ConstraintLayout
    android:id="@+id/user_comment_parent"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_marginTop="4dp"
    android:layout_marginRight="80dp"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintLeft_toLeftOf="@+id/message_user_name"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/message_user_name"
    app:layout_constraintWidth_default="wrap">

    <TextView
        android:id="@+id/user_comment_content"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:includeFontPadding="false"
        android:maxLines="3"
        android:text="拉黑"
        android:textColor="@color/black"
        android:textSize="15dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintWidth_default="wrap" />

    <GridView
        android:id="@+id/grid_view_comment_picture"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"
        android:horizontalSpacing="4dp"
        android:listSelector="@android:color/transparent"
        android:numColumns="3"
        android:padding="0dp"
        android:visibility="gone"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toBottomOf="@id/user_comment_content"
        app:layout_constraintWidth_default="wrap"
        app:layout_goneMarginTop="0dp" />

</androidx.constraintlayout.widget.ConstraintLayout>

<androidx.constraintlayout.widget.ConstraintLayout
    android:id="@+id/user_comment_parent_parent"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_marginTop="8dp"
    android:layout_marginRight="80dp"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintLeft_toLeftOf="@+id/message_user_name"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toBottomOf="@id/user_comment_parent">

    <TextView
        android:id="@+id/user_comment_content_parent"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginLeft="10dp"
        android:ellipsize="end"
        android:includeFontPadding="false"
        android:maxLines="3"
        android:text="中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文"
        android:textColor="@color/black"
        android:textSize="12dp"
        app:layout_constraintHeight_min="wrap"
        app:layout_constraintHorizontal_bias="0.0"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintWidth_default="wrap"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <GridView
        android:id="@+id/grid_view_comment_parent_picture"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="5dp"
        android:horizontalSpacing="4dp"
        android:listSelector="@android:color/transparent"
        android:numColumns="3"
        android:padding="0dp"
        android:visibility="gone"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toBottomOf="@id/user_comment_content_parent"
        app:layout_constraintWidth_default="wrap"
        app:layout_goneMarginTop="0dp" />

    <View
        android:id="@+id/comment_parent_line"
        android:layout_width="2dp"
        android:layout_height="0dp"
        android:background="@drawable/message_line_bg"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

<androidx.constraintlayout.widget.Barrier
    android:id="@+id/barrier"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:barrierDirection="bottom"
    app:constraint_referenced_ids="user_comment_parent_parent,
    user_comment_parent, message_feed_text, message_feed_pic" />

<TextView
    android:id="@+id/message_time"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="8dp"
    android:maxLines="1"
    android:text="2021/10/01"
    android:textColor="@color/black"
    android:textSize="12dp"
    app:layout_constraintLeft_toLeftOf="@id/message_user_name"
    app:layout_constraintTop_toBottomOf="@id/barrier" />

<LinearLayout
    android:id="@+id/root_reply_praise_view"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginRight="16dp"
    android:orientation="horizontal"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toTopOf="@id/message_time">

    <LinearLayout
        android:id="@+id/message_feed_reply"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginRight="16dp"
        android:orientation="horizontal"
        android:paddingBottom="8dp">

        <ImageView
            android:id="@+id/feed_comment_view"
            android:layout_width="16dp"
            android:layout_height="16dp"
            android:layout_marginRight="4dp"
            android:src="@drawable/feed_comment_icon" />

        <TextView
            android:id="@+id/feed_reply_count_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:text="回复"
            android:textColor="@color/black"
            android:textSize="12dp" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/message_feed_praise"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:paddingBottom="8dp">

        <ImageView
            android:id="@+id/feed_praise_icon_view"
            android:layout_width="16dp"
            android:layout_height="16dp"
            android:layout_marginRight="4dp"
            android:src="@drawable/feed_unlike" />

        <TextView
            android:id="@+id/feed_praise_count_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:text="赞"
            android:textColor="@color/black"
            android:textSize="12dp" />
    </LinearLayout>

</LinearLayout>

<View
    android:layout_width="0dp"
    android:layout_height="0.5dp"
    android:layout_marginTop="4dp"
    android:background="@color/black"
    app:layout_constraintLeft_toLeftOf="@+id/message_user_name"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toBottomOf="@id/root_reply_praise_view"
    app:layout_constraintWidth_default="wrap" />

</androidx.constraintlayout.widget.ConstraintLayout>

Could you share a picture of what you are seeing?
Why do you think it is the barrier?

正常

异常

What is different between the two pictures to show this bug?

红框中日期和上面的中文重叠了，这是不正常的。

按照贴出来的代码，显示成图片2明显有问题。

你好，我也嘗試跑了你所提供的代碼，但是我們並沒有遇到你所遇到的問題。
可以麻煩你試著更新一下Android Studio，或者讓我們知道你正在使用的版本嗎？
在你提拱的正常跟異常的截圖中，有任何代碼的更動嗎？ 我們想多了解一下是什麼原因造成了異常的狀況。
謝謝！

你运行下上面代码。只添加了一行。

repo: androidx/constraintlayout


text:
When set setBaselineDistance() after connet(), layout result not correct.

Hello, i'm creating constraintlayout for WPF, i want create constraint rely on baseline for some text control, the step of creating constraint  is:

user load ConstraintWidget.connect() to define constraint
wpf auto measure some text control, calculate baseline position and setBaselineDistance() in WPF measure cycle
load ConstraintWidgetContainer.layout() to calculate control position in WPF measure cycle

but the result not correct.
I open this java project find test about baseline, in constraintlayout\core\src\test\java\androidx\constraintlayout\core\OptimizationsTest.java, i move setBaselineDistance() after connet(), the test failed.
@Test
    public void testBasicBaseline() {
        ConstraintWidgetContainer root = new ConstraintWidgetContainer(0, 0, 600, 600);
        ConstraintWidget A = new ConstraintWidget(100, 20);
        ConstraintWidget B = new ConstraintWidget(100, 20);
        root.setDebugName("root");
        A.setDebugName("A");
        B.setDebugName("B");
        //A.setBaselineDistance(8);
        //B.setBaselineDistance(8);
        root.add(A);
        root.add(B);
        A.connect(ConstraintAnchor.Type.TOP, root, ConstraintAnchor.Type.TOP);
        A.connect(ConstraintAnchor.Type.BOTTOM, root, ConstraintAnchor.Type.BOTTOM);
        A.connect(ConstraintAnchor.Type.LEFT, root, ConstraintAnchor.Type.LEFT);
        B.connect(ConstraintAnchor.Type.LEFT, A, ConstraintAnchor.Type.RIGHT);
        B.connect(ConstraintAnchor.Type.BASELINE, A, ConstraintAnchor.Type.BASELINE);

        A.setBaselineDistance(8);
        B.setBaselineDistance(8);

        Metrics metrics = new Metrics();
        root.fillMetrics(metrics);
        root.setOptimizationLevel(Optimizer.OPTIMIZATION_STANDARD);
        root.layout();
        System.out.println("1) root: " + root + " A: " + A + " B: " + B);
        System.out.println(metrics);
        assertEquals(A.getTop(), 290);
        assertEquals(B.getTop(), A.getTop());
    }

Is it necessary to setBaselineDistance before connect ？I don't know it ‘s bug or feature. Is there any way to change？

I asked @camaelon hopefully he has time.
but I suspect it just needs to be non 0 before the connect.
i.e.  you can have
A.setBaselineDistance(1);
B.setBaselineDistance(1);
before the connect
Than after set it to what ever comes from the WPF engine.
(Same thing applies if you change the size of the font)
Just to say that those widgets have baselines.

Yeah that's a bug -- setBaselineDistance() should set the margin on the baseline anchor if it's set. IIRC setBaselineDistance is only used by the direct solver though, in the android xml case we simply pass the baseline margin to connect()

So basically -- seems to be working as intended, and you shouldn't use that method and instead set the baseline margin in connect().

I asked @camaelon hopefully he has time.
but I suspect it just needs to be non 0 before the connect. i.e. you can have A.setBaselineDistance(1); B.setBaselineDistance(1); before the connect Than after set it to what ever comes from the WPF engine. (Same thing applies if you change the size of the font) Just to say that those widgets have baselines.

@jafu888  This can let test passed,thank you! I like this tips.

Just to say that those widgets have baselines.

@camaelon
Sorry, i don't know what you mean.
I found set baseline way is:
First i need set setBaselineDistance(1) before connect(),like @jafu888 say

Just to say that those widgets have baselines.

Then set  measure.measuredBaseline in ConstraintLayout.innerMeasure .
What you mean is just set widgetA.connect(BASELINE,widgetA,TOP, margin) ? But measure.measuredBaseline in ConstraintLayout.innerMeasure must set, i found it will let widget.BaselineDistance aways be 0 if i don't set.

authors: camaelon jafu888 xtuzy


text:
How to see Federated timeline (combined)

Hello. I subscribed recently for beta testing as suggested in #456
Unless I am mistaken, right now the “Everything combined" timeline shows only the local Mastodon feed combined with other accounts whereas I'd like to be able to read "the whole network” combined with other accounts.
Thanks @yvolk and every one involved.
Using v.33.00 (208)

@stormwatch As I understand, "Federated timeline" in Mastodon is the same as "Public timeline" / "The whole (known) network" in GNU Social instances. I.e. that timeline shows all public posts/messages, which were stored at (downloaded to) this Social network instance.
This is called "Public timeline" in AndStatus. See https://github.com/andstatus/andstatus/issues/439 on how to switch and sync it.
"Everything" timeline in AndStatus shows all messages, both public and private, stored in the local cache of AndStatus application on your device.

I'm afraid that currently, if I select Public Timeline, it shows public posts by local users only, whereas I'd like to include non-local (known) users whether I follow them or not.

Yes, I checked now: Mastodon.social shows only local posts in its Public timeline. It looks like a restriction of the Mastodon implementation or configuration. Anyway, no special "Federated" timeline is currently available in Mastodon, according to its documentation: https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#timelines

I don't know about mastodon.social but the web client at mastodonar.club and Twidere do show the federated timeline.

@stormwatch Thank you for information. I will lookup Twidere code to see, how it retrieves the Federated timeline.

@stormwatch I fixed this: now "Public" timeline in Mastodon shows all posts, as I wrote above.
The fix was to delete one line of code: "local" parameter set to "false" was interpreted as "true" by the server. Omitting this parameter fixed the problem.
The fix will be available since v.33.01

So, can we close this one?

authors: stormwatch yvolk

repo: andstatus/andstatus


text:
Kindly keep git history linear by avoiding merge commits

I really love this project, Andy.
A small change in this repo's settings would help keep git history linear, clean and easy to navigate.
Please avoid merge commits while merging PRs.
Squash and merge option would be easier I think.
https://help.github.com/en/articles/about-pull-request-merges#squash-and-merge-your-pull-request-commits
Reasoning :
https://blog.carbonfive.com/2017/08/28/always-squash-and-rebase-your-git-commits/

@andybelldesign : I still see merge commits happening to this repo.
Please try out squash and merge option while merging PRs, that will keep git history clean and easy to read.

I’ll keep it how it is, cheers 👍

authors: andybelldesign shreeshbhat

repo: andybelldesign/hylia


text:
Any tips for how to generate a minimap client-side?

I've been trying to add a minimap to the game for the past few days. My current setup is as follows:

Individual blocks within a chunk are represented as single colors.
While loading a chunk, it gets the topmost color for a column (x,z pair). These colors are provided at build time.
AWorldMap class has two dictionaries, one for the height of a column and one for the color of a column.
After loading the chunk, it updates the color in the WorldMap class for the x,z pair
A MinimapRender class gets the current chunk and steps back 5 chunks and forward 5 chunks for both x and z

Is this...a reasonable way to do it?
The problems I'm running into are:

The player position as displayed on the minimap is wrong. I think my code for finding the current position of the player within the chunk is wrong?
The center position on the minimap is wrong
I think the chunk images need to be rotated? That's what it looks like, but I don't understand why.

Here's a more visual explanation. You can click on it to make the image bigger

This is what the code for actually drawing the chunk images looks like:
if (!this.position) {
  return;
}
this.ctx.fillStyle = "#ccc";
this.ctx.clearRect(0, 0, this.ctx.canvas.width, this.ctx.canvas.height);

const noa = this.loader.noa;
const {
  _renderPosition: renderPosition,
  position,
} = noa.entities.getPositionData(noa.playerEntity);

const cs = 32.0;

const globalX = position[0]; //renderPosition[0] + noa.worldOriginOffset[0];
const globalY = position[1]; //renderPosition[1] + noa.worldOriginOffset[1];
const globalZ = position[2]; //renderPosition[2] + noa.worldOriginOffset[2];

const currentChunkZ = globalZ / cs;
const currentChunkX = globalX / cs;

this.minChunkX = Math.floor(currentChunkX - MinimapRender.squareLength);
this.minChunkZ = Math.floor(currentChunkZ - MinimapRender.squareLength);
this.maxChunkX = Math.ceil(currentChunkX + MinimapRender.squareLength);
this.maxChunkZ = Math.ceil(currentChunkZ + MinimapRender.squareLength);

const translateX = ((globalX % cs) + cs) % cs;
const translateZ = ((globalZ % cs) + cs) % cs;

const { minChunkX, maxChunkX, minChunkZ, maxChunkZ } = this;

let chunkXOffset = -1;
let chunkZOffset = -1;

const drawXOffset = 0;
const drawYOffset = 0;

for (let chunkX = minChunkX; chunkX < maxChunkX; chunkX++) {
  chunkXOffset++;
  chunkZOffset = -1;

  for (let chunkZ = minChunkZ; chunkZ < maxChunkZ; chunkZ++) {
    chunkZOffset++;

    const imageData = this.worldMap.imageAt(
      Math.round(chunkX),
      Math.round(chunkZ)
    );

    if (!imageData) {
      continue;
    }

    let x = chunkXOffset * imageData.width - drawXOffset;
    let y = chunkZOffset * imageData.height - drawYOffset;

    this.ctx.putImageData(imageData, x, y);

    if (
      Math.floor(currentChunkZ) === Math.floor(chunkX) &&
      Math.floor(currentChunkZ) === Math.floor(chunkZ)
    ) {
      this.ctx.fillStyle = "pink";
      this.ctx.strokeStyle = "red";
      const r = 4;
      this.ctx.beginPath();
      this.ctx.arc(x, y, r, 0, 359);
      this.ctx.font = "10px Arial";
      this.ctx.strokeText(
        `${Math.floor(globalX)},${Math.floor(globalY)},${Math.floor(
          globalZ
        )}`,
        x,
        y
      );
      this.ctx.fill();
      this.ctx.closePath();
    }

  }

}

this.ctx.canvas.style["transform"] = `translateX(${
  (MINIMAP_SIZE - MINIMAP_WIDTH) / -2
}px) translateX(${
  (MINIMAP_SIZE - MINIMAP_HEIGHT) / -2
}px) translateX(-${translateX}px) translateY(-${translateZ}px)`;

The pink dot / text is just for debugging

This is a cool idea! The noa-related code (e.g. how you're getting the player position) looks right to me. It's a bit hard to grok the rest, but I'm guessing there's just a math bug somewhere in those offsets and modulos. (and maybe the fact that in Canvas the Y coord runs from top to bottom?)
That said:
      Math.floor(currentChunkZ) === Math.floor(chunkX) &&
      //                     ^ X?
      Math.floor(currentChunkZ) === Math.floor(chunkZ)

Thanks for taking a look – it was a few math things.
Plus, the axis was wrong for getting the colors. I was setting all the x to z and all the z to x.
Framerate is a little too low now on Safari though and I optimized a lot of this code already. I hate Safari.
This is what it looks like now. I'm still going to add a few things (location name) and a full-screen map when you press M, but I'm happy with it so far. I'd rather a more Fortnite/World of Warcraft-style map design than a pixel art map design....but that seems much more time consuming to code

It'd be slightly better if I fix the occasional missing frame at the bottom but that's a thing I can fix later

Hey, this looks really cool. Are you constructing the whole image each tick? The low-hanging fruit optimization would be for each chunk to render its own 32x32 image, cached and only periodically recreated, and the main loop would just take those N images and composite them to the right place on the canvas. This would also make it relatively easy to make the map rotate with the player if you want (just rotate them before drawing them into the canvas). Anyway cool stuff!

Thanks.
Yeah, on Firefox & Chrome it:

Creates 32x32 ImageBitmap objects for each x, z pair after the chunk is
loaded and keeps it in a Map. If an ImageBitmap already exists for a new
chunk with overlapping x,z, it compares the tallest one for each xz and
does some blending stuff (heights are stored in an array)
Draws just the ImageBitmap objects. Saves the ImageBitmap it drew in an
array (which is pre-allocated). If it already drew the same ImageBitmap in
the same spot, it skips drawing. It only calls clearRect when min/max chunk
changes
finds any players in a chunk and draws their arrows onto a second canvas
layered on top. The lower canvas has alpha disabled
It uses a CSS transform to move the canvases without it feeling choppy as
you move to different chunks. This uses the JS StyleSheet object instead of
inline styles, so that it doesn’t write to the DOM during render

On Safari, it’s pretty much the same except there’s no ImageBitmap support.
It just uses the ImageData object directly, but draws it twice - once at
the smaller size and again to scale it correctly. I tried using Image with
blobs but it didn’t make much of a difference
Theoretically, I could move all of this except the transform part to an
OffscreenCanvas in a web worker but that won’t help Safari.
From profiling, it looks like three issues:

memory usage overall (the images are not that big, I think this is more
generally an issue right now in the game)
Paint time can take max of 30ms, but almost all were like 0.0002ms
terrainMesher stuff is most of the time lost

On Wed, Jun 24, 2020 at 1:16 AM Andy Hall notifications@github.com wrote:

Hey, this looks really cool. Are you constructing the whole image each
tick? The low-hanging fruit optimization would be for each chunk to render
its own 32x32 image, cached and only periodically recreated, and the main
loop would just take those N images and composite them to the right place
on the canvas. This would also make it relatively easy to make the map
rotate with the player if you want (just rotate them before drawing them
into the canvas). Anyway cool stuff!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/andyhall/noa/issues/117#issuecomment-648671018, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFNGS5F2L77JILEZ3QZBN3RYGY6RANCNFSM4OEJ3CKA
.

authors: Jarred-Sumner andyhall

repo: andyhall/noa


text:
Suction grasp labelling

Hello @andyzeng ,
I went through your work and it's really great to see such good development on grasping side. I want to know more about grasp labeling in case of suction gripper. Can it take input of suction cup diameter currently and is the labeling automated ?

Our grasp labeling interface for creating ground truth training labels is manual, and requires the user to paint over the image pixels. I don't think our interface takes the suction cup diameter as input. If by grasp labeling you meant grasp predicting - then yes, it is fully automated, and does not take the suction cup diameter as input.

Thanks for the quick response. No by automated grasp labeling I meant ground truth labels for training FCN and that's what I am looking for. So not related to this repo but can you provide me any other sources for creating automated labeling on rgbd images of objects and generating ground truths as well as taking input of suction cup diameter ?

I see. Unfortunately I don't know of a system that does automatic ground truth grasp labeling for real RGB-D images. Perhaps I'm not understanding your question correctly -- but if you have that kind of system, doesn't it make the FCN pointless?

Hello @andyzeng ,
Thanks for sharing your achievements.
I'm kind of curious what tools do you use to label the dataset of RGB-D heightmaps. If it is convenient, could you share this tool or details of annotation?

@andyzeng  No I don't think so automated labeling of grasps on RGBD image will make FCN obsolete since training FCN on some set of objects and using trained model to predict grasp quality on some other set of objects can be benecifial. Please go through following link. Dex-Net does automated labeling on RGBD images and trains FCN from that, so basically I was looking for similar sources to create automated labeler with suction cup diameter input and sadly Dex-Net hasn't released dataset generation code. Please go through link and revert back if you have any similar sources. Thank you.

@carsonzhu For labeling the images and heightmaps, we wrote a script in Python with OpenCV to “paint” the labels over the images. Unfortunately I’m not sure where the original script is, but it was very similar in spirit to this demo.
@akash-greyorange Thanks for the link - we are well aware of their work. Dex-Net performs automatic grasp labeling on synthetic data, then trains a CNN to transfer to real data. I mistook your question for asking about automatic ground truth grasp labeling on real RGB-D data, which is impossible. If automatically generating synthetic data labels was what you were looking for,  this survey paper provides a solid overview of heuristic/analytic methods that function very well on synthetic data. A few of the methods also work on real data, but are far from being able to generate ground truth grasp labels on real data. Best of luck.

@andyzeng  Thanks alot for that paper reference. It will surely go through it for further development. As you said automatic ground truth grasp labeling on real RGB-D data is not possible, can you please illustrate it why is it not possible ? Is it because we dont have exact seg mask of real world object as compared to that in synthetic object dataset where we do have seg mask of object available ? So grasp labeling on synthetic data and transfering them to real RGB-D data is the only solution for this problem as that showed in Dex-Net if I dont want to spend precious human labour time in manually labeling grasps ?

@andyzeng Thanks very much. I've got a good tool and made it easiler to label the images manually.

Hello @andyzeng,
I'm trying to reproduce your work and I want to train the suction grasping network with some new images. I'm able to label those new images with Matlab imageLabeler tool, but how do you transform RGB labels to one channel gray labels?
Thank you!

Hello @andyzeng , thank for sharing your nice work.  I went through your work and read your paper, but could not understand how a label represents its corresponding parallel-jaw grasp. In your paper I found the sentence describing the labelling process, that is "where each positive and negative grasp
label is represented by a pixel on the heightmap as well as a corresponding angle parallel to the jaw motion of the gripper."  If it is not bother you, can you briefly explain what is positive and negative grasps, and how grey and black dots in a labelling image stand for a grasp.  Thanks

repo: andyzeng/arc-robot-vision


text:
Request to add new exchanges - Exbitron, Txbit, as well as an error when loading SafeTrade exchange data.

Hello, thank you so much for your hard work! This is the best cryptocurrency price tracking app!
I ask you to add exchanges: Exbitron - https://www.exbitron.com / and also Txbit - https://www.txbit.io / there are interesting coins on these exchanges that need to be tracked.
SafeTrade - when trying to load the list message: Last sync: never "Error: Authentication required (403)"
Thank you! Be healthy and happy!

Regarding SafeTrade

Please try again, maybe it is a temporary issue on the exchange side. I can't reproduce this.
If you still have this issue, try to open directly SafeTrade API url from the browser on your device: https://safe.trade/api/v2/peatio/public/markets
This may show the details of the issue (maybe network/proxy issue, maybe this exchange inaccessible from your IP region).

Exbitron, Txbit
I will analyze the API of these exchanges and then add it to the app.

Thank you for the feedback.

Exbitron and Txbit added in the app v2.64

authors: Shah-man aneonex

repo: aneonex/BitcoinChecker


text:
Add root permission to install apps Backstage.

Automatic background silent installation

Thank you for your suggestion regarding automatic background silent installation.
While this is an interesting feature idea, I won't be implementing it in the upcoming release.
The main reason for this decision is that such a feature would raise significant privacy and security concerns. Allowing an app to silently install other apps in the background without user interaction goes against best practices for user privacy and device security.
I aim to keep this app as transparent and user-controlled as possible, which means maintaining clear user oversight for all installation processes.
If you have any other feature suggestions that align with these privacy and security principles, please feel free to share them. I appreciate your input in helping improve the app!

authors: Fan-Bob anfreire

repo: anfreire/updateMe-Mobile


text:
Feature login

Atualizando a master com a issue #2

Coverage decreased (-16.7%) to 83.333% when pulling ddbb6ff3f7c5ecfc057a4cc1a6b424a611b5b6cf on feature-login into a7fc84aa3a2beaf127b292816f2f90f6cd97f2f1 on master.

authors: angeliski coveralls

repo: angeliski/frontendbr-eventos-api


text:
Problem with GatsbyPrismicImageFixed in preview mode

Hey,
I'm having an issue in Prismic preview mode with images that are queried with  ...GatsbyPrismicImageFixed. All of those images in preview have default width of 400px, no matter what width or height I declare in query I always get 400px. Everything seems to be fine with fluid images.
Here's an example of my query:
fixed(width: 160, height: 80) {
 ...GatsbyPrismicImageFixed
}

I'm using  "gatsby-source-prismic": "3.2.1",. I tried to update to the newest version, but It doesn't solve the issue.
My Imgix params:
imageImgixParams: {
 auto: 'compress,format',
 fit: 'max',
 q: 75
}

I also tried playing around with fit param, but no luck there.
This issue exists only in preview mode, but still it would be nice if my teammates could preview how pictures look before publishing :)

Hi @mopixels, thanks for the detailed explaination.
This is a limitation of the preview functionality, unfortunately. The fixed(width: 160, height: 80) parameters are provided in the GraphQL query, which is used during development and build-time, but is unavailable in production during previews.
As a result, we need to use default values for the parameters which is width: 400.
Are you able to circumvent this using CSS on the displayed image by forcing it to always render at 160w even when the image is larger?

@angeloashmore thanks for your suggestion. Looks like I found a workaround. I noticed that Gatsby-image object has dimensions parameter, so for fixed images I set width and height manually like this:
style={
 fixed && { maxWidth: dimensions.width, maxHeight: dimensions.height}
}

I still get width: 400px; but max-width: 160px; stops image from blowing out of container. Images appear to be a bit blurry, but since it's a preview mode it doesn't really matter :)
I haven't tested this extensively, but it seems to be working.

Great, glad to hear you found a workaround! In the future, it might be possible for the plugin to save those width/height parameters and make them available during previews. I'll add it to the list of feature requests.
I'm going to close this issue as everything seems to be working as expected, but I'll like this issue to the request.

authors: angeloashmore mopixels

repo: angeloashmore/gatsby-source-prismic


text:
.Net Library Not Creating Tunnel

I'm attempting to create a tunnel using the .NET Library and then I have some other code that acts as an HTTP Listener to capture traffic on the tunnel.
I can get the CLI to work using the parameters of "-p 3000 -d my-sample-tunnel http" which creates https://my-sample-tunnel.loca.lt/ and when I attempt to go there it will eventually give me a 504 Gateway Timeout which I would expect.
However, when using the code, the https://my-sample-tunnel.loca.lt/ page loads and just says "404" on it.
Here's my sample code:
using var client = new LocaltunnelClient();
var options = new ProxiedSslTunnelOptions { };
options.Port = 3000;

var tunnel = await client.OpenAsync(x => new ProxiedSslTunnelConnection(x, options), "my-sample-tunnel");

await Task.Delay(-1);

I've also tried replacing the ProxiedSsl options/connection with the ProxiedHttp and get the same issue.
Any ideas what I'm doing wrong?

A few things come to my mind, as to why this may be not working:

Please check the tunnel.Information.Url property. Possibly the server rejects the subdomain request and gives you a random subdomain.
Check if your server allows different origins and hosts. If you did not change the options, then it will normally rewrite the host to localhost.
Check if the server is even getting the request (in the logs), and if not, check if there is more error information on the 404 page.

The code you sent should work fine.

I did make sure the URL was getting populated fine and added logging that shows it's being created correctly:
https://imgur.com/a/6Y9tZkc
There's not much else on the 404 page, it just looks like this:
https://imgur.com/a/7bVx3GV
I also tried making simple Postman calls to both the CLI and the console version of the app and the CLI recognizes the POST call but the console version just returns 404 Not Found.

It seems like the StartAsync call on the tunnel instance is missing. I have to admit, that it was even not included in the sample on the README.
I've previously pushed a preview version of localtunnel which is valid for the current README sample

The new code appears to have resolved the issue.
One thing I noticed however, was in both the CLI and the .NET Library, when I tell it to only be 1 Max Connection, it still displays 10 in the logging/dashboard

It may be confusing, the option in the options instance is for limiting the maximum concurrent connections. The display in the dashboard and tunnel information is the maximum allowed concurrent connection count, indicated by the server. If you specify one connection maximum, it should only create one (or fewer, if the maximum concurrent connection count advertised by the server is lower than the requested)

authors: TennisMexican angelobreuer


text:
Alterações feitas na aula do dia 25/04 de ESII

Grupo:
Alessandro Macedo
Paulo Henrique
Vitor Hugo

As migrações não devem ser alterados, e sim criadas novas migrações que alterem as tabelas do banco.

Também não foi lido e seguido o arquivo de contribuição.

1 - No começo nós cuidamos para não alterar, então foi criado dois novos arquivos de migração para não alterar nenhum já existente.
Mas acho que no final acabamos sim alterando o arquivo por causa de aspas. Por bobeira, esquecemos.
2 - O que não esta de acordo com o arquivo de contribuição?

O comentário do pull request deve contar o que ele faz e também deve conter o emiji.

authors: PauloHartwig angelogluz

repo: angelogluz/Mussum-API


text:
Update Puppeteer to 1.16.0 or higher

Blocked by #354
Puppeteer 1.15.0 does not properly respond to 422 errors

Some examples with raw Puppeteer reproducing the 422 status code problem reported at:
https://github.com/GoogleChrome/puppeteer/issues/4454

Incognito appears to not be working properly on 1.16.0

Incognito is working as expected, recent changes in chromium make the test unreliable. Failing tests will be removed

Issue still happening on Puppeteer@1.17.0

Release of puppeteer@1.17 (est. June, 21st) should fix the regression problem

repo: angrykoala/wendigo


text:
Set range slider min&max value to null will get "toString" js error

I tried with the latest version 1.1.9, clear the max value in the input box and try to type a new max value, then I got the js error.Seems like some edge cases forget to check in the library.

I can't reproduce the issue. In 1.1.9, it is not possible to clear the input box, because range checking will set the value to minimum.
Aside from that, I would say adding null checks is not the responsibility of the slider. The slider is supposed to be always bound to a valid model value and if that constraint is not satisfied, its behaviour is undefined. It will likely blow up, somewhere, sooner or later.
The problem with adding null checks is that it is not clear what behaviour is expected in case of a null. Should the value be changed to something else like minimum or maximum? Should it be ignored? Should the slider go into "undefined" state?
It is simply not clear what should happen, so I'm going to leave it as it is.

Highly appreciated for replying me, so quick feedback~~~I got it, always bind a valid model value to the slider.
BTW, from my side, for the minimum value, I can’t clear the input box, it always jump to the min value, but for the max value, I can clear the input box.
Thanks and best,
-Sherry
发件人: Piotr Dziwiński [mailto:notifications@github.com]
发送时间: 2018年12月18日 16:40
收件人: angular-slider/ng5-slider ng5-slider@noreply.github.com
抄送: Xu, Shan Shan shanshan.xu@zeiss.com; Author author@noreply.github.com
主题: Re: [angular-slider/ng5-slider] Set range slider min&max value to null will get "toString" js error (#50)
I can't reproduce the issue. In 1.1.9, it is not possible to clear the input box, because range checking will set the value to minimum.
Aside from that, I would say adding null checks is not the responsibility of the slider. The slider is supposed to be always bound to a valid model value and if that constraint is not satisfied, its behaviour is undefined. It will likely blow up, somewhere, sooner or later.
The problem with adding null checks is that it is not clear what behaviour is expected in case of a null. Should the value be changed to something else like minimum or maximum? Should it be ignored? Should the slider go into "undefined" state?
It is simply not clear what should happen, so I'm going to leave it as it is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/angular-slider/ng5-slider/issues/50#issuecomment-448140361, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbapX0zr3MosElEKHeYeou1Mf9oSW_0Qks5u6KnygaJpZM4ZXzn-.

I looked again at the normalising code and there was a subtle bug in there with using !== and === on input value which is string and normalised value which is number.
What I decided to do is to always convert input values to numbers. This means that null or empty string will be treated as 0, and undefined as NaN, which is in a way reasonable, but again it's a grey area, and this behaviour shouldn't be relied on.
With additional range check that I'm adding as continuation of #48, I'm pretty sure this problem will not be occurring anymore.

Cool~~
发件人: Piotr Dziwiński [mailto:notifications@github.com]
发送时间: 2018年12月18日 17:26
收件人: angular-slider/ng5-slider ng5-slider@noreply.github.com
抄送: Xu, Shan Shan shanshan.xu@zeiss.com; Author author@noreply.github.com
主题: Re: [angular-slider/ng5-slider] Set range slider min&max value to null will get "toString" js error (#50)
I looked again at the normalising code and there was a subtle bug in there with using !== and === on input value which is string and normalised value which is number.
What I decided to do is to always convert input values to numbers. This means that null or empty string will be treated as 0, and undefined as NaN, which is in a way reasonable, but again it's a grey area, and this behaviour shouldn't be relied on.
With additional range check that I'm adding as continuation of #48https://github.com/angular-slider/ng5-slider/issues/48, I'm pretty sure this problem will not be occurring anymore.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/angular-slider/ng5-slider/issues/50#issuecomment-448153629, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbapXz5Scu8WOlqvFUZNdy6matmk9j7Bks5u6LSngaJpZM4ZXzn-.

I looked again at the normalising code and there was a subtle bug in there with using !== and === on input value which is string and normalised value which is number.
What I decided to do is to always convert input values to numbers. This means that null or empty string will be treated as 0, and undefined as NaN, which is in a way reasonable, but again it's a grey area, and this behaviour shouldn't be relied on.
With additional range check that I'm adding as continuation of #48, I'm pretty sure this problem will not be occurring anymore.

I totally agree with you about Point2, not relay on this to do the error handling, but I still have some thoughts about this Point2.
Just now I tried the new version 1.1.10 demo of the range slider, as now using number to compare, about how to handle NAN I think still some improvement can be done.
Now the demo behavior is if I input invalid value, e.g. i input a negative number, the range slider will show the NAN, should we also change NAN to a reasonable value, maybe for input min value change to range.floor, max value changes to range.ceil.

Ok.I limit the two input boxes input values, always keep them can input the valid values, then I still can use the [(ngModel)] to bind the minValue  and maxValue to these two input boxes.