3 - Adds julia api + docker compose

This is the most annoying one. The task was to bring both julia and app implementations to a monorepo and implement a docker compose. It is what is :p

OK, here's my review, based on trying to get this built.

We need a README.md with instructions on how to use the docker-compose file.
There's an environment variable that needs to be set before running docker-compose, CO2_PRICING_DATABASE_URL. I assume this is postgresql, and that it's in the form "postgres://user:password@host/database"
When I run docker build, I get an error:

> [co2-pricing-app builder 5/5] RUN yarn build && yarn install --production --ignore-scripts --prefer-offline:
#0 0.637 yarn run v1.22.19
#0 0.680 $ next build
#0 1.274 ❌ Invalid environment variables:
#0 1.274  NEXT_PUBLIC_MIMIFUND_API_URL: Required
#0 1.274
#0 1.274 error - Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
#0 1.290
#0 1.290 > Build error occurred
#0 1.291 Error: Invalid environment variables
#0 1.291     at file:///app/src/env/client.mjs:22:9
#0 1.291     at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
#0 1.291     at async Promise.all (index 0)
#0 1.291     at async ESMLoader.import (node:internal/modules/esm/loader:526:24)
#0 1.291     at async file:///app/next.config.mjs:6:38
#0 1.320 error Command failed with exit code 1.
#0 1.320 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I tried setting the env var in my shell before running docker-compose build, and I tried adding it to the app section of the docker compose file. Neither worked.
There's an app/.env.example file, but it doesn't include this variable.

Will rebase with the new features from main branch and make it reproduceable again.

@evanp I made the changes, the README should be enough to reproduce the application (docs on this branch's root folder)

Thanks for the hard work! I was able to build the repo and run it on my workstation.
The one thing I'd recommend is specifying the best URL for checking the app is running. It's at http://localhost:3000/, but that's not in the README.


add worlds based on assetPool to items. Added filter to frontend

I used the assetpool.json to get assetpools where items get grouped.
Assetpools have specific naming. using the names of the assetpools i map the worlds to items.
Filter logic needs to be adjusted. First time using React and Typescript.
Also code and query could be written better I maybe improve them later

HI, thank you for you work. I will add a few comments.

can you check why the last items of each list do not have a world and category
the translation for filter.itemWorld is missing
"Categorie" should be "Category" in english
what exactly is the benefit of having the Category? How is "Items Jornalero 1.2 EPIC UNLOCK" helpful?
Can you move "Category" and "World" above "Targets" for a cleaner UI on the card

can you remove the changed packagelock.json from your PR

and you are right the algorithms could be improved, maybe introduce a few good named variables, then we can optimize later

Hey jan thanks for taking the time and reviewing the code. The Categories are only used to get the Worlds. It has no need to get displayed in the frontend. I just did it for development.
I'll rework the code and implement all your comments


Enable More Python 3.13 Tests

Overview

Enable more tests for packages that now support Python 3.13

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

Project coverage is 81.26%. Comparing base (82a79b2) to head (52da79a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1260      +/-   ##
==========================================
+ Coverage   81.18%   81.26%   +0.07%
==========================================
  Files         200      200
  Lines       21971    21971
  Branches     3482     3482
==========================================
+ Hits        17837    17854      +17
+ Misses       2984     2968      -16
+ Partials     1150     1149       -1

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Stop axis labels duplicating. #315  [Pending squash and cleanup]

With one commit :+1:

I think you need to practice "squash into 1 commit" by creating test branch and simulate the normal cases. Like you have create several commits, and merge upstream master into your test branch, and squash it into one based on the upstream master. It's too much burden if you manually copy paste the code.
If you are using SourceTree, you could right click the latest commit, Rebase, and let it rebase the code on the latest commit.
In order to squash, you need to right click the commit before your first commit, and Rebase Interactively. There you have a squash option :-)

The problem was my master branch wasn't correctly synchronised with the origin and I thought it was.
Thanks

you could make sure you don't touch master, just keep it sync with upstream

Are there any cases where you would want values to be duplicated? I get why the code duplicates values but users usually would assume to not have repeating values like a real graph.

I guess it's just a switch to not triggering the code?

@petester42 people was asking to create allowRepeatedValues. So I created, but I can't see one example where I want to see repeated values.

@noais thank you!
I've adjusted the terminology for the better, and made this the new default behaviour.
@petester42 a case where people will want "repeating values" is for example when you want to show grid lines - while hiding the value labels - but you want to always have at least 5 grid lines on display. No matter how fractioned the value intervals are...


Add button to sansec.watch

Could you add a button around here;

That opens https://sansec.watch/d/<id> when the ID is available?

Sure!
Any preference over the styling & wording of the action?
Otherwise I think I'd go with one of those two:

@renttek both are fine! But I like the button more :)


When config.yml turns on auth, mqtt does not send double take / matches / any messages after matching the face

When config.yml turns on auth, mqtt does not send double take / matches / any messages after matching the face
This should be a bug
version： v1.12.1---35874f3
Because my double take will eventually be exposed on the Internet, social platforms get face images through URLs

I run my Double Take setup with auth enabled and everything still sends to MQTT just fine. Are you getting any specific errors?

我在启用身份验证的情况下运行我的 Double Take 设置，所有内容仍然可以正常发送到 MQTT。您是否收到任何具体错误？

Mqtt data of match cannot be monitored by mqttbox on my PC

I run my Double Take setup with auth enabled and everything still sends to MQTT just fine. Are you getting any specific errors?

Mqtt data of match cannot be monitored by mqttbox on my PC

When config.yml turns on auth, mqtt does not send double take / matches / any messages after matching the face
This should be a bug
version： v1.12.1---35874f3
Because my double take will eventually be exposed on the Internet, social platforms get face images through URLs

How are you planning to feed outside sources such as social media into DoubleTake? I've got a feature request out for just that but haven't heard anything more. It would be nice to be able to use an external source like the sex offenders list or something to be able to gather as much info as it can about an individual and present it too me before I open the door.


STM32G0B1xC / stm32g0b1cc missing

Not sure what the closest chip I can try is

looks like it would go here https://github.com/probe-rs/probe-rs/blob/master/probe-rs/targets/STM32G0_Series.yaml
https://www.mouser.com/ProductDetail/STMicroelectronics/STM32G0B1CCT6?qs=CiayqK2gdcI5UzsaJZ9afA%3D%3D

STM32G0B1xB
STM32G0B1CB, STM32G0B1KB,
 STM32G0B1MB, STM32G0B1RB,
 STM32G0B1VB

STM32G0B1xC
STM32G0B1CC, STM32G0B1KC,
 STM32G0B1MC, STM32G0B1RC,
STM32G0B1VC

STM32G0B1xE
STM32G0B1CE, STM32G0B1KE,
 STM32G0B1ME, STM32G0B1NE,
 STM32G0B1RE, STM32G0B1VE

