Make Ghost Editor compatible with showdown latest

turned a bunch of options on in showdown to set a "ghost" flavor markdown, similar to GFM
custom extensions live in their own repo, with proper tests against showdown
updated dependencies in package.json
should fix a number of issues and bugs in markdown parsing

https://github.com/TryGhost/Ghost/pull/7922
Related to https://github.com/TryGhost/Ghost-Editor/pull/7

Coverage remained the same at 81.167% when pulling c57da2dd88af83f2f1ba7b60278d4baa86fe6d2b on tivie:master into d9e54c7c83680c39b202d45dfc0abb43ec9d95f0 on TryGhost:master.

Closing this as per comments on the associated Ghost PR https://github.com/TryGhost/Ghost/pull/7922.


Update to the latest version of SwiftFormat

I'm sorry it's so big, but it fixes inconsistencies in argument and parameter formatting that we previously had. brew upgrade is recommended for this to work on your side 🙂

Fails

:no_entry_sign:

Sources/TokamakCore/App/Scenes/SceneBuilder.swift#L25 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

:no_entry_sign:

Sources/TokamakCore/Shapes/Path.swift#L404 - File should contain 400 lines or less: currently contains 404 (file_length)

:no_entry_sign:

Sources/TokamakCore/Tokens/Font.swift#L15 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

:no_entry_sign:

Sources/TokamakCore/Views/Containers/List.swift#L440 - File should contain 400 lines or less: currently contains 440 (file_length)

:no_entry_sign:

Sources/TokamakCore/Views/Containers/TupleView.swift#L51 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

:no_entry_sign:

Sources/TokamakCore/Views/ViewBuilder.swift#L91 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

  Generated by :no_entry_sign: Danger Swift against afca215454e9c10467053e110185cd5a0ceb747d

Fails

:no_entry_sign:

Sources/TokamakCore/App/Scenes/SceneBuilder.swift#L25 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

:no_entry_sign:

Sources/TokamakCore/Shapes/Path.swift#L404 - File should contain 400 lines or less: currently contains 404 (file_length)

:no_entry_sign:

Sources/TokamakCore/Tokens/Font.swift#L15 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

:no_entry_sign:

Sources/TokamakCore/Views/Containers/List.swift#L440 - File should contain 400 lines or less: currently contains 440 (file_length)

:no_entry_sign:

Sources/TokamakCore/Views/ViewBuilder.swift#L91 - SwiftLint rule 'line_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

  Generated by :no_entry_sign: Danger Swift against 3a9a9a4dd0a5b5d59277311fca4125d9adf5c359


Keyboard input issues

[ ] One thing I mentioned on irc already is that there is a POST request every time you press a key, which is probably not the most efficient.

[x] Every time you press a key, it creates a new uinput device. This fills up the systemd journal with entries like this:
  Oct 16 02:18:03 ev3dev kernel: input: py-evdev-uinput as /devices/virtual/input/input656

Apparently I have pressed a key 655 times. Also, this confuses ev3devKit because the device disappears so quickly. This leads to errors in the brickman log since it uses ev3devKit.

[ ] When I tried to use the keyboard shortcut of CTRL + +, there was an unhandled exception, presumably because of the CTRL key. It would be nice if CTRL and ALT keystrokes were still handled by the browser.

The uinput issue is fixed.
Still would be nice to not eat CTRL key presses.

The uinput issue is fixed.
Still would be nice to not eat CTRL key presses.

Example of unhanded exception when typing CTRL + W or something like that.
written 324
<IP_ADDRESS> - - [01/Jan/2016 02:44:06] "POST /send.key HTTP/1.1" 200 -
written 325
 ----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 41387)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
<IP_ADDRESS> - - [01/Jan/2016 02:44:06] "POST /send.key HTTP/1.1" 200 -
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 41388)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "./server.py", line 63, in do_POST
    KEYBOARD.send_key(int(jskc), int(state))
  File "/home/robot/ev3dev-web-remote/keyboard.py", line 109, in send_key
    self.handle_one_request()
    self.uinput.write(evdev.ecodes.EV_KEY, js_map[js_keycode], 1 if state else 0)
KeyError: 61
----------------------------------------
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "./server.py", line 63, in do_POST
    KEYBOARD.send_key(int(jskc), int(state))
  File "/home/robot/ev3dev-web-remote/keyboard.py", line 109, in send_key
    self.uinput.write(evdev.ecodes.EV_KEY, js_map[js_keycode], 1 if state else 0)
KeyError: 61
----------------------------------------
written 326
<IP_ADDRESS> - - [01/Jan/2016 02:44:06] "POST /send.key HTTP/1.1" 200 -
written 327

Example of unhanded exception when typing CTRL + W or something like that.
written 324
<IP_ADDRESS> - - [01/Jan/2016 02:44:06] "POST /send.key HTTP/1.1" 200 -
written 325
 ----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 41387)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
<IP_ADDRESS> - - [01/Jan/2016 02:44:06] "POST /send.key HTTP/1.1" 200 -
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 41388)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "./server.py", line 63, in do_POST
    KEYBOARD.send_key(int(jskc), int(state))
  File "/home/robot/ev3dev-web-remote/keyboard.py", line 109, in send_key
    self.handle_one_request()
    self.uinput.write(evdev.ecodes.EV_KEY, js_map[js_keycode], 1 if state else 0)
KeyError: 61
----------------------------------------
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "./server.py", line 63, in do_POST
    KEYBOARD.send_key(int(jskc), int(state))
  File "/home/robot/ev3dev-web-remote/keyboard.py", line 109, in send_key
    self.uinput.write(evdev.ecodes.EV_KEY, js_map[js_keycode], 1 if state else 0)
KeyError: 61
----------------------------------------
written 326
<IP_ADDRESS> - - [01/Jan/2016 02:44:06] "POST /send.key HTTP/1.1" 200 -
written 327


2.1.1

Bumping version 2.1.1

Pull Request Test Coverage Report for Build 521728406

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 521719801:
0.0%

Covered Lines:
232

Relevant Lines:
232

💛  - Coveralls

Pull Request Test Coverage Report for Build 521728406

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 521719801:
0.0%

Covered Lines:
232

Relevant Lines:
232

💛  - Coveralls


To Do Application is React Js

i would like to make a To Do Application in React Js under JWOC.

which react project are you talking about?
Mention it's name, description and working behaviour. @singhcodes26

which react project are you talking about? Mention it's name, description and working behaviour. @singhcodes26

Under React-js projects we have a file called Basic , which I thought will contain basic react project. So I was thinking if I can add a basic project under it like a To Do Application.

Ok, But follow the contributing guidelines and change the title of the issue with the name of the project like To-Do-Application in ReactJS.
Assigned to you. @singhcodes26

Ok, But follow the contributing guidelines and change the title of the issue with the name of the project like To-Do-Application in ReactJS. Assigned to you. @singhcodes26

okay

If it's not completed yet can i work under this issue?

@singhcodes26 what about your work? Are you still working on it?

@singhcodes26 what about your work? Are you still working on it?

it will be completed by today

hey is it still open to work?

@Rishav9911 Assigned to you. Follow the contributing guidelines carefully.

@singhcodes26 why have you closed this issue? Warn for the next time, this will debarred you from JWOC

That happened by chance I opened the link on mobile so by chance close this issue got clicked. And why are you threatning me to get debarred from JWOC? this already happened in another issue , someone created and closed it , you didn't warned him.
Look over yourself as a maintainer , you took whole 3 days to even quote a reply. So think over yourself first.

@Rishav9911 what about your work? how far it has reached?

hey actually i was working on it but am unable to complete it.  I won't be able to continue futher.

@Avdhesh-Varshney I have completed the project, if you would agree I could complete this project.

@Avdhesh-Varshney i have made the to do application , if you would agree I could complete this project.

please assign it to me under JWOC'2024.

@kaif969 Assigned to you. Follow the contributing guidelines carefully.

Bishal Karmakar
https://github.com/Bishal-35
I want to work on it under JWoC'24

Bishal Karmakar
https://github.com/Bishal-35
I want to work on it under JWoC'24

Bishal Karmakar
https://github.com/Bishal-35
I want to work on it under JWoC'24

Bishal Karmakar
https://github.com/Bishal-35
I want to work on it under JWoC'24

@Bishal-35 Assigned to you. And don't spam in this way, drop the message and wait for my response for 24 hrs.


Update create-or-configure-an-availability-group-listener-sql-server.md

@sidesw1pe : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the change from "cluster object name (CNO)" to "cluster name object (CNO)"; merging. Thanks @sidesw1pe


Expose health check as gRPC endpoint in services

pkg/client/connection.go includes an ArmadaHealthCheck() function -- but this appears to invoke the Armada /health endpoint via REST.
For this ticket, make health an endpoint we can invoke with the gRPC client, for both Submit and Event services.

Hey team! Please add your planning poker estimate with Zenhub @dejanzele @jayofdoom @kannon92 @richscott @suprjinx


Add missing trailing commas and Indendation

added trailing commas and indentation.
Fix for #112806

Thank you for contributing. Unfortunately this change does not meet our standard of quality so I am closing it.


Migrate front-end to current back-end terms

We made some back-end changes to terms we use to describe various concepts. Front-end should migrate as well.
e.g. fips_id => id, election => ballot or election_day, contest => office_election or referendum, etc...

This should happen ASAP. @adborden Do you want to try this?


TOB-FUEL-2: Uninitialized blocks could be seen as finalized

Description
Blocks that have not been committed yet could be seen as finalized.
If the Commit struct stored in _commitSlots is uninitialized, commitSlot.timestamp will default to zero and the boolean expression indicating whether a block is finalized given the commit’s timestamp will evaluate to true.
Figure 2.1: The finalized function in fuel-v2-contracts/contracts/fuelchain/FuelChainState.sol
101    /// @notice Checks if a given block is finalized
102    /// @param blockHash The hash of the block to check
103    /// @param blockHeight The height of the block to check
104    /// @return true if the block is finalized
105    function finalized(bytes32 blockHash, uint256 blockHeight) external view
whenNotPaused returns (bool) {
106       uint256 commitHeight = blockHeight / BLOCKS_PER_COMMIT_INTERVAL;
107       Commit storage commitSlot = _commitSlots[commitHeight % NUM_COMMIT_SLOTS];
108       require(commitSlot.blockHash == blockHash, "Unknown block");
109
110       return block.timestamp >= uint256(commitSlot.timestamp) +
111 }

