How can I add a delete event functionality ?

How to add a 'X' symbol and onclick event to delete a calendar event?

@Debdazeworks Have a look at View Customization Options section in README. The calendar exposes some options to use your own template.

I have changed https://github.com/twinssbc/Ionic-Calendar/blob/master/templates/rcalendar/displayEvent.html file, but no change is reflected. Am I doing right?

So you directly modify the source code, in this case, you need to run grunt build-tpls to generate the dist file.
Actually you dont need to modify source code, just provide an external template file and assign to weekviewNormalEventTemplateUrl.

I found "weekviewNormalEventTemplateUrl" in two places

https://github.com/twinssbc/Ionic-Calendar/blob/master/dist/js/calendar-tpls.js
https://github.com/twinssbc/Ionic-Calendar/blob/master/src/rcalendar/calendar.js

Where should I change ? I have downloaded the whole file in my local system and demo page is working. If I delete the templates\rcalendar\displayEvent.html in my file system, then also  its working fine. How ?

@Debdazeworks you don't need to modify the source code.
You just create your own template file, for example, myTemplate.html.
When you declare the calendar, pass your own template to weekview-normal-event-template-url
<calendar ... weekview-normal-event-template-url="weekviewNormalEventTemplateUrl"></calendar>
$scope.weekviewNormalEventTemplateUrl = 'myTemplate.html';

Thanks a lot man. It works.... (Y)


Fix IVF_PQ index creation crash if one of the cluster has no value.

Closes #573

Ok, it seems to be more complicated than expect. the reason it happens is that there are empty cluster in some of the PQ subvector. right now, our PQ is fixed 8 bits centroid, which means it has to have at least 256 vectors in each partition.
More reliability, we might want to just raise an error in such case.

An explanation of why empty cluster occurs even we have more vectors than # of centroids: https://datascience.stackexchange.com/questions/44897/k-means-clustering-what-to-do-if-a-cluster-has-0-elements#:~:text=If you get an empty,run from a new initialization.


iambic lint is no longer converting time to an absolute.

iambic lint is no longer converting time to an absolute. This allows the linter to be ran earlier in the github workflow without impacting any expiry rules.
How was it tested?
If it was manually verified, list the instructions for your reviewers to follow.

[x] Unit Tests
[ ] Functional Tests
[x] Manually Verified

Added a vscode run configuration for iambic lint and ran it on a variety of templates, but I get invalid template errors for the non-AWS templates.


Url : permission denied

On accessing with curl command as mentioned in the documentation, I get the below error:
Anonymous caller does not have storage.objects.get access to workflow-cli-release/deis-stable-linux-amd64.
Can someone please grant the permission or make it public ?

Deis Workflow is end-of-lifed (EOL) and no longer maintained project. The google storage links have been shut down.
If you are interested in this project, check out the open source fork at https://github.com/teamhephy
You can also join our slack channel if you are interested in using the project: https://slack.teamhephy.com
You can pull the hephy cli from this Google Storage bucket:
https://storage.googleapis.com/hephy-workflow-cli-release


Don't choose indexscan when you need a motion for a subplan

The problem is that indexscan cannot be used together with Motion node.  So you have to import a commit from 6x to fix it.
https://github.com/greenplum-db/gpdb/commit/cd055f999f87c8bd381cc3fd7a64ee94dfa46073
Steps to reproduce

Create table

CREATE SCHEMA test_schema;

CREATE TABLE test_schema.users_unmasked (
  user_id bigint NOT NULL,
  params text
) DISTRIBUTED BY (user_id);

ALTER TABLE ONLY test_schema.users_unmasked
ADD CONSTRAINT users_20171219_pkey PRIMARY KEY (user_id);

INSERT INTO test_schema.users_unmasked
SELECT
  gen,
  case when random() > 0.5 then 'A' else 'B' end
FROM generate_series(1,20000) gen;

Run two queries. The second one returns incorrect data? because of incorrect plan with indexscan node without Motion.

SELECT cte."userId" FROM ( SELECT 7 as "userId" ) cte WHERE (
  SELECT
      u.user_id
  FROM
      test_schema.users_unmasked u
  WHERE
      u.user_id = cte."userId"
) is not null;

SELECT cte."userId" FROM ( SELECT 7 as "userId" ) cte WHERE (
  SELECT
     u.user_id
  FROM
      (select * from test_schema.users_unmasked) u
  WHERE
      u.user_id = cte."userId"
) IS NOT NULL;

What scans can't we use, too? Can we use tidscan with Motion? I haven't been able to pick up a query for there to be a tidscan node.

I found an example with tidscan and motion node. But without subplan.
create table qp_misc_jiras.test_heap (i int, j int);

insert into qp_misc_jiras.test_heap values (0, 0);

set enable_bitmapscan=off;;

set enable_seqscan=off;

explain select  * from qp_misc_jiras.test_heap where ctid='(0,1)' and gp_segment_id >= 0;
                                  QUERY PLAN
------------------------------------------------------------------------------
 Gather Motion 3:1  (slice1; segments: 3)  (cost=0.00..100.02 rows=1 width=8)
   ->  Tid Scan on test_heap  (cost=0.00..100.02 rows=1 width=8)
         TID Cond: ctid = '(0,1)'::tid
         Filter: gp_segment_id >= 0
 Settings:  enable_bitmapscan=off; enable_seqscan=off
 Optimizer status: legacy query optimizer

@t1mursadykov can you force push your last commit to run the tests again (they seems to fail for some internal reasons)

@t1mursadykov can you explain the reason of https://github.com/arenadata/gpdb/pull/172/commits/07f91fe83fb050dcaf07958478919dc08daf2cfd ? This changes don't seem to be interconnected with current PR.

@t1mursadykov can you explain the reason of 07f91fe ? This changes don't seem to be interconnected with current PR.

This commit is pushed for testing purposes. I will remove it.


Better TBB CMake integration

Better integration of the TBB threading back end into CMake.
Add support for the CMake package introduced in TBB 2017.7 to automatically download and build TBB when the TBB threading back end is selected.
With this patch, the user does not have to build+install TBB to use it in Arbor.
fixes #330

lgtm, given caveats above.


Implement .env file for examples

Description:
This PR adds processing for decoding .env files for running examples. This is more straightforward than using command line arguments and more closely follows other SDKs.
Related issue(s):
Fixes #606
Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Is there a need to call dotenv::init() in every file? Can we have some static init for this on #include for example?

I don't think I entirely understand what you're suggesting. dotenv::init() is the call that looks for the .env file and populates the environment variables, so yes it has to be called in every example. We could just throw this in a #include but I don't necessarily think that would make the code any more readable or optimized. Unless I'm misunderstanding what you mean?


URGENT FIX-up memory limit for rate limiter caching on behat tests

Purpose
To fix issue with a test hitting a memory limit.
Fixes broken builds for now
Approach
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Refunds service
Checklist

[X] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage remained the same at 80.564% when pulling 1cfd8564e0e479352eafd472e554239634b12c5c on fix-rate-limit-memory-size into 6d40334f4eaf8f0a28a29b4f78638ba87755a7ea on master.


Support oh-my-zsh variants like antidote

They clone plugins in a different format which means you can't resolve the repo dir from ZSH_CUSTOM.
I'm 90% sure this should still work on vanilla oh-my-zsh but to be sure someone may want to test.

Thank you!


Feature Request: Add HTTP/2 support on Android

Is your feature request related to a problem? Please describe.
I'd like to take advantage of http/2 for servers that have it enabled. There's an Android security concern that prevented the chromium team from implementing http/2 for the webview, this is the thread. Is there a way to work around this problem? Thanks.
Describe the solution you'd like
A way to ensure that the app uses http/2 for requests when the server supports it.
Describe alternatives you've considered
None really, I haven't found a workaround.
Additional context
N/A

For iOS, the underlying HTTP engine is URLSession which will automatically use HTTP/2. So we're good on iOS from what I can tell.
For Android, this plugin is using HttpUrlConnection, which does not support HTTP/2. Definitely a bummer. If I switch the underlying engine to be OkHttp instead, then we could; but that's a pretty big change and adds in a dependency. I'll mark this as a feature request and leave it open. But I don't have any immediate plans to support this on Android


Inform the user that you can't use multiple Pulsar consumers with an exclusive subscription

What is the ideal scenario for using this feature?
It would be helpful for users if they were told that using threads= > 1 with an exclusive subscription type is incompatible. Today they just see a stacktrace when they use this config.
Is your feature request related to a problem? Please describe.
Right now, if a user tries to use multiple consumers (with nosqlbench's threads= param) on an exclusive subscription they see the following stacktrace:
    3425 WARN  [pulsar-client-io-5-1] ClientCnx    [id: 0x949c1aaa, L:/<IP_ADDRESS>:57660 - R:localhost/<IP_ADDRESS>:6650] Received error from server: Exclusive consumer is already connected
    3427 WARN  [pulsar-client-io-5-1] ConsumerImpl [persistent://public/default/foobar][nb] Failed to subscribe to topic on localhost/<IP_ADDRESS>:6650
org.apache.pulsar.client.api.PulsarClientException$ConsumerBusyException: Exclusive consumer is already connected
	at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:991)
	at org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:97)
	at io.nosqlbench.driver.pulsar.PulsarSpace.getConsumer(PulsarSpace.java:440)
	at io.nosqlbench.driver.pulsar.ops.ReadyPulsarOp.lambda$resolveMsgConsume$52(ReadyPulsarOp.java:466)
	at io.nosqlbench.driver.pulsar.ops.PulsarConsumerMapper.apply(PulsarConsumerMapper.java:53)
	at io.nosqlbench.driver.pulsar.ops.PulsarConsumerMapper.apply(PulsarConsumerMapper.java:26)
	at io.nosqlbench.driver.pulsar.ops.ReadyPulsarOp.apply(ReadyPulsarOp.java:67)
	at io.nosqlbench.driver.pulsar.ops.ReadyPulsarOp.apply(ReadyPulsarOp.java:26)
	at io.nosqlbench.driver.pulsar.PulsarAction.runCycle(PulsarAction.java:41)
	at io.nosqlbench.engine.api.activityimpl.motor.CoreMotor.run(CoreMotor.java:405)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
    3460 INFO  [pulsar-client-io-5-1] Crc32cIntChecksum SSE4.2 CRC32C provider initialized
    3457 ERROR [pulsar_9dfd7719-b7c2-43b4-853e-f8604576d5db:002] CoreMotor    Error in core motor loop:java.lang.RuntimeException: java.lang.RuntimeException: Unable to create a Pulsar consumer!

