Export of inconsistent internal headers

The header file mfu_flist_internal.h gets installed (distributed) with the compiled library. (Is this intentional? Why is it called "internal" then?) Anyway, unfortunatelly it is being included by the utils/tools/h5dwalk/h5dwalk.c file (from the HDF5 1.14 project). However, mfu_flist_internal.h unconditionally includes strmap.h, which is not being installed. And that is an error. Either both or none of them should be installed (distributed). If the functions/structures in the mfu_flist_internal.h are supposed to be used externally (like apparently they are in HDF5), then strmap.h has to be installed (distributed) too.

Yes, good point.  Thanks for the report, @drabmart .  The original intent was not to distribute internal headers, but then we did so since it made it easier for others to develop new tools using the libmfu library.  I think including strmap.h was then overlooked.  I'll take a look.


Pass missing BACKEND parameter to grade_lab2_ex2()

In part 2 of the lab, the grade_lab2_ex2() fails due to a missing BACKEND parameter:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[21], [line 3](vscode-notebook-cell:?execution_count=21&line=3)
      [1](vscode-notebook-cell:?execution_count=21&line=1) # grade part [2](vscode-notebook-cell:?execution_count=21&line=2)
      2 from qc_grader.challenges.qgss_2024 import grade_lab2_ex2
----> [3](vscode-notebook-cell:?execution_count=21&line=3) grade_lab2_ex2(LAYER_1_ANSWER, LAYER_2_ANSWER, PATH_ANSWER)

TypeError: grade_lab2_ex2() missing 1 required positional argument: 'backend'

This commit modifies the grading cell to pass BACKEND as the fourth argument to the grade_lab2_ex2() function:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


more detailed instructions on usage of response data and purpose of generated classes

Hi Bruce,
thank you for this library. Following the documentation I managed to query Constant Contact for a list of campaigns but I'm struggling to understand how I'm supposed to work with the response.
The output from \PHPFUI\ConstantContact\V3\Emails::get() is a nested array of arrays. But I see a ton of classes generated from Swagger in PHPFUI\ConstantContact\Definition. Why is the response not mapped to these objects?
In my case, when I fetch a list of e-mail campains why don't I get an instance of \PHPFUI\ConstantContact\Definition\PagedEmailCampaignResponse?
By trial and error I found that I can easily hydrate it myself but I sense that there must be a reason for why it doesn't happen automatically:
    $arrayResponse = $campaignsClient->get();
    $response = new PagedEmailCampaignResponse($arrayResponse);

I found in other tickets that you suggest looking at your Bicycle Club website. You use the response as an array. Why don't you use \PHPFUI\ConstantContact\Definition\Contacts when fetching contacts?
https://github.com/phpfui/BicycleClubWebsite2023/blob/4a4efd4848f44c3b811776e1ed72de01bad520d8/App/Cron/Job/ConstantContactSync.php#L52
I'm puzzled but still appreciative of the time and efforts you've put into this library. Thank you!

This is a very good question. Probably because I did not see that the responses were typed when I first did this, as there was a lot to do just to get something working.
But typed responses are a good idea. I think I can add get methods to return the defined schemas. Will probably look like getReturnSchema, postReturnSchema so it does not conflict with the normal array return of the base method.
Will look into what is involved with that.  Thanks for the suggestion.

OK, I added ReturnSchema methods for all operations, ie. getReturnSchema() will return a hydrated object, get() will continue to return a raw array.
Change your version to "dev-main" in composer.json and them "composer update"
Let me know if you find any issues.  Once you test it, I will publish a new release.

I also spent some time thinking about the naming convention.
getReturnSchema() to me sounds like it will return meta-data about the schema of the return value.
Alternative names could be getTyped() or getObject().
Also, perhaps including getArray() too, with get() calling getArray() for backward compatibility. Possibly with /** @deprecated */ should you ever decide to remove get() to force the user to be explicit.
Or to have only one method get() with an additional parameter $returnType that would accept a constant ReturnType::Array or ReturnType::Object. Kind of like Doctrine getResult($hydrationMode = self::HYDRATE_OBJECT), or Nette Container::getValues().
Default for $returnType would be null and if not specified, $client->defaultReturnType would be used. Or ReturnType::Array if no $client->defaultReturnType was specified. That way get() would continue to return arrays unless told otherwise.

My first test was with expired token which brought up the question of what should getReturnSchema() return in case of an error.
Client::get() returns an empty array which may make it difficult to distinguish success, from failure. I don't know if CC ever returns an empty response.
I see two possible alternative paths:

both Client::get() and getReturnSchema() return null on errors

throw a custom exception
containing the Guzzle exception message and response status code, replacing the $client->lastError and $client->statusCode
Client::get() continues to always return array (now happening only on success) and getReturnSchema() continues to return an object

(2) seems cleaner to me at the cost of a BC break
(1) is a BC break only if the user didn't check for errors using $client->lastError or $client->statusCode, or using empty($list).

I'll try to address everything in one comment.

Namespaces. I probably should have put this in my PHPFUI namespace, I just did not think of that when I developed it, as I don't really see this as my library (but it is), but just a wrapper around Constant Contact.  To change this, I would have to abandon this version and create a new version with a different versioning schema to allow for bigger changes.  Right now the versioning tracks the Constant Contact API revs.  It would need to track my revs as well, so <IP_ADDRESS> for example.
I can't really change the namespaces for the definitions because the CC API does not have those namespaces. All this code is autogenerated from the YAML file and it would be hard to parse that in any consistent pattern.  I will look into a Response namespace, as I think I can break that out. Will check.
I can look into generators. I have not used them much since 5.5 as I don't think they add much to code readability.
If I go with a Response namespace, then I think getResponse(), postResponse(), etc. would be the way to go.  Actually you don't really need an array return type at all as the Definition base class as a getData() method.  Should probably be called toArray() though (this would match my ORM library and seems to be PHP native). Easy to add.
I think I should return null on error. Good idea. Not a fan of exceptions for possible expected behavior.

Should have something by end of my day or next.
Thanks for testing and the input!

I took a look at the uniqueness of Response types, and they are not unique in all cases, so I left the Response types mixed in with the standard definitions.
I changed the method suffix to Typed() when they return an object.
I now return null on error. Not sure how much of a breaking change this is. Will see if it is problem.

