Video not playing

Bug report
Your Environment

Netflix add-on version: 0.16.4
Operating system version/name: Rasbian Buster + Xcfe desktop (linux-arm)
Device model:  Raspberry Pi 4 4GB aarch64/aarch32 jKernel v7+ and Kernel v8+

Used Operating system:

[ ] Android
[ ] iOS
[ ] Linux
[ ] OSX
[X] Raspberry-Pi
[ ] Windows

Describe the bug
We are able to enter in the addon, see the list of users and access to categories.
When we start a video, the video will not start and give a error message: The error - This title is not available to watch instantly.
This issue does not happen if we use Raspbian Buster + desktop from Raspberry team. The condition happen only when installing Xcfe desktop on Raspbian lite. We tried under "pi" account and "root" account as well.
Error log #1 can be found here: https://pastebin.com/hJndMEYm
Error log #2 can be found here: https://pastebin.com/wiuFcsBM
Expected behavior
The video should start without error message.
Actual behavior
When we start a video, the video will not start and give a error message: The error - This title is not available to watch instantly.
Steps to reproduce the behavior

Open Kodi, open Netflix addon
Select any video to play

Possible fix
What i have tried already:

Uninstall and reinstall the addon
Reset ESN code
Uninstall Widevine and reinstall it. I suspect Widevine do not install correctly under Xcfe versus Raspian regular desktop.
Tried the logout and log back in as suggested by Netflix site.

Debug log
The debug log can be found from this link: https://pastebin.com/hJndMEYm
Debug + verbose log: https://pastebin.com/wiuFcsBM
Installation

[x] I'm using Netflix Repo (CastagnaIT repo)
[ ] I'm using a different source

you've already done what i usually recommend
and the main profile seems to me correct, it does not seem to have set age limit
the widevine library is installed by this addon:
https://github.com/emilsvennesson/script.module.inputstreamhelper
but i don't know if you can find some answer

you've already done what i usually recommend
and the main profile seems to me correct, it does not seem to have set age limit
the widevine library is installed by this addon:
https://github.com/emilsvennesson/script.module.inputstreamhelper
but i don't know if you can find some answer

I have found a way to fix it.  Though i am not sure if it was about the first thing or second thing i have tried.
Here is what i did:
1- Unstalling the add-on and deleting add-on profile. Install the version before the 0.16.4. Start the addon, it will make a error saying netflix profile not loaded, the add-on will crash. Update add-on to 0.16.4. The netflix user menu choice should work normally. And video will now play without errors.
2- Force download PySocks.py, it wasn't installed as it said optional for install.
Widevide was okay finally. For some reason when you install 0.16.4 directly the user list of netflix load corrupted. It

the result would have been the same even if you had installed the current version of the addon, because that part of the code hasn't been changed between the two versions, and the loading of the profiles list has no relation with widevine
but if some errors had happened before loading the list, that error could be produced
i am happy you solved it, unfortunately we don't know exactly what was wrong, it could have been useful to others

Yes, i can reproduce it at any time with a fresh install. Rasbian Lite + Xfce. I really do not know why this type of setup would corrupt the profile list. Though it was showing the list correctly in the add-on but just not start video. Could a debug+verbose while doing a fresh install of the app help find out?

perhaps yes we can try, after install from scratch, you can enable app verbose logging before entering the credentials, by open app settings by context menu on app icon

Closed due to inactivity


Self-satisfying Bidirectional Rebalancing

It seems that version 1.4.0 does a kind of "Self-satisfying Bidirectional Rebalancing"

Doesn't make much sense I think !

Could you dm me /tmp/rebalancer.log. I suspect the peer flipped from inbound to outbound.

cold sats peer flipped from having sats (inbound) to needing sats (outbound) and lnd-05 flipped from needing sats (outbound) to having sats (inbound), that's normal.

Please reopen, as I think the issue has not been solved yet!

re-opened. Analysis based on rebalance.log:
at 7:09am jet detected that sathodler doesn't have enough sats on local side:
02/03 07:09 AM run rebalancing loop [balanced] 026837e1e38360527b6389a61907e02a74c065bf50e9110310c134f3f3a79383ac SatHodler needs 603876 sats
it subsequently initiated this rebalance:
02/03 07:09 AM rebalancing queue: processing {    from: '020605d79106b5a27a94436c57f56c4d04015c902aac9739f71d5ed9b18e24d3d1',   to: '026837e1e38360527b6389a61907e02a74c065bf50e9110310c134f3f3a79383ac',   fromName: 'WindwardMark',   toName: 'SatHodler',   amount: 603876,   maxPpm: 360,   time:<PHONE_NUMBER>701 }
at 7:11am jet detected that sathodler has extra sats on local side:
02/03 07:11 AM run rebalancing loop [balanced] 026837e1e38360527b6389a61907e02a74c065bf50e9110310c134f3f3a79383ac SatHodler has 232713 sats
then based on your telegram, at 7:12am there is a successful rebalance into sathodler for 118058 sats
this tells me that something else caused the liquidity to shift on sathodler between 7:09 and 7:11


Update mywishlist.php

Fixed some nasty typo which was breaking the wishlist change feature

Hi,
Thank you for your PR but sorry you did it on the master branch.
Can you please use the dev branch ?
Regards


Better security

After the deployment we'll have most of the liquidity resided in the LibUbiquityPool so it makes sense to make its security better by imlementing more fuzzing and invariant tests, adding formal verification and monitoring solution.

[x] https://github.com/ubiquity/ubiquity-dollar/issues/925
[x] https://github.com/ubiquity/ubiquity-dollar/issues/563
[ ] https://github.com/ubiquity/ubiquity-dollar/issues/926
[ ] https://github.com/ubiquity/ubiquity-dollar/issues/927

@0x4007 FYI

@rndquu one very good and novel solution for security monitoring is Drosera. They allow developers to deploy contracts which they call "Traps", which must implement two functions one to collect data and another one which will be the response function. The trap is then run on a shadow forked network every single block by their high trust operators, this allows for very expensive computation to be made for free since no gas will be spent. Once some condition found by the data collecting function happens the response function is triggered and the operator will call a specified function in a specified contract.
Drosera is currently private but I happen to be extremely close to the team and I have access to deploy traps. Here is one example of trap I've deployed. You can check the contract's transaction history to see trap was indeed successful in automating these super frequent , every 10 minutes, calls.
My idea is:
1. Deploy a PauseManager contract:
This contract will have a single entry point that pauses all contracts in a single function. It will also contain an unpause similar function. Could have two roles, one for the trap and another for the PauseManager owner.
2. Deploy the Trap
The trap will monitor the protocol and call pause on PauseManager if condition is met.
This aligned with traditional security monitoring can be very powerful.

@zugdev What's the difference between https://www.drosera.io/ and https://www.openzeppelin.com/defender? I believe both of them works the same way:
a) Check for pause condition (off-chain)
b) Pause (on-chain)

@zugdev What's the difference between https://www.drosera.io/ and https://www.openzeppelin.com/defender? I believe both of them work the same way:
a) Check for pause condition (off-chain)
b) Pause (on-chain)

There are actually a couple differences:

Drosera runs in a shadow fork (local chain) which means they run in the EVM environment. They even have proof-of-execution capabilities with zk-SNARKs.

Traps as contracts mean that you can run foundry to test infra, this is very different from a completely off-chain setup which is not even transparent. Drosera allows for a contract and CLI deployment and setup, you can even write shell scripts to keep CLI run logs "open sourced".

It can do much more than pause, it can collect any arbitrary data and call any arbitrary function so there are much more powerful uses. In the example I linked, I use it to automate callings routinely, but you can even leverage the fact computation is done off-chain to do much harder calculations.

No KYC, all on-chain. No logins, no password and team key management.

@zugdev What's the difference between https://www.drosera.io/ and https://www.openzeppelin.com/defender? I believe both of them work the same way:
a) Check for pause condition (off-chain)
b) Pause (on-chain)

There are actually a couple differences:

Drosera runs in a shadow fork (local chain) which means they run in the EVM environment. They even have proof-of-execution capabilities with zk-SNARKs.
Traps as contracts mean that you can run foundry to test infra, this is very different from a completely off-chain setup which is not even transparent. Drosera allows for a contract and CLI deployment and setup, you can even write shell scripts to keep CLI run logs "open sourced".
It can do much more than pause, it can collect any arbitrary data and call any arbitrary function so there are much more powerful uses. In the example I linked, I use it to automate callings routinely, but you can even leverage the fact computation is done off-chain to do much harder calculations.
No KYC, all on-chain. No logins, no password and team key management.