This happens because the first thread "wins" the subscription and subsequent threads fail to create a consumer.
Would you like to help implementing or testing it?
Additional context

Do we actually want to share the subscription across multiple threads in this case? If so, we can flag it in the op template (yaml) and create a concurrent hash map in the pulsar space. I'm not sure if this is desirable or not, but with synchronized access, it would certainly allow reader threads to go faster as a group.

I think as a first step it would be simpler to just prohibit using multiple threads with an exclusive subscription, though you're right  that ideally we can use multiple threads to consume from an exclusive subscription.
But then since multiple threads is how we create multiple Pulsar consumers (there's no other special param for it) the semantics get a bit confusing if "multiple threads" triggers different behaviour for exclusive vs shared subscriptions?


seata1.3 AT 模式性能测试 - 分支事务一直尝试回滚一直提示回滚失败

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
性能测试场景：
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:
JDK version : jdk 1.8
OS : macos 10.15
Others: springcloud:Hoxton.SR3 springboot:2.2.5.RELEASE. spring-cloud-alibaba.version: 2.2.1.RELEASE  mysql5.7 mybatis-plus 3.3

* [x]  I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
性能测试场景：
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
1. xxx

2. xxx

3. xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:
JDK version : jdk 1.8
OS : macos 10.15
Others: springcloud:Hoxton.SR3 springboot:2.2.5.RELEASE. spring-cloud-alibaba.version: 2.2.1.RELEASE mysql5.7 mybatis-plus 3.3

dd

收到v

dd


General: Rewards Deeplink

Description
adds support for rewards modal trigger using URL trigger
How has this been tested?

mobile
desktop

Types of changes

[ ] Technical Debt (non-breaking change which removes unused code/assets)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The related ClickUp task has been linked to this PR
[x] The person creating the pull request is listed in "Assignees"
[ ] Change requires updated documentation

Task linked: CU-86ctw01t9 UI: Rewards Deeplink


Not sanitizing user input?

I typed this as my caption and got the below GIF "chrome desktop (4:17pm build)"

Looks like the colon broke it.

It would be also good to limit the size of the caption, when it is too long it's not possible to read.

Ok maybe we can change this ticket title to something like "Revisit Text Sanitization"


[Snyk] Security upgrade aiohttp from 3.8.6 to 3.10.2

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

requirements_test.txt

⚠ Warning
pytest-aiohttp 0.3.0 requires aiohttp, which is not installed.
astroid 2.15.8 has requirement typed-ast<2.0,>=1.4.0; implementation_name == "cpython" and python_version < "3.8", but you have typed-ast 1.3.5.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)


setEdges causes edges to disappear when using D3 Force Layout with Zustand

What platform were you using when you found the bug?

React Flow version: 11.11 / 11.10 / 11.8

Live code example
https://codesandbox.io/p/sandbox/hidden-brook-zv66yz
Describe the Bug
When replacing ReactFlow's useReactFlow hooks with Zustand's for managing nodes, edges, setNodes, and setEdges, the edges disappear whenever setEdges is called, e.g., dragging or zooming that calls setEdges.
This issue does not seem to occur when using ReactFlow's native state management.
It seems related to how state updates for nodes and edges are handled in Zustand (?)
Steps to reproduce the bug or issue

Under the ReactFlow D3 Force example, replace ReactFlow's state management hooks with Zustand
Use setEdges to update the edges state during interactions
Observe edges disappearing from the canvas

Expected behavior
Edges should remain visible and properly connected to their nodes during interactions
Screenshots or Videos
No response
Additional context
No response

After further investigation, I resolved the issue by creating a shallow copy of the edges when accessing them in the force layout component.
const edges = useGraphStore(selector).edges.map((ed) => ({
    ...ed,
}));


Make named_args! input slice lifetime hopefully different from provided lifetime

At current, named_args!(foo<'a>(thing: &mut 'a Whatever)<Something>, ...); generates code which looks something like:
fn foo<'a>(input: &'a [u8], thing: &mut 'a Whatever) -> IResult<&'a [u8], Something> {...}

But when used with manyn! or fold_manyn!, we end up with an error:
named_args!(atom<'a>(tomb: &'a mut ())<String>,
            map!(map_res!(is_not_s!(" \t\r\n()"), str::from_utf8), ToString::to_string));

named_args!(list<'a>(tomb: &'a mut ())<String>,
            delimited!(char!('('), fold_many0!(call!(atom, tomb), "".to_string(), |acc: String, next: String| acc + next.as_str()), char!(')')));

The above code complains that tomb is being reborrowed. This is because as far as Rust knows, the mutable borrow on 'a extends past the use of the mutable reference (because the input slice lives on with the same lifetime as the mutable reference which is no longer in use.) This PR changes named_args! such that it generates code like this instead:
fn foo<'this_is_probably_unique_i_hope_please, 'a>(input: &'this_is_probably_unique_i_hope_please [u8], thing: &mut 'a Whatever) -> IResult<&'this_is_probably_unique_i_hope_please [u8], Something> {...}

I have to admit this is a total hack, but it works and I don't have a better solution. A test is included with this PR which compiles with the change.

A temporary fix for the issue is to explicitly define foo as
fn foo<'a, 'b>(input: &'a [u8], smth: &'b mut Whatever) -> IResult<&'a [u8], Something> {...}

But this feels wrong as having to explicitly write out input and co. is exactly what named_args! appears to be intended to avoid.

Thanks! I like the new name for the lifetime, it makes it completely explicit why it's there :D


nolyfill for Function.prototype.name is incorrect

The Function.prototype.name is incorrect:
https://github.com/SukkaW/nolyfill/blob/v1.0.30/packages/data/es-shim-like/src/function.prototype.name.ts
The Function.prototype.name package gets the name of the function. The current nolyfill will return the '' of the Function.prototype.name.

Fixed by https://github.com/SukkaW/nolyfill/pull/106 and the bugfix was included in version 1.0.40, closing~


Fix bad civetweb port in rgw frontends

The civetweb config the ceph.conf.j2 incorrectly added port=host:port instead of just port=port.  RadosGW only works with port=port.

@jsaintrocc hum it used to work with host:port the goal was to have a specific IP for rgw to listen on.

Seems to work but radosgw isn't happy about it.  However looking at the civetweb documentation this is valid syntax.  I'll put in a bug with the main ceph project to resolve on their end.
[root@pistorergw2-cc38-h02 ceph]# ceph --version
ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
[root@pistorergw2-cc38-h02 ceph]# /usr/bin/radosgw -f --cluster ceph --name client.rgw.pistorergw2-cc38-h02 --setuser ceph --setgroup ceph
error parsing int: <IP_ADDRESS>:8080: The option value '<IP_ADDRESS>:8080' seems to be invalid

Ah and for reference I commented on an already filed bug for rgw Here

Thanks @jsaintrocc!


feat: remove segment

closes #1560

:tada: This PR is included in version 1.168.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


EAN13 calculate_checksum() generates inconsistent values

When using the EAN13() constructor with a 12 digit argument to create an EAN13, the check digit generated in the constructor is different than if you were to call calculate_checksum() on the 13 digit value returned by the constructor.
>>> EAN13("842169142322")
<EuropeanArticleNumber13('8421691423220')>

gives that the check digit is 0
>>> ean = EAN13("842169142322")
>>> ean
<EuropeanArticleNumber13('8421691423220')>
>>> ean.calculate_checksum()
4

implying that the check digit is 4
This seems to be due to the fact that when calculate_checksum() is called on a 13 digit EAN via the object itself, the reverse traversal that is used in the method includes the 13th digit when summing and calculating the check digit.

hum,
on my own method using the generic check digits algorithm given per GS/1:

so maybe this shall be "rebranded" as "ean_key_computation", but it's not faulty as you think

The issue is that the implementation saves the whole number plus the checksum into self.ean, but then calculate_checksum calculates the checksum for self.ean (e.g.: a string which already includes the checksum).

While this is the "expected behaviour" as per the documentation, it's obviously un-intuitive and can be improved. I'm just not sure how to improve it without breaking existing usages.

I think that https://github.com/WhyNotHugo/python-barcode/pull/215 should fix it. Can you confirm?

Fixed in https://github.com/WhyNotHugo/python-barcode/pull/213


Improve Player state flows

As a user / integrator  I want to collect state flow easily and in a more robust way.
Acceptance criteria

PlayerState should not have dispose method and should not use a DisposableEffect.
Use CallbackFlow to listen player state.

Tasks

[ ] Remove DisposableEffect when using PlayerState
[ ] Remove PlayerState as we can use directly CallbackFlow
[ ] Update Unit Tests

The old PlayerState may override Player to have all player methods. But all the state field have to be renamed

isPlayingFlow
playbackStateFlow

As well as Compose extension with postfixing with State

isPlayingState()
playbackStateState() a bit wired?

Delete old PlayerState as it is no more needed.


When running query in snowflake using flatten function, => is getting converted to = >

Describe the bug
When running query in snowflake using flatten function, => is getting converted to = > (extra space is getting added). This is leading to syntax error. Could you help in fixing this.
<!-- Try to get more info on taking a look on the results window to see what's going on using the command Developer:

**To Reproduce**
Use this query and save it in .sql format file. Open it and it will give an error near =>

 SELECT id as "ID",
   f.value AS "Contact",
   f1.value:type AS "Type",
   f1.value:content AS "Details"
 FROM persons p,
   lateral flatten(input => p.c, path => 'contact') f,
   lateral flatten(input => f.value:business) f1;

**Expected behavior**
We need to make sure that => works without extra space(= >)

**Screenshots**
NA