Yes, I wanted to put responses in a separate namespace to show they were really different, but the schema has some responses that are also used as input, so I decided to leave things alone, since the schema does not separate them.
As for exceptions vs return values, some modern languages like GO do not use exceptions. Some shops restrict their use as well. In my years of software development, I have often found they are used around every method call, and therefore don't really simplify the code. I tend to want to keep processing things, to get as much done as possible. Not processing an entire batch of orders if one is bad is not what most people want or expect. You handle the issue, and continue to process.
But I do understand the use of exceptions, and if you want to abandon your entire process, exceptions are for sure easier to deal with.
In your case, I would implement it this way:
    $campaignsResponse = $campaignsClient->getTyped();

    if ($this->testForError('message', $campaignsClient)) {
      return [];
    }

    do {
      foreach ($campaignsResponse->campaigns ?? [] as $campaignStub) {
...
        $campaignDetailResponse = $campaignClient->getTyped($campaignStub->campaign_id);

        foreach ($campaignDetailResponse->campaign_activities ?? [] as $activityStub) {
          $activityResponse = $activitiesClient->getTyped($activityStub->campaign_activity_id, 'permalink_url');
          if ($this->testForError('message', $activitiesClient)) continue;
         }
         $this->testForError('message', $campaignsClient);
       }
       $this->testForError('message', $campaignsClient);

...

I do throw exceptions for type errors, just like a compiler would. I have just seen too many examples of exception abuse, that I don't make them standard operating procedures.
And thanks for letting me know about typed returns. I missed that when I first implemented things.

Thank you for the explanation, I understand.
Please let me know if I can help with anything here, or we can close this ticket.


Docker container fails to start

Getting below error with the latest Docker image
django.db.utils.OperationalError: SCRAM authentication requires libpq version 10 or above
tried changing postgresql authentication to md5 does not seem to work. Also tried to use posgresql 14 but doesnt work.

I've release a new version. The docker-compose file changed and it now uses postgres 14.
Let me know if it works now

Thanks. Just gave it a try. Still has same issue..
django.db.utils.OperationalError: SCRAM authentication requires libpq version 10 or above

I need a little background. What system are you running on? What are the steps the reproduce this?

am using ubuntu. i just ran the docker-compose from the sample.
Also on a side note can you make these as env variables for postgres
    "HOST": "<IP_ADDRESS>",
    "PORT": 5432,

and this one for redis
CELERY_BROKER_URL = "redis://<IP_ADDRESS>:6379"
These ports are already utilized on my host and I cant update it.

So I think the problem is that upsnap tries to connect to the already running database on your host and fails when connecting. That's what's causing the error, right?
I can set the host and port as a env variable. That's no problem.

Yes may be that might be the reason. I tried removing host network but since the environment variable is not set. It didn't work out.
Let me know once you have new build with the env var added. I will give it a try..

new version available. redis and postgres now both have env vars. update your compose file

Hm, ok. Lets try to install libpq5 in the django container. Can you please try the following?

clone the repo
then in Dockerfile L22 add libpq5 to installed packages
and in docker-compose.yml, change L5 to build: .

Then start the container again. If that not helps, I don't know :/

I have given it a try and no of work arounds but nothing seems to work.
When i checked what version of libpq is present it seems to be latest
Step 10/16 : RUN dpkg -l | grep libpq
---> Running in 275ee0a49d00
ii  libpq-dev                  13.5-0+deb11u1                 arm64        header files for libpq5 (PostgreSQL library)
ii  libpq5:arm64               13.5-0+deb11u1                 arm64        PostgreSQL C client library
I found out its an issue with base image for arm64 while there is no issue for amd
Refer to this link for similar issue
https://stackoverflow.com/questions/69573312/python-psycopg2-scram-authentication
So may be need to pick another base build ?

So I was able to reproduce this issue in a arm64 VM. Turns out debian actually uses an outdated version.
I've changed the docker image to alpine. It worked in my arm64 VM and on my host amd64.
v1.2.2 is building now.

Thanks the new image does have the error anymore.
django started well without any error but the port is not published to access the web ui. below is the log
https://pastebin.pl/view/8fdd1c03

I got it sorted out. you can close this issue 👍  thanks for your support


As a screen reader user, Allow  ctrl+/ alt+[,] work while focus on editor

As a screen reader user, Allow  ctrl+/ alt+[,] work while focus on editor
While on editor, I am getting the suggestions but to accept it,I have to press
alt +f2 and ctrl+/
So Please allow ctrl+/ to work while in the editor.
I tried to change the keyboard shortcut's  when expression and totally changing the shortcut to other shortcut but none of them is working.
Please fix it.
I use windows 11 , vscode latest and github copilot is also latest.

Yes, it is working thanks
On Wed, Sep 11, 2024 at 11:15 PM Megan Rogge @.***>
wrote:

Does using Tab not work for you to accept the completion in the editor?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-copilot-release/issues/1552#issuecomment-2344311185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7ZRCXYEB6DVBOEJDDAOBLZWB6U5AVCNFSM6AAAAABOAHMBEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGMYTCMJYGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


[BUG] Inconsistent addition of the ID when --append-id is used

Describe the bug
Remediation scripts have "parent" JSON file with ID suffix, but also "child" ps1 files have ID in the name. Shell and PowerShell scripts have IDs only in "parent" JSON.
Solution
Add an ID suffix to all "child" files (in this case Shell/PowerShell script files) too.
Additional context
Right now the absence of the ID in the file names doesn't make sense (the user already explicitly chose to add the ID suffix) plus makes work with your otherwise great tool unnecessarily hard (when working with IDs).
For example, I need a modified policies ID so I can search the Intune audit log for the author of such change.
Now imagine this (very real world) situation. Some PowerShell script is deleted in the Intune. The backup is being run and detects such change. So I need to find the deleted script ID to be able to find the author of this change, but there is no "parent" JSON file in the repository to search for the ID (because it was deleted). If the ID is in the file name, I could easily extract it.
This problem applies to all "child" files without ID in their name.
Thank you in advance 👍

"The backup is being run and detects such change. So I need to find the deleted script ID to be able to find the author of this change, but there is no "parent" JSON file in the repository to search for the ID (because it was deleted). If the ID is in the file name, I could easily extract it."
The "parent" JSON is never deleted from the repo by running a backup. It might be moved to archive but it is never removed. So, if someone removes the Powershell script configuration from Intune, you will still be able to find it in the repo.

Having a similar problem, having ID everywhere would be the most beneficial.

"The backup is being run and detects such change. So I need to find the deleted script ID to be able to find the author of this change, but there is no "parent" JSON file in the repository to search for the ID (because it was deleted). If the ID is in the file name, I could easily extract it."
The "parent" JSON is never deleted from the repo by running a backup. It might be moved to archive but it is never removed. So, if someone removes the Powershell script configuration from Intune, you will still be able to find it in the repo.

Yes, I know I can extract it from the GIT history, but it would be A LOT easier, to just have the ID in the file name...

I might just be me not seeing what benefit adding ID to the script file name will bring. Nonetheless, it's added to v2.0.3-beta.1.
Test and report back!

Make sure you also the the update functionality with this, not just backup.

Make sure you also the update functionality with this, not just backup.

Not sure what you mean? I've noticed this beta use '__' as a separator. Is that what you mean?

IntuneCD-startbackup is one command, however, these changes also affect IntuneCD-startupdate where the tool updates and creates configurations in Intune because the filenames of the scripts changes.

BUGs:

Separator is incorrectly placed for Compliance Policies/Policies

For Windows apps there are three underscores instead of two

Compliance is an easy fix, what should be included after the win32 is the product version so it should be "win32{PRODUCTID}__{ID}". Does that app not have a product id?

looking at it, I think you have left the "App Version" blank in the Intune console which is why nothing is added to the export

Exactly, I don't set version at all :)

Let me know when the new beta is released to test it out. Thanks!

these two has been fixed in 2.0.3 beta2 which is uploading now.

Seems good now 👍

Looking forward to the official release
Thanks a lot for your work 👍

btw this is the reason I need to have an ID https://doitpsway.com/how-to-easily-backup-your-intune-environment-using-intunecd-and-azure-devops-pipeline


Initiating sanitize

If I have disabled the notification (and maybe autosave) there doesn't seem to be a way to sanitize a file?
It would be helpful if there was a menu option to do the sanitation for a given file.

same problem here. I accidentally disabled the notification. I can no longer use this tool again.

@ile I think we can add a menu item to trigger the process manually.  It's just not what I intend for users to have to do.  I expect the main use case to be that you want files consistently sanitized for you to remove the cognitive load of having to think about this ever again. :)
@synchro7 what this issue is asking is for a way to manually trigger white space clean up.  You seem to want to know how you can enable the notifications again. With/without notifications, white spaces should still be cleaned up for you on save, unless you disabled that feature...  Can you help me understand how you use this tool and how you are no longer able to use this tool again?

@MiguelCastillo Sorry, my bad. I thought I could only use the tool with the notification. Btw, how to enable the notification again.

no problem!! :)  I set a flag in the brackets.json in your local project if one exists... Otherwise global brackets.json.  https://github.com/MiguelCastillo/Brackets-wsSanitizer#brackets-preferences


Mark different types of seats

I want to mark seats as VVIP, VIP and Regular to help the user know beforehand that a specific seat is VIP or regular etc.
How do I go about it?
Just bumped into the project and it's pretty cool man!

Something like this Screenshot

Hi @ovicko thank you, I appreciate it!
I get what is your goal, but unfortunately it's not possible yet.
It's on my todo list for this project and I hope to get there soon.
I think there will be two types of configurable maps: 'static', where users do not choose the type of the seats, and 'free'.
Right now there's a feature/typescript branch and it's my priority. But what you're asking for comes right next, along with a simpler indexing method.

Closing as it is fixed in #39

Fixed in #39


Evaluation on Novel Affordances

Hello,
Thank you for your work and for making the code available. I'm trying to perform inference with novel affordance labels, following the guidance provided in a previous issue thread. However, I'm encountering a problem where the affordance map remains unchanged regardless of the affordance labels I use.
Here's what I've done so far:

Created a new inference script based on test.py.
Modified the script to accept custom affordance labels.
Replaced the args.class_names with custom labels during inference.
Used the same trained model checkpoint as provided.

Despite these changes, the output affordance map remains the same for all input labels, as long as the index passed to inference is the same as the index of the original label in AGD20k. I've verified that the new labels are being passed to the model, but it seems the model is not responding to these different inputs.
Could you please provide some additional guidance on this issue? Specifically:

Is there a particular part of the model or inference process that needs modification when using novel affordance labels?
Are there any specific modifications needed in the models/ooal.py file to enable open-vocabulary inference?
Could you share a sample inference code snippet that demonstrates how to correctly use novel affordance labels with the trained model?

Any insights or example code would be greatly appreciated. Thank you for your time and assistance!

Hi, what you have done to infer novel affordances is reasonable. As mentioned in the limitations of Readme, we suggest removing text prompt learning or combing with manually designed prompts for better novel affordance recognition. The trained checkpoint is evaluated in the seen/unseen object settings, but is limited for novel affordance setting. You can try to remove the text prompt learning and train a new model.


Add ServiceMgt AD group and members in bootstrapping

Relates to https://dsdmoj.atlassian.net/browse/NIT-14
In order for the jitbit service management team to be able to perform updates to jitbit environments, they need access to the AD-joined windows servers. This change adds

code in the one-off AD scripts to create a new AD group called ServiceMgmt
code in the one-off AD scripts to add a member to the group
code in the bootstrapping to add the domain group to the windows server Administrators local group.

The one-off AD scripts have been run already, but I'd like to get the bootstrapping updated and tested.

Changes applied to dev through the webhook from this PR.
Tested out and confirmed new instances are bootstrapping correctly.
Merging this now.


Solving with floats sometimes gives bad solutions

Sometimes solving a problem with floats gives a really bad solution. The current workaround is to convert everything to doubles.
@riceric22 mentioned that on the CPU, using doubles doesn't fix the bad solution problem when it does fix it with CUDA.

Hi @lakehanne - you mentioned earlier that you're using the CPU version. I just tried solving some easy problems on the CPU and it has some extremely bad accuracy issues even with doubles (that aren't present with doubles on the GPU) and I'm not sure what's causing them. You should check the solutions our function returns with something like this:
import qpth.solvers.cvxpy as qpcp
[Q, p, G, h, A, b] = [x.data.cpu().numpy() for x in [Q, p, G, h, A, b]]
zhats, _, _ = qpcp.forward_single_np(p, Q, G, h, A, b)