We already have a monitoring solution almost ready to be shipped in https://github.com/ubiquity/ubiquity-dollar/pull/959 via https://www.openzeppelin.com/defender

We already have a monitoring solution almost ready to be shipped

Your call, if you want to have both setup I'd be happy to help.


(#11328) Improve OpenBSD Facter support

Add virtualisation and uptime facts.

Tested on Darwin, FreeBSD and OpenBSD. Merged manually into 1.6.x. Thanks for the patch!


Heroku Application Broken

Heroku has terminated their free tier.
I am making the assumption this is why the application at this address is broken:
https://fake-useragent.herokuapp.com/browsers/0.1.11
2022-12-03 19:29:40 [fake_useragent] WARNING: Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/fake_useragent/utils.py", line 154, in load
    for item in get_browsers(verify_ssl=verify_ssl):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/fake_useragent/utils.py", line 99, in get_browsers
    html = html.split('<table class="w3-table-all notranslate">')[1]
IndexError: list index out of range

The has been picked up in the parent package fake-useragent in this issue and was resolved for me buy running pip install --upgrade fake-useragent

Thanks a lot


Add Scroll to top button and Enhanced buttons (fixes #2018 and #2017)

Added Scroll to top button at right bottom

@iamrahulmahato you can check this!!

@iamrahulmahato you can view that I've sent a single pr both the issues!!
I hope you would look into them

fixes #2018 and #2017

@iamrahulmahato I've resolved 2 issues ....and you gave level 1 badge


Utterances Commenting System

How do I add the Utterances commenting plugin to the Hugo-goa theme? I've added the html file in the folder structure but I  don't know how to reference it in the config.toml file, can you help?

@bocciaman Is this still an issue. I'm not an expert in that commenting plugin.


Optimize CRC32 calculation on arm64

ARM64 provides crc32 instructions for accelerating crc32 calculation.
This patch is optimization for linux under aarch64
The comparision of performance is as below
old
crc32c       :       5.670 micros/op;  688.9 MB/s (4K per op)
new
crc32c       :       0.451 micros/op; 8663.4.7 MB/s (4K per op)
Change-Id: I51d25ca19688fc95a57b84ee0c1493c18a288087
The name I signed CLA with is<EMAIL_ADDRESS>The issue number is #478

@zorrorffm Thank you very much for the contribution!
Due to some infrastructure issues, I won't be able to act on this very quickly. That being said, I am very grateful for your PR, and I look forward to improving the ARM performance.

@pwnall Thanks you.
If you need ARM machine to run some tests, I would be pleased to do that.

@zorrorffm I ran tests on a Google Pixel C tablet, and the optimized version seems to be 4-10x faster. If this is reasonably representative hardware, I don't think I'll need another machine. I'll take you up on your offer if it turns out I really need a machine that can easily run a GNU/Linux system.

@zorrorffm The LevelDB work hasn't happened yet, but I used your code in https://github.com/google/crc32c/blob/master/src/crc32c_arm64.cc -- thank you very much!

@zorrorffm We deployed the version of this patch at https://github.com/google/crc32c/blob/master/src/crc32c_arm64.cc in Chrome, and we got crashes when trying to execute the vmull_p64 instruction on MSM8916 boards.
I have a hunch that we should also be checking that the flags returned by hwcap include HWCAP_PMULL, which is (1 << 4), before enabling the AArch64 accelerated code. Is this correct?

@zorrorffm On the issue above, can you please take a look and comment on https://github.com/google/crc32c/pull/6?

@pwnall Yes, your fix is correct. Thank you for your findings.

Update the patch with detection of  CPU capabilities. Acceleration is available only if pmull and crc32c instructions are supported

@googlebot rescan

Thx for the PR @zorrorffm. The optimized crc32c code was moved out into https://github.com/google/crc32c (which supports armv8-a+crc+crypto) in 5c39524f3639e6bf6ab49215152d24273e662986.


django.db.utils.OperationalError: no such table: memberships_usermembership

Thank you so much for sharing the code.
I encounter the mentioned error when createsuperuser.
Thank you.
Ser Nguang

It is ok now... Thanks


Problems on remove markers.

Got an error on this action.
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Hey @avin - I stumbled across this repo while evaluating. I see it's not getting much action. Did you resolve your issue?

@jpt007 Currently I don't remove layer and hide only markers in main markers layer, it works fine to me.

Hm.. is this repo dead? Seeing very little activity from the maintainer. A shame, since this appears to be a very useful plugin.

@tconroy the repo is in use, but not under heavy development at the moment. We plan to pick it back up in earnest in the near future. In the meantime, we're definitely open to Pull Requests.
Are you guys still facing the same issue that @avin originally asked about?

The issue is this line here.
When I hot reload the page, getPanes() returns an empty array.
  MarkerLayer.prototype.componentWillUnmount = function componentWillUnmount() {
->    this.map.getPanes().overlayPane.removeChild(this.leafletElement);
  };


Legend images do not work when used via NPM package

When I attempt to define the custom components via importing the NPM package (as opposed to using a

At runtime the following error is thrown:
index.js:2179 TypeError: Failed to construct 'URL': Invalid base URL
    at getAssetPath (index.js:462:22)
    at index.js:53750:137
    at Array.map (<anonymous>)
    at index.js:53749:138
    at Array.map (<anonymous>)
    at GoCamViz.renderLegend (index.js:53748:262)
    at GoCamViz.render (index.js:53744:714)
    at callRender (index.js:1628:80)
    at updateComponent (index.js:1578:7)
    at index.js:1562:33
index.js:2179 TypeError: Cannot set properties of null (setting 'innerHTML')
    at GoCamViz.loadGoCam (index.js:53271:21)
    at GoCamViz.componentDidLoad (index.js:53725:12)
    at safeCall (index.js:1735:32)
    at postUpdateComponent (index.js:1677:9)
    at updateComponent (index.js:1618:7)
    at index.js:1562:33
    at then (index.js:1743:64)
    at dispatchHooks (index.js:1562:12)
    at Array.dispatch (index.js:1531:28)
    at consume (index.js:2266:19) undefined

This error goes away if I change show-legend=true to show-legend=false.
I think this points to something incorrect about the way the legend images are bundled or referenced.

As far as I can tell this is something that Stencil requires client applications to handle themselves, as alluded to by this documentation section: https://stenciljs.com/docs/custom-elements#example-bundler-configs. It's also something that confuses a lot of people. So the best thing to do is probably just document how to do the setup.


Refactor UserResource

This PR refactored the UserResource and its corresponding client, UserService.

Replaces UserWebResponse with Response, utilizes HTTP Status instead of the custom {code, message}.
Replaces model.auth.user.User with Jooq generated POJO User.java
Matched user.ts with Jooq generated POJO User.java.
Rewrite error message handler for login and register.

need to change the test cases accordingly. will do it tomorrow.

@zuozhiw resolved comments. I have also temporarily disabled the frontend test case related to UserService, mainly due to not easy to fix: there are other compilation errors in other test components. Also currently the frontend tests are now being executed anyway. I suggest we check on the test cases later.


“compile on save” doesn't work on my Angular project

I created (Yesterday) a new angular project by cli (ng new my-app) .. but the option "compile on save" doesn't work on my project ! I should be noted that i have two project on my PC, and "auto compile" works correctly for one of them and doesn't work for another

now the first project (healthy) is stoped and i'm trying on the other (who has problem)
I changed port of the project's but it doesn't work again
I work with updated visual studio 2017
"compileOnSave" option is true

Please help me!

I found the answer from this link .. path of the project had space character !


Usage reporter dialog Help button points to old docs at bonej.org

Usage Reporter Options help button points to old bonej.org documentation.
Updated documentation is at https://imagej.net/BoneJ2#Usage_reporting, so the button should point to that, ideally for both Modern and Legacy dialogs.

Fixed by PR #144


Make the aggregation API links downloadable

Set the Content-Disposition header for JSON and CSV formats so as to
trigger a file download in browser instead of opening the file in a page
Set the correct Content-Type for CSV

LGTM!


Models will always be initialized without dropout layers in self-tuning ruleset

In submission_runner.py, if we are in the self-tuning rules, the hyperparameters argument to train_once will always be None.
Then in this code snippet
    dropout_rate = None
    aux_dropout_rate = None
    if hasattr(hyperparameters, 'dropout_rate'):
      dropout_rate = hyperparameters.dropout_rate
    if hasattr(hyperparameters, 'aux_dropout_rate'):
      aux_dropout_rate = hyperparameters.aux_dropout_rate
    model_params, model_state = workload.init_model_fn(
        model_init_rng, dropout_rate, aux_dropout_rate)

workload.init_model_fn will always get None for dropout_rate and aux_dropout_rate, so Dropout layers won't ever be added to the model.
Although submissions could call workload.init_model_fn again themselves to make use of its side effect of setting workload._model, this is awkward and also challenging for workloads near the memory limit since it involves superfluously reconstructing model_params again on device.

Our current API has 2 dropout related limitations:
Currently, in the external tuning ruleset we read the dropout value from the hparam config and pass it to the model initialization functions. In the self-tuning ruleset there exist no convenient way to specify the dropout value in the model initialization.
Furthermore, there is no way to change the dropout value during training.
Having a workload function to change the dropout value that submitters can call will remove both of these limitations.


Publish reason for block

My situation situation was, that it was at the hightest peak for today ,like 0.367 as price at 18.00 , but battery was still blocked.
Turns out batcontrol was evaluating the next 24 hours.
Tomorrow at 17, it is above 0.40 .
So, batcontrol decided to keep the energy stored until tomorrow.
The current non-forecast values in MQTT are not able to reflect that decision.
batcontrol needs to be adjusted to have the reasoning ready for api and frontend

This looks now like this:
2024-12-03 21:29:28 INFO [LogFileLimiter] File /tmp/batcontrol.log is too large. File will be pruned by 10 %.
2024-12-03 21:29:28 INFO [FCSolar] Requesting Information for PV Installation Haus
2024-12-03 21:29:29 DEBUG [FC Cons] predicting consumption: [ 278.9  320.4  215.1  196.   216.2  193.8  193.8  188.2  183.7  225.2
  551.1 3264.2 1567.1 1149.3  435.7  310.3  422.3  507.4  634.   640.7]
2024-12-03 21:29:29 DEBUG [BatCTRL] Production FCST: [  0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.  64. 232. 382.
 487. 530. 500. 406. 278.  45.]
2024-12-03 21:29:29 DEBUG [BatCTRL] Consumption FCST: [ 278.9  320.4  215.1  196.   216.2  193.8  193.8  188.2  183.7  225.2
  551.1 3264.2 1567.1 1149.3  435.7  310.3  422.3  507.4  634.   640.7]
2024-12-03 21:29:29 DEBUG [BatCTRL] Net Consumption FCST: [ 278.9  320.4  215.1  196.   216.2  193.8  193.8  188.2  183.7  225.2
  551.1 3200.2 1335.1  767.3  -51.3 -219.7  -77.7  101.4  356.   595.7]
2024-12-03 21:29:29 DEBUG [BatCTRL] Prices: [0.376 0.362 0.348 0.337 0.332 0.327 0.324 0.326 0.337 0.365 0.442 0.522
 0.491 0.445 0.429 0.421 0.43  0.453 0.482 0.511]
2024-12-03 21:29:29 DEBUG [Rule] Evaluating next 20 hours until 16:59
2024-12-03 21:29:29 DEBUG [Rule] Reserved Energy will be used in the next hours: [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
2024-12-03 21:29:29 DEBUG [Rule] Reserved Energy: 6558.3 Wh. Usable in Battery: 399.4 Wh
2024-12-03 21:29:29 DEBUG [Rule] Discharge forbidden. Stored usable energy 399.4 Wh <= Reserved energy 6558.3 Wh
2024-12-03 21:29:29 DEBUG [Rule] Discharging is NOT allowed
2024-12-03 21:29:29 DEBUG [BatCTRL] Charging allowed: True
2024-12-03 21:29:29 DEBUG [Rule] Charging is allowed, because SOC is below 75%
2024-12-03 21:29:29 DEBUG [Rule] No additional energy required or possible price found.
2024-12-03 21:29:29 INFO [BatCTRL] Mode: Avoid Discharging
2024-12-03 21:29:29 INFO [Main] Next evaluation at 21:30:00. Sleeping for 30 seconds

Reopening for improving that solution


Remove a minClientVersion attribute from the .nuspec files

Hello!
Currently, all .nuspec files have an minClientVersion attribute with a value equal to 5.3, because of this, the NuGet packages cannot be installed by using old versions of Visual Studio.
As an example, you can see the “Visual studio 2017 can't install JavaScriptEngineSwitcher.V8” issue.

Hi Andrey!
We specified NuGet 5.3 due to our required use of the icon attribute, but it looks like icon can be combined with iconUrl for backward compatibility.
However, since we're also required to use license, we need at least NuGet 4.9, which seems to be available for Visual Studio 2017.
So our current plan is to add iconUrl and lower the NuGet requirement to 4.9. Will that will be sufficient?
Thanks!

Will that will be sufficient?

I think that will be sufficient.
It's just that I don't use this attribute in my packages at all.

Thanks, Andrey. We'll try something similar – including both icon+iconUrl and license+licenseUrl – and removing minClientVersion. Hopefully the packages will pass through all our internal checks in that form. Cheers!

Ugh. Unfortunately NuGet doesn't allow license+licenseUrl. As company policy requires us to use license , we'll use minClientVersion="4.9.0" for correctness.

I think this is also a good solution.

Version 7.1.5 included this change.

Thank you very much!


feat: Handle Error Notify webhooks ATL-6934

Description:
Summarize the changes you're submitting in a few sentences, including Jira ticket ATL-xxxx if applicable.
Link to any discussion, related issues and bug reports to give the context to help the reviewer understand the PR.
Alternatives Considered (optional):
Link to existing ADR (Architecture Decision Record), if any. If relevant, describe other approaches explored and the selected approach. Documenting why the methods were not selected will create a knowledge base for future reference, helping prevent others from revisiting less optimal ideas.
Checklist:

[x] My PR follows the contribution guidelines of this project
[x] My PR is free of third-party dependencies that don't comply with the Allowlist
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked the PR title to follow the conventional commit specification

I'm having a hard time fixing this.
@yshyn-iohk you seem familiar with the database stuff in the agent. Do you have any idea to point me in the right direction?

The problem is the in creation. In the test we create a UUID randomly when creating object. But when creation/storing in the database, we generate another one. So the test fail when comparing because it doesn't match

@CryptoKnightIOG Can you have another look? I want to finish this today before my vacations.
I not really happy with the solution approach.

We are having Timeout in the Tests ATM on the CI
I will run the test later on


Response is not JSON serializable

When using "response = agent.send(message)", I'm getting "Object of type generator is not JSON serializable".
I noticed that handle_message in ToolManager has been updated quite a bit and I'm trying to understand how it returns a response to the agent (e.g.: for use in tests/main.py).

right now i changed it so that the library streams responses. You can put the response and put it in a for loop and print each character like this:
for token in response:
  print(token, end="", flush=True)

I still need to implement the option of switching between streaming and just the normal mode.
I haven’t updated tests/main.py to work yet unfortunately. But try the others.

Thanks @kyb3r , have it working now! Yes, I've been playing with clinic.py, which is very cool. Has given me a lot of ideas to think through.
In terms of priorities, what kinds of contributions are you looking for from the community? How can I chip in? I have all kinds of ideas regarding your excellent HMCS implementation.

Making the implementation of tools more robust is something that needs experimentation.
I’m also thinking of making alternate ways of storing memories.
One thing I might want to explore is giving the agent access to a save_memory tool so it can store memories on it’s own accord.


how to UN-install a pkg?

Sorry if that's a stupid q, but I couldn't find a way - other than just removing the files/folders from c:\rakudo\lib\parrot\6.1.0\languages\perl6\site\lib\ by hand.
As you might see, I'm on Windows.
So... ?

Hello back, folks
Recently, I stumbled over it yet again - and realized only later that I had opened this issue time ago...
So I thought maybe I should take a deeper look and try to help with it somehow myself. After all, "it should be doable without much fuzz", shouldn't it?
Now, here's two problems/pleas that I have:

where in the source should I best start looking?
could anyone make Windows .msi files for the latest Rakudo* 2015-02, please? @FROGGS: I think you did the 2014-12 ones; would be awesome if you could do it again. Thx in advance :)

Just found that rakudo-star-2015.02.msi has landed - big THX to whoever put it together! :D

To give panda an 'uninstall' option you'd just add that to bin/panda.
But: I've skimmed the code and it is not obvious to me how panda should know which files belong to the to-be-uninstalled module...
It would be way easier if we used CompUnitRepo::Local::Installation already. That keeps a database per module, which makes these things easy.

Alright, CompUnitRepo is the way to go.
After all, we don't want to remove stuff on which the "to-be-uninstalled module" depends but other "still-installed modules" still depend as well, do we?
And, if the "depended-on stuff" was installed in its own right, then we wouldn't remove it either.
Hm, "depends-on" is of course transitive, but "installed-in-its-own-right" adds a whole new dimension, right?

A few notes on things I now understand better (but still not fully):

depending on the backend (MOARVM, parrot) it's different locations: c:\rakudo\lib\parrot\6.7.0\languages\perl6\site\ (lib / panda) versus c:\rakudo\languages\perl6\site\ (lib / panda)
panda keeps a file ...\panda\state with meta-info of the installed modules, particularly whether a module was installed explicitly or rather just for dependency resolution
So, as a manual workaround to uninstall stuff, you'll also have to edit this file
rebootstrap.pl scans the state file exactly to find out whether

# Find modules that were installed by request
# (as opposed to just for dependency resolution)

CompUnitRepo::Local::Installation already has (among other things) this functionality - correct?

Update for Rakudo* 2015.06: it's somewhat different paths now, see https://github.com/rakudo/star/issues/47


(🎁) Slide in should have auto complete for easier picking from existing branches

Awesome plugin, can't believe I haven't been using it.

Thanks 🎉
Makes sense indeed, same as completion in git machete add <TAB>... you can create a new branch with both CLI add and GUI Slide In (in which sense autocompletion makes no sense), but also add/slide in an existing one — where autocompletion makes sense indeed

In general our throughput in this project is now quite limited, I was mostly focused on maintenance (keeping compatibility with the new incoming IntelliJ versions) as I have other full-time commercial project to work on... but we'll have someone full-time-ish in this project soon

For the record, probably the corresponding textField in SlideInDialog.kt should be replaced with a use of com.intellij.ui.TextFieldWithAutoCompletion

I like the new "create branch" dialogue that replaces things like spaces with underscores automatically, "slide in" doesn't have that functionality.


UWP on Release fix

Documentation added for UWP with .NET Native tool chain
UWP Sample fixed with assemblies to include
UWP with Zero duration fix

awesome!


[Bug]: The first synchronization cannot be stopped and it is always in sync.

What happened?
Let me first describe my scenario. I want to migrate from remotely-save to remotely-secure. I back up all files, then delete the entire vault(including configuration files), then download remote security, set up the S3 service. I set sync on save to every second, autorun to every 5 seconds, and run at 1 second after startup. Then I put all the files back into the vault. Then the synchronization started. I waited for half an hour, but the synchronization was still not completed. In fact, I don’t have many folders (1000, 1M in total). The synchronization process in the status bar is a bit strange. Normally it is 1/1000, 2/1000, 3/1000..., but my synchronization process is 1/1000, 2/9XX, 3/9XX..., the number to the right of "/" keeps changing.
My guess is that my first synchronization could not be completed because I set "synchronize when saving to every second, set autorun to every 5 seconds, and run at 1 second after startup."
After that, I deleted all the files, turned off all automatic synchronization, then reconfigured it, manually clicked synchronization once, and it was normal(1/1000, 2/1000, 3/1000...), and then I set up automatic synchronization.
What OS are you using?
Windows
What remote cloud services are you using?
S3
Version of the plugin
0.4.19
Version of Obsidian
1.4.16
Using password or not

[ ] Yes.

Ensure no sensitive information

[X] I ensure that no sensitive information is submitted in the issue.

Hello, thanks for filing the issue and sorry you're experiencing issues syncing here. Will try to reproduce the issue locally and update if I need more clarifications.

To provide a more helpful explanation, I attach the screenshot below. I have a total of 1,000 files, but the plugin has requested 120,000 times.

Thank you, that helps! You mentioned you migrated from Remotely Save, did you experience these issues in Remotely Save as well or is this specific to Remotely Secure?

The synchronization process in the status bar is a bit strange. Normally it is 1/1000, 2/1000, 3/1000..., but my synchronization process is 1/1000, 2/9XX, 3/9XX..., the number to the right of "/" keeps changing.

I think this may be related to a recent change I made to the status bar, will investigate. I opened a new issue to track this (#46) separately.

Thank you! I was able to reproduce that issue and will track fixing the concurrency/status bar in #46.

and the cumulative traffic is 22MB.

Did you experience this type of traffic mismatch compared to the local file size using Remotely Save? Trying to narrow down if it's a result of a change I made to Remotely Secure or if it's existing code we'll need to rework.
Really appreciate your details/screenshots!

The first video is about the process when I used remote-secure to set up automatic synchronization and an error occurred.
In the second video, I used remote-secure and manually synchronized it. There was no problem, but the concurrency error was displayed.
For the third video, I used remote-save and set up automatic synchronization, and there was no problem. Because remote saving cannot display the status bar information, I judge whether it is completed by the status of the arrow button. It can be seen that the automatic synchronization stops after a period of time. Remotely-secure is always in sync and cannot be stopped. It can be determined that this problem only occurs in remote-secure, but there is no such problem in remote-save.
https://github.com/sboesen/remotely-secure/assets/76651858/59daccad-25da-458b-82f9-10f93ebc1603
https://github.com/sboesen/remotely-secure/assets/76651858/726836b6-f45c-4e41-a225-b89c75023f20
https://github.com/sboesen/remotely-secure/assets/76651858/2cf7e51f-3a36-4b14-b085-e18e989bc79b

I set sync on save to every second, autorun to every 5 seconds, and run at 1 second after startup.

Thanks for sharing those! Will review and try to reproduce with your config.

Here, I can only mention that 15 of my friends, in addition to myself, have switched from 'Remotely Save' to 'Remotely Secure'. All of us resynchronized our vaults accordingly. I've 4 devices, and my friends have 2-3-4 devices, depending on the individual. The size of my vault is not large, 2.3 MB, with many notes, but I don't have a lot of attachments, so it's mostly simple markdown files taking up kilobytes. Many of my friends have attachments with PDF files, so their vaults are larger. Personally, I use Dropbox, but some friends use OneDrive. I am unaware of the number of their syncing devices.
We all configured the plugin and enabled autosync every 5 seconds, then synchronized the vault. I deliberately did this because I was curious to see if any issues would arise due to such a short synchronization interval (as I opened an issue requesting shorter time intervals for synchronization). I also had 'Sync on Save' enabled, but that's not important. I didn't encounter any problems. Synchronization took only a few seconds.  In short, I relied on the animation of the icon on the panel (I didn't check on the phone; it just synchronized, and that was it).
Perhaps it would have been more logical to start with manual synchronization first, and when the vault is synchronized, then enable automatic synchronization in the settings. However, I did it as an experiment. I told my friends that they could configure everything they needed from the start, even though they have all the parameters turned on/off, just like me. In the end, none of us had any synchronization issues. So maybe this problem is not systematic, or perhaps it's related to the synchronization service. I don't know. Maybe we were all just lucky. Although 16 people are not a bad sample, so I decided to report it so that you would be aware. None of us encountered this problem.

Perhaps it would have been more logical to start with manual synchronization first, and when the vault is synchronized, then enable automatic synchronization in the settings.

Honestly the whole process could be a bit more user friendly. The plugin should probably prompt the user to do an initial sync after auth first then suggest those settings.

Although 16 people are not a bad sample, so I decided to report it so that you would be aware. None of us encountered this problem.

Thank you, that does help. Appreciate the details.

Honestly the whole process could be a bit more user friendly. The plugin should probably prompt the user to do an initial sync after auth first then suggest those settings.

Agreed, this is worth exploring. Similar to #39 but worth discussing in a new feature request.

However, after each plugin update, the window repeats, causing some discomfort.

This could be avoided by checking if the user has already authenticated in the data.json.

However, after each plugin update, the window repeats, causing some discomfort.

This could be avoided by checking if the user has already authenticated in the data.json.

I don't know, maybe so. After today's plugin update, I see updates for almost all plugin files, including data.json.
If it's possible, yes, it could be one of the options. But how satisfactory it is, let the plugin author determine. Personally, I think a section in Redmi is more than enough.

I see updates for almost all plugin files, including data.json.

The data should persist through updates. So yeah either a read me update or an initial install modal would work.
I still don't see harm in only displaying auth settings first and then prompting the user to configure settings after an initial sync. I mean a simple 'skip guided installation' could be added as well maybe?

I see updates for almost all plugin files, including data.json.

The data should persist through updates. So yeah either a read me update or an initial install modal would work.
I still don't see harm in only displaying auth settings first and then prompting the user to configure settings after an initial sync. I mean a simple 'skip guided installation' could be added as well maybe?
I made a new feature request to discuss this #49

However, I see. There is a high likelihood that the average user simply won't revisit the plugin settings after the initial configuration, even with a separate warning message. Most users only pay attention to messages or warnings when something stops working correctly. Additionally, this will add extra work for the author. If this issue is not purely individual or just some unforeseen error, then there is no necessity for this implementation at all. And if not, then yes, it'll need to find a way to address it. Until the problem can be reproduced, there is no point in such radical implementations. Well, that's my opinion.

Although 16 people are not a bad sample, so I decided to report it so that you would be aware. None of us encountered this problem.

Thank you, that does help. Appreciate the details.

I'll also note that none of us use encryption.

@lyiton can you share the test files/folders you used (if there is nothing sensitive in them) as an attachment in this issue? Thanks again for sharing those videos!


Koenig editor's initial auto-save clips a few letters

Issue Summary
When I start a New Story, and start typing fast, the first auto-save will clip a few letters. My hunch is that the characters I've written since the save request got sent (and the saved state returned) are discarded.
Steps to Reproduce

Open admin
Click on New Story
Start typing fast in the body
See that some characters are discarded.

Video: http://j7y.co/rnhf
For context, I am not using any other key besides letter keys.
Why do I think it's a bug?
Because it breaks the flow.
What I expect to happen
Characters are not discarded.
Technical details:

Ghost Version: 1.23.0
Node Version: whatever is on Ghost(pro)
Browser/OS: Firefox Quantum 60.0.1 (64bit) macOS 10.13.4
Database: Ghost(pro)

All details on Koenig beta feedback here: https://forum.ghost.org/t/koenig-editor-beta-release/1284


Missing Sublime Text Command - Split selection into lines

While building this extension to map Sublime Text default keyboard shortcuts to VS Code, I found that this feature is missing.
The feature is split selection into lines.
Default Sublime Text keybindings
Windows / Linux: ctrl+shift+l
Mac: cmd+shift+l

Today an extension exists that provides this feature. I believe we should bring this into the product.

Looks like this already exists for the command - editor.action.insertCursorAtEndOfEachLineSelected

For anyone else that stumbles upon this from Google, this is the whole line you can copy/paste this into keybindings.json to get this feature working with the same shortcut as sublime/atom:
{ "key": "ctrl+shift+l", "command": "editor.action.insertCursorAtEndOfEachLineSelected", "when": "editorTextFocus "}

Currently VS Code allows you to make a selection and use the "Selection" alt menu, then choose "Add Cursors to Line Ends". On Mac, the keyboard shortcut is Option+Shift+I (the letter "i").


Date picker Range

Does the date picker support range selection? Glancing at the source, it didn't look so, just double checking though!

Hi!
I forgot to add this to the roadmap, but it's not done for now. The datepicker is quite basic for the moment.

Sure thing. Thanks for the quick answer.

As Date Picker now have a year selector, I close the issue.


Accept UniformRandom()'s argument seed with explicit null value.

I have found that tf.layer.dropout cause the following error with<EMAIL_ADDRESS>rand.ts:119 Uncaught (in promise) TypeError: Cannot read property 'toString' of null
    at new t (rand.ts:119)
    at randomUniform_ (array_ops.ts:192)
    at randomUniform (operation.ts:45)
    at dropout_ (dropout.ts:51)
    at dropout (operation.ts:45)
    at tfjs_backend.ts:669
    at engine.ts:393
    at t.scopedRun (engine.ts:404)
    at t.tidy (engine.ts:391)
    at Oe (globals.ts:169)

The UniformRandom's constructor passed explicit null value for seed argument caused the error.
I added a guard for the null value for seed referring to the implementation in MPRandGauss.

To see the logs from the Cloud Build CI, please join either
our discussion
or announcement mailing list.

This change is

Ah, https://github.com/tensorflow/tfjs-core/commit/9b0a9e1301f01b79f2f33bf5e7f53252f80846da seems fix the same issues.
I will close this PR.


Update to RxJS 5.0.0-alpha.6

There are definitely some rough edges, but it does pass the tests.

Which "rough edges"?

I'd merge this, but let's discuss the rough edges in this issue. https://github.com/cyclejs/cycle-core/issues/177


Remove disposal of MemoryStream for email attachments sent using SendTokenizedBuilkEmail

Description of bug
The LoadAttachments() method in SendTokenizedBulkEmail (DotNetNuke.Services.Mail) contains a using statement that unfortunately disposes of the MemoryStream for attachments prior to the sending of emails.  This applies to Synchronous and Asynchronous methods of sending mail.
The culprit using statement is HERE.
This was reported initially as a bug in the old DNN.Newsletter core module via DNNCommunity/DNN.Newsletter#10, but after diagnosis by multiple community members, including @valadas, @donker and @EPTamminga, it was determined to be a bug, as referenced above, in DNN.Platform.
Steps to reproduce
List the steps to reproduce the behavior:

Install DNN.Newsletter 08.00.00 in DNN 9.x
Add module to a page.
Send an email with attachment(s) using the module.
See error in Event Log.

Current result
The email is sent with attachment(s), but the attachment(s) are unable to be opened by the email recipient(s).  Each attachment is actually empty.
An error is thrown and can be viewed in the Event Log:
Cannot access a closed stream.
Expected result
Attachment(s) should be sent fully intact with the email.  Recipient(s) should be able to open the attachments without error.
Screenshots
n/a
Error log
AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:8d181b82-db66-423b-a30b-f8f6aaad2d83

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:jVBJAjOaPiNuV4Hsc/+ph/YcMtk=

Message:Cannot access a closed Stream.

StackTrace:

at System.IO.__Error.StreamIsClosed() at System.IO.MemoryStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Mime.MimePart.Send(BaseWriter writer, Boolean allowUnicode) at System.Net.Mime.MimeMultiPart.Send(BaseWriter writer, Boolean allowUnicode) at System.Net.Mime.MimeMultiPart.Send(BaseWriter writer, Boolean allowUnicode) at System.Net.Mail.SmtpClient.Send(MailMessage message)
InnerMessage:

InnerStackTrace:

Source:mscorlib

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: xxxxxxx

Additional context
n/a
Affected version

[x] 9.x

Affected browser

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

Closing per #3039


Ability to change graph layout algorithm

The default settings aren't always appropriate. The ability to change the parameters of the visualisation should be included.

What kind of things do you want to change?
Here are some of my options as a reference
(setq org-roam-server-network-vis-options "{
  \"physics\": {
    \"enabled\": true,
    \"barnesHut\":{
      \"gravitationalConstant\" : -6000, \"avoidOverlap\" : 0.5, \"springLength\" : 200},
    \"stabilization\": {
      \"enabled\": true, \"iterations\": 30
    }
  },
  \"edges\": {
     \"physics\": true, \"hidden\": false, \"smooth\": {
       \"enabled\": false, \"type\": \"continuous\"
        }
      }
  }"
)