**Desktop (please complete the following information):**
 - SQLTools Version [e.g. v0.17.x]
 - VSCode Version: [e.g 1.x.y]
 - OS: [e.g. Windows, Linux, Mac]
 - Driver:
   - [ ] PostgreSQL/Redshift
   - [ ] MySQL/MariaDB
   - [ ] MSSQL/Azure
   - [ ] SQLite
   - [ ] Other? Which... Snowflake driver
 - Database version: [e.g. MySQL v5.6, PostgreSQL vX...]

**Additional context**
Add any other context about the problem here.

Can you give an example query so we can write tests to fix this?

Thanks for getting back on this. Below is the example code:
CREATE OR REPLACE MATERIALIZED VIEW TESTMV AS
SELECT event_date,
AS_INTEGER(value :Id) AS test_id
FROM TestTable,
LATERAL FLATTEN (input => v :TESTPOLICYID);
We can see formatter is converting => to = >


User's freeostokens account balance was incorrect after minting freeos.

21/6/22 freeosgov2 v0.9.22, Iteration = 459938
Mint POINTs to FREEOS where mintfeefree allowance is = mintfreeos amount, using mintfeefree allowance only. No mintfee required.
User: billbeaumont, mint amount=mintfeefree=10.0000 POINT
Steps:

Run mintfreeos action-> user=billbeaumont, input_quantity=10.0000 POINT, mint_fee_currency= 4,XPR
Mintfreeos action successful.
mintfeefree allowance reduced from 10.0000 to None. Correct.
freeosgov2 account (billbeaumont) balance reduced from 10.0000 POINT to 0 POINT. Correct.
freeostokens account(billbeaumont) updated from 10.5000 to 10.0000 FREEOS. Incorrect.  Expecting it to be increased from 10.5000 to 20.5000 FREEOS after minting

.

29/6/22 Retest. freeosgov2 v0.9.26 account billbeaumont. Mintfreeos failed with assertion failure: cannot pass end iterator to erase. Refer Issue#28. Not fixed.

6/7/22 Retest. freeosgov2 v0.9.28 account billbeaumont. Fixed.


backport fixes & patches to the 0.30.x LTS line

Proposed is to bring the following over:

[ ]
[x] 615832e5 Fix apiserver watch timeouts (#561)
[x] 5c964fdd app status: convert all receivers to pointers
[ ] 0c301139 Bump ytt to v0.37.1
[x] 6e1557a3 update helm to v3.8.0 (#488)
[x] a5aeb2ee update photon to 4.0 to resolve CVEs (#454)
[ ] da0801fb Bump vendir to v0.26.0
[ ] c6bb5a94 Bump imgpkg to v0.27.0 (#576)
[ ]

the three bumps couldn't be cherry-picked bc of changes in our dependencies tracking.


Update approvers in NEW_RELEASE template

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Update people to notify.
Update instructions for website and milestone.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/hold
there are other updates needed.

/hold cancel


Error: Failed to resolve force included dependency: react/jsx-dev-runtime if extensions: ['*'] provided in resolve object of vite.config.js

Describe the bug
On providing
resolve: {
   extensions: ['*']
}

to vite.config.js file with usage of @vitejs/plugin-react in automatic jsxRuntime the development run will fail with the following error thrown
error when starting dev server:
Error: Failed to resolve force included dependency: react/jsx-dev-runtime

I'm not sure if '*' is supported in optimizeDeps.include as it is not found in the docs but it works fine in resolving functionality as I see, so if it's supported this might be an issue otherwise it's fine to close it.
Reproduction
vite.new doesn't work
System Info
System:
    OS: Windows 10 10.0.22000 (it is win. 11 but the npx envinfo prints as that btw.)
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 3.22 GB / 15.88 GB
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (99.0.1150.30)
    Internet Explorer: 11.0.22000.120

Used Package Manager
yarn
Logs
vite:config bundled config file loaded in 179.34ms +0ms
  vite:config using resolved config: {
  vite:config   resolve: {
  vite:config     dedupe: [ 'react', 'react-dom' ],
  vite:config     extensions: [ '*' ],
  vite:config     alias: [ [Object], [Object] ]
  vite:config   },
  vite:config   plugins: [
  vite:config     'vite:pre-alias',
  vite:config     'alias',
  vite:config     'vite:react-babel',
  vite:config     'vite:react-refresh',
  vite:config     'vite:react-jsx',
  vite:config     'vite:modulepreload-polyfill',
  vite:config     'vite:resolve',
  vite:config     'vite:html-inline-proxy',
  vite:config     'vite:css',
  vite:config     'vite:esbuild',
  vite:config     'vite:json',
  vite:config     'vite:wasm',
  vite:config     'vite:worker',
  vite:config     'vite:worker-import-meta-url',
  vite:config     'vite:asset',
  vite:config     'vite:define',
  vite:config     'vite:css-post',
  vite:config     'vite:client-inject',
  vite:config     'vite:import-analysis'
  vite:config   ],
  vite:config   server: {
  vite:config     preTransformRequests: true,
  vite:config     fs: { strict: true, allow: [Array], deny: [Array] }
  vite:config   },
  vite:config   optimizeDeps: {
  vite:config     include: [ 'react/jsx-dev-runtime' ],
  vite:config     esbuildOptions: { keepNames: undefined, preserveSymlinks: undefined }
  vite:config   },
  vite:config   configFile: 'C:/Users/ahmed/Desktop/test/vite-project/vite.config.js',
  vite:config   configFileDependencies: [ 'vite.config.js' ],
  vite:config   inlineConfig: {
  vite:config     root: undefined,
  vite:config     base: undefined,
  vite:config     mode: undefined,
  vite:config     configFile: undefined,
  vite:config     logLevel: undefined,
  vite:config     clearScreen: undefined,
  vite:config     server: {}
  vite:config   },
  vite:config   root: 'C:/Users/ahmed/Desktop/test/vite-project',
  vite:config   base: '/',
  vite:config   publicDir: 'C:\\Users\\ahmed\\Desktop\\test\\vite-project\\public',
  vite:config   cacheDir: 'C:\\Users\\ahmed\\Desktop\\test\\vite-project\\node_modules\\.vite',
  vite:config   command: 'serve',
  vite:config   mode: 'development',
  vite:config   isProduction: false,
  vite:config   build: {
  vite:config     target: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
  vite:config     polyfillModulePreload: true,
  vite:config     outDir: 'dist',
  vite:config     assetsDir: 'assets',
  vite:config     assetsInlineLimit: 4096,
  vite:config     cssCodeSplit: true,
  vite:config     cssTarget: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
  vite:config     sourcemap: false,
  vite:config     rollupOptions: {},
  vite:config     minify: 'esbuild',
  vite:config     terserOptions: {},
  vite:config     write: true,
  vite:config     emptyOutDir: null,
  vite:config     manifest: false,
  vite:config     lib: false,
  vite:config     ssr: false,
  vite:config     ssrManifest: false,
  vite:config     reportCompressedSize: true,
  vite:config     chunkSizeWarningLimit: 500,
  vite:config     watch: null,
  vite:config     commonjsOptions: { include: [Array], extensions: [Array] },
  vite:config     dynamicImportVarsOptions: { warnOnError: true, exclude: [Array] }
  vite:config   },
  vite:config   preview: {
  vite:config     port: undefined,
  vite:config     strictPort: undefined,
  vite:config     host: undefined,
  vite:config     https: undefined,
  vite:config     open: undefined,
  vite:config     proxy: undefined,
  vite:config     cors: undefined,
  vite:config     headers: undefined
  vite:config   },
  vite:config   env: { BASE_URL: '/', MODE: 'development', DEV: true, PROD: false },
  vite:config   assetsInclude: [Function: assetsInclude],
  vite:config   logger: {
  vite:config     hasWarned: false,
  vite:config     info: [Function: info],
  vite:config     warn: [Function: warn],
  vite:config     warnOnce: [Function: warnOnce],
  vite:config     error: [Function: error],
  vite:config     clearScreen: [Function: clearScreen],
  vite:config     hasErrorLogged: [Function: hasErrorLogged]
  vite:config   },
  vite:config   packageCache: Map(0) {},
  vite:config   createResolver: [Function: createResolver],
  vite:config   worker: {
  vite:config     format: 'iife',
  vite:config     plugins: [
  vite:config       [Object], [Object],
  vite:config       [Object], [Object],
  vite:config       [Object], [Object],
  vite:config       [Object], [Object],
  vite:config       [Object], [Object],
  vite:config       [Object], [Object],
  vite:config       [Object], [Object],
  vite:config       [Object], [Object]
  vite:config     ],
  vite:config     rollupOptions: {}
  vite:config   }
  vite:config } +7ms
  vite:deps Crawling dependencies using entries:
  vite:deps   C:/Users/ahmed/Desktop/test/vite-project/index.html +0ms
  vite:resolve 0.99ms /src/main.jsx -> C:/Users/ahmed/Desktop/test/vite-project/src/main.jsx +0ms
  vite:resolve 3.40ms react -> C:/Users/ahmed/Desktop/test/vite-project/node_modules/react/index.js +6ms
  vite:resolve 1.91ms react-dom -> C:/Users/ahmed/Desktop/test/vite-project/node_modules/react-dom/index.js +3ms
  vite:resolve 0.93ms ./App -> null +3ms
  vite:deps Scan completed in 46.63ms: {
  react: 'C:/Users/ahmed/Desktop/test/vite-project/node_modules/react/index.js',
  'react-dom': 'C:/Users/ahmed/Desktop/test/vite-project/node_modules/react-dom/index.js'
} +37ms
  vite:resolve 1.57ms react/jsx-dev-runtime -> null +0ms
error when starting dev server:
Error: Failed to resolve force included dependency: react/jsx-dev-runtime
    at optimizeDeps (C:\Users\ahmed\Desktop\test\vite-project\node_modules\vite\dist\node\chunks\dep-9c153816.js:55784:27)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async runOptimize (C:\Users\ahmed\Desktop\test\vite-project\node_modules\vite\dist\node\chunks\dep-9c153816.js:56647:44)
    at async Server.httpServer.listen (C:\Users\ahmed\Desktop\test\vite-project\node_modules\vite\dist\node\chunks\dep-9c153816.js:56662:21)
error Command failed with exit code 1.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

* is not supported so it seems like an unexpected behaviour that it's behaving strangely


Snow man aggravate radius.

Hey, could you add something that lets you visualize the area that snow golems will be aggressive to hostile mobs, such as like a snowball in an armor stand's hand?

That is one I didn't think of. It can be done, but I don't know the
mechanics yet, so research first.
On Wed, Feb 28, 2024, 7:56 PM Tjkieff @.***> wrote:

Hey, could you add something that lets you visualize the area that snow
golems will be aggressive to hostile mobs, such as like a snowball in an
armor stand's hand?
—
Reply to this email directly, view it on GitHub
https://github.com/RavinMaddHatter/Bedrock-Technical-Resource-Pack/issues/9,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUC5FX4L3DMDESB5ISOVDYV74AVAVCNFSM6AAAAABD7GHNL6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DAMZQGM3TENI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

OK, thanks!

The latest release will include snowman pursuit radius and snowball throwing radius.


Python 3.11 support

Hi @jzluo ! I tried to install it through pip but I am already on 3.11, since fedora and a few other distros are already on 3.11, what is missing to get 3.11 support? A fast scan over your code seems everything is ok at least syntax wise.

Thanks for the note - will get to this soon


Cannot execute create-empty-db on some Linux systems

Describe the bug
When running admin.sh create-empty-db on Linux, database creation fails due to an exception thrown from roberta.main.Administration. This also means that a new server cannot be created, since the database creation done by admin.sh start-server will fail due to the same issue.
This issue is observed on at least two Linux machines, one running Ubuntu 18.04 and one running Arch Linux. A temporary workaround is to download an older version of ORA (5.0.4 or older).
I have bisected this issue on one of the affected systems. It appears to arise from commit adddbf2e113717f3f38ebb67ba2be2d60d26a131.
To Reproduce
Steps to reproduce the behavior:

Download openrobertalab_binaries.zip from release 5.0.6
Unzip release and cd into the  directory.
Run ./admin.sh create-empty-db

Alternate reproduction:

Clone git repository
Run mvn clean install -DskipTests
Run ./admin.sh -git-mode create-empty-db

Expected behavior
Database creation succeeds, allowing for the starting of a server.
Screenshots

If applicable, add screenshots to help explain your problem. [N/A]

Device information

Type: Desktop
OS: Ubuntu 18.04.6 LTS. Also observed on Arch Linux (rolling release).
Browser: Firefox 106.0, 64-bit

Additional context
Output of java -version on Ubuntu 18.04:
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode, sharing)

Output of java -version on Arch Linux:
openjdk version "11.0.17" 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+1)
OpenJDK 64-Bit Server VM (build 11.0.17+1, mixed mode)

Contents of `admin/logs/admin.log` after script failure
2022-10-20 01:48:05,652 [main] session-id=[] user-id=[] robot-name=[] INFO d.f.iais.roberta.main.Administration - *** create-empty-db ***
2022-10-20 01:48:05,671 [main] session-id=[] user-id=[] robot-name=[] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/home/chipbuster/tmp/openroberta-lab/OpenRobertaServer/target/resources/jaxb-impl-2.2.3-1.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-10-20 01:48:05,926 [MLog-Init-Reporter] session-id=[] user-id=[] robot-name=[] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
2022-10-20 01:48:05,932 [MLog-Init-Reporter] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.log.MLog - Reading VM config for path list /com/mchange/v2/log/default-mchange-log.properties, /mchange-commons.properties, /c3p0.properties, hocon:/reference,/application,/c3p0,/, /mchange-log.properties, /
2022-10-20 01:48:05,932 [MLog-Init-Reporter] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping.
2022-10-20 01:48:05,932 [MLog-Init-Reporter] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping.
2022-10-20 01:48:05,932 [MLog-Init-Reporter] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.
2022-10-20 01:48:05,932 [MLog-Init-Reporter] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping.
2022-10-20 01:48:05,933 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping.
2022-10-20 01:48:05,933 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping.
2022-10-20 01:48:05,933 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.
2022-10-20 01:48:05,933 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping.
2022-10-20 01:48:05,990 [main] session-id=[] user-id=[] robot-name=[] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-<IP_ADDRESS> [built 11-December-2019 22:18:33 -0800; debug? true; trace: 10]
2022-10-20 01:48:05,996 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.m.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource,identityToken=z8kfsxar1vqqjp11fqoipe|52fc5eb1,name=z8kfsxar1vqqjp11fqoipe|52fc5eb1 registered.
2022-10-20 01:48:06,001 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.m.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource,identityToken=z8kfsxar1vqqjp11fqoipe|52fc5eb1,name=z8kfsxar1vqqjp11fqoipe|52fc5eb1 unregistered, in order to be reregistered after update.
2022-10-20 01:48:06,001 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.m.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource,identityToken=z8kfsxar1vqqjp11fqoipe|52fc5eb1,name=z8kfsxar1vqqjp11fqoipe|52fc5eb1 registered.
2022-10-20 01:48:06,008 [main] session-id=[] user-id=[] robot-name=[] INFO c.m.v.c.i.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@3131d7e [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@7451e87 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> true, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, identityToken -> z8kfsxar1vqqjp11fqoipe|1c025cb, idleConnectionTestPeriod -> 300, initialPoolSize -> 5, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 700, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 200, maxStatements -> 100, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@d4cc025b [ description -> null, driverClass -> null, factoryClassLocation -> null, forceUseNamedDriverClass -> false, identityToken -> z8kfsxar1vqqjp11fqoipe|74a195a4, jdbcUrl -> jdbc:hsqldb:file:./OpenRobertaServer/db-embedded/openroberta-db, properties -> {password=******, autocommit=false, user=******} ], preferredTestQuery -> null, privilegeSpawnedThreads -> false, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 1, testConnectionOnCheckin -> false, testConnectionOnCheckout -> true, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, extensions -> {}, factoryClassLocation -> null, identityToken -> z8kfsxar1vqqjp11fqoipe|52fc5eb1, numHelperThreads -> 3 ]
2022-10-20 01:48:06,013 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping.
2022-10-20 01:48:06,013 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping.
2022-10-20 01:48:06,013 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping.
2022-10-20 01:48:06,013 [main] session-id=[] user-id=[] robot-name=[] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.
2022-10-20 01:48:06,014 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@51e0301d config: [start -> 5; min -> 5; max -> 200; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 300000; max_resource_age -> 0; max_idle_time -> 700000; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 175000; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false; force_synchronous_checkins -> false]
2022-10-20 01:48:06,014 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPoolManager - Created new pool for auth, username (masked): 'or******'.
2022-10-20 01:48:06,014 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.resourcepool.BasicResourcePool - acquire test -- pool size: 0; target_pool_size: 5; desired target? 1
2022-10-20 01:48:06,014 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.resourcepool.BasicResourcePool - awaitAvailable(): [unknown]
Oct 20, 2022 1:48:06 AM org.hsqldb.persist.Logger logInfoEvent
INFO: dataFileCache open start
Oct 20, 2022 1:48:06 AM org.hsqldb.persist.Logger logInfoEvent
INFO: dataFileCache open end
2022-10-20 01:48:06,137 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT.
2022-10-20 01:48:06,137 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT has SUCCEEDED.
2022-10-20 01:48:06,458 [main] session-id=[] user-id=[] robot-name=[] INFO d.f.i.r.p.util.SessionFactoryWrapper - session factory successfully created for dbUrl: jdbc:hsqldb:file:./OpenRobertaServer/db-embedded/openroberta-db - now checking database upgrade
2022-10-20 01:48:06,482 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT.
2022-10-20 01:48:06,482 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT has SUCCEEDED.
2022-10-20 01:48:06,507 [main] session-id=[] user-id=[] robot-name=[] DEBUG d.f.i.r.persistence.util.DbExecutor - 1
2022-10-20 01:48:06,508 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT.
2022-10-20 01:48:06,508 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT has SUCCEEDED.
2022-10-20 01:48:06,508 [main] session-id=[] user-id=[] robot-name=[] DEBUG d.f.i.r.persistence.util.DbExecutor - 0
2022-10-20 01:48:06,509 [main] session-id=[] user-id=[] robot-name=[] DEBUG d.f.i.r.persistence.util.DbExecutor - 0
2022-10-20 01:48:06,510 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT.
2022-10-20 01:48:06,510 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT has SUCCEEDED.
2022-10-20 01:48:06,511 [main] session-id=[] user-id=[] robot-name=[] DEBUG d.f.i.r.persistence.util.DbExecutor - 1
2022-10-20 01:48:06,512 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT.
2022-10-20 01:48:06,512 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT has SUCCEEDED.
2022-10-20 01:48:06,513 [main] session-id=[] user-id=[] robot-name=[] DEBUG d.f.i.r.persistence.util.DbExecutor - 1
2022-10-20 01:48:06,513 [main] session-id=[] user-id=[] robot-name=[] ERROR d.f.i.r.persistence.util.DbUpgrader - no error: no db upgrades needed
2022-10-20 01:48:06,513 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT.
2022-10-20 01:48:06,513 [main] session-id=[] user-id=[] robot-name=[] DEBUG c.m.v.c.i.C3P0PooledConnectionPool - Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@4d1b54ed] on CHECKOUT has SUCCEEDED.
2022-10-20 01:48:06,515 [main] session-id=[] user-id=[] robot-name=[] DEBUG d.f.i.r.persistence.util.DbExecutor - 1
2022-10-20 01:48:06,517 [main] session-id=[] user-id=[] robot-name=[] ERROR d.f.iais.roberta.main.Administration - exception in run method
javax.persistence.TransactionRequiredException: Executing an update/delete query
	at org.hibernate.internal.AbstractSharedSessionContract.checkTransactionNeededForUpdateOperation(AbstractSharedSessionContract.java:413)
	at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1668)
	at de.fhg.iais.roberta.main.Administration.createEmptyDatabase(Administration.java:142)
	at de.fhg.iais.roberta.main.Administration.run(Administration.java:96)
	at de.fhg.iais.roberta.main.Administration.main(Administration.java:69)