Let me know if you see something simple that's causing these issues. I'll try to look into this sometime soon over the next few weeks. If you need this improved quickly, you can try adding iterative refinement (#6).
-Brandon.

Actually, I wonder if something in the CPU versions I wrote of btrifact and btrisolve is causing this. I did add in tests to PyTorch master that pass, but maybe our usage in qpth hits some bad edge case. These are probably better to look into first before adding iterative refinement.
Here's a quick example:
Code

#!/usr/bin/env python3

import torch
from torch.autograd import Variable

from qpth.qp import QPFunction

nx, nineq, neq = 5, 4, 3
Q = torch.eye(nx)
p = torch.zeros(nx)
G = torch.randn(nineq, nx)
h = torch.randn(nineq)
A = torch.randn(neq, nx)
b = torch.randn(neq)

[Q, p, G, h, A, b] = [Variable(x) for x in [Q, p, G, h, A, b]]
xhat = QPFunction()(Q, p, G, h, A, b)
print('CPU float', xhat)

[Q, p, G, h, A, b] = [Variable(x.data.double()) for x in [Q, p, G, h, A, b]]
xhat = QPFunction()(Q, p, G, h, A, b)
print('CPU double', xhat)

[Q, p, G, h, A, b] = [Variable(x.data.float().cuda()) for x in [Q, p, G, h, A, b]]
xhat = QPFunction()(Q, p, G, h, A, b)
print('GPU float', xhat)

[Q, p, G, h, A, b] = [Variable(x.data.double()) for x in [Q, p, G, h, A, b]]
xhat = QPFunction()(Q, p, G, h, A, b)
print('GPU double', xhat)

Output

empc(master*)$ ./t.py
CPU float Variable containing:
-0.2628 -0.6837 -0.5436 -0.6122 -0.3487
[torch.FloatTensor of size 1x5]

CPU double Variable containing:
-0.2628 -0.6837 -0.5436 -0.6122 -0.3487
[torch.DoubleTensor of size 1x5]

GPU float Variable containing:
 1.1078  0.4778  0.0483  0.1064 -0.3161
[torch.cuda.FloatTensor of size 1x5 (GPU 0)]

GPU double Variable containing:
 1.1078  0.4778  0.0483  0.1064 -0.3161
[torch.cuda.DoubleTensor of size 1x5 (GPU 0)]

Actually, I'm worried this will cause bad silent errors. I just added a RuntimeError to the forward call when the CPU is being used that links here and pushed this to pypi as qpth v0.0.4.

Great news! I figured out what was causing this and have fixed the issue. The problem was that qpth makes a tensor non-contiguous by transposing it and my btrisolve function assumed that the tensor was contiguous. I just fixed this in PyTorch and sent in this PR, which should be merged shortly. Please make sure you have a version of PyTorch that contains this PR if you are using qpth in CPU mode!
-Brandon.

Removed RuntimeError and bumped version to v0.0.5.

Awesome. Thanks for the update!
Sincerely,
Lekan

On Apr 5, 2017, at 1:15 PM, Brandon Amos<EMAIL_ADDRESS>wrote:
Great news! I figured out what was causing this and have fixed the issue. The problem was that qpth makes a tensor non-contiguous by transposing it and my btrisolve function assumed that the tensor was contiguous. I just fixed this in PyTorch and sent in this PR, which should be merged shortly. Please make sure you have a version of PyTorch that contains this PR if you are using qpth in CPU mode!
-Brandon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I wanted to check if you removed the breaking portion of the code when using CPU in your PR. I just tested  the CPU code now and it says:
RuntimeError:
Error: Not using CUDA.
qpth currently silently fails on the CPU and returns bad solutions.
We are tracking progress on this issue at:
https://github.com/locuslab/qpth/issues/4
> /home/robotec/anaconda2/envs/py36/lib/python3.6/site-packages/qpth/qp.py(82)forward()

     80 qpth currently silently fails on the CPU and returns bad solutions.
     81 We are tracking progress on this issue at:
---> 82 https://github.com/locuslab/qpth/issues/4""")
        global https = undefined
        global github.com = undefined
        global locuslab = undefined
        global qpth = undefined
        global issues = undefined

RuntimeError:
Error: Not using CUDA.
qpth currently silently fails on the CPU and returns bad solutions.
We are tracking progress on this issue at:
https://github.com/locuslab/qpth/issues/4
> /home/robotec/anaconda2/envs/py36/lib/python3.6/site-packages/qpth/qp.py(82)forward()
     80 qpth currently silently fails on the CPU and returns bad solutions.
     81 We are tracking progress on this issue at:
---> 82 https://github.com/locuslab/qpth/issues/4""")

I'm on qpth-0.0.4 and Pytorch commit e7f522

Oops, I forgot to push qpth-0.0.5 to pip after creating it yesterday, which has this removed. I just pushed it, can you update your qpth version? Also does anybody know if there's an easier, more automatic way to deploy to pip? (like if the version in setup.py changes)


adding a script for threading a sequence onto a structure

This is a work in progress PR open against the Cyrus openfold fork. this PR adds a script which uses openfold to thread a sequence onto a protein template with no gaps.

This was merged into the upstream


overclock rock64

I followed your guide on overclocking rock64 and got this message:

1398mhz/dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
Applied!

And the following dmesg entry:

[  321.852442] OF: overlay: find target, node: /fragment@0, path '/cpu0-opp-table' not found
[  321.853178] OF: overlay: init_overlay_changeset() failed, ret = -22
[  321.853732] create_overlay: Failed to create overlay (err=-22)

The new frequency ist not available:

root@rock:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies
408000<PHONE_NUMBER>00 1008000 1200000 1296000

I use your latest bionic minimal arm64 build and mainline kernel:

root@rock:~# uname -a
Linux rock 4.17.0-rc6-1029-ayufan-gf59e43a141bb #1 SMP PREEMPT Mon Jul 2 21:51:44 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

It only works on 4.4, if you want to use mainline, you have to adapt it to mainline dts.

Thanks

Hi! Try RAM overcklock follow guide:
echo 933000000 | sudo tee /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/max_freq tee: /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/max_freq: No such file or directory
echo performance | sudo tee /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/governor tee: /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/governor: No such file or directory
CPU overclocking works fine!


test-requirements.txt: Upgrade lxml for Python 3.9

From the Travis CI test output...
.tox/python/lib/python3.8/site-packages/lxml/html/_setmixin.py:1
  /home/travis/build/cobrateam/splinter/.tox/python/lib/python3.8/site-packages/lxml/html/_setmixin.py:1:
    DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is
      deprecated since Python 3.3, and in 3.9 it will stop working
        from collections import MutableSet

The Travis CI wget failures should hopefully by fixed by using travis_retry at https://github.com/cobrateam/splinter/pull/788/files#diff-354f30a63fb0907d4ad57269548329e3R44

@cclauss Thanks for the contribution


Is there an error in the function prepare_tokens_with_masks？

Hi, I am trying to change the input to a non-square input. I found in the function prepare_tokens_with_masks, B, nc, w, h = x.shape, whether the w and h here are written in the wrong position？

Yes, I am constructing a function similar to interpolate_pos_encoding and resizing pos_encoding. The reverse order of HW does not have a great impact on the final finetune result. This problem also exists on dinov1, but its impact will be greater.
Another problem is that I am using dinov2 to train vit-b or vit-l on my own data set, but I only have two 4GPU workstations, I don't know how to determine the corresponding batchsize and base-lr, according to github configs/train/vitl16_short.yaml and /configs/train/vitl14.yaml,
vitl16_short  | 32 GPUs |   batch_size_per_gpu 64 | total_batch_size 32x64=2048| base_lr 0.004
vitl14        | 96 GPUs |  batch_size_per_gpu 32  | total_batch_size 32x64=3072| base_lr 2.0e-04

The batch_size and base-lr here are not linearly related, is it because of the different arches, does a larger batch_size use a smaller base_lr? If it is the structure of vit-b, what batch_size should be used, and how should I set base-lr according to the number of GPUs used and batch_size_per_gpu, I hope to get your response~


feat [CI] : Docker Image Build CI for Push image to github registry

Use github CI to build latest Docker image on git push and store docker image on github registry
Signed-off-by: Pratik Raj<EMAIL_ADDRESS>

Thanks for this PR, makes sense. I'll try to allocate some time and get it in soon!

@Rajpratik71 : Would you mind sharing what motivates this change?
As I see with the free plan we'll be limited to 1GB xfer outside of github - which is not a whole lot.


YouTube "Something went wrong. Refresh or try again later."

OS/Platform
Windows
Installed
OS/Platform's package manager
Version
128.0.6613.84
Have you tested that this is not an upstream issue or an issue with your configuration?

[X] I have tried reproducing this issue in Chrome and it could not be reproduced there
[ ] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[ ] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description
Can't play youtube videos
How to Reproduce?
Clicking on a youtube video
Actual behaviour
Whenever I click on a youtube video it will just be a black loading screen and it will say "Something went wrong. Refresh or try again later" after a while. However this only happens on a single one of my accounts, it will work fine signed out or on another account. But I have tried on other browsers and it works with the same account. I have tried disabling extensions and clearing cookies and updating chromium.
Expected behaviour
Play the video
Relevant log output
No response
Additional context
No response

Please provide additional information to support your issue. Developer tools console might have something of interest. Also Media tab.

Its the new Nvidia driver. Either rollback to the older version of it or sign out from the google and watch it without singing it. I dont know what did they changed but im using the older version of the nvidia driver.

Is it loading the first 30 seconds and then refusing to buffer any further? If you hold down reload it'll let you clear the cache, that and clearing cookies may help.

Please provide additional information to support your issue. Developer tools console might have something of interest. Also Media tab.

This is the log from the developer tools console
www.youtube.com-1725398704722.log
These are the logs from the media tab
36206F9CF53C36A7637332F9C495554A.json
1DB67132BFE976838958335963265C5F.json
07A32B9A094E793A783FDD417636C807.json
506E8F8EA08C9DAB90F66348DA9191DE.json
4C0585231AC403719684155B023EF848.json

Is it loading the first 30 seconds and then refusing to buffer any further? If you hold down reload it'll let you clear the cache, that and clearing cookies may help.

It's just a black screen with a loading circle, but when I do empty cache and hard reload it will load for the first 30 seconds or so but won't buffer any more

Is it loading the first 30 seconds and then refusing to buffer any further? If you hold down reload it'll let you clear the cache, that and clearing cookies may help.

I updated my driver and tried this and still the same problem. I dont wanna rollback again because i wanted to play wukong. I hope it will get fixed soon, i dont wanna use google chrome lol

Theres a extension called "User-Agent Switcher for Chrome". Basically, you can trick sites to thinking that youre using something else other than chrome. Android and ios are working fine but opera, firefox doesnt work, ie etc doesnt work. You can use that until it fixed. Its a temporary solution but its better than google chrome

Is it loading the first 30 seconds and then refusing to buffer any further? If you hold down reload it'll let you clear the cache, that and clearing cookies may help.

It's just a black screen with a loading circle, but when I do empty cache and hard reload it will load for the first 30 seconds or so but won't buffer any more

If you use ublock try updating it to the latest beta

Is it loading the first 30 seconds and then refusing to buffer any further? If you hold down reload it'll let you clear the cache, that and clearing cookies may help.

I updated my driver and tried this and still the same problem. I dont wanna rollback again because i wanted to play wukong. I hope it will get fixed soon, i dont wanna use google chrome lol

I think the nvidia thing is a seperate issue as this isn't unique to them. If I had to guess I'd say it's something on youtube's end

I think the nvidia thing is a seperate issue as this isn't unique to them.  Youre telling us to update adblocker and the browser. Is this a forum from 2005? What is next? sfc scannow? Please either type something helpful or dont type anything at all.  PLEASE MAN

Its the new Nvidia driver. Either rollback to the older version of it or sign out from the google and watch it without singing it. I dont know what did they changed but im using the older version of the nvidia driver.

My brother in Christ, they didnt say anything about nvidia so there no shot you can get out and type "I tHiNk iTs DifFErENt". Youre telling us to update adblocker and the browser. Is this a forum from 2005? What is next? sfc scannow? Please either type something helpful or dont type anything at all.  PLEASE MAN

The person who opened this issue is facing the same issue I was somehow able to resolve. That doesn't invalidate whatever issues you're having and there's no reason to get offended just because someone differentiates the two.

This is the log from the developer tools console www.youtube.com-1725398704722.log
just a heads up, you may want to scrub any IPs from this

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
www.google.com/pagead/lvz?

Failed to load resource: the server responded with a status of 403 ()
rr4---sn-q4flrnek.googlevideo.com/videoplayback?

As described by Mozilla:

The HTTP 403 Forbidden client error response status code indicates that the server understood the request but refused to process it. This status is similar to 401 , except that for 403 Forbidden responses, authenticating or re-authenticating makes no difference.

Google has been cracking down on people for using adblockers and even youtube-dl after the change to their terms of service last year. This may be their way of putting people on notice instead of outright banning their accounts.
If it's still getting blocked even when extensions are disabled it's entirely possible there's a bug somewhere confounding the issue.

Google has been cracking down on people for using adblockers and even youtube-dl after the change to their terms of service last year. It was enough to get the attention of regulators so this may be their way of putting people on notice without outright banning their accounts.
If that's still being blocked locally with extensions disabled it's entirely possible there's a bug or something else confounding the issue.

I do use ublock origin, but I think it's something to do with the browser. I tried incognito with no extensions enabled, signed in on my account and it still would not play, but on regular google chrome it works with ublock origin installed as well. I tested on other devices too and it plays the videos normally with my account.

The person who opened this issue is facing the same issue I was somehow able to resolve. Me suggesting the steps I took doesn't invalidate whatever issues you're having and there's no reason to get offended just because someone differentiates the two.

So weird. We have the same issue but youre claiming that "you somehow able to resolve". Its been a week my dude. Youre method is 2005 windows forum methods that are insanely.. never mind. I solved my issue by installing older version of nvidia driver, i have no problem. Can you use your brain? Offended? Theres a difference between offended and mad. Im mad because you dont know anything about anything and youre telling us to update ublock. lol

If that's still being blocked locally with extensions disabled it's entirely possible there's a bug or something else confounding the issue.

I do use ublock origin, but I think it's something to do with the browser. I tried incognito with no extensions enabled, signed in on my account and it still would not play, but on regular google chrome it works with ublock origin installed as well. I tested on other devices too and it plays the videos normally with my account.

If it works in chrome you're half way there, you just need to find out where the two console logs diverge. The 403 response is their server refusing to stream the video so you'll need to figure out what's triggering it.

Is it loading the first 30 seconds and then refusing to buffer any further? If you hold down reload it'll let you clear the cache, that and clearing cookies may help.

I have that exact issue. It works fine without an account or in other browser. Reloading, cleaning cash and cookies doesn't help. Do you know any other ways to fix that?

Same issue here. just disable graphics acceleration in settings to fix.

its already on

turn it off

Same issue here. just disable graphics acceleration in settings to fix.

This seemed to work, thanks. Colors look a little different though.

Same issue here. just disable graphics acceleration in settings to fix.

This seemed to work, thanks. Colors look a little different though.

This doesnt solves the problem because ungoogled chrome crashes without the graphic acceleration. Search something in google images itll crash immediately. Also if youre using 2 monitor setup, it will stutter without the acceleration. Might be a temporary solution but this need a proper fix

It fixed itself automatically today, without trying anything new.

I have the same problem, without being logged on into an account. After 30 seconds. It's a live video.  I use NoScript and if I allow script from google.com and gstatic.com the problem is gone.
I also use uBlock Origin.
The strange thing too is that other youtube video's don't give this error, also videos longer then 20 minutes.

I don't think having to disable hardware acceleration is a real solution to the problem.
The same uBlock Origin and NoScript settings (with blocking script from google.com and gstatic.com) do work in Firefox.

Same issue here. On Linux with Ungoogled Chromium 126. Tried 129 also, no difference. Works fine when logged out of YouTube but logging into my account only the first 20 seconds of a YT video show.
Disabled UBlock, tried disabling hardware acceleration, no difference.

same here, 129.0.6668.70_p1, only youtube logout helps

Does it work completely without extensions for example in Private mode?

Does it work completely without extensions for example in Private mode?

i've just checked - behavior is the same

Anything interesting in Devtools maybe?

Anything interesting in Devtools maybe?

Just this, everything else looks ok I think.

Just this, everything else looks ok I think.

same

I have this issue on version 129.0.6668.96. Google returns a 403 response to the request. Only 20 seconds buffers. I only have uBlock Origin. This issue persist in Incognito. However, I cannot replicate this issue in Edge with uBlock Origin. Videos play fine there.

I cannot reproduce this issue: tried playing YouTube for 3 minutes logged in and out — no difference. Try --user-data-dir=/tmp/sgsgsgs. Maybe some of your flags or settings interfere. Anyone on Linux could also try https://github.com/PF4Public/ungoogled-chromium-bin/releases to see if it would make any difference.

I cannot reproduce this issue: tried playing YouTube for 3 minutes logged in and out — no difference (uBlock and NoScript were enabled). Try --user-data-dir=/tmp/sgsgsgs. Maybe some of your flags or settings interfere. Anyone on Linux could also try https://github.com/PF4Public/ungoogled-chromium-bin/releases to see if it would make any difference.

Tried with --user-data-dir=/tmp/sgsgsgs and worked without logging in but as soon as I logged into YT same problem. Only got 20s of buffering.

maybe it's a set of circumstances ? say ungoogled-chromium + ip from specific countries ?

maybe it's a set of circumstances ? say ungoogled-chromium + ip from specific countries ?

I'm in Canada

Estonia

@leolurch  Please try with mobile data, would it be any better?
to everyone: my question still stays: Did anyone have QUICK enabled?

Tried using a hotspot from my phone already. Doesn't work either

this is an issue for me as well I am in the US and I have also tried a hotspot to see if it would fix and it did not.

I have the same issue. It shows YT video for ~20 secs and then yields the same "unexpected error". I tried with the latest 129 and with old 115 version, with all the extensions disabled. Nothing helps. NVidia drivers does not matter (I have Intel 13700H iGPU laptop).
But if I log out then YT video works.

@vvhitevvizard Do you have 403 errors in DevTools when it works while you're logged-in without hw acceleration?

I tested today on 129.0.6668.96, after a few days of running Firefox. No problem loading anymore.

to everyone: my question still stays: Did anyone have QUICK enabled?

Do you mean QUIC? chrome://flags/#enable-quic
I have this problem without being logged in to Google, but it seems that I'm the only one. If it's something in the browser settings, starting with a fresh new profile should solve it, which doesn't seem to be the case.
But just to be sure, can anybody confirm that browser settings are not synchronized in Ungoogled-Chromium the moment you log in to Google?

Works again for me too yay :)
Thanks for the support. Seems to have resolved itself