However, in this case, the provided blockHash parameter must equal the default value of Commit.blockHash (bytes32(0)) for the function to pass the require-check on line 108.
Recommendations
Short term, include a check that returns false when commitSlot.timestamp equals zero.
Long term, carefully consider all edge cases, such as when checking for a finalized block when it has not been committed yet.

Decided not to fix


corskilla

You are applying for validated OSS program

[X] My project is OSS licensed and open to public. (Must have LICENSE file)
[X] My project is has more than 5 ⭐stars on Github, which is the required for this program.

Repository URL to your project
https://github.com/Gabriel12548891/cors-anywhere
URL to your website
No response
Expected Quota of usage
5654
Details
- Category:
- License:
- Date of release:

Anything else?
No response

Sorry to let you know that your repo does not meet the requirements.


Add Expr support to QPY for conditions and targets

Summary
This adds support to QPY for the current Expr nodes, for all instruction parameters and conditions.  The Expr tree is written out to the file in a sort of forwards Polish notation; each node has a type code and header, followed by a type-code-specific number of Expr children.
While only IfElseOp.condition, WhileLoopOp.condition and SwitchCaseOp.target are allowed to have these nodes in Terra's data model right now, the QPY serialisation does not need to have this arbitrary restriction, and it's much easier just to write the general case.
The backwards-compatibility guarantees of QPY are now brought to bear on the Unary.Op and Binary.Op enumeration values. They were already marked in the source code as their values needing to be part of the stable public interface, and their use in things like QPY is the reason why.
Details and comments
Close #10289.  Depends on #10359.  Changelog as part of #10331.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

792 of 876 (90.41%)  changed or added relevant lines in 26 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.04%) to 86.024%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/classical/types/ordering.py
36
37
97.3%

qiskit/circuit/controlflow/switch_case.py
9
10
90.0%

qiskit/qpy/binary_io/circuits.py
22
23
95.65%

qiskit/dagcircuit/dagcircuit.py
20
22
90.91%

qiskit/circuit/classical/expr/visitors.py
65
68
95.59%

qiskit/circuit/classical/types/types.py
44
48
91.67%

qiskit/circuit/classical/expr/expr.py
102
111
91.89%

qiskit/dagcircuit/dagnode.py
79
91
86.81%

qiskit/circuit/classical/expr/constructors.py
142
155
91.61%

qiskit/qpy/binary_io/value.py
102
120
85.0%

Files with Coverage Reduction
New Missed Lines
%

qiskit/circuit/controlflow/switch_case.py
1
94.08%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
1
90.39%

crates/qasm2/src/lex.rs
3
91.65%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
72245

Relevant Lines:
83982

💛  - Coveralls

Now rebased over main.


[SH] Support for session-scoped TEMP tables

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/recokw8S2pkhwhPP2
Description: CockroachDB now supports passing the modifier TEMP or TEMPORARY to CREATE TABLE. This indicates that the table should be dropped when the session ends. The ON COMMIT clause of CREATE TEMP TABLE (txn-scoped temp tables) remains unsupported.
Like other databases, using the unqualified table name for the remainder of the session would reference the temporary table -- an existing, non-temporary table of the same name would need to be accessed using a qualified name.
It is too hard for developers to use CockroachDB with Postgres drivers and ORMs. There are three main reasons for this:

Bugs in our implementation
Missing PG functionality
Different underlying architecture

Conceptually, this is hard for developers to understand because we use the same wire protocol as Postgres. Developers will interact with CRDB and Postgres in the same manner but have different results based on bugs in our implementation, missing functionality, or the underlying differences in the architecture.
Temporary tables are commonly used by third-party tools to implement their functionality or test its capabilities within their test suites. Examples include the Java ORM Hibernate.
Team: Andrew Woods, Jordan Lewis, Arul Ajmani
Github Tracking Issue: https://github.com/cockroachdb/cockroach/issues/5807 https://github.com/cockroachdb/docs/issues/5959

From release notes:

The new global default cluster setting sql.defaults.temporary_tables.enabled can be used to enable temporary tables. [#43816][#43816]

Added support for temporary view creation, if temporary tables are enabled. Temporary views disappear at the end of a connection. Views that depend on temporary tables are automatically temporary. [#44729][#44729]

From release notes:

If temporary table creation is enabled, users now have the ability to create temporary sequences as well. [#44806][#44806]


PrivateMessageRecorderCapabilities protected record method

PrivateMessageRecorderCapabilities should have public "record" method to be compatible with RecordsMessages interface.

Well, actually ;) you shouldn't use the trait for instances of
RecordsMessages but only for instances of ContainsRecordedMessages. If
you want to publicly record messages, there is a class for that already.
With Symfony you can inject the event_recorder service.
Op 5 jun. 2015 20:54 schreef "Lorenzo"<EMAIL_ADDRESS>
PrivateMessageRecorderCapabilities should have public "record" method to
be compatible with RecordsMessages interface.
—
Reply to this email directly or view it on GitHub
https://github.com/SimpleBus/MessageBus/issues/29.


feat(console): support "no prompt" mode

This pull request implements a "no prompt" mode. This mode can be enabled by passing the --no-interaction flag to any command.
That mode disables all user interactions with the console. Instead, default values will be used when provided, otherwise null or empty arrays will be returned by input components.
To support this mode, some components and their static version needed a new default option, which this pull request includes.
Additional changes:

The Console interface has a new disablePrompting and disableTty method to, well, disable prompting and TTY programmatically.
The interactiveSupported is renamed to supportsTty, and supportsPrompting has been added. Both have been added to the interface and made public.
The ConsoleTester class has a new withoutPrompting method to ease testing.
I also added a dd method to ConsoleTester, which is quite unrelated but I always try to reach for it.

[!NOTE]
This depends on https://github.com/tempestphp/tempest-framework/pull/660, which should be merged first. I'll keep this pull request as a draft until I can rebase it.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

66 of 83 (79.52%)  changed or added relevant lines in 13 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.05%) to 82.241%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Tempest/Console/src/Initializers/ConsoleInitializer.php
1
2
50.0%

src/Tempest/Console/src/Testing/ConsoleTester.php
6
12
50.0%

src/Tempest/Console/src/GenericConsole.php
15
25
60.0%

Files with Coverage Reduction
New Missed Lines
%

src/Tempest/Console/src/Initializers/ConsoleInitializer.php
1
55.88%

src/Tempest/Console/src/GenericConsole.php
3
75.0%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.05%

Covered Lines:
7053

Relevant Lines:
8576

💛  - Coveralls

I merged #660, feel free to rebase, I'll review afterwards, but I'm fairly confident this can be merged 👍

Let's go!! 🌊


Feat: Enhancing testimonials page

Describe the feature
Increasing the width of the testimonials page to fit 3 customer reviews. The current testimonial design is displaying 2 reviews and cutting off the next reviews decreasing the UI.
Add ScreenShots

Record

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

Hello @Amruta7203!
please fix the asssigned issues first and let me know when u are done with them first.

Could you please assign that issue to me?

@himanshu-03 I am done with the previous issue.. Pls assign this to me


Add missing properties

ResponseStatusCode and HttpCookie

Docs Build status updates of commit 14aaaad:
:warning: Validation status: warnings

File
Status
Preview URL
Details

biztalk/core/http-adapter-property-schema-and-properties.md
:warning:Warning
View
Details

biztalk/core/http-adapter-property-schema-and-properties.md

Line 45, Column 1: [Warning: table-syntax-invalid - See documentation] Table syntax is invalid. Ensure your table includes a header and is surrounded by empty lines.

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

Docs Build status updates of commit 323a6d3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/http-adapter-property-schema-and-properties.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Improve consistency between bucket storage provider test helpers

This is a little cosmetic PR to improve the consistency between our GCP and S3 test helpers.

Part of the work for #561.


Implementation] text area set attribute() api methods

Closing PR as a more in-depth review of this control will address these changes.


JmxReporter's JmxGauge returns Object which does not allow graphing

I have some caches I'd like to report metrics to JMX.  I'm using a gauge which is a great way to grab the metrics from the cache.  However, in Java Mission Control the "Visualize..." menu option is disabled.  This means a gauge can't be visualised.  Obviously not a show stopper, but would be nice if this could be supported.

I was able to copy the JmxReporter and hack a JmxLongGauge that returns long instead of Object.  Works, but doesn't feel like the best solution.  Will do for now.
        @Override
        public void onGaugeAdded(String name, Gauge<?> gauge) {
            try {
                if (filter.matches(name, gauge)) {
                    final ObjectName objectName = createName("gauges", name);
                    Object object = gauge.getValue();
                    if (object instanceof Long) {
                        registerMBean(new JmxLongGauge(gauge, objectName), objectName);
                    } else {
                        registerMBean(new JmxGauge(gauge, objectName), objectName);
                    }
                }
            } catch (InstanceAlreadyExistsException e) {
                LOGGER.debug("Unable to register gauge", e);
            } catch (JMException e) {
                LOGGER.warn("Unable to register gauge", e);
            }
        }


feat(navbar): responsive

closes #24

@Im-Kunal-13 your fork repo is way behind this repo, there's a lot that has been changed in the navbar
so it's very difficult to resolve those conflicts
I suggest you sync the forked repo, make a git pull and do changes then
sorry


Use an app to add automatic tags to Issues or PRs

Add some automatic tags to newly created Issues or PRs would be very useful to organize SDK workflow. Use automation tools, filtering, etc...
Trafico is used by Berty
There is also Auto-labeler

It may be interesting to look for a bot that can change the status of an issue in the SDK Project from doing to Need review when a linked PR has a requested review

To resume, here are the tasks:

[] a bot to add the related label for each issue opened. For example, if I open an issue on the SDK ruby, the bot adds the label SDK Ruby to this issue.
[] a bot to pass an issue from Doing to Need Review in the SDK board when we add a reviewer to the linked PR.

