How to install this in a webhost?

hi all,
i would like to know how to install the server of this project to a webhosting ???
thanks a lot

A web hosting is impossible. You need to have the access to the server to install things such as nodejs, npm,... So you need to have a VPS or something similar

ok i will buy a vps
so how to install it on vps ?
thanks

You can access to the VPS via ssh, then follow the instruction in the home page (very simple, just clone the source code to any folder, then run npm install) :D

i'm using windows ? is it same ?

yeah, it's the same, you can install NodeJS then open Command Line to run npm install

Still have any issues @matrixreal ?

@abalabahaha
i'm just waiting for the update about sounds and scaling for mobile + joystick etc ...
anyway thanks

Those may take a while as nobody appears to have contributed to the project recently, which could be due to summer ending and schools starting.

You can use heroku

All I did is port forwarded and then typed my up and port into the http, instead of doing localhost:3000 I did my ip:port then I went to no-ip.com and did a web redirect so when someone types in the adress it redirects it to my up and joins my server, simple as pie now my friends can play. My only issues are I can reconnect after splitting

@Logan7432 Wrong issue. You already opened #312

I have installed game on my VPS. Can i somehow place a folder client on www.mydomain.com and point him to ip address off my VPS?

@rade0000 Not the best place to comment, but whatever.
You first install the project, then go into the config.json and change the port to 80, then run the project. Then you can point the domain to the VPS's IP address and everything will work.

that's not what I asked

?
If you really don't want the project to serve the client folder, you could copy the client files to someplace and edit the javascript so it connects to the VPS IP.

That i want but what to change in app.js

Not sure as I can't test ATM, but I think it's app.js line 37. Can be changed to:
socket = io('ip.ad.dr.ess:port', {query:"type=" + type});


The "Launch layout editor" button doesn't work at all after update

Microsoft PowerToys version
0.53.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones, FancyZones Editor
Steps to reproduce
Just not working.
Tried reboot and restarting.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

/bugreport
ref: #


Instantiate board in nqueen client

The previous code gave a future_has_no_valid_shared_state_exception, because the board object was not being instantiated. Now, when the option 'default' is chosen to solve the standard nqueens puzzle having board size 8 X 8, the correct answer 92 is printed. I think this should fix https://github.com/STEllAR-GROUP/hpx/issues/802#issuecomment-194255571.

This looks good to me. Thanks!


Bug? Sub selects require their own semicolons

This sql makes it necessary to include three semicolons in the end to terminate syntax highlighting:
                SELECT
                    CONCAT(
                        z.expected,
                        IF(
                            z.got-1>z.expected,
                            CONCAT(' bis ',z.got-1),
                            ''
                        )
                    ) AS missing
                FROM (
                    SELECT
                        @rownum:=@rownum+1 AS expected,
                        IF(
                            @rownum=CAST(SUBSTR(bestellId, 2) AS UNSIGNED),
                            0,
                            @rownum:=CAST(SUBSTR(bestellId, 2) AS UNSIGNED)
                        ) AS got
                    FROM (
                        SELECT @rownum:=$lastId
                    ) AS a
                    JOIN $tname
                    ORDER BY CAST(SUBSTR(bestellId, 2) AS UNSIGNED)
                    -- TODO: exclude lower ids (> minIds)
                    -- WHERE CAST(SUBSTR(bestellId, 2) AS UNSIGNED) > $lastId
                    ) AS z
                WHERE z.got!=0;;;

Mysql is not my strong suit, so I'm unsure if this is correct behavior. What I can tell is, that adding semicolons in the end of every sub select and the root statement is not working/produces an sql syntax error.

Sorry, this is so long ago, that I can't remember this issue at all. Please close if you think it was a mistake on my part. I sadly don't have the time to investigate.

Never mind.


Added UResult for hostname, hostid and dirname

Related to #2464

Nice! It looks good, but there is one slight problem with dirname, which is that the new error handling does not support the usage string yet. I have a PR almost ready to add initial support for that. I'll try to post that PR today!

Here it is: https://github.com/uutils/coreutils/pull/2473

@tertsdiepraam Thanks, Waiting for #2473 to be merged.

Clippy isn't happy :)
error: useless use of `format!`
  --> src/uu/dirname/src/dirname.rs:82:41
   |