Working for me on Linux with 126.0.6478.126 as of today - logged in, ublock, etc.

Heisenbug it seems :)

Yep, started to work for me too. I think the main reason - google itself and this problem can  appear at any time soon again.


[🐛 BUG]: Remove github dependancy

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
Currently velox always expects at least one github repository to exist in the config, this may not always be the case with peoples custom builds.
Version
Master
Relevant log output
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x13280a6]

goroutine 1 [running]:
github.com/roadrunner-server/velox/github.NewGHRepoInfo(0xc0000a5bc0, 0xc0000ac3c0)
        ~/src/github.com/roadrunner-server/velox/github/repo.go:43 +0x26
github.com/roadrunner-server/velox/internal/commands/build.BindCommand.func1(0xc000134780?, {0x15128fb?, 0x2?, 0x2?})
        ~/src/github.com/roadrunner-server/velox/internal/commands/build/build.go:47 +0xfc
github.com/spf13/cobra.(*Command).execute(0xc000134780, {0xc0000e0660, 0x2, 0x2})
        ~/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x67c
github.com/spf13/cobra.(*Command).ExecuteC(0xc000134500)
        ~/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
        ~/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
main.main()
        ~/src/github.com/roadrunner-server/velox/vx/main.go:14 +0x4b
exit status 2

Hey 👋🏻
Hm, never think this way. I guessed that at least logger or RPC should be in the config. But yeah, your scenario is possible for sure.