@eskombro do you think you need more investigation or this issue can be started? (I don't say it should be done immediately, but just to know the state of this issue).

I have been doing some research and haven't find any option for the second task. The only option might be building our own app with probot but seems a little bit overkill. Maybe our approach is wrong, its true that an issue doens't need review, does it make sense to have that workflow? Maybe it makes more sense ifNeed review has the PR and not the issue.
The first task is good and I whink we all agreed on it, so I can start implementing it if everybody is ok!

Ok, so, I understand that the second task (bot to pass an issue from Doing to Need Review) might be overkill. We'll discuss that in a meeting. In any case if we finally decide to implement it, another issue will be open, I think it's better to separate them.
So, the final task:
A bot to add the related label for each issue opened. For example, if I open an issue on the SDK ruby, the bot adds the label SDK Ruby to this issue.

can start, after the approval of @bidoubiwa 🙂

I approve this proposition:

a bot to add the related label for each issue opened. For example, if I open an issue on the SDK ruby, the bot adds the label SDK Ruby to this issue.

Now about the second proposition, after some reflection, I think @eskombro makes a good point.
Maybe, need review should only contain PR's. Those PR's could be linked to issues from the doing column. That way, when we close the PR, both the PR from the need review column and the associated issue(s) will be closed automatically.
Now of course the way we could automate that is that whenever a pull request is made on one of our integrations it is linked to the need review column.
I know that this makes it possible for everyone to create a PR and have it added to this list, which is maybe a bad thing in case we grew.
I suggest we still go for this solution until we have grown to a size where this should be reconsidered. Also, a positif aspect of doing this is that we know what is happening in the other SDK's at any time, even if no issues are linked to what is going on.

I don't like the idea of duplication on the same board: the PRs are already accessible via the issues. We are going to have more and more issues, I'm afraid the dashboard becomes unreadable if we have the issues AND the PRs in the same display.
Plus it means adding label + project for each PR.

I close this issue since we don't really use a workflow process with the GitHub Projects anymore.
I will open an accurate new one when we will decide exactly what we want for https://github.com/orgs/meilisearch/projects/3


Recover earnings from each trades

Hello , I would like to know how to recover the gains from each trades

for general questions you must ask in the binance API telegram


Linearize

I think adding the ability to make calls to linearize in MATLAB to linearize a T-MATS model in Simulink would be quite beneficial.
Is this already possible or has anyone implemented this? Otherwise I can take a look and see if I can come up with a solution for people to use.

I currently use T-MATS and got some results.

If i use linearize block in T-MATS library, i get ABCD vectors, that differ from matlab linearize function
Results is sensitive with initial condition and convergence problem too
If i use frequency estimation model (my custom code) in matlab to estimate frequency response (bode plot) i got another result from multi-sine input signal
So now i have 3 different results with 3 different frequency response. And experimental results show that third method is more appropriate.

Initial condition dependence is expected due to gas turbines being highly non-linear as a function of their state (quite well contained by spool speed, altitude, mach number and dT).
The process which I currently use is to create a small perturbation around the operating point I want the linearization around (established separately using a steady state model and known ambient condition + mechanical speed) and then use system identification to pull the linear model from the results. This is tedious and requires an external toolbox, however, so I'd like to avoid it if possible.
I'd probably look into taking a snapshot of the model to get opspec data, but one might also be able to use operspec and just remove the solver block from the loop and get MATLAB to solve for the input states to try and force the flow errors to 0... I'd have to investigate though.
One would then attempt to linearize around that point. I'd then compare this to the linearization achieved from the sysid approach and ensure cross-validity there. I'm not sure how well the linearize function will play with the do-while structure of T-MATS, though, so it might not be possible and perhaps a more custom approach would need to be developed.

I have not used the Linearize block from a matlab script.  Though I would think the sim command should work for this purpose.
Good comments on the linearization.  It is also important to remember that the state space representation of a system is not unique. So it is possible that each method is generating ABCD matrices that look different, but operate the same.

@chapman178 - seconded RE state space representation not being unique. However, if he's getting frequency-domain responses that differ notably using the various methods then something is likely amiss.
Regarding linearizing from MATLAB. It becomes quite important when one wants to do gain-scheduled controller designs, because working directly in Simulink for this purpose becomes rather unwieldy and automating the designs from MATLAB becomes a lot more attractive.
Presumably you've not tried the linearize command (https://www.mathworks.com/help/slcontrol/ug/linearize.html) with the current do-while architecture? I'm wondering if it would struggle and just produce something not physically meaningful by not allowing flow matching to be achieved.

You know,  when developing that block, I looked at the linearize command first and don't recall exactly why we didn't use it.
Maybe it was in the controls toolbox and we wanted T-MATS to work w/o any extra toolboxes,  or perhaps (like you said) the do... while doesn't work well with it.  Or maybe we just wanted more direct control over what it was doing.
Whatever the reason, it would be an interesting to try it out and see if it works with a simplified simulation.

Certainly might be interesting. I'll give it a look on my side when I find a moment and report back too.
What would the current recommendation be for automated linearization? It seems you allude to a very similar process to what I've been doing in the AGTF30 repo. How is it done there?

I have an example and hope it will answer the question about linearize block in T-MATS.
Example is about single spool turbojet. Because T-MATS only uses one differential equation with shaft speed. Mathematically, it will result in first order transfer function.
If rotational speed is output. We know that H(s)=CB/(sI−A)+D. State space has different values of ABCD matrix, but in this case, CB/A = DC gain, A is pole location, so only CB varies, and D=0. But Linearize block in T-MATS results D matrix isnt zero.

Complex block structures inside engine model, and many with discontinuities may affect linearize results  of linearize matlab function. By default, linearize in matlab is exact linearize, individually linearizes each block in your Simulink model and combines the results to produce the linearization of the specified system. Maybe mathematical pertubation method is alternative option i will try.

Blue,
Yes, that answers the question.  Also reminded me of why the block was implemented in the way it was.  Essentially, In this problem we know we want one state per shaft. It was found that the linearize function would adjust the number of states automatically to the system and sometimes it was found that the calculated number didn't line up with the number we knew.
As for the D matrix thing. Yes, I would think D should be 0 in this case. The method works by perturbing each state and watching the outputs. U (if U is fuel only) would not directly effect the speed so should be zero. There may be an issue with the problem setup.  My first guess would be that you have a state in there somewhere. The linearization block needs to be run on a steady-state system, so it needs to be in either a do .. while loop,  or a simulink model that has no states. It could be that there is a state on the shaft and the linearize block is iterating with the active integrator. Just a guess,  w/o looking at your setup. If i get some time I will take a look at the block see if i can re-create your issue.
Thanks,
-Jeff

The number of states isn't really too much of a physically meaningful parameter for the most part in the MATLAB/Simulink way of doing things (this should be fairly obvious given how prolific functions like minreal() are) and are essentially just a means to an end to generate correct time/frequency domain models.
I'll have a look at the method you've used - I don't think I've actually used your linearize functionality before. Perhaps I was using an older T-MATS that didn't include it (and have stuck with it because I transitioned everything to SI units... speaking of which. Can I add a pull request that adds this feature to your block masks?).
I do think linearize _might work and warrants investigation. But if your custom method is easy to automate then I don't really see any problems going that route.
Interestingly, if one looks at something like y = [N, EGT], u = Wf, you do see some feedthrough for the EGT because fuel flow essentially results in an instantaneous rise in temperature from the combustor outlet. This isn't physically true (there's usually a slight delay), but is pretty close to true. EGT also exhibits behaviour that certainly cannot be captured with a single state model.
So while the models might only explicitly have a single state (shaft speed), they implicitly can be higher order due to the solver and flow matching impacts. Just something to keep in mind.


Create collapsible "Private messages" section in left sidebar

At present, private messages are collapsed in the left sidebar, unless the user is in a private message narrow. This has a few down sides:

Getting to a PM conversation generally requires multiple clicks.
It's not immediately clear who send you a new private message, which is important for determining whether one needs to read it right away.
It can be hard for new users to figure out how to view and send private messages.

In order to address this, we should try making a private messages section in the left sidebar that is open by default. Specifically:

Make a Private messages section just above STREAMS in the left sidebar that is open by default.
In the new PMs section, use the same algorithm we use for stream topics to decide how many conversations to show.
Make the PMs section collapsible, similar to the collapsible sections in #20072. The open/collapsed state should be sticky as the user navigates around Zulip, closes and reopens the window, logs out and in, etc.

Note that this will likely require experimentation for us to get it right. To avoid misdirected effort, please post screenshots in the #design stream on chat.zulip.org for feedback. Also, if (3) can't be implemented quickly, we can test the experience in chat.zulip.org without waiting for it to be completed.

@zulipbot claim

@zulipbot  claim

@zulipbot I'm still working on this issue.

@zulipbot  claim

@zulipbot  claim


WIP: Remove Sink and Handler

In our code base we recognized that we are working
a lot with Observable and Observer/Subject from Monix. It is cumbersome to always wrap these in Handler and Sink just to use them with outwatch.
I think many people already know the Monix Api and should not need to learn a new one with the same functionality.
What do you think?
Please provide feedback especially for MonixOps: https://github.com/OutWatch/outwatch/pull/203/files#diff-99d5d9668fb74825f242be5dccf96340

@mariusmuja what do you think of this PR? Does it break a lot of code for you, because it removes Pipe?

I use the Pipe/PipeOps almost exclusively in outwatch-extras and all my outwatch code depends on outwatch-extras, so yes, kind of. On the plus side I only need to update outwatch-extras.

@mariusmuja I just brought back the operators and made the naming more Monix compatible, so the transition should be easier.


[Actions] Create generate-image-wall-on-demand-for-anyone.yml

🐢 What's new:

Support any user get their image wall results by running action workflow, attachments are saved for 1 day only

🚪 Entry:
Actions --> generate-image-wall-demo-for-anyone --> run workflow --> input douban id.

感谢！


User-Specific Metrics