82 |         return Err(USimpleError::new(1, format!("missing operand")));
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"missing operand".to_string()`
   |
   = note: `-D clippy::useless-format` implied by `-D warnings`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format

We could use
return Err(UUsageError::new(1, "missing operand".to_string()))
instead of
return Err(USimpleError::new(1, format!("missing operand")))
from #2473

I guess you saw that it is failing on freebsd:
error[E0432]: unresolved import `uucore::error::UUsageError`
  --> src/uu/dirname/src/dirname.rs:13:30
   |
13 | use uucore::error::{UResult, UUsageError};
   |                              ^^^^^^^^^^^ no `UUsageError` in `error`

error: aborting due to previous error

Cirrus CI was not using the latest master branch. A merge fixed the FreeBSD build!

oups, thanks


Integration stops working if an update to HA 2023.9.0 is performed

As described above. Because of the problem I've restored the update of the previous installed version and forgot to save the logs.

Tried to make an update again (HA 2023.9.1) with the same result. This time if saved the log before restoring the backup:

Logger: homeassistant.setup
Source: setup.py:379
First occurred: 11:38:56 (1 occurrences)
Last logged: 11:38:56

Unable to prepare setup for platform aquarea.sensor: Platform not found (No module named 'homeassistant.helpers.template_entity').

@scroom did you update integration itself?

My fault! Thought that the update would be possible to perform before updating HA. Sorry!

Indeed @scroom , I put a constrain on the integration to forbid integration update before HA being in the correct version. It makes the process tedious (you have to upgrade HA, notice theintegration has an available update and restart HA again).
I'll try to fix this by making the integration backward compatible


A header-only lib for hobbes-style convertibility purely in C++

This change adds a simple header-only lib (similar to the others) that defines structural convertibility in a way similar to the hobbes 'Convert' type class.  But this lib works without having to link in the hobbes compiler or do dynamic compilation.  Still it allows late-stage determination of source types, with a statically-known destination type.
The example from the included unit test shows all of the rules in practice.  First we define a source type "From" as (and keep in mind, this type could be defined and described by a remote process updated independently from our own):
typedef std::array<int, 5> IArr;

DEFINE_VARIANT(
  Friend,
  (Bob,   int),
  (Frank, short)
);

DEFINE_STRUCT(
  From,
  (int,    x),
  (Friend, y),
  (int,    z),
  (IArr,   w)
);

Then we define a destination type "To" as:
typedef std::array<size_t,5> LArr;

DEFINE_VARIANT(
  NewFriend,
  (Steve,   char),
  (George,  double),
  (Bob,     long),
  (Stewart, int),
  (Horace,  IArr),
  (Frank,   int)
);

DEFINE_STRUCT(
  To,
  (LArr,      w),
  (long,      z),
  (NewFriend, y),
  (int,       x)
);

Now if we have a runtime description of the "From" type in a variable called "dynamicFromType", then we can produce the conversion function from this type to our "To" type just with:
auto cvt = hobbes::convert::into<To>::from(dynamicFromType);

This will make "cvt" a function that takes a 'const void*' for the source type (must be void* because we don't know the type structure statically) and a "To*" to convert into.
On my 6 year-old macbook, I set up a little timing test around this and compiled with -O1 to get ~90ns for this particular conversion.  Without optimization it's about 5 times slower.
Even with optimization this is a little slower than what we can get with hobbes, but for use-cases where the whole hobbes compiler is a larger dependency than we'd prefer just for this feature, it may be an acceptable substitute.

There's something going on with the LLVM package that our travis-ci build pulls in.  For some reason it just decided that it had to rebuild all of LLVM, which causes our builds to timeout.  I'm working with folks at travis-ci to figure out why this is happening and whether there's something we can do to avoid it.

It looks like all macOS builds are borked right now.  I'm just going to disable macOS entirely to make progress, since it's not our primary platform with this project.
I do personal development on a Mac, so it's handy to have around.


Prevent duplicate navigation on fast taps

Any news on this?

@klaszlo8207 did you mean to post this to https://github.com/react-community/react-navigation/ ? I think they still haven't merged a fix.


Edit event page

@rajdeep edit event all done

Closing this as #141 PR has all it's changes @Kingshuk3006


Make Headers accessible during serialization

It looks like @pascalconfluent hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

@confluentinc It looks like @pascalconfluent just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

this looks good to me. with that said, before merging, I probably want a better holistic view of where this is going past this change, so I'll probably end up sitting on it a bit. i.e. we may also want message key and value to be in the SerializationContext, and we may also want to support serialization/deserialization of header values. it would be good to have clarity on what all that looks like ideally to make sure we don't introduce things we're then likely to want to break.

@mhowlett I am using headers in Java to transport the event signature, or a wrapped AES key.
If you want we can jump on the Zoom call and talk about extended to Key/Value, .....

This would be useful where someone wants to make a custom serde and instead on putting schema info in the byte[] they want to put it in headers to keep compatibility e.g. my protobuf scenario where existing flows will be having plain serialisation yet want to introduce schema repo without breaking large complex systems.

@michaelandrepearce - didn't notice that this was already in java.

Yes since 0.11 it was added when headers were added :)

i ended up tweaking this and adding integration tests in #1218 , which is now merged into 1.4.x.


feat: Adding a scroll to top button

What feature?
This button will allow the user to scroll to the top using a button click
Add screenshots

Record

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

duplicate https://github.com/priyankarpal/ProjectsHut/issues/1696


⚠ ClamAV has degraded performance

In 594955c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 48 ms

Resolved: ClamAV performance has improved in 19c1616.


MM-17917 Fix some license fields showing as NaN and remove forced refresh when uploading/removing licenses

Summary
Fix some license fields showing as NaN and remove forced refresh when uploading/removing licenses. Includes some minor refactoring and clean-up of the LicenseSettings component.
Ticket Link
https://mattermost.atlassian.net/browse/MM-17917

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-3520.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed

Thanks @lindy65 ! This one is a little hard to write meaningful unit tests for. A cypress test would be better but not sure how that would work without using a real license

@jwilander
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#3520-upstream-release-5.15-1566588548
Branch 'automated-cherry-pick-of-#3520-upstream-release-5.15-1566588548' set up to track remote branch 'release-5.15' from 'upstream'.
+++ Downloading patch to /tmp/3520.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/3520.patch

Applying: Fix some license fields showing as NaN and remove forced refresh when uploading/removing licenses
Applying: Update mattermost-redux
Using index info to reconstruct a base tree...
M	package-lock.json
M	package.json
Falling back to patching base and 3-way merge...
Auto-merging package.json
CONFLICT (content): Merge conflict in package.json
Auto-merging package-lock.json
CONFLICT (content): Merge conflict in package-lock.json
Patch failed at 0002 Update mattermost-redux
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU package-lock.json
UU package.json

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.

Thanks @jwilander - perhaps @thekiiingbob can take a look and see whether a Cypress test would / could work :)


fixing a small bug

you don't have to review don't worry

blague déjà faite apparemment, excusez-moi


fix: user data tracing flag

Description
This commit fixes the tracing flag for bash in the user data.
Currently if you set the enable_runner_user_data_trace_log flag to false expecting to disable the tracing in bash it will actually trace the user data script.
The reason is that the flag will be translated to user_data_trace_log == false. Once the condition is evaluated in the script you get if [[ $(echo ${user_data_trace_log}) == false ]] -> false == false which is true and ends up enabling set -x.
This small change should fix it.
Migrations required
NO
Verification
Tested by running the script locally and setting the value in the current version to true and saw the opposite result

Sounds reasonable to me.

@ravenolf I think it would be good to mention this change in the Migrations required section. As the guys using this flag have to invert it in order to get the same results.

#604 fixes the TF Docs problem. Can be ignored.


Fonts dont export with android apk

It's taken me a long time to figure this out, but the fonts as they are do not allow you release a working apk file for android.
The APK keeps crashing

I haven't done any android app so I could be wrong, but judging by the popularity of this library it seems unlikely that something like this hasn't popped up earlier. Can you pinpoint what the problem/fix is?

When you say they don't export, are you saying they don't get bundled? I'm just curious. We're seeing some issues with Android as well (a custom icon font is sometimes not making it onto Android) but I don't know if its the APK or if it's a react native issue or if it's a bundling issue. Either way, I do agree with @oblador - this library is very popular and I haven't noticed Android issues until recently and they kind of seem intermittent. If I discover OUR bug, I'll come back and post on this thread about it.

Closing for inactivity.

The icons will not be bundled for release if all you did was doing the apply from in the build.gradle file. To bundle the fonts, make sure you also have copied the font files into android/app/src/main/assets/fonts.
If assets folder doesn't exist, create it.


Undocumented time_zone option

According to the source code, the plugin has "time_zone" option but, it is undocumented in README.md. Do you have any reasons? If you don't have, I will document. (If the option is still experimental and you still find better option, I want to suggest column-based timezone setting like following.)
- type: expand_json
  json_column_name: record
  expanded_columns:
  - {name: time, type: timestamp, format: "%Y-%m-%d %H:%M:%S", timezone: Asia/Tokyo}
  ... ...

@muga Thanks for reporting it. Actually I do not remember the reason. However, reading back after a long time, I think this time_zone option should be removed and default_timezone which is already inherited should be used instead.
And, I agree with your suggestion, so I think, about timezone option, this plugin should be implemented as using preferentially column-based timezone if column-based timezone exists, then if not, using default_timezone option.
How do you think?

@civitaspo Thank you for your comment. Sounds good to me 👍  This change looks like backward incompatible but, since time_zone is undocumented, it should be ok.
I will send the PR later.

Thank you. I'm looking forward to your PR.

Fixed by https://rubygems.org/gems/embulk-filter-expand_json/versions/0.2.0

Thank you!

Nice Work!


Shellcode

what format for shellcode?

i used this but not working
msfvenom -p windows/messagebox ICON="WARNING" TEXT="Hello there" TITLE="General Kenobi:" -f raw  --platform win -o messagebox3.bin

32-bit shellcode is not supported. export x64 shellcode from msfvenom and it should work.


Add 'p_' to code generation unsupported list

Closing we as we discussed this should be handled in the code generation service itself and not partially in sdks.


PrimitiveOp does not handle binding to complex values.

Information

Qiskit Terra version: 0.18
Python version: 3.8
Operating system: MacOS

What is the current behavior?
Error when binding a complex coefficient to an operator's parameter.
    return self.assign_parameters(param_dict)
  File "/qiskit-terra/qiskit/opflow/primitive_ops/primitive_op.py", line 249, in assign_parameters
    param_value = float(self.coeff.bind(binds))
  File "/qiskit-terra/qiskit/circuit/parameterexpression.py", line 431, in __float__
    return float(self._symbol_expr)
  File "symengine_wrapper.pyx", line 1133, in symengine.lib.symengine_wrapper.Basic.__float__
  File "symengine_wrapper.pyx", line 958, in symengine.lib.symengine_wrapper.Basic.n
  File "symengine_wrapper.pyx", line 4194, in symengine.lib.symengine_wrapper.evalf
RuntimeError: Not Implemented

Steps to reproduce the problem
from qiskit.opflow import X
from qiskit.circuit import Parameter
th = Parameter('th')
(th * X).bind_parameters({th: 1j})

What is the expected behavior?
No error, handling a potentially complex value.
Suggested solutions
In File "/qiskit-terra/qiskit/opflow/primitive_ops/primitive_op.py", line 431, changing
param_value = float(self.coeff.bind(binds))
to  param_value = complex(self.coeff.bind(binds)).

I changed the title since ParameterExpression actually does allow this.


Discrepancy in install-profile/install-standalone scripts on Tips & Tricks page

On the Tips & Tricks page in the wiki, the newly updated install scripts have the following line to point to the path of the dotbot bin:
cmd=("${BASE_DIR}/${META_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "$configFile")
This works only if you installed the dotbot submodule inside the /meta folder, or if you are starting from @ecarlson94's great dotbot-template repo. However, if you are just following the instructions on the main README, you likely added the dotbot submodule directly to the root of the repo, in which case you'd have to modify the above line to:
cmd=("${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "$configFile")
to ensure that the dotbot binaries can be located correctly.
Fwiw, I actually like the idea of having the submodule in the /meta folder, so maybe the best solution here is to make a note of it to ensure that the dotbot submodule is in the right location, with maybe some small instructions on how to relocate a git submodule if necessary?

Thanks for pointing this out, and for suggesting that we include instructions on how to move a git submodule. Do you think these updated instructions are sufficiently descriptive?


Include Fragment block

Adding the fragment block. Currently referenced(404) in the consonant/index page.
https://main--consonant--adobecom.hlx3.page/
RL for testing:

https://fragment--consonant--adobecom.hlx3.page/

On a related note, feel fere to inspire/copy from https://github.com/adobe/helix-project-boilerplate/pull/66 (will likley not be added to the boilerplate)

closing. Will be using the milo fragment implements


Shankar Upper case Generator

Read input from excel
Generate uppercase words
Create report
Send report over email

[ ]  PDD
[ ]  SDD
[ ]  Coding
[ ]  Testing
[ ]  Deployment

@vajrang can you add input file

@vajrang can you add input file

you can keep following words in excel and continue development
1@eerrr
avia
asdrr
Hiid8dd

@vajrang-b can you provide the website from whic i need to extract data

also

@vajrang-b can you provide the website from whic i need to extract data

please use this https://www.vajrang.org/trainings/challenges/uppercase


chores: grant write permission to publish release workflow

Description
Publish github release in a workflow requires contents: write permission. This PR fix the release publish problem.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Hi @lightaime readme.md has been updated. Please check it. Thx.


Pegdown HARDWRAPS option adds an additional line break when using trailing spaces

When using the following option configuration:
new MutableDataSet( PegdownOptionsAdapter.flexmarkOptions( Extensions.ALL ) ) ,
the parser/renderer adds 2 line breaks instead of one when using 2 trailing spaces followed by a line break.
Example markdown
line one with line break
line two with line break
line three with line break and 2 trailing spaces
line four at the end

Expected result
line one with line break line two with line break line three with line break and 2 trailing spaces line four at the end
Given result
line one with line break line two with line break line three with line break and 2 trailing spaces  line four at the end

My current fix is to change the options to:
options = new MutableDataSet( PegdownOptionsAdapter.flexmarkOptions( Extensions.ALL & ~Extensions.HARDWRAPS ) );
options.set(HtmlRenderer.SOFT_BREAK, "<br/>");

@Elmervc, this is a bug I missed in fixing. I encountered it in my plugin but forgot to fix in the library.
The fix is exactly as you have done. I will make the fix and make a new release.

Great, thanks again! No other issues right now :)


Add exclusion to hadoop-aws dependency.

What is this PR for?
Fix dependency error caused by different versions of same library
What type of PR is it?
Bug Fix
Todos

[ ZEPPELIN-3217] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-3217

How should this be tested?

Travis CI

Screenshots (if appropriate)
Questions:

Does the licenses files need update?
no
Is there breaking changes for older versions?
no
Does this needs documentation?
no

LGTM, wait for CI pass

Some tests fail, could you retrigger the failed test ?

I verify it manually, CI build pass, will merge it soon


make DATE_APP_GENERIC_MDY_FULL default date mask. Add time tag.

Good point. Maybe the hAtom spec is suitable for this ( http://microformats.org/wiki/hatom-examples )
Will try to implement this soon.

I think it's better to  use neither microformats nor microdata because they might both lead to problems. The first one because the abbr tag, thats recommended to use for time date, can have an unwanted, confusing default styling and the latter because there might be problems with IE. So I removed that again and just added some t() functions.


Does not list empty DVD drives on Windows

Hi @Eugeny ,
If there is no DVD inserted in your drive, then this is the expected behavior, since there is no volume mounted in the system.

Well, that makes sense, thanks for the info. That would make a nice feature though, because it's otherwise impossible to pick a free drive letter using this library.
For everyone else who stumble upon this, fs.readdirSync raises ENOENT for free drive letters and an undefined error for empty DVD drives.


chore: move renovate-config-validator to GH Actions

PR Checklist

[ ] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] Documentation in docs is updated

Description of changes
Most of the contributors won't ever update renovate configuration, yet the pre-commit hook takes quite some time to install locally (at least for me).
So instead of running it through pre-commit, this PR moves the workflow to a dedicated GitHub Actions workflow, similarly to the one we have for codecov configuration.
The PR also updates the schedule for lock file maintenance, so it runs on Saturday, same as the other updates, instead of Monday (which also allows validating the changes in the PR, to confirm that the workflow works correctly).

Codecov Report

Merging #233 (a82c018) into main (093e55c) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #233   +/-   ##
=====================================
  Coverage   95.7%   95.7%
=====================================
  Files         32      32
  Lines        914     914
  Branches     203     203
=====================================
  Hits         875     875
  Misses        26      26
  Partials      13      13

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Cannot declare multiple variables in a single declare statement

I tried to declare following,
int a,b;

Which resulted following error.
error: org.abc.util[]/AccountOperationsUtil.bal:30:10: mismatched input ','. expecting ';'
the compilation contains errors

Is there any specific reason to limit this? If not can we add the support?

This is intentional. This syntax doesn't scale/read well when you have initializers for variables.


fix(control-tower): upgrade to latest CW Synthetics version

in order to prevent the deprecated canary version from failing, it won't work anymore from the end of May on.
@davmayd @troy-ameigh please take a look and merge, possibly before May 28th because the syn-1.0 Canary runtime will stop working then.
Pipeline is green:

@troy-ameigh thanks for merging. I believe this PR needs to be merged to main as well. If that's correct, could you do this? cc @davmayd


Enhancement: Make it possible to consume distrib-rl as a library

It would be nice if I didn't have to fork this project to use it in my own project.

[ ] Add setup.py
[x] Make it possible to specify different directories (or full file paths) for experiments, configs, and data output
[x] Make it possible to register additional builders under config keys with the various factories

2nd and 3rd items on this list were fixed by #3

Moving setup.py to its own issue and closing, as the bulk of this was fixed by #3


[Calendar] style columns by query

Use container queries to style columns as in
https://css-tricks.com/next-gen-css-container/#container-queries-media-queries

I wish we could use that but CSS container queries are still not supported....
The examples in the article are experimental and can be seen only in Chrome Canary with the experimental #enable-container-queries flag turned on.

it has little cost and align to progressive enhancement. low priority...

@rachelbt lets use container queries. Today!
https://github.com/GoogleChromeLabs/container-query-polyfill

@yinonov is this issue still relevant?


Show instructions in docs for deploying Gateways for different infra

Add a DocsTab component with more specific instructions for each option we support.

refs #3041


Selecting 'Administration code' in the Open Source Code Form resets current field inputs

If the user has filled out the other fields in the Open Source Code Form and decides to fill in the Administration code field, the current fields are reset and the input values lost.

@smellems @WJXHenry  I can fix it.
We can also add a reset button for the form if you think it does matter

Seems to be caused by the code on _includes/footer.html - line 250


how to generate 400 from server

Hi,
I am trying to send a request that generates a bad request [400] from the server so I can check that the error messages are correct.
To do this I was going to try this suggestion and add a "%" to the path.
Although when I attempt this with urlEncodingEnabled = false I get a URISyntaxException: Malformed escape pair and the test fails.
Is there any way I can do this with rest assured? or write a test to generate a bad request somehow?
Thanks

No, you cannot provide a bad URI like that. It needs to be a valid URI but something that is invalid to your application (which is specific to your app).


Duplicate SIGINT sent to suprocess on Unix based systems

I was putting together a simple python script to manage multiple background processes (kinda like what's being discussed in #24). This script is invoked by poe (poe → proc_manager → p1, p2, ..., pN) and while working on signal interception & forwarding, I noticed hitting ctrl+c results in 2 SIGINTs being received by my proc_manager.
This SO post has a great detailed explanation of why this happens; the tl:dr is ctrl+c → end-of-text char to tty → tty sends SIGINT to all processes in foreground process group.
Since the poe task subprocess is not detached from poe's process group (e.g. by adding a preexec_fn=os.setpgrp or process_group=0 arg to Popen call here) and there's a signal handler to explicitly forward SIGINT to subprocs here, we end up with two SIGINTs being sent to the subprocs.
Only noticed this because in my use case I'm trying to handle the first SIGINT differently from subsequent ones (call subproc.terminate() first, then subproc.kill()).
Happy to send a PR; proposed change are either A:
def handle_sigint(signum, _frame):
-     # sigint is not handled on windows
-     signum = signal.CTRL_C_EVENT if self._is_windows else signum
-     proc.send_signal(signum)
+     # Forward SIGINT as CTRL_C_EVENT on Windows. On Unix, ctrl+c causes
+     # tty to send SIGINT to all the processes in the foreground process
+     # group; forwarding would lead to a double SIGINT.
+     if self._is_windows:
+         proc.send_signal(signal.CTRL_C_EVENT)

Or B:
- proc = Popen(cmd, **popen_kwargs)
+ proc = Popen(
+     cmd,
+     **popen_kwards,
+     # Change subprocess process group on Unix since tty sends SIGINT to
+     # all processes in foreground process group on ctrl+c. Since SIGINT
+     # is already explicitly forwarded below, this would result in
+     # duplicate SIGINT being received by subprocess.
+     preexec_fn=os.setpgrp if not self._is_windows else None,
+ )

A has the downside of not forwarding an explicit SIGINT being sent to poe (e.g. via kill -INT <poe_pid>).
B I don't think there's a downside on Unix? I've opted for B in my proc_manager script.
lmk what you think and I'll send the change request.

(Tested both changes locally and they work as expected.)

In case it's helpful, here's a link to the the proc_runner script I mention above.

Hi @biasedbit, thanks for the interesting issue.
Option B does seem preferable, except that it does in practice break usage of poe with some CLI tools one could want to calls via a task, some contrived examples: sl, k9s, htop.
This makes me think there should be a task option to enable it, something like  separate_process_group: bool, somewhat similar to use_exec option. Would you be up for submitting a PR with that? Otherwise Ill get around to it sooner or later.
Of course for consistency adding the preexec_fn keyword argument should be done by editing the popen_kwards dictionary above, and a new option would require a test and some documentation to release.
Incidentally applying the use_exec option to you task might be a valid workaround for you?

I'll take a stab at it over the next couple of days. Cheers!

Hey @nat-n, didn't get a chance to work on this over the holidays but picking this up today — just checking in with you to make sure we don't both end up working on it at the same time.

@biasedbit all yours :)


Websockets support

Need to implement websockets (now we have only socket-io support)

websockets support will be added in moko-network as enhacement of ktor-client HttpClientEngine - https://github.com/icerockdev/moko-network/issues/149
in moko-socket-io we will not support basic websockets


firebase_dynamic_link 0.5.0 is not correctly working in ios device when application is in running/background state.

In android application firebase dynamic link 0.5.0 is working fine. But in ios device dynamic link is not working when app is in running/background state. But in killed state it works fine means when link is clicked in killed state it open correct location in the application.
I have no idea why it is happening.
should I use one of the old versions?

For me is everything working fine, when the ios app is in background/running. If the app is closed, the dynamic link doesn't work. It opens the app, but then is nothing happing. In Android is everything fine.

For me is everything working fine, when the ios app is in background/running. If the app is closed, the dynamic link doesn't work. It opens the app, but then is nothing happing. In Android is everything fine.

Which version of firebase dynamic links plugin are you using?

For me is everything working fine, when the ios app is in background/running. If the app is closed, the dynamic link doesn't work. It opens the app, but then is nothing happing. In Android is everything fine.

Which version of firebase dynamic links are you using?

For me is everything working fine, when the ios app is in background/running. If the app is closed, the dynamic link doesn't work. It opens the app, but then is nothing happing. In Android is everything fine.

Which version of firebase dynamic links are you using?

I use also version 0.5.0

For me is everything working fine, when the ios app is in background/running. If the app is closed, the dynamic link doesn't work. It opens the app, but then is nothing happing. In Android is everything fine.

Which version of firebase dynamic links are you using?

I use also version 0.5.0

Can you show me example in which dynamic link is working fine in running/back round state on ios device?

For me is everything working fine, when the ios app is in background/running. If the app is closed, the dynamic link doesn't work. It opens the app, but then is nothing happing. In Android is everything fine.

I'm having the same problem in iOS.
using version 0.5.0 as well.

@dhanrajvermaRepo Please provide your flutter doctor -v output, and maybe some code example to be sure to reproduce the issue correctly.

@dhanrajvermaRepo Please provide your flutter doctor -v output, and maybe some code example to be sure to reproduce the issue correctly.

Flutter doctor output

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G87, locale en-IN)
• Flutter version 1.7.8+hotfix.4 at /Users/root-flutter/Documents/development/flutter
• Framework revision 20e59316b8 (8 weeks ago), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at /Users/root-flutter/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
• Xcode at /Applications/Xcode10.3.app/Contents/Developer
• Xcode 10.3, Build version 10G8
• CocoaPods version 1.7.5
[!] iOS tools - develop for iOS devices
✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.4
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 37.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.

Example Code

`void main() => runApp(
MaterialApp(
theme: new ThemeData(
primaryColor: Colours.appThemeColour,
),
onGenerateRoute: (RouteSettings settings) {
switch (settings.name) {
//This is my root widget
    case '/': return new MyCustomRoute(
      builder: (_) => new SplashScreen(),
      settings: settings,
    );

...
}
assert(false);
}
)
);
class SplashScreen extends StatefulWidget {
@override
_SplashScreenState createState() => new _SplashScreenState();
}
class _SplashScreenState extends State
with SingleTickerProviderStateMixin {
final scaffoldKey = new GlobalKey();
_handleDeepLink(Uri deepLink) async {
if (deepLink != null && deepLink.queryParameters["token"] != null) {
print("querParam=${deepLink.queryParameters["token"]}");
Navigator.of(context).pushNamed('/setpassword', arguments: [
deepLink.queryParameters["token"].toString(),
deepLink.queryParameters["otp"]
]);
} else {
//This function is used to check current version of app and compares to latest available version //and takes to appropriate screen.
getVersion();
}
}
initDynamicLinks() async {
final PendingDynamicLinkData data =
await FirebaseDynamicLinks.instance.getInitialLink();
final Uri deepLink = data?.link;
_handleDeepLink(deepLink);
FirebaseDynamicLinks.instance.onLink(
onSuccess: (PendingDynamicLinkData dynamicLink) async {
final Uri deepLink = dynamicLink?.link;
_handleDeepLink(deepLink);
}, onError: (OnLinkErrorException e) async {
  print('onLinkError');
  print(e.message);
});

}
@override
void initState() {
super.initState();
initDynamicLinks();
}
`
On android this code is working fine but on ios dynamic link always takes me to app store

@dhanrajvermaRepo
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1124. Any further collaboration will be done there.


500kb Limit

electron: 1.7
While using big libraries the electron forge fails to compile them.
Step 1:
electron-forge start

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
⠹ Checking your system⚠ You are using NPM, but not a known good version. The known versions that work with Electron Forge are: ^3.0.0 || ^4.0.0 || ~5.1.0 || ~5.2.0 || >= 5.4.0
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Launching Application
Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

This platform is ${process.platform}
Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

Warning, the following targets are using a decimal version:

  electron: 1.7

We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.

[BABEL] Note: The code generator has deoptimised the styling of "/Users/ruvenss/uielectronforge/js/widgets/jqx-all.js" as it exceeds the max of "500KB".

What command line arguments are you passing?
start

What does your config.forge data in package.json look like?
{
    "name": "uielectron",
    "productName": "uielectron",
    "version": "1.0.0",
    "description": "RGW IT ERP",
    "main": "main.js",
    "scripts": {
        "start": "electron-forge start",
        "package": "electron-forge package",
        "make": "electron-forge make",
        "lint": "eslint src"
    },
    "keywords": [],
    "author": "ruvenss",
    "license": "MIT",
    "config": {
        "forge": {
            "make_targets": {
                "win32": [
                    "squirrel"
                ],
                "darwin": [
                    "zip",
                    "dmg"
                ],
                "linux": [
                    "deb",
                    "rpm"
                ]
            },
            "electronPackagerConfig": {
                "packageManager": "npm"
            },
            "electronWinstallerConfig": {
                "name": "uielectron"
            },
            "electronInstallerDebian": {},
            "electronInstallerRedhat": {},
            "github_repository": {
                "owner": "ruvenss",
                "name": "uielectron"
            },
            "windowsStoreConfig": {
                "packageName": "",
                "name": "uielectron"
            }
        }
    },
    "dependencies": {
        "electron-compile": "^6.4.1",
        "load-json-file": "^3.0.0",
        "write-json-file": "^2.2.0"
    },
    "devDependencies": {
        "babel-plugin-transform-async-to-generator": "^6.24.1",
        "babel-preset-env": "^1.6.0",
        "babel-preset-react": "^6.24.1",
        "electron-forge": "^3.2.0",
        "electron-prebuilt-compile": "1.7.5",
        "eslint": "^3.19.0",
        "eslint-config-airbnb": "^15.1.0",
        "eslint-plugin-import": "^2.7.0",
        "eslint-plugin-jsx-a11y": "^5.1.1",
        "eslint-plugin-react": "^7.3.0"
    }
}

I am including the library jqxwidgets in my project which uses heavy files

Note how the message is prepended with [BABEL]. That means that the code that has the limit is Babel, not Electron Forge itself. If you search for 500KB in the Babel repository, you'll see why. It doesn't appear to be a configurable value, so we can't do much about that.


removing teoria.js from .npmignore

I'd like to use teoria with ember-cli and for various reasons I'd like to avoid using browserify -- a plain build file would be helpful when using an npm package.
Would you be open to removing the teoria.js build file from .npmignore?

Hey Jack!
I’m not sure I follow - could you explain how one “uses teoria with ember-cli”?

Den 12. okt. 2017 kl. 03.14 skrev Jack Anderson<EMAIL_ADDRESS>I'd like to use teoria with ember-cli and for various reasons I'd like to avoid using browserify -- a plain build file would be helpful when using an npm package.
Would you be open to removing the teoria.js build file from .npmignore?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey @saebekassebil -- sorry, I wasn't very clear 😬
The current .npmignore lists the teoria.js build file, which means that any project that has teoria as a dependency, won't have access to that file.
In my specific case, I'd like to use that file via npm, rather than browserify the index.js file.
The implementation of this is here: https://github.com/JackCA/teoria/commit/fb4aa29de90cbe5b0b69ce78e7a20b9c702e97eb


#1426 Floating windows - Change Atom properties window design

Tab behaviour: General tab should be opened when the form is opened. Don't save the tab state when the form is closed and opened again.

Tab behaviour: General tab should be opened when the form is opened. Don't save the tab state when the form is closed and opened again.

it is.


Sub-Task 11.1: Follow

Task: Each profile page has a "Follow" button, when another user clicks on it it will make the user a follower of that original user.

Deleting issues, linked to US#12


Automatic reconnection on network failure

Now that we have the topology API, here are the steps required towards automatic reconnection:

[x] add an Option<Consumer> to the wrapped basic_consume, set it to None from the public wrapper, store the Option in the state and use it to restore everything in the given Consumer if we got Some.
[x] introduce an InternalTopology that stores Connection/Channel/Consumer objects alongside the topology items
[x] Add some conversion between InternalTopology and Topology; dropping the associated items
[x] change topology methods to return the Internaltopology, and make the current one use that and convert to public Topology.
[x] in the same way, introduce some restore_internal, make restore use it, and pass the Options stored in the InternalTopology to basic_consume and friends
[x] hook up basic get in InternalTopology + restore_internal
[ ] add an Option<Channel> to the channel creation to share internals with the Channel we want to restore, set it to None, but use it when finalizing if it's Some.
[ ] add an Option<InternalTopology> set to None to the connection process, and use it when it's some to restore_internal
[ ] detect network failure from the event loop, and instead of bubbling it up, call topology_internal, reinitiate connection with Some(InternalTopology)

Kind of niche but we should also handle pending basic_get

Would you be interested in a PR for this?

Sure.
Otherwise I plan to work on this this summer once 2.0 is out

Any update on this?
Automatic reconnects would be really useful for me. I’d even try to contribute if something specific is missing.

I'm also interested on this feature

I'd be willing to take some sponsorship to work on this

Something like this
https://gist.github.com/TroyKomodo/0e746b9dd2b5e4618af2a1b92a6efaf9

I'd be willing to take some sponsorship to work on this

We're willing to sponsor this, plz email me at<EMAIL_ADDRESS>

Progress is being made on this front, initial version should be coming this summer

Small update on this front:
I've slightly reworked my approach for this now that I could actually spend time on this (thanks to @carlhoerberg and CloudAMQP support).
I fixed a few bugs in the TCP loop that will be required for this to work properly.
I'm working on handling AMQP "soft" errors (e.g. errors local to 1 channel) to first be able to properly implement recovery of one channel and get it more easily tested.
Once channel recovery is done, I'll move on to AMQP "hard" errors, that are global to the connection, to ensure we properly recover all channels too.
Then the last step will be to trigger the recovery for other errors too (Such as TCP errors).
I will create the associated issues, but the Channel part (which is fundamental for the other parts to properly work) should be done before end of summer. Issuing a passive queue declare on a non existing queue on a channel will probably be the easiest way of testing this, as it triggers a channel error.

I'm sorry about this, last two months were a lot... rougher than anticipated. All current progress can be tracked in #416.
I'm still first focusing on channel recovery, and I'll get to connection recovery once this is stabilized.
Currently, the publishing part works pretty well and I'm confident in the implementation.
I want to hook up some topology recovery (tmp queues recreation and so on) .
The consumer part is trickier, but parts of it are already there.


Setting XAUTHORITY breaks wrappers

Describe the bug
When setting XAUTHORITY (in an desperate attempt to clean up $HOME), the build-fhsenv-bubblewrap function doesn't forward either the ENV variable or the file path to the Xauthority file. Thus, when using apps that make use of FHS wrappers, such as Lutris, they fail to launch due to failing to authenticate with the X server.
Steps To Reproduce
Steps to reproduce the behavior:

Use lightdm as the primary display manager.
Use the following Nix configuration.

services.xserver.displayManager.lightdm.extraConfig = ''
    user-authority-in-system-dir=true
'';

Try to launch lutris via either nix shell or install it via system configuration and then launch it.

Expected behavior
The Lutris app launches as normal and everything works.
Screenshots

Additional context
Reverting these changes, ie. removing that extraConfig key avoids this problem.
Notify maintainers

Don't know who to @ honestly, this is a wrapper issue.
@K900 - via git blame in the relevant wrapper code
Metadata
nikp123@HP-Box ~> nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.3.1-zen1, NixOS, 23.05 (Stoat), 23.05.20230614.ddf4688`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `"nixos-22.11, nixos-unstable, nixpkgs-22.11"`
 - nixpkgs: `/nix/store/bgafiyrvwdrynr2h8p3cm9x32vzj5aww-source`

The issue isn't really that code, it's that we don't forward XAUTHORITY in any special way, it just happens to end up in the right place along with the rest of the home directory on more conventional setups.

So, I was wondering where should we forward that file (if at all)? Like, should we add an argument to every bwrap call? I'm not perfectly sure how to approach this (because I didn't write the original code).

