text:
Save cache but not use it

It would be helpful if there was a way to specify that a job should generated save to the cache, but not load the cache. The use case I have is we want our default branch to run without cache, but we want it to write to the cache so that all PRs use the cache.
The work around at the moment is that we can remove all the cached directories after they are loaded, but this means that the job is spending time downloading the cache unnecessarily.

Yes

@leighmcculloch  Can you give more context on what workflow and key are you using ?

@vsvipul  my use case is creating Android emulator on main branch and then using it on PR branches. The cache should be write-only on main since there's no need to download it and restore it, it won't be used. And it should be read-only on any other branch. Cache key is static, for example android-emulator.

@leighmcculloch Can you give more context on what workflow and key are you using ?

@vsvipul Yes of course! The use case is the https://github.com/stellar/go repo.
We cache Go build and test artifacts so that builds in PRs only actually spend time on tests that have changed, including integration tests. But we want all tests to run on the default branch as a safety net, and so, we don't actually want the default branch to load the cache because we don't need it. Right now we achieve this by deleting the cache after it is loaded, so the loading of the cache is a bit wasteful.
The reason we still use the cache action on the default branch is to make sure there is a cache for new branches to load cache from on their first run. According to the readme cache entries that are stored from the default branch are the only cache entries available to a new branch the first time the branch's workflows run:
https://github.com/actions/cache/blob/136d96b4aee02b1f0de3ba493b1d47135042d9c0/README.md#L57-L58
Deleting the cache after it is loaded on the default branch isn't such a bad work-around really, as it is only one extra step in the workflows. You can see it here:
https://github.com/stellar/go/blob/abd5fb704/.github/actions/setup-go/action.yml#L51-L55

  # Reset the cache for master/protected branches, to ensure they build and run the tests from zero
  # and that the module cache is cleaned (otherwise it accumulates orphan dependencies over time).

This looks like a problem with Go itself and not with our action. Ideally, if the key provided is correct, like package.json in nodejs, which is always guaranteed to update in case a dependency is updated, it is guaranteed that it will clean the old cache and create a new one. So, I'm not able to understand how orphan dependencies can accumulate in this case.
If you don't want cache on the default branch you can add an if condition on the branch in the workflows itself like this -
on:
  push:
    branches:
      - '*'
      - '!master'

If you want a cache on master for the PRs to use, it is obvious to keep it updated. You can't have both the things-

Not have cache on main branch.
Have a cache for PRs to use.

And if the cache action is not run on main branch often, it will eventually get out of date. So it needs to be updated on every workflow run.

but it feels a bit sad for GitHub Actions to be doing the work of restoring cache unnecessarily.
This I couldn't understand. Could you explain a bit more?

This looks like a problem with Go itself and not with our action. Ideally, if the key provided is correct, like package.json in nodejs, which is always guaranteed to update in case a dependency is updated, it is guaranteed that it will clean the old cache and create a new one.

Caching is a tradeoff. Go doesn't check the contents of test fixtures and rather uses modified timestamps, because fixtures can be large files and costly to hash on every test run. Unfortunately I don't think this will change, and so the cache may be imperfect.

If you want a cache on master for the PRs to use, it is obvious to keep it updated. You can't have both the things-

We do have both things actually. We add a rm -rf ~/.cache/go-build ~/go/pkg/mod on master builds, so that the cache is enabled, it is checked out, and we wipe it clean to guarantee it is fresh.

but it feels a bit sad for GitHub Actions to be doing the work of restoring cache unnecessarily.

This I couldn't understand. Could you explain a bit more?

Because actions/cache does not have a way for us to say "use cache, but don't load the cache stored at the cache key, only store the cache generated by this build," we end up loading a cache that we delete immediately. Ideally there would be a way for a job to save to a cache key without loading from it.

@leighmcculloch One workaround we discussed upon this was to not use restore-keys for protected branch. Something like this -
  # Cache any build and test artifacts during the job, which will speed up
  # rebuilds and cause test runs to skip tests that have no reason to rerun.
  - uses: actions/cache@v2
    if: github.ref_protected
    with:
      path: ~/.cache/go-build
      key: ${{ env.PREFIX }}-go-build-${{ github.ref }}-${{ hashFiles('**', '!.git') }}

  # Cache any build and test artifacts during the job, which will speed up
  # rebuilds and cause test runs to skip tests that have no reason to rerun.
  - uses: actions/cache@v2
    if: !github.ref_protected
    with:
      path: ~/.cache/go-build
      key: ${{ env.PREFIX }}-go-build-${{ github.ref }}-${{ hashFiles('**', '!.git') }}
      restore-keys: |
        ${{ env.PREFIX }}-go-build-${{ github.ref }}-
        ${{ env.PREFIX }}-go-build-

This will allow only writes to the master branch and other branches can read from it using the restore-keys . Unfortunately, this is also not very straightforward, I get that. We are looking into options to allow user to only save or only restore cache as arguments, but nothing concrete for now. Will update if we do decide to work on that.
@headsvk You can also use the above solution with commit id as key for the main branch which will help you achieve what you want. Static keys don't make sense as the cache will never be updated in that case.

@vsvipul Got it, that looks like that would work, however a simple rm is simpler, so I think we'll keep doing that for now. Thanks!

@headsvk As I said already, we are looking into splitting the action into 2 - https://github.com/actions/cache/issues/46 . When this is done only write will be possible.
Please follow up in that issue. Closing this for now. Might revisit in the future.

authors: Makaiza headsvk leighmcculloch vsvipul

repo: actions/cache


text:
Add Feature: Write Summary as comment to the pull request

This Pull-Requests adds the feature to also put the summary of the dependency review as a comment into a pull-request. This makes it easier and more intuitive to surface the information.
To be backwards-compatible, it is turned off by default and can be turned on via an action-input.
A live example of how it looks like can be seen in this pull request in davelosert/action-test-repository:

If permissions are missing, a warning is printed as can be seen in this workflow run in davelosert/action-test-repository:

I wasn't sure if I should write any tests for the comment-pr.ts-file, as it would involve mostly mocking the octokit-library. Happy to do it on request. 🙂

Thanks, this looks pretty cool! I'll try to test things out and merge before end of week.

@courtneycl will wait on feedback before merging this.

@febuiles , @courtneycl : Any update on this?
I can fix the merge conflicts as soon as you give me a green light. 🙂

Hi @davelosert! Thanks so much for this contribution, having greater visibility in the summary is great.
I think this is okay to merge as-is since it's a configuration option. I'd like to modify the format of the summary file to be more compact--it's really quite large when used as a comment--but I won't get to that in the immediate future and don't want to stand in the way of folks using this in the mean time if they're okay with the sizeable comment. 🤓

Merging as is. I understand that a few changes in the comment formatting are coming in another PR so I'll hold on releasing a new version until this is fully fleshed out.

source: gharchive/pull-request

authors: courtneycl davelosert febuiles

repo: actions/dependency-review-action

license: MIT

license_type: permissive

license_source: github-api


text:
Newest macos-latest environment update not working for VS Code tests

Description
My team maintains the CMake Tools repository: https://github.com/microsoft/vscode-cmake-tools.
In the past week, our Mac CI started failing. In our workflow, we download CMake and Ninja and add them to the path, and then our later unit tests expect them to be on PATH. However, after the most recent macos runner image update, it doesn't seem to work, and we haven't had any changes in that time.
Also, I have a PR here that succeeded our Mac CI before the update: https://github.com/microsoft/vscode-cmake-tools/actions/runs/10801962444/job/29963128203.
Today, after the update, I manually re-ran the CI on that same code, and it failed: https://github.com/microsoft/vscode-cmake-tools/actions/runs/10801962444
You will notice the two different runner versions in the pipelines.
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[X] macOS 14
[X] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Previous version that last worked:
Runner Image
Image: macos-14-arm64
Version: 20240903.5
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240903.5/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240903.5
Version that doesn't work:
Runner Image
Image: macos-14-arm64
Version: 20240911.3
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240911.3/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240911.3
Is it regression?
Yes, 20240903.5, https://github.com/microsoft/vscode-cmake-tools/actions/runs/10801962444/job/29963128203#logs
Expected behavior
The CI to pass. Ninja should be on PATH when our tests run
Actual behavior
The CI is failing, Ninja isn't being found on path.
Specifically, it seems that VSCode is not started with the appropriate PATH. I tested a simple task run: ninja --version and it gets the version, but then VS Code doesn't. However, I've tested with macos-13 and everything passes and works as expected.
Repro steps

Install CMake and Ninja and add to path, we use the lukka/get-cmake@v3.30.3 GitHub Action.
Run our unit tests which expect Ninja on path. Any test or command that expects Ninja to be on PATH should work. See our failing unit tests to see which tests are impacted, see link above.

I think it is the same issue as #10624 (we filed the issue at the same time)

source: gharchive/issue

authors: gcampbell-msft hoxbro

repo: actions/runner-images


text:
[Windows] use java11 for android sdk

Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019,windows2022


text:
[Ubuntu] Update Kotlin installer hash check

Description
Kotlin developers changed method of publishing hashes for installer archive.
Related issue:

https://github.com/actions/runner-images/issues/9466

Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu2004,ubuntu2204

authors: erik-bershel mikhailkoliada


text:
Fix to run tests on non-x64 architecture

Description:
The test fails when run on non-x86 architectures such as Apple Silicon.
The return value of os.arch() can be replaced using Jest's spyOn() so that tests can be run on non-x86 architectures, but this does not work as expected in certain cases.
https://github.com/actions/setup-node/blob/ed1a46e9f278c17e07705c4cc19a1d9a3fca12ac/__tests__/installer.test.ts#L54-L55
In this case, os.arch() is called with the default parameter, so it cannot be replaced.
https://github.com/actions/toolkit/blob/8263c4d15d3a8616851e9c7762ce46fbb4f8c552/packages/tool-cache/src/tool-cache.ts#L638
Therefore, I have changed it to pass values instead of relying on default values.
Related issue:
N/A
Check list:

[x] Mark if documentation changes are required.
[x] Mark if tests were added or updated to cover the changes.

I have resolved the conflict. Could you please reconfirm?

repo: actions/setup-node


text:
Jobs on Windows fail without logs sometimes

Sometimes, jobs on Windows fail without logs:

Examples:

https://github.com/robotframework/robotframework/runs/1230597456
https://github.com/robotframework/robotframework/pull/3703/checks?check_run_id=1230632395

This might be related to similar issues on macOS: https://github.com/actions/virtual-environments/issues/841 or https://github.com/actions/virtual-environments/issues/736