I have a question about adding basic metrics to the table statistics in the E3SM-Diags output.  It occurred to me that using the python interface may make it possible for users to define metrics they are interested in.  When I used to use the AMWG-DIAGS package I had to hard-code in some metrics for the table output that I was interested in and I'm curious if there is a straightforward way to do this with E3SM Diags.
In particular I would like to have the table provide the min and max values that are already available in the figures (in addition to the current set of Mean, Mean Bias, RMSE, etc.).  For my purposes this lets me also get a range for the variable.  I want to save the time from going through all the figures and manually writing this information myself and just be able to grab it from the table.csv file.
I can imagine that we don't want to bog down the "Table" data by adding lots of columns, but if it were possible to request certain values (like min, max, range) or add those ourselves it would be pretty awesome.

@AaronDonahue : for every lat-lon plot generated, a json file is saved that includes metrics, including min and max. One option would be to parse these files.

@golaz, ok cool.  I will work on setting something like that up to see if I can easily extract the information I need.  Thank you for the response.


Support pausing redshift cluster

SUMMARY

Support pausing redshift cluster
ISSUE TYPE

Feature Idea

Additional context
Add any other context or screenshots about the feature request here.
I might be able to submit a pull request

Just released a new version including redshift scheduler.


CI: Adds an Ubuntu build test using system dependencies (catch2, yaml-cpp)

Missing: fmtlib (needs a fix).
maybe also test on Arch Linux?

For arch linux you just need to add in the dockerfile "catch2 fmt yaml-cpp", when you want to test it with arch too.

For arch linux you just need to add in the dockerfile "catch2 fmt yaml-cpp", when you want to test it with arch too.