We have two options - either we forward it to a well-known location and force XAUTHORITY to that in the container, or we pass XAUTHORITY through as-is, but add an explicit bind mount for it.

Adding to this discussion, maybe we could grab the XAUTHORITY env variable if it exists and bind that instead?
See: https://wiki.archlinux.org/title/XDG_Base_Directory (scroll down to xorg-xauth)


Fix Ingester timeouts

Remove code that appears to set a timeout but actually does nothing, set a timeout on each call to Push() in the distributor, and set a timeout on entire rule-group evaluation in the ruler.
This is a plausible fix for #672, but see also #679

The Dial can block for a long time, and its a bad place to block.  Can we use grpc.DialContext?

@tomwilkie I don't understand your point.  This Dial is async.  And the calls which will cause a real Dial are now under a timeout.

Has gRPC changed since we wrote this code?  Its used to be the case that would block. IIRC that would happen when it couldn't resolve the targets.

It indeed has changed, see:

https://github.com/sercand/kuberesolver/issues/1
https://github.com/grpc/grpc-go/issues/976

So you can ignore me.  LGTM!


Uncaught Exception: listen EADDRINUSE <IP_ADDRESS>:5672

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.2.4
Time: Sat Jun 04 2016 12:20:32 GMT 1000 (AUS Eastern Standard Time)
Error:
listen EADDRINUSE <IP_ADDRESS>:5672
Error: listen EADDRINUSE <IP_ADDRESS>:5672
    at Object.exports._errnoException (util.js:890:11)
    at exports._exceptionWithHostPort (util.js:913:20)
    at Server._listen2 (net.js:1234:14)
    at listen (net.js:1270:10)
    at net.js:1379:9
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #325