You can find the options you can specify here
I've been experimenting a bit with creating easier ways of doing via (setq)s, but that turned out to be kind of annoying to do, I might give it a go again soon.

You can find the options you can specify here
I've been experimenting a bit with creating easier ways of doing via (setq)s, but that turned out to be kind of annoying to do, I might give it a go again soon.

Hi,
You can use json-encode
For example (json-encode (list (cons 'physics (list (cons 'enabled json-false))))). It might be much easier than writing a json string by hand.


No visible focus indicator when focused on a selected find filter

Ctrl+F to open the editor find widget. Focus should be on the find input box.
Enable case-sensitive search.
Focus to the case-sensitive search button.
:bug: Keyboard focus is on that element, but it's not clear that keyboard focus is on that element.

works fine on my machine with Light+ and Dark+ theme, what theme are you using?

Thanks! I guess the problem depends on the theme.
The problem seems to occur on at least Quiet Light, Solarized Light, and Monokai.

Thanks! I guess the problem depends on the theme. The problem seems to occur on at least Quiet Light, Solarized Light, and Monokai.

Can confirm the the issue in those themes on my windows machine.
I never sent a pull request to vscode but that seems easy to solve, the question is what highlight color would fit best each theme, i might take a look later unless there are some rules about how to set some of the theme colors...
the colors effecting this seem to be
"focusBorder" and "inputOption.activeBorder"
I would love to offer some new colors later today/tomorrow and pull request them