Thinking about it, maybe embedded should remain default. I also had trouble enabling system deps on Ubuntu LTS since only meet Ubuntu does have catch2 (but Github CI doesn't have that as build eng).

While writing this, i realized I could use docker for testing then. Not merging yet then.

hm. not worth it for the time being. closing. can be redone at any time.


Accessing second project's Firestore creates EXC_BAD_ACCESS

Environment

Xcode version: 10.3
Firebase SDK version: 6.6.0
Firebase Component: Firestore
Component version: 6.6.0
Using Carthage

Steps to reproduce:
Using the official documentation when I try accessing second project's Firestore I get EXC_BAD_ACCESS
Relevant Code:
let secondaryOptions = FirebaseOptions(googleAppID: "1:27992087142:ios:2a4732a34787067a", gcmSenderID: "27992087142")
secondaryOptions.bundleID = "com.google.firebase.devrel.FiroptionConfiguration"
secondaryOptions.apiKey = "AIzaSyBicqfAZPvMgC7NZkjayUEsrepxuXzZDsk"
secondaryOptions.clientID = "27992087142-ola6qe637ulk8780vl8mo5vogegkm23n.apps.googleusercontent.com"
secondaryOptions.databaseURL = "https://myproject.firebaseio.com"
secondaryOptions.storageBucket = "myproject.appspot.com"

// Configure an alternative FIRApp.
FirebaseApp.configure(name: "secondary", options: secondaryOptions)

// Retrieve a previous created named app.
guard let secondary = FirebaseApp.app(name: "secondary")
  else { assert(false, "Could not retrieve secondary app") }

// Retrieve a Real Time Database client configured against a specific app.
let secondaryDb = Database.database(app: secondary)

let secondaryDb throws EXC_BAD_ACCESS

Can you share the full stack trace of the crash?

Also: you're describing (both in the title and text) that you're using Firestore, but the code is actually using the Realtime Database. Is this actually a Firestore issue?

Also: you're describing (both in the title and text) that you're using Firestore, but the code is actually using the Realtime Database. Is this actually a Firestore issue?

You're right, I fixed the code example. Issue is with Firestore, which I'm using. I'm not working with the Realtime Database

Can you share the full stack trace of the crash?

I'm having troubles getting it since I can't crash the app completely by clicking 'continue' on the debugger - it just doesn't crash the app and stays on that line which causes it. So I can't get the stack trace like with other crashes for some reason..

You can get the stack trace by running bt all in the debugger when it's stopped.

You can get the stack trace by running bt all in the debugger when it's stopped.

Thanks, added

@igorzharii Thanks for the report!
The issue is that you didn't set a projectID in your options, which Firestore requires, i.e.:
secondaryOptions.projectID = "myproject"

That said, we should give you a more friendly error message!  I'll see if we can get a fix in for that.


fix #538

📝 Description
fixed the bug where trigger="click" doesn't work on the tooltip component
⛳ Current behavior (updates)
Tooltip trigger="click" works fine
💣 Is this a breaking change (Yes/No):
No

Nice work @JigolKa. I have thought of this but didn't come up with a solution to nested interaction.

Hey @JigolKa I appreciate your contribution, however, our idea to fix this is to migrate the current tooltip impl to react aria tooltip this is going to be carried out by one of the core members since it requires changes on the current tooltip APIs


QA App: Add link to DO data directory

Related to #382.
Here is the proposed placement for a dataset link:

The link shown on the screenshot.
Notes:
I wrote a helper function that constructs a link from base url, ProductKey().path (s3 prefix) and a bucket.
Need feedback on:

Placement of the link and whether the text is descriptive enough.
Does location of the helper fn generating a link (apps/qa/src/publishing.py) make sense or should it be moved somewhere else, i.e. dcpy?

If the approach is okay, I will update all QA pages to have a link.

When selecting a published version on the left side of a QA page, are these choices different from each other?

Placement looks great!

When selecting a published version on the left side of a QA page, are these choices different from each other?

Sorry - never responded to this in github but we talked about this in person


Add documentation for coremark

This patchset adds documentation for generating coremark trace from scratch.

Couple of things:
1. Can you add core mark to the regression (just like Dhrystone)?

Which regression. Do you mean github workflow?

2. Can you add a report that calculates the core mark performance?  (see https://github.com/riscv-software-src/riscv-perf-model/blob/master/reports/dhry_report.yaml)

Sure

Which regression. Do you mean github workflow?

Nope.  I mean as part of Olympia's regression target (which is automatically used by GH flows):
Here's an example:
https://github.com/riscv-software-src/riscv-perf-model/blob/e78fb2efe76d17f5e8172f1da0bf49358606d46c/test/sim/CMakeLists.txt#L37-L42

BTW, are you missing reports/core_report.def?


Lower opacity when looking at topics on a muted stream

Currently, if you mute a stream, and then click on the stream to look at the topics inside, it's really hard to read them, because we have a strong opacity filter (intended primarily for the stream name itself).  We'll need to play a bit with the details; the first thing I'd try is only making the stream line opaque, not the topic area inside.
@brockwhittaker this may be a good quick fix to do soon.

@timabbott how about on :hover increase the opacity back to 1 (or close to it) for reading purposes?


[Bug]: UI: clicking on project leads directly to production environment

Description
This is maybe a feature, not a bug, but it used to confuse me and still feels a little annoying to me:
In the App, clicking on a Project in the Home view leads directly to the production environment of this project. But the next logical step would be the selection of environments. To go there, I need an extra click or directly go by the Projects view.
It does not make sense from a UI standpoint, that the same semantic link has different targets in different places.
Minimal Reproduction (if possible, example repository)

Log in to the app and, still in the Home view, click on a project, that has a production and staging environment.
The production environment will be displayed.
To go to the environment selection you need to click on the name of the Project that appears next to "Ressources".

Exception or Error
No response
Version
beta.205

The next version will include a fix for this. It will only go to the production environment if no other environments are defined.


Expose curwifescore and maxwifescore to JudgmentMessageCommand and PlayerStageStats.

Just as reference:

curwifescore  Current (raw value, not percentage) wife score at a given time.
maxwifescore  Maximum possible wife score at a given time.
totalwifescore  Maximum possible wife score for the entire file.

Currently the WifePercent,Diffrential, etc. are calculated from curwifescore and maxwifescore on the C++ side for performance reasons and those are sent as a parameters to JudgmentMessageCommand for displaying stuff like ghostscore and avgscore, etc during gameplay.
But this prevents implementing some features theme side that requires the original curwifescore and maxwifescore values during gameplay. So they should be included in the parameter table as well.
Similarly, only fWifeScore (which is basically curwifescore/maxwifescore) is exposed to PlayerStageStats and HighScores. both curwifescore and maxwifescore should be available in PlayeStageStats and the final curwifescore value should also be saved to Highscores.

done 77852c3a946dc91e5f0cf12a9f8e5805344d9869
done cd4fbed84fad52f724cf4cee4255fea49cf7d41e
and done 880275fff6add1ab355c5fea3739920cdef1327b


Remove (escaping) from @autoclosure parameters

The (escaping) attribute modifier is not needed and unnecessarily requires "self.propertyName" in all log messages as a result.

FYI, this has been discussed in #146.

Merged. Thanks!


Why is density a required field?

This was kind of a show-stopper adding filament. No spools I had seem to have this listed any place. Maybe add this generic list below to auto-populate that field if you want it a required one?
I found this list to get me through it:

Material
Density [g/cm3]

PLA
1.24

ABS
1.04

PETG
1.27

NYLON
1.52

Flexible (TPU)
1.21

Polycarbonate (PC)
1.3

Wood
1.28

Carbon FIber
1.3

PC/ABS
1.19

HIPS
1.03

PVA
1.23

ASA
1.05

Polypropylene (PP)
0.9

Acetal (POM)
1.4

PMMA
1.18

Semi flexible (FPE)
2.16

I didn't want to have any hard-coded list of filaments or densities since that can quickly go out-of-date. Different suppliers can also have different values. It's important to get this value as close as possible since the whole tracking logic depends on it.
I will think about how this could be streamlined a bit more though.

Until you figure that out maybe just make it not a required field but add what you said in a blurb above the box.

@NonaSuomy I suspect since its used in the calculation for used filament that is why it is required. If it was not that would break that process.
Maybe provide the list for "good enough" values and allow the user to edit the density?

Bumping this as I ran into the same issue and I'd love to help resolve it.
It's a required field so it's a show-stopper for adding new filament; and since there's no default or suggested value, it hurts the user experience - especially for users who don't intend to use the tracking features yet or are okay with small deviations.
I can think of two options to resolve this flow:

Mark the density field as not required. Filaments with an empty density field would not be able to automatically subtract their weight during the print.
Offer a default density value, maybe even derived from the material. Add a note that encourages users to finely calibrate this value in order to get better accuracy when automatically tracking filament use.

Which of these options is more aligned with the project's vision? I'd be happy to assist with either.

how about offer a way to actually calculate it on the Add page?

Much like spool weights, this changes often and is subject to a number of factors.  Most of the material data sheets for your filament should have this value available.
There may be a case to create a hosted API that could be hit to pre-populate spool weights and filament density/diameter, but that's an exercise in the community managing content.

Why not make a table in the open space to the right with a list of acceptable ranges or some of the more common ones for each material  and a disclaimer that it varies from brand to brand encouraging them to do a little research and put in the correct one, while also providing something they can put in that's in the ballpark to at least let them get started (and edit later)

I'd just like to add my two cents here that I'd like this feature to be changed/improved.
All the ideas I've had have already been listed here, so adding "good enough" values, adding a link to somewhere that helps you figure out the density.
Because that's a question I haven't seen here is how DO you find out the density? I can't even find anything on google for finding the density of a filament.
The only thing I haven't seen is allowing the integration of an open user-updated spool information database. Like have a user-updated database of spool, manufacturer, etc. You could even allow the use of "Official" profiles that get updated by the companies themselves, and the rest are user generated.
Even if Donkie doesn't want to manage that database project, maybe allow the integration of a community effort.

Find frank.af on voron discord. There's some stuff underway

What some spools do mention is the total filament length. Maybe allow this as an alternative field and auto-compute the density from this + diameter and weight?


⚠ ClamAV has degraded performance

In 7817ff2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 196 ms

Resolved: ClamAV performance has improved in b2bccee after 12 minutes.


Selection sort Algorithm

Pls assign this to me! I would like to add CPP algo.

@nematanya Please check Issues list. I added new one.


Using signed cookies

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
2.5.10
Please ask your question
I am trying to use Cloudfront signed cookies in order to prevent public access to hosted videos and only allow them on the website. My application correctly stores httpOnly CloudFront cookies to the users browser and I have used the following code below to enable cross resource credentials.
player.getNetworkingEngine().registerRequestFilter(function(request_type, request) {
       request.allowCrossSiteCredentials = true;
});

Everything works well when I set the cloud front access to public, videos playback fine. But when I set "Restrict Viewer Access (Use Signed URLs or Signed Cookies)" on aws cloudFront and whitelist ALL cookies, they still do not get sent in the request (Shows in network) How do I get shaka player to use these cookies in its request for resources? The error I receive is failed to fetch 1002
Cookies names are "CloudFront-Key-Pair-Id, CloudFront-Policy and CloudFront-Signature"

Please check out the "Cookie Authentication" section in our License Server Authentication tutorial, specifically the CORS part which says:

Cookies are considered "credentials" by the browser's XmlHttpRequest API, and credentials may not be sent cross-origin unless:

explicitly requested by the application AND
explicitly allowed by the destination server

Part one of this is handled by request.allowCrossSiteCredentials = true in your request filter, so that's taken care of.
Part two is that if your server doesn't send the Access-Control-Allow-Credentials header in the preflight (OPTIONS) response, then the client will not send the cookie.  This is a web standard implemented inside the browser, so we have no control over this in Shaka Player.
We can't see what's being sent between your browser and your server, and we are no experts on Cloudfront, but if setting "Restrict Viewer Access" changes the CORS response headers coming from your server, that might explain the difference.
Does this help?

Please check out the "Cookie Authentication" section in our License Server Authentication tutorial, specifically the CORS part which says:

Cookies are considered "credentials" by the browser's XmlHttpRequest API, and credentials may not be sent cross-origin unless:

explicitly requested by the application AND
explicitly allowed by the destination server

Part one of this is handled by request.allowCrossSiteCredentials = true in your request filter, so that's taken care of.
Part two is that if your server doesn't send the Access-Control-Allow-Credentials header in the preflight (OPTIONS) response, then the client will not send the cookie. This is a web standard implemented inside the browser, so we have no control over this in Shaka Player.
We can't see what's being sent between your browser and your server, and we are no experts on Cloudfront, but if setting "Restrict Viewer Access" changes the CORS response headers coming from your server, that might explain the difference.
Does this help?

This helps very much so. I am debugging right now. If this doesnt work I may just avoid it and make access public until I start using something a little more sophisticated like widevine

Does this answer all your questions?  Can we close this issue?


Create AuthenticatorNone for servers which don't need authentication

CDRS requires an Authenticator to be passed during initialisation. That is not suitable for those who work with Cassandra instance that does not need any authorisation. At current moment in order to initialise CDRS developers need to create their own authenticator and implement Authenticator trait for it.
So, I think we may provide such empty authenticator specially for such cases.
I propose to create AuthenticatorNone which returns empty auth token and empty Cassandra class name.

AuthenticatorNone sound reasonable :+1:

@ernestas-poskus @AlexPikalov is anyone working on it?  if not I can take this up


Prometheus image path as config vs resource

The general recommendation from Juju is to use a Resource of type "oci-image" for the image that a charm would use for the application.
This is because it allows us to snapshot an exact digest during "charm publish" times, while still allowing an override by the user during deploy.
For example:
https://github.com/juju-solutions/bundle-kubeflow/blob/master/charms/dex-auth/metadata.yaml
I realize that Mattermost did not do this, but as Prometheus is going to be our example charm, we want to align with the recommended path so others who are copying this follow suite.

Is snapshotting an exact digest at publish time what we want here? How would security updates be handled, for instance?

By the charm author publishing a new version. The store is the part that is
taking the snapshot.
There is some plans on Rocks to do that with channels but it is
functionally the same.  The charm specifies a series to deploy which gets
snapshotted and updated at the store instead of in the charm.
(there are docker images that do the same with rolling tags, but not all do)
On Thu, Oct 29, 2020, 06:06 mthaddon<EMAIL_ADDRESS>wrote:

Is snapshotting an exact digest at publish time what we want here? How
would security updates be handled, for instance?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/canonical/prometheus-operator/issues/2#issuecomment-718667152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABRQ7N7C7LUX4ESC4EYOGLSNFEEZANCNFSM4RZ7QYYA
.

@jlounder @jameinel  Is this a recommended way (library) to implement OCI image resources in charms ? If so, kindly do let me know and I will adopt that.

I think this can be closed now?

Yes.


Support .starter.env for sensitive data like phpmyadmin credentials

Problem this feature will solve
Any password or username that needs to be setup during creation of a cworkspace must be kept in version control.
Background
Currently this is an issue for the phpmyadmin setup.
Never keep sensitive data in version control
Proposed Solution
support a .starter.env where sensitive data can be loaded as a variable and then unset when that data is not longer needed.
Implement a system where:

A set of values can be loaded from key value pairs set in .starter.env
Sets of passwords (1,2,3,4 etc..) can be updated via an single alias loaded into .bashrc via .bash_aliases
Update phpmyadmin super user and control user via a single alias named update_pma_pws

Constraints and Assumptions
.starter.env will always on the git ignore list
any valid name value pairs should be described in the file .example.starter.env
Alternatives or Workarounds
Nothing secure
Additional context
.start.env should probably only be used for the workspace initialization phase. Maybe in the init logs let the user know that for additional security they can delete the .starter.env file

Fixes #59


Porting favicon-generator

Currently, the favicon generator, works only on the command line. I was thinking making the app a GUI one with technologies such as electronJS won't be a bad idea.

Can I help you? I'm thinking to make a GUI using Proton Native

Okay, that'd be great, feel free. I was also thinking of proton native .

Work in progress https://github.com/leosuncin/favico-generator/tree/port-to-gui

Great, I'll check that now.
On Sun, Oct 14, 2018, 01:45 Jaime Leonardo Suncin Cruz <
<EMAIL_ADDRESS>wrote:

Work in progress
https://github.com/leosuncin/favico-generator/tree/port-to-gui
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Youngestdev/favico-generator/issues/6#issuecomment-429587034,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Adkrj4sjCbbiMXrP3BMLxa1NdU3Y_Tdqks5ukok8gaJpZM4Xa06z
.


Added Restaurant recommender

Description
I have added ipynb file and along with two datsets of restaurant recommender.
Fixes #1234
Checklist

[X] I've read the contribution guidelines.
[X] I've checked the issue list before deciding what to submit.
[X] I've edited the README.md and link to my code.

These are pics of output


Vanish improvements

This commit should fix issue #5 and #7 . It's a simple mixin injection to the write method of the query packet class.
As seen in the picture, there are actually 2 players online, but Alex is vanished.

Should the server ping show 1/2 players online (player is still kicked upon joining since it's actually full) or should the max player count be modified as well? (So it would show 1/1 players online on the client)

I was thinking more of the max player count number; maybe it would be best to show the actual number of max players if the server is not full. Otherwise, show the modified max count.

Would be nice to be able to configure gunpowder so that vanished players do not to count toward the max player count, so that cheaters would not get suspicious over a changing max player count.

So you mean it would allow more players than the max count (if we include vanished ones)?
What happens when a player disables vanish mode? It would then show x/y players on client, x being > y ...

So you mean it would allow more players than the max count (if we include vanished ones)?
What happens when a player disables vanish mode? It would then show x/y players on client, x being > y ...

This can happen in vanilla if an OP has the bypass player limit set to "true" in ops.json.

This can happen in vanilla if an OP has the bypass player limit set to "true" in ops.json.

Ah, ok, wasn't aware of this. I'll have another look into it then.

This is drafted again, since #7 needs to be fixed before this is merged. Otherwise, if player leaves while vanished, the vanished count isn't decreased.

This is now ready to be merged.
To sum it up:
Fixes #5  and #7 by keeping the track of the vanished player count.

@i509VCB sorry for ping, but could you review this? Martmists said he's kinda burned out atm.
Thanks.

@samolego if you poke me tomorrow in discord I can look then. I'd say in about 16 hours?

@samolego if you poke me tomorrow in discord I can look then. I'd say in about 16 hours?
Ok, thank you. 11 hrs from now on :-)

This is ready to be merged now I guess 😃 ?

Of course I assume you gave a real client and server a run to make sure this works.

Yep, it was tested in singleplayer(+ LAN) and server

@i509VCB if you could give this one last review

Sorry I was trying to rename branch to open another PR to fix #17 and messed things up


[ENH] STL transformer refactor based on 1677

This is refactoring PR #1677 to be compliant with the general transformer interface, following discussion in there.
Changes to the PR:

removing fit to comply with the transformer interface, changing arg names of _fit, _transform
when transform is called on new indices, the STL transformation is carried out again
added return_components argument - if True, the transformer will return the components as part of the transformed series. In PR 1677, they were stored in "fitted model" attributes which were not accessible to the user (not even via the get_fitted_params interface).

This also fixes one bug:

it appears that the trend component was not subtracted when transforming the series, originally? Looks like a mistake.

Superseded by https://github.com/alan-turing-institute/sktime/pull/1677


lambda: ZipFile param is not taken into account

    conn.create_function(
        FunctionName='testFunction',
        Runtime='python2.7',
        Role='arn:aws:iam::00000000000:role/test-iam-role',
        Handler='lambda_function.handler',
        Code={
            'ZipFile': lambda_test_function_zip_content, <======== does nothing
        }

a call to conn.invoke() always returns response with a payload of {result: "Good"}

I have some code I have developed that allows some rudimentary python to be executed and the results returned on RequestResponse. Eg moto to invoke a boto call to get a volume from moto - if that makes sense?

Thanks for opening. This was fixed with #723

great, thanks!!


apt cookbook include is problematic

The metadata file suggests the apt cookbook rather than depending on it. This configuration makes sense since that cookbook is not needed when installing Monit from source (possibly binary as well). However, in the default recipe, we see an include_recipe "apt" call for any Debian platform regardless of the install strategy. Based on the layout of the recipes in this cookbook, users should use the default recipe and trigger different installs using attribute values instead of invoking the install_{source,package,binary} recipes directly.
Moving this include statement inside the install_package recipe remedies this problem without breaking existing functionality.

@phlipper Should I do anything here to move this along?

We're seeing errors in the test suites because the metadata.rb file suggests and does not depend on the "apt" and "yum-epel" cookbooks.

this rationale makes sense to me, though I have not evaluated it in-depth. Just wanted to toss a few good feedback points your way.  I am debian-oriented personally, though my job which involves this cookbook is RHEL/Centos based currently.


Add parameterization example notebook

Description
Added an example notebook explaining different concepts of parameterization using a simple model, and then with DFN and SPM models.
Overall the example is getting pretty big, please let me know if there are some steps that can be omitted or some steps that I missed and should be added.
View the notebook on my fork here
Fixes #1458
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[X] No style issues: $ flake8
[X] All tests pass: $ python run-tests.py --unit
[X] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[X] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Thanks @Saransh-cpp , I pushed some updates onto the same branch in the main repo, can you see what you think?

@tinosulzer yes, adding a function parameter to the model defined, using print_parameter_info and setting up the Chen2020 parameter values manually first and then using the one available in pybamm does make it more clear.

Ok, if you merge those changes into your branch I will approve and merge

@tinosulzer I have updated the example and the changes mentioned by @rtimms have also been added to this PR. Could you please let me know why the tests are failing? I tried fixing them locally but couldn't.


Add support of tag with 20 characters or less

According the Salt docstring here:
In the new style, when the tag is longer than 20 characters, an end of tag
string is appended to the tag given by the string constant TAGEND, that is, two
line feeds '\n\n'.  When the tag is less than 20 characters then the tag is
padded with pipes "|" out to 20 characters as before.  When the tag is exactly
20 characters no padded is done.

Currently the exporter only looks for the '\n\n' delimiter.
Tag with 20 characters or less support must be added.

closing because no usecase found
Code is in the PR if needed

note: even event with short tag use the new style ("\n\n" separator)
Example: salt/auth\n\n...


[SPARK-38796][SQL] Update to_number and try_to_number functions to restrict MI sequence to start or end only

What changes were proposed in this pull request?
Update to_number and try_to_number functions to restrict MI sequence to start or end only.
This satisfies the following specification:
to_number(expr, fmt)
fmt
  { ' [ MI ] [ S ] [ L | $ ]
      [ 0 | 9 | G | , ] [...]
      [ . | D ]
      [ 0 | 9 ] [...]
      [ L | $ ] [ PR | MI | S ] ' }

Why are the changes needed?
After reviewing the specification, this behavior makes the most sense.
Does this PR introduce any user-facing change?
Yes, a slight change in the behavior of the format string.
How was this patch tested?
Existing and updated unit test coverage.

LGTM, can we update the function doc as well?

Can one of the admins verify this patch?

LGTM, can we update the function doc as well?

@cloud-fan this is done. It looks like the On pull requests / Build and test (pull_request_target) check is failing due to the same bug in the Spark Github REST API that is affecting many other PRs. Once that is fixed, the test should pass.

The test build: https://github.com/dtenedor/spark/actions/runs/2185310585

thanks, merging to master/3.3!


Unable to read existing value in iOS keychain

We are migrating a native iOS app to Flutter and need to read an existing keychain value for existing users.
While we can write and read the keychain fine for new users, we are not able to use flutter_secure_storage to read values from the native app.
With the following code, value returns null.
FlutterSecureStorage keychain = FlutterSecureStorage();
final options = IOSOptions(accountName: "our_service");
final value = await keychain.read(key: "our_key", iOptions: options);

When using the flutter_keychainaccess package and the following code, value returns the correct string.
final value = await FlutterKeychainaccess.read(service: "our_service", key: "our_key");
While we can get around our issue by using this other package, it feels like this should be possible without adding another dependency.
Related:
#142
#184
#211

@danielnordh  Given how small the code for flutter_keychainaccess is, I would suggest just comparing its Swift and Dart to what is in this package to see what the difference is in it working and this package not.

Which version of this package are you using? Can you please try again with version 5.0.0

I'm using version 5.0.1

I just tested with 5.0.2 and it still returns null

I haven't been able to identify what changed, but I am now able to read the value with the above code snippets.
Suffice to say it was likely down to user error on my part.


[Bug Report] RCON config file doesn't update from docker env variables

Have you read the Important information text above

[X] Yes i did

Current behavior
Using the latest few images, I am seeing this error in the logs
time="2024-01-31T09:00:05-08:00" level=info msg="cli: execute: auth: rcon: dial tcp: address tcp/###RCON_PORT###: unknown port" channel=stderr iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="0 * * *

I'm also getting the same errors when I run it via command line within the container
Desired behavior
The startup scripts replace the placeholder values with the environment variables if the RCON functionality is enabled
Links to screenshots
No response
To Reproduce
Steps to reproduce the behavior:

Run latest image in docker with RCON_ENABLED set to true
Wait for the container to startup
Look at logs and see errors

Software setup

OS: Ubuntu
Docker: Docker version 25.0.1, build 29cf629

Hardware setup

vCPU: unrestricted
RAM: unrestricted
Disk: unrestricted

Additional context
I replaced the values manually to see if it works, but now I am getting a connection refused error, so I'm not sure if there are other errors?

Hey @JPL4494
Please share your default.env and your docker-compose.yml with me.
Make sure the passwords are redacted and post it in a code-block please.

docker-compose.yml
version: "3.9"

name: games

###########################
#    EXTENSION  FIELDS    #
###########################

# Common environment values
x-environment: &default-environment
  TZ: $TIMEZONE
  PUID: $PUID
  PGID: $PGID
  UMASK: $UMASK

# Keys common to some of the dependent services/apps
x-common-keys: &common-keys
  restart: unless-stopped

services:
  palworld:
    image: jammsen/palworld-dedicated-server:latest
    container_name: palworld
    <<: *common-keys
    ports:
      - target: 8211 # Gamerserver port inside of the container
        published: ${PALWORD_SERVER_PORT:?err} # Gamerserver port on your host
        protocol: udp
        mode: host
      - target: 25575 # RCON port inside of the container
        published: ${PALWORD_RCON_PORT:?err} # RCON port on your host
        protocol: tcp
        mode: host
    environment:
      <<: *default-environment
      PUBLIC_IP: ${PUBLIC_IP:?err}
      COOP_PLAYER_MAX_NUM: 16
      MAX_PLAYERS: 16
      SERVER_NAME: Cristians_Fantasy
      SERVER_DESCRIPTION: For our lovely little man
      SERVER_PASSWORD: ${PALWORD_GAME_PASSWORD:?err}
      ADMIN_PASSWORD: ${PALWORD_ADMIN_PASSWORD:?err}
      RCON_PORT: 25575
      RCON_ENABLED: true
      COMMUNITY_SERVER: false
      BACKUP_RETENTION_POLICY: true
      BACKUP_RETENTION_AMOUNT_TO_KEEP: 7
      # Game settings
      BUILD_OBJECT_DETERIORATION_DAMAGE_RATE: 0.0
      DEATH_PENALTY: None
      PAL_EGG_DEFAULT_HATCHING_TIME: 0.5
      PAL_CAPTURE_RATE: 1.3
      PAL_SPAWN_NUM_RATE: 1.3
      PAL_STOMACH_DECREACE_RATE: 0.0
      PAL_AUTO_HP_REGENE_RATE_IN_SLEEP: 10
      BASE_CAMP_WORKER_MAXNUM: 20
    volumes:
       - ${FOLDER_FOR_GAME:?err}/palworld:/palworld
       - ${FOLDER_FOR_CONFIGS:?err}/palworld/rcon.yml:/home/steam/steamcmd/rcon.yaml

.env
PALWORD_SERVER_PORT=8211
PALWORD_RCON_PORT=25575
PALWORD_GAME_PASSWORD=some-pass
PALWORD_ADMIN_PASSWORD=another-pass
FOLDER_FOR_GAME=path/to/files
FOLDER_FOR_CONFIGS=another/path/to/files

same error
docker-compose.yaml
version: '3.9'
services:
  palworld-dedicated-server:
    build: .
    container_name: palworld-dedicated-server
    image: jammsen/palworld-dedicated-server:latest
    restart: always
    network_mode: bridge
    ports:
      - target: 8211 # Gamerserver port inside of the container
        published: 8211 # Gamerserver port on your host
        protocol: udp
        mode: host
      - target: 25575 # RCON port inside of the container
        published: 25575 # RCON port on your host
        protocol: tcp
        mode: host
    environment:
      # server config
      - ALWAYS_UPDATE_ON_START=true
      - MAX_PLAYERS=32
      - MULTITHREAD_ENABLED=true
      - COMMUNITY_SERVER=false
      - PUBLIC_IP=<IP_ADDRESS>
      - PUBLIC_PORT=8211
      - SERVER_NAME=palworld
      - SERVER_DESCRIPTION=Palworld-Dedicated-Server running in Docker by jammsen
      - SERVER_PASSWORD=None
      - BACKUP_ENABLED=true
      - BACKUP_CRON_EXPRESSION=*/15 * * * *
      # game config
      - PAL_EGG_DEFAULT_HATCHING_TIME=0.000000
      - BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=0.000000
      # rcon
      - RCON_ENABLED=true
      - RCON_PORT=25575
      - ADMIN_PASSWORD=<admin_password>
    volumes:
      - $DOCKER_DATA/palworld:/palworld

error log
palworld-dedicated-server  | time="2024-02-01T12:00:00+08:00" level=info msg=starting iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="*/15 * * * *"
palworld-dedicated-server  | time="2024-02-01T12:00:00+08:00" level=info msg="cli: execute: auth: rcon: dial tcp: address tcp/###RCON_PORT###: unknown port" channel=stderr iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="*/15 * * * *"
palworld-dedicated-server  | time="2024-02-01T12:00:05+08:00" level=info msg="cli: execute: auth: rcon: dial tcp: address tcp/###RCON_PORT###: unknown port" channel=stderr iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="*/15 * * * *"
palworld-dedicated-server  | time="2024-02-01T12:00:05+08:00" level=info msg="cli: execute: auth: rcon: dial tcp: address tcp/###RCON_PORT###: unknown port" channel=stderr iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="*/15 * * * *"
palworld-dedicated-server  | time="2024-02-01T12:00:06+08:00" level=info msg="cli: execute: auth: rcon: dial tcp: address tcp/###RCON_PORT###: unknown port" channel=stderr iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="*/15 * * * *"
palworld-dedicated-server  | time="2024-02-01T12:00:06+08:00" level=info msg="cli: execute: auth: rcon: dial tcp: address tcp/###RCON_PORT###: unknown port" channel=stderr iteration=0 job.command=/backupmanager.sh job.position=0 job.schedule="*/15 * * * *"

I had the same issue until I added SERVER_SETTINGS_MODE=auto
I was then able to use RCON without issue.

I think this should fix the issue.
diff --git a/Dockerfile b/Dockerfile
index 2f917d2..a3ce18d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -48,7 +52,7 @@ VOLUME [ "/palworld" ]
USER steam
-ADD --chown=steam:steam --chmod=440 rcon.yaml ./rcon.yaml
+ADD --chown=steam:steam --chmod=440 rcon.yaml /home/Steam/steamcmd/rcon.yaml
ENV DEBIAN_FRONTEND=noninteractive
PUID=1000 \

Hey @k997 @JPL4494 - @spuddeh3270 is right, you guys need the SERVER_SETTINGS_MODE=auto option to do that.
See https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/includes/config.sh#L4 and https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/includes/config.sh#L286
If you set it to manual, you have to provide your own file via volume mount or whatever so seem fit, because it is manual.

I think this should fix the issue.
diff --git a/Dockerfile b/Dockerfile index 2f917d2..a3ce18d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +52,7 @@ VOLUME [ "/palworld" ]
USER steam
-ADD --chown=steam:steam --chmod=440 rcon.yaml ./rcon.yaml +ADD --chown=steam:steam --chmod=440 rcon.yaml /home/Steam/steamcmd/rcon.yaml
ENV DEBIAN_FRONTEND=noninteractive PUID=1000 \

@acelan - This doesnt fix anything, because there is no issue. Your code is exactly 1 to 1 the same as mine, except for the bug with the Uppercase "Steam" username and beeing longer and doing literally the same.
The base-image of steamcmd sets https://github.com/CM2Walki/steamcmd/blob/master/bullseye/Dockerfile#L11 and https://github.com/CM2Walki/steamcmd/blob/master/bullseye/Dockerfile#L45 the workdir to /home/steam/steamcmd

@jammsen @spuddeh3270 Got it, I'll try that later. In the meantime, the readme will need to be updated to show the default option for that is set to manual, not auto like it says. I don't set it, so it should default correctly

@jammsen @spuddeh3270 Got it, I'll try that later. In the meantime, the readme will need to be updated to show the default option for that is set to manual, not auto like it says. I don't set it, so it should default correctly

@JPL4494 The default IS auto IF you use docker-compose and the default.env and its everywhere described as such. You didnt have it in your config so the "absolute-worse-case" got caught by the Dockerfile itself, because there it defaults to manual mode. Thats by design, because of back-wards compability.
https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/default.env#L12C27-L13C1 - auto
https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/README_ENV.md?plain=1#L23 - auto
https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/Dockerfile#L66 - manual for absolute worst case and backwards compability to not ruin stuff.
Works just as tested and wanted.

Got it, I had assumed these were defaulting in the code themselves when ran, as with other docker images, and didn't need a light switch variable to be used

Pushed a fix in the PR, just ran rcon.yaml config independent of settings mode so if the vars exist they are set and rcon works accordingly.

Not really a fix though, when the users decides to do manual settings, im not touching anything, including rcon.yaml, thats up to them to mount a valid on, again its manual mode. Works as expected.

Hey @JPL4494 - Im closing this issue as resolved, feel free to reach out again if you need help.
If you like this project, please consider giving this repo and the docker-hub-repo a Star.


Can I make clickablePhotos from post.md file?

I have a post.md file which contains some images, how can I make the images clickable?
I added clickablePhotos: true but it doesn't work. Does it just work in a gallery type?
---
title: "Portafolio"
clickablePhotos: true
images:
    - /screen.png
---

Hey @margge! Yes that's correct. The clickablePhotos setting is for gallery type pages.


Example on SQL-Injection-Interpolation no longer works

This is based on a new installation of the software.
The example query provided in SQL-Injection-Interpolation.md no longer works as the database no longer allows more than one SQL statement to be executed (an error is thrown).
An injection payload that does work, however, is:
http://<IP_ADDRESS>:8000/admin/1/analytics/?ip=<IP_ADDRESS>&password from app_user--

This injects after that first SELECT and then comments out the remainder of the statement.

I ran into this same issue. I replaced the cursor.execute(cmd) with a cursor.executescript(cmd) in the analytics model and this fixed the attack for me. Perhaps I should submit this as a pull request?
https://github.com/Contrast-Security-OSS/DjanGoat/blob/cba035395a286ba4becdaac56e2c906e039601ed/app/models/Analytics/analytics.py#L60

Yes, please submit a pull request and we'll give it a look over asap.

It looks like I got mixed up when I was testing this. cursor.executescript runs the SQL however it doesn't actually return the result. Sorry about that, my fault.
There isn't much way around this if you are using sqlite from what I can see. The example link could be changed to something like http://<IP_ADDRESS>:8000/admin/1/analytics/?ip=<IP_ADDRESS>&password,%20email%20from%20app_user--.
I have tested mysql and sqlite and they both work with this exploit.


I'm working on a sprite editor (firmware 1.0.4)

Hi,
I'm  working on a sprite editor called 'spredit', under agon light emulator. (waiting for the real one)
I program it in asm. It will be MIT license. So, where can I share the source code, please ?

Finally, my tools are on Github : https://github.com/DjPoke/Agon-Light-sprite-edition-suite


Large tables support - remove page numbers and scaling issues

Hi @aknarts I'm still tinkering with making a webapp based on your tables and I've started to add lots of rows to the table to see how it behaves.
In the end I need to have 30,000 entries in the table to cover the user needs.
The largest I've made had 300 entries
Is the way of not including the table page numbers for all 50 pages? Perhaps for large tables just having First, Previous, Next and Last buttons is enough

I tried to make a table with 30,000 but it doesn't compile currently

Hello, I did add that functionality a while back, it is in the example, there is max_pages option
https://github.com/aknarts/yew-custom-components/blob/main/examples/overview/src/table.rs#L210

I would be concerned with the 30000 lines for a different reason, it all needs to be held in memory. I am not sure if it all can be helped though, maybe add external sorter and search callback so you can dynamically load the values, but that would end up being slow.

Do not question why I answered under different account, work is messing with my flows :D

Do you actually have the same issue?
Because your error message is different. Try cargo clean to start fresh..


Cannot find module fuzzy-native.node when opening FFinder

Just right after update to Atom 1.37

Open fuzzy finder
It throws the error

Atom: 1.37.0 x64
Electron: 4.1.4
OS: linux 5.0.13-arch1-1-ARCH
Thrown From: fuzzy-finder package 1.13.1
Stack Trace
Uncaught Error: Cannot find module<EMAIL_ADDRESS>At internal/modules/cjs/loader.js:586

Error: Cannot find module<EMAIL_ADDRESS>    at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
    at Module._resolveFilename (/usr/lib/electron/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.Module._resolveFilename (/usr/lib/atom/src/module-cache.js:283:28)
    at Function.Module._load (internal/modules/cjs/loader.js:510:25)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (/usr/lib/atom/src/native-compile-cache.js:47:27)
    at Object.<anonymous> (/usr/lib/atom/node_modules/@atom/fuzzy-native/lib/main.js:16:18)
    at Object.<anonymous> (/usr/lib/atom/node_modules/@atom/fuzzy-native/lib/main.js:18:3)
    at Module._compile (/usr/lib/atom/src/native-compile-cache.js:87:30)
    at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:235:23)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (/usr/lib/atom/src/native-compile-cache.js:47:27)
    at Object.<anonymous> (/usr/lib/atom/node_modules/fuzzy-finder/lib/fuzzy-finder-view.js:6:21)
    at Object.<anonymous> (/usr/lib/atom/node_modules/fuzzy-finder/lib/fuzzy-finder-view.js:525:3)
    at Module._compile (/usr/lib/atom/src/native-compile-cache.js:87:30)
    at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:235:23)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (/usr/lib/atom/src/native-compile-cache.js:47:27)
    at Object.<anonymous> (/usr/lib/atom/node_modules/fuzzy-finder/lib/project-view.js:4:25)
    at Object.<anonymous> (/usr/lib/atom/node_modules/fuzzy-finder/lib/project-view.js:193:3)
    at Module._compile (/usr/lib/atom/src/native-compile-cache.js:87:30)
    at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:235:23)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (/usr/lib/atom/src/native-compile-cache.js:47:27)
    at Object.createProjectView (/usr/lib/atom/node_modules/fuzzy-finder/lib/main.js:93:27)
    at HTMLElement.fuzzy-finder:toggle-file-finder (/usr/lib/atom/node_modules/fuzzy-finder/lib/main.js:15:14)
    at CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:384:43)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/lib/atom/node_modules/atom-keymap/lib/keymap-manager.js:617:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/lib/atom/node_modules/atom-keymap/lib/keymap-manager.js:408:22)
    at WindowEventHandler.handleDocumentKeyEvent (/usr/lib/atom/src/window-event-handler.js:110:34)