Regex causing unintended mappings of control enhancements

Some of the regex mappings for both Revision 4 and Revision 5 are formatted such that they accidentally map to control enhancements when they should not.
For instance, AC-6|CM-7 will map to all control enhancements of AC-6 because the parser will match the AC-6 side to AC-6 (1), AC-6 (2), and so on. The parser usually avoids this by automatically putting start and end-of-string markers (^ and $ respectively) around the expression. However, in cases where an OR is specified such as the example above it will still match on substrings, causing bugs such as the mapping of enhancements.
The fix in this case is to surround all of ORs like the one above in parentheses so that the start and end-of-string markers apply as intended to the whole expression.
The following are the affected lines for Revision 4 and Revision 5:
attack-control-framework-mappings/frameworks/nist800-53-r4/input/nist800-53-r4-mappings.tsv
| LINE# | REGEX
|-------|--------------
| 1205  | CM-2|AC-4
| 1206  | CM-2|AC-4
| 1217  | IA-9|SC-20|CM-10
| 1221  | AC-17|CM-7
| 1222  | AC-17|CM-7
| 1223  | AC-6|CM-7
| 1224  | AC-6|SI-7
| 1225  | AC-6|CM-5
| 1227  | AC-6|SI-7
| 1233  | AC-6|CM-5
| 1234  | AC-6|CM-5