thank you very much. The problem: We updated the hibernate version to fix a security alert. In the new version there is a subtle API change: the shutdown (of the new created data base) needs a transactional context, but not in the old version. We deploy the change not later than Oct 25.
@chipbuster: your description was very helpful, especially the bisection. Thank you very much. I'd appreciate, if you test my changes next week and drop a note here, if everything is fine.

@rbudde Thank you for the quick fix. I've tested branch develop on these systems, and the bug with create-empty-db appears to be fixed. I will be happy to test the release versions as well, when they come out.
Unfortunately, I'm encountering a different issue when trying to start the server: when I run ./admin.sh -git-mode start-server and try to connect to it, I get an error 404.

I believe this is caused by line 130 in admin.sh hardcoding server.staticresources.dir=./staticResources, as this issue doesn't appear to show up in GitHub releases, and if I change the line to server.staticresources.dir=./OpenRobertaServer/staticResources, the script seems to work for the git repo. However, due to issues on my system, I am not confident in this diagnosis.

the admin script is used when starting the lab after exporting all resources. Locally we're using Intellij Idea and when working in 'git-mode' we don't use the script, but IDE-related stuff. So, we didn't encounter the error.
But, of course, you are right: it should work :-). I fixed it in commit 886fe1 .
Thank you very much, again. Hope, that everything works now. You are welcome to find more problems :-). It helps a lot!

I have confirmed that everything is working on develop now. There were a few additional problems I ran into, but these were mostly due to me not reading the instructions properly.
Thank you again, and feel free to ping me if I forget to check the next release!

Confirmed that the 5.0.7 is working for me :)

@chipbuster: thanx. Hope, to hear from you again.


Enable use of in-model camera definitions

This issue covers work related to enabling users to leverage a camera or cameras that are baked into a given model.
Users should be able to specify a camera by node name to use as an alternative to the default camera created by <model-viewer>.
Additionally, <model-viewer> should (perhaps given an appropriate configuration) select a default camera from the list of cameras available in the model scene (if any).

This will be especially handy for fidelity tests.


added password strength analyzer

Implemented real-time password strength analysis feature.
Video
https://github.com/user-attachments/assets/3b46e97d-84bf-49b1-9be0-eb9c1f6617fe

@Anu27n please review it.


Never set the principal in 'FrameworkInfo'.

@greggomann We can't accept this change.

@gabrielhartmann why not? Mesos master will store your authenticated principal for you if you don't supply one in the FrameworkInfo.


origins tag has 2 different semantics at token and in (action/)attribute-type

Referring (A) to:
    <ts:origins>
        <ts:ethereum contract="dai">
        </ts:ethereum>
    </ts:origins>

and (B):
<ts:action>
...
                <ts:origins>
                    <!-- e18 is a hard coded multiplier.
                    rationale for hardcoding: avoiding over-design  -->
                    <ts:user-entry as="e18"/>
                </ts:origins>
</ts:action>

Looks like the schema allows (A) to include  too, syntax-wise. Is that going to be a problem? Similar for <ethereum>/<inputs>. Should they be different tags?

@colourful-land Also the "address" tag in 2 places.

This will be addressed as part of the PR to allow tokenscript with  as root element.

@colourful-land Also the "address" tag in 2 places.

I found that That is addressed in the master.


releases should have release notes and convenience binaries

Convenience binaries should be signed. Release notes should call out new features, major bug fixes, and backward compatibility issues.

looks like we were using uploads, which is now defunct. follow the instructions from the releases announcement

the signing has been punted to #347 the rest is live now as of the 0.2.0 release. Backported CHANGES.txt to the older releases as notes, added a downloadable binary for 0.1.4, which was the only version available from uploads.


Spotify: Error when fetching recently played while in a private session

Describe the bug
An error occurs when trying to fetch Spotify's recently played tracks if the user is in a private session.
To Reproduce

Enable Spotify's Private Session
Start Multi Scrobbler
Authenticate with Spotify Source
See errors while trying to fetch Spotify's recently played

Expected behavior
It shouldn't throw an error when the user is in a private session.
Logs
If possible reproduce the issue with debug logging ON
2023-12-12T02:37:03+00:00 debug   : [Sources] [Spotify - unnamed] Refreshing recently played
2023-12-12T02:37:04+00:00 error   : [Sources] [Spotify - unnamed] Error occurred while polling
2023-12-12T02:37:04+00:00 error   : [Sources] [Spotify - unnamed] Cannot read properties of undefined (reading 'data')
TypeError:
    at t.buildTrackString (CWD/build/server.js:12:90579)
    at b.getRecentlyPlayed (CWD/build/server.js:12:49545)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async b.doPolling (CWD/build/server.js:9:14672)
    at async b.startPolling (CWD/build/server.js:9:12562)
    at async b.poll (CWD/build/server.js:9:12202)

Versions (please complete the following information):

multi-scrobbler: 0.6.2 on docker

Fixed in #118


SoFi bug: cannot manually link bank account using routing number & account number except through the Invest side of things, NOT the Banking side of things!

Summary
THE PROBLEM: I want to manually link my bank account to SoFi Banking withOUT Plaid.
It is possible to do this in SoFi Invest: https://support.sofi.com/hc/en-us/articles/4408300216845-How-do-I-manually-connect-my-bank-account-to-my-SoFi-Invest-account-without-Plaid-
Please add a feature to allow us to do it in SoFi Banking.
These instructions are BROKEN! There is no "Add account manually" link nor button! It DOES NOT EXIST!
Your existing instructions are broken. They do not work. They are found here: https://support.sofi.com/hc/en-us/articles/360038730052-Linking-Bank-Accounts-to-SoFi-Money
The circled part in this image indicates that there is a way to connect a bank account manually to "SoFi Money" (banking), when, in fact, there is not. Also, all your screenshots/images of the steps in these instructions are broken links, as you can see:

Details
This is really flippin' annoying. I've wasted my time chatting with SoFi and calling them, as well as trying on a PC in the Chrome browser, in the Firefox browser, and in the phone app.
SoFi, please fix this.
I'd like you to re-enable your manual bank account linking feature where instead of using Plaid to link my bank account, I can manually type in my bank account number and routing number and you will do 2 verification deposits < $1 each over the next couple days, which I have to verify to prove I own the account.
Please re-enable this feature of manual bank verification for people like me who don't want to give you my bank account login information through Plaid.
Problem
I don't trust Plaid. It requires my login info. to another bank. That's dumb. I just want to manually link the account with the routing number, account number, and some trial deposits, like every other bank has allowed for decades.
BUT, you can ONLY bypass Plaid and manually add a bank account via a routing number and account number if you do it through the Invest side of SoFi, NOT through the Banking side of SoFi, leaving one no way to link a bank account to your SoFi checking account from within the SoFi online system.
The Banking chatbot, found here under "Banking support" (https://www.sofi.com/dashboard/contact --> Banking support --> "Chat with banking support"), does NOT provide correct instructions. These instructions do NOT work:

Searchable text and clickable links from the chat above:

manually add account
It seems like you have a question about linking a bank account. Please select the topic you are inquiring about:
Was this helpful?
Linking External Bank Accounts to Checking and Savings
You can link a bank account to your Checking and Savings account in one of two ways. Please select which you would like to know more about:
1:04 pm
Was this helpful?
Connect a Bank Account Manually

Click the following link, then from the 'Manage your connected bank accounts' section select 'Connect a new bank':

1:04 pm
Link a Bank Account to Checking and Savings

Select the 'Connect a New Bank' to enter your account and routing numbers
Then click 'Add account manually'
Enter all applicable information and click 'Next'
The account will need to be confirmed with micro-deposits (A message will be displayed with instructions to keep an eye out for two small deposits)

Desired behavior
One should be able to manually add a bank account withOUT Plaid, by manually using a routing number and account number.
Steps to duplicate
Do on a computer, in Google Chrome.
1. [BROKEN here] proof it doesn't work through the banking side:

Log in to SoFi via sofi.com. Click "Banking" at the top, then the "More" button with 3 dots in a circle at the right. You'll now see this:

Click "Connected bank accounts" --> "Connect a new account". It brings up the Plaid PoS (not "point of sale", but rather: "piece of s***"):

Now, no matter what you do, and no matter what the SoFi reps tell you, you can NOT get to any page from here to manually add a bank account, PERIOD. That's not good. Please fix it.

2. [WORKS HERE, but I can't move it to checking or savings!] To add it through the investing side:

Log in to SoFi via sofi.com. Click "Invest" at the top, then go through any prompts required to sign up in case you haven't before. Once done, you'll end up on the main "Invest" page.
Click the "Add cash" circle button on the right with a dollar sign ($) in it --> click "Additional transfer options". It now says "Connect a bank account to SoFi invest". Click "View other transfer options" --> "Connect a bank" --> "Next". That brings you to the Plaid page, but it looks slightly different! It has a "Continue" button instead of the "Get started" button we saw before!:

Click "Continue" --> you'll see this:

Click the "X" to close it.

Click "Connect via your bank's routing and account number" --> now you'll see this:

Enter the information for your bank, and click "Next" --> you'll end up back on the "How much would you like to add?" page. Enter a dollar amount where it shows a huge "$0". Choose a frequency and choose the account you just added from the dropdown menu under the "From" section. Then, click "Review" --> review the amount, from, to, and frquency fields, and click "Add Money".
Click "Done" to exit. I added $1, as shown here:

But..that doesn't solve the problem at all! I can't move that money anywhere. Back to square 1. I can't transfer that money now in the investment to the SoFi checking...which is all I want to do!

Also, Andy, I'm sorry for being rude in the chat. I should not have said what I said. Gotta go take a breather.

Temporary work-around to get cash from an external account to SoFi banking by routing it through SoFi Invest

Manually add the external bank account to SoFi Invest.
Transfer funds from external account to SoFi Invest. Wait a few days for it to complete.
Transfer funds from SoFi Invest to SoFi banking using the "Withdraw cash" button.

Details
Update: here is a multi-step work-around, meanwhile, while SoFi's manual adding system is broken on the banking side:
Manually adding the external account to the Invest side of SoFi does work to be able to bring money into the Banking side! However, it's a 2-step process, and SoFi still has the bug to fix.
Here's how it works:

Log in to sofi.com and click "Invest" at the top.
Assuming you've already followed the step described above "To add it through the investing side", click the "Add cash" button on the right.
Choose your transfer settings. In the big grey "$0" box at the top, type a dollar amount. Choose your external account you previously added in the "From" dropdown menu, and choose your "Individual" investing account in the "To" dropdown menu. Click "Review" and complete the transfer. Wait a few days for the transfer to complete.
Once it's complete after a few days, you'll have that cash in your "Individual" investment account, as withdrawable cash. Log in to Sofi.com --> click "Invest" at the top --> under the "Individual" "Active Investing" account box on that page, click "View Account".  From here, you'll see an "Available funds" section. Look for the dollar amount under the "Available now" column of the  "Withdrawable funds" row. That dollar amount is the cash amount you can transfer to your SoFi checking.
Click the "Withdraw cash" button, type in the dollar amount in the "$0" field, and choose your "SoFi Checking" or "SoFi Savings" account, as desired. Click the "Withdraw cash" button to move the money from your SoFi investment account to your SoFi banking account.
Done!

This information was given verbally to a "William", as well, on 18 May 2022 11:25-11:39am. He called me from 1-833-279-7634 after I clicked the "Contact the Office of the CEO" button here (https://www.sofi.com/dashboard/contact) and reported the information above.
From https://www.sofi.com/dashboard/contact:

Direct link that button goes to: https://www.sofi.com/contact-oceo

Update: SoFi emailed me some really important information on 23 May 2022 (emphasis added):

Please follow the next steps listed below:

We understand you have had some difficulty linking your external bank account to your SoFi Checking account using the manual linking option. Manual linking is not available for every SoFi account, and having access to the option depends on a variety of factors, including length of account history.
If you have a manual linking option available to you in the SoFi app, you will be able to access it by clicking on the Banking tab >> Transfer >> Connect New Account, and in Plaid, before fully typing your bank name into the search bar, (or type "abcdefghijk" etc to pull up the option) click 'Don't see your bank? Exit.' If you see the option to 'Add Account Manually' follow the prompts presented and you can link your bank using routing and account numbers.
If you do not see this option, do not be concerned-it may become available as your account history grows.  Alternatively, you may link your SoFi Checking account on your external bank's end using your SoFi routing and account numbers.

In other words, once you are an active SoFi member long enough, the feature comes. And, sure enough, it did! I now have access to the feature. I don't know how long it took exactly, but it was perhaps 1 month or so.
So, now I can manually add an account to the Banking side of things too, bypassing Plaid!


[BE] Normalize endpoints language

@dody87 Fixed merge conflicts

Conflicts are solved

There are still merge conflicts @alelnro1

@brunocalmels Conflicts are solved. Regarding the breaking changes, here is a screenshot of all the working API endpoints

LGMT now


PDF preview

After clicking the preview icon along the pdf the lighbox popup shows but its an empty grey area. Image previews work fine.
I'm testing it on a clean install of redmine 3.0

Well, there has been an issue recently (#4), but it's resolved. Make sure you use the latest version of the plugin.
The display of PDF attachments also depends on your browser settings.
In Firefox for example, make sure the PDF doesn't get auto-opened in Adobe Reader or other programs. You can check your settings for that:

Just checked: git log states: commit 005ace4d7e4c568a615b92db91342785d7f89a78 and it seems to be the latest.
The problem exists in firefox and chrome (both have the 'preview in browser') setting for pdfs.

which redmine version do you use? 3.0.0 or 3.0.3?

Redmine version                3.0.3.stable.14274
Ruby version                   2.2.1-p85 (2015-02-26) [x86_64-linux]
Rails version                  4.2.1

Well, I did another test on my dev installation and this is what I observed:
I had PDF's which were recognized by redmine as application/x-pdf which couldn't be displayed inline and for which I couldn't even activate "preview in firefox" option in the settings.

Than I had PDF's which were recognized by redmine as application/pdf – as they should – and which displayed inline perfectly.

This is my firefox settings page. Maybe the first represents mimetype application/pdf and the latter application/x-pdf – for which "preview in firefox" isn't available...

Well it's not the case with me, on both browsers I've go: Content-Type:"application/pdf"


Chain bgm plays

Description
I'm trying to chain two mp3s together so there's an intro and then a loop. I have tried:
    Flame.bgm.play("main_menu_intro.mp3").whenComplete(() {
      Flame.bgm.play("main_menu_loop.mp3");
    });

and (in case there are assumptions in the bgm code):
    Flame.audio.play("main_menu_intro.mp3").whenComplete(() {
      Flame.bgm.play("main_menu_loop.mp3");
    });

In either case on Android I get no audio but I do get errors:
E/MediaPlayerNative( 4932): pause called in state 4, mPlayer(0xe9110bc0)
E/MediaPlayerNative( 4932): error (-38, 0)
E/MediaPlayerNative( 4932): Attempt to perform seekTo in wrong state: mPlayer=0xe9110bc0, mCurrentState=0
E/MediaPlayerNative( 4932): error (-38, 0)
E/MediaPlayer( 4932): Error (-38,0)
E/MediaPlayer( 4932): Error (-38,0)
E/MediaPlayerNative( 4932): pause called in state 4, mPlayer(0xbeaff520)
E/MediaPlayerNative( 4932): error (-38, 0)
E/MediaPlayerNative( 4932): Attempt to perform seekTo in wrong state: mPlayer=0xbeaff520, mCurrentState=0
E/MediaPlayerNative( 4932): error (-38, 0)
E/MediaPlayer( 4932): Error (-38,0)
E/MediaPlayer( 4932): Error (-38,0)

on iOS I get audio, but i get both loops playing simultaneously, so it seems the "whenComplete" isn't when the loop ends on iOS at least.
Is there a way to do what i want? essentially play an mp3 and then start a loop right after it?
Development environment
Flame version: 0.28.0

Flutter doctor:
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H114 darwin-x64, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

• No issues found!

Runtime
This issue is related to running on which platform? (Select all that apply)

[ X] Android :android:
[ X] iOS :apple:
[ untested] Web :browser:

Minimal reproducible code (Required for bugs)
Include a minimal code that reproduces the problem add it inline using code block markdown, or a link to Github repository:
See above.

The completion of the Future don't mean that the sound or music has ended, that future will return you an instance of AudioPlayer, which you could use to set listeners which will be called when the playing is completed, more here: https://github.com/luanpotter/audioplayers#completion-event


Failed to load resource: net::ERR_CONNECTION_TIMED_OUT to http://postgrest.openbalena.MY_DOMAIN:8000/device?limit=10&offset=0&order=id.asc

First, thank you so much for this project!
I'm having an issue that appears similar to #11, though I have a different deployment (no kubernetes), and the logs I am seeing are different.
I'm using compose for both openBalena and open-balena-admin on the same host.
5e93a039a28d   openbalena_haproxy                            "/docker-entrypoint.…"   6 days ago   Up 24 hours   <IP_ADDRESS>:80->80/tcp, :::80->80/tcp, 222/tcp, 3128/tcp, 5432/tcp, <IP_ADDRESS>:443->443/tcp, :::443->443/tcp, 6379/tcp   openbalena_haproxy_1
0d40b7586d2f   balena/open-balena-vpn:v11.4.6                "/usr/bin/entry.sh"      6 days ago   Up 24 hours   80/tcp, 443/tcp, 3128/tcp                                                                                openbalena_vpn_1
c41e1ec04f04   balena/open-balena-api:v0.209.2               "/usr/bin/entry.sh"      6 days ago   Up 24 hours   80/tcp                                                                                openbalena_api_1
6b9bf5b05597   balena/open-balena-registry:v2.25.3           "/usr/bin/entry.sh"      6 days ago   Up 24 hours   80/tcp                                                                                openbalena_registry_1
e984ed2ee800   openbalena_cert-provider                      "/entry.sh /usr/src/…"   6 days ago   Up 24 hours   80/tcp                                                                                openbalena_cert-provider_1
607aab4e127c   balena/open-balena-s3:v2.13.8                 "/usr/bin/entry.sh"      6 days ago   Up 24 hours   80/tcp                                                                                openbalena_s3_1
a59be8c26f16   redis:alpine                                  "docker-entrypoint.s…"   6 days ago   Up 24 hours   6379/tcp                                                                                openbalena_redis_1
76311bbeb70a   balena/open-balena-db:v5.1.0                  "/balena-entrypoint.…"   6 days ago   Up 24 hours   5432/tcp                                                                                openbalena_db_1
665438afae08   harmonidcaputo/open-balena-ui:latest          "bash start.sh"          6 days ago   Up 24 hours   <IP_ADDRESS>:8080->8080/tcp, :::8080->8080/tcp                                                                         openbalena-admin_ui_1
94c23598b55c   harmonidcaputo/open-balena-remote:latest      "bash start.sh"          6 days ago   Up 24 hours   <IP_ADDRESS>:10000-10009->10000-10009/tcp, :::10000-10009->10000-10009/tcp                                             openbalena-admin_remote_1
7180f27f3e05   harmonidcaputo/open-balena-postgrest:latest   "bash start.sh"          6 days ago   Up 24 hours   <IP_ADDRESS>:8000->8000/tcp, :::8000->8000/tcp                                                                         openbalena-admin_postgrest_1

When I load the dashboard by going to admin.MY_DOMAIN:8080, I am able to login, but I get the error in the browser console:
GET http://postgrest.MY_DOMAIN:8000/device?limit=10&offset=0&order=id.asc net::ERR_CONNECTION_TIMED_OUT

In the postgrest container logs, I see
03/Aug/2022:21:11:05 +0000: Retrying listening for notifications on the pgrst channel..
03/Aug/2022:21:11:05 +0000: Attempting to connect to the database...
03/Aug/2022:21:11:05 +0000: Connection successful
03/Aug/2022:21:11:05 +0000: Config re-loaded
03/Aug/2022:21:11:05 +0000: Listening for notifications on the pgrst channel
03/Aug/2022:21:11:05 +0000: Schema cache loaded
03/Aug/2022:21:11:56 +0000: Retrying listening for notifications on the pgrst channel..
03/Aug/2022:21:11:56 +0000: Attempting to connect to the database...
03/Aug/2022:21:11:56 +0000: Connection successful
03/Aug/2022:21:11:56 +0000: Config re-loaded
03/Aug/2022:21:11:56 +0000: Listening for notifications on the pgrst channel
03/Aug/2022:21:11:56 +0000: Schema cache loaded

Is there another place I should be looking for debugging this? I see no logs in haproxy or the balena-db
From the host running my browser
$ nc -vz postgrest.MY_DOMAIN 8000
Connection to postgrest.MY_DOMAIN port 8000 [tcp/irdmi] succeeded!

$ curl -v http://postgrest.MY_DOMAIN:8000/device\?limit\=10\&offset\=0\&order\=id.asc
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to postgrest.MY_DOMAIN (<IP_ADDRESS>) port 8000 (#0)
> GET /device?limit=10&offset=0&order=id.asc HTTP/1.1
> Host: postgrest.MY_DOMAIN:8000
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 504 Gateway Timeout
< X-Powered-By: Express
< Access-Control-Allow-Origin: *
< Date: Wed, 03 Aug 2022 21:26:02 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
< Transfer-Encoding: chunked
<
* Connection #0 to host postgrest.MY_DOMAIN left intact
Error occurred while trying to proxy: postgrest.MY_DOMAIN:8000/device?limit=10&offset=0&order=id.asc* Closing connection 0

Can you ping postgrest.MY_DOMAIN from the computer you are browsing from?  It looks like postgrest is not having a problem talking to the database, so the breakdown must be happening between your browser and the proxy, or the proxy and postgrest.  You could also try adding some console.log statements to the postgrest-proxy.js file in the postgrest container to see what's happening there.

Thank you, I was able to ping. I added a console.log statement as you suggested, and restarted the container, and upon restart the dashboard started working. I'm not sure what else changed. I'll close this thread though, as the issue is resolved.


wabar

wabar :)

We love Wabar

Wabar good
:)

wabar

lgtm! :smiley:

LGTM pls merge

LGTM

@roastedcheese you forgot the binary blob required for testing, please rework this MR

wabar

@roastedcheese you forgot the binary blob required for testing, please rework this MR

wabar

wabar

@roastedcheese you forgot the binary blob required for testing, please rework this MR

wabar

wabar

wabar

We support you completely, congratulations @Alexas!
P.S: wabar

This is the true meaning of open-source.

wabar

hello. why was this closed? @roastedcheese I need this implemented

Please reopen


API version mismatch

On loading my typescript project in Visual Studio 2013, I'm getting an Assertion Failed dialog box. I can click Ignore and continue to load the project. Is there something configured incorrectly on my system?
API version mismatch: managed version '0.4', script version '0.5'

   at TypeScriptLanguageService.CompilerServices.TypeScriptServicesFactoryProxy.ReportError(String message)
   at TypeScriptLanguageService.CompilerServices.TypeScriptServicesFactoryProxy.InitializeEngine()
   at TypeScriptLanguageService.CompilerServices.TypeScriptServicesFactoryProxy.InitializeJavaScriptEngineIfNecessary()
   at TypeScriptLanguageService.CompilerServices.TypeScriptServicesFactoryProxy.GetFactoryObject(Int32& fileVersion)
   at TypeScriptLanguageService.CompilerServices.TypeScriptGlobalServicesAccessor.CreateProxy(Int32& servicesFileVersion)
   at TypeScriptLanguageService.CompilerServices.TypeScriptServicesAccessorBase.get_Proxy()
   at TypeScriptLanguageService.CompilerServices.TypeScriptGlobalServicesProxy.GetDefaultCompilationSettings()
   at TypeScriptLanguageService.ScriptContext.DefaultCompilationSettingsProvider.GetDefaultCompilationSettings(ITypeScriptGlobalServicesProxy typescriptGlobalServicesProxy)
   at TypeScriptLanguageService.ScriptContext.ScriptContextComputeTask.Run(ITypeScriptGlobalServicesProxy services)
   at TypeScriptLanguageService.CompilerServices.TypeScriptGlobalServicesTask.Run()
   at TypeScriptLanguageService.Threading.BackgroundThreadQueue.<>c__DisplayClass8.<ExecuteOneTask>b__4()
   at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )
   at TypeScriptLanguageService.VsErrorReport.ExceptionFilter.Guard(Func`1 target, Func`2 filter, Func`2 handler)
   at TypeScriptLanguageService.Threading.BackgroundThreadQueue.ExecuteOneTask(BackgroundTask task)
   at TypeScriptLanguageService.Threading.BackgroundThreadQueue.ExecuteTasks()
   at TypeScriptLanguageService.Threading.BackgroundThreadQueue.Loop()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

:/ the problem is that I started to work on that from master typescript and that there is not visual studio version, I would prefer to avoid a commit that will make me diverge from typescript in other area than jsx support.
You have 2 solutions there:

wait for ts 1.5 release and the vs update that comes with it
a hackicsh solution would be to update typescriptServices.js manually and to search for the line :

ts.servicesVersion = "0.5";

And replace the 0.5 with 0.4, I'm pretty sure that the current version of jsx-typescript services does not differ from the 0.4 service api since I'm able to use it in my editor and that it's based on 0.4 api

You could have a branch that has visual studio compatibility? Then update it to be the same as master when typescript 1.5 comes out?
Sent from my iPhone

On 18 Feb 2015, at 17:11, François de Campredon<EMAIL_ADDRESS>wrote:
:/ the problem is that I started to work on that from master typescript and that there is not visual studio version, I would prefer to avoid a commit that will make me diverge from typescript in other area than jsx support.
You have 2 solutions there:
wait for ts 1.5 release and the vs update that comes with it
a hackicsh solution would be to update typescriptServices.js manually and to search for the line :
ts.servicesVersion = "0.5";
And replace the 0.5 with 0.4, I'm pretty sure that the current version of jsx-typescript services does not differ from the 0.4 service api since I'm able to use it in my editor and that it's based on 0.4 api
—
Reply to this email directly or view it on GitHub.

@nathggns yeah that's a possibility a dummy branch just for vs support, but could you or @andrewdavey confirm changing the line I specified that everything works fine by just downgrading the string ?

Yes, changing the version number to 0.4 works. Thanks.

I don't use visual studio or this project currently. Im just interested in it so I watch it. Sorry I can't help more.
Sent from my iPad

On 18 Feb 2015, at 17:29, François de Campredon<EMAIL_ADDRESS>wrote:
@nathggns yeah that's a possibility a dummy branch just for vs support, but could you or @andrewdavey confirm changing the line I specified that everything works fine by just downgrading the string ?
—
Reply to this email directly or view it on GitHub.

no problem @nathggns , thanks @andrewdavey, I'll branch and release a new beta version that just downgrade this string

Fixed


changelog: forward-port 0.6.3 release notes

Fixes https://github.com/rust-embedded/cortex-m/issues/252

r? @adamgreig
(rust_highfive has picked a reviewer for you, use r? to override)


python3Packages.monai: init at 0.9.0

Description of changes
Add MONAI, a Pytorch-based library for deep learning in medical imaging.  (Refresh of stale #147538.)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[NA] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[NA] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[NA] (Package updates) Added a release notes entry if the change is major or breaking
[NA] (Module updates) Added a release notes entry if the change is significant
[NA] (Module addition) Added a release notes entry if adding a new NixOS module
[NA] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

You haven't included the python-packages.nix addition in the commit.

Fixed now, sorry.

Result of nixpkgs-review pr 182263 run on x86_64-darwin 1

2 packages built:

python310Packages.monai
python39Packages.monai

Import fails in the nixpkgs-review shell for Python 3.10:
Python 3.10.5 (main, Jul 14 2022, 15:49:56) [Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import monai
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/nix/store/kfznbn0iifx5f4pfydmnqgvydikjkckp-python3.9-monai-0.9.0/lib/python3.9/site-packages/monai/__init__.py", line 38, in <module>
    from .utils.module import load_submodules  # noqa: E402
  File "/nix/store/kfznbn0iifx5f4pfydmnqgvydikjkckp-python3.9-monai-0.9.0/lib/python3.9/site-packages/monai/utils/__init__.py", line 15, in <module>
    from .deprecate_utils import DeprecatedError, deprecated, deprecated_arg
  File "/nix/store/kfznbn0iifx5f4pfydmnqgvydikjkckp-python3.9-monai-0.9.0/lib/python3.9/site-packages/monai/utils/deprecate_utils.py", line 19, in <module>
    from monai.utils.module import version_leq
  File "/nix/store/kfznbn0iifx5f4pfydmnqgvydikjkckp-python3.9-monai-0.9.0/lib/python3.9/site-packages/monai/utils/module.py", line 26, in <module>
    import torch
  File "/nix/store/f0mgn9j01yxhfh7smkypyfayg7hqd89v-python3.9-pytorch-1.11.0/lib/python3.9/site-packages/torch/__init__.py", line 216, in <module>
    raise ImportError(textwrap.dedent('''
ImportError: Failed to load PyTorch C extensions:
    It appears that PyTorch has loaded the `torch/_C` folder
    of the PyTorch repository rather than the C extensions which
    are expected in the `torch._C` namespace. This can occur when
    using the `install` workflow. e.g.
        $ python setup.py install && python -c "import torch"

    This error can generally be solved using the `develop` workflow
        $ python setup.py develop && python -c "import torch"  # This should succeed
    or by running Python from a different directory.

But it works with Python 3.9 (and it builds with both versions)

Weird -- it imports fine for me under nix-shell.  In your case it appears that import torch has failed, possibly because you're somehow picking up lib/python3.9 libs, which seems wrong?

I checked out the branch manually and tried with nix-shell, it works with both Python 3.9 and Python 3.10.
Something weird going on with nixpkgs-review.

Does fetch work for you? hydra seems to fail to get the correct file. Fails for me as well on master:
$ nix build -f. python3Packages.monai.src
error: hash mismatch in fixed-output derivation '/nix/store/52hh3z4fxv7cqb6nkpm05p4k4sc3550f-source.drv':
         specified: sha256-HxW9WYxt2a7fS9/1E9DtiH+SCTTJoxYBfgZqskYdcvI=
            got:    sha256-Kgi0m3OuLHCIo/gl35Hn2fyOWr2lcwNgswgKeWBGJPQ=
error:

Result of nixpkgs-review pr 182263 run on x86_64-linux 1

2 packages failed to build:

python310Packages.monai
python39Packages.monai

@trofi did you mean to build #188308?
It does seem like the hash for the 0.9.0 tag has changed.

Ah, I did not see newer pull request. Ran against it as well.


⚠ Bofrost.de has degraded performance

In e494a3d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1791 ms

Resolved: Bofrost.de performance has improved in 946fe7d.


Sublicensing

I'm a little confused as to the terms of the license on this project. Does it allow sublicensing?

I'm not sure what you mean by sublicensing. You may use this software in any other project as long as you follow the conditions for redistribution. Re-licensing to a compatible license (that means stricter) is also possible. Please refer for to other sources for legal information on that.
See here for a good summary: https://tldrlegal.com/license/bsd-3-clause-license-(revised)

I did not realise your license was the BSD Three Clause license. My confusion came from the fact the MIT explicitly allows sublicensing while the BSD license does not, but nor does it disallow it.
Thanks for the clarification anyways.


Add all binary operators supported by ANSI-92

We should support the full set of binary operators, like *, +, etc., which are defined by ANSI-92 and / or supported by Postgres, MySQL, SQL Server, and Oracle.
These would be added as BinaryOp subtypes, with new methods defined in Expr like the methods for *, and &&.
If anything is unclear, please ask for more details!

I'll work on this.

@jczuchnowski Awesome, thank you!

As I move forward I will be putting here information about decisions I make and findings realated to differences between the databases.
For starters:

% as a modulo operator is not supported by Oracle
^ as an exponentiation operator is not supported by MySQL


Which firmware to use

There is no clear documentation on which firmware version to use for the Nitrokey 3A NFC or any of its variants. I recently purchased a 3A NFC and would like to know what is the correct firmware file to flash.

nitropy automatically selects the latest stable firmware version.  So for regular usage, you can just run nitropy nk3 update to check whether your device is up to date.  We also plan to add a list-updates subcommand to nitropy so that you can easily check the available releases (https://github.com/Nitrokey/pynitrokey/issues/285).
You only need to manually select a firmware version if you want to use an alpha release.  The process for that is currently described here.


Issues reading Diablo II MPQs

Hey there,
Going out on a limb here, as it seems this project isn't heavily maintained. I'm creating a utility to render Diablo II assets. My goal is to export game sprites to a more accessible file format.
I've compiled the latest version of StormLib (as Release, Unicode, Single-Threaded), and imported the DLL into my project. I've written some test code to simply open a MPQ archive, however it doesn't seem to be working as I would expect.
Both MPQs are in the same directory as the executable. I've written additional code to open each file using the standard file stream, and everything works fine - so I'm confident the files are where they are expected to be.
When attempting to open d2data.mpq, I receive the following error:
Error Parsing MPQ: 	The system cannot find the file specified.
However, when attempting to open d2music.mpq, I receive a different error:
Error Parsing MPQ: 	The filename, directory name, or volume label syntax is incorrect.
The fact that I'm receiving different errors depending on the file makes me think I must be doing something wrong.
My code is very simply:
if (!SFileOpenArchive(filePath, 0, MPQ_OPEN_READ_ONLY, &mpqHandle))      errorCode = GetLastError();
Am I missing something? Any input would be greatly appreciated.
Thanks,
Jacob

I seem to be using a slightly different read only mode define :
https://github.com/wheybags/freeablo/blob/master/components/faio/faio.cpp#L42
That said, I'm using an older version atm. It may sound stupid, but are you
sure you're using a correct file path? Also, the library is very well
maintained, ladik responds pretty quickly to queries generally, it's just
not very active because it's effectively "finished". Mpq format isn't
changing because Blizzard have stopped using it, and the library works, so
of it ain't broke don't fix it.
On Mar 26, 2017 11:05 PM, "Jacob Persi"<EMAIL_ADDRESS>wrote:

Hey there,
Going out on a limb here, as it seems this project isn't heavily
maintained. I'm creating a utility to render Diablo II assets. My goal is
to export game sprites to a more accessible file format.
I've compiled the latest version of StormLib (as Release, Unicode,
Single-Threaded), and imported the DLL into my project. I've written some
test code to simply open a MPQ archive, however it doesn't seem to be
working as I would expect.
Both MPQs are in the same directory as the executable. I've written
additional code to open each file using the standard file stream, and
everything works fine - so I'm confident the files are where they are
expected to be.
When attempting to open d2data.mpq, I receive the following error:
Error Parsing MPQ: The system cannot find the file specified.
However, when attempting to open d2music.mpq, I receive the following
error:
Error Parsing MPQ: The filename, directory name, or volume label syntax is
incorrect.
The fact that I'm receiving different errors depending on the file makes
me think I must be doing something wrong.
My code is very simply:
if (!SFileOpenArchive(filePath, 0, MPQ_OPEN_READ_ONLY, &mpqHandle))
errorCode = GetLastError();
Any input would be greatly appreciated.
Thanks,
Jacob
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ladislav-zezula/StormLib/issues/101, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABCumpRERMmTJO4Oz-9BZE4BaDGAbwPKks5rpuFFgaJpZM4MpnCH
.

@JacobPersi Stormlib is maintained, it just needs very little of it because there's nothing new happening in the MPQ world now that Blizzard is no longer using them at all.

I had no issues with Diablo II .mpqs when using stormlib, you can check https://github.com/Lectem/Worldstone/blob/master/source/system/src/MpqArchive.cpp#L28 . As @wheybags said, you probably are missing the read only flag.
Side node for @JacobPersi : I've been working on reading Diablo2 assets for a while, I started open sourcing here https://github.com/Lectem/Worldstone but sadly by lack of time / motivation, not much has been made available yet. Feel free to contact me for more information


[AVM Module Issue]: How to conditionally define network security group in subnets

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
I'm not sure
Module Name
avm/res/network/virtual-network
(Optional) Module Version
0.1.1
Description
I'm unable to find a way to conditionally define network security group for a subnet. For example I would like to define NSG id if the subnet's name is AzureBastionSubnet but not for others. The most obvious approach would be:
subnets: [for subnet in subnets: {
  name: subnet.name
  addressPrefix: subnet.addressPrefix
  networkSecurityGroupResourceId: (subnet.name == 'AzureBastionSubnet') ? nsg.id : null
}]

But it seems that the value if set can't be null:
     | InvalidRequestFormat)    - Value for the id property is invalid.
     | Expecting a string. Actual value is Null. Path
     | properties.subnets[0].properties.networkSecurityGroup.
     | (Code:InvalidJsonPropertyType)

### (Optional) Correlation Id

_No response_

Hi @teemukom, thank you very much for opening the issue. We will com back to you with an answer as soon as possible

I have checked various options and found that as soon as the parameter networkSecurityGroupResourceId is specified, there is no chance to leave it empty (empty string, null, false, ...)
The submodule for subnets has handled this better. It checks whether the parameter is empty, not whether it is included.
From subnet module:
    networkSecurityGroup: !empty(networkSecurityGroupResourceId)
      ? {
          id: networkSecurityGroupResourceId
        }
      : null

I suggest that the main module also checks for “empty”. In addition to “contains”.
From virtual network module:
      networkSecurityGroup: contains(subnet, 'networkSecurityGroupResourceId')
        ? {
            id: subnet.networkSecurityGroupResourceId
          }
        : null

My proposal for networkSecurityGroups.

And at the same time we should also adapt it for natGateway and routeTable. For all other parameters I can either pass “null” directly or an empty array, so that's fine.
Any objections?

HIi @cloudchristoph , could you create a PR with the changes you are proposing? Thank you very much

Sure! Will send a PR tomorrow.

I'm a bit late to the part, but one option to achieve this with the module today would be to only add the property to the subnets if  the condition is true in the first place. This can be done using the union() function that merges the main chunk of the object with a conditional block that's only added if your condition is true.
This would look like this
var test = [
  for subnet in subnets: union(
    {
      name: subnet.name
      addressPrefix: subnet.addressPrefix
    },
    (subnet.name == 'AzureBastionSubnet' ? { networkSecurityGroupResourceId : nsg.id } : {})
  )
]

I'm a bit late to the part, but one option to achieve this with the module today would be to only add the property to the subnets if the condition is true in the first place. This can be done using the union() function that merges the main chunk of the object with a conditional block that's only added if your condition is true.
This would look like this
var test = [
  for subnet in subnets: union(
    {
      name: subnet.name
      addressPrefix: subnet.addressPrefix
    },
    (subnet.name == 'AzureBastionSubnet' ? { networkSecurityGroupResourceId : nsg.id } : {})
  )
]

@AlexanderSehr thanks for the reply. Actually I also figured this earlier. Not nice but doable.

I'm a bit late to the part, but one option to achieve this with the module today would be to only add the property to the subnets if the condition is true in the first place. This can be done using the union() function that merges the main chunk of the object with a conditional block that's only added if your condition is true.
This would look like this
var test = [
  for subnet in subnets: union(
    {
      name: subnet.name
      addressPrefix: subnet.addressPrefix
    },
    (subnet.name == 'AzureBastionSubnet' ? { networkSecurityGroupResourceId : nsg.id } : {})
  )
]

@AlexanderSehr thanks for the reply. Actually I also figured this earlier. Not nice but doable.

We continue to discuss the best solution in @cloudchristoph's PR 😉


[google-cloud-cpp] update to the latest release (v1.24.0)

Upgrades google-cloud-cpp to the latest release (v1.24.0)

What does your PR fix? Fixes #

N/A

Which triplets are supported/not supported? Have you updated the CI baseline?

N/A

Does your PR follow the maintainer guide?

I think so, still learning about the new x-add-version command.

Thanks for the update as always!