I propose giving a bit of contrast to the "focusBorder"
I think that focus border should have a bit of contrast from background as this is marking elements the user needs to spot quickly, even in themes with less contrast light quiet light i think this is best to increase contrast in those areas, this is only showing for elements put in focus and wont change the feeling of the theme by much.
Here are the new colors i propose and will commit and pull request later if those look acceptable
For Quiet Light:

For Solarized Light:

For Monokai:


TempSensorBase has no virtual destructor, causing memory leak of no temperature sensor connected

Thanks for KegMon is a great project, I have been modifying to add support for 3 and 4 Scales.
temp_base.hpp is missing a virtual destructor, therefore TempSensorDS and TempSensorDHT are not getting their destructors called on the std::unique_ptr reset in TempSensorManager::setup()
This causes about a 100-byte memory leak for TempSensorDS per attempted setup cycle if no temperature sensor is connected.
My work in progress fork with my 3/4 scales changes are here: https://github.com/caswal/kegmon/tree/4_Scale
In short, I added a scale_count = x to [common_env_data] in platform.io
This enables various #if CFG_SCALECOUNT > 2 etc macros to enable more scale logic.
It also uses scale_count  with a python script to then move different htm files from the sub 2/3/4 folders to /html and minimize them.
I don't have any displays yet, so haven't done anything in regards to that, annoyingly on my custom PCB's, the community  OLED 0.96" Component I used, had the VCC and GND Nets swapped on the footprint. So need to get some new ones made.