attack-control-framework-mappings/frameworks/nist800-53-r5/input/nist800-53-r5-mappings.tsv
| LINE# | REGEX
|-------|--------------
| 296   | AC-17|CM-7
| 297   | AC-17|CM-7
| 298   | AC-6|CM-7
| 299   | AC-6|SI-7
| 300   | AC-6|CM-5
| 302   | AC-6|SI-7
| 308   | AC-6|CM-5
| 309   | AC-6|CM-5
| 1188  | CM-2|AC-4
| 1189  | CM-2|AC-4
| 1220  | IA-9|SC-20|CM-10

Script for detecting the regex of mappings to control enhancements:
# Before running, add the control regex to the last paragraph of the mapping description. In practice, replace the line assigning the description in parse_mappings with the following:
# description = row["description"] + "\n\n" + row["controlID"] if row["description"] else row["controlID"]
# Run with the first argument as the built STIX controls file, and the 2nd as the built STIX mappings file

from stix2 import MemoryStore, CompositeDataSource, Filter
from tqdm import tqdm
import sys

# load controls from first arg
controls_src = MemoryStore()
controls_src.load_from_file(sys.argv[1])
# load mappings from 2nd arg
mappings_src = MemoryStore()
mappings_src.load_from_file(sys.argv[2])

# get enhancements (sub-controls)
subcontrol_relationships = controls_src.query([
    Filter("type", "=", "relationship"),
    Filter("relationship_type", "=", "subcontrol-of")
])
# transform to be the IDs
subcontrol_ids = list(map(lambda rel: rel["source_ref"], subcontrol_relationships))

# find mappings from any of these IDs
mappings = []

for sub_id in tqdm(subcontrol_ids, desc="detecting rels with subcontrols"):
    # find all mappings from this subcontrol
    mappings_to_sub = mappings_src.query([
        Filter("type", "=", "relationship"),
        Filter("relationship_type", "=", "mitigates"),
        Filter("source_ref", "=", sub_id)
    ])
    # record the mappings
    mappings.extend(mappings_to_sub)

# print the regex that was used to generate that mapping
for mapping in mappings:
    print(mapping["description"].split("\n\n")[-1])

Script for detecting the regex of mappings to control enhancements:
# Before running, add the control regex to the last paragraph of the mapping description. In practice, replace the line assigning the description in parse_mappings with the following:
# description = row["description"] + "\n\n" + row["controlID"] if row["description"] else row["controlID"]
# Run with the first argument as the built STIX controls file, and the 2nd as the built STIX mappings file

from stix2 import MemoryStore, CompositeDataSource, Filter
from tqdm import tqdm
import sys

# load controls from first arg
controls_src = MemoryStore()
controls_src.load_from_file(sys.argv[1])
# load mappings from 2nd arg
mappings_src = MemoryStore()
mappings_src.load_from_file(sys.argv[2])

# get enhancements (sub-controls)
subcontrol_relationships = controls_src.query([
    Filter("type", "=", "relationship"),
    Filter("relationship_type", "=", "subcontrol-of")
])
# transform to be the IDs
subcontrol_ids = list(map(lambda rel: rel["source_ref"], subcontrol_relationships))

# find mappings from any of these IDs
mappings = []

for sub_id in tqdm(subcontrol_ids, desc="detecting rels with subcontrols"):
    # find all mappings from this subcontrol
    mappings_to_sub = mappings_src.query([
        Filter("type", "=", "relationship"),
        Filter("relationship_type", "=", "mitigates"),
        Filter("source_ref", "=", sub_id)
    ])
    # record the mappings
    mappings.extend(mappings_to_sub)

# print the regex that was used to generate that mapping
for mapping in mappings:
    print(mapping["description"].split("\n\n")[-1])


Android share textbox is small/insufficient for multi-line text

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
The text input area in the Android Share Extension window doesn't make use of all the available space, resulting in a tight/cumbersome experience when sharing multi-line text.
Current experience

Environment Information

Device Name: OnePlus 5
OS Version: 9
Mattermost App Version: 1.23.0. Built from master HEAD @ d28aaf21a8f8924fbc61ecd4db88572fe3c59fc2
Mattermost Server Version: 5.14.0

Steps to reproduce
See video above.
Expected behavior
Utilize all available space below the text input box, up to the Team and Channel selectors.
Observed behavior
See video above.
Possible fixes
Looks like the ScrollView inside ExtensionPost doesn't have flex set to 1. I should be able to supply a fix pretty soon.

Resolved via https://github.com/mattermost/mattermost-mobile/pull/3262


Prevent event times from overlapping

Describe the bug
The spans that tell the time for events are overlapping if there is a scrollbar in the container for events on one particular day.
Expected behavior
The AM or PM text shouldn't be pushed to the next line. This can be achieved in a few different ways, the easiest would be using the tailwind class "whitespace-nowrap" but this then creates a horizontal scroll.
A smaller font could also be used.
Screenshots

Which Branch should this fix be Pulled into?
PR into development

I'm not sure about the smaller font, but let's give it a try. We will be opening up an issue for expandable day cards which should remove the concern of horizontal scroll.


feat: simplify saga auth token config

Just showing a potential way to split the saga dev/prod token storage and simplify the config a bit. This should allow use to do saga login once for dev or prod then don't need to login anymore. Otherwise each time they switch a call between the two environments, they need to login again.
Changes include:

Remove CachedIdentityTokenPath config, but use a fixed token storage path as ~/.config/saga/token.<env>.json
Check host key whether starting with dev- or not to decide which token json file to use.

This should work when used with https://github.com/einride/saga-auth-cli-go/pull/4