Hi. This was actually a work in progress ( PR #1266 ) and is now merged into master. Can you please update from master and test again?

would be cool if a release could be done to cargo crates but otherwise got it working from git
thank you so much


Update deprecated command and actions in git workflows

Node 12 is out of support[1]. Actions using this need to be updated: actions/checkout@v2 -> v3
actions/setup-go@v2 -> v3
golangci/golangci-lint-action@v2 -> v3
tj-actions/branch-names@v5 -> v6
Replace set-output with new env command [2]
Remaining warnings come from redhat-actions which are in the process of being updated.
[1] https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ [2] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

/cherry-pick v1.3.x


Add coingecko ID

Original PR: https://github.com/solana-labs/token-list/pull/23053
New PR: https://github.com/solana-labs/token-list/pull/24590

Kindly open this live chat to talk to the customer service directly on your issue https://direct.lc.chat/13898481/


Updates to focus handler interface

Overview

Added HasFocus back to interface as the need to convey if the object has focus is an important part of the implementation.

I'm not sure about adding non-handlers to an event handler interface. I don't believe we have any at the moment.
If we need the concept of an object that can be focused and has specific rules about its focus, I'd propose we add a new interface, something like IFocusable. That can easily inherit from this event handler, and wouldn't prevent scripts that only want to respond to the focus events from doing so without needing to add optional and implementation-specific things like HasFocus.

As a focus handler it understood that it needs focus. That's part of it's job. I think having this bool is required for the functionality of any focus handler.

HasFocus is NOT optional for this interface.

HasFocus is NOT optional for this interface.

If I have a script that responds to a FocusEnter event by turning green and responds to a FocusExit event by turning blue, at what point is HasFocus required for me to do any of that?

Though Unity's event system, though a serialized field, though a service that is keeping track of the reference, etc.

At that point (since it becomes app-implementation-specific and not Toolkit-specific), why not keep a reference to your specific base class that has this defined, instead of the interface? It feels like this is adding implementation-specific requirements to the Toolkit, instead of allowing developers to respond to the events and define their own state and requirements.

That's the point of the interface to begin with. To help drive what that implementation contract should look like.

It feels like this is adding implementation-specific requirements to the Toolkit, instead of allowing developers to respond to the events and define their own state and requirements.

That's the opposite of the intention for this. Because they can still define their own state and requirements, but it's expected that they satisfy the contract by acknowledging that the handler has focus or not.

The point is we expect that a focus handler will give us information about wither or not the GameObject it's attached to has focus or not. The events are simply the hooks into the component to deal with how it determines that state.

The events are simply the hooks into the component to deal with how it determines that state.

If that is the case, would it not benefit customers to have a state interface that enables them to not have to handle the events?

If that is the case, would it not benefit customers to have a state interface that enables them to not have to handle the events?

No, because this is a requirement of the interface to respond to focus events and keep the state.
This needs to be part of the interface for the focus handler to function properly.

I don't see any logial explanation why this PR has not been approved yet.
It's fixing the removal of a fundamental part of what makes a focus handler, a focus handler.
There's no rules, guidelines, nor reason why we cannot have 'HasFocus` part of this interface.
I do not want to have to query each of my pointers to figure out the current focus status of my game object.
I need to be able to get this data through this interface.

Bump

It would be great to have a proposal and a design discussion around this.
Event handler interfaces have previously only contained definitions of the events they handle. We intentionally haven't provided definitions of state in handlers, because many of those are app specific and none of them are referenced by systems of the Toolkit.
Specifically, this (and other state information) was removed from this handler after customer feedback was received that requiring state information in a handler interface was confusing when they only wanted to consume events. If we want a non-handler interface that does both, I don't see why we can't add that while leaving this handler interface as-is.
Once event data makes it into the app layer, a developer is free to pass around whatever state information they need (or, if we take the previously proposed path of something like IFocusable or IFocusState, that would also be a solution if they need to pass an interface reference and want one defined by the MRTK).

none of them are referenced by systems of the Toolkit.

This will likely change once I update the focus provider, which will need to know the state of the focused object. (not part of that PR, but a subsequent one)
I don't see why we need to add an additional interface for something as trivial as this, and a design discussion is a bit overboard.
While, yes I understand the desire to only have handlers be event driven, it's expected that the state of the application be reflected for this one specific thing. I don't see it as overreaching to add a simple flag to the interface to accommodate important fixes that are coming down the pipe.
I think adding additional interfaces will add confusion.

This will likely change once I update the focus provider, which will need to know the state of the focused object.

This is why I think a proposal would be helpful. It'd be good to know what the plan for this change is.
Proposing to use this for internal purposes makes me even more unsure this is the right way to go. I'm definitely interested to see the proposal, but depending on something that needs to be set by a dev's implementation seems risky, as some devs might choose to ignore the value. It seems more like we should be using some internal state definition.

I need to write a 5 page proposal for a simple bool flag that makes the focus handling clear & easier to work with?
I plan to utilize this flag in the MRTK's focus provider, not some internal implementation. In fact I'd like to spin this and say that the aversion to add this in fact goes the other way around as it serves your "internal" implementations more than the open source community's. Now that is a concern.
Personally I don't see the why this is such a point of contention as it is a simple flag. I don't see the benefit of making an entirely new interface for something that should be simple to use and it clearly conveys the intention of how the interface is top be used.
Yes it handles focus events, and yes it keeps track of state. We never agreed, as a group, that there should be any distinction between the two, nor are they any design guidelines that dictate this as well.
Adding this flag will make focus checking in the provider faster, easier to implement, as it removes the need to keep an internal list of all of the objects that are currently focused, and removes some of the need of having the focus provider to begin with.

as it serves your "internal" implementations more than the open source community's

By "internal", I mean "internal to the MRTK's systems", not some Microsoft-internal special implementation. Anything in the MRTK's systems does benefit the open source community. If we want to expose the Toolkit-internal state to the dev, we can, but this interface is intended to be implemented on the app-side, not the Toolkit-side.

as it removes the need to keep an internal list of all of the objects that are currently focused

This is why I've requested a proposal for how this will be used. Being a focused object inside the FocusProvider doesn't depend on being an IMixedRealityFocusHandler, so I'm interested to see the plan here.

Seems like we need to agree on the definition of a "handler". Feels like it's close to an Observer:
https://docs.microsoft.com/en-us/dotnet/standard/events/observer-design-pattern
"an object that receives notifications from a provider"
HasFocus is a means of querying the current state of an object.  This doesn't feel like it fits the definition of a pure observer. To fit the pattern, we would have an "observable" class that notifies anybody when HasFocused has changed.
That may or may not be complexity we want. But it would add clarity if we could define exactly what a "handler" is:

Recipient of events
Recipient of events and abstraction to state beneath.

Sounds like today, all our handlers are #1.

We're definitely not using the observer pattern, so I don't think that analogy quite fits, but I see where you're coming from.
To be the definition of a handler is the presentation layer's contract to satisfy specific implementation details of said interface. We have never agreed that a handler is only a recipient of events. Maybe that name should change?
This specific interface contract is meant to:

Notify the GameObject that it is attached to that it's state has changed
Do some implementation detail that updates it state, if needed.
Reflect that state without having to keep an internal list in some separate service.

To me the definition of a handler is the presentation layer's contract to satisfy specific implementation details of said interface.

Question: Is part of the toolkit (core / one or more systems) going to rely on data from the presentation layer (implementer of the IFocusHandler)? If so, that would seem to violate the layering contract as well as lead to customer confusion.

Maybe that name should change?

That would create quite a bit of churn. IHandler feels like a reasonable name, regardless of how this issue gets resolved.


Resolve issue with missing FQDN (PROJQUAY-4139)

Replaces fqdn library with hostname -f
Should resolve https://github.com/quay/mirror-registry/issues/60

/cherry-pick mirror-registry-1.2-rhel-8


Fix dashboard MySQL performance with large history for standard users

Stumbled into severe dashboard performance issue, when the following requirements are met:

history table is big (e.g. 450k records)
database engine is MySQL
after login only standard user privileges are granted

MySQL isn't using indexes properly when joining large tables and "sort by" is causing massive filesort.  It isn't ok to fetch 175MB of data from mySQL to count the rows in python. Dashboard data fetching is split to two queries and by forcing "with index" for mysql, the execution was improved from 10 seconds to fractions of second.
# Query_time: 10.360052  Lock_time: 0.000002  Rows_sent: 447869  Rows_examined: 1793977  Rows_affected: 0  Bytes_sent: 174179066
use pda;
SET timestamp=1675927412;
SELECT history.id AS history_id, history.msg AS history_msg, history.detail AS history_detail, history.created_by AS history_created_by, history.created_on AS history_created_on, history.domain_id AS history_domain_id
FROM history INNER JOIN domain ON history.domain_id = domain.id LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id
WHERE domain_user.user_id = 2 OR account_user.user_id = 2 ORDER BY history.created_on DESC;

mysql> describe SELECT history.id AS history_id, history.msg AS history_msg, history.detail AS history_detail, history.created_by AS history_created_by, history.created_on AS history_created_on, history.domain_id AS history_domain_id FROM
history INNER JOIN domain ON history.domain_id = domain.id LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id WHERE domain_user.user_id = 2 OR account_user.user_id = 2 ORDER BY history.created_on DESC;
+----+-------------+--------------+------------+--------+---------------+---------+---------+-----------------------+--------+----------+----------------------------------------------+
| id | select_type | table        | partitions | type   | possible_keys | key     | key_len | ref                   | rows   | filtered | Extra                                        |
+----+-------------+--------------+------------+--------+---------------+---------+---------+-----------------------+--------+----------+----------------------------------------------+
|  1 | SIMPLE      | history      | NULL       | ALL    | fk_domain_id  | NULL    | NULL    | NULL                  | 415710 |   100.00 | Using where; Using temporary; Using filesort |
|  1 | SIMPLE      | domain       | NULL       | eq_ref | PRIMARY       | PRIMARY | 4       | pda.history.domain_id |      1 |   100.00 | NULL                                         |
|  1 | SIMPLE      | domain_user  | NULL       | ALL    | domain_id     | NULL    | NULL    | NULL                  |      1 |   100.00 | Using where; Using join buffer (hash join)   |
|  1 | SIMPLE      | account      | NULL       | eq_ref | PRIMARY       | PRIMARY | 4       | pda.domain.account_id |      1 |   100.00 | Using index                                  |
|  1 | SIMPLE      | account_user | NULL       | ALL    | account_id    | NULL    | NULL    | NULL                  |      2 |   100.00 | Using where; Using join buffer (hash join)   |
+----+-------------+--------------+------------+--------+---------------+---------+---------+-----------------------+--------+----------+----------------------------------------------+
5 rows in set, 1 warning (0.00 sec)

# with force index:
mysql> describe SELECT history.id AS history_id, history.msg AS history_msg, history.detail AS history_detail, history.created_by AS history_created_by, history.created_on AS history_created_on, history.domain_id AS history_domain_id FROM history FORCE INDEX (ix_history_created_on) INNER JOIN domain ON history.domain_id = domain.id LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id WHERE domain_user.user_id = 2 OR account_user.user_id = 2 ORDER BY history.created_on DESC  LIMIT 4;
+----+-------------+--------------+------------+--------+---------------+-----------------------+---------+-----------------------+------+----------+----------------------------------+
| id | select_type | table        | partitions | type   | possible_keys | key                   | key_len | ref                   | rows | filtered | Extra                            |
+----+-------------+--------------+------------+--------+---------------+-----------------------+---------+-----------------------+------+----------+----------------------------------+
|  1 | SIMPLE      | history      | NULL       | index  | NULL          | ix_history_created_on | 6       | NULL                  |    2 |   100.00 | Using where; Backward index scan |
|  1 | SIMPLE      | domain       | NULL       | eq_ref | PRIMARY       | PRIMARY               | 4       | pda.history.domain_id |    1 |   100.00 | NULL                             |
|  1 | SIMPLE      | domain_user  | NULL       | ALL    | domain_id     | NULL                  | NULL    | NULL                  |    1 |   100.00 | Using where                      |
|  1 | SIMPLE      | account      | NULL       | eq_ref | PRIMARY       | PRIMARY               | 4       | pda.domain.account_id |    1 |   100.00 | Using index                      |
|  1 | SIMPLE      | account_user | NULL       | ALL    | account_id    | NULL                  | NULL    | NULL                  |    2 |   100.00 | Using where                      |
+----+-------------+--------------+------------+--------+---------------+-----------------------+---------+-----------------------+------+----------+----------------------------------+
5 rows in set, 1 warning (0.00 sec)

GUI improvement to extend dashboards actions column to 25% if user is allowed to view history.

This PR needs more improvement by the SQL side. With having 450K history entries and adding 100 users to account, another MySQL bottleneck strikes:
SELECT count(*) AS count_1
FROM (SELECT history.id AS history_id, history.msg AS history_msg, history.detail AS history_detail, history.created_by AS history_created_by, history.created_on AS history_created_on, history.domain_id AS history_domain_id
FROM history INNER JOIN domain ON history.domain_id = domain.id LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id
WHERE domain_user.user_id = 102 OR account_user.user_id = 102) AS anon_1
+----------+
|   447880 |
+----------+
1 row in set (45.53 sec)

mysql> SELECT count(*)  FROM history where domain_id in (SELECT domain.id FROM domain LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id WHERE domain_user.user_id = 102 OR account_user.user_id = 102);
+----------+
| count(*) |
+----------+
|   447880 |
+----------+
1 row in set (0.19 sec)

# possible sqlalchemy solution (not tested yet):

subquery = db.session.query(Domain.id) \
.outerjoin(DomainUser, Domain.id == DomainUser.domain_id) \
.outerjoin(Account, Domain.account_id == Account.id) \
.outerjoin(AccountUser, Account.id == AccountUser.account_id) \
.filter(db.or_(
 DomainUser.user_id == current_user.id,
 AccountUser.user_id == current_user.id
)) \
.subquery()

history_number = db.session.query(History).filter(History.domain_id.in_(subquery)).count()

Also regarding the UI changes, the conflict perhaps resolves by the UI redesign or will be addressed later.

@raunz I appreciate your work on this thus far. Hopefully I will find more time in the near future to spin up a proper test environment and generate lots of data to simulate these kinds of problems and then I can work through them much more effectively and aggressively.
For my own planning purposes, do you intend to continue work on this problem or do you need someone else to step in?

@raunz I appreciate your work on this thus far. Hopefully I will find more time in the near future to spin up a proper test environment and generate lots of data to simulate these kinds of problems and then I can work through them much more effectively and aggressively.
For my own planning purposes, do you intend to continue work on this problem or do you need someone else to step in?

Yes, I'll continue - I'll update the dashboard performance patches to the latest master (UX changes and etc). I know, that the most of performance issues are derived from MySQL features/problems and for example PostgreSQL users don't stumble on these at all.
We can't improve the speed of how fast UI retrieves data from PowerDNS API (e.g. 1000 domains), but on top of that data, all queries from PowerDNS-Admin database must be really really fast. Otherwise the UI responsiveness in intolerable, specially on Dashboard. I've been thinking to actually drop the "History count" and "last 4 from history" from the Dashboard just to improve performance.
Also I'll try to make a PR to disable "user auth logging" to History. Imho the History should contain only the actual changes in the data, otherwise the Administrators dashboard with 100 users system shows always "someone logging in" instead of last 4 changes, making it worthless.

Shall I suggest to split all security related logs into another table. The idea of keeping change in the small table on the Dashboard is great, however dropping any security related logs is a bad idea.
If it is too much work, then keeping it like this should not be an issue.

Shall I suggest to split all security related logs into another table. The idea of keeping change in the small table on the Dashboard is great, however dropping any security related logs is a bad idea.

+1 to this approach.
I'd also move all users/accounts activity to separate log table. Then the History on the dashboard would contain only actual changes. Also the History search page already has a separate tab for "Search for User Authentication", which is available for admins only and could easily be pointed to different table.
The only drawback is the current pda users  auth data in History table where all records are mixed. Perhaps a schema migration helper SQL would pull this off...

@raunz I'm in favor at minimal of removing the recent history from the dashboard. I don't see four lines of anything as valuable regardless. Truth be told, if this information is what I seek, then I'll head right to the feature that is best designed to consume it. Consider that a decision made and I will strip it from the dashboard in more of my coming changes.
I don't want to speak on the bigger performance issue resolution proposals without setting up a proper test case for me to self-analyze as well. I will say this though, I would suggest some consideration to the implications of too much work here as the next-gen application should largely if not entirely address issues such as these.

I patched the PR to the latest master. SQL queries on the dashboard are performing well.
SELECT history.id AS history_id, history.msg AS history_msg, history.detail AS history_detail, history.created_by AS history_created_by, history.created_on AS history_created_on, history.domain_id AS history_domain_id
FROM history FORCE INDEX (ix_history_created_on)
WHERE history.domain_id IN (SELECT domain.id
FROM domain LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id
WHERE domain_user.user_id = 2 OR account_user.user_id = 2) ORDER BY history.created_on DESC
LIMIT 4;

4 rows in set (0.02 sec)

SELECT count(*) AS count_1
FROM (SELECT history.id AS history_id, history.msg AS history_msg, history.detail AS history_detail, history.created_by AS history_created_by, history.created_on AS history_created_on, history.domain_id AS history_domain_id
FROM history
WHERE history.domain_id IN (SELECT domain.id
FROM domain LEFT OUTER JOIN domain_user ON domain.id = domain_user.domain_id LEFT OUTER JOIN account ON domain.account_id = account.id LEFT OUTER JOIN account_user ON account.id = account_user.account_id
WHERE domain_user.user_id = 2 OR account_user.user_id = 2)) AS anon_1;

+---------+
| count_1 |
+---------+
|  447946 |
+---------+
1 row in set (0.09 sec)

After merge, the slowest part of the dashboard will be PowerDNS API response retrieval.


Last Week In Pony - March 11, 2018

Yes, add your Last Weeks Playground links as comments below!

My submission is quite simple, but I hadn't ever seen anything like this in any other language and I thought it was cool that Pony can do this.

I've been working on improving performance of TCPConnection when using expect. If you are interested in some gory guts, have a peek at the code. Note, its fairly undocumented: https://github.com/wallaroolabs/pony-network-tests

New Ponybench RFC has been merged to master:
https://github.com/ponylang/ponyc/pull/2578

Compile time expressions RFC accepted:
https://github.com/ponylang/rfcs/blob/master/text/0053-compile-time-expression.md


Where I can found docs about NL when creating NLU?

I don't know

treshold
As intent
Output
Path
Flatten
Processor

Can someone explain that term to me?

Hi, you may find those terms in https://docs.kata.ai/nl-studio/nlu/
Thank you


linuxPackages.evdi: <IP_ADDRESS> -> 1.5.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/evdi/versions.
meta.description for linuxPackages.evdi is: '"Extensible Virtual Display Interface"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/7e422e2989371ad3e616dc489cc48b8e

du listing: https://gist.github.com/25b0a0709eaf6223f534907a1212d200

Rebuild report (click to expand)

59 total rebuild path(s)
20 package rebuild(s)
20 x86_64-linux rebuild(s)
20 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
19 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
displaylink
linuxPackages-libre.evdi
linuxPackages.evdi
linuxPackages_4_14.evdi
linuxPackages_4_18.evdi
linuxPackages_4_19.evdi
linuxPackages_4_4.evdi
linuxPackages_4_9.evdi
linuxPackages_hardened.evdi
linuxPackages_hardkernel_4_14.evdi
linuxPackages_hardkernel_latest.evdi
linuxPackages_latest-libre.evdi
linuxPackages_latest.evdi
linuxPackages_latest_hardened.evdi
linuxPackages_latest_xen_dom0.evdi
linuxPackages_latest_xen_dom0_hardened.evdi
linuxPackages_testing_bcachefs.evdi
linuxPackages_testing_hardened.evdi
linuxPackages_xen_dom0.evdi
linuxPackages_xen_dom0_hardened.evdi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A linuxPackages.evdi https://github.com/r-ryantm/nixpkgs/archive/45fa7b6f3659ddc4eaa5f4057b1aa7c906a77510.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1
ls -la /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1/bin

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages.evdi
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: linuxPackages.evdi
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1
shrinking /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1/lib/libevdi.so
shrinking /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1/lib/modules/4.14.81/kernel/drivers/gpu/drm/evdi/evdi.ko
wrong ELF type
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1/lib
patching script interpreter paths in /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1
checking for references to /build in /nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1...
wrong ELF type
/nix/store/q31vd7lk1wq7qkd5scdp5rvpm88ip240-evdi-1.5.1

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.evdi
Partial log (click to expand)
while evaluating the attribute 'linux_4_14' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:14357:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:108:35, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:14357:16:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:67:24, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:112:8:
while evaluating anonymous function at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:69:12:
while evaluating 'buildLinux' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:14655:16, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:108:35, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:14655:23:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:67:24, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:112:8:
while evaluating anonymous function at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:1:1, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:69:12:
assertion failed at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:51:1

I changed meta.broken because it should build with kernel 4.15 to 4.17 after:
https://github.com/DisplayLink/evdi/commit/90c26648acbe9a2f7ce4e0331e39045819323bf2

@GrahamcOfBorg build linuxPackages.evdi

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages.evdi
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: linuxPackages.evdi
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1
shrinking /nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1/lib/libevdi.so
shrinking /nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1/lib/modules/4.14.82/kernel/drivers/gpu/drm/evdi/evdi.ko
wrong ELF type
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1/lib
patching script interpreter paths in /nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1
checking for references to /build in /nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1...
wrong ELF type
/nix/store/71w11b5ig5223yfs1v1yffjc4vccf9wg-evdi-1.5.1

@GrahamcOfBorg build displaylink

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: displaylink
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: displaylink
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


Error loading dataset

When I try to run, there is a problem with the loading prompt.I also have a question that other 2D attitude estimators, such as CPN and SH, can be selected in the input parameters, but the given dataset only includes the values of gt and HRNet. Is it convenient to provide data from other 2D attitude estimators?
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0:

I've got same problem. That's easy to figure out, the error information have told, you could try to change another Unicode where the function be used"result = unpickled.load()". I've tried use Latin1 or other Unicode and that's worked.

When I try to run, there is a problem with the loading prompt.I also have a question that other 2D attitude estimators, such as CPN and SH, can be selected in the input parameters, but the given dataset only includes the values of gt and HRNet. Is it convenient to provide data from other 2D attitude estimators?
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0:

I've got same problem. That's easy to figure out, the error information have told, you could try to change another Unicode where the function be used"result = unpickled.load()". I've tried use Latin1 or other Unicode and that's worked.

When I try to run, there is a problem with the loading prompt.I also have a question that other 2D attitude estimators, such as CPN and SH, can be selected in the input parameters, but the given dataset only includes the values of gt and HRNet. Is it convenient to provide data from other 2D attitude estimators?
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0:

I've got same problem. That's easy to figure out, the error information have told, you could try to change another Unicode where the function be used"result = unpickled.load()". I've tried use Latin1 or other Unicode and that's worked.

Yes, Pytorch > 1.4 may raise this error. You may try this
cur_data_2d = torch.load(os.path.join(data_path, data_2d_file), encoding='Latin1')


Feedback & Feature Request (Show current Speeds & Voltage Usage & Battery Level)

Hi,
Just used the amazing app on my
Consistent Piranha (Bike Name) on my EU bike here in Australia.
Which is amazing with the way the bike feels completely new with the EU -> US transition (stronger acceleration/PAS ).
However since the swap from the official app to the super duper app, I noticed its missing Current Speed & Current Battery & Current Voltage/Watts Use. Was wonder if we can keep it on the main screen.
Extra points if you can make it detect indicators.

Speed and other metrics are totally possible, here is the wiki for those @blopker if you need reference: https://github.com/AxelFougues/Walker73/wiki
I haven't found anything about the indicators but I do have the walk assist and some other values are still unidentified so maybe...

Like @AxelFougues said, I generally like to keep the app light. If you're on Android the Walker73 has more of a dashboard experience you might like. Although since this is the first time someone has actually asked for this info, I', curious how you would use it. Do you mount your phone on your bike? Just like to check the levels when you're not riding?

I'm using iPhone, so its a bit bias.

Personally when riding phone is mounted on center. Normally I have Spotify (music) player showing. However I scroll between apps to check Bike Battery Percentage when doing bigger rides on red lights/breaks, ensuring I have enough range.

Emailed privately.

However I am fine with/without the feature request. (It was only a suggestion)

Thanks for the extra context, and for the request! I'll leave this up for now in case anyone wants to add a +1. I'm curious though, does your bike not have the bar mounted circle screen? I typically use that for the battery indicator.

My bike has the diamond screen, and to see the battery is the circle on the border.
However its very hard to tell the percentage, especially when its not 25%, 50%, 75%, 100%
eg. 64% of a circle is very hard to read accurately.

My bike has the diamond screen, and to see the battery is the circle on the border. However it's very hard to tell the percentage, especially when its not 25%, 50%, 75%, 100% eg. 64% of a circle is very hard to read accurately.

100% agree with this, the recessed screen makes the border ring very hard to see unless you're facing it perfectly.

Great. Thanks for the info. @AxelFougues, can you point to the code in Walker to get the battery level? What math is required to map the raw values from 0 to 100 percent?

Great. Thanks for the info. @AxelFougues, can you point to the code in Walker to get the battery level? What math is required to map the raw values from 0 to 100 percent?

Receiving the data bytes here:
https://github.com/AxelFougues/Walker73/blob/c94772aabb0587332c3efd997ac0ab58eb145826/Assets/BikeState.cs#L300
I then extrapolate the battery level from the range:
https://github.com/AxelFougues/Walker73/blob/c94772aabb0587332c3efd997ac0ab58eb145826/Assets/BikeState.cs#L323
And then I approximate the voltage from the level using a standard Li-ion discharge curve 😉

Here is a good reference for Li-ion % to V correspondence. Their sheets are very convenient:
https://talesontwowheels.com/2019/10/02/li-ion-ebike-battery-charge-charts/?amp=1

Amazing, thank you. This will make it easier to implment.

I am very interested to learn dart & flutter as I normally code heavy in php and want to try something new.
If you haven't started. Will do a pull request in the future with the the changes.

Definitely! I find Flutter to be the best mobile development experience at this point. The challenge with this project is that it's hard to use an emulator to test since most of the functions need Bluetooth. Happy to answer any questions though.

Made some progress, Now I have carry my heavy bike from garage into my apartment to continue the live testing (with a dummy android with Bluetooth), also never wiresharked a Bluetooth connection, so I'll give that an attempt to get more of a better knowledge of the bike.
https://github.com/blopker/superduper/compare/main...Bamuel:superduper:main

Looks good! Yeah, I had to move my bike out of my living room after the girlfriend started making remarks :)

@blopker
Having the same problem with GF not allowing me to keep the bike upstairs/living room (while she is home), but to confirm am I going to the right path
https://github.com/blopker/superduper/blob/8beb955abf535937ac82075e2d8acb40cc7b9aef/lib/repository.dart#L145C21-L145C42
getNotificationStream(String deviceId)
*Not used anywhere in the code?
I think this returns the bike's data for me to get the Bike info.
@AxelFougues I am assuming you are getting the battery estimated based of the range?
What is the difference between UUID_CHARACTERISTIC_REGISTER & UUID_CHARACTERISTIC_REGISTER_NOTIFIER,
Does it matter where I get my data from?

Right getNotificationStream isn't used right now. The app polls the bike currently instead of using a subscription. When I tried to do a sub it was a bit unstable, but I didn't try that hard. If you do get that working reliably it would be a great improvement.

Polling is kicked off here: https://github.com/blopker/superduper/blob/8beb955abf535937ac82075e2d8acb40cc7b9aef/lib/bike.dart#L33C1-L35C8

Thanks everyone for the guide.
Makes a lot more sense now.

You can use UUID_CHARACTERISTIC_REGISTER at any time to read any data. First you need to choose what data you want by writing the id to UUID_CHARACTERISTIC_REGISTER_ID and then read at UUID_CHARACTERISTIC_REGISTER.

Then I will use readCurrentState() which does above mentioned.

Polling is kicked off here: https://github.com/blopker/superduper/blob/8beb955abf535937ac82075e2d8acb40cc7b9aef/lib/bike.dart#L33C1-L35C8

Awesome 😄

I got it to work, Thanks everyone, Will do a pull request soon.

Nice! Is it possible to have the battery icon roughly reflect the state of charge? i.e. Full battery icon at 80-100%, then lower as the percentage goes down? Having a full battery with a not full icon would kill my OCD 😄

Nice! Is it possible to have the battery icon roughly reflect the state of charge? i.e. Full battery icon at 80-100%, then lower as the percentage goes down? Having a full battery with a not full icon would kill my OCD 😄

That's already done, *It an old screenshot
But i done the calculation based on eye

Awesome! It's cool you get the icon in your sidebar there. I'm not sure mine does that.

Also, there's an opportunity here to use the switch expression:
String getBatteryLevelIcon(int batteryLevel) {
  return switch (batteryLevel) {
    > 95 => "case 0",
    > 80 => "case 1",
    > 50 => "case 2",
    > 20 => "case 3",
    >= 0 => "case 4",
    _ => "default",
  };
}

Maybe a little easier on the eyes :)

Awesome! It's cool you get the icon in your sidebar there. I'm not sure mine does that.

I changed widget.dart to do that. It makes things look better, especially for people who don't read English as their main language.

Also, there's an opportunity here to use the switch expression:
String getBatteryLevelIcon(int batteryLevel) {
  return switch (batteryLevel) {
    > 95 => "case 0",
    > 80 => "case 1",
    > 50 => "case 2",
    > 20 => "case 3",
    >= 0 => "case 4",
    _ => "default",
  };
}

Maybe a little easier on the eyes :)

Sure. Easy, update.
I tend to avoid switch, as I've  seen multiple occurrences of switch statements (at work) reach over 1000 lines, and its nasty, especially if you want to edit it.

https://github.com/blopker/superduper/pull/25


[SQS] When creating a queue return the QueueArn on the response

http://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/SQS/TSQSCreateQueueResponse.html
Currently when you create a queue, the above object is returned. I would like the QueueArn also to be returned alongside the QueueUrl.
Many thanks,
Singh

This is service behavior, and not something that the .NET SDK can change.
In order to retrieve the ARN of the queue, you need to call the GetQueueAttributes operation.
If you would like to suggest this change to the service team, you can post a message on the SQS forum.


README: add Objective-C library

Objective-C wrapper of the C++ library

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #20   +/-   ##
====================================
  Coverage      84%   84%
====================================
  Files           2     2
  Lines          75    75
  Branches        9     9
====================================
  Hits           63    63
  Misses         12    12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3385957...b7ad54d. Read the comment docs.

⚠ prerelease

I'm wary of adding that in the Binary Implementation column. Let's keep that in the README.md for your package? I also think it would make more sense if there were many packages that were prereleae

Thanks! 👍


BSP Development for Raspberry Pi B Model Board

Hi,
I'm new to BSP development. I wish to know how to build BSP for Raspberry Pi B model?
-- Can we use BitBake to do the job?
Thanks in advance.
Ravindra

I think you are in the wrong repo sir.


Right-click context menu in dark mode unreadable

Description
Right-click, context menu in dark mode is unreadable.
Steps To Reproduce

Right-click on a file or folder while in dark mode.
try to read the context menu.

Requirements
The context menu should use an appropriately visible colored font in the dark mode menu.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631
Log File
debug.log

Thanks for the feedback.
Can you send a screenshot?

What happens if you restart Windows? This is actually a known issue in. WinUI but restarting Windows usually solves the issue.

My apologies. You are correct; the context menu is readable now. Sorry for taking up your time.


Feature request: Inline links

Love this!
Just wondering if it would be possible to add an inline option to the styles? This would render a navbar style ToC, something like this:
Item 1  |  Item 2  |  Item 3  | Item 4
Perhaps let people specify the delimiter, too?
Here is what the header of my daily notes look like. The to-do and notes links are generated by dynamic toc. You can see why I immediately wanted an inline ToC. :)
Many thanks!

Hmm, one part of me saying "it's not really in the scope of this project", and the other is saying "it's just a new style"
Leave it with me and I'll see what I can do.

Released in 0.0.25

Haha, wow, I posted this when I went to bed (was thinking about tomorrow's daily) and when I get back to my computer next day, you've already pushed the change. ❤
Have just tried it and it works perfectly. Thank you!


Feature: Card Start Date

Set a starting date for a card along side its due date. Fixes #68

Now, there are two main issues I know of: You can set startsAt to be after dueAt or vice versa, set dueAt to be before startsAt, and changes to fields don't sync between views until you refresh the application. Regarding the first issue, I didn't know where should I handle the validation; on the client or on the server?

Now, there are two main issues I know of: You can set startsAt to be after dueAt or vice versa, set dueAt to be before startsAt, and changes to fields don't sync between views until you refresh the application. Regarding the first issue, I didn't know where should I handle the validation; on the client or on the server?

That's fine we don't have to handle it right now.
Regarding validation, usually you'd do both frontend and backend validation

Here it is, I reverted the repository status to when you could only edit the start date from the card view. I hope I haven't missed anything up with what I've did...


Added info about destructuring the Blog component

Added info about destructuring by using the Blog component as an example.
Also fixed a simple typo.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you @Morsby for your contribution and congratulations on your first PR merge to this repo! 🎉
Hope to see more contributions from you in the future.


ENH: stats.zmap/zscore/gzscore: add array API support

Reference issue
Toward gh-20544
What does this implement/fix?
Adds array API support to zmap, zscore, and gzscore.

Array API strict failures seem to be unrelated (gh-21073).

Well, I can probably try using item assignment there instead? JAX is already skipped sometimes.

Well, I can probably try using item assignment there instead? JAX is already skipped sometimes.

Yes I think that would also work

OK, tried that so you can test more thoroughly. Also replaced the use of NumPy to work with axis. Ternary version provided as a comment ; )

@melissawm any guess on whether the PosixPath('/home/circleci/repo/doc/source/_contents/hypothesis_bartlett.ipynb') are the same file error could be related to this PR? I'm not seeing it elsewhere, but I don't see how that could be affected by this PR.
reading sources... [ 99%] tutorial/stats/discrete_planck
reading sources... [ 99%] tutorial/stats/discrete_poisson
reading sources... [ 99%] tutorial/stats/discrete_randint
reading sources... [ 99%] tutorial/stats/discrete_yulesimon
reading sources... [ 99%] tutorial/stats/discrete_zipf
reading sources... [ 99%] tutorial/stats/discrete_zipfian
reading sources... [ 99%] tutorial/stats/hypothesis_bartlett
/home/circleci/repo/doc/source/tutorial/stats/hypothesis_bartlett.md: Executing notebook using local CWD [mystnb]
/home/circleci/repo/doc/source/tutorial/stats/hypothesis_bartlett.md: Executed notebook in 9.00 seconds [mystnb]

Traceback (most recent call last):
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/cmd/build.py", line 337, in build_main
    app.build(args.force_all, args.filenames)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/application.py", line 378, in build
    self.builder.build_update()
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 297, in build_update
    self.build(to_build,
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 318, in build
    updated_docnames = set(self.read())
                           ^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 425, in read
    self._read_serial(docnames)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 477, in _read_serial
    self.read_doc(docname)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 536, in read_doc
    publisher.publish()
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/core.py", line 234, in publish
    self.document = self.reader.read(self.source, self.parser,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/sphinx/io.py", line 106, in read
    self.parse()
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/readers/__init__.py", line 76, in parse
    self.parser.parse(self.input, document)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_nb/sphinx_.py", line 157, in parse
    mdit_renderer.render(mdit_tokens, mdit_parser.options, mdit_env)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_parser/mdit_to_docutils/base.py", line 243, in render
    self._render_tokens(list(tokens))
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_parser/mdit_to_docutils/base.py", line 222, in _render_tokens
    self.rules[f"render_{child.type}"](child)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_nb/core/render.py", line 117, in render_nb_cell_markdown
    self.render_children(token)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_parser/mdit_to_docutils/base.py", line 396, in render_children
    self.rules[f"render_{child.type}"](child)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_parser/mdit_to_docutils/base.py", line 752, in render_fence
    return self.render_restructuredtext(token)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_parser/mdit_to_docutils/base.py", line 1680, in render_restructuredtext
    MockRSTParser().parse(pseudosource, newdoc)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/myst_parser/mocking.py", line 552, in parse
    super().parse(inputstring, document)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/parsers/rst/__init__.py", line 184, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/parsers/rst/states.py", line 169, in run
    results = StateMachineWS.run(self, input_lines, input_offset,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/statemachine.py", line 233, in run
    context, next_state, result = self.check_line(
                                  ^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/statemachine.py", line 445, in check_line
    return method(match, context, next_state)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/parsers/rst/states.py", line 2357, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/parsers/rst/states.py", line 2369, in explicit_construct
    return method(self, expmatch)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/parsers/rst/states.py", line 2106, in directive
    return self.run_directive(
           ^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/docutils/parsers/rst/states.py", line 2156, in run_directive
    result = directive_instance.run()
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/site-packages/jupyterlite_sphinx/jupyterlite_sphinx.py", line 368, in run
    shutil.copy(notebook, notebooks_dir)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/shutil.py", line 431, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/shutil.py", line 236, in copyfile
    raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/home/circleci/repo/doc/source/_contents/hypothesis_bartlett.ipynb' and PosixPath('/home/circleci/repo/doc/source/_contents/hypothesis_bartlett.ipynb') are the same file

Exception occurred:
  File "/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/shutil.py", line 236, in copyfile
    raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/home/circleci/repo/doc/source/_contents/hypothesis_bartlett.ipynb' and PosixPath('/home/circleci/repo/doc/source/_contents/hypothesis_bartlett.ipynb') are the same file
The full traceback has been saved in /tmp/sphinx-err-ndbm02yd.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:114: html-build] Error 2
Skipping build

Exited with code exit status 1

The same failure showed up in #21209 so looks unrelated

I believe this has to do with a new release of jupyterlite-sphinx. @steppi is looking into it, thanks for the ping!

Docs CI should be functional again, cheers!


3 String Chord

Can I use chord.js for 3 string instrument? Look like ukulele but consist of 3 line string,

No, chord.js currently doesn't support 3 string instruments.


Android Basics: ViewModel

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-viewmodel?authuser=5&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-3%3Fauthuser%3D5%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-viewmodel#6
In which task and step of the codelab can this issue be found?
7) Populate ViewModel: function getNextWord()
Describe the problem
The tutorial proposes that to first shuffle tempWord and then enter the while loop to make shure the word is really shuffled. This made me aware that the comparison in the while loop is wrong, as tempWord.toString() will never equal currentWord. It has to be String(tempWord) and then the shuffling before the while loop can eliminated.
/*

Updates currentWord and currentScrambledWord with the next word.
*/
private fun getNextWord() {
currentWord = allWordsList.random()
val tempWord = currentWord.toCharArray()
tempWord.shuffle()
while (tempWord.toString().equals(currentWord, false)) {
tempWord.shuffle()
}
if (wordsList.contains(currentWord)) {
getNextWord()
} else {
_currentScrambledWord = String(tempWord)
++currentWordCount
wordsList.add(currentWord)
}
}

Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

#9 has some more details about this

#9 has some more details about this

@nicogramm @MayaFB
Thank you for bringing this issue to our attention.
Changed the while condition.
PR: https://github.com/google-developer-training/android-basics-kotlin-unscramble-app/pull/11

@nicogramm @MayaFB
Thank you for bringing this issue to our attention.
Changed the while condition.
PR: https://github.com/google-developer-training/android-basics-kotlin-unscramble-app/pull/11


iOS Safari 13.4 adds experimental support for loading lazy

<img loading="lazy"> support can be enabled in Settings under the Safari > Advanced > Experimental Features menu since iOS safari 13.4. and is disabled by default.
https://bugs.webkit.org/show_bug.cgi?id=200764 was the ticket to track the implementation.
https://bugs.webkit.org/show_bug.cgi?id=208094 tracks when it moves from experimental to default.

Thanks!


403 forbidden for www.archimateviewer.nl

Hi, Is there a problem with the online viewer? When I visit http://www.archimateviewer.nl/ I get a 403 Forbidden response.

Hi,
Thanks for exploring the archimate viewer and for informing me about the
problems. It should be working again now.
Guido Janssen
2016-09-10 11:55 GMT+02:00 Adrian-A<EMAIL_ADDRESS>
Hi, Is there a problem with the online viewer? When I visit
http://www.archimateviewer.nl/ I get a 403 Forbidden response.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/guidohajanssen/archimateviewer/issues/5, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACxpbr62mRo61bj4oY_Ld_47atibvrjyks5qon6GgaJpZM4J5r1V
.


can you provide a algorithm of baidu tile？

i need to use baidu tile in android platform
thanks

a what? no idea what you're talking about

please reply with additional information

use tile source of google map is ok，but use tile source of baidu is not ok,thanks

is baidu a tile source? can you link me to it?

looking at the network traffic, requests for tiles look to be vector tiles, not raster images. This essentially means that we cannot support it without a large amount of work.
See also https://github.com/osmdroid/osmdroid/issues/246

like http://online3.map.bdimg.com/onlinelabel/?qt=tile&x=50&y=18&z=8&styles=pl&udt=20170712&scaler=1&p=1

js demo
http://gdyblog.com/Demo/Baidu/index.html

well that makes it easier
http://online3.map.bdimg.com/onlinelabel/?qt=tile&x=50&y=18&z=8&styles=pl&udt=20170712&scaler=1&p=1
x=50, y=18, z=8
make a custom xyztilesource instance and override getTileUrl. use that pattern as a guide. it 'should' match up

Coordinate system is not the same  @_@!

could be TMS, XYZ or YXZ, try switching the pattern around. Clear the tile cache before each attempt

https://github.com/sureleo/leaflet-baidu

@ruizhang81 not sure i can help you. It looks like it's a web mercator projector so i should work with osmdroid if you can figure out the coordinate system. that github project links to some sites with the equations. If you figure it out, comment back here. closing this issue for now


2018.11.0-beta

For #3269

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] ~Has a news entry file (remember to thank yourself!)~
[x] ~Unit tests & system/integration tests are added/updated~
[x] ~Test plan is updated as appropriate~
[x] package-lock.json has been regenerated by running npm install (if dependencies have changed)

Where can I download/sign up for beta releases?

@hvdklauw https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#development-build


openshift-bot stuck in endless loop if travis fails

If travis test fail, the openshift-bot ends up spamming PR with /retest.
You can see it in many PRs, one example is here https://github.com/openshift/odo/pull/4207#issuecomment-726345471
It looks like that openshift-bot can correctly detect that the test failed, but the /retest command doesn't trigger Travis tests so it ends up in this infinite commenting looop.
/area testing

@kadel AFAIK its quite obvious that /retest bot trigger will go in endless loop if any of the job fails. It has no knowledge of prow or non-prow jobs unfortunately, rather it just reacts on failures. I think this is how openshift-bot has been designed. This seems more like a bug to me.

This seems more like a bug to me.

That is why I opened this so we can fix it.


wip: build: update protobuf to 3.11.0 and gRPC to 1.25.0

Signed-off-by: Lorenzo Fontana<EMAIL_ADDRESS>What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
At the moment, Falco does not compile when glibc is > 2.3.0 .
This is because of some incompatibilities between gRPC and glibc, not caused by falco itself. See the PR on gRPC https://github.com/grpc/grpc/pull/18950
My proposed solution is to upgrade gRPC and protobuf to fix this.
Which issue(s) this PR fixes:
Fixes #921
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fntlnz
If they are not already assigned, you can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 7cb24c90c14190102a06a430287bcdf7c03d38bc

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.19.0


error in sideband demultiplexer

I sometimes get this error during a push, an error in my sideband demultiplexer is just as annoying as one in my flux capacitor :/.
I see this is a git error but is it related to the cartridge?
Thanks
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/master:refs/heads/master
Pushing to ssh://xxxxxxxx
remote: Stopping NodeJS cartridge
remote: Tue Jan 12 2016 17:35:10 GMT-0500 (EST): Stopping application 'api03' ...
remote: Tue Jan 12 2016 17:35:12 GMT-0500 (EST): Stopped Node application 'api03'
remote: Syncing git content to other proxy gears
remote: Saving away previously installed Node modules
remote: Building git ref 'master', commit d7456f9
remote:
remote:   - Checking to see if Node.js version 4.2.4 is installed ...
remote:   - Node.js version 4.2.4 is already installed
remote: Building NodeJS cartridge
remote:   - PATH set to include custom node version (4.2.4) from
remote:        /var/lib/openshift/5687b99a7628e1d706000009/app-root/data/node-v4.2.4-linux-x64/bin
remote:     PATH = /var/lib/openshift/5687b99a7628e1d706000009/app-root/data/node-v4.2.4-linux-x64/bin:/var/lib/openshift/5687b99a7628e1d706000009/app-root/runtime/repo/node_modules/.bin:/var/lib/openshift/5687b99a7628e1d706000009//.node_modules/.bin:/opt/rh/nodejs010/root/usr/bin:/var/lib/openshift/5687b99a7628e1d706000009/haproxy/usr/bin:/bin:/usr/bin:/usr/sbin
remote:   - Installing dependencies w/ new version of npm ...
remote:
remote: npm info it worked if it ends with ok
remote: npm info using<EMAIL_ADDRESS>
remote: npm info using<EMAIL_ADDRESS>
remote: npm info preinstall<EMAIL_ADDRESS>
remote: npm info package.json<EMAIL_ADDRESS>No README data
remote: npm info package.json<EMAIL_ADDRESS>No license field.
remote: npm info package.json<EMAIL_ADDRESS>No license field.
remote: npm info package.json<EMAIL_ADDRESS>license should be a valid SPDX license expression
remote: npm info package.json<EMAIL_ADDRESS>No license field.
remote: npm info package.json<EMAIL_ADDRESS>No license field.
remote: npm info package.json<EMAIL_ADDRESS>No license field.
remote: npm info package.json<EMAIL_ADDRESS>No license field.
remote: npm info build /var/lib/openshift/5687b99a7628e1d706000009/app-root/runtime/repo
remote: npm info linkStuff<EMAIL_ADDRESS>
remote: npm info build /var/lib/openshift/5687b99a7628e1d706000009/app-root/runtime/repo/node_modules/config-multipaas
remote: npm info preinstall<EMAIL_ADDRESS>
remote: npm info linkStuff<EMAIL_ADDRESS>
remote: npm info install<EMAIL_ADDRESS>
remote: npm info postinstall<EMAIL_ADDRESS>
remote: npm info build /var/lib/openshift/5687b99a7628e1d706000009/app-root/runtime/repo/node_modules/restify
remote: npm info preinstall<EMAIL_ADDRESS>
remote: npm info linkStuff<EMAIL_ADDRESS>
remote: npm info install<EMAIL_ADDRESS>
remote: npm info postinstall<EMAIL_ADDRESS>
remote: npm info install<EMAIL_ADDRESS>
remote: npm info postinstall<EMAIL_ADDRESS>
remote: npm info prepublish<EMAIL_ADDRESS>
remote: npm info ok
remote: Preparing build for deployment
remote: Deployment id is 955f4ccf
remote: Activating deployment
remote: HAProxy already running
remote: CLIENT_RESULT: HAProxy instance is started
remote:   - Checking to see if Node.js version 4.2.4 is installed ...
remote:   - Node.js version 4.2.4 is already installed
remote:
remote:   - pre_start_nodejs: Adding Node.js version 4.2.4 binaries to path
remote:   - PATH set to include custom node version (4.2.4) from
remote:        /var/lib/openshift/5687b99a7628e1d706000009/app-root/data/node-v4.2.4-linux-x64/bin
remote:     PATH = /var/lib/openshift/5687b99a7628e1d706000009/app-root/data/node-v4.2.4-linux-x64/bin:/var/lib/openshift/5687b99a7628e1d706000009/app-root/runtime/repo/node_modules/.bin:/var/lib/openshift/5687b99a7628e1d706000009//.node_modules/.bin:/opt/rh/nodejs010/root/usr/bin:/var/lib/openshift/5687b99a7628e1d706000009/haproxy/usr/bin:/bin:/usr/bin:/usr/sbin
remote: Starting NodeJS cartridge
remote: Tue Jan 12 2016 17:35:58 GMT-0500 (EST): Starting application 'api03' ...
remote: Waiting for application port (8080) become available ...
Connection to xxxxx.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To<EMAIL_ADDRESS>   b017ebf..d7456f9  master -> master
updating local tracking ref 'refs/remotes/origin/master'
error: failed to push some refs to<EMAIL_ADDRESS>Completed with errors, see above

Yeah, sometimes we also get funny-looking errors from OpenShift.
Most likely their sideband demultiplexer is using outdated diodes :-)
Joking aside, you can try redeploying your application with the latest cartridge version, if you haven't already.
This is definitely not a git error and I've seen it happening with the "official" OpenShift Node.js cartridge (v0.10).
In my case everything ends up working fine if I repeat git push once or twice...
But... are you sure you're using my cartiridge? The above output looks like it's coming from Ram's custom cartridge of one of its forks, not mine.
I never log something like PATH set to include custom node version in the install script, but I see Ram's cartridge does here. Also, I'm using a different Node.js installation path...

Argh, no I'm not sure, and yes, it is Ram's doh.
As for the workaround, it seems I can't push again as there is nothing to push, so I increment the package.json version and push that. I now print the npm version to the log as I've noticed before the app restarting (after a push/deploy) but it isn't the correct version, something else to worry about.
Sorry for the false issue.
Cheers.

Np :-)

Just for other stumbling across similar error in sideband demultiplexer issues with this cartridge: In my experience this can happen when the deployment takes too long. It looks like it gets interrupted at some point, causing the git hook to abort with that error message.
In my case I have one app I can never deploy from scratch, it will always break during the initial npm install (which compiles a couple of native modules and takes quite long). My workaround is to ssh into the gear after the first deployment failed and running npm install manually in $OPENSHIFT_REPO_DIR. Since the node_modules will be reused in later deployments this usually fixes the issue for me.

@phw - Thanks for the update.

@jonface something you might find useful when a remote rebuild depends on a git push:
git commit -am 'Rebuild' --allow-empty
git push

@rblakeley Ahhh --allow-empty , cheers!


dev: Use re_execute_transactions rather than simulate_transaction in prepare_tx_receipt

re_execute allows us to rebuild the exact state of the chain before executing the TX of which we want the receipt, and therefore run the validate step successfully (without it the nonce may not match or the account may not be funded, etc)
Using simulate with validate = false, as we are doing now, output lower fees that are supposed, use re_execute_transactions instead.
Most likely we can also compute the fees rather than reading it from the last event in the tx, which is a bit wacky

Fixed it here #1577


master backup 2022-11-26 by dy

Before issuing a pull request, please see the contributing page.

done 2022-11-26 by dy


Add vocal-project to the whitelist

This org hosts the GOSPEL project.

Welcome to OCaml-CI :slightly_smiling_face:


[Docs] Structure the README.md file to reflect all the examples in the repo

Looking for a contribution from the community to structure the repository README.md file so that it describes all the examples in the repository for someone who looks into the repo for the first time.
Acceptance Criteria:
Improvement to the docs.

Hey @iam-veeramalla I want to do it can you assign it to me?

https://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue
Please go through it, if the docker is failed to pull the image


fix: super troop level issue below town hall 11

Deploy preview for clashofclans-js ready!
✅ Preview
https://clashofclans-lmq8d5186-csuvajit.vercel.app
Built with commit 71d95633f232d894f774b86edab2ee122ab06d0d.
This pull request is being automatically deployed with vercel-action


"Add type annotation" is missing "dynamic" resulting in invalid code

I've seen this happen a couple of times in the Flutter project. Given code like this:
Future<Map<String, dynamic>> test() async {
  return null;
}

Future<Map<String, dynamic>> test2() async {
  final a = await test();
  return a;
}

If you invoke Add type annotation on the final a = ... line, you end up with code like this:

Future<Map<String, dynamic>> test() async {
  return null;
}

Future<Map<String, dynamic>> test2() async {
  final Map<String, > a = await test();
  return a;
}

For some reason the word dynamic has been omitted so you get an error and have to add it in manually. I can't see any obvious reason why this wouldn't work.

That's a bug. There's code to prevent adding dynamic at the top level, but it appears that we're not distinguishing between top-level and nested uses.

This came up in Gitter today, I think it's the same cause. Given this code:
class ClassA<T> {}

class ClassB<A, B extends ClassA<A>> {}

abstract class ClassC {
  List<ClassB> get list;
}

class ClassD extends ClassC{
}

If you invoke "Create 1 missing override" on ClassD, you get this:
List<ClassB<, ClassA>> get list => null;

Since no type was given for A in the definition of ClassC, it's presumably inferred as dynamic, but then missing from the generated code.

This appears to have been fixed (probably by fdf4a1cc478bb4f3c7820b7b7ea4fa96ed23a585, which has a test similar to the code above and adds required: true when writing type args).


Check that shared dictionaries exist before starting Kong

I have seen many issue of people customizing the nginx configuration file, and mistakenly removing the shared dictionaries which will then cause an error at runtime.
Implement a startup check that makes sure all the dictionaries have been defined, otherwise don't start Kong.

@thefosk where to do this check? in the CLI (hard) or in the Lua initialization (easy)...

This should be checked in init_by_lua and instruct the user to add the directive in the error message which builds the directive strong for the user to copy-paste)


Announce Flow releases on the blog

There have been eight releases of Flow since 0.5.0, but only one of them has been mentioned on the Flow blog. To find out about Flow releases, I check the GitHub releases page once or twice a week.
It would be helpful to have a venue where new versions of Flow were reliably announced.

You're 100% right. Even if we don't have a feature blog post written, we should still post something to the blog & tweet it too. I'll add these to our release checklist. Sorry about that!

Sounds like @gabelevi is taking point on this ongoing, so going to close this issue out.
If you can think of ways in which we could do even better still in the future feel free to re-open, continue commenting, or continue sending feedback anywhere you can. Hearing this stuff we could do better is really really helpful, so please keep it coming!


Organization feature flags

Currently we can enable a feature flag for all the users of an organization, but not for an organization itself.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Interact with movement suspension

Currently waiting for a position #56 isn't very useful by itself. Need an interact with object, floor item, mob, player, bot action, which will need size cache definitions to calculate positions.

It will also need to return null or a failure type if can't/doesn't reach the destination.

Tests:

[ ] Walk to player, if player moves, then doesn't follow
[ ] Trade player does follow them until within interact distance
[ ] Examine mob doesn't do any movement
[ ] Talk/Pickpocket follows mob until the start of interaction
[ ] Interact distance seems to double when running
[ ] Banker interact distance is weird (more than 1?)
[ ] Mobs don't interact back until their dialogue is shown
[ ] Mobs lose interest if the player steps more than double their interact distance away (normally 2 tiles)
[ ] Run walks if 1 tile
[ ] Run ends with a walk if the number of tiles moved is odd


Investigate FFMPEG WASM for mp3 export

https://github.com/ffmpegwasm/ffmpeg.wasm

Not worth the effort: it's a 33 MB package which is not a great idea for UX.


Docker docs

Added some documentation to help people get started with using the docker images.
We can drop using $[KRONOS|JIA|METIS]_VERSION number if we can push the latest tag to docker (#380)

This is GREAT!  Thank you.

If you want brownie points, you can add a mode to docker_tools/manage_docker.py that takes a docker repo/project:version and pushes it to repo/project:latest.  Then we'd solve all of the problems!  If you do that, btw, remember to ditch the $[KRONOS|JIA|METIS]_VERSION as you said.
(and this isn't pressure to do all of this in this PR, but I won't complain if you do :))

ah sweet i'll submit another PR with the repo/project:latest fix :)

fixes #380

Done with review!  Almost there!

Sweet almost there, @silasbw just clarify what you mean for the run commands :)

This looks good to me!  @silasbw's comment still stands, but I think it can be corrected with a clarification rather than a different example.  I also think we can add it in another PR if you're antsy to get this one in :)

Wanting copy paste makes sense.  You can use something like $PWD to remove "sbw" and implement copy-paste.

@silasbw @marcua let me know what you think -- am i doing the PUBLIC_PORT stuff correctly? It seems it has to be $PUBLIC_PORT unless I'm missing something?

The port stuff looks good.  I don't think you need to do /home/$PWD/kronos, etc.  $PWD is the current directory you're in, so you would just map $PWD:/etc/kronos or whatever.  In the comment, you can say # assumes that your kronos settings are in the current directory

whoops i was thinking of $HOME :D. es bueno?

Si!  One thing so they don't flood $PWD with logs might be to add a mkdir logs and then do $PWD/logs:/var/log/jia/
But aside from that, LGTM!

mkdir -p logs just in case it already exists :D

YAY!  LGTM!  :shipit: @silasbw?

sure

sweet closed by fc8f825bb836f4951e83b66be0bfab2dd6d25ab1


Update Trivy

was asked to create an new PR instead of https://github.com/cncf/landscape/pull/3898
Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you added your SVG to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?

@castrojo I think this is ready? BTW, I'm not sure why trivy-operator was added separately from trivy (it wasn't us who added it). I wouldn't mind removing trivy-operator altogether since IMO it's a module of Trivy

@itaysk if you want to remove the operator please send an updated PR, happy to if this basically is the same as your PR here

@caniszczyk should I wait for this to be merged and then send another PR or should I just remove it within this PR?

@itaysk I'll merge this now, send one to remove it and tag me in it and i'll merge it asap, thanks!

thanks @castrojo , I've created https://github.com/cncf/landscape/pull/4126
P.S I said earlier that we (Trivy) didn't add it but I checked and indeed it was added by our team member. Still, I don't see a special reason to have a separate entry for it.


Make a edge detection autopilot.

Far too computationally expensive to perform those kinds of computer vision operations on a raspberry pi- the GPU isn't strong enough. It would be possible to run it on a different computer and forward predictions back however!


iOS: Not send data on form with target is "blank"

Bug description:
When submit form with target="_blank" then no data sending on action url. If form target is _self then work as expected. On Android with target="_blank" work as expected too.
To Reproduce:
For example create form with target="_blank":
...
<form method="POST" action="https://blabla.com/login" target="_blank">
<input type="hidden" name="data" value="testData" />
<button type="submit">Go</button>
</form>
...

Expected behavior:
Redirect to site with next url: https://blabla.com/login?data=testData, but redirect to https://blabla.com/login without data.
If change target to target="_self" will work as expected.
Environment:

OS: iOS
OS version: 13.1
react-native version: 0.60.4
react-native-webview version: 7.4.1

For me it's working on ios but not on android

Seems like the bug is still present on iOS 17.4


W-10891079 SAP S/4HANA SOAP 2.4.0

W-10891079 SAP S/4HANA SOAP 2.4.0

The first commit in this PR just copies the 2.3 folder to a new folder named 2.4, and all the changes are in other commits.


"/rankup" not doing anything

Hi there.  I'm having an issue with /rankup working. When I type /rankup, nothing happens. no errors in the logs, just nothing happening. Also the {PRISON_RANK} won't display. it just shuffles through a bunch of characters. {PRISON_PRESTIGE} displays fine. This plugin sounds amazing! Any help getting it running right would be extremely appreciated.

Can you DM me on discord?
On Mon, Feb 8, 2021, 5:27 PM Kayoddik<EMAIL_ADDRESS>wrote:

Hi there. I'm having an issue with /rankup working. When I type /rankup,
nothing happens. no errors in the logs, just nothing happening. Also the
{PRISON_RANK} won't display. it just shuffles through a bunch of
characters. {PRISON_PRESTIGE} displays fine. This plugin sounds amazing!
Any help getting it running right would be extremely appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TPEimperialPE/Prisons/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOK4PNCNPXW26KC64CMKXCTS6ANITANCNFSM4XJMRQQA
.

Yeah:) what's your discord?

TPE#1061

ok sent you a request:)


[type: refactor] fix uri plugin bug.

Codecov Report

Merging #2295 (a796b0b) into master (cb3f229) will decrease coverage by 0.66%.
The diff coverage is n/a.

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

@@             Coverage Diff              @@
##             master    #2295      +/-   ##
============================================
- Coverage     58.43%   57.77%   -0.67%
+ Complexity     3972     3937      -35
============================================
  Files           626      626
  Lines         18056    18056
  Branches       1711     1710       -1
============================================
- Hits          10551    10431     -120
- Misses         6644     6778     +134
+ Partials        861      847      -14

Impacted Files
Coverage Δ

...apache/shenyu/admin/transfer/MetaDataTransfer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rg/apache/shenyu/admin/utils/ThreadLocalUtils.java
0.00% <0.00%> (-66.67%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
64.70% <0.00%> (-29.42%)
:arrow_down:

...rvice/converter/DivideSelectorHandleConverter.java
28.57% <0.00%> (-28.58%)
:arrow_down:

...rvice/converter/SelectorHandleConverterFactor.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...apache/shenyu/admin/utils/CommonUpstreamUtils.java
0.00% <0.00%> (-14.29%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
55.78% <0.00%> (-8.43%)
:arrow_down:

...in/response/strategy/NettyClientMessageWriter.java
69.56% <0.00%> (-4.35%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
23.57% <0.00%> (-4.07%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb3f229...336db95. Read the comment docs.