Commands
     -1:11.4.0 intentions:highlight (input.hidden-input)
     -1:11.3.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -1:05.0 editor:consolidate-selections (input.hidden-input)
     -1:05.0 core:cancel (input.hidden-input)
     -1:01.7.0 intentions:highlight (input.hidden-input)
     -1:01.5.0 settings-view:open (input.hidden-input)
     -0:06.8.0 core:close (select#fuzzy-finder.scoringSystem.form-control)
     -0:05.6.0 intentions:highlight (input.hidden-input)
     -0:05.5.0 fuzzy-finder:toggle-file-finder (input.hidden-input)

Non-Core Packages
atom-csv-markdown 1.0.2
autocomplete 0.47.0
better-git-blame 0.4.7
busy-signal 2.0.1
color-picker 2.3.0
compare-files 0.8.1
docblockr 0.13.7
feedback 0.38.0
git-diff-popup 0.1.8
git-history 3.3.0
git-plus 8.6.3
goto-definition 1.3.4
highlight-line 0.12.0
charcode-display 0.2.1
intentions 1.1.5
language-csv 1.1.2
language-htaccess 0.2.0
language-ini 1.20.0
language-jsx 0.1.1
language-svg 0.9.2
less-than-slash 0.19.0
linter 2.3.0
linter-csslint 2.0.6
linter-eslint 8.5.5
linter-js-yaml 1.4.6
linter-less 2.6.0
linter-pylama 0.10.1
linter-ui-default 1.7.1
linter-xmllint 1.4.4
local-history 4.3.1
mdn-doc 0.3.0
minimap 4.29.9
minimap-git-diff 4.3.1
minimap-selection 4.5.0
open-git-modified-files 0.2.4
pretty-json 2.1.2
project-manager 3.3.7
regex-tester 0.2.0
remote-sync 4.1.8
revert-buffer 0.6.0
split-diff 1.6.0
svg-preview 0.14.0
sync-settings 0.8.6
tabs-to-spaces 1.0.5
xml-formatter 0.13.0

I think that’s an issue with Arch Linux packaging who tries to use system Electron, because AUR package atom-editor-bin works as expected.
See here to see Atom Arch Linux package is currently built.

Atom: 1.37.0 x64
Electron: 4.1.4
OS: linux 5.0.13-arch1-1-ARCH

Thanks for reaching out!
As @ariasuni mentioned, we've determined that you are currently using an unofficial build or distribution of Atom. Often these customized versions of Atom are modified versions of the Stable branch of Atom with mismatched versions of built-in components. These updated components are taken from the Beta channel or master branch and then injected into the Stable version and a new Atom package is generated. Because of the way Atom is constructed, using these mismatched components can cause mysterious and hard-to-diagnose problems. You can find out more about why we chose to not support unofficial distributions here.
You can find instructions for installing an official version of Atom in the Flight Manual. If you are still seeing this problem on an official build please file a new issue, thanks!

I opened an issue on Arch bug tracker:
https://bugs.archlinux.org/task/62639

temporary fix from comments https://bugs.archlinux.org/task/62639
cd<EMAIL_ADDRESS>; sudo ln -s electron-v4.1-linux-x64 node-v69-linux-x64

Looks like it's been fixed in 1.37.0-3.
sudo pacman -Sy atom

fixed it for me

Please note that this is just one of the many many issues caused by Arch's custom Atom package, if you want to run a supported version of Atom please see the instructions that have already been posted.

Looks like it's been fixed in 1.37.0-3.
sudo pacman -Sy atom

fixed it for me

Tried to update and it was still @ atom 1.37.0-2.
Gave in and just installed with flatpak.


Stretch Goal:  The release source should be buildable for Linux

See about. Note this is optional.
Plan is the source code for the end user release project should be buildable for Windows and Linux.
I'll likely have a built-in compiler #define or figure a way to test for which platform we're target (net7.0 Windows) Variant vs (net 7.0 Linux variants).

Todo: later.  Need to figure an easy way to build/debug Linux on a VM

For future

Closed for now

not planned for now.


Redundant code in download_db

The code redundancy could be reduced by add an additional function to download the two files.

DONE


news text: gray -> black

Could we make the default text color for news postings black?
I think this is a bit hard to read: http://news.ospc.org/welcome-to-ospc.html

@MattHJensen is this still a concern?

Yes, this is still a concern. Thanks @hdoupe. I believe the blog text would be much easier to read if it were black instead of gray so there would be higher contrast with the background. Right now we have gray on gray.


This was thrown as I tried to check the version of Flutter after updating my path.

Apologies, saw the troubleshooting page.


[4.0] iOS Game Center improvements

#40557 for 4.0

Could you squash commits into one, and make the commit title a bit clearer? E.g.:
iOS GameCenter: Add authenticate method

And no longer connect automatically.

And could you add the matching documentation to https://docs.godotengine.org/en/latest/tutorials/platform/services_for_ios.html#game-center ?

@PoqXert you will need to rebase your commit, since master branch was updated to support Vulkan on iOS.

Thanks!


How would one work with subcomponents?

Let's say I have an AppComponent, which has a subcomponent UserComponent, which in turn has a ProfileComponent, each with sub/modules:
@AppScope
@Component(modules={AppModule.class, NetworkModule.class})
interface AppComponent {
  UserComponent userComponent(...);
}

@UserScope
@Subcomponent(modules={UserDataModule.class})
interface UserComponent {
  ProfileComponent profileComponent(...);
}

@UserProfileScope
@Subcomponent(modules={SomeProfileModule.class})
interface ProfileComponent {
  // other subcomponents here
  void inject(UserProfileActivity activity);
}

What I'd like is to have an integration test, from the UserProfileActivity onwards.
From the examples I'm seeing, they only show how to deal with 1 component or top-level component.
How would I get a reference in this case, to the ProfileComponent, since creating a Rule for it will not cut it, since it has to be created like: appComponent.userComponent(...).profileComponent(...)?
Thinking it has something to do with addComponentDependency, but unsure how it should work when I have a module (e.g. UserDataModule) with an activity reference in the middle.

Hi, I have some questions to understand better your problem:

what test are you trying to write? An Espresso test that launch the UserProfileActivity?
which objects do you wan to to replace with some mocks in the test? Which component are defined in?
do you get an error if you don't use addComponentDependency in a test?


dependency on code.google.com/p/goprotobuf/proto

I pulled down code... running ./all.sh I get:
package github.com/ha/doozer
imports code.google.com/p/goprotobuf/proto: unable to detect version control system for code.google.com/ path
I made changes in the files, replace the code.google.com with proper git hub imports in:
modified:   .travis.yml
modified:   consensus/m.pb.go
modified:   consensus/m_test.go
modified:   consensus/manager.go
modified:   consensus/manager_test.go
modified:   consensus/run.go
modified:   consensus/run_test.go
modified:   doc/hacking.md
modified:   doc/proto.md
modified:   server/conn.go
modified:   server/msg.pb.go
modified:   server/server_test.go
modified:   server/txn.go
modified:   web/web.go
I can't find any more references, but somewhere I the code is still looking for code.google.com, preventing build.

I found the problem references in the ha/doozer package (which I confused with ha/doozerd at first).
Generally all fixed similar to this issue: https://github.com/google/codesearch/issues/42
Because of the dependency on the client: ha/doozer will need to be updated to make the server: ha/doozerd work.
Still working out issues moving to the github.com/gorilla/websocket package.

Fixed and submitted pull request.
Imported golang.org/x/net/websocket successfully.
I also submitted a pull request on ha/doozer: this package (ha/doozerd) has a dependency on  ha/doozer  (its client package) which also requires the protobuf imports to be updated to use github.
Until the ha/doozer pull request is accepted, doozerd will not successfully build using travis.
Doozerd runs and tests fine locally, with the dozer change applied.


chore(pnpm-workspace.yaml): packages/* in the pnpm-workspace.yaml is vague, it would be better to list specific package names

Purpose: Better for managing packages of vuejs/core
As vuejs/core project grows, it would be better to list specific package names, which can be more clear to see how many packages in the project when using pnpm as package manager.
Why this commit ?
An error shown when running pnpm build:
../packages/reactivity-transform/package.json is not found
Above error gave me a confusing for a short time, and after comparing the remote vuejs/core code repo with local code base, making sure this empty folder should not be appear in the project.
Benefits
If the specific package name listed in the pnpm-workspace.yaml, there would be 2 benefits apparently

More clear when adding package

Adding package would be more clear in the project, as it must be handled by pnpm in the pnpm-workspace.yaml

Packages reference

As packages reference for folders in the packages, which holding so many packages in the vuejs/core project that pnpm-workspace.yaml file can be compared with existed packages in the packages folder.

I don't think I agree. All directories under packages should be treated as a workspace package by pnpm to ensure correct dependencies. Manually listing them only creates room for error in the future (e.g. creating a new package without adding them to the workspace), and this would already require changes to core-vapor which adds a bunch of new packages.
reactivity-transform was removed in the 3.4 release and it's a leftover due to the lingering files not checked into git and thus preserved by git when checking out the newer commit.

Ok, agree