I'm a bit late to the game here @liufuyang but I think @alethenorio is right on the money - anything specific to Einride/Saga is better done in a private repo.
We could probably add something to this tool related to handling multiple authentication tokens at the same time - similar to how gcloud does it with gcloud auth list and gcloud config set account - but not tied to our own internal infra.
Let's close this one for now, and re-open if we still want to do something here.


How to change the node version in meteor up and how to check the installed node my mupx on aws ec2 by ssh

Hi,
I am getting error while deploying the meteor 1.3  and meteor 1.4 project to aws ubuntu ec2.
the error complains about the npm version , saying that the npm version should atleast be 2  and it cannot read /bundle/package.json
In the mup.json file i changed the node version to 6.7.0 and others so that i get the npm which is greater or equal to version 2. After changing i again ran mupx setup, mupx deploy but again the same error, and in logs i could see that the node and npm version are not changed
-----------------------------------STDERR-----------------------------------
npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to npm run-script and
npm WARN deprecated semver behavior.
npm ERR! install Couldn't read dependencies
npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: /bundle/bundle/programs/server/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
    npm ERR! System Linux 3.13.0-98-generic
    npm ERR! command "/usr/bin/node" "/usr/bin/npm" "i"
    npm ERR! cwd /bundle/bundle/programs/server
    npm ERR! node -v v0.10.43
    npm ERR! npm -v 1.4.29
    npm ERR! file /bundle/bundle/programs/server/package.json
    npm ERR! code EJSONPARSE
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /bundle/bundle/programs/server/npm-debug.log
    npm ERR! not ok code 0

    => Redeploying previous version of the app

    -----------------------------------STDOUT-----------------------------------

    To see more logs type 'mup logs --tail=50'

    ----------------------------------------------------------------------------

So i thought of manually logging to the aws instance and change the node version over there.
when i logged, firstly when i ran some commands like meteor, node i could see that commands are not found and when i had ran mupx setup it had successfully set up the system.
So next i installed node and npm to the latest version and i came back to my meteor project.
I changed the  mup.json file by commenting on setupNode,because i already have node to my latest version on my aws ec2 ubuntu.
I ran mupx setup, mupx deploy but again the same error.
So the question is how do i actually change my node version for the meteor project and how does mup setup up the environment on the ec2 instance and where on it, as when i logged in i could not see any commad being accepted, So how does the meteor pick up the installed dependencies and from where.

Same here. I think this could be some problem of local node version. When I do:
$ node --version
I get
v7.1.0  //This is the appropiate version for Ionic framework which I also use.
When trying to deploy, at verifying deployment i get the following error:
` x Verifying deployment: FAILED
-----------------------------------STDERR-----------------------------------
 npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
npm WARN deprecated semver behavior.
npm ERR! install Couldn't read dependencies
npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: /bundle/bundle/programs/server/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! System Linux 4.4.0-47-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "i"
npm ERR! cwd /bundle/bundle/programs/server
npm ERR! node -v v0.10.43
npm ERR! npm -v 1.4.29
npm ERR! file /bundle/bundle/programs/server/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /bundle/bundle/programs/server/npm-debug.log
npm ERR! not ok code 0

=> Redeploying previous version of the app

-----------------------------------STDOUT-----------------------------------

To see more logs type 'mup logs --tail=50'

----------------------------------------------------------------------------`


build(nix): add flake.nix

Description
This adds a flake.nix to the repository allowing the creation of dev shell synced with rust-toolchain.toml.

r+


Correct handling of the spread operator in types

Summary
typescript-json does not properly support types with the spread operator (...). It can be used to define a type of lists with at least one element [string, ...string[]], but typescript-json handles it like [string, string].
I don't know how difficult this is to implement, but at least an error message (preferably at compile time) would be nice.
Code occuring the bug
import { is, validate } from "typescript-json";

// const a: [string, ...string[]] = []; //Typescript errors for this one
const b: [string, ...string[]] = ['a'];
const c: [string, ...string[]] = ['a', 'b'];
const d: [string, ...string[]] = ['a', 'b', 'c'];
// the other three typecheck

console.log(is<[string]>(['a']));                       // true, expected true
console.log(is<[string, ...string[]]>(['a']));          // false, expected true

console.log(is<[string, ...string[]]>([]));             // false
console.log(is<[string, ...string[]]>(['a']));          // false, expected true
console.log(is<[string, ...string[]]>(['a','b']));      // true
console.log(is<[string, ...string[]]>(['a','b','c']));  // false, expected true

console.log(validate<[string, ...string[]]>(['a','b','c']));
// {
//   success: false,
//   errors: [ { path: '$input', expected: '[string, string]', value: [Array] } ],
//   data: undefined
// }

// validator expects [string, string] instead of [string, ...string[]]

@janvanbouwel update to v3.3.44, then it would be fixed.
However, one thing important is, this feature is not perfectly supported.
As TypeScript compiler API does not support rest type in its ts.Type class, I had to implement this feature just by analyzing programming script node instances directly, and it can't detect special case like TMP (type meta programming), using rest type of tuple type through conditional generic type.


bug: Does  not list gw

Did you check docs and existing issues?

[X] I have read all the which-key.nvim docs
[X] I have searched the existing issues of which-key.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.11.0-dev-322+ge7020306a Build type: RelWithDebInfo LuaJIT 2.1.1716656478
Operating system/version
Ubuntu 22.04
Describe the bug
press g and wait for which key to pop up
w will not be listed, but gw is a very helpful motion for formatting text to say 80 chars (depends on textwidth).
Add this to the options setup object didnt help either:
        operators = {
            gw = "Wrap lines",
        }

I had to do this to get which key to register it (map gw to gw and add a description):
vim.keymap.set({"", "!"}, "gw", "gw", { noremap = true, desc = "Wrap lines" })

Looking at the entire list of operator it is also missing gf, which is similar to gw. Maybe a good time to also add gc for commenting (although it is in your README.md config.
M.operators = {
  d = "Delete",
  c = "Change",
  y = "Yank (copy)",
  ["g~"] = "Toggle case",
  ["gu"] = "Lowercase",
  ["gU"] = "Uppercase",
  [">"] = "Indent right",
  ["<lt>"] = "Indent left",
  ["zf"] = "Create fold",
  ["!"] = "Filter through external program",
  ["v"] = "Visual Character Mode",
  -- ["V"] = "Visual Line Mode",
}

Steps To Reproduce

Press g
Wait for which key to pop up

Expected Behavior
See something like w -> format text  listed
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "folke/which-key.nvim", opts = {} },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

which-key does not show an exhaustive list of all Neovim mappings.
There's simply too many.

Okay fair enough, but surely adding this to the options object is supposed to add the mapping to which key?
operators = {
    gw = "Wrap lines",
}

To quote your README.md:
  -- add operators that will trigger motion and text object completion
  -- to enable all native operators, set the preset / operators plugin above

Note how it says "all native operators"
Yes there any many mappings, but there arent that many operators, just a hand full of them, and gf and gw are native operators.

seriously, just it go. I'm not going to add every mapping.
You can add it to your own config.

The impression I get is that you think I am trying to get you to add the mapping so I don't have. I understand you have created a lot of plugins, and don't have time to spend time babying people on how to use them. For your information I had already added this mapping before your reply, for anyone else:
    wk.register({
        -- Wrap text (built in) - default is gq, but requires textwidth to be none zero, built in, but does not show up in which key by default
        gw = "Wrap text",
    })

The reason I took the time to document the issue is because I actually thought it was a bug and was trying to help improve the software. I thought whichkey is supposed to help people learn mappings. The readme is technically incorrect  and misleading and was trying to help any future people encountering the same problem. But I see now whichkey is not about learning new hotkeys, but rather it's about documenting which keys you wish to not forget.


Updated icon for Paws for Trello

Hi @miloszfalinski. There are some conflicts. Can you rebase and push?

@zeke sorry about that. Updated!

Thanks 👍


Allow global macro replacement in XML files with XMLPreprocess without #ifdef directives

Allow global macro replacement in XML files with XMLPreprocess without #ifdef directives.  Currently, all macro replacements must be wrapped in #ifdef/#endif comment blocks.  It would be beneficial to have an option where that extra wrapping is not required and macros can simply be replaced globally.

Add new  property with a default value of true.
This work item was migrated from CodePlex
CodePlex work item ID: '7028'
Assigned to: 'tfabraham'
Vote count: '0'

[UnknownUser@7/23/2010]
Resolved with changeset 49122.

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]


Engine refactoring, AWS clients, and compile integration

This is intermediate pr, all of the existing TODOs will be removed in the following ones. This serves purpose to reduce diff of future PRs and also to present the following finished entities: SqsListener, SqsReceiver, S3/DynamoDB/Sqs clients, Engine, changes to compile function.
TODOs: Metrics, verify, Purgatory struct, other lambdas such as polling, versions and so on.
Api folder will be deleted in the future, right now necessary things for compilation where just copied into crates/worker

@varex83 Addressed the comments. Feel free to take a look again. Will merge once all conversation resolved


feat: add 1.3.0 contracts for Hemi Mainnet

Add new chain
Please fill the following form:
Provide the Chain ID (Only 1 chain id per PR).

Chain_ID: 43111

Provide RPC URL for the chain (should be able to query atleast 3+ requests per second for automatic PR check).

RPC_URL: https://8deb9c0b.rpc.hemi.network/rpc

Verified locally - CI verification failed because there is no URL listed on Chainlist.


[GHSA-2phq-ghf8-6586] Jenkins Snow Commander Plugin prior to 2.0 vulnerable to Missing Authorization

Updates

Affected products
CVSS
Description

Comments
Update versions affected according to https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2536

On the version for this one. You've got < 1.10 which would not include 1.10 as an affected version. The text reads 1.10 and earlier which would be <= 1.10 which is equivalent (in practice) to the < 2.0 that we have on file (based on available versions https://mvnrepository.com/artifact/io.jenkins.plugins/embotics-vcommander).
Would you mind if I simply kept < 2.0 for this one?