Looks like Mms views the request as successful, but Actions views it as abandoned which might be related to the failure, but doesn't help with the logs.
ProductTrace
| where PreciseTimeStamp > ago(7d)
| where OrchestrationId contains 'fe0373b3-a054-444f-8543-79f269e6ed31.test_using_builtin_python.windows-latest_3_5'
//| where OrchestrationId contains 'fe0373b3-a054-444f-8543-79f269e6ed31'
MachinePoolRequestHistory
| where OrchestrationId contains 'fe0373b3-a054-444f-8543-79f269e6ed31.test_using_builtin_python.windows-latest_3_5'
AgentPoolRequestHistory
| where PreciseTimeStamp > ago(7d)
| where HostId == '5bd11d6c-446e-406a-b0aa-4ebb7ddcce03'
| where Result != 'Succeeded'
| where AgentSpecification contains "windows-latest"
| where OrchestrationId == 'fe0373b3-a054-444f-8543-79f269e6ed31.test_using_builtin_python.windows-latest_3_5'

Hey @tysonite
I took a look at the failure! The runner abruptly disconnected which is why the step appears to have hanged and their aren't any logs available at the step.
This is a different error than the errors we've seen with our Mac VMs. We have a team internally investigating this. As a heads up internal telemetry is showing this error to come up very very infrequently. The RCA is unfortunately still unknown on our end 🤔

@tysonite , do you still experience these issues?
When you have seen repro last time?

I haven't looked into this since I reported it.
As far as I see, issue has been confirmed from github end, no point to look for me further unless there is confirmation that fix was applied.

Thanks for initially opening this issue @tysonite
There can be various causes on our end that lead to jobs failing with no logs. Over the last few months we've made a host of improvements to reduce the chances of these errors happening. For now I'm going to close out this issue. If this happens again please open up a new issue and you can ping me.

Thanks for initially opening this issue @tysonite
There can be various causes on our end that lead to jobs failing with no logs. Over the last few months we've made a host of improvements to reduce the chances of these errors happening. For now I'm going to close out this issue. If this happens again please open up a new issue and you can ping me.

authors: ChrisWish konradpabjan maxim-lobanov tysonite

repo: actions/virtual-environments


text:
Windows: CMake MSVC configuration is very slow

On Windows VM, the CMake configuration step is very slow, taking 1-1.5 minutes on average to configure a simple C++ project.
This can be seen in meshoptimizer project that runs builds on both GitHub CI and Travis CI.
Here's an example build from GitHub CI (windows-latest, aka Windows Server 2019):
https://github.com/zeux/meshoptimizer/commit/309349f71fb444eaf9cf4d04665c70d012f941c2/checks?check_suite_id=303776539
Note that "cmake configure" step here took 1m32s for 32-bit build on Windows, and 1m56s for 64-bit build.
Here's the same project built on Travis CI:
https://travis-ci.org/zeux/meshoptimizer/builds/609870328
Note that cmake configure here took 7s for 32-bit build on Windows, and 8s for 64-bit build.
Running CMake with the same command line on my own desktop (Windows 10, Visual Studio 2019) results in ~3 seconds runtime. This is with an i7 8700K and a M.2 SSD so it's understandable that a cloud VM will be slower - Travis CI time seems reasonable here, but GitHub CI seems like a clear anomaly.
I'm not sure how to investigate this further. Please note that the CMake build here is already optimized to only require configuring one (C++) compiler. The GitHub CI times are very inconsistent, ranging from ~50 seconds to ~2 minutes as shown in the link above.
Any advice to try to narrow this down is appreciated; this seems like a software configuration issue to me but I'm not sure how to identify the specific culprit.