Hey @BarnabyDT  👋🏻
I tried to verify your issue, but you don't need to have any GitHub repositories (except RR itself). If you don't specify any plugin - velox should return an error: return errors.New("no plugins specified in the configuration"). RR build with no plugin has no sense (but doesn't lead to panic) 😃 thus, having at least one is mandatory.
I also turned off the [github.plugins] section at all (leave only token to download the RR) and used GitLab plugins, and everything seems to work fine.

To verify your issue, could you please send here your velox.toml file? Or steps to reproduce an error.


docs: improve docs looks and feel

Make Caslon font global, also applying to the the UI

/cc @orta do you remember where you got the CaslonOS-Regular.otf font? Could we have a bold version as well?

Install Monaospace Argon for Monospace font to match the style
Add a bit of yellow-tint to the foreground color on darkmode

I used https://www.1001fonts.com/caslon-os-font.html which is OTF, but only in regular - maybe https://github.com/ertekinno/libre-caslon-condensed can replace?


Make Ctypes_ptr.Raw independent from Signed.S

Hi,
Since Signed.S is defined in integers (now separate), additions to this type signature can break Ctypes_ptr.Raw.
However, this module is not public API, so it is possible to remove that module type signature, and even to restrict what is exported to the bare minimum: null and nativeint conversion functions.
Thanks!

This is a clear improvement.  Thank you for the contribution, @emillon!


[sdl] missing frames

I'm currently testing the SDL console on macos.
Sometimes, rendered surface seems not to be presented to the window. It happens more likely in REPL when 2 lines are printed without any user interaction. (Typically, "Ready" is not displayed)
I tracked the issue deeply in the code to check is there was a missing call to present_canvas().  Everything seems alright.
With the following code at the very end of force_present_canvas(), I managed to reproduce the issue:
self.canvas.surface().save_bmp("screen.bmp").map_err(string_error_to_io_error)

So here  is the rendered BMP (everything is OK here):

And here is the screenshot of the actual window:

The "Ready" prompt is missing! It has correctly been rendered in the underlying surface, but is not shown to the actual window! If I hit a key, let's say "B" the Ready prompt is correctly render and the "B" letter is shown at the right place...
I initially thought the issue was coming from the unusual way to render to the window (rendering to a surface and then blitting the surface to the window surface). SDL documentation and example wants you to render directly to a window canvas typically created by calling window.into_canvas().build(). This is also the way to enable hardware acceleration and Rust SDL documentation emphasizes that rendering to a surface is slow and not accelerated. So I heavily modified the code to do the rendering to a window canvas and to present the canvas.
This did not work! Same issue.
I then read a bunch of example of SDL code. In all example, the render is always done the same way:

consume all events
render the whole scene
wait some time to achieve 30 or 60 fps
present the canvas

The critical part missing from the endbasic SDL rendering code is the wait time. I confirmed this by adding a dumb std::thread::sleep in force_present_canvas() function. No more missing frames.
I'm not sure how to fix this. I think the best way would be to have a dedicated thread that does main loop the way sdl wants it to be (poll events/render/wait/present) and communicates with the rest of endbasic (the Console trait impl) with channels.

Thanks for the report and the analysis.
I'm no SDL expert and I can see what I did to render to the screen is problematic. Mind you, my first versions of the code did what the documentation suggests: render directly to the screen. The problem then is that I couldn't find a way to "scrape" the existing screen contents to implement scrolling, hence why I had to shift to drawing onto a surface.
Note how in the "model" you listed above, you are supposed to draw the whole scene from scratch on every frame, which is pretty much impossible here. If we only had to draw the text console, it'd be rather easy, but once we mix overlapping graphics... we'd essentially have to keep a copy of the screen's bitmap somewhere to be able to redraw it from scratch---which is what the separate surface achieves.
I'm open to better answers to this but I couldn't find any. But again, I'm no SDL expert.


Add support for $anchor

JSON Schema now includes a mechanism to simplify references as described in Section 9.2 of 2020-12 draft.
https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.9.2
Basically defining named anchors and referring to them rather than using JSON pointer.
Currently this does not work, returning (in Swagger CLI at least) printing
Invalid $ref pointer "fn". Pointers must begin with "#/"

Thanks for the heads up. This is all covered in https://github.com/APIDevTools/json-schema-ref-parser/issues/145 and will be the basis of an already started rewrite!


Implement temporary workaround for interop view intercepting touches for popups.

Proposed Changes
Traverse owners top down and see, if the touch should be dispatched into compose instead of interop view.
Testing
Test: check ComposeDemo IosBugs/UIKitViewAndDropDown example to work correctly.
Issues Fixed
Fixes: interop view intercepting touches on compose popup on top of it.
https://github.com/JetBrains/compose-multiplatform-core/assets/4167681/2637a5fc-c23e-4a48-a7b1-998ca4f87f5b

merge jb-main to CI to pass

What is this performance monitoring tool in the screenshot?

https://developer.apple.com/documentation/xcode/monitoring-your-metal-apps-graphics-performance/


registerTemplate with tag is throwing exception

Describe the bug
We're trying to migrate from legacy FCM to FCM v1. I'm trying to do registerTemplate after creating NotificationHub, but it's failing to register
Exception or Stack Trace
Failed to complete registration
                                                                                com.microsoft.windowsazure.messaging.NotificationHubException
                                                                                at com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:254)
                                                                                at com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:170)
                                                                                at com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:130)
                                                                                at com.microsoft.windowsazure.messaging.NotificationHub.upsertRegistrationInternal(NotificationHub.java:465)
                                                                                at com.microsoft.windowsazure.messaging.NotificationHub.registerInternal(NotificationHub.java:429)
                                                                                at com.microsoft.windowsazure.messaging.NotificationHub.registerTemplate(NotificationHub.java:201)
                                                                                at myapp.PushNotifications.RegistrationIntentService.onHandleIntent(RegistrationIntentService.java:72)
                                                                                at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                at android.os.Looper.loopOnce(Looper.java:201)
                                                                                at android.os.Looper.loop(Looper.java:288)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:67)

Code Snippet
import com.microsoft.windowsazure.messaging.NotificationHub;
import com.microsoft.windowsazure.messaging.TemplateRegistration;

NotificationHub hub = new NotificationHub(BuildConfig.AZURE_NOTIFICATION_HUB_NAME, BuildConfig.AZURE_NOTIFICATION_HUB_CONNECTION_STRING, this);

TemplateRegistration registration = hub.registerTemplate(fcmToken, notificationTemplateName, templateString, tag);

all values are provided and are not null or empty.
Expected behavior
To register with the template and return TemplateRegistration.
Setup (please complete the following information):

OS: Android 13
IDE : Android Studio Iguana | 2023.2.1 Patch 1
Version of the Library used: com.microsoft.azure:notification-hubs-android-sdk:2.0.0

Additional context
following https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-sdk
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Greetings!
Our template validation logic has changed in FCM V1 and templates used for FCM Legacy may not be compatible with FCMV1 Templates. To help troubleshoot your issue, can you please provide us with value for templateString?

Greetings!
Our template validation logic has changed in FCM V1 and templates used for FCM Legacy may not be compatible with FCMV1 Templates. To help troubleshoot your issue, can you please provide us with value for templateString?

trying to register a custom template. templateString looks something like this: "{\"data\":{\"message\":\"$(message)\"}}"

Thanks for replying.
It looks like your template is missing a message object. Try nesting your current template inside of a message object.
We've got some documentation posted here which may help - https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-sdk#android-sdk.
Pulling from the doc to save you a click-
Update the payload template. If you're not using templates, you can skip this step.
For example, if you're using registrations:
NotificationHub hub = new NotificationHub(BuildConfig.hubName, BuildConfig.hubListenConnectionString, context);
String template = "{\"message\":{\"android\":{\"data\":{\"message\":\"{'Notification Hub test notification: ' + $(myTextProp)}\"}}}}";
hub.registerTemplate(token, "template-name", template);

If you're using installations:
InstallationTemplate testTemplate = new InstallationTemplate();
testTemplate.setBody("{\"message\":{\"android\":{\"data\":{\"message\":\"{'Notification Hub test notification: ' + $(myTextProp)}\"}}}}");
NotificationHub.setTemplate("testTemplate", testTemplate);

Thanks for replying.
It looks like your template is missing a message object. Try nesting your current template inside of a message object.
We've got some documentation posted here which may help - https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-sdk#android-sdk.
Pulling from the doc to save you a click-
Update the payload template. If you're not using templates, you can skip this step.
For example, if you're using registrations:
NotificationHub hub = new NotificationHub(BuildConfig.hubName, BuildConfig.hubListenConnectionString, context);
String template = "{\"message\":{\"android\":{\"data\":{\"message\":\"{'Notification Hub test notification: ' + $(myTextProp)}\"}}}}";
hub.registerTemplate(token, "template-name", template);

If you're using installations:
InstallationTemplate testTemplate = new InstallationTemplate();
testTemplate.setBody("{\"message\":{\"android\":{\"data\":{\"message\":\"{'Notification Hub test notification: ' + $(myTextProp)}\"}}}}");
NotificationHub.setTemplate("testTemplate", testTemplate);

Thank you for your response @lomagdal2 I changed and updated the payload. can see it's successfully registered to ANH. but when I choose Custom Template in Send Test to send a notification with payload {"message":"Notification Hub test notification"}  or with Android(FCM v1) { "message": { "notification": { "body" : "message body"} } } can't see the notification has been sent to registration id I expected in Result section.

Hello!
Our debug send response will contains a results property, which is an array of registration results for the debug send. Each registration result will specify the application platform. In your case, you should see FCM V1 as the application platform and not GCM / FCM Legacy.
Additionally, we offer per message telemetry for standard tier notification hubs. This telemetry features GcmOutcomeCounts and FcmV1OutcomeCounts which can help you verify which platform is being used for sends.
This issue was opened due to being unable to register an FCM V1 template registration. As you're now able to create the registrations, we'll be closing this issue. Feel free to open another ticket if you have a different issue.


Uncomment default ssh_home in default.config.yml?

Issue Type

Feature Idea

Summary
I think many users don't know about the ssh_home variable. I even forget about it when I bootstrap a new VM sometimes. I think it would be fairly harmless to uncomment it in default.config.yml, and would be a nice improvement for most Drupal VM users.
Before I go in and uncomment it myself, I wanted to see if there's any particular reason why it would be better to not set it by default?

Yay!


Use LSP MarkupContent for generated documentation

The affects the HoverReply message.
All documentation is now returned in markdown, and it renders much better in emacs-lsp.

The appveyor fail looks like a transient networking error, rather than an actual fail. And the linux equivalent passes. So I am going to merge (and hold thumbs).

I'm not sure if this or #1189 is the cause, but after the <IP_ADDRESS> update, lsp-ui-sideline started showing the raw markdown format:

I don't have that problem, and I am wondering if its because my emacs config explicitly pulls in markdown-mode.
;; ---------------------------------------------------------------------
;; hie lsp stuff