Would you mind if I simply kept < 2.0 for this one?

Go ahead! Looks like I read it wrong.


[Bug] Can't create an admin user on install if users table already exists

Bug report
What I did
Followed installation instructions and run php artisan backpack:install command.
What I expected to happen
Command finishes without errors and I would be able to create at least one admin user.
What happened
It couldn't add an admin user because there's existing users table with different from expected structure.
Output is the following:
root@5a7e904030ab:/var/www/html# php artisan backpack:install

   STEP 1  Installing Backpack CRUD:

  Publishing configs, views, js and css files ............................................................................ DONE
  Creating users table ................................................................................................... DONE
  Creating CheckIfAdmin middleware ....................................................................................... DONE
  Installing Backpack Generators ......................................................................................... DONE

   STEP 2  Creating an admin:

  │ Quickly jump in your admin panel, using the email & password you choose here.
  │ Currently there are 267 users in the users table.

  Add an admin user? (yes/no) [no]:
 > yes

  Name:
 > elena

  elena's email:
 > [email removed]

  elena's password:
 >

   ERROR  SQLSTATE[42703]: Undefined column: 7 ERROR:  column "name" of relation "users" does not exist
LINE 1: insert into "users" ("name", "email", "password", "created_a...
                             ^ (SQL: insert into "users" ("name", "email", "password", "created_at", "updated_at") values (elena, [email removed], [password hash removed], 2022-09-06 00:53:56, 2022-09-06 00:53:56))
  │ Skipping creating an admin user.

What I've already tried to fix it
Just skipped adding admin user part. I guess it should ask for alternative table name if users already exists.
Is it a bug in the latest version of Backpack?
Yes, just installed.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 8.1.7 (cli) (built: Jun 10 2022 12:23:36) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.7, Copyright (c) Zend Technologies
with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies
with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans
LARAVEL VERSION:
v8.83.16@6be5abd144faf517879af7298e9d79f06f250f75
BACKPACK VERSION:
5.3.11@f418447283bc17df616c6030d6585c59b0557bb3

Hello @elenakondrateva thanks for the report.
From my understanding creating the admin uses the model you defined in config('backpack.base.user_model_fqn') to get the table, by default   it's App\Models\User, and assume that you have a name, email and password columns on that table.
I don't think we should enter that rabbit hole here, I think we should check if the columns we need are in the table and show the option to the user to add an admin, if not present in the table, don't show that option to create a new admin.
What do you think @tabacitu ? After allowing to change the "table", we need to make configurarable email for people that use username, and maybe remove password if people are not using it ... you know where this is going to lead.
Let me know what you think.

Hmm... good catch... Thanks for telling us about it @elenakondrateva .
I agree with you @pxpm , I don't see much we can do here "as a feature", without going into a deep deep rabbit hole. Possible customizations to the users table are infinite. We can test we have those columns there... sure. But should we? Then what do we do? Do we ask for different things (username instead of email, things like that)? No, I don't think we should do that, either.
I don't think we should cater as much to non-standard users tables, to be honest. We can make this experience better by

(a) throwing a nice error message (maybe)
(b) changing the docs so it's clear that creating a user from the command-line will only work for standard users table
(c) creating a separate installation docs section for those who install it on top of existing projects... where that's more clear

But I don't think this should be worked on as "a feature", no.

I've submitted https://github.com/Laravel-Backpack/docs/pull/376 to the docs.
I think the right path here is :

add this note to the docs.

check if user table have name, email, password fields, case not we show a warning: unknown user table structure, backpack is unable to automatically create admin users for you, please manually create them. Not throwing "a nice error" after user had input everything.

alternatively, add the note to the docs, and hide the question completely.

@tabacitu If you think the PR for docs is enough, please close this issue when you merge the docs PR, otherwise let me know what you think about my suggestions above.
Cheers

I say that's enough for now, with the note in the docs. If more people stumble upon this problem, we'll code a solution. Until then, I think we're good.
Thanks for submitting this @elenakondrateva ! If anybody else gets here because they had the problem, please speak up, we want to know!
Cheers!

Hello. I have problem installing Backpack too. I don't get this far that it asks about admin user. It gets stuck on creating users table. I already have a fully functional users table and it should make its own user table like admin_users, but I can't find a way to change this. I wouldn't want to change the name of my users table since there would be so much fixing to do. So is there a way to change the users table name which backpack wants to create in the isntallation process? Or is my problem somewhere else?
Thank you in advance. I'm using Laravel 10.

@Geezter I recommend you follow the manual installation process, and only run what commands you need.
If you already have a users table, I recommend you use that one, and the User model you already have (might want to use it in config/backpack/base.php). The only thing you'd need is a way to differentiate between which users are Admins and which are not. That could be done with an extra DB column, or a package like https://github.com/spatie/laravel-permission - your choice. Just make sure you change the app\Middleware\CheckIfAdmin.php middleware to actually check that the logged in user is an admin.
You can find more information about how to customize the Auth process in this FAQ - https://backpackforlaravel.com/docs/5.x/base-how-to#authentication-1
Hope it helps!


WIP - Graceful handling all messages when receiving poison pill

This should also address https://github.com/anthdm/hollywood/issues/65 ?

looks good to me

Awesome!


Support migrating off NuGet.Server

See https://github.com/NuGet/NuGetGallery/issues/5038#issuecomment-582026271

@loic-sharma Thanks for opening this issue for me! Looking forward to this.
I think, at a minimum, if there was an additional function in the module that worked with V2, that would satisfy the requirements, i.e. creating something like a Move-NuGetV2Packages.

Hi @loic-sharma, @qJake. Thank you both for the feedback. This would be a great addition to the module. In the mean time have you checked out the Move your packages to the cloud page?

@chasewilson In reviewing that page specifically, no, there's nothing inherently wrong there. In fact, that's what I ended up doing (copying our Nuget.Server's datastore locally, enumerating each package with PS and pushing the package up to Azure Artifacts). However this was a manual process (I had to write a bunch of PowerShell and handle edge cases like the version folder saying 2.7.0 but the package file name containing <IP_ADDRESS> so it trips up NuGet, for example).
I think what I was hoping for, is in this article:
https://docs.microsoft.com/en-us/azure/devops/artifacts/tutorials/migrate-packages?view=azure-devops
Having those PowerShell tools support the NuGet V2 API in addition to the NuGet V3 API.


Convert hashing from MD5 -> Bcrypt

Lot's of articles online on why we shouldn't use md5.
https://stackoverflow.com/questions/30496061/why-not-use-md5-for-password-hashing
My suggestion:
https://pypi.org/project/bcrypt/
We will also do penetration testing one of the coming weeks.

Do note, a lot of passwords are already crypted to MD5. Thus there is a need to create a migration system.
We dont know the passwords content by design, so we might want to check if its crypted to MD5 and change it to Bcrypt.

Can be closed once this is merged:
https://github.com/MinitwitGroupI/MiniTwit/pull/65

I forgot to mention Option 4 which is to comb through the md5 passwords existing in our database and convert them.
This can be done by simply looking up their corresponding value in rainbow table and convert that to Bcrypt.
This was an idea I only briefly entertained simply because we don't have setup database data migrations yet.

Fixed up errors. This issue is now resolved.


New addon to support controller input from usb host

A new addon is added to the gp2040-ce named ControllerHostAddon, that enables getting input from USB controllers through the added USB host port in PICO and USB Host addon.
Currently supported controllers are:

Google Stadia controller
Sony Dualshock 4 controller

Thank you for the notes, can you elaborate about your first point a little more?
About the name I actually like the name you suggested and if everyone agrees I would change the name.

Thank you for the notes, can you elaborate about your first point a little more?
About the name I actually like the name you suggested and if everyone agrees I would change the name.

Lines 16-19 in headers/addons/controller_host_listener.h for example. I know why those bitfields are unnamed, but for the sake of having code that can be read & understood, we'd prefer if they were named.

It appears that this is causing main Gamepad inputs to not function when enabled.  Your process() function does not check for changes in your own gamepad state, which continuously overwrites the Gamepad's values with your own. This prevents core functionality from occurring, including being able to use shortcuts on boot to load into bootsel or webconfig.  I would say to only update Gamepad state when:

A supported device is connected to USB Host
The input state from that device has changed since its previous iteration
If the device is disconnected, no changes are made to Gamepad.

This will need to be addressed before we can determine if it's functional enough to merge.

We're going to push this into the next version of the release. We want functionality like this, but this does open a big can of worms. I think moving our keyboard/mouse/gamepad host into a single host controller with host drivers similar to how we do drivers now is going to be the magic.

Reimplemented in PR#1221!


redis.exceptions.ResponseError

File "/lib/python3.5/site-packages/redis/client.py", line 2626, in execute
return execute(conn, stack, raise_on_error)
File "/lib/python3.5/site-packages/redis/client.py", line 2540, in _execute_transaction
self.raise_first_error(commands, response)
File "/lib/python3.5/site-packages/redis/client.py", line 2574, in raise_first_error
raise r
redis.exceptions.ResponseError: Command # 1 (SETEX b'celery-task-meta-84b7aefb-0487-45bf-875b-49cd5087e7e6' {"traceback": null, "status": "SUCCESS", "children": [], "task_id": "84b7aefb-0487-45bf-875b-49cd5087e7e6", "result": 11} 86400) of pipeline caused error: value is not an integer or out of range
exc, exc_info.traceback)))
Above exception is raised when I used this module to configure result backend. The SETEX looks a bit strange that timeout value is not at the 2nd position of the args.
If this module is not used, but use Celery 4.0.2 directly with Redis result backend. The SETEX looks like this:
[(('SETEX', b'celery-task-meta-a11b3664-320d-4b48-a25b-154c61ea9bc7', 86400, '{"task_id": "a11
b3664-320d-4b48-a25b-154c61ea9bc7", "traceback": null, "result": 11, "status": "SUCCESS", "children": []}'), {}), (('PUBLISH', b'celery-task-meta-a11b3664-320d-4b48-a25b-154c61ea9bc7', '{"task_id": "a11b3664-320d-4b48-a25b-154c61ea9bc7",
"traceback": null, "result": 11, "status": "SUCCESS", "children": []}'), {})]

this issue is solved by using redis_class=StrictRedis in Sentinel class.

In order to avoid this error I changed the return value of RedisSentinelBackend.client to return get_redis_via_sentinel(redis_class=type(str('StrictRedis'), (EnsuredRedisMixin, StrictRedis), {}), **params). Is this going to cause any problems down the road for me?

According to this document, there are little differences between Redis and StrictRedis, while SETEX is one of it.
Ref: https://pypi.python.org/pypi/redis
// SETEX: Order of ‘time’ and ‘value’ arguments reversed. //
The reason is try to support backward comparability of redis-py. I haven't do any test in older version, but at least working fine on redis-py v2.10.5 and redis v3.2


ACM-9925: Increase resource requests and limits

In scale test environments (~3600 BMHs and cluster deployments) the memory usage quickly grows to around 500Mi.
Resolves https://issues.redhat.com/browse/ACM-9925

/approve


Adding Prometheus metrics support

Fixes https://github.com/fluent/fluentd-kubernetes-daemonset/pull/97 https://github.com/fluent/fluentd-kubernetes-daemonset/issues/93
Closes https://github.com/fluent/fluentd-kubernetes-daemonset/pull/198
In this PR I am adding:

Basic prometheus metrics support to expose fluentd internal metrics (buffers, errors, etc)
Can be disabled by setting FLUENTD_PROMETHEUS_CONF env var to disabled

I haven't updated all the autogenerated stuff in docker-image/v1.3/* yet so we can see easily what I'm changing in this PR first.
Questions:

Should it be disabled by default?
Have I updated the Makefile correctly?

I have tested it in our environment with the cloudwatch image and it works well 😄

@repeatedly I've addressed that comment and added all the generated template files now

Thanks!
Lastly, could you update image version of Makefile like this commit?
https://github.com/fluent/fluentd-kubernetes-daemonset/commit/9b9aec0b199b93e54e3978794e995fb29104bea5#diff-b67911656ef5d18c4ae36cb6741b7965
This needs to avoid in-place image update.

Lastly, could you update image version of Makefile like this commit?

OK done. I've just bumped each version number. I hope that's correct.

Thanks. just merged. Will rebuild images on docker hub.


Yes - what problem did you think you might have?

Yes - what problem did you think you might have?
Originally posted by @VertiHydro in https://github.com/madMAx43v3r/chia-plotter/issues/56#issuecomment-857460692
I thought the total file size is 330GB.   Temp folder could not be too large.  that's my misunderstood

Ohhh haha yeah no you can make the temp folder as large as you want. It just has to be at least ~210gb if you are using ramdisk, and ~320 if just using ssd.

@joehuchina if that answers your question, feel free to close issues #56 and #57.


Window's could not find setup.bat

I've extracted the file on to my desktop, I tried to set it up but it said Windows could not find setup.bat :/

Can you post screenshots?
Extract them all into a single folder.

my b, heres the screenshot!

Hmm, looks like there's a local issue with your PC. Try your luck on google
for "batch files not being recognized windows".

alright


[Bug]: Cant install using composer require guava/filament-nested-resources

What happened?

How to reproduce the bug
when i use composer require guava/filament-nested-resources:dev-alpha it can be installed now
Package Version
default
PHP Version
8.2.1
Laravel Version
10.10
Which operating systems does with happen with?
No response
Notes
No response

That's because it's an alpha version. If you want to use it (not recommended for production use), you need to have minimum-stability set to dev in your composer config.


Use world aligned UVs for asphalt

As discussed here https://github.com/d-wasserman/Complete_Street_Rule/issues/29
I changed the asphalt UVs to world space to make them align between neighboring shapes as well as fixing the roundabouts.

Not 100% if this might have some other side effects though?

@bneukom - this helps A LOT. This is a very global edit. I am going to take a look this weekend, and try and limit this to the roundabouts. Long term, maybe this global edit is fine. There was a specific reason why TileUV was used, and I don't remember why that was (even though it should be equivalent to SetupProjection).

I tried this just now. I don't think we should do this.
This is with the change:

This is without:

I have tried limited application to just the roundabout, and I am having similar issues. This just seems like it might be more work. I wonder if the cleanupGeometry has something to do with this, but that is for another day.

Going to close this but keep #29 . We need another solution.


Why are result models internal?

Is there a reason why in the last major release you decided to make it impossible to create e.g. a MqttClientSubscribeResult (all setters are internal)?
It just makes it harder to mock things on my side (https://github.com/BEagle1984/silverback).

They are internal to avoid having lots of constructors. In the past we got several bugs where the root cause was a wrong order in the parameters of the constructors. An object initializer is more clear what is being set. But on the other hand the state might be incomplete or wrong now because an object initializer does not guarantee that everything is set. So we are reverting to regular constructors.
But regardless of the way we choose I recommend that you create your own abstraction layer on top of this library with your own event arguments etc. which can be mocked in a way you need. If you want to move to another library you probably do not want to change all your code and tests.

Thank you for the quick reply and sorry, I didn't see the public factory. 😄
My library is the abstraction and I also provide an in-memory mock for the MQTT layer, to allow the users to unit test without an MQTT broker. Partially mocking the MqttClient I cover both needs: testing my library and allowing unit tests.


Add missing sha256 for http_archive deps

Using this attribute follows the recommendation[1] by Bazel and removes warnings output by Bazel in recent versions (these warnings are also propagated to projects using gRPC as a dependency).
[1]https://docs.bazel.build/versions/0.19.1/be/workspace.html#http_archive_args

Note that I did not add a sha256 for BoringSSL. googlesource.com does not produce deterministic tarballs, so http_archive+sha256 is not possible (also see https://github.com/google/gitiles/issues/84).
git_repository+shallow_since would be the more secure version. I could make that change if desired, but I wanted to keep this change as simple/non-controversial as possible.  Plus, this should already fix the warnings in our project since we already import boringssl before running grpc_deps().
I'd understand if you'd rather I fix that up while I'm at it (plus probably adding shallow_since to the two git_repository deps that are directly in WORKSPACE?).

CC @billfeng327

There was one (seemingly unrelated) test failure when they ran last week. I updated past a merge conflict, and my tests appear to have be stuck without running for a few days now. Is there something that could be done to kickstart it (I tried rebasing again just to see if it would get them running)? Or, is it even needed at this point?

Known failures:
https://github.com/grpc/grpc/issues/18637
https://github.com/grpc/grpc/issues/18608


Support cimport from Cython/Pyrex

Cython has, additionally to classic import statements the cimport statements to import native C functions [0].
Currently isort mangles those:
Before:
from .storage cimport Offset, Storage

After:
from .storagecimportOffset import Storage

It would be nice if isort either

Does not mangle those
Even better: sort them properly (TBH: I am not sure what sorting scheme would be best)

[0] http://docs.cython.org/src/tutorial/pxd_files.html

Hi @t-8ch,
Thanks for alerting me to this issue! I agree isort should support these and will make sure to include support for them before the next release. For the short term cython imports will be sorted as if they are normal imports, though in the future depending on response, I could add support for separating these out into their own sorted section.
Thanks!
~Timothy

Am curious what the status is on this issue. Given its age am interested to know if there are other developments here that might not be readily apparent to an outside observer (like myself). 🙂

Cython and cimport support is complete in development and will make it's way out with the next release (5.0.0).
Thanks and sorry for the long delay!
~Timothy


fixed rockpi4 pwm issue

somebody test rockpi4b pwm with python script,but he got some error message following:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/mraa.py", line 1103, in init
this = _mraa.new_Pwm(pin, owner, chipid)
ValueError: Error initialising PWM on pin
The reason for this problem is that some member variables isn't initialized

@brian541 You need to rebase this PR with master. @Propanu When are we locking this repo in favour of eclipse org?

hi,I'm a newcomer,please check again

@tingleby
could you maybe also merge this pull request?
I don't see any problems

@bootsy52 Could you check the ECA status on the email you used on the commit?

@tingleby this is not my commit I just stumbled on it as it is still open, this commit is from @brian541
However to make things easy I can also add these changes to my branch and open a pull request

@tingleby i'm sorry,I didn't confirm the status of the commit in time.
what do i need to do now??

@brian541  you have to sign the ECA to do this register and login to Eclipse Foundation
https://accounts.eclipse.org/user/login?destination=legal/eca/validation/22796
It is important that you use the same E-Mail Address as you used in your commit, so that this commit so that the automatic process can verify this commit. Fortunately you just to have to do it once as this project has moved to the Eclipse Foundation in the meanwhile.

@bootsy52 thanks for your help, @tingleby could you merge this pull request?


Create Rating Index in Ratings Tab

Description

The user should be able to see a list of GM ratings in the ratings tab.
Possible Implementation

The user can filter event ratings or all ratings.
Out of scope

Requirements / Restrictions

Additional Resources
Mockups

Hey team! Please add your planning poker estimate with ZenHub @AnnieTran13 @willyyhuang @luigibesani


Build failing due to missing cudaConfiguration.h

The problem occurs in Windows, see here, and in MacOS, see here, when building RTK in ITK.

Duplicate of  #655.