Just out of curiosity decided to test Windows Server 2016 VM with Visual Studio 2017 (this is a bit closer to what Travis CI is using), and in that build (https://github.com/zeux/meshoptimizer/runs/296231360) cmake configure took 2.5 minutes 😱

I tried to debug this using wtrace with no particular luck - it looks like MSBuild invocation via CMake is taking a lot of time (30-40 seconds?) but when trying to trace MSBuild itself it looks like it just takes a lot of time loading various files.
I've just finished converting another project that is not CMake based but that needs to use msbuild directly to build .vcxproj files, and the results are similarly alarming:
Here's an AppVeyor build this time (not Travis), that shows that each architecture takes 1m 30s to build - this includes two msbuild invocations that build the same code in two different configurations. Build times for these configurations are expected to be approximately equal.
https://ci.appveyor.com/project/zeux/qgrep/builds/28751238
Here's a GH build for the same project, with the two configurations split into two separate steps:
https://github.com/zeux/qgrep/runs/296512654
You can see that while the second run to MSBuild takes approximately half of the AppVeyor build time, the first run takes much much longer. Curiously, if you look at the timestamps, it doesn't look as if there's just a large delay up front - the delays seem to be spread throughout execution, accumulating near compilation of the first few files, linking, etc.
This makes me suspect that the issue is that on Windows, access to Visual Studio files takes a lot of time when you do it the first time around - perhaps lazily downloading files on demand?

While the time that CMake takes to configure is still non-negligible, it looks like it's much more consistent at about 35 seconds now, so I'm going to assume this was improved and close this.

35 seconds is still too much. Would be nice to know what happens during this period. Perhaps simple extra cache entry would make this instantly fast (for repeated run)

authors: eustas zeux


text:
Eq/Ord instances for container types

When writing tests for builtin_auto I stumbled on the fact that lists do not implement the Eq protocol! This should of course be added immediately, but let us think about what else could/should be done at the same time.
Of course, we will require that the type parameter of elements will implement Eq.

Should lists implement Ord if the parameter type does? The natural "less than" would be lexicographic order.
Sets already implement Ord. Here "less than" is subset.
Should dictionaries implement Eq? Might be useful, but I am less convinced by Ord. When is d1 less than d2? Probably if every key in d1 is present in d2, but should the values be equal or less than? I think the former; a subdictionary gives info about fewer keys, but the same info. One needs an Eq constraint on the value type.
What about tuples? I guess one would want Eq for tuples if the element types support it, but we don't even have the syntax for writing such an extension in builtin.act, even for fixed length tuples (e.g. pairs or triples).

I would propose to implement Ord for lists and dictionaries as above and leave tuples for the future. I volunteer to do it but wait for your comments.

Eq for lists, sets, dicts all make sense IMHO
I really don't have any sort of opinion on Ord for any of these. I don't think I've ever used it and haven't spent enough time meditating on what it even means to have an opinion. @nordlander would need to chime in.... or you go ahead with Eq for now and do Ord later!?

I'm all in favor of having both Eq and Ord, but of course Eq has a higher priority!

But the tuple case is interesting! In fact, it's an instance of a general problem that languages like Haskell has when abstracting over tuples, but where we might have a chance of improving things because our tuples are based on rows. It also touches on the fact that from a Python perspective it might be reasonable to expect some means of doing regular computations over tuples, like map and apply.
However, I suppose this effort will have to wait until we're done solving more urgent needs. Which is to say that I think any temporary hack needed to obtain equality for tuples is acceptable, as long as we don't forget our long-term goal is still a proper (and beautiful!) solution.

I'd like to close this issue and create a new one, more refined, to the items that still remain. @sydow do you think you can do that? You have the subject matter expertise here... :)

Ord instances for lists and docts are now implemented (pull request #719). We close this issue now; I will open a  new one for tuples.

authors: nordlander plajjan sydow

repo: actonlang/acton


text:
Set MagSafe Color to green after disabling battery charge

Firstly, is a great app. I used AlDente first, but for half a year I am using the command line version of battery and is really good.
But one thing that frustrated me from the begging is that after the battery has charged to a desired percentage (let's say 80%), the MagSafe color remains orange. For me, it would make more sense and way more happy to have the MagSafe color turn to green the moment it is finished charging, even though is not at 100%, but it is sustained at the respective chosen percentage.
Thank you for the great product and listening to my feature request.

Sometimes it switch to green, sometimes - not. But I agree with you it would be great if LED will behave like you describe.

repo: actuallymentor/battery


text:
🛑 Processors is down

In 031194b, Processors ($STATUS_URL) was down:

HTTP code: 200
Response time: 141 ms

Resolved: Processors is back up in 8af99b4.

Resolved: Processors is back up in 8af99b4.

repo: acumenlabs/status-page


text:
⚠ Processors has degraded performance

In 7f66f7c, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Processors performance has improved in 02a3ca0.


text:
try it links with URL-Get parameters

The wikidata query service allows full queries to be specified via URL get parameters
try it !
try qlever!
unfortunately does not work.
The queries are different:
# get the most frequently used properties for
# Q1667921:novel series
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX xsd:  <http://www.w3.org/2001/XMLSchema#>
SELECT ?prop ?propLabel ?count WHERE {
  {
    SELECT ?p (COUNT(DISTINCT ?item) AS ?count) WHERE {
      ?item wdt:P31 wd:Q1667921.
      ?item ql:has-predicate ?p
    } GROUP BY ?p
  }
  ?prop wikibase:directClaim ?p.
  ?prop rdfs:label ?propLabel.
  FILTER(LANG(?propLabel) = "en")
}
ORDER BY DESC (?count)

and the qlever UI IMHO only creates an URL for the query after executing it.

You can also specify the full query for the QLever-UI, you just need to wrap it in a ?query=<url-encoded-query> parameter (which is closer to the "ordinary" SPARQL endpoint API.
try it!

@joka921 thank you that is very helpful.
I am working on a "truly tabular" query generator at http://q.bitplan.com:9999/
see https://wiki.bitplan.com/index.php/Truly_Tabular_RDF for the motivation.
If you try that tool with qlever-wikidata as the endpoint by clicking the cog settings button:

and then searching for some class of your choice by pressing the home button and entering e.g.
"beer" and then clicking "Generate SPARQL query" you'll end up with quite a few "try it" buttons.
Some will work and some won't.

Alright, glad we could help, so I'll close this issue now.

Currently the features is a bit limited:
Bad Request
Request Line is too large (6609 > 4094)

could you please lift the setting a bit

Ok, this is then an issue for the UI, I will forward it.
Do you these links to be GET requests, or would it be feasible to use the POST method? (There currently is no support for the latter to my knowledge, but we have to know what you need)

For the UI Feature the GET is the important one with settings to allow queries of a decent size of a few dozen/hundred lines to be activated this way. For very large queries with thousands of lines this is probably not feasible and POST via an API will be needed. The GET feature is for interactive/tutorial queries that need explanation.

I don't understand how an application can require URLs of length larger than the standard limit of 2048. There are two alternatives: use POST requests or use the query format with the short hash.

The generated queries can easily be much larger than 2048 bytes since they also include coments. The short hash is IMHO only available after the query has been executed which defeats the purpose - or is the short hash calculation easy to reproduce which would be a valid workaround?

You can get the short hash also without executing the query: just click on the "Share" button, it's the first link on the top then.

authors: WolfgangFahl hannahbast joka921

repo: ad-freiburg/qlever


text:
Update adafruit_ble_radio.py

Fix missing timeout param documentation for receive. (present is receive_full but not receive).

It looks like black is reformatting one of the files.  You can fix it using pre-commit by following the instructions here: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code  Let me know if I can help with anything!  That should fix the CI error.

@infamy do you need any help finishing up this PR?

Yeah, i did it directly in github. i dont want to take the time to install
the pre-commit hooks for a minor documentation correction.
Alex
On Wed, Feb 16, 2022 at 4:40 PM Patrick @.***> wrote:

@infamy https://github.com/infamy do you need any help finishing up
this PR?
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Adafruit_CircuitPython_BLE_Radio/pull/22#issuecomment-1042448547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABP6D45IHWJURFGAPEFHXTU3Q7YXANCNFSM5OCFULAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: askpatrickw infamy tekktrik


text:
can't get my screen to display info / can't run script

I setup pi-hole on a pi zero w and that all works fine and is running properly. i just can't get the screen working yet.
I am NOT using the OLED kit, I'm using the Mini PiTFT.
I'm following the guide for the kit i bought here: https://learn.adafruit.com/pi-hole-ad-blocker-with-pi-zero-w?view=all
when i type the command "sudo python3 ~pi/stats.py" it just returns
Traceback (most recent call last):
File "/home/pi/stats.py", line 16, in
import adafruit_rgb_display.st7789 as st7789
ModuleNotFoundError: No module named 'adafruit_rgb_display'
I assume I must be missing a step but i don't know what.
I would really appreciate the help I am new to the raspberry pi world

I am having the same exact problem.

It sounds like you haven't installed the library. It states here that the guide assumes you have the library installed: https://learn.adafruit.com/pi-hole-ad-blocker-with-pi-zero-w/install-mini-pitft#python-setup-3049424-9
If you have already done that, it may need to be installed using sudo because of pihole needing increased privileges, which you can do by typing: sudo pip3 install adafruit-circuitpython-rgb-display

authors: Melvo8 bigguyjones makermelissa


text:
Can't build for nRF targets

Re this thread:
https://forums.adafruit.com/viewtopic.php?f=25&t=163404
Related:
https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/456

Solved in the forum thread! Upgrade to the latest (>= 0.19.0) nRF BSP.

As was discovered, 0.19.0 release did not include the fix.  The commit occurred just after the 0.19.0 release was snap'd.  The next release should include the fix.

authors: caternuson drak7 henrygab

repo: adafruit/RTClib


text:
Support for flowcharts and UML diagrams

Mermaid supports the generation of diagrams and flowcharts from the text in a similar manner as markdown.
Can we have this feature here?
Check out Mermaid github repo and find here it's running application in StackEdit App

Adding support for Mermaid would be excellent

This should be amazing

authors: Buronn fazleskhan sagarnikam123

repo: adam-p/markdown-here

license: mit

license_source: bigquery


text:
Factorize some db & cache operations code

Hello!
I tried todo some refactoring around operations, like we talked about in https://github.com/adamchainz/django-perf-rec/issues/212
I did not find an interesting way to refactor CacheRecorder and DBRecorder, even if they share the same logic, the code is really different. Also I'm not totally convinced by some of my name choices..
Anyway, is it what you had in mind ?

(also, congrats on the book release!)

Thanks 🤗

authors: adamchainz nadege

repo: adamchainz/django-perf-rec


text:
API to create/update an Maintenance event

Hello,
We would like to use staytus but will need to be able to create/update a Maintenance event via the API, triggered by our internal pipeline.
Would it be possible to add this to the published API?
Thanks, Simon.

Hi.
This would be a nice feature.

repo: adamcooke/staytus


text:
Building Paladin 2.7 errors after build but can be launch.

I have attempt two time to build Paladin 2.7 and have this error at the end of the build when it automatical launch Paladin. After this error the app can be manually launch.
`
Debug information for team /boot/home/Desktop/Paladin2.7/Paladin-2.7/Paladin/Paladin (3548):
CPU(s): 2x Intel Core
Memory: 3.00 Gio total, 540.46 Mio used
Haiku revision: hrev54154+116 Jul 12 2020 07:23 (BePC)
Active Threads:
thread 3548: Paladin (main)
thread 3598: team 3548 debug task
thread 3570: build thread
state: Debugged
	Frame		IP			Function Name
	-----------------------------------------------
	00000000	0x65a3f112	commpage_syscall + 0x2
		Disassembly:
			commpage_syscall:
			0x65a3f110:             89e1  mov %esp, %ecx
			0x65a3f112:             0f34  sysenter  <--

	0x7a1db208	0x131d0f1	debugger + 0x39
	0x7a1db248	0x132e949	__assert_fail + 0x69
	0x7a1db288	0x13a91ca	BPrivate::hoardHeap::freeBlock(BPrivate::block&, BPrivate::superblock&, int32, BPrivate::processHeap*) + 0x1ee
	0x7a1db2d8	0x13aa1a0	BPrivate::processHeap::free(void*) + 0x1dc
	0x7a1db308	0x13abba9	free + 0xa9
	0x7a1db340	0x22816f0	_._14CompileCommand + 0x60
	0x7a1db380	0x2281915	CompileCommandWriter::ToJSONFile(ostream&) + 0x1d9
	0x7a1db600	0x22850ec	ProjectBuilder::DoPostBuild() + 0x2e0
	0x7a1db750	0x2286ffb	ProjectBuilder::BuildThread(void*) + 0xe27
	0x7a1db778	0x1324ccb	thread_entry + 0x27
	00000000	0x65a3f258	commpage_thread_exit + 0

	Registers:
		  eip:	0x65a3f114
		  esp:	0x7a1db1cc
		  ebp:	0x7a1db208
		  eax:	0x000000e1
		  ebx:	0x013d99bc
		  ecx:	0x7a1db1cc
		  edx:	0x65a3f114
		  esi:	0x013c8c00
		  edi:	0x18c7d768
		   cs:	0x001b
		   ds:	0x0023
		   es:	0x0023
		   fs:	0x0063
		   gs:	0x0023
		   ss:	0x0023
		  st0:	0
		  st1:	0
		  st2:	0
		  st3:	0
		  st4:	0
		  st5:	0.8
		  st6:	3.68e+05
		  st7:	1.66e+08
		  mm0:	{0, 0, 0, 0}
		  mm1:	{0, 0, 0, 0}
		  mm2:	{0, 0, 0, 0}
		  mm3:	{0, 0, 0, 0}
		  mm4:	{0, 0, 0, 0}
		  mm5:	{0, 0, 0xcd00, 0xcccc}
		  mm6:	{0, 0, 0xe000, 0xb37a}
		  mm7:	{0xb14d, 0x9499, 0x9da7, 0x9e79}
		 xmm0:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm1:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm2:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm3:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm4:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm5:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
ID		Text Base	Text End	Data Base	Data End	Type	Name
--------------------------------------------------------------------------------
44365	0x0092f000	0x0093a000	0x0093a000	0x0093d000	lib    	/boot/system/lib/libiculx.so.57.2
44366	0x009a0000	0x009d9000	0x009d9000	0x00a10000	lib    	/boot/system/lib/libicutu.so.57.2
44355	0x00d12000	0x00fe2000	0x00fe2000	0x0107c000	lib    	/boot/system/lib/libbe.so
44369	0x011ea000	0x012e1000	0x012e1000	0x012e3000	lib    	/boot/system/lib/libtextencoding.so
44360	0x012f4000	0x013cf000	0x013cf000	0x0141b000	lib    	/boot/system/lib/libroot.so
44368	0x01451000	0x0146b000	0x0146b000	0x0146c000	lib    	/boot/system/lib/libz.so.1.2.11
44358	0x01565000	0x0157c000	0x0157c000	0x01581000	lib    	/boot/system/lib/libtranslation.so
44357	0x015c0000	0x01600000	0x01600000	0x01602000	lib    	/boot/system/lib/libpcre.so.1.2.12
44356	0x01888000	0x01a4f000	0x01a4f000	0x01ab1000	lib    	/boot/system/lib/libtracker.so
44359	0x01b8b000	0x01bbd000	0x01bbd000	0x01bca000	lib    	/boot/system/lib/libstdc++.r4.so
44363	0x01c0a000	0x01c13000	0x01c13000	0x01c15000	lib    	/boot/system/lib/libicuio.so.57.2
44353	0x01c3c000	0x01c5b000	0x01c5b000	0x01c5f000	lib    	/boot/system/runtime_loader
44362	0x01e0d000	0x0209e000	0x0209e000	0x02107000	lib    	/boot/system/lib/libicui18n.so.57.2
44364	0x02147000	0x0219a000	0x0219a000	0x021a5000	lib    	/boot/system/lib/libicule.so.57.2
44354	0x021e4000	0x022c1000	0x022c1000	0x022eb000	app    	/boot/home/Desktop/Paladin2.7/Paladin-2.7/Paladin/Paladin
44367	0x02323000	0x02495000	0x02495000	0x024c9000	lib    	/boot/system/lib/libicuuc.so.57.2
44361	0x027cb000	0x0404b000	0x0404b000	0x0404c000	lib    	/boot/system/lib/libicudata.so.57.2
44352	0x65a3f000	0x65a47000	0x00000000	0x00000000	system 	commpage
Areas:
ID		Base		End			Size (KiB)	Protection	Locking			Name
--------------------------------------------------------------------------------
134206	0x001cd000	0x001dd000	        64	rw-        	full          	rld heap
134205	0x00208000	0x00218000	        64	rw-        	full          	rld heap
134204	0x00245000	0x0024d000	        32	rw-        	full          	rld heap
134163	0x0033a000	0x0033b000	         4	rw-S, u:(0x100)	full          	rld_debug
134162	0x0034f000	0x0035f000	        64	rw-        	full          	rld heap
134192	0x0092f000	0x0093a000	        44	r-x        	full          	libiculx.so.57.2_seg0ro
134193	0x0093a000	0x0093d000	        12	rw-        	full          	libiculx.so.57.2_seg1rw
134194	0x009a0000	0x009d9000	       228	r-x        	full          	libicutu.so.57.2_seg0ro
134195	0x009d9000	0x009de000	        20	rw-        	full          	libicutu.so.57.2_seg1rw
134196	0x009de000	0x00a10000	       200	rw-        	full          	libicutu.so.57.2_seg2rw
134167	0x00d12000	0x00fe2000	      2880	r-x        	full          	libbe.so_seg0ro
134168	0x00fe2000	0x0107a000	       608	rw-        	full          	libbe.so_seg1rw
134169	0x0107a000	0x0107c000	         8	rw-        	full          	libbe.so_seg2rw
134202	0x011ea000	0x012e1000	       988	r-x        	full          	libtextencoding.so_seg0ro
134203	0x012e1000	0x012e3000	         8	rw-        	full          	libtextencoding.so_seg1rw
134180	0x012f4000	0x013cf000	       876	r-x        	full          	libroot.so_seg0ro
134181	0x013cf000	0x013e3000	        80	rw-        	full          	libroot.so_seg1rw
134182	0x013e3000	0x0141b000	       224	rw-        	full          	libroot.so_seg2rw
134200	0x01451000	0x0146b000	       104	r-x        	full          	libz.so.1.2.11_seg0ro
134201	0x0146b000	0x0146c000	         4	rw-        	full          	libz.so.1.2.11_seg1rw
134175	0x01565000	0x0157c000	        92	r-x        	full          	libtranslation.so_seg0ro
134176	0x0157c000	0x01581000	        20	rw-        	full          	libtranslation.so_seg1rw
134173	0x015c0000	0x01600000	       256	r-x        	full          	libpcre.so.1.2.12_seg0ro
134174	0x01600000	0x01602000	         8	rw-        	full          	libpcre.so.1.2.12_seg1rw
134170	0x01888000	0x01a4f000	      1820	r-x        	full          	libtracker.so_seg0ro
134171	0x01a4f000	0x01ab0000	       388	rw-        	full          	libtracker.so_seg1rw
134172	0x01ab0000	0x01ab1000	         4	rw-        	full          	libtracker.so_seg2rw
134177	0x01b8b000	0x01bbd000	       200	r-x        	full          	libstdc++.r4.so_seg0ro
134178	0x01bbd000	0x01bc8000	        44	rw-        	full          	libstdc++.r4.so_seg1rw
134179	0x01bc8000	0x01bca000	         8	rw-        	full          	libstdc++.r4.so_seg2rw
134188	0x01c0a000	0x01c13000	        36	r-x        	full          	libicuio.so.57.2_seg0ro
134189	0x01c13000	0x01c15000	         8	rw-        	full          	libicuio.so.57.2_seg1rw
134159	0x01c3c000	0x01c5b000	       124	r-x        	full          	runtime_loader_seg0ro
134160	0x01c5b000	0x01c5d000	         8	rw-        	full          	runtime_loader_seg1rw
134161	0x01c5d000	0x01c5f000	         8	rw-        	full          	runtime_loader_bss1
134185	0x01e0d000	0x0209e000	      2628	r-x        	full          	libicui18n.so.57.2_seg0ro
134186	0x0209e000	0x02106000	       416	rw-        	full          	libicui18n.so.57.2_seg1rw
134187	0x02106000	0x02107000	         4	rw-        	full          	libicui18n.so.57.2_seg2rw
134190	0x02147000	0x0219a000	       332	r-x        	full          	libicule.so.57.2_seg0ro
134191	0x0219a000	0x021a5000	        44	rw-        	full          	libicule.so.57.2_seg1rw
134164	0x021e4000	0x022c1000	       884	r-x        	full          	Paladin_seg0ro
134165	0x022c1000	0x022ea000	       164	rw-        	full          	Paladin_seg1rw
134166	0x022ea000	0x022eb000	         4	rw-        	full          	Paladin_seg2rw
134197	0x02323000	0x02495000	      1480	r-x        	full          	libicuuc.so.57.2_seg0ro
134198	0x02495000	0x024c8000	       204	rw-        	full          	libicuuc.so.57.2_seg1rw
134199	0x024c8000	0x024c9000	         4	rw-        	full          	libicuuc.so.57.2_seg2rw
134183	0x027cb000	0x0404b000	     25088	r-x        	full          	libicudata.so.57.2_seg0ro
134184	0x0404b000	0x0404c000	         4	rw-        	full          	libicudata.so.57.2_seg1rw
134207	0x18bf9000	0x18ca9000	       704	rw-, u:(0x100)	full          	heap
134156	0x61385000	0x61389000	        16	rw-        	full          	user area
134158	0x65a3f000	0x65a47000	        32	r-xS       	full          	commpage
134216	0x65a47000	0x65a48000	         4	rw-S, u:(0x100)	full          	server_memory
134157	0x71162000	0x72168000	     16408	rw-s       	full          	Paladin_3548_stack
134218	0x72168000	0x72188000	       128	rw-S, u:(0x100)	full          	server_memory
135325	0x7a198000	0x7a1dd000	       276	rw-s       	full          	build thread_3570_stack
Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel
Semaphores:
ID		Count	Last Holder	Name
------------------------------------------------------------
116338	    0	          0	Catalog
116339	    0	       1874	Settings
116340	    0	          0	some BLocker
118506	    0	        311	token space
118511	    0	          0	some BBlockCache lock
118512	    0	          0	Catalog
118513	    0	          0	some BLocker
118514	    0	          0	some BLocker
118515	    0	        311	BLooperList lock
118516	    0	        311	Light Lock
118517	    0	          0	AppServerLink_sLock
118518	    0	          0	LocaleRosterData
118519	    0	          0	some BLocker
118521	    0	          0	Catalog
118522	    0	          0	PeriodicUpdatePoses
118523	    0	          0	Light Lock
118524	    0	        311	undo
118525	    0	       1874	some BLocker
118526	    0	        311	some BLocker
118527	    0	        311	BMessageQueue Lock
118528	    0	        311	AppLooperPort
118541	    0	          0	screen list
118542	    0	          0	clipboard
118543	    0	          0	width buffer
118605	    0	          0	some BLocker
118606	    0	       3570	some BLocker
118607	    0	          0	some BLocker
118617	    0	          0	some BLocker
118626	    0	          0	some BLocker
118627	    0	          0	some BLocker
`

This is fixed for the current Paladin 2.8~git build submitted for Haiku.

Where do you find the 2.8 version? On Haikuport I see 2.7 seem the last.

Ref: https://github.com/haikuports/haikuports/pull/5200
Recipe: https://github.com/kenmays/haikuports/tree/paladin-2/haiku-apps/paladin

Thanks, I will try cause I not really understand how work a *.recipe file...

repo: adamfowleruk/Paladin


text:
Release

Is it possible to have a release? Even an unstable one? I am packing spyre with conda and it would be nice to point to a release instead of a commit hash.
Thanks for spyre!

the most recent version of spyre is available on pypi: https://pypi.python.org/pypi/DataSpyre

authors: adamhajari ocefpaf

repo: adamhajari/spyre


text:
Skipping entries with InvalidFormatException

Firstly, thanks for such an terrific library!
Quick question - is it possible to skip entries with an InvalidFormatException?
I have some rar files (comicbook CBR files), that seem to have been corrupted. WinRar will skip over those files, but SharpCompress throws an SharpCompress.Common.InvalidFormatException: 'Unknown Rar Header: 205' exception.
It seems to happen on the MoveNext() of the Entries enumerator.
using (var archive = RarArchive.Open(fileStream))
{
    //foreach (var entry in archive.Entries)
    var entries = archive.Entries.GetEnumerator();
    while (entries.MoveNext()) // <-- SharpCompress.Common.InvalidFormatException: 'Unknown Rar Header: 205'
...
}

SharpComrpess is more raw than WinRAR.  You'll have to manually try/catch errors like that.
If there's a better way to handle corrupt entries and skip them, I'm open to changing the API.

Strangely, if I call to RarArchive.Entries.Count, before looping through the entries, the exception isn't raised.

The entries are built only using the header that has file info then skips to the next header without reading everything.
It's likely that a file is stored/compressed incorrectly but the recorded sizes are fine.

I think thats it. I tried creating some purposefully corrupted RAR files to try and reproduce the issue, but couldn't reproduce the issue (only ended up creating invalid vints or changing the number of bytes in the file).
I'm happy to close this issue as it's clearly by design and isn't a bug in the code.
At this point, I don't have any API suggestions to improve things - it'd be good to know if an entry is invalid or can't be read, and be able to skip to the next item - but how you would do so cleanly I'm not too sure (perhaps overload IEnumerator.MoveNext() with an option to ignore bad entries / add an State/Exception field to the collection).

Yeah, the problem is that you can only "detect" it by trying to decompress the file.  Putting a try/catch in the correct place is the trick but doing it in a clean way is the hard part.

authors: adamhathcock pgodwin

repo: adamhathcock/sharpcompress


text:
[setup] Capstone 1 Project

In this Capstone 1 project, the following were implemented;

Event website for Community Spark annual event
Home and About pages were implemented
The pages are responsive, adapting to small and wide screens
Javascript is used to generate the speakers' section, demonstrating dynamic loading of a web-page contents
A contextual button click was implemented for mobile display of speakers section
The navigation menu is also adapted for mobile and desktop displays

A video presentation on the project here

@Qoosim Thank you for your review.
Considering how expensive review count is, could please provide more insight on sections left out?
Only Live demo and walkthrough which were added in later end of Portfolio project were remove
This is the Readme used early, with no error flagged about it

This is the current Readme

Please provide more insight

@iambenkis Thank you for your painstaking review and suggestions.
I have implemented them all


text:
聊天记录框展开后无法缩回

RT 将聊天记录框点击查看更多展开后，无法缩回。

太多了，超出屏幕了，有空再改改


text:
在cf部署work后，自定义服务器还是没办法连接

在cf部署work后，绑定了域名，国内网络也能访问成功，但是我用发布的文件直接本地打开后，在自定义服务器里填上域名还是没办法连接，查询了一下好像要把work状态码设置为400，但是我找不到哪里设置，有没有大神帮帮忙

设置用户也不能使用


text:
Useful extension - Clr Heap Allocation Analyzer

Not sure under which section of tools it should go, or if a new extension section is needed, but the Clr Heap Allocation Analyzer is usually a useful tool to detect costly allocations: https://marketplace.visualstudio.com/items?itemName=MukulSabharwal.ClrHeapAllocationAnalyzer

@Thieum thanks for a great suggestion, I've added it under Performance Tools -> Analyzers section

authors: Thieum adamsitnik

repo: adamsitnik/awesome-dot-net-performance


text:
🛑 mastodon-relay.moew.science is down

In f517c07, mastodon-relay.moew.science (https://mastodon-relay.moew.science/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mastodon-relay.moew.science is back up in 32736f2 after 2 hours, 15 minutes.


text:
🛑 relay.fedi.agency is down

In 1d89f72, relay.fedi.agency (https://relay.fedi.agency/actor) was down:

HTTP code: 502
Response time: 527 ms

Resolved: relay.fedi.agency is back up in 9c86543.


text:
🛑 relay.glauca.space is down

In 8c0d067, relay.glauca.space (https://relay.glauca.space/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relay.glauca.space is back up in 65f4b01.


text:
🛑 mastodon-relay.moew.science is down

In 4e0edcf, mastodon-relay.moew.science (https://mastodon-relay.moew.science/actor) was down:

HTTP code: 502
Response time: 563 ms

Resolved: mastodon-relay.moew.science is back up in 8f3b9f0.


text:
🛑 relay.froth.zone is down

In 8240499, relay.froth.zone (https://relay.froth.zone/actor) was down:

HTTP code: 503
Response time: 2127 ms

Resolved: relay.froth.zone is back up in 5dffdb7.


text:
🛑 mastodon-relay.moew.science is down

In 934b654, mastodon-relay.moew.science (https://mastodon-relay.moew.science/actor) was down:

HTTP code: 502
Response time: 446 ms

Resolved: mastodon-relay.moew.science is back up in 4eb371b.


text:
🛑 relay.froth.zone is down

In 95dd423, relay.froth.zone (https://relay.froth.zone/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relay.froth.zone is back up in 7711f29.


text:
🛑 mastodon-relay.moew.science is down

In 9ee76ff, mastodon-relay.moew.science (https://mastodon-relay.moew.science/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mastodon-relay.moew.science is back up in d7a235c after 9 minutes.


text:
🛑 mastodon-relay.moew.science is down

In 1a5198b, mastodon-relay.moew.science (https://mastodon-relay.moew.science/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mastodon-relay.moew.science is back up in a2d72a9 after 22 minutes.


text:
Change sourcemap on development to eval-source-map

It should be changed from cheap-eval-source-map to eval-source-map for better access to the main source code.

already fixed

repo: adcpm/busy


text:
write artikel about loki

Publish Checkliste

Meta (abzuhaken durch den Autor)

[x] Artikeldatei am richtigen Ort abgelegt
[x] Autoreninfo gepflegt
[x] Metadaten gepflegt:

[x] "title" vergeben
[x] "author_ids" angegeben
[x] "categories" enthält maximal eine der Hauptkategorien (Architektur, Branchen, Digital Experience, Inside adesso, KI, Methodik, Softwareentwicklung)
[x] "tags" enthält (beliebige) passende Tags

[x] Der blogpost-checker hat die Richtigkeit der Metadaten bestätigt (siehe CI Check)

Text (abzuhaken durch den Autor)

[x] Teaser entspricht den Vorgaben
[x] Rechtschreibung korrigiert
[x] Ein Satz pro Zeile
[ ] Bilder sind korrekt in den Artikel eingebunden
[x] Überschriften entsprechen den Vorgaben
[x] Code-Snippets wurden mit Syntax Highlighting versehen
[ ] Der Artikel wurde in der Vorschau geprüft
[ ] Auf gendergerechte Formulierungen wurde geachtet

Review (abzuhaken durch den Reviewer)

[ ] Rechtschreibung korrigiert
[ ] Der Artikel wurde in der Vorschau geprüft
[ ] Auf gendergerechte Formulierungen wurde geachtet
[ ] Der Autor ist bei CCO hinterlegt
[ ] CCO wurde über neuen Artikel informiert
[ ] Date-Angaben

[ ] stimmen im Header und im Dateinamen überein
[ ] stehen auf dem heutigen Tag (aber in der Vergangenheit)

Blogpost seems formally correct and ready for review!

Blogpost seems formally correct and ready for review!

Blogpost seems formally correct and ready for review!

Blogpost seems formally correct and ready for review!

@hesch kannst du dir die eine Anmerkung in deiner Bio noch ansehen?

Hallo @hesch! Das liest sich schon gut, allerdings würde ich mir noch wünschen, dass Du noch ein Feature erklärst. Gegenüber vielen Getting Started-Guides könntest Du hier noch erklären, wie wir ein typisches Log einer Spring Boot-Anwendung parsen können. Dazu gehört auch, Stacktraces als einen Eintrag durch die multiline-Stage in Promtail zu erfassen. Damit könntest Du die Blogpost nochmal von den anderen Guides im Netz abheben und für unsere Java-lastige Welt eine notwendige Config erläutern.

Wird aufgrund Inaktivität geschlossen.

repo: adessoSE/devblog


text:
Add resume song after restart bot

Please add resume last song after restart/crash bot if a song was playing

already applied in the update


text:
issue in running, هل عندك علم في هذي المشكله ام لا

Traceback (most recent call last):
File "C:/Users/ahmad/PycharmProjects/gittingdata/سثؤخىي صشغ/textblobarabic.py", line 5, in
blobb = TextBlob("""هندسة البرمجيات هي دراسة تصميم وتنفيذ وتعديل البرمجيات بما يضمن توفر هذه البرمجيات بجودة عالية وتكلفة معقولة متاحة للجميع وقابلة للتطوير فيما بعد وسريعة للبناء. وهندسة البرمجيات تقوم على أسس ونظريات من الهندسة وعلوم الحاسب كمبدأ ال Functional Structure من الهندسة والذي يعتمد على مبدأ تصميم أجزاء صغيرة تتجانس في العمل مع بعضها لتشكل عمل الك""")
File "C:\Users\ahmad\PycharmProjects\gittingdata\venv\lib\site-packages\textblob_ar\blob.py", line 71, in init
_pos_tagger = pos_tagger if pos_tagger is not None else StanfordPartOfSpeechTagger()
File "C:\Users\ahmad\PycharmProjects\gittingdata\venv\lib\site-packages\textblob_ar\pos_tagger.py", line 12, in init
self._tagger = StanfordPOSTagger(modelPath, modelJar)
File "C:\Users\ahmad\PycharmProjects\gittingdata\venv\lib\site-packages\nltk\tag\stanford.py", line 160, in init
super(StanfordPOSTagger, self).init(*args, **kwargs)
File "C:\Users\ahmad\PycharmProjects\gittingdata\venv\lib\site-packages\nltk\tag\stanford.py", line 74, in init
self._JAR, path_to_jar, searchpath=(), url=_stanford_url, verbose=verbose
File "C:\Users\ahmad\PycharmProjects\gittingdata\venv\lib\site-packages\nltk\internals.py", line 854, in find_jar
name_pattern, path_to_jar, env_vars, searchpath, url, verbose, is_regex
File "C:\Users\ahmad\PycharmProjects\gittingdata\venv\lib\site-packages\nltk\internals.py", line 740, in find_jar_iter
'Could not find %s jar file at %s' % (name_pattern, path_to_jar)
LookupError: Could not find stanford-postagger.jar jar file at textblob_ar/data/model.jar

i have the solution's

هل وجدت حلا ام لا؟

any solution was found?

yes
في الأحد، 11 أكتوبر 2020 في 7:47 م تمت كتابة ما يلي بواسطة mahdiMokadem
<notifications@github.com>:

any solution was found?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adhaamehab/textblob-ar/issues/18#issuecomment-706733297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUE4W6WZTM3VLCCJRXFG6DSKHOS7ANCNFSM4KZKSLDQ
.

ok, so what was the solution?

hi guys, i have the same problem :'(

i have the same problem , can any one please share the solution   ?

repo: adhaamehab/textblob-ar


text:
add missing sip_remove_header()

This is the counterpart to sip_add_header()

@guss77 Looks good! Would you mind also adding a test similar to the one for sip_add_header?

This is very nice, thank you!

:+1:

Hey guys, I understand there's no activity on this repo? I'm cleaning up my stuff and would like to remove my fork with the PR, as I'm not using Adhearsion anymore.
If you still want to merge this PR, please do, otherwise I see no reason for me to maintain it.

authors: bklang guss77 lpradovera

repo: adhearsion/adhearsion-asterisk


text:
Feature/input

Interruptible input features using the formats discussed. Voxeo grammar needs be replaced with GRXML.
At the moment, I can not get partial input out of the Input component: when allowed to time out between digits, a RayoNode object is sent as the callback event without any meaningful data.
UPDATE: interruptible_play has been restored to original functionality.
I am however having unrelated issues with playing audio files instead of TTS, which will need a look soon.

hello! Luca Pradovera @ 10:19
as yo ucan tell, i have ran into a bit of trouble with #input 10:19
i was thinking of rethinking a few functionalities 10:19
because as of now i can get #input to work bu interruptible is totally broken/useless 10:20
been thinking over it the whole weekend 10:20
rather, it is not useless at all 10:20
it's just a bad input clone 10:20
but yesterady i had this illumination 10:20
PB/Rayo only allows one input and one output components to be "live" at the same moment 10:21
(we know because we tried to do the opposite and it did not work" 10:21
so i was thinking: since output needs to be able to stop input and vice-versa 10:21
i can't simply pass one to the other, egg-and-chicken 10:21
what would be the proper ahn way to have a "registry" of sort, like a @current_output and a @current_input, probably wrapped in functions? 10:22
the idea is to make interruptible_play behave like it should (simply an output that can be stopped) 10:22
but i don't want to mess with threads and similar unless it's necesary 10:23
basically, the solution to it all lies in rethinking what should do what 10:23
interruptible_play is currently basically #input 10:24
what's the correct registry pattern to use to have those two objects available, method wrapping aside? 10:24
rayo enforces them as singletons "de facto" 10:24

You could give Adhearsion::Call a component registry Ben Langfeld @ 10:25

basically only one input and output components can be live at the same moment Luca Pradovera @ 10:25

Use a simple class with getter and setter methods with a mutex Ben Langfeld @ 10:25

current_input= and current_output= Luca Pradovera @ 10:26

Sure, or just #<< and the registry could figure it out Ben Langfeld @ 10:26

or key-based? Luca Pradovera @ 10:26
does what i said make sense to you? not having DTMF means having to think out of the box 10:27
i might even be able to do away with the two-inputs kludge, but i am not sure 10:27
but where do the two objects get stored? in @ variables? 10:28

It does make sense, yes. Could you please make a note on the pull request for reference? Ben Langfeld @ 10:28
Sure 10:28

slapping together something fast so i can paste this conversation in it Luca Pradovera @ 10:28
i thought "hey, rayo treats them as single objects, why don't i?" 10:29
having a newborn baby means LOTS more awake time you can use to think .-) 10:29

heh Ben Langfeld @ 10:29

well, actually, not, just hte first night went slightly bad, last night i got my 6 hours like nothing Luca Pradovera @ 10:29
anyway 10:29
getting to code 10:29
thanks 10:30
btw, we are planning to meet in Tel Aviv a couple weeks after the orlando meeting to close up plugins 10:31
Jajah has plenty of rooms 10:31
let me know if you need me to sabotage anything .-) 10:32

After? I was hoping that plugins would be finished before that. Ben Langfeld @ 10:32

then no Tel Aviv trip and we finish them before Luca Pradovera @ 10:33
it looked like a longish time to me too, but i didn't put the date forward myself 10:34

Ok, we'll discuss it tomorrow during sprint planning Ben Langfeld @ 10:34

well, take this as "i will be making one more pairing trip somewhere in December to an European destination to do whatever has to be done" Luca Pradovera @ 10:34

Ok

I am having unrelated issues when playing audio files as opposed to TTS, will bring it up ASAP.

The second test on wait_for_digit in Input fails, returning nil instead of the expected 5.
This is interesting as the almost-same test on output/stream_file works.
Not seeing the difference!
Tests aside, wait_for_digit is complete and working.

authors: benlangfeld polysics

repo: adhearsion/adhearsion


text:
Cleanups + lint + test in CI

The sibling PR to https://github.com/adieyal/sd-dynamic-prompts/pull/201, this enables linting via pre-commit + ruff and testing in GitHub Actions.

Thanks for this - always good to have someone look at your code with a more critical eye.

Thanks for this - always good to have someone look at your code with a more critical eye.

You're welcome! I also have a couple of improvement ideas (PRs forthcoming 😁) but I thought it'd be nice to clean things up a bit first, so here we are. :)

authors: adieyal akx

repo: adieyal/dynamicprompts


text:
🛑 Covid Portal is down

In bf2fbf4, Covid Portal (http://covid19.interieur.gov.ma/Operation_ATTADAMON.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Covid Portal is back up in 1b461b3.

repo: adnane-X-tebbaa/DownTime-Score


text:
Timeout too short when sending a proof

Hi,
I'm using SDK version 1.1.1. Trying to send a proof via the LaunchFCP method (NLWS.nmsDelivery.launchFCP (deliveryId)), I get an error due to the timeout being exceeded:
My code (delivery object was previously created and populated):
log(`Sending proof for delivery ${delivery["label"]}`);
await NLWS.nmsDelivery.launchFCP(delivery["id"]);
log(`Proof for delivery ${delivery["label"]} sent`);

My logs:
[11:37:24] Sending proof for delivery **********
[11:37:30] 500 - Error calling method 'nms:delivery#LaunchFCP': Error: timeout of 5000ms exceeded

Checking the transport.js file - timeout property, line 61 - I can see that it is set to 5000, as indicated by the error message.
By increasing this value, for example to 10000, I can see that the proof is sent successfully:
[12:15:09] Sending proof for delivery **********
[12:15:19] Proof for delivery ********** sent

So I'd like to ask if it's possible to increase this value or make it configurable, for example with a parameter when creating the connection object, so that anyone can customize it according to their needs.
Thanks in advance.

Hi @francescor93 , yes this is possible. The SDK supports changing the transport library. By default, it's using axios (assuming you're running server-side on node.js). Check the https://github.com/adobe/acc-js-sdk/blob/master/README.md#the-transport-protocol section of the readme. You should be able to create your own transport class where you can, for instance change the timeout. I think a better solution would be to use a campaign job instead. Basically, your API call creates the job and will return a job id. The server will execute the job that you can poll for completion. This is how ACC UI handles such long running operations. Give me a couple of days to research the right syntax, it's not something I'm really familiar with

Hi again and thanks for your quick reply.
Following your advice, I've created my own transport class based on my needs and I can confirm that it works, so, personally, I think that no further changes are needed. If you can also explain me how I could handle this case using an Adobe Campaign job, I'll be happy to try this methodology too, but if it takes to you too long, no worries, I'm already satisfied with it.
Thanks again for the support and for maintaining this really good library.

Recent versions of the SDK now have the ability to set the timeout, either globally, or even on a per-call basis. See https://github.com/adobe/acc-js-sdk/blob/master/README.md#timeouts

repo: adobe/acc-js-sdk


text:
Update to Analyser 1.0.x

This includes removing the separate analyser module and doing the
analyser in the 'all' module instead which is the new best practice.
Description
The aemanalyser-maven-plugin has been released in the 1.0.x version. With that release comes a change in the way it's used in projects, in that it shouldn't be in a separate Maven module any more, but rather be invoked from the existing all module.
This PR refactors the archetype to follow this new usage pattern.
Motivation and Context
It solves this issue mentioned in #679
How Has This Been Tested?
The changes are tested as part of the integration tests of this project.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@herzog31 thanks for the review. Any chance of getting it merged?

repo: adobe/aem-project-archetype


text:
Add edgemedia to bom

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Added in https://github.com/adobe/aepsdk-commons/pull/5

repo: adobe/aepsdk-commons


text:
Calculate maximum hit queue size

Task description

Calculate the maximum queue size based on average hit size and available memory.
Revisit the retry logic and see if improvements can be made.

Additional implementation details or code snippet(s)

After the discussion we decided to keep the logic simple and have the queue limit set to 50.
Assuming 1 hit of 1kb, queue would occupy maximum 50 kb of cache memory.

repo: adobe/aepsdk-roku


text:
Kmikawa/readme

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x ] I have signed the Adobe Open Source CLA.
[x ] My code follows the code style of this project.
[x ] My change requires a change to the documentation.
[x ] I have updated the documentation accordingly.
[x ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x ] All new and existing tests passed.

👍

👍

authors: kmikawa noahhoffman

repo: adobe/aio-lib-photoshop-api


text:
Multibrowser live preview not updating

When I click on the live preview button it just stays on half lighting bolt and opens Firefox, but when I type nothing happens.

Developer console content
I'm Using Ubuntu 12.04 32bit.

@thediex09  Can you try Debug > Reload without extensions to rule out any extension related issues.

repo: adobe/brackets


text:
Editor focus erratic and UI issues with "activation follows mouse" (x-mouse) on Windows

Brackets Version: 1.5.0-16538
OS: Windows 7 Ultimate x64 SP1, English
Extensions: I have confirmed the issue exists when loading with "Reload without extensions" (I'm using PHP-oriented extensions only)
Previous versions: This is my first version of the product, so I cannot tell if it was occuring on previous versions.
Errors: none when the issue occurs. The only error I have in the console is "PreferencesManager.convertPreferences() has been deprecated." -- Please look to the bottom of the report for full contents of this error.
ISSUE: interface issues (title bar flashing), losing focus with the editor.
NOTE: the issue is intermittent - sometimes it'll happen, sometimes it won't.

--------------------------------
STEPS TO REPRODUCE:
METHOD 1

Enable "activation follows mouse" (with 0ms delay) in system preferences (a registry edit may be required) and log out/in to enable. (this only needs to happen once per user account)
Launch Brackets
Open a file to edit
Alt+Tab away from the editor
Alt+Tab back to the editor
(optional) Start typing

What I expected to happen: I expected the editor to receive focus in its window, and I expected to be able to continue writing code from that point on. (I do this to write a bit, refresh page/reload code in test suite, and then continue)
What actually happens: the editor goes all "wonky", the title bar is flashing like crazy, and the keyboard focus is actually with the window that was just active (browser, terminal etc.). Sometimes the previous window will "flash through" the Brackets interface, alerting me to the error.
Sometimes I'll be able to type one letter in (that's why there's an optional step) before this happens, and sometimes it'll happen right away.

METHOD 2

Enable "activation follows mouse" (with 0ms delay) in system preferences (a registry edit may be required) and log out/in to enable. (this only needs to happen once per user account)
Launch Brackets
Open a file to edit
Type something in
Hit Ctrl+S to save
(optional) Start typing

What I expected to happen: I expected to be able to continue writing code from that point on.
What actually happens: the editor goes all "wonky", the title bar is flashing like crazy, and the keyboard focus is with the window directly below the Brackets interface (or with the desktop otherwise). Sometimes the window below will "flash through" the Brackets interface, alerting me to the error.
Sometimes I'll be able to type one letter in (that's why there's an optional step) before this happens, and sometimes it'll happen right away.

Steps to recover:
Method 1: Alt+Tab out of the editor and back into the editor.
Method 2: click within the editor window / editor title bar (not where the underlying window is "flashing through").

--------------------------------
Comments:
Note that I do realize that this issue, if related directly to my mouse/focus settings, probably affects only a small portion of users. (I have not tested if the issue also happens with the X-Mouse program)
It may be indicative of a deeper underlying issue within the window environment, so I felt it was better if I reported it.
Please note that this issue is preventing me from editing my code (enough to have me actually register an account on github and file a bug report!), and if it's not fixed, I will be forced to move on to other code editing software (I am currently test-driving a number of editors). The bug is absolutely devastating to my coding process.

Full error information (see top for explanation):
PreferencesManager.convertPreferences() has been deprecated. Please upgrade to the current Preferences system (https://github.com/adobe/brackets/wiki/Preferences-System#conversion-from-the-pre-36-preferences-system).
at Object.convertPreferences (/preferences/PreferencesManager.js:325:28)
at Object.eval (/utils/Resizer.js:548:24)

Note that I do realize that this issue, if related directly to my mouse/focus settings, probably affects only a small portion of users. (I have not tested if the issue also happens with the X-Mouse program)
It may be indicative of a deeper underlying issue within the window environment, so I felt it was better if I reported it.
Please note that this issue is preventing me from editing my code (enough to have me actually register an account on github and file a bug report!), and if it's not fixed, I will be forced to move on to other code editing software (I am currently test-driving a number of editors). The bug is absolutely devastating to my coding process.

Upon further investigation it seems that this issue -> https://github.com/adobe/brackets/issues/11131 (Brackets is losing keyboard focus) <-- could very well be related and indicate a bigger problem with window switching in general.

I would like to note that I am at this point actively using a different editor, but I am available to provide reproductions, videos, any required debug information etc. and to generally provide requested feedback in order to assist in debugging this issue.


text:
Code hint window

Is there a way to make code hint window wider? So the hint doesn't break on two lines.
Thanks

Hi @kvarel, No preference to control hint window size. Are you getting these hints from some extension?

authors: kvarel navch


text:
[Linux] Buffer for node stdout exceeded max size (4GB), clearing buffer

I'm running Brackets from the command line and I've seen this output after running it for a while. I don't know it this is bad, but I was alarmed by the size of the buffer and what might have been written to it.

I'm having a similar problem.
Step Description: run from the command line -> Ctrl+Q or File -> Quit

authors: awissu ingorichter


text:
32 bit deb package requires 64 bit libraries

This is on a i386 Debian jessie system:
# dpkg -i Brackets.Release.0.45.32-bit.deb
(Reading database ... 350326 files and directories currently installed.)
Preparing to unpack Brackets.Release.0.45.32-bit.deb ...
Unpacking brackets (0.45.0-15087) over (0.45.0-15087) ...
Setting up brackets (0.45.0-15087) ...
libnspr4.so.0d not found in /lib/x86_64-linux-gnu/libnspr4.so or /usr/lib/x86_64-linux-gnu/libnspr4.so.
dpkg: error processing package brackets (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for menu (2.1.47) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 brackets

After I install libnss3-1d:amd64:
# dpkg -i Brackets.Release.0.45.32-bit.deb
(Reading database ... 350336 files and directories currently installed.)
Preparing to unpack Brackets.Release.0.45.32-bit.deb ...
Unpacking brackets (0.45.0-15087) over (0.45.0-15087) ...
Setting up brackets (0.45.0-15087) ...
libssl3.so.1d not found in /lib/x86_64-linux-gnu/libssl3.so or /usr/lib/x86_64-linux-gnu/libssl3.so.
dpkg: error processing package brackets (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for menu (2.1.47) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 brackets

After that I also installed libnspr4-0d:amd64 so brackets package installed OK, but it still couldn't start:
$ brackets
/usr/bin/brackets: error while loading shared libraries: libudev.so.0: wrong ELF class: ELFCLASS64
$ ldd /opt/brackets/Brackets | grep found
        libudev.so.0 => not found

Unfortunately there is no libudev0 in jessie but libudev1. Workaround is getting an older copy from Debian Snapshot archive.
In conclusion:

32 bit deb package installation fails when 64 bit libraries are missing
deb package doesn't declare its real dependencies which causes it to be DOA
IMO deb package should bundle libudev0 or should depend on a newer version since this library version is missing on Ubuntu 12.10+ and Debian jessie+.

U can limply create a symbolic link with the old name referencing the new library like this "sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0" - this is the location for linux mint. On other systems u probably have to adjust the path...

authors: mdirik sakulstra


text:
Bump version for app and helm chart

cluster-registry-client -> v1.5.6
cluster-registry-api -> v1.5.6
helm-chart -> 0.2.5

Maybe we should bump the chart version after the release PR, otherwise it will fail since there is 1.5.6 yet

authors: radu-catalina victorvarza

repo: adobe/cluster-registry


text:
Simplifies workspace credentials retrieval

With this new change, the conditional logic to retrieve the workspace credentials of a project will no longer be hardcoded in the template itself. Also all of the Adobe packages in the package.json were updated to the latest version to date.
Description
The new 4.2.0 release of the aio-cli-lib-console library, includes a new function that takes care of the conditional logic to retrieve a workspace credential depending on the type of auth providers. Based on that, it's no longer needed to have the same logic added to the template. The rest of the Adobe packages were also updated to the latest version to date.
Related Issue
Motivation and Context
To keep the template DRY.
How Has This Been Tested?
-Initializing and deploying an app for a JWT project
-Initializing and deploying an app for an OAuth project
-Initializing an deploying an app that has migrated from JWT to OAuth.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

We could consider incrementing the version in package.json to 1.0.0-beta.9

We could consider incrementing the version in package.json to 1.0.0-beta.9

Will do!

repo: adobe/commerce-events-ext-tpl


text:
Fix tooling on Windows

Closes https://github.com/adobe/react-spectrum/issues/796
Not sure which make targets are still used and which are obsolete.
Todo

[ ] Write a script that does the same as yarn icons but only builds changed files (like make does)

This PR has a little bit of tweaking to move/rename some of those commands as well. We don't have to use it, but figured I'd give you the heads up

Was This PR supposed to be a link? Or do you mean that I should leave the makefile as is?

yep, was definitely meant to have a link, went too fast, sorry about that

@sanskar-p does this fix the issue for you?

@sanskar-p does this fix the issue for you?

The storybook still does not display properly for me @devongovett

I've just tested it again by running
git reset --hard origin/build-windows
git clean -fdx
yarn
yarn start

and the styling in the storybook is correct for me

@mischnic there must be something wrong with my system as the storybook styling is still not correct.
Is it fine if you reassign the task to somebody else? I will install Linux on my system and work on different tasks.
Extremely sorry for the inconvenience caused.

authors: devongovett mischnic sanskar-p snowystinger

repo: adobe/react-spectrum


text:
Japanese font-family is specified in a way that confuses and breaks CSS pre-processors

Description

See the escaped chars here, they break things: https://github.com/adobe/spectrum-css/blob/main/components/vars/css/globals/spectrum-fontGlobals.css#L31
Reported here: https://adobedesign.slack.com/archives/C5N154FEY/p1644870982957389
Will be fixed by https://git.corp.adobe.com/Spectrum/dss/issues/415

Fixed in @spectrum-css/vars@6.1.1 in https://github.com/adobe/spectrum-css/commit/3db0f66e62e2a8519b48fabba972ea2d292d1e6d 🥳

repo: adobe/spectrum-css


text:
Split out Pagination variants into different components

The 3 existing pagination variants should be broken out into separate components as follows:

Page -> Pagination List
Explicit -> Pagination Field
Button Style -> ?

We might kill it or rename it?

We should split them out. Maybe we consider this as part of the #859 work.

Waiting on design to finalize this component. De-prioritized for now.

authors: GarthDB lazd pfulton


text:
Added new tokens for color wheel border color and opacity

Description
Added new tokens for color wheel border color and opacity in both light and dark mode
Motivation and context
New tokens were defined for color wheel border
Related issue
n/a
Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [x] Minor (add a new token, changing a value, deprecating a token; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type, renaming a token by deprecating the old one; fix or feature that would cause existing functionality to change)
Checklist:

 [x] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [x] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum2
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-colors/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/component.Component.color-wheel.border
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component.color-wheel-border-opacity

SPECTRUM SYNC SUMMARY
NEW TOKENS: (4) action-bar-minimum-width, action-bar-label-to-action-group-area, color-wheel-border-color, color-wheel-border-opacity
CHANGED VALUES: (16) checkbox-control-size-extra-large/desktop, checkbox-control-size-large/desktop, checkbox-control-size-medium/desktop, checkbox-control-size-small/desktop, checkbox-top-to-control-extra-large/desktop, checkbox-top-to-control-large/desktop, checkbox-top-to-control-medium/desktop, checkbox-top-to-control-small/desktop, checkbox-control-size-extra-large/mobile, checkbox-control-size-large/mobile, checkbox-control-size-medium/mobile, checkbox-control-size-small/mobile, checkbox-top-to-control-extra-large/mobile, checkbox-top-to-control-large/mobile, checkbox-top-to-control-medium/mobile, checkbox-top-to-control-small/mobile impacting 8 tokens

TEST COMPLETE

authors: KayiuCarlson mrcjhicks

repo: adobe/spectrum-tokens-studio-data


text:
[FrictionlessQA] Enhancements

Per request, fired a view event when loaded
Handles invalid locales more gracefully

Test URLs:

Before: https://stage--express--adobecom.hlx.page/express/feature/image/remove-background
After: https://frictionless-misc--express--adobecom.hlx.page/express/feature/image/remove-background

Codecov Report
Attention: Patch coverage is 97.72727% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 36.69%. Comparing base (8f28a3d) to head (e22408b).

Files
Patch %
Lines

...tionless-quick-action/frictionless-quick-action.js
97.72%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #795      +/-   ##
==========================================
+ Coverage   36.45%   36.69%   +0.23%
==========================================
  Files         132      132
  Lines       25939    25982      +43
==========================================
+ Hits         9457     9533      +76
+ Misses      16482    16449      -33

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

authors: JingleH codecov-commenter

repo: adobecom/express


text:
Set different icon to show build status

We should update https://github.com/adoptium/aqa-test-tools/blob/master/test-result-summary-client/src/Build/Summary/BuildStatusIcon.jsx to show different build status (below). Currently, we only cover 4 of them.
        PROGRESSING
        ABORT
        FAILIURE
        UNSTABLE
        SUCCESS
        UNDEFINED

https://ant.design/components/icon

FAILIURE -> FAILURE

Thanks @smlambert . This typo explained one of the bugs that I saw. :)

authors: llxia smlambert

repo: adoptium/aqa-test-tools


text:
Centos 6 docker build check has been failing for recent pull requests

The most recent failure https://github.com/adoptium/infrastructure/pull/2300/checks?check_run_id=3442260626
It seems the process has trouble installing ansible
Successfully installed pip-21.2.4
Collecting ansible
  Downloading ansible-4.4.0.tar.gz (35.4 MB)
Collecting ansible-core<2.12,>=2.11.3
  Downloading ansible-core-2.11.4.tar.gz (6.8 MB)
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
    status = self.run(options, args)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
    return func(self, options, args)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 316, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
    collected.requirements, max_rounds=try_to_avoid_resolution_too_deep
...
pip3 install ansible' returned a non-zero code: 2
Error: exit status 2

I've changed the method of installation to a simple yum command and it seems to have fixed it

Closing as https://github.com/adoptium/infrastructure/pull/2303 is merged

repo: adoptium/infrastructure


text:
Spell Checking

Fixed various spelling errors. The most notable being replacing the "OnlosedChatroom" event in IChatroomNetwork with "OnClosedChatroom"

That's a lot of spelling mistakes 😅 Thanks for this!

authors: adrenak joshuadahlunr

repo: adrenak/univoice


text:
Middleware not working in group router

I'm trying to use middleware in a group router in my app, but it doesn't seem to be working as expected. Here's an example of my code:
package main

import (
	"log"

	"github.com/adrian-lin-1-0-0/simple"
)

func main() {
	r := simple.Default()

	r.GET("/hello", func(c *simple.Context) {
		c.HTML("
Hello
")
	})

	v1 := r.Group("/v1")

	v1.Use(func(ctx *simple.Context) {
		println("middleware")
		ctx.Next()
	})

	v1.GET("/hello", func(c *simple.Context) {
		c.HTML("
Hello v1
")
	})

	log.Fatal(
		r.Run(":8888", func() {
			println("Server is running on port http://localhost:8888")
		}),
	)
}

When I visit http://localhost:8888/v1/hello, I expect to see "middleware" printed in the console, but I don't. It seems like the middleware is not being executed at all. However, if I move the middleware to the main r router like this:
r := simple.Default()
r.Use(func(ctx *simple.Context) {
	println("middleware")
	ctx.Next()
})

Then the middleware works as expected.

I'm trying to use middleware in a group router in my app, but it doesn't seem to be working as expected. Here's an example of my code:
package main

import (
	"log"

	"github.com/adrian-lin-1-0-0/simple"
)

func main() {
	r := simple.Default()

	r.GET("/hello", func(c *simple.Context) {
		c.HTML("
Hello
")
	})

	v1 := r.Group("/v1")

	v1.Use(func(ctx *simple.Context) {
		println("middleware")
		ctx.Next()
	})

	v1.GET("/hello", func(c *simple.Context) {
		c.HTML("
Hello v1
")
	})

	log.Fatal(
		r.Run(":8888", func() {
			println("Server is running on port http://localhost:8888")
		}),
	)
}

When I visit http://localhost:8888/v1/hello, I expect to see "middleware" printed in the console, but I don't. It seems like the middleware is not being executed at all. However, if I move the middleware to the main r router like this:
r := simple.Default()
r.Use(func(ctx *simple.Context) {
	println("middleware")
	ctx.Next()
})

Then the middleware works as expected.

I have investigated the problem and have identified the root cause. I will be fixing it shortly.


text:
How to upgrade the version?

Hi, I have installed TeslaMate running on Docker in my Raspberry Pi. Currently on version 1.17.1. How I can update to the latest version?

Found my answer in the Doc

repo: adriankumpf/teslamate


text:
Added medusa-plugin-postmark

Added medusa-plugin-postmark.
README.md includes sample config and sample json files for pdf invoices

Thanks 🙏


text:
Outcome usability enhancement to copy from other command

Create new commands takes time and it would be nice to be able to copy from previously created commands (same and other steps).

I think the function work properly in term of "clone" it should replace the old one. but your comment is good instead of clone I will call in "import" and it will not override the current one but append instead

authors: marumer ueasaksupa

repo: adt-apjc/YAP


text:
Workflows in source code to allow version control and multiple environments

Hi @aelassas , wexflow has wonderful definition of a workflow in the source code in json/xml. I haven't found it in the documentation, but I am afraid we can't save the json/xml in files and version control it in Git, right?
Such a feature would allow us to develop and test workflows locally (separate environment), version control the definition (together with related project code), push and review changes.
BTW wexflow is one of the best workflow engines, I have seen, keeping simplicity and power in mind

Workflows are persisted in the database in XML format and the user can edit workflows in XML or JSON. Version control is a nice feature request. Thank you for your feedback @dubravcik.

authors: aelassas dubravcik

repo: aelassas/Wexflow


text:
[Bug] Certain ranges are not accepted in BYSCORE zranges

Fred version - 9.0.3
Redis version - 6.2.4
Platform - linux / wsl
Deployment type - centralized
Describe the bug
Trying to find all negative score numbers (0 inclusive) using fred using zremrangebyscore. Passing "-inf" as min and 0 as max causes an Invalid Argument error to be emitted.
To Reproduce
Steps to reproduce the behavior:
fred.zrangebyscore(&key, "-inf", 0).await?;

Invalid Argument: Invalid range bound with BYSCORE sort
Submitting the same manually with redis works perfectly:
127.0.0.1:6379> zadd mykey -10 neg1
(integer) 1
127.0.0.1:6379> zadd mykey -2 neg2
(integer) 1
127.0.0.1:6379> zadd mykey 0 zero
(integer) 1
127.0.0.1:6379> zadd mykey 1 one
(integer) 1
127.0.0.1:6379> zadd mykey 3 three
(integer) 1
127.0.0.1:6379> zrangebyscore mykey -inf 0
1) "neg1"
2) "neg2"
3) "zero"

Seems range checking is preventing legitimate ranges from being used, unless I wrongly understood the API usage.

Thanks for this amazing crate!

-b

Hi @bbeausej, could you provide a full rust code sample that reproduces this? I tried adding a test for this (https://github.com/aembke/fred.rs/blob/feat/9.1.0/tests/integration/sorted_sets/mod.rs#L772-L800) but haven't been able to repro the issue.

Closing for now, but let me know if you're able to repro this.

authors: aembke bbeausej


text:
adding grey background for all columns

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--sling--aemsites.aem.page/drafts/km/table
After: https://232-playoffs--sling--aemsites.aem.page/drafts/km/table

Yes, the intention is to have grey for all columns.

repo: aemsites/sling


text:
Service Location Map

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix
Test URLs:

Before:

https://main--shredit--stericycle.aem.live/drafts/piyush/map

After:

https://sl-map--shredit--stericycle.aem.live/drafts/piyush/map

Search Functionality is not implemented as of now

@dkuntze Can you please review it

repo: aemsites/stericycle-shared


text:
botty 0.4.1 bug can not find left corner window mode

not sure why but its a bug for everyone

I see. You deleted the whole template of stuff to fill out.

Press f11 while you are on hero selection screen, not while you are outside of d2r.


text:
Errors pasting in tables

I'm stumped with errors I keep stumbling over when I paste in a YAML table. For example
table:
	b:
		' ': {write: '0', R: c}
	c:
		' ': {write: ' ', R: e}
	e:
		' ': {write: '1', R: f}
	f:
		' ': {write: ' ', R: b}

gives

Possible duplicated mapping key

at the line for starting m-configuration 'c'.
What am I missing?

YAML doesn't support tabs (\t) for structural indentation.
https://yaml.org/faq.html
https://yaml.org/spec/1.2/spec.html#id2777534
The error points at the line after c. Without recognized indentation, https://nodeca.github.io/js-yaml/ seems to consider the lines with ' ' as duplicate keys in the same mapping. The error message could be improved; some other YAML parsers are able to report the tabs as invalid.
Instead, using spaces to indent works (the built-in editor is already configured for this):
table:
  b:
    ' ': {write: '0', R: c}
  c:
    ' ': {write: ' ', R: e}
  e:
    ' ': {write: '1', R: f}
  f:
    ' ': {write: ' ', R: b}

(* smack *) Indeed! The consequences of too many years with IDEs that automatically replace tabs with spaces. I've begin to assume it happens everywhere!

authors: aepsilon orome

repo: aepsilon/turing-machine-viz


text:
can not start session on Centos7

Hey there,
Env:

Centos7 os
latest docker
selenoid 1.9.0

Steps to reproduce:

Install non UI selenoid by default command

curl -s https://aerokube.com/cm/bash | bash \     && ./cm selenoid start --vnc --tmpfs 128

A session has been started correctly and hud had been available on 4444

2019/02/06 09:37:52 [-] [INIT] [Loaded configuration from  /home/dmytro_pazykov@.com/.aerokube/selenoid/browsers.json]
2019/02/06 09:37:52 [-] [INIT] [Logs Dir: /home/dmytro_pazykov@.com/.aerokube/selenoid/logs]
2019/02/06 09:37:52 [-] [INIT] [Timezone: Local]
2019/02/06 09:37:52 [-] [INIT] [Listening on :4444]

Connecting to the Selenoid Hub via RemoteWebDriver, but receiving error in tests

UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

Also selenoid console throwing:

2019/02/06 09:39:14 [-] [NEW_REQUEST] [unknown] [10.6.62.158]
2019/02/06 09:39:14 [-] [NEW_REQUEST_ACCEPTED] [unknown] [10.6.62.158]
2019/02/06 09:39:14 [0] [LOCATING_SERVICE] [chrome] []
2019/02/06 09:39:14 [-] [DEFAULT_VERSION] [Using default version: latest]
2019/02/06 09:39:14 [0] [USING_DRIVER] [chrome] [latest]
2019/02/06 09:39:14 [0] [ALLOCATING_PORT]
2019/02/06 09:39:14 [0] [ALLOCATED_PORT] [35169]
2019/02/06 09:39:14 [0] [STARTING_PROCESS] [[/home/dmytro_pazykov@***.com/.aerokube/selenoid/chromedriver --whitelisted-ips='' --verbose --port=35169]]
2019/02/06 09:39:44 [0] [TERMINATING_PROCESS] [669]
2019/02/06 09:39:44 http: panic serving 10.6.62.158:50030: interface conversion: io.Writer is nil, not *os.File
goroutine 9 [running]:
net/http.(*conn).serve.func1(0xc0002a0d20)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1746 +0xd0
panic(0x767360, 0xc0001c8630)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/panic.go:513 +0x1b9
github.com/aerokube/selenoid/service.(*Driver).stopProcess(0xc0002a2f00, 0xc0000c4f20)
/home/travis/gopath/src/github.com/aerokube/selenoid/service/driver.go:92 +0x3d5
github.com/aerokube/selenoid/service.(*Driver).StartWithCancel(0xc0002a2f00, 0xc0002b8c50, 0x6, 0x0)
/home/travis/gopath/src/github.com/aerokube/selenoid/service/driver.go:75 +0xdf8
main.create(0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/gopath/src/github.com/aerokube/selenoid/selenoid.go:174 +0x80b
net/http.HandlerFunc.ServeHTTP(0x7eb6f8, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1964 +0x44
main.post.func1(0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/gopath/src/github.com/aerokube/selenoid/main.go:308 +0x9e
net/http.HandlerFunc.ServeHTTP(0xc00025fba0, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1964 +0x44
github.com/aerokube/selenoid/protect.(*Queue).Protect.func1(0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/gopath/src/github.com/aerokube/selenoid/protect/queue.go:76 +0x3c2
net/http.HandlerFunc.ServeHTTP(0xc0001ef3c0, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1964 +0x44
github.com/aerokube/selenoid/protect.(*Queue).Check.func1(0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/gopath/src/github.com/aerokube/selenoid/protect/queue.go:53 +0x9a
net/http.HandlerFunc.ServeHTTP(0xc0001ef3e0, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1964 +0x44
github.com/aerokube/selenoid/protect.(*Queue).Try.func1(0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/gopath/src/github.com/aerokube/selenoid/protect/queue.go:35 +0xd4
net/http.HandlerFunc.ServeHTTP(0xc0001ef400, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1964 +0x44
net/http.(*ServeMux).ServeHTTP(0xc0002da300, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:2361 +0x127
main.handler.func1(0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/gopath/src/github.com/aerokube/selenoid/main.go:370 +0x157
net/http.HandlerFunc.ServeHTTP(0x7eb720, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1964 +0x44
net/http.(*ServeMux).ServeHTTP(0xc00014ff50, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:2361 +0x127
net/http.serverHandler.ServeHTTP(0xc000067e10, 0x83a460, 0xc0002be0e0, 0xc0000f1100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:2741 +0xab
net/http.(*conn).serve(0xc0002a0d20, 0x83a7e0, 0xc000294a40)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:1847 +0x646
created by net/http.(*Server).Serve
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/net/http/server.go:2851 +0x2f5`

@aandryashin @vania-pooh how should I work around this? Can I still use the curl method? Or how can I run with this latest bug fix?

@luker2 this should just work in aerokube/selenoid:latest image. Will be released soon.

@luker2 that was a bug in code (an unchecked cast which is only reproducing under RedHat \ CentOS) and we fixed it.

@luker2 that was a bug in code (an unchecked cast which is only reproducing under RedHat \ CentOS) and we fixed it.

@vania-pooh are you sure the bus has been fixed? Because yesterday was the first time I decided to try selenoid and I configured it within 30 minutes on my ubuntu. But I've been trying to start the docker image in my centos machine for mor than 2 hours and still no luck. :(

@prasanth-G24 please provide your Selenoid version and browsers.json contents.

@prasanth-G24 please provide your Selenoid version and browsers.json contents.

@vania-pooh here's my browsers.json file:
{
    "chrome": {
        "default": "78.0",
        "versions": {
           "78.0": {
                "image": "selenoid/vnc_chrome:78.0",
                "port": "4444",
                "path": "/",
                "tmpfs": {
                    "/tmp": "size=128m"
                }
            }
        }
    },
    "firefox": {
        "default": "70.0",
        "versions": {
            "70.0": {
                "image": "selenoid/vnc_firefox:70.0",
                "port": "4444",
                "path": "/wd/hub",
                "tmpfs": {
                    "/tmp": "size=128m"
                }
            }
        }
    },
    "opera": {
        "default": "64.0",
        "versions": {
            "64.0": {
                "image": "selenoid/vnc_opera:64.0",
                "port": "4444",
                "path": "/",
                "tmpfs": {
                    "/tmp": "size=128m"
                }
            }
        }
    }
}

Selenoid version: aerokube/selenoid:1.9.3. And my docker API version is 1.40

@prasanth-G24 this bug is about running Selenoid with standalone driver binaries. You have Docker images in your browsers.json. If you are still receiving a panic message like in issue description - please create a separate issue so we could investigate.

repo: aerokube/selenoid


text:
Create container demonstrating how to upload data to Grafana

Grafana + InfluxDB + Telegraf + our config

@MiluchOK we have already described Telegraf related stuff in docs. This issue will be done sometime in the future. If you wish to configure such stack right now, please contact us in Telegram.

Created a repository with respective configs (not a Docker container): https://github.com/aerokube/selenoid-grafana-example