(package-install 'dash-functional)
(package-install 'haskell-mode)
(package-install 'markdown-mode)
(require 'markdown-mode)
(package-install 'ht)
(package-install 'company-lsp)
(package-install 'yasnippet)
(require 'yasnippet)

;; (add-to-list 'load-path "/home/alanz/mysrc/github/alanz/lsp-mode")
(package-install 'lsp-mode)

;; (add-to-list 'load-path "/home/alanz/mysrc/github/alanz/lsp-ui")
(package-install 'lsp-ui)

;; (add-to-list 'load-path "/home/alanz/mysrc/github/alanz/lsp-haskell")
(package-install 'lsp-haskell)

;; New style client ;;;;;;;;;;;;;;
(require 'lsp)
(require 'lsp-haskell)
(add-hook 'haskell-mode-hook #'lsp)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ---- From
;;   https://github.com/tigersoldier/company-lsp -------
;;   http://company-mode.github.io/
;(package-install 'company-mode)
;(require 'company-mode)
(add-hook 'after-init-hook 'global-company-mode)

(require 'company-lsp)
(push 'company-lsp company-backends)

FYI, this is what I get

Doesn't seem to solve it, my config is here and here (there's an implicit package-initialize at the beginning to load all those packages).
I'll probably try to get a minimal example going to reproduce this (but not right now).

Ahh, so after updating lsp-ui, lsp-mode to latest master and installing markdown-mode, the problem is solved.
So markdown-mode should be a dependency of lsp-haskell probably

See also https://github.com/emacs-lsp/lsp-ui/issues/172


Fix type error in DataReadValue

The type in the C code is unsigned int, sould be the same in the julia code. Without this, the tests don't pass on Windows.

Thanks


运行不了，ModuleNotFoundError: No module named 'app'

ModuleNotFoundError: No module named 'app'
Traceback:
File "D:\pinokio\bin\miniconda\envs\MoneyPrinterTurbo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "G:\MoneyPrinterTurbo\webui\Main.py", line 7, in
from app.models.schema import VideoParams, VideoAspect, VoiceNames

1，进入到项目根目录
2，执行 webui.bat
如果提示找不到模块
可以打开 webui.bat，修改一下 PYTHONPATH 的路径为你项目的绝对路径，再试试看

@harry0703 I've done exactly this in linux, I set PYTHONPATH=/my/path.. then I ran and I see the same error. I even put a print current working directory code into the main.py and it showed the correct dir. When I echo the directory again it shows the correct directory.
This didn't fix the issue unfortunately.


Click() is not working for the background window, But send_keystrokes() works well

Expected Behavior
Mouse left click to a background window can work.
Actual Behavior
nothing
Short Example of Code to Demonstrate the Problem
    app = Application(backend="win32").connect(handle=hwnd)
    win = app.window(class_name=class_name)

    # it works
    win.send_keystrokes("g")

   # not working
    win.click(coords=(x,y))

   # it works
    win.click_input(coords=(x, y))

Specifications

Pywinauto version: 0.6.8
Python version and bitness: 3.10
Platform and OS: WIndows 10

.click() is not guaranteed to work on any element because the element may not handle WM_LBUTTONDOWN and WM_LBUTTONUP window messages. This method is tested in unit tests so generally it works if the app supports handling mentioned messages. Unfortunately there is no way to detect if the app element handles these messages because expectations on its result may vary a lot.
By the way, send_keystrokes() may not work for some edit boxes. Or some key combinations may not work. It hardly depends on the app.

@vasily-v-ryabov  Thanks for this reply. I'm looking forward to mock a click of mouse that works for inactive window, do you know where I can get it ?

What is your goal? And which kind of element do you need to automate?
If the goal is to select part of text, there is method .select(start=0, end=5) for edit boxes. If you need to push/toggle something, maybe we can find another way to automate it?

I just want to click one point in background window like click_input()

In general it's not possible. If it's some drawing control, it can handle some window messages. You can monitor window messages received by this element in Spy++, but it's not guaranteed to help. I think that's it.

Got it. Thanks for concise but helpful insight. Actually it's a game window without drawing control.
Anyway, let me try Spy++.


pafCoordsDotPlotly.R Colour reverse complement hits

Hi,
thanks for the very useful tool, pafCoordsDotPlotly.R. Would it be possible to colour reverse complement and forward alignments differently, e.g. red/blue. I can change the R code myself if you could advise where to start.
Thanks,
Theo

Hi I am interested in this feature to as I want to adjust my chromosome strand direction according to reference genome, have you solved it?

Hi, sorry, no, haven't had any reply.


Visible fields are not cleared when they become not visible

The fields with a visible function should not be sent if visible is false.

This is controversial. There might be use cases for not visible fields being posted, even though I clearly see why you're asking this.
We should use this thread to discuss the solution.

@andrerpena @danigomez I was thinking that one possible workaround for this, was to pass a visible prop, that all the components should receive. With this visible prop you evaluate the !visible case and handle the onChange with an undefined value.
This is one I think about and seems quite simple to do, Maybe I'm not seeing other things.. so let's discuss about it :smile:

@JonatanSalas Again, it's controversial.
The fact that a field is not visible doesn't mean it doesn't have a value. And it doesn't mean it should be undefined.  In fact, a form may have several information relevant to functions that are not visible. And I don't think making a field invisible should clear it's value.
Let's think of something better and resume this discussion :)

@andrerpena mmm okey, let me think it better

One easy option would be to create a general prop called submitInvisibleFieldValues that defaults to false but you could turn on at will.

I don't think values should be cleared when turned invisible. Conversely, @danigomez's problem is the values being submitted. Maybe we should just treat it as I mentioned above.

@andrerpena how are we supposed to use this prop? I don't understand at all how this prop should be used to avoid sending not visibile field values..

What I mean is:
An easy solution (not necessarily the best) would RAF to have a property called submitInvisibleFieldValues that defaults to true (I said false earlier but I think it should be true). Then, upon submittion, a processor function should process the object before it's actually submitted, and then it would clear out properties that are invisible. That's how I think it should work. I don't think it's a priority so personally I don't want to get this, but I wouldn't mind if this was implemented.

@andrerpena when you can I want you to introduce me in the concepts behind your metadata processor, so I can help you to make this greater :smile:


linter_config: Permit longhand grid-template-* properties.

This rule permits the use of grid-template-areas alongside grid-template-rows and grid-template-columns, preventing their values from being smooshed onto a single line with the grid-template shorthand.
We want to preserve expressive, easy-to-reason-about CSS like this, which provides a visual representation of the grid's layout:
.my-fancy-grid {
    grid-template-areas:
        "sender sender    controls time"
        ".      message   .        .   "
        ".      more      .        .   "
        ".      reactions .        .   ";
}

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Can you clarify the motivation? Stylelint and Prettier are just as happy with
.my-fancy-grid {
    grid-template:
        "sender sender    controls time"
        ".      message   .        .   "
        ".      more      .        .   "
        ".      reactions .        .   ";
}

and don’t require values being smooshed onto a single line.

They're happy with it unless the same declaration block includes grid-template-rows and grid-template-columns, too. Much like padding-right is acceptable by itself, but causes problems when the other longhand values appear within the same block.

My question is, what’s the problem with the shorthand that stylelint prefers?
.my-fancy-grid {
    grid-template:
        "sender sender    controls time" 25px
        ".      message   .        .   " auto
        ".      more      .        .   " auto
        ".      reactions .        .   " auto /
        46px auto max-content fit-content(150px);
}

I dunno about “clever”, it’s just how the grid-template syntax works. The three repeated autos can be omitted since auto is the default. I don’t know see why CSS variables are any harder or easier to reference here.
In general I’d prefer to respect Stylelint’s recommendations when there aren’t egregious problems or too many legacy violations.

If you had a CSS variable with a set of row definitions, like --my-custom-rows: 25px auto 50px, you'd not be able to use that in the shorthand syntax.
I think it's also clunky to have an adjustment to the row elsewhere using the grid-template-row declaration that would have to be studied against a list of values running up the righthand side of a set of template areas.
Finally, my least favorite thing about this particular rule is that one can happily use the long-hand properties for rows and columns, but when named areas are introduced--which we should encourage the use of--Stylelint imposes the shorthand syntax. To my mind, that's arbitrary, because one can use grid-template to specify row and column definitions without named areas.
I appreciate your wanting to respect Stylelint's recommendations, and if that's beyond negotiating over, then I'll close this PR.

The linter will accept grid-template-areas as a separate property, so long as grid-template contains the row and column definitions. So I'm going to close this for now, since readable grid-template-areas are possible, though I think we're still sacrificing readability in adhering with Stylelint's default rule here.


Add .NET projects detection

Databases
Azure SQL

Microsoft.Data.SqlClient
System.Data.SqlClient

PostgresSQL

Npgsql

MySQL

MySql.data
MySqlConnector

Plugins
Application Insights

Microsoft.ApplicationInsights

Key Vault

Azure.Security.KeyVault

Storage Account

Azure.Storage.Blobs

Redis Cache

StackExchange.Redis
Microsoft.Extensions.Caching.Redis

MongoDB

MongoDB.Driver

@cmaneu I refactored the code and added this class https://github.com/microsoft/NubesGen/blob/main/cli/src/main/java/io/github/nubesgen/cli/subcommand/scan/DotNetScanner.java to help you (it's copied from the NodeJS scanner, so you need to modify the methods content)

@cmaneu to test this:

"./mvnw package" in the CLI project to generate the JAR file
Copy the final JAR file in the "target" repo to an existing project
Scan the local project: "java -jar nubesgen-cli-0.0.3-SNAPSHOT.jar scan"


Unclear size unit of width and positionDodge(width = ?)

We can't understand size units, minimal and maximum values of width aesthetic and width option in positionDodge.
Size units in lets-plot are completely undocumented, so the only way of changing sizes is trial and error.

Throughout Lets-plot/ggplot2 API width and height are relative values where the actual width or height in pix will depend on "data resolution" (i.e. minimal distance between data-point) along correspondent axis.
Typically, it is in range 0..1.
Certainly need to make it more clear in the docs.

Solved in #315e95f and #75c8830.


python311Packages.litellm: 1.16.19 -> 1.17.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.litellm is: Use any LLM as a drop in replacement for gpt-3.5-turbo. Use Azure, OpenAI, Cohere, Anthropic, Ollama, VLLM, Sagemaker, HuggingFace, Replicate (100+ LLMs)
meta.homepage for python311Packages.litellm is: https://github.com/BerriAI/litellm
meta.changelog for python311Packages.litellm is: https://github.com/BerriAI/litellm/releases/tag/v1.17.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.17.0 with grep in /nix/store/z6msmlpvwdcbyhkncrlba0q9c2hx6s3c-python3.11-litellm-1.17.0
found 1.17.0 in filename of file in /nix/store/z6msmlpvwdcbyhkncrlba0q9c2hx6s3c-python3.11-litellm-1.17.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
open-interpreter
python310Packages.litellm
python311Packages.litellm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z6msmlpvwdcbyhkncrlba0q9c2hx6s3c-python3.11-litellm-1.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.litellm https://github.com/r-ryantm/nixpkgs/archive/2e84597ff4cda448f5ae6c733d0bb09293a299a4.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2e84597ff4cda448f5ae6c733d0bb09293a299a4#python311Packages.litellm

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z6msmlpvwdcbyhkncrlba0q9c2hx6s3c-python3.11-litellm-1.17.0
ls -la /nix/store/z6msmlpvwdcbyhkncrlba0q9c2hx6s3c-python3.11-litellm-1.17.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

open-interpreter
python310Packages.litellm
python311Packages.litellm

Maintainer pings
cc @happysalada for testing.

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

6 packages built:

open-interpreter
open-interpreter.dist
python310Packages.litellm
python310Packages.litellm.dist
python311Packages.litellm
python311Packages.litellm.dist


1050: dreport & opdreport

Links of the PRs:
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/42746
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/47876
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/50229
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/50777
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/47917
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/53027
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/52436
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/56428

why patricks commits are shown here, can you do a new fork and add only your changes.

As i understand you pulled patricks commits intentionally so that things will work, going ahead and merging the changes


Allows a datasource to return different chatItem instances for same message id

Previously, due to the mapping between chatItem instance and presenter, a new presenter would be created. This fixes:

That new presenter will have invalid itemVisibility property (would cause a crash when long pressing a text cell)
If a new chatItem instance is returned by the dataSource for a previous existing message, but the previous chatItem is leaked, then the presenter would leak too (and it might try to update its cell, as in downloading an image)

This introduces ChatItemCompanion, a structure which attaches a ChatItem with its presenter and decoration attributes. This solves 1) and 2)
Still, a new presenter will be created if a different instance is returned by the datasource for a same message id. This will cause its internal state to be lost, so it's recommended not to keep any state in the presenter, or use an external storage to be able to recover it. We might revisit this in the future by reusing same presenters for same uids or adding API to copy state from one presenter to a new one.

Current coverage is 61.82%

Merging #36 into dev will increase coverage by +0.53% as of 819fe25

@@              dev     #36   diff @@
=====================================
  Files          55      57     +2
  Stmts        2855    2892    +37
  Branches        0       0
  Methods         0       0
=====================================
+ Hit          1750    1788    +38
  Partial         0       0
+ Missed       1105    1104     -1

Review entire Coverage Diff as of 819fe25

Powered by Codecov. Updated on successful CI builds.


Let openocd select internal/external flash

After reset the STM32 runs whatever is in internal flash. If you are debugging something in external flash this currently means you have to go into the menu and switch.
It should be possible to use an openocd script to write a value into memory somewhere and then have the internal program read it and automatically jump to external.
This is similar to the mechanism currently used for DFU, but is a little more complicated because we have to configure QSPI first. By the time that is done, the memory address storing the boot magic has been overwritten.

I couldn't get the backup SRAM to work, and I don't think it's the right approach for this, but I was working on formalising the reset status memory location in the linker so it would not be overwritten accidentally by other code.
The next step is to split this "register" into bits with our own meaning so we can support:

Reset into DFU
Reset into ext Flash
...

Could even give half of this memory location over to the firmware to handle stuff like "Reset into USB Mass Storage Mode" or "Reset into firmware selfupdate".
diff --git a/32blit-stm32/Inc/32blit.h b/32blit-stm32/Inc/32blit.h
index 53cb8a6..4e92ccd 100644
--- a/32blit-stm32/Inc/32blit.h
+++ b/32blit-stm32/Inc/32blit.h
@@ -2,6 +2,8 @@
 #include "32blit.hpp"
 #include "fatfs.h"

+extern uint32_t magic_register;
+
 // Functions defined by user code files
 extern void init();
 extern void update(uint32_t time);
diff --git a/32blit-stm32/STM32H750VBTxEXT_FLASH.ld b/32blit-stm32/STM32H750VBTxEXT_FLASH.ld
index 6f21dab..283d3e4 100644
--- a/32blit-stm32/STM32H750VBTxEXT_FLASH.ld
+++ b/32blit-stm32/STM32H750VBTxEXT_FLASH.ld
@@ -47,6 +47,7 @@ LTDC (rw)           : ORIGIN = 0x2405A800, LENGTH = 150K
 RAM_D2 (xrw)        : ORIGIN = 0x30000000, LENGTH = 138K
 FRAMEBUFFER (rw)    : ORIGIN = 0x30022800, LENGTH = 150K
 RAM_D3 (xrw)        : ORIGIN = 0x38000000, LENGTH = 64K
+BACKUP_SRAM (rw)    : ORIGIN = 0x38800000, LENGTH = 4K
 ITCMISR (xrw)       : ORIGIN = 0x00000000, LENGTH = 4K
 ITCMRAM (xrw)       : ORIGIN = 0x00001000, LENGTH = 60K
 FLASH (rx)          : ORIGIN = 0x90000000, LENGTH = 32768K
@@ -192,6 +193,13 @@ SECTIONS
     *(.dma_data)           /* dma_data */
   } >RAM_D3

+  _magic_register_start = 0x38800000;
+  .magic_register _magic_register_start (NOLOAD):
+  {
+    . = ALIGN(4);
+    KEEP(*(.magic_register))
+  }
+
   /* Remove information from the standard libraries */
   /DISCARD/ :
   {
diff --git a/32blit-stm32/STM32H750VBTx_FLASH.ld b/32blit-stm32/STM32H750VBTx_FLASH.ld
index 42d8323..a57b7c1 100644
--- a/32blit-stm32/STM32H750VBTx_FLASH.ld
+++ b/32blit-stm32/STM32H750VBTx_FLASH.ld
@@ -47,6 +47,7 @@ LTDC (rw)           : ORIGIN = 0x2405A800, LENGTH = 150K
 RAM_D2 (xrw)        : ORIGIN = 0x30000000, LENGTH = 138K
 FRAMEBUFFER (rw)    : ORIGIN = 0x30022800, LENGTH = 150K
 RAM_D3 (xrw)        : ORIGIN = 0x38000000, LENGTH = 64K
+BACKUP_SRAM (rw)    : ORIGIN = 0x38800000, LENGTH = 4K
 ITCMISR (xrw)       : ORIGIN = 0x00000000, LENGTH = 4K
 ITCMRAM (xrw)       : ORIGIN = 0x00001000, LENGTH = 60K
 FLASH (rx)          : ORIGIN = 0x08000000, LENGTH = 128K
@@ -192,6 +193,13 @@ SECTIONS
     *(.dma_data)           /* dma_data */
   } >RAM_D3

+  _magic_register_start = 0x38800000;
+  .magic_register _magic_register_start (NOLOAD):
+  {
+    . = ALIGN(4);
+    KEEP(*(.magic_register))
+  }
+
   /* Remove information from the standard libraries */
   /DISCARD/ :
   {
diff --git a/32blit-stm32/Src/32blit.c b/32blit-stm32/Src/32blit.c
index cada4b5..a468859 100644
--- a/32blit-stm32/Src/32blit.c
+++ b/32blit-stm32/Src/32blit.c
@@ -35,6 +35,7 @@ extern USBD_HandleTypeDef hUsbDeviceHS;

 #define ADC_BUFFER_SIZE 32

+__attribute__((section(".magic_register"))) __attribute__ ((__used__)) uint32_t magic_register;
 __attribute__((section(".dma_data"))) ALIGN_32BYTES(__IO uint16_t adc1data[ADC_BUFFER_SIZE]);
 __attribute__((section(".dma_data"))) ALIGN_32BYTES(__IO uint16_t adc3data[ADC_BUFFER_SIZE]);

@@ -51,9 +52,15 @@ float volume_log_base = 2.0f;

 void DFUBoot(void)
 {
+  HAL_PWR_EnableBkUpAccess();
+  while((PWR->CR1 & PWR_CR1_DBP) == RESET){}
+  __HAL_RCC_BKPRAM_CLK_ENABLE();
+
   // Set the special magic word value that's checked by the assembly entry Point upon boot
   // This will trigger a jump into DFU mode upon reboot
-  *((uint32_t *)0x2001FFFC) = 0xCAFEBABE; // Special Key to End-of-RAM
+  //*((uint32_t *)0x2001FFFC) = 0xCAFEBABE; // Special Key to End-of-RAM
+  //magic_register = 0xCAFEBABE; // Special Key to Backup SRAM
+  *((uint32_t *)0x38800000) = 0xCAFEBABE;

   SCB_CleanDCache();
   NVIC_SystemReset();

What about something like this:
https://github.com/pimoroni/32blit-beta/commit/c0b6f6692d3bb45acdc924c3dd370b05537c4719
Putting it at the end of D1 means moving the stack down. Stack is ALIGN(8) so I created two 32 bit variables. Maybe that is unnecessary. They could also go in D2 or D3 I guess.

External flash boot check: https://github.com/ali1234/32blit-beta/commit/ab2cc8cda4f7f5920387c547ca00c0b14ea8ecdb
OpenOCD part: https://github.com/ali1234/openocd/commit/18cca6cd45156892b4bb05b10ac0f95c6ed5902b
Again, this cannot be done is reset-end as the firmware will have already passed this point in the boot process before OpenOCD writes the magic value. reset-start seems to work okay though.

I think this has now been more formally implemented as part of the persistence API that's been shunted over to backup SRAM (not that we have a coin cell battery, but it's free RAM so we might as well use it!) see: https://github.com/pimoroni/32blit-beta/pull/236
Does this work for OpenOCD?

It should do. It will require some set up script, but that should not be a problem.


Adding list of dependencies to the application and provide the list via --3rd-party

Provide all details you can get:

groupId
artifactId
version
licence (when possilbe)
home page (when possible)

Requires issue #5.

Option --third-party used instead of --3rd-party

Not yet found a solution to get license and homepage url. Once I have an idea it will be a further ticket.


feat: add cli for MsgPruneAcknowledgements

Description

Added CLI for submitting MsgPruneAcknowledgements

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

lgtm, one minor q about the long desc

I don't think your question was published in the review by the looks of thiings! 👀

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

Comparison is base (26fd1e0) 81.09% compared to head (fbcd7d3) 81.27%.
Report is 4 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #5482      +/-   ##
==========================================
+ Coverage   81.09%   81.27%   +0.18%
==========================================
  Files         197      197
  Lines       15234    15234
==========================================
+ Hits        12354    12382      +28
+ Misses       2412     2391      -21
+ Partials      468      461       -7

see 1 file with indirect coverage changes


Enhancing Navbar buttons

Feature request:
Changing the color of navbar buttons and giving them a background upon hovering.
Describe the solution you'd like:
Will make changes in the CSS file so that navbar buttons change their color upon hovering.
Describe how this feature will be useful to our readers:
It will make the website look more appealing.

Note:

If you want to work on an issue, you should check if it has already been assigned to anyone.

Can I work on this issue?

@aj3011 Sure. Go ahead.

@vaishali614 There was a border-bottom effect applied on the navbar buttons but it wasn't working. So do you want me to fix that bug or to apply background color upon hovering?

or

@vaishali614

@vaishali614 There was a border-bottom effect applied on the navbar buttons but it wasn't working. So do you want me to fix that bug or to apply background color upon hovering?

or

border-bottom looks better than adding a background. Fix that bug for border-bottom effect.

@vaishali614 Please review my PR.


Admin Theme - Tokenize popup does not works

Tokenized popup does not works

I'm surprised about that one. I changed the token picker. Do you remember on which view exactly ?

I'm not sure, I think this is filter screen of query. I added the body part to query filter.

I just tried, and it seems to work just fine. I did notice, however, that the token glyph is not updated to show a nice leaf icon, plus it is pulled all the way to the right. See snippets below:

The following token glyph looks good:

I'll check out what's different and submit a fix.

I suspect this was work in progress, initiated by Jasmin.
In the case of the nice little leafs, Jasmin coded in the relevant HTML, whereas the text field in the Body Part Text filter i not updated with this HTML.
What should be done is update the script in Orchard.Tokens to generate the appropriate HTML. That way, all token popups will be the same.

You are right I forgot to change it everywhere.

No worries, I'm pushing an updated script shortly that will fix this everywhere.

Still several layout issues with tokenize popup. I don't know if I need to create new issues?

When popup is open the position of footer is changed.
The keyword hint is clipped.
Popup is not positioned correctly in RTL. Right corner of popup will be aligned to right corner of textbox


Autotoolize.

Introduces pkg-config checks to test for invm-frameworks components,
and removes the manual makefiles since they would conflict entirely
with the generated ones made by automake.
This requires a version of invm-frameworks that has been autotooled
as well due to the reliance on pkgconfig data.
Passes make distcheck. The project does not yet create pkgconfig
files or install headers. It's not yet clear to me at this point
what headers constitute the API but this should be trivial to solve.
This has been tested only on Linux for now, but there are hooks
in place to make this easy to work with under windows with MINGW.

Fixes issue #5 and #6

Decision was made to stick with CMake.
Changes have been merged to CMake recently to better conform with linux standards. Thanks!


NEXT-8438: Fixes #769 | add event listener to close flyout when cursor leaves window, also repair flyout flickering

1. Why is this change necessary?
Necessary since the flyout would stay open even after the cursor left the browser window.
Also fixed issue of flickering of the flyout which came to be because of the closeFlyout event getting triggered when moving the mouse slowly from the flyout to the parent navigation element (the issue got worse because of the css transition of the flyout).
2. What does this change do, exactly?
Improves usability of admin-menu by not firing the flyout close event if the cursor moves from the flyout to the parent navigation element. Also adds an event listener which closes the flyout if the cursor leaves the browser window.
3. Describe each step to reproduce the issue or behaviour.
First issue (navigation flyouts not closing if the cursor leaves the browser window):
1.) Have the browser window not full screen
2.) Hover over a navigation element and then leave the browser window with your cursor (to the left)
Second issue (flyout flickering)
1.) Hover over any menu-item that opens the flyout
2.) Hover into the flyout
3.) Slowly move over the edge from flyout back to active menu item (glitch should trigger within a couple of pixels)
4. Please link to the relevant issues (if any).
#769
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

6. Video footage
send.firefox (download works only one time!)
7. Contributors
@cfege
@MDSLKTR
@thomasfranz94

hey @thomasfranz94
please add a short message to your commit, what was changes exactly
the fixes #123 should only be seen as command for github, and not as information

Hello, can you please post this PR with a video of your changes in #boostday-qa channel?

Should be in the channel now @leichteckig

QA approved :heavy_check_mark:

@thomasfranz94 please adjust the commit message, then we will merge it :blush: :+1:

@mitelg The message should be good now :)

thanks for your contribution @thomasfranz94   :+1: :tada: :blue_heart:


Updating to jenssegers mongo 3.0

What's this PR do?
This updates the mongodb driver to v3.0 which is necessary to be compatible with PHP 7. It also appears to be compatible with PHP 5.6 which is running in production now as well. This will enable the ds-homestead environment to be updated to PHP 7 and then production will follow. https://github.com/DoSomething/ds-homestead/pull/15
How should this be reviewed?
Run Northstar tests in ds-homestead and eventually use the Ghost inspector tests in QA.
Checklist

[ ] Post a message in #api if this includes something that causes a rebuild!

@blisteringherb Looks like this is causing our Wercker test suite to fail because the box doesn't have the new Mongo extension installed. Can you update that as a step in the wercker.yml file?

I'm was seeing the same CleanDrupalIdsCommandTest::testThatItDeletesTheDupes test failing with this update. According to the laravel-mongo upgrade info:
"Embedded relations now return an Illuminate\Database\Eloquent\Collection rather than a custom Collection class. If you were using one of the special methods that were available, convert them to Collection operations."
I refactored the code in the CleanDrupalIdsCommand to use the new format that's returned. It looks like the RemoveDuplicateUsersCommand command also uses the User::raw() function and needs to be refactored. I imagine there might be other places where something different is being returned than the application expects. The tests are passing now, but I'm not sure how expansive the test coverage is. @DFurnes


Unhandled exception when trying to delete file in SourceServerData.PdbStr.Finalize

I've been using ILRepack as a library (via ILRepack.Lib) inside an MSBuild task. Occasionally, I see the task fail with the following error:

Unhandled Exception: System.IO.IOException: The process cannot access the file 'C:\Users\mzboray\AppData\Local\Temp\tmp27CB.tmp' because it is be
ing used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at ILRepacking.Steps.SourceServerData.PdbStr.Finalize()

As you can guess, that's going to be difficult to troubleshoot 😓
Maybe highlight the version of ILRepack you get this exception with, and if you get it with commandline only or with VS open.
As this (tmp) file is an executable (pdbstr.exe), might be worth checking if an antivirus is in play.
Good luck

It was on the last release of lib nuget, 2.0.12, I believe.
Actually I am able to repro a similar effect in a test, with PdbStr. The following fails for me most of the time when run in Release mode, but never in Debug.
[TestFixture]
class PdbStrTest
{
    private volatile Exception _backgroundException;
    private UnhandledExceptionEventHandler _handler;

    [SetUp]
    public void Before()
    {
        _handler = (o, e) =>
        {
            _backgroundException = (Exception)e.ExceptionObject;
        };
        AppDomain.CurrentDomain.UnhandledException += _handler;
    }

    public void After()
    {
        AppDomain.CurrentDomain.UnhandledException -= _handler;
    }

    [Test]
    public void RunInLoop()
    {
        for (int i = 0; i < 200; i++)
        {
            var pdbStr = new PdbStr();
            var bytes = new byte[65536];
            Assert.IsNull(_backgroundException, "error on iteration: {0}", i);
        }
    }
}

Note that NUnit 2.6.4 by default hides these background exceptions, hence all the boilerplate with the appdomain unhandledexception notification.
Looking a little more at how this is used, I believe what happening is that in release mode the JIT determines that the PdbStr instance allocated by SourceServerDataRepackStep is not used after a certain point, but code inside Write (mostly likely, but I suppose it could be Perform) is still running, using the temp file that had been allocated. The GC cleans up and the finalizer runs causing the IOException while the main thread is still using the file. In Debug mode, none of this happens because methods are not inlined and locals are typically kept alive much longer.
I believe the proper fix would be to do more deterministic clean up of PdbStr, perhaps making it IDisposable. The SourceServerDataRepackStep would probably then need dispose of this or itself be disposable so the main workflow can cleanup at the end. Also the finalizer could just catch if it fails, since this is only a temp file that the OS can clean up later.

That seems correct as per this blog post
👍

Sorry I didn't get back to this right away. I thought I could work around it by doing a GC.KeepAlive on the ILRepack object in my code. That made the problem less prevalent but still leads to the occasional crash. That PR should fix it.


Analytics in Service Worker

Analytics aren't being tracked currently in the background script, owing to limitations with running the tooling in Service Workers.
We should figure out if there's a way to track correctly with the same id from multiple contexts.
Issue discussing here https://github.com/segmentio/analytics-next/issues/907

We never had many analytics events being fired from bg script, so there shouldn't be any noticeable impact to analytics going to MV3. The only ones are a few edge-case ones like worker_error_thrown_x, so no biggie there.
Many of the new analytics we want do require this feature however.