Thanks, i will fix that. Good find

Fixed in dev


When a user initially signs up we should refresh workflows

When a user signs up they now have there github account linked, which is likely where they store workflows.  We should refresh this right away, like we do for tools.

Should we also do this when we link Bitbucket and Gitlab accounts?

How would we go about doing this?
For Bitbucket and GitLab we can do what we do with Quay and just call a refresh (maybe add refresh by git registry so that we don't refresh all?).
For GitHub, the account is linked on signup, so should we automatically grab workflows on initial signup? Or would this be confusing to the user and we should not automatically grab github workflows.

@denis-yuen do you think this is a good idea? or should we not do the auto refresh because it might be confusing to users.

I feel like this is no longer relevant. Especially if we end up changing how users register on dockstore. I think it can be closed. @denis-yuen

Interesting, this might be a case for improved documentation.


EXTERNALBROWSER based authentication not working, getting "Cannot read properties of null (reading 'proofKey')" error.

EXTERNALBROWSER based authentication not working, getting "Cannot read properties of null (reading 'proofKey')" error.
Here is the error log details
[1691774054735] INFO  (ext): EXECUTING COMMAND => sqltools.selectConnection
[1691774054736] INFO  (ext): EXECUTING COMMAND => sqltools.getConnections
[1691774054736] INFO  (ls): REQUEST RECEIVED => connection/GetConnectionsRequest
[1691774054737] INFO  (ext): EXECUTING COMMAND => sqltools.getConnections
[1691774054738] INFO  (ls): REQUEST RECEIVED => connection/GetConnectionsRequest
[1691774054738] INFO  (ls): REQUEST RECEIVED => connection/ConnectRequest
[1691774054738] INFO  (ls): Connection instance created for aaaabbbb.east-us-2.azure.
ns: "conn-manager"
[1691774055015] ERROR (ls): TypeError: Cannot read properties of null (reading 'proofKey')
at /Users/uesrname/.vscode/extensions/koszti.snowflake-driver-for-sqltools-0.5.0/node_modules/snowflake-sdk/lib/authentication/auth_web.js:174:24
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async auth_web.authenticate (/Users/rajeshmuraleedharan/.vscode/extensions/koszti.snowflake-driver-for-sqltools-0.5.0/node_modules/snowflake-sdk/lib/authentication/auth_web.js:75:18)
at async Connection.connectAsync (/Users/rajeshmuraleedharan/.vscode/extensions/koszti.snowflake-driver-for-sqltools-0.5.0/node_modules/snowflake-sdk/lib/connection/connection.js:262:7)

Also getting this


Update media-services-face-and-emotion-detection.md

@Juliako,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

#sign-off


How can i get Forgero Beta release to work on earlier saves?

"Forgero Beta release - THIS RELEASE WILL CRASH IF USED ON SAVES WITH EARLIER FORGERO VERSIONS"

Forgero 0.9.0 changes how items and resources are named. This is a breaking change from earlier versions. This means that all items have different identifier between 0.9.0 and all earlier versions. This is done due to severe limitations with the old system, and makes it a lot easier to create custom resources for newer versions.
Unfortunately this means that it is not possible to make earlier saves work 100% with this update. Forgero items from old saves will disappear, and some combination of tools from old saves might cause crashes. For the most part it works fine, but I put the warning there to make it clear that this update contains breaking changes.


Symbols in title not escaped in HTML nor LaTeX output.

pandoc 2.7.2
pandoc-citeproc <IP_ADDRESS>

Given:
[@P0655R0]

---
references:
  - id: P0655R0
    citation-label: P0655R0
    title: "visit<R>: Explicit Return Type for visit"
    author:
      - family: Michael Park, Agustín Bergé
    issued:
      year: 2017
    URL: https://wg21.link/p0655r0
---

The HTML output produces:

(Michael Park, Agustín Bergé 2017)

Michael Park, Agustín Bergé. 2017. “Visit<R>: Explicit Return Type for Visit.” https://wg21.link/p0655r0.

where < and > are not escaped. This results in the <R> being interpreted as an HTML tag.
For LaTeX, it generates:
(Michael Park, Agustín Bergé 2017)

\hypertarget{refs}{}
\leavevmode\hypertarget{ref-P0655R0}{}%
Michael Park, Agustín Bergé. 2017. ``Visit: Explicit Return Type for
Visit.'' \url{https://wg21.link/p0655r0}.

where the <R> seems to be disappeared.

That's not a bug, it's intended behavior.  Remember, raw HTML is allowed in Markdown.  Pandoc chooses to be very liberal about what it interprets as an HTML tag (since people sometimes use custom tags, or want to include e.g. raw docbook).  Indeed, nearly all markdown implementations behave this way.
Put \<R> in your input and all will be well.

Oh, I should add that another approach would be to disable the raw_html extension:  -f markdown-raw_html.


The return type of the index in DataTransferItemList (lib.d.ts) should be DataTransferItem and not File

current Definition:
interface DataTransferItemList {
    length: number;
    add(data: File): DataTransferItem;
    clear(): void;
    item(index: number): File;
    remove(index: number): void;
    [index: number]: File;
}

should be:
interface DataTransferItemList {
    length: number;
    add(data: File): DataTransferItem;
    clear(): void;
    item(index: number): DataTransferItem;  // changed
    remove(index: number): void;
    [index: number]: DataTransferItem;         // changed
}

cf. Spec at https://html.spec.whatwg.org/multipage/interaction.html#datatransferitemlist

@mtestrot You are welcomed to contribute to the lib.d.ts bugs :) ! The instruction is at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes

removed Fixed in TSLS repo by mistake.


CFP: E2E tests for delegated IPAM

Is your proposed feature related to a problem?
None of the E2E tests currently use Cilium with a delegated IPAM plugin.
Describe the feature you'd like
Add an E2E test that runs Cilium in delegated IPAM mode, preferrably validating both IPv4 and IPv6.
(Optional) Describe your proposed solution
It should be possible to validate this in a kind cluster using one of the reference CNI IPAM plugins.
The default CNI (kindnet) does not support overriding the conflist (see Antonio's response here https://github.com/aojea/kindnet/pull/22) , so we would need to disable the default CNI in kind and install everything ourselves.

I think this makes sense. Given the effort to categorize tests into pre-merge vs. post-merge in https://github.com/cilium/cilium/issues/34688 , I would think we should probably add this testing to post-merge with the option to manually trigger via Ariane if a PR is making changes to delegated-ipam areas.


Add a contributing guide section within the docs

Contribution guides for

Documentation
Overall project

to be created & added to the docusaurus website.

@divya-mohan0209 Can I be assigned this?

Hey @sayantani11 , this is already done per #23 . I'll be closing this one out :) There are a few suggestions in the comments that need remediating, so will be opening a separate issue/PR for that.


Animations not working properly after Navigator.push

Expected behavior: This code should spin the Container 360° right after the Route is pushed (on click):
Navigator.push(
        ctx,
        MaterialPageRoute(
            builder: (_) => Container(
                  color: Colors.blue,
                  alignment: Alignment.center,
                  child: Text('Hi Animation Folks!'),
                ).animate().rotate()));

Observed: The rotation does not work. Instead there is just a flicker.
https://user-images.githubusercontent.com/30835670/228679443-c9674360-4971-49d4-90cd-4aa9cbd93918.mov
Similar things happen with any other animation right after a push.
Interestingly, when you introduce a 1 second delay animate().rotate(delay: 1.seconds) , everything works fine.
(Flutter 3.7.8, flutter_animate 4.1.1+1)

It's been a while, but IIRC Flutter does some weird things with animation during page transitions. I think I've seen similar outcomes just using an AnimationController, so I suspect this isn't an Animate specific problem. If you have time to test against that, I'd appreciate it, otherwise I'll try to get to it something soon.

https://github.com/flutter/flutter/issues/106621 introduced a performance improvement for zoom page transition (this is the transition Flutter uses by default on Android)
There were some trade-offs related to using animations during a transition, which is the case in this issue.
A flag was introduced to opt-out and use the previous behavior.
See https://master-api.flutter.dev/flutter/widgets/PageRoute/allowSnapshotting.html
This flag is meant to be used on a per route basis, for instance:
  Navigator.push(
    context,
    MaterialPageRoute(
      builder: (context) => const SecondRoute(),
      allowSnapshotting: false,
    ),
 );

On master, there is also a similar flag to disable zoom transition snapshotting globaly, see the following page for an example:
https://master-api.flutter.dev/flutter/material/ZoomPageTransitionsBuilder/allowSnapshotting.html

The allowSnapshotting: false indeed solves this problem. So no further action needed on your side!
Thanks a lot! :-)


Separate lazy and eager

from the last consortium call:

OK with not limiting to the Standard? If some implementation wants to add something not forbidden by the Standard, then they're free to do so (just like for Array API).
Marco: any objections to not limiting to the standard?
Ralf: seems to work fairly reasonable with the array API. So long as an array API implementation passes the test suite, then it is fine.
Marco: okay, this should make things easier for writing an implementation.

this doesn't remove anything from the standard, it just adds some syntax and constructs which haven't yet been approved - safe to merge then


Add a License to Project

Looking for the type of license I should add to this project

MIT License should be good

License file added.


Write end user documentation (on 2i2c-org/docs repo) on specifying your own image

This is focused on an end user, and designed to be a link given by community champions to their users.
Example from @jbusecke at https://github.com/leap-stc/leap-stc.github.io/pull/80.

This is focused on an end user, and designed to be a link given by community champions to their users.

I appreciate this specification, I think it would be good if we are very mindful about the target audience for each piece of documentation we write. I think specificity that can help us maintain that specific doc page over time and the structure including it a lot easier.


Move Nautilus workspace members to Rust Stable

Nautilus is one of the main features keeping LibAFL on the nightly channel.
The features of exclusive_range_pattern and step_trait are both nonessentially used in the code base and seem to not be being merged into rust stable anytime soon.
By trivially removing the test the repo compiles with Rust stable with an MSRV of 1.58 (Released 2022-01-13).
I tested LibAFL with the "nautilus" feature pointed to this commit and the feature remains unchanged.

Obviated with the merging of #26, explicitly defining an MSRV probably not necessary.


ClusterLoader - Changing to bundle ticker

Making ticker to be blocking object bundle instead of object operation.

/assign @shyamjvs

/lgtm


fix(deps): update golang.org/x/exp digest to 225e2ab

This PR contains the following updates:

Package
Type
Update
Change

golang.org/x/exp
require
digest
7918f67 -> 225e2ab

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

5 additional dependencies were updated
The go directive was updated for compatibility reasons

Details:

Package
Change

go
1.21 -> 1.22.5

golang.org/x/net
v0.23.0 -> v0.30.0

golang.org/x/sys
v0.18.0 -> v0.26.0

golang.org/x/term
v0.18.0 -> v0.25.0

golang.org/x/text
v0.14.0 -> v0.19.0

golang.org/x/tools
v0.16.1 -> v0.26.0

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for the golang.org/x/exp 225e2ab update again.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Regression: Mass PHP Errors (Permission denied) after opnsense Update

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
Describe the bug
Opnsense fills up the disk writing php error messages to /tmp/PHP_errors.log.
Lobby -> Dashboard takes a long time to load and has an error message "A problem was detected. Click here for more information."
Clicking on the link shows "Unfortunately we have detected at least one programming bug."
And a very long scrollbar shows the php error file.
To Reproduce
I updated from version 18.7.9 to 19.1. The error started after this update, so my guess is the migration scripts are not perfect, yet. This is the first regression for years.
Issue still exists after update to 19.1.1.
Expected behavior
There should be no errors. If there are errors, they should not fill up the disk completely.
Relevant log files
tail -n 40 /tmp/PHP_errors.log

#8 {main}
thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 319
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fseek() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 316
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  stream_get_contents() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 317
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  copy(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 522
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fseek() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 316
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  stream_get_contents() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 317
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Fatal error:  Uncaught OPNsense\Core\ConfigException: empty file in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:319
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(357): OPNsense\Core\Config->loadFromStream(false)
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(523): OPNsense\Core\Config->load()
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(291): OPNsense\Core\Config->restoreBackup('/conf/backup/co...')
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()
#4 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()
#5 /usr/local/etc/inc/config.inc(68): OPNsense\Core\Singleton::getInstance()
#6 /usr/local/etc/inc/config.inc(331): parse_config()
#7 /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php(31): require_once('/usr/local/etc/...')
#8 {main}
thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 319
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fseek() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 316
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  stream_get_contents() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 317
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  copy(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 522
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  fseek() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 316
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Warning:  stream_get_contents() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 317
[17-Feb-2019 17:51:40 Europe/Berlin] PHP Fatal error:  Uncaught OPNsense\Core\ConfigException: empty file in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:319
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(357): OPNsense\Core\Config->loadFromStream(false)
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(523): OPNsense\Core\Config->load()
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(291): OPNsense\Core\Config->restoreBackup('/conf/backup/co...')
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()
#4 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()
#5 /usr/local/etc/inc/config.inc(68): OPNsense\Core\Singleton::getInstance()
#6 /usr/local/etc/inc/config.inc(331): parse_config()
#7 /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php(31): require_once('/usr/local/etc/...')
#8 {main}
thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 319

(always the same error)
ls -lah /tmp/PHP_errors.log
-rw-r-----  1 squid  wheel   454M Feb 17 17:51 /tmp/PHP_errors.log
ls -lah /conf/config.xml
-rw-r--r--  1 root  wheel   159K Feb 17 15:14 /conf/config.xml
ls -lah /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php
-rwxr-xr-x  1 root  wheel   3.7K Feb  4 00:53 /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php
uptime
6:03PM  up 1 day,  2:38, 1 user, load averages: 1.96, 1.84, 1.69
After a few days of uptime the disk is full.
Environment
OPNsense 19.1.1 (OpenSSL).
qemu
libvirt
virtio
I'm happy to provide additional information if it's required, just ask what you need.

@lattera could there be some kernel security setting which prevents the user squid from reading /conf/config.xml ? I've seen this one time before on a vm with 19.1, but I think it went away at some point.
@uKev can you try the following:
service squid stop
rm /tmp/PHP_errors.log
service squid start

And check if the errors are returning instantly?

Thanks for the quick reply.
Just tried your commands out: No, the errors are not returning instantly.
Besides this I did delete the file two weeks ago ago and rebootet the system. It needed some time until the file comes back. Besides the error message squid works fine as it should.
In the System -> Log Files -> General I just noticed the following messages:
Feb 17 18:38:10 | config[7720]: No valid config.xml found, attempting last known config restore.
Feb 17 18:38:10 | config[379]: No valid config.xml found, attempting last known config restore.
Feb 17 18:38:09 | config[80597]: No valid config.xml found, attempting last known config restore.
Feb 17 18:38:09 | config[72330]: No valid config.xml found, attempting last known config restore.
Feb 17 18:38:09 | config[71596]: No valid config.xml found, attempting last known config restore.
Feb 17 18:38:08 | config[23798]: No valid config.xml found, attempting last known config restore.
Feb 17 18:38:08 | config[90501]: No valid config.xml found, attempting last known config restore.

Also the page "Services -> Web Proxy -> Log File -> Cache" needs a long time to load.

so after a restart of squid, no new errors and authentication still works?

Are hardlinks being used? Take a look at the hardlink hardening in HardenedBSD: https://github.com/HardenedBSD/hardenedBSD/wiki#modified-sysctl-nodes
In particular, these sysctl nodes:

security.bsd.hardlink_check_gid
security.bsd.hardlink_check_uid

There shouldn't be any hard links involved, but I can see if there's a way to replicate the issue this week and set both to 0.... you never know.

At the moment there are no new errors. But I think they will come back in a few days.
I don't use authentication. I started with opnsense when proxy auth was not required. Later I remember that I had to configure "Allowed Subnets" and "Unrestricted IP addresses" in Access Control List to use it again. Looking at it now I see "Authentication method" has "nothing selected" as value:

I remember these two from over the years...
https://forum.opnsense.org/index.php?topic=2886.msg8875#msg8875
https://forum.opnsense.org/index.php?topic=2090.msg6638#msg6638
But it looks like a new problem.
Make sure that all packages are correctly installed so that their permissions are correct as well (squid3 and opnsense, best to hit reinstall for those two).

hmm, with basic auth disabled, it shouldn't even try to do this.
can you check if the following returns anything?
grep auth_param /usr/local/etc/squid/squid.conf

@lattera it doesn't seem to be related to the hard link settings, but seems fairly easy to reproduce.
Using sysctl I've set both the hardlink settings to 0, which didn't show any difference.
To reproduce the issue, go to the "web proxy" --> "forward proxy" --> "authentication settings" and choose "Local Database". Apply settings, stop the proxy and go to a console.
Flush the cache log, start squid and tail the log.
rm /var/log/squid/cache.log
service squid start
tail -f /var/log/squid/cache.log

Now configure your browser to use the proxy, you will be asked for a username and a password, try something (doesn't matter what), and see the tail get flooded by:
2019/02/18 09:29:57 kid1| helperOpenServers: Starting 1/5 'auth-user.php' processes
PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
PHP Stack trace:
PHP   1. {main}() /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php:0
PHP   2. require_once() /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php:31
PHP   3. parse_config() /usr/local/etc/inc/config.inc:331
PHP   4. OPNsense\Core\Singleton::getInstance() /usr/local/etc/inc/config.inc:68
PHP   5. OPNsense\Core\Config->__construct() /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php:70
PHP   6. OPNsense\Core\Config->init() /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php:49
PHP   7. OPNsense\Core\Config->load() /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:282
PHP   8. fopen() /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:354

Installing an older squid version (from 18.7), doesn't seem to show much difference, I've tried to install the version from 18.7.1 (pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.7/MINT/18.7.1/OpenSSL/All/squid3-3.5.27_3.txz)
I don't have a stock FreeBSD version around, so I'm not 100% sure this relates only to HardenedBSD.

Great that you could reproduce it.
Here is the output:
# grep auth_param /usr/local/etc/squid/squid.conf
auth_param basic program /usr/local/etc/inc/plugins.inc.d/squid/auth-user.php
auth_param basic realm OPNsense proxy authentication
auth_param basic credentialsttl 2 hours
auth_param basic children 5

As expected the error log appeared again. It started exactly at midnight (cronjob?):
# ls -lah /tmp/PHP_errors.log
-rw-r-----  1 squid  wheel   269M Feb 18 10:10 /tmp/PHP_errors.log

# head /tmp/PHP_errors.log
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  fseek() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 316
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  stream_get_contents() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 317
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  copy(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 522
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  fopen(/conf/config.xml): failed to open stream: Permission denied in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 354
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  fseek() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 316
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Warning:  stream_get_contents() expects parameter 1 to be resource, boolean given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 317
[18-Feb-2019 00:00:00 Europe/Berlin] PHP Fatal error:  Uncaught OPNsense\Core\ConfigException: empty file in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:319
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(357): OPNsense\Core\Config->loadFromStream(false)

And just for completeness here is the update history:
# cat /var/log/pkg.log | strings | grep opnsense
Dec 22 16:30:02 OPNsense pkg-static: opnsense upgraded: 18.7 -> 18.7.9
Feb  2 12:35:00 OPNsense pkg-static: opnsense-update upgraded: 18.7.9 -> 18.7.10
Feb  2 12:35:51 OPNsense pkg-static: opnsense upgraded: 18.7.9 -> 18.7.10_4
Feb  9 18:12:35 OPNsense pkg-static: opnsense upgraded: 19.1 -> 19.1.1

@uKev can you save the proxy settings, and grep again? Since your authentication isn't enabled, the issue shouldn't affect you, so it looks like something went wrong with your configuration, saving settings might help.  (the auth_param tags shouldn't be there in your case)
If the auth_params are gone, your issue should be fixed, but the real issue however remains. Hopefully @lattera has some ideas around the subject.

Applying the settings was not enough. I had to press "Clear All" on "Authentication method" to remove the auth_param lines from squid.conf.
Now I removed the error log again and restarted squid. It shouldn't reappear. If it does, I will leave a note.
Thanks for your work to everyone.

ok, thanks for reporting, we're keeping this open as bug for the authentication issue.

found it, when introducing config locking, I forgot about read-only access https://github.com/opnsense/core/commit/5123277a85956ec035a4bb43e7aadee98cec2d1d

Hi everyone
I am new in the opnsense world.
I found this post trying to solve the problem that on opnsense 19.1, Squid did not authenticate the user.
Now I have replaced the Config.php file in /usr/local/opnsense/mvc/app/library/OPNsense/Core/ and Squid authentication works correctly or at least it seems so.
Is this the correct solution or should I apply some other fix?
When will it be updated on new installations?
Excuse me for the trivial questions and for my english, but I have just arrived on OPNsense.
Thank you

Hi @Wirewrap64,
The patch will be part of the 19.1.2 stable release this week.
It won't be updated on new installations for 19.1 unless we release new images based on 19.1.x which currently is not planned, so each new 19.1 installation must be updated to 19.1.2 in order to fix the bug or you need to issue the patch command (or copy the file as you did) on 19.1 and 19.1.1:
# opnsense-patch 5123277

Cheers,
Franco

Hi @fichtner,
thank for the answers !!!
Ciao
Wirewrap64 (Gaetano)

@Wirewrap64 of course, no problem :)


Extract title from whole table

Currently the logic for guessing titles runs for every selection. This works for cases where there are titles for all fields in every selection. However, some tables miss the title for a column (E.g. country) and we decided that users will give a value from that column as identifier instead of the title.
If we guess titles for each selection the guessing will fail:

for any selection that doesn't include the value that replaces the title
for any selection that doesn't include titles

There is no reason to guess the titles for each selection because they should all be part of the same table. Also, it's hard to ensure that users will give us the value that replaces the title from a certain selection (e.g. first ) which is another reason to run title-guessing on the entire table.
So in this PR I changed the tabula-resource processor to merge the result of selections parsing into a table and run title guessing on it.
I also made some small fixes to other pipelines and processors.
.

@akariv I can't merge this so please merge it and maybe take a look before if you have time.