Variable used in the utterance file does not work

Hi,
When I assign some values to a variable in botium.json file and use it in the utterance file, it does not work as expected. For example, if I assign a value 'The total is 100' to a variable let's say 'TOTAL_COUNT' in capabilities in botium.json and use it as $TOTAL_COUNT it works fine. However, if I set the value '100' to 'TOTAL_COUNT' in capabilities in botium.json and then use it like 'The total is $TOTAL_COUNT' then it does not work. What causes this issue? I have even set SCRIPTING_MEMORY_MATCHING_MODE to joker but that did not help. Could you help with this issue please?
Thanks,
Ram

Hi Attila,
I am setting the variable (TOTAL_COUNT) in botium json as mentioned below. This is just an example but the value 100 is actually calculated dynamically. My requirement is that, the custom variable changes for each type of a test account, so I need to find the value dynamically from a javascript code and put it in botium.json. If what I am trying is not the right approach, is there an alternative solution to use custom variables in the utterance file? Appreciate your help.
"botium": {
"Capabilities": {
"PROJECTNAME": "Test - Chatbot",
"CONTAINERMODE": "<customConnector.js>",
"SCRIPTING_MATCHING_MODE": "TEXT_CONTAINS_ANY",
"SCRIPTING_ENABLE_MEMORY" : true,
"SCRIPTING_XLSX_SHEETNAMES": "Convos_" + process.env.ENV,
"SCRIPTING_XLSX_SHEETNAMES_UTTERANCES": "Utterances_" + process.env.ENV,
"RETRY_USERSAYS_NUMRETRIES": 1,
"TOTAL_COUNT": 100,
"BOT_CONFIGURATION": { "label": "All","language": language , "profile": profile, "workspace": workspace},
"BOT_ACTIONS" : [],
"BOT_WORKSPACE_ID": xyz123,
"BOT_TOKEN":  "test123zz23",
"BOT_CONTEXT": {
"attachData": {},
"language": en_US,
},
"BOT_INPUT" : {
"text": ""
}
}
  }

Thanks,
Ram

Talked with the team now.
we can implement this feature, to read variables from botium.json. You can get it with the next version. (In a month or so) Is it acceptable for you?

Thank you, @ujja . Sooner the better. Appreciate you and the team for implementing this feature!!

@ujja , just an FYI, I also tried $cap(MY_CAP) to read Botium capabilities but it does not work as expected. The test always passes no matter what value is present.
https://botium-docs.readthedocs.io/en/latest/05_botiumscript/index.html#scripting-memory

I tried again with multiple tests. I do see a bug here.
The following passes the test which is great
#me
The total count is $cap(TOTAL_COUNT)
The below one fails which is great too
The total test count is $cap(TOTAL_COUNT)
However, the below one has extra spaces but the test passes instead of failing. Could you check this once?
The               total count is $cap(TOTAL_COUNT)

It is because we clean up the message before checking.
It can be turned of via SCRIPTING_NORMALIZE_TEXT cap.

Awesome. That helped, Attila! Thank you for your time and help!!

Very good. :)


Extend usage of std::function on all the platforms where it's available

At this point in time, C++11 is available on most Arduino platforms and not just on ESP8266 and ESP32.
With this pull request, the ability to supply lambdas (including object methods) to setCallback() instead of plain function pointers is extended automatically to all the platforms which provide support for std::function. :)

Hi, faced the issue with the same reason, on Arduino Nano Connect, based on RP2040.
@alranel please add ability to use std::function as callbacks not just for ESP-based boards.

Hi, faced the issue with the same reason, on Arduino Nano Connect, based on RP2040.
@knolleary, please add ability to use std::function as callbacks not just for ESP-based boards.

+1


Prometheus config for postfix exporter

Hi,
I'm looking for any ready config for postfix exporter for prometheus.yml but can't find anything.
Could anybody help me with that ?

It integrates same way as node exporter only port is different. Main problem is not configuring prometheus, but figuring how to convert fetched data into something useful.

job_name: 'Postfix'
static_configs:

targets: ['hostname1:9154']
targets: ['hostname2:9154']

relabel_configs:

source_labels: [address]
regex: "([^:]+):\d+"
target_label: instance

Just remember yml layout as you see messed up layout in this post.

You can use multiline code blocks here :).
- job_name: 'Postfix'
  static_configs:
    - targets: ['hostname1:9154']
    - targets: ['hostname2:9154']

  relabel_configs:
    - source_labels: [__address__]
    regex: "([^:]+):\\d+"
    target_label: instance


Add RTSP feature

Hello,
I would like to transmit a live camIP video stream, but the protocol used is RTSP.
So in the LAN it doesn't work because it requires http/https, do you know if there would be a manipulation to bypass that? (via advanced menu)
Thank you!

I would like this too. Add RTSP support to NGINX PM.

That would be absolutely amazing if we could get this going somehow

This would be awesome!

looking for precisly the same thing...please add RTSP to the streams or through the normal host interface somehow ;O)

It would be great to have this implemented.

I would use this!


[Feature] Add ability to open web links/URLs in the default Android browser from a FHIR Questionnaire

Background
In Indonesia Kaders (CHWs), when conducting home visits, will navigate from the OpenSRP2 Job Aids app to URLs in the Android default browser from links in Questionnaires This will allow the Kader to view additional information on the web In addition, the Kaders will also need to navigate from the Job Aids App to the web-based MOH Kader app used for data collection. The job aids app will include a URL link that opens the MoH kader app in the device-default browser.
User story

I am a Kader visiting a household. When I am there, I use the job aids app to help me navigate the workflows for the different clients. Example - a pregnant woman. As I am counseling and talking to the pregnant woman, I will need to fill in her details on a different web app on my phone. Once I am done with filling in the details, I want to navigate back to the Job Aids app and continue with the visit.
I am Kader visiting a household. While I am going through the visit via the Job Aids app, I want to get more information to help me provide more information to the client. This information is on a video on a platform such as YouTube. I want to be able to navigate to a URL for a YouTube video that I can watch with the client, access the information, and get back to the Job Aids app and continue with the other segments of the visit.

Required

Embed links within qustionnaires to allow the Kader to navigate from the Job Aids app to the MOH web app to fill in the client details being requested for.
Embed links in the app's questionnaires that will allow the Kader to access videos with more information on a different web app such as YouTube.

Acceptance Criteria

[ ] At the tap of a link within the form, Kader can navigate to a URL in the default Android browser

Implementation Plan

Extend the SDC to understand external URL links and open them in the default device browser

@f-odhiambo I've assigned this to you to add details on the implementation plan. Let us know if anything about the scope is not clear

@f-odhiambo @pld here's a quick implementation that I did, kindly review https://github.com/google/android-fhir/pull/2732
https://github.com/user-attachments/assets/45b2e8bd-acfe-497b-9d8e-d7e10aca8dd4

Here's what we need todo to the questionnaire item:
    {
      "linkId": "1",
      "text": "Normal text link text",
      "type": "display"
    }

@pld I think this is done based on the above work by @FikriMilano low effort however we will need some clarity on whether the link is static or dynamic to complete the request for this ticket
CC @AnnieMungai

@f-odhiambo - these will be static links.

@AnnieMungai tap the bottom-right button, as usual in Android

@update - I have amended the original ticket to remain within scope and meet client requirements after discussions on 22nd Nov.

Wow, good job in preventing that from spiraling out of scope :D
@joyce-x-chen @AnnieMungai

The linking feature has been merged in SDK https://github.com/google/android-fhir/pull/2732

great! can we upgrade the release to use a version of the SDK with this included?

Yep, I'll reach out to @ndegwamartin


Master figures for Nov 5 meeting

figure 2

Figure 3 (for some reason rendering this figure slows down Aretha for me)

figure 4

Hello @shak360! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file lineage/figures/figure2.py:

Line 26:1: W293 blank line contains whitespace
Line 62:27: E231 missing whitespace after ','
Line 63:27: E231 missing whitespace after ','
Line 82:80: E501 line too long (91 > 79 characters)
Line 83:80: E501 line too long (93 > 79 characters)
Line 92:25: E231 missing whitespace after ','
Line 93:25: E231 missing whitespace after ','

In the file lineage/figures/figure3.py:

Line 69:30: E225 missing whitespace around operator
Line 69:80: E501 line too long (91 > 79 characters)
Line 70:30: E225 missing whitespace around operator
Line 70:80: E501 line too long (91 > 79 characters)
Line 93:28: E225 missing whitespace around operator
Line 93:80: E501 line too long (85 > 79 characters)
Line 94:28: E225 missing whitespace around operator
Line 94:80: E501 line too long (85 > 79 characters)

figure 5
single unpruned lineage
fitting performance

figure 6
singple unpruned lineage
parameter estimation

figure 7
two states, heterogeneous
single, pruned lineage
fitting performance

figure 8
two states, heterogeneous
single, pruned lineage
parameter estimation

figure 9
two states, heterogeneous
multiple, pruned lineages
fitting performance

figure 10
two states, heterogeneous
multiple, pruned lineages
parameter estimation


Bug while leaving a train

Expected Behaviour
When leaving the train at a station, the player should walk out of the train
Actual Behaviour
When leaving the train at a station (one specific station only), the player walk out of the train but the game still consider the player in the train. So the screen flashes betwen the interior of the train and the world outside. The player cannot walk more 4-5 blocks and when the trains leaves the station, the player is teleported back in the train.
Reproduction Steps
Steps to reproduce the behaviour:
Screenshots

If applicable, add screenshots to help explain your problem.
Environment

Minecraft Version: 1.19.2
Installed Mods: A custom Cobblemon Modpack with 167 mods. The list is long but i can provide the modpack importation file on ATLauncher/Curseforge

Additional Information
It really only do this bug when i leave the train on a specific station.

Sorry, I don't really understand the issue. There is not enough information in this bug report. Please verify if you are still seeing this behaviour in 4.0.0, thanks!


Hazard: ambient modules have magical default exports

Importing a missing default export from an ambient module declaration does not error.
Instead, it automatically receives a namespace.
If we add a default export this magic behaviour is disabled.
This is a hazard because code that depends on the namespace will break when a default export is added.
TypeScript Version:  4.0.0-dev.20200605, 3.9.5
Search Terms: ambient module declaration, default export, default import, namespace
Code
// ambient.d.ts
declare module "foo" {
    export type MyType = number;
}

// index.ts
import { default as FooDefault } from "foo";
//       ^ no error
const foo: FooDefault.MyType = 3;
//         ^ behaves like a namespace

Expected behavior:
Compilation should fail when a non-existent default export is imported.
// index.ts
import { default as FooDefault } from "foo";
//       ^ TS1192: Module '"/path/to/foo"' has no default export.

Actual behavior:
Compilation does not fail.
The default import behaves like a namespace, as if it was imported using import * as syntax.
Note that TypeScript already correctly errors for missing named exports from ambient modules.
// good-error-for-missing-named-exports.ts
import { Missing } from "foo";
//       ^ TS2305: Module '"foo"' has no exported member 'Missing'.

Note that TypeScript already correctly errors for missing default imports from non-ambient modules.
// foo.ts
export type MyType = number;

// good-error-for-missing-default-export-from-non-ambient.ts
import { default as FooDefault } from "./foo";
//       ^ TS1192: Module '"/path/to/foo"' has no default export.

Playground Link: -
Related Issues: -

This behavior is controlled by allowSyntheticDefaultImports, which you can set whichever direction you prefer

Thank you for the explanation. That makes sense.
At the moment we choose to leave allowSyntheticDefaultImports enabled because it appears to be the only way to get Node-ESM-compatible handling of JSON imports by having JSON values show up as the default import. Browser intentions for JSON modules also use default imports. Unfortunately namespace import is still not compatible.
Ideally there would be a mode that provides the future-compatible JSON handling without the side-effects described in this issue. @weswigham have you thought about the way forward here?


Enhancement - Add a way to destroy an item when using itemRightClick

Trying to have a one time use item and using itemRightClick = function(stack, world, player, hand)  I have no way to actually destroy the item when I use it, unless I am missing a function somewhere.

You're not. Right click existed before all the current stuff added for onItemUse. So it's a bit behind the times.


Initial Setup

React group project
In this issue:

Created a new repo to the group project link.
Initialised the dev branch.
There are two members in the team - @AshwinCarvalho999 & @Daron976.
Each member has been assigned various tasks due for completion.

Hi <STUDENT_MENTION>,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that uses a wrong link to the GitHub project. Kindly node that your GitHub project is your Kanban board project: I can see that This is the link to your Github project below. Please Kindly make changes and submit again.
https://github.com/Daron976/React-group-project/projects/1
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hi Team,
Great job for making the necessary changes recommended by the previous reviewer. However, there's always room for improvement.
Kindly consider my OPTIONAL comments

(Highlights) Good Points:

Equal and Fair distribution of points. :heavy_check_mark:
Project includes all cards :heavy_check_mark:
Great Issue Comment :heavy_check_mark:

Optional suggestions

Nothing to mention

Your project is complete! Congratulations! 🥂There is nothing else to say other than... it's time to merge it 👍.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have 1 more limited review per this project. If you think that the code review was not fair, you can request a second opinion using this form.


Changing page title when rendering server side - React template

How would you go about changing the page title when using the React template. To do so client side I can use document.title = 'Counter' however this throws an error when trying to render server side - 'document is not defined'.

You may want to take a look at:
https://www.npmjs.com/package/react-document-title
I haven't tried this yet so let me know how it goes.

It does work, thanks.
It uses react-side-effect which seems to store the changes to the title and when it hits the client side it runs the last one. Neat.


[Service] Vote Confirmation

As a user that sent its vote, I should be able to confirm my identification.
All votes received from #10 should be confirmed by a magic link. This service should consume the Queue as FIFO (First In First Out).

the function below generate a link with hash of identifier which may be send to vote confirmation i wait that help
 def generateLink(vote: Vote):         hash = sha256(vote.identifier.encode()).hexdigest()         return f'<IP_ADDRESS>:8000/{hash}'

As we're changing the project scope, this issue is no longer necessary.


Maths-equation-ploter

This plots multiple equations, including linear, quadratic, and cubic functions. The linear equation forms a straight line, the quadratic creates a parabolic curve, and the cubic shows an "S" shap curve. Users can also modify the coefficients to change the shapes of the equations.
Next, make sure you go through each item in the following checklist. Delete this line after!

[* ] I have read the steps to getting a blot
[* ] I have read all the submission requirements and follow them
[* ] I am submitting art that...

[* ] is algorithmically generated (will meaningfully change each time the program is run)
[* ] is your own work that is not copied from somewhere else
[ *] is drawable through the editor(does not use outside tools)
[ *] doesn't call Math.random() (See the documentation on randomness)
[* ] is drawable on Blot itself (doesn't have lines overlap more than 5 times)

[ *] Doesn't overlap lines more than 5 times
[ *] Fits in the working area of 125x125mm
[ *] Doesn't rely on colour to look good

If you based your art on something else, used a tutorial, or remixed it from something else, please link it here:
Lastly, link a picture of your art piece here:

Hey! Please check out our submission guidelines. This art seems like stolen code!

Hey! @Dongathan-Jong I just took some refrence from the artwork from the Gallery and tried to make new one 😔 Maybe I will try to make a new unique artwork :))


Driver's Native UI and Indicator Not Loading for Scanjet Pro 2000 s2 Scanner

Hello,
I am currently experiencing an issue with the Scanjet Pro 2000 s2 scanner when attempting to enable the driver's native UI and indicator. But the CanoScan LiDE 220 successfully loads both the UI and the indicator with the same settings. However, the Scanjet Pro 2000 s2 fails to display the expected UIs. while the Scanjet Pro 2000 s2 works fine when the UI is disabled.
what could be the issue with the Scanjet Pro 2000 s2?

Please run the DTWDEMO.exe program.  Does that program display the UI correctly?
In general, it is impossible to know what the issue is with a particular scanner unless I have that model of scanner to test with.
There could be multiple issues:

Your program could have errors causing the issue.
The scanner's driver is not up to date or has bugs.
There is some internal issue with DTWAIN, but this can only be corrected with a scanner to test with that is the same model that is giving the issue.

For 1), please check all return codes for all the DTWAIN API calls to ensure all of them return success.  If any return failure, but your application continues on as if no failure occurs, then you need to correct this.
For 2) , there is nothing DTWAIN can do about buggy TWAIN drivers.  You will need to ensure you are using the latest drivers.
For 3), If there is an issue with DTWAIN, the only way to address this is to debug the code to see where the failure occurs while using the scanner in question.  Since DTWAIN is open source, it is possible to do this, but unfortunately I do not have this scanner model to test.
But at the minimum, you should be calling DTWAIN_SetTwainLog to generate a log file of all the TWAIN calls, and check the log for any TWAIN failures.
As to the scanner -- I have tested an HP Scanjet 7000 S3 without any issues.  The HP scanners have a similar interface, at least the 7000 does, as well as their all-in-one printer/scanner models.  If the 2000 series has the same HP interface, then I am surprised there is an issue displaying the user interface.

Closing, as this issue has not been able to be duplicated with the HP Scanjet 7000.


New functionality : AutoClose

Hi,
Excellent work....
Most gate door Open and close automatically
Is it possible to add this in your        ###@###Dev.
Add Autoclose : Yes/No
Add AutoClose delay : 4000ms
Manage automaticallay this autoclose
Thanks,
Best Regards,
Xavier

there is a delay addon named delay i use in thies cases.. it's not a perfect solution but it works..


Allow for overriding the DoorBird push notification URL in configuration

Description:
Useful in situations such as those described by users in this thread.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
doorbird:
  host: <IP_ADDRESS>
  username: abcdef0001
  password: **********
  hass_url_override: https://example.com:8123

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Why can't Doorbird connect over DuckDNS?

I can't connect to my hass server using duckdns from any device that is in the same LAN network, because my router does not support nat loopback.
Doorbird is in the LAN, with ip <IP_ADDRESS>. To connect to hass server, I need to use it's private ip (<IP_ADDRESS>), not the public IP (duckdns)

Ok to merge when docs have been provided.

https://github.com/home-assistant/home-assistant.github.io/pull/5047


Use DateTime when the property is related to dates instead of String

Move from String to DateTime in the following structures:

https://github.com/meilisearch/meilisearch-dotnet/blob/main/src/Meilisearch/Key.cs#L35-L45

Discussion related: https://github.com/meilisearch/meilisearch-dotnet/pull/219#discussion_r791036735

I'm happy to take this

@AK0785 thank you!
Go ahead and comment here if you need some help! :D

I've raised a PR - https://github.com/meilisearch/meilisearch-dotnet/pull/226


Update LICENSE

Completed the mandatory license fields

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

i am closing this PR because it is the same as https://github.com/fission/fission/pull/1771


Fy2019q3 Refresh

Fix links in Readme and slide decks
Update instructions for all exercises
Update project files for all exercises
Above changes address issues #5 and #6 in main repo

manually merged


How to understand output json file?

How do i understand the scores, like aggregate_score, ptm, iptm in the json file?
{
"aggregate_score": 0.4387286305427551,
"ptm": 0.7986587285995483,
"iptm": 0.34874609112739563,
"per_chain_ptm": [
[
0.8791998624801636,
0.4463137984275818
]
],
"per_chain_pair_iptm": [
[
[
0.8791998624801636,
0.34874609112739563
],
[
0.10360758751630783,
0.4463137984275818
]
]
],
"has_inter_chain_clashes": false,
"chain_intra_clashes": [
[
0,
0
]
],
"chain_chain_inter_clashes": [
[
[
0,
0
],
[
0,
0
]
]
]
}

pTM, ipTM scores correspond to those in AF: see their documentation, those are targeting to predict TM score in the absence of reference
clashes are cases when predicted atom positionds are too close (i.e. atoms clash). Your input had two chains (or chain and ligand, which will be interpreted as chain in this case). Clashes are computed within chain or when comparing two chains.
aggregated score see discussion
https://github.com/chaidiscovery/chai-lab/discussions/70

I'll leave this issue open so other users could find it easily

pTM, ipTM: these scores correspond to those in AF, see their documentation, those are targeting to predict TM score in the absence of reference
clashes: cases when predicted atom positions are too close (i.e. atoms clash). Your input had two chains (or chain and ligand, which will be interpreted as chain in this case). Clashes are computed within chain or when comparing two chains.
aggregated score: see discussion #70

I notice you did not implement the chain pair pae min (CPPM) in the output? Would perhaps have been helpful.

Would perhaps have been helpful.

Can you give an example when it is helpful and why would you prefer it over other metrics?

Would perhaps have been helpful.

Can you give an example when it is helpful and why would you prefer it over other metrics?

CPPM can help distinguish binding partners from molecules that do not.

CPPM can help distinguish binding partners from molecules that do not.

Can you give me some reference for this? Also, PAE min or PAE mean?

CPPM can help distinguish binding partners from molecules that do not.

Can you give me some reference for this? Also, PAE min or PAE mean?

I saw it on the FAQ of the AlphaFold server, under how to interpret their metrics. Not sure what source they used for this, and I am by no means an expert here. It is chain pair pae mean.

CPPM can help distinguish binding partners from molecules that do not.

Can you give me some reference for this? Also, PAE min or PAE mean?

Sorry, it is chain pair pae min: "chain_pair_pae_min: A [num_chains, num_chains] array. Element (i, j) of the array contains the lowest PAE value across rows restricted to chain i and columns restricted to chain j. This has been found to correlate with whether two chains interact or not, and in some cases can be used to distinguish binders from non-binders." - https://alphafoldserver.com/faq#how-do-i-interpret-all-the-outputs-in-the-downloaded-json-files


Add Kaggle notebook version

Please consider to add the feature for specify the notebook version to download the output.

I need this so much. This would be an awesome addition.


[CDSToolkit] - Invocation count is not updating for InfoSec endpoints

Description:
Invocation count is not updating for InfoSec endpoints. Even though the data was published properly to the API_INVOCATION_RAW_DATA table, the priority tier of the aggregated infosec data is incorrect.
Priority tier should be "HighPriority" for infosec endpoints.

Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:

Send consent authorisation request.
Verify the aggregated tables.

Related Issues:

Verified as FIxed


timeout when pulling a repo

Don't know if it's github itself or something else, when trying to publish a wiki (this one), i got a strange timeout error
Running openpublish servers
kosmos 'j.tools.open_publish.default.servers_start()'

Wait until servers are up, then from kosmos
cl = j.clients.gedis.new("default", port=8888)
cl.actors.open_publish.publish_wiki('testwiki', 'https://github.com/abom/test_custom_md', 'wiki.com', '<IP_ADDRESS>')

I've my ssh key loaded, and i'm the of the this test wiki.
Then i get
Mon 20 09:21:19 SystemProcess.py -  65 - execute                            : execute:grep -q github.com ~/.ssh/known_hosts || ssh-keyscan  -p 22 github.com >> ~/.ssh/known_hosts
Mon 20 09:21:19 GitFactory.py    - 310 - j.clients.git:gitfactory<EMAIL_ADDRESS>->/sandbox/code/github/threefoldfoundation/data_team
Mon 20 09:21:19 SystemProcess.py -  65 - execute                            : execute:cd /sandbox/code/github/threefoldfoundation/data_team; git rev-parse --abbrev-ref HEAD
Mon 20 09:21:19 GitFactory.py    - 346 - j.clients.git:gitfactory           : git pull<EMAIL_ADDRESS>-> /sandbox/code/github/threefoldfoundation/data_team
Mon 20 09:21:19 GitFactory.py    - 352 - j.clients.git:gitfactory           : cd /sandbox/code/github/threefoldfoundation/data_team;git pull origin master
Mon 20 09:21:19 SystemProcess.py -  65 - execute                            : execute:cd /sandbox/code/github/threefoldfoundation/data_team;git pull origin master
Mon 20 09:23:27 SystemProcess.py -  65 - execute                            : system.process.run ended, exitcode was 1
Mon 20 09:23:27 GitFactory.py    - 388 - j.clients.git:gitfactory           : git pull rc>0, need to implement further, check what usecase is & build interactivity around

ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

could not push/pull<EMAIL_ADDRESS>
Again with another repo (and weird logs)
Mon 20 09:51:38 SystemProcess.py -  65 - execute                            : execute:ssh-add -L
Mon 20 09:51:38 SSHAgent.py      -  77 - j.sal.fs:systemfs                  : Get basename for path: /root/.ssh/id_rsa
Mon 20 09:51:38 SystemFS.py      - 972 - j.sal.fs:systemfs                  : path b'/sandbox/code/github/threefoldfoundation/data_team/https:/github.com/threefoldtech/OpenPublish' does not exist
Mon 20 09:51:38 SystemProcess.py -  65 - execute                            : execute:ssh-add -L
Mon 20 09:51:38 SSHAgent.py      -  77 - j.sal.fs:systemfs                  : Get basename for path: /root/.ssh/id_rsa
Mon 20 09:51:38 SystemProcess.py -  65 - execute                            : execute:ssh-add -L
Mon 20 09:51:38 SSHAgent.py      -  77 - j.sal.fs:systemfs                  : Get basename for path: /root/.ssh/id_rsa
Mon 20 09:51:38 GitFactory.py    - 604 - j.sal.fs:systemfs                  : Join paths ['/sandbox/code/github/threefoldtech/OpenPublish', '']
Mon 20 09:51:38 GitFactory.py    - 310 - j.clients.git:gitfactory<EMAIL_ADDRESS>->/sandbox/code/github/threefoldtech/OpenPublish
Mon 20 09:51:38 SystemProcess.py -  65 - execute                            : execute:cd /sandbox/code/github/threefoldtech/OpenPublish; git rev-parse --abbrev-ref HEAD
Mon 20 09:51:38 GitFactory.py    - 346 - j.clients.git:gitfactory           : git pull<EMAIL_ADDRESS>-> /sandbox/code/github/threefoldtech/OpenPublish
Mon 20 09:51:38 GitFactory.py    - 352 - j.clients.git:gitfactory           : cd /sandbox/code/github/threefoldtech/OpenPublish;git pull origin master
Mon 20 09:51:38 SystemProcess.py -  65 - execute                            : execute:cd /sandbox/code/github/threefoldtech/OpenPublish;git pull origin master
Mon 20 09:53:45 SystemProcess.py -  65 - execute                            : system.process.run ended, exitcode was 1
Mon 20 09:53:45 GitFactory.py    - 388 - j.clients.git:gitfactory           : git pull rc>0, need to implement further, check what usecase is & build interactivity around

ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

could not push/pull<EMAIL_ADDRESS>
Doing git pull or clone for these repos using git command worked well.

Seems like internet issues.


[YoutubeBridge] Add detectParameters

I'm new in git and php
to fix de error, I executed:
phpcbf bridges/YoutubeBridge.php

Please rebase your PR and add TEST_DETECT_PARAMETERS as I described here https://github.com/RSS-Bridge/rss-bridge/pull/2147.
Also instead of rebasing you make new PR

I tested for with http://rssbridge.localhost/?action=detect&format=Html&url=https://www.youtube.com/channel/UCIrEFouGWKW31yi0FTmALAg
And it works. Please continue and mark this PR as ready.


apacheHttpdPackages.mod_auth_mellon: 0.17.0 -> 0.18.0

Motivation for this change

new release: https://github.com/latchset/mod_auth_mellon/releases/tag/v0.18.0
fixes CVE-2019-13038
we were able to upstream our patch so we can drop it! :tada:
testing pending... (don't merge yet!) testing complete :heavy_check_mark:
requires backport due to exploitable CVE

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Not an Apache2 user, nor did I see any tests that uses mod_auth_mellon, so apart from building it there is not much I can do.


Fix a panic due to non-primitive defaults

The Pulumi schema doesn't support default values for non-primitive types -- objects and arrays, specifically.
This PR fixes the panic by only setting a default value when the object is primitive.
Fixes https://github.com/pulumi/crd2pulumi/issues/61.
Fixes https://github.com/pulumi/crd2pulumi/issues/68.
Fixes https://github.com/pulumi/crd2pulumi/issues/125.
Fixes https://github.com/pulumi/crd2pulumi/issues/105.

@blampe Thank you very much for merging a fix. This issue is very annoying. Would it be possible to release a new version of crd2pulumi with the fix? 🙏


Keyboard Connection Error: server is not an accepted origin

Hi again :)
My Rpi4 came in today and i followed the instructions on the blog post and can see the screen, however i can't use the keyboard.. It keeps coming up with a red box telling me there is a keyboard connection error (Transport Error)..
When i run "journalctl -f " i'm seeing :
INFO in server: http://<IP_ADDRESS> is not an accepted origin.
I've set my hosts file to point the name "tinypilot" to my pi's IP address and that seems to allow it to work.. however it's not particularly useful if i have to change hosts files on all my machines...
I thought i had read in another post that this CORS stuff was fixed.. is there a way to fix it?

Oh, this is likely related to #83.
It sounds like you're accessing your Pi by IP address but it's expecting you to access it by hostname. Can you try accessing it by hostname (http://raspberrypi)?
It sounds like I should change this line to accept both the Pi's hostname and its IP.

Oh, this is likely related to #83.
It sounds like you're accessing your Pi by IP address but it's expecting you to access it by hostname. Can you try accessing it by hostname (http://raspberrypi)?
It sounds like I should change this line to accept both the Pi's hostname and its IP.

Ideally i'd be hitting this from behind a reverse proxy.. so it would be like kvm.domain.co.uk.. but when i changed the hostname to that (after setting up the reverse proxy) it didn't like that either..
using the hostname of the pi itself does seem to work (eg : tinypilot)

I think the TinyPilot should respond to all hostname/IPs. If someone is browsing to it, open. It'll be a whole nother animal if we implement TLS

@danmed - as a workaround right now, you can change this line:
https://github.com/mtlynch/tinypilot/blob/e175e83676f7d71a5a4471366be1a79816e2bf25/app/main.py#L33
And replace cors_origin with a list of hostnames/IPs you'd like to use like:
socketio = flask_socketio.SocketIO(app, cors_allowed_origins=[
    'http://ipaddress',
    'https://sub.domain.com',
    'http://hostname',
  ])

You could also just set it to '*', but then you're potentially vulnerable to CSRF attacks (another website could inject keystrokes that forward to your target device). It's not a realistic attack at this point in time because there are so few TinyPilot users, but I don't want to get sloppy with security now and have to break things later to get back to secure functionality.

I think the TinyPilot should respond to all hostname/IPs. If someone is browsing to it, open. It'll be a whole nother animal if we implement TLS

@peterberbec - It currently does respond to any hostname if you're just accessing the / route. The issue is that the keyboard forwarding happens via websockets implemented using socket.io, and socket.io relies on CORS settings to prevent CSRF.
Thinking about this more, the cleanest solution is probably to just accept all CORS origins but authenticate the initial handshake with a CSRF token to ensure the session originated from the TinyPilot browser tab and not an external tab. It's possible that flask_wtf is already protecting communcation with socket.io, in which case the CORS checks are redundant anyway.

Would using a self-signed ssl cert that we install help?

Would using a self-signed ssl cert that we install help?

It will in the future, but not yet.
TLS protects you from an attacker who has access to your network traffic. The threat with CORS is a malicious website that you visit. Suppose you visit evil.com and that site uses JavaScript that instructs your browser to send a request to https://tinypilot/socket.io as you. For that attack, HTTP vs. HTTPS makes no difference, since any site you visit can still send requests to TinyPilot from your browser.
TLS will help, though, once we add authentication. Right now, TinyPilot assumes your network is secure. If an attacker is on your network, there's no reason for them to attack your session because they can simply visit TinyPilot from their machine and do whatever mischief they want. Once we support authentication, TLS will be useful for protecting authenticated sessions so that TinyPilot is secure even on untrusted networks.

I don't know if this is the same issue, but my main machine is a Mac so to access TinyPilot I need to go to http://tinypilot.local rather than just http://tinypilot. However, that fails with a CORS error.

Okay, it seems like it's harder than I thought to catch all the edge cases, and the protection we're getting with strict CORS checking is minimal to none, so I've switched to wildcard. I've added a work item to keep this on my radar #99.
If you re-run the quick-install commands, you should pick up the latest version which fixes this:
curl -sSL https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install | bash -
sudo reboot


Revert "Update ppp"

Reverts AY2122S2-CS2103T-T12-3/tp#269

Codecov Report

Merging #271 (af1c809) into master (1c0d6ac) will increase coverage by 0.15%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #271      +/-   ##
============================================
+ Coverage     65.19%   65.35%   +0.15%
  Complexity      589      589
============================================
  Files            92       92
  Lines          2109     2104       -5
  Branches        242      243       +1
============================================
  Hits           1375     1375
+ Misses          666      661       -5
  Partials         68       68

Impacted Files
Coverage Δ

...va/seedu/address/logic/commands/ImportCommand.java
0.00% <0.00%> (ø)

...eedu/address/logic/parser/ImportCommandParser.java
0.00% <ø> (ø)

...eedu/address/model/excel/ExcelToJsonConverter.java
0.00% <ø> (ø)

...va/seedu/address/model/excel/ImportFileParser.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Unhandled onError event during build

I installed the plugin through Netlify UI, configured all according to the blog post about the plugin, but I'm getting build error when deploying my site.
Description
As above.
Steps to Reproduce
I was following the steps from the blog post linked above.
The site is a Create React App project if that's relevant.
Expected Behavior
The build to not fail :)
But if there's a configuration error on my side (e.g. wrong ingest key?), surface that error.
Relevant Logs / Console output
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:   3. @newrelic/netlify-plugin (onBuild event)
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:
1:12:12 PM:
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:   4. @newrelic/netlify-plugin (onError event)
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:
1:12:12 PM:
1:12:12 PM: (@newrelic/netlify-plugin onError completed in 6ms)
1:12:12 PM:
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:   5. @newrelic/netlify-plugin (onEnd event)
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:
1:12:12 PM:
1:12:12 PM: (@newrelic/netlify-plugin onEnd completed in 8ms)
1:12:12 PM:
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:   Plugin "@newrelic/netlify-plugin" internal error
1:12:12 PM: ────────────────────────────────────────────────────────────────
1:12:12 PM:
1:12:12 PM:   Error message
1:12:12 PM:   UnhandledRejection: a promise was rejected but not handled: Error: function httpAdapter(config) {
1:12:12 PM:     return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise)...<omitted>...
1:12:12 PM:   } could not be cloned.
1:12:12 PM:     return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise)...<omitted>...
1:12:12 PM:   } could not be cloned.
1:12:12 PM:
1:12:12 PM:   Plugin details
1:12:12 PM:   Package:        @newrelic/netlify-plugin
1:12:12 PM:   Version:        1.0.1
1:12:12 PM:   Repository:     git+https://github.com/newrelic-experimental/netlify-plugin.git
1:12:12 PM:   npm link:       https://www.npmjs.com/package/@newrelic/netlify-plugin
1:12:12 PM:   Report issues:  https://github.com/newrelic-experimental/netlify-plugin/issues
1:12:12 PM:
1:12:12 PM:   Error location
1:12:12 PM:   In "onBuild" event in "@newrelic/netlify-plugin" from Netlify app
1:12:12 PM:       at writeChannelMessage (node:internal/child_process/serialization:82:9)
1:12:12 PM:       at process.target._send (node:internal/child_process:839:17)
1:12:12 PM:       at process.target.send (node:internal/child_process:739:19)
1:12:12 PM:       at node:internal/util:360:7
1:12:12 PM:       at new Promise (<anonymous>)
1:12:12 PM:       at bound  (node:internal/util:346:12)
1:12:12 PM:       at sendEventToParent (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/ipc.js:123:46)
1:12:12 PM:       at handleError (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/error.js:13:9)
1:12:12 PM:       at Object.handleProcessError [as log] (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/error.js:31:9)
1:12:12 PM:       at logEvent (file:///opt/buildhome/node-deps/node_modules/log-process-errors/build/src/handle/common.js:53:12)
1:12:12 PM:
1:12:12 PM:   Resolved config
1:12:12 PM:   build:
1:12:12 PM:     command: npm run build
1:12:12 PM:     commandOrigin: ui
1:12:12 PM:     environment:
1:12:12 PM:       - ENABLE_BROWSER_MONITORING
1:12:12 PM:       - NEWRELIC_ACCOUNT_ID
1:12:12 PM:       - NEWRELIC_APP_ID
1:12:12 PM:       - NEWRELIC_BROWSER_LICENSE_KEY
1:12:12 PM:       - NEWRELIC_INGEST_LICENSE_KEY
1:12:12 PM:       - REACT_APP_COOKIES_DOMAIN
1:12:12 PM:       - REACT_APP_FB_PIXEL_ID
1:12:12 PM:       - REACT_APP_GRAPHQL_API_ENDPOINT
1:12:12 PM:       - REACT_APP_GRAPHQL_SUBSCRIPTIONS_API_ENDPOINT
1:12:12 PM:       - REACT_APP_GTM_TRACKING_ID
1:12:12 PM:       - REACT_APP_LIVE_MODE
1:12:12 PM:       - REACT_APP_REST_API_ENDPOINT
1:12:12 PM:       - REACT_APP_SEGMENT_API_KEY
1:12:12 PM:       - REACT_APP_SENTRY_DSN
1:12:12 PM:       - SENTRY_AUTH_TOKEN
1:12:12 PM:       - SENTRY_ORG
1:12:12 PM:       - SENTRY_PROJECT
1:12:12 PM:       - SKIP_PREFLIGHT_CHECK
1:12:12 PM:     publish: /opt/build/repo/build
1:12:12 PM:     publishOrigin: ui
1:12:12 PM:   headers:
1:12:12 PM:     - for: /static/*.woff
      values:
        Cache-Control: public, max-age=31536000, immutable
    - for: /static/*.woff2
      values:
        Cache-Control: public, max-age=31536000, immutable
    - for: /*
      values:
        Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
  headersOrigin: config
  plugins:
    - inputs: {}
      origin: ui
      package: '@newrelic/netlify-plugin'
  redirects:
    - from: /*
      status: 200
      to: /index.html

Your Environment
Additional context

Hello,
I encounter exactly the same problem.
Do you know what could be the cause?
Thank you in advance.

I followed the netlify blogpost:
https://www.netlify.com/blog/netlify-and-new-relic-plugin-quickstart
And received the same error.
Thanks for anyone looking into it.

I found the same issue when I tried using it by following the docs as well.

Hi all, are there any updates on this issue? Do we at least have Jira ticket open for this?

I'm getting the same error

any update regarding this issue? 👀

any update regarding this issue? 👀

I think my pull request (https://github.com/newrelic-experimental/netlify-plugin/pull/11) fixes these issues. But this project doesn't seem to be maintained, and no-one from new relic has even commented on the PR. 😢

Hi @michaldudek @SG60 @annbeemsterboer @CavalcanteLeo @andrelas1 @marc-wittwer @atido -- #12 has been merged. Please confirm if you're still experiencing this issue.


Merged changes to readme examples

As requested in https://github.com/gaearon/redux/pull/426

Thank you!


[FEATURE] Adding features to items with spells

There are quite a few items that have "nested" effects that don't particularly fit as spells. While they could be made to be spells, it doesn't work perfectly.
Some examples of such an item include the Staff of Striking, Staff of Withering, Dagger of Venom, and the Helm of Brilliance (for the diamond and fire opal effects).
With that in mind, would it be possible to add features to the items that can be "nested" through the module, rather than keeping it restricted to just spells?

This is explicitly something that is beyond the Items with Spells module. This module is intended for spells, and spells only. What you are looking for is covered by the [Magic Items]](https://github.com/PwQt/magic-items-2) module and will not be added to this module.
Let me quote from the readme:

The scope of this module is intentionally limited and will not fully replace the edge-cases that Magic Items attempts to accommodate.

I'm sorry, but if you want this functionality, you'll either have to use another module or make a copy of this module and code it yourself.


Hyprland freezes after suspension

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland 0.44.0 built from branch main at commit d679d200299ed4670f0d0f138c793d5f507b7cec  (seat: avoid sending pointless 'keymap' and 'repeat_info' events (8276)).
Date: Mon Oct 28 20:25:27 2024
Tag: v0.44.0-91-gd679d200, commits: 5390
built against aquamarine 0.4.3

flags set:
debug

System Information:
System name: Linux
Node name: razorcrest
Release: 6.11.5-200.fc40.x86_64
Version: #1 SMP PREEMPT_DYNAMIC Tue Oct 22 19:13:11 UTC 2024

GPU information:
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo [1002:15e7] (rev c2) (prog-if 00 [VGA controller])

os-release: NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation

plugins:

======Config-Start======

Config File: /home/alimertturaclar/.config/hypr/hyprlandd.conf: Read Succeeded
# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

# Please note not all available settings / options are set here.
# For a full list, see the wiki

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

debug{
  disable_logs = false
}

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=FALLBACK,1920x1080@60,auto,1
monitor= eDP-1,1920x1080,auto-right,1
monitor= desc:Dell Inc. DELL 1907FPV J378H924A522, preferred, 0x0, 1
#monitor= desc:Dell Inc. DELL P2720D B6B7643,preferred,0x-1440,1

###################
### MY PROGRAMS ###
###################

$terminal = alacritty
$fileManager = nautilus
$menu = wofi --show drun

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

exec-once = waybar
exec-once = hyprpaper
exec-once = swaync
exec-once = udiskie
#exec-once= hyprctl keyword monitor "FALLBACK, 1920x1080@60, auto, 1"

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 5
    gaps_out = 10

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = true

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false

    layout = master
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 10

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = true

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[t1], gapsout:0, gapsin:0
# workspace = w[tg1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[t1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
#master {
#    new_status = master
#    new_on_top = 1
#    mfact = 0.5
#}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = de
    kb_variant = qwerty
    kb_options =
    kb_rules =

    follow_mouse = 1

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = true
        middle_button_emulation = true
        clickfinger_behavior = true
        tap-and-drag = true
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

###################
### KEYBINDINGS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
#bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, hyprlock

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Screenshot
# Save selected area and copy to clipboard
bind = , print, exec, grimshot --notify save area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png
bind = $mainMod, print, exec, grimshot --notify copy area

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Sway NC
bind = $mainMod, N, exec, swaync-client -t -sw

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-

# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous

# Move - Switch windows
bind = $mainMod SHIFT, L, moveactive, r
bind = $mainMod SHIFT, H, moveactive, l
bind = $mainMod SHIFT, K, moveactive, u
bind = $mainMod SHIFT, J, moveactive, d

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Example windowrule v1
# windowrule = float, ^(kitty)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*

# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0

======Config-End========

[alimertturaclar@razorcr

Description
After suspending the current Hyprland session with systemctl suspend or closing the lid of the laptop (with or without Hyprlock locked), everything freezes. There is no red screen of death. If it is locked after Hyprlock, the Hyprlock screen and the cursor is visible, but I can't give any inputs, can't move the cursor, can't switch to tty. Only solution is hard reset via the power button of the laptop. If it is directly suspended from the terminal (without Hyprlock) again, everything is visible (terminal, cursor etc.) but no response, only solution is hard reset via the power button.
I tried the current solution to the very similar problem, that is, adding a fallback monitor and building everything from their latest git commits (e.g., aquamarine-git). But none of them helped.
How to reproduce

Launch Hyprland from tty
systemctl suspend
no response / everything is frozen
hard reset

Crash reports, logs, images, videos
[
hyprland.log
](url)

Can confirm on my laptop after closing the lid. Changing TTYs doesn't fix it.

Log from the make debug, hyprlandd.log

This exact same issue is happening to me too. EndeavourOS with kernel version 6.11.4.

Because, on Hyprland, external monitor sometimes goes into cycle of displaying RGB colors in a sequence, simply unplugging the HDMI cable and plugging it back after successful resume solves this issue.

You sure this isn't just a quirk with HDMI/Monitor(at least with Hyprland)? afaik AMD still doesn't support HDMI 2.1.
You might also try the script i have in this comment so you don't have to rip your cable out every time it happens, if it works you can modify it a bit and put it in /etc/systemd/system-sleep/.
https://github.com/hyprwm/Hyprland/issues/8056#issuecomment-2452868678
Forcing the port to stay on via the stuff below the script may do something but unlikely.
man systemd-suspend.service or https://www.freedesktop.org/software/systemd/man/latest/systemd-suspend.service.html#Description for info to modify it.
Example script
#!/bin/sh
if [ "$2" = "suspend" ] || [ "$2" = "suspend-then-hibernate" ] || [ "$2" = "hybrid-sleep" ]; then
  if [ "$1" = "pre" ]; then
    sleep 2
    rc-service NetworkManager stop
  elif [ "$1" = "post" ]; then
    sleep 2
    rc-service NetworkManager start
  fi
fi


About the results under different machines

Hello, I have read the previous issue, which mentioned that the results of different machines are different when random seeds are fixed. Is there any way to solve this problem？

There is no good solution at present because there is too much randomness involved in the diffusion model, which will bring great effects. We have observed this problem on other method，such as DDAD. Unfortunately there is no good solution at present.


debug.sh: add since -3days to journalctl

Since debug.sh collects journal log from all of the Nodes on the
cluster, if each cluster had xxx GB log, the collector host's
diskspace is overflowed. On top of that, current script takes much
time due to the collection time and scp of journal log.
This patch adds --since -3days option to journalctl, then collects
logs since 3days ago.

The unboundedness was intentional. In particular, we want the logs from the most recent service startup, if possible. (But also, if the service has been restarted recently, we want to see the logs from before the restart too.)
Maybe in some contexts we don't care about that as much, but if so, and if there were problems in some particular customer case, then we could provide a modified debug.sh for them to run. We don't expect people to run debug.sh other than when we have asked them to (since it requires an engineer to actually go through the output to look for problems, rather than diagnosing them itself).


Change home page to Observations#index by RssLog

Changes the default home page from RssLogs to the Observations index, ~and adds a new preference to restore the RssLogs as homepage for power-users who want that~.  (Actually, no. Adding a preference like that is a lot of work. If people want the activity log there is a link in the main nav for it.)
There seems to be consensus as of the last meeting that this is a good idea. It will make the home page query less expensive, and quicken the many default redirects on the site. And in my opinion, getting the housekeeping out of the homepage is better UX, especially for beginners.
So... for this Obs home index, I’d like to hear peoples' ideas of which query to use. We discussed Obs by RssLog. Obs by date is currently the default query for the obs index, but i prefer the idea of obs by updated_at, which is in the spirit of the the activity log but less expensive.
Question:

I notice that the query class ObservationByRssLog is different from ObservationAll by: :rss_log

Both of these involve a join to RssLogs, so they are slower than ObservationAll by: :updated_at, and i believe the main difference is that the join to :rss_logs returns deleted observations. In my opinion, deleted observations don't need to be in the homepage feed. If somebody wants to check the log, they’ll be there.
Revised - see comment below

Realization: the join to :rss_logs is necessary to catch observation comments, which do not trigger a new :updated_at date in the observation.
So observations by :rss_log it is.
There is currently a (Observation, :by_rss_log) query flavor, distinct from the sorting criterion (Observation, :all, by: :rss_log). I believe they produce the same results.
I plan to use the sorting arg not the flavor, because I'd like all the sorts to use the same query class. Seems simpler. I believe the :by_rss_log query flavor is used only in coerced queries.

A remaining question is what to call this index, and what to call the sort order.
Mindful that people are used to "Activity Log", i'm proposing "Observation Activity" as a temporary title of this "Observations by rss_log". "Observation Activity Log" is good too, as is "Observation Log".
In the future, if people like the top navbar redesign idea I'm thinking of, it would just be
"Observations" with a dropdown for the sort order, something like
Observations   sort by: Recent Activity
But that's for another day.

Any of those work for me, too.
On Fri, Apr 21, 2023 at 1:19 AM andrew nimmo @.***>
wrote:

A remaining question is what to call this index, and what to call the sort
order.
Mindful that people are used to "Activity Log", i'm proposing "Observation
Activity" as a temporary title of this "Observations by rss_log".
"Observation Activity Log" is good too, as is "Observation Log".
In the future, if people like the top navbar redesign idea I'm thinking
of, it would just be
"Observations" with a dropdown for the sort order, something like
Observations sort by: Recent Activity
But that's for another day.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1468#issuecomment-1517275793,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNN4267MJPFGL4TXQZ3XCIKH3ANCNFSM6AAAAAAXDFFW2I
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

re: coveralls, I don't understand why it says the species_lists/projects lines are "newly" uncovered here...
Don't believe I touched anything to do with those.

Thanks @pellaea ... @mo-nathan @JoeCohen — Any preferences whether I merge this ahead of the weekend, so we can all test drive it before the meeting, or keep it open?


DuckDB writes data utilizing stream rather than Vec[RecordBatch]

Awaiting the following PR to be reviewed/approved: Streaming write for DuckDB TableProvider

Completed by https://github.com/spiceai/spiceai/pull/1884


Provide Stratigility 2.0 compatibility

This patch updates Expressive to work with Stratigility 2.0, and thus http-interop/http-middleware 0.4.1+.
In order to accomplish this, a large number of changes were needed:

Extracted routing middleware to Zend\Expressive\Middleware\RouteMiddleware, and removed the Application::routeMiddleware() method.
Extracted dispatch middleware to Zend\Expressive\Middleware\DispatchMiddleware, and removed the Application::dispatchMiddleware() method.
Extracted the closure for lazy-loading middleware from the MarshalMiddlewareTrait into Zend\Expressive\Middleware\LazyLoadingMiddleware.
Extracted the logic for isCallableInteropMiddleware() into the trait IsCallableInteropMiddlewareTrait.
Rewrote the MarshalMiddlewareTrait essentially from the ground up, to ensure any middleware that prepareMiddleware() returns is http-interop/http-middleware compatible; it also removes all support for the Stratigility v1 "error middleware". Additionally, it now creates and returns instances of RouteMiddleware, DispatchMiddleware, and LazyLoadingMiddleware.
Updated the ApplicationConfigInjectionTrait to no longer worry about Stratigility v1 error middleware, and to use the Application constants for routing and dispatch middleware instead of the legacy callables referencing Application methods.
Removed the ErrorMiddlewarePipe class and the Application::pipeErrorMiddleware() method.
Refactored all double-pass middleware to be http-interop/http-middleware.
Moved the ROUTING_MIDDLEWARE and DISPATCH_MIDDLEWARE constants into the Application class; the ApplicationFactory class now sets its own to the Application constant values.
Renamed finalHandler to defaultDelegate, and it is now a NoopFinalHandler by default.
Removed the __invoke() method, as it no longer had or required logic different from Zend\Stratigility\MiddlewarePipe.

I also did a fair bit of test refactoring, due to the changes listed above. There's likely more to do; the ApplicationFactoryTest, for example, has a fair bit of logic mimicing that of the MarshalMiddlewareTraitTest which could be removed.
With these changes, the develop branch will now target a new major version, 2.0.0, as the changes required to accommodate Stratigility 2.0 required BC breaks. This also afforded the opportunity to provide some nice architectural changes, such as extracting the routing and dispatch middleware.

Great changes! +1,829 −2,677 :heart:
Good idea to move everything into middlewares (routing and dispatch), I think before about it. Maybe it's something else what we can extract to middewares?

Maybe it's something else what we can extract to middewares?

Umm... what do you mean? Any concrete suggestions?

I'm just thinking out loud ;)

What about migrate to php7 in 2.0?

What about migrate to php7 in 2.0?

Not yet; we're still committed to supporting PHP 5.6 until it goes EOL... unless we determine that a majority of users have migrated to 7 before then.

@webimpress Addressed all feedback you provided; thanks!


Add option to enable gzip compression on request bodies

Elasticsearch is able to accept gzip-compressed request bodies, but currently this library has no functionality to send compressed request bodies.
Request compression can be important in e.g. the situation where you are pushing a lot of data out from a cloud provider to a self-hosted Elasticsearch instance, and being billed heavily for bandwidth. Issue https://github.com/elastic/go-elasticsearch/issues/217 requests this feature.
This PR adds a client flag CompressRequestBody which, if enabled, causes request bodies to be compressed. The flag is disabled by default. Also added a couple of tests for the feature.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

CLA signed.

Hi @bschofield thank you for this contribution!
It looks really good to me, though I'd like to add some tests around the other packages before merging. Is it alright with you if I push directly to your fork ?

Hi @Anaethelion, thanks so much for merging this and apologies for not ticking the "Allow edits by maintainers" button earlier. Also, thank you very much for doing the extra work to add those integration tests, it seems like I made you some extra work there and I'm very grateful for you doing it!

Hi @Anaethelion
Why this PR is not part of release 7.14.0? When we can expect that it will be included?

This PR didn't meet the feature freeze period, which is why it was not included in the 7.14 release.
It will be included in the 7.15 for which I do not have an ETA yet.
However this has been back ported to 7.x which is currently on par with the 7.14 release, you definitely can start testing with the 7.x branch!


PHP Intellisense parameter skip (Bug)

The bug because seperate word is repeated in seperateChar | And the problem solved when I rename seperate to separate for example

VSCode Version: 1.49.3
OS Version: Windows 10 Pro version 2004 build 19041.265

Steps to Reproduce:

new laravel project with documented method
Intellisense parameter skip (Bug)

Does this issue occur when all extensions are disabled?: No

I don't know who owns this, is that controlled by us or the extension?

Which PHP extension are you using @pixieaka? Please file an issue on that extension's repo

@roblourens @jrieken Tracking in this issue https://github.com/bmewburn/vscode-intelephense/issues/455

@roblourens This is from vscode https://github.com/microsoft/vscode/issues/56337


error sanitizing source with whitespaces in config file

#558
I have a folder with whitespace that I would like to backup:
[[backup.sources]]
source = "/home/jack/Mobile Backup"

CLI output:
[00:00:00] reading index...               ████████████████████████████████████████          0/0
[WARN] error sanitizing source="/home/jack/Mobile Backup" in config file

Escaping with a backslash works only if I use single quotes:
[[backup.sources]]
source = '/home/jack/Mobile\ Backup'

CLI output:
[00:00:00] reading index...               ████████████████████████████████████████          0/0
[00:00:00] getting latest snapshot...     ████████████████████████████████████████          0/0
[00:00:17] backing up...

But it doesn't work with double quotes:
[[backup.sources]]
source = "/home/jack/Mobile\ Backup"

CLI output:
error: rustic-rs fatal error: parse error: invalid escape character in string: ` ` at line 8 column 46

In the full configuration file example it is said that source can contain multiple path in a string, separated by a whitespace, and I think this is the cause of the issue.
Why not having sources as an array of source, as password-command is an alternative to password?

I think it might be also confusing to have [[backup.sources]] multiple times and then to have a field called source which takes multiple values again.
The field should probably be renamed to sources and the table name to [[backup.source-group]] or something. So it's clearer. Then sources takes an array of paths: ["/path/1/2", "path/3/4"].

@simonsan Yes, the naming is a bit irritating, right. But in principle it is about how many backup runs are specified (which will all generate different snapshots) and for each of the runs one can specify multiple (local) sources.

@simonsan Yes, the naming is a bit irritating, right. But in principle it is about how many backup runs are specified (which will all generate different snapshots) and for each of the runs one can specify multiple (local) sources.

Understood, it would be good if that would be reflected in the naming then. Also we should not have to split a text string containing paths on whitestrings and use an array instead. Makes it easier on our side and on the users side as well, I feel.

@simonsan @aawsome thank you for the fix, using an array of dirs is a solid solution!
When do you plan to release v0.8 featuring this change? Because the current config documentation mentions using arrays, which is not supported yet in 0.7

@AlphaJack We are focusing on releasing rustic_core 0.3. rustic 0.8 will then follow after.


Quest is not working. Error:"is not in the chain after 30 seconds"

I guess I'm doing something wrong, but I tried the quest_example.py and changed the PrivateKey and heros_id
Error I receive:
2022-02-10 09:00:38,248|DFK-quest|INFO: Waiting for transaction https://explorer.harmony.one/tx/ to be mined
Traceback (most recent call last):
File "/home/environments/dfk/lib/python3.8/site-packages/web3/eth.py", line 740, in wait_for_transaction_receipt
_timeout.sleep(poll_latency)
File "/home/environments/dfk/lib/python3.8/site-packages/web3/_utils/threads.py", line 89, in sleep
self.check()
File "/home/environments/dfk/lib/python3.8/site-packages/web3/_utils/threads.py", line 82, in check
raise self
web3._utils.threads.Timeout: 30 seconds
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 35, in
quest.start_quest(quest_contract, my_heroes_id, 3, private_key, w3.eth.getTransactionCount(account_address), gas_price_gwei, tx_timeout)
File "/home/environments/dfk/code/quest/quest.py", line 10, in start_quest
return quest_core.start_quest(quest_address, hero_ids, attempts, private_key, nonce, gas_price_gwei, tx_timeout_seconds, self.rpc_address, self.logger)
File "/home/environments/dfk/code/quest/quest_core.py", line 86, in start_quest
tx_receipt = w3.eth.wait_for_transaction_receipt(transaction_hash=signed_tx.hash, timeout=tx_timeout_seconds,
File "/home/environments/dfk/lib/python3.8/site-packages/web3/eth.py", line 744, in wait_for_transaction_receipt
raise TimeExhausted(
web3.exceptions.TimeExhausted: Transaction HexBytes('') is not in the chain after 30 seconds
If I go to the explorer link, I also don't see the transaction.
I guess I'm missing something?

I had to increase "gas_price_gwei = 15" to 30 and than it was working.


Invalid URI: The format of the URI could not be determined

I have been able to successfully connect using the blank query method but get an error when trying to use the custom connector, this occurs when you select sign in.
Error
Invalid URI: The format of the URI could not be determined
I have setup the connections file as suggested and should work as same details used for blank query.
[{
    "product":"DWC",
    "host": "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.eu99.hcs.cloud.sap",

    "client_id": "xx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxxx|client!xxxxx",
    "client_secret": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

    "auth_token_url": "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.authentication.eu99.hana.ondemand.com/oauth/token",
    "auth_authorize_url": "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.authentication.eu99.hana.ondemand.com/oauth/authorize"
}]

Could you please try with the latest version? I fixed an issue on the catalog connection with a similar error message.
Best regards, Olaf

Thanks now working

Thanks for the feedback, Olaf


Not Working

Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Entry not found in cache.
Version: 0.15.0
OS: darwin
Product: Visual Studio Code
Product Version: 1.37.1
Language: en

Call Stack
a.module.exports.a.createError extension.js:1:49013
b.<anonymous> extension.js:229:176842
extension.js:229:171457
extension.js:229:43573
extension.js:229:41975
extension.js:229:41127
i.module.exports.i.find extension.js:229:75620
module.exports.find.init.then extension.js:229:22917

Hi @daniporras,
Thanks for reporting. We are still tracking the external issue here:
AzureAD/azure-activedirectory-library-for-nodejs#199
Please add some 👍's to give the team feedback that this is an issue worth resolving!


Choose Audiotrack

I ve tried downloading a video from arte.tv+7. The video was including the audiotrack for visually handicapped people. Maybe it could be found a way to choose from several tracks.

Closing due to insufficient info. Feel free to open a new issue with full --verbose log.


HHH-17616 - Move resources

that were still in src/java to src/resources

https://hibernate.atlassian.net/browse/HHH-17616

Thanks!


Enter Color or Hex Number for Text Color

Enter Color or Hex Number for Text Color
User Story
AS a freelance web developer
I WANT to generate a simple logo for my projects
SO THAT I don't have to pay a graphic designer
Acceptance Criteria
GIVEN a command-line application that accepts user input
WHEN I am prompted for the text color
THEN I can enter a color keyword (OR a hexadecimal number)

The text's color can be entered as either text or a hexadecimal number.  The inquirer prompts capture the value and correctly pass it to the SVG log creation function.


resolving mobile issues discovered in #12

resolves #12

Codecov Report

Merging #13 into v0.0.13 will decrease coverage by 0.38%.
The diff coverage is 79.64%.

@@             Coverage Diff             @@
##           v0.0.13      #13      +/-   ##
===========================================
- Coverage    80.55%   80.17%   -0.39%
===========================================
  Files            2        2
  Lines          108      116       +8
===========================================
+ Hits            87       93       +6
- Misses          21       23       +2

Impacted Files
Coverage Δ

src/ReactAddToCalendar.js
69.11% <67.69%> (ø)
:arrow_up:

src/helpers/index.js
95.83% <95.83%> (-4.17%)
:arrow_down:

Continue to review full report at Codecov.

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


[v2]Fix lint environments in tox

With the change to prefixing the lint env, the lint commands needed to be moved to the [testenv] stanza.

This PR kind of scope creeped as I ran into issues with the docs and trying to set host_vars for setup/teardown playbooks.  I need to go back and fix the coverage regression for adding the localhost exception still.

@retr0h once I fix the coverage regression, I will break these changes out.

@retr0h there is definitely scope creep here, I'm happy to break out one or more changes into a separate pr if needed.

@dedihub Can you rebase?

@retr0h done.
It looks like the current v2 branch is failing unit tests for coverage.

It looks like the current v2 branch is failing unit tests for coverage.

Corrected


Hoodie commit fails if number of partitions to be cleaned are 0.

This is happening for hoodie 0.3.8.
java.lang.IllegalArgumentException: requirement failed: Number of partitions (0) must be positive.
at scala.Predef$.require(Predef.scala:224)
at org.apache.spark.rdd.RDD$$anonfun$coalesce$1.apply(RDD.scala:446)
at org.apache.spark.rdd.RDD$$anonfun$coalesce$1.apply(RDD.scala:445)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
at org.apache.spark.rdd.RDD.withScope(RDD.scala:362)
at org.apache.spark.rdd.RDD.coalesce(RDD.scala:445)
at org.apache.spark.rdd.RDD$$anonfun$repartition$1.apply(RDD.scala:418)
at org.apache.spark.rdd.RDD$$anonfun$repartition$1.apply(RDD.scala:418)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
at org.apache.spark.rdd.RDD.withScope(RDD.scala:362)
at org.apache.spark.rdd.RDD.repartition(RDD.scala:417)
at org.apache.spark.api.java.JavaPairRDD.repartition(JavaPairRDD.scala:121)
at com.uber.hoodie.table.HoodieCopyOnWriteTable.cleanPartitionPaths(HoodieCopyOnWriteTable.java:553)
at com.uber.hoodie.table.HoodieCopyOnWriteTable.clean(HoodieCopyOnWriteTable.java:501)
at com.uber.hoodie.HoodieWriteClient.clean(HoodieWriteClient.java:740)
at com.uber.hoodie.HoodieWriteClient.commit(HoodieWriteClient.java:385)

@kaushikd49 any thoughts?

@omkar - was not aware of hoodie version upgrade in Komondor.
Anyway, I don't think we are explicitly setting the clean parallelism in Komondor and the default value for that seems to be 200 in hoodie. Could you please rollback Komondor to use the previous version of hoodie if this is affecting the jobs, so that I can investigate the root cause during the week? I need to double check - but from a quick search seems like this is happening when the repartition parallelism is 0.
https://issues.apache.org/jira/plugins/servlet/mobile#issue/SPARK-15512.
Sent from my iPhone

On Jun 17, 2017, at 9:49 PM, vinoth chandar<EMAIL_ADDRESS>wrote:
Assigned #200 to @kaushikd49.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@vinothchandar @ovj Identified the root cause. It is due to my change. I will send a PR for this. @ovj is assumeDatePartitioning set as false in your job? The num partitions to clean is 0, so this bug is causing job failure.


VPN Selective mode causes a speed downgrade for non-listed domains

The problem occurs on the speedtest.net service. It isn't listed in the mode list, same is for any Ookla's domain. Endpoints are the same while using Selective mode and turning off the VPN-connection. Speed downgrade while using the Selective mode is up to 90%.

When are you going to fix this? Selective mode doesn't make sense because of the speed downgrade.


Optimized SCC Implementation and Removed TensorFlow Dependencies

When installing spateo on macOS, I encountered version incompatibility errors. For instance, the vtk package requires a minimum Python version of 3.9. Additionally, installing both torch and tensorflow simultaneously can lead to package conflicts. After thoroughly reviewing the implementation of the relevant TensorFlow code, I rewrote all TensorFlow-related code using PyTorch and removed all TensorFlow-related dependencies from requirements.txt.
Updates:

Re-Implemented NLPCA using PyTorch instead of TensorFlow.
Re-Implemented weighted_binary_crossentropy using PyTorch instead of TensorFlow.
Re-implemented calculate_leiden_partitionand added logger.info.
Optimized label assignment by majority voting in the neighborhood using optimize_cluster.

Notes:
After carefully comparing the clustering effects of Leiden in scanpy and spateo, I found that the enhanced effect is due to dynamo.tl.neighbors compared to scanpy.pp.neighbors. The exact reason for this enhancement still needs further investigation.
Additionally, it is important to note that scc does not achieve state-of-the-art (SOTA) performance and does not yield better results on the gold standard dataset of human cortical neurons.
Since scc is an adjacency matrix that directly combines spatial neighborhoods and PCA neighborhoods, mclust is not applicable and was not included in this PR. Perhaps I could introduce STAGATE into the spateo framework and use it in place of PCA. However, this would introduce a new dependency, pyg, which might complicate updating the existing requirements.txt and incur additional installation costs for users.

More info about optimize_cluster

Those updates are awesome; thanks for your contribution! I noticed you've specified matplotlib<=3.6.2 and pandas<=1.5.3 in your changes. Is there a specific reason for keeping these versions? We're currently updating these dependencies, and I also feel they may be causing some dependency issues in the CI.

Thank you for your feedback! I’m glad you found the updates helpful.
Regarding the specific versions of matplotlib and pandas, there are a couple of reasons for those choices:

Pandas: Version 1.5.3 is the last release before Pandas 2.0, which replaced the internal engine with Polars. This update introduced significant changes, including the renaming of many functions and alterations in formatting. Consequently, many packages have limited compatibility to Pandas 1.5.3 to avoid these disruptions.

Matplotlib: For matplotlib, the version restriction to 3.6.2 or 3.6.3 is due to changes in the parameters of some plotting functions in higher versions, such as cmap. To maintain consistency and avoid potential issues, we opted to restrict it to 3.6.2. Without this restriction, we would need to implement version checks before calling plotting functions to ensure compatibility.

However, I understand the importance of keeping our dependencies up-to-date. If the current versions are causing CI issues, I’m more than willing to help investigate and test with the latest versions to ensure everything works smoothly.

@Sichao25 But the latest version of anndata seems to have solved the support bug for pandas versions greater than 2. This requires more testing to ensure compatibility
scverse/anndata#948

Thanks for sharing your concerns. We are updating important dependencies like NumPy, pandas, and matplotlib to ensure compatibility with other tools. The current plan includes support for pandas >=1.5.3 and matplotlib>=3.6.2. These updates will make it easier for you to pass the CI and test your changes. Feel free to join the discussion here to share your ideas or report any dependency issues.
About scc, it will be nice to have STAGATE introduced as a new option. How about setting it as an optional dependency that users can install themselves? Specifically, we won't add new dependency directly to requirements.txt, but we will check for its installation before using it by some code like:
try:
    import STAGATE
except ImportError:

@Starlitnightly regarding your comments on scc, we found scc works well on several dataset given its simple formulation. (1) but use STAGATE to replace pca seem like a good idea. (2) are you saying spateo's leiden results are worse than scanpy?

@Starlitnightly regarding your comments on scc, we found scc works well on several dataset given its simple formulation. (1) but use STAGATE to replace pca seem like a good idea. (2) are you saying spateo's leiden results are worse than scanpy?

I compared the implementation of leiden in spateo and scanpy, in fact both are the same, so the result is the same, it is the neighbors that cause the difference in leiden. spateo's results are better compared to scanpy's

Thanks for sharing your concerns. We are updating important dependencies like NumPy, pandas, and matplotlib to ensure compatibility with other tools. The current plan includes support for pandas >=1.5.3 and matplotlib>=3.6.2. These updates will make it easier for you to pass the CI and test your changes. Feel free to join the discussion here to share your ideas or report any dependency issues.
About scc, it will be nice to have STAGATE introduced as a new option. How about setting it as an optional dependency that users can install themselves? Specifically, we won't add new dependency directly to requirements.txt, but we will check for its installation before using it by some code like:
try:
    import pyg
except ImportError:

I'm going to try to implement STAGATE in spateo in a future PR. Since the author doesn't give a usable package directly in pypi, a lot of files and code may need to be added!

Maybe it need to be added more method for cluster SOTA in this commit.

[ ] STAGATE: https://github.com/QIFEIDKN/STAGATE_pyG
[ ] CAST: https://github.com/wanglab-broad/CAST/blob/main/setup.py

The latest tutorial can be viewed in the pull request of spateo-tutorial: https://github.com/aristoteleo/spateo-tutorials/blob/bf32d5739f380948e76cbe07c99e3e8d6d1e3627/5_cluster_digitization/1_bin_scc.ipynb
It should be noted that CAST and STAGATE do not perform well on the current dataset, but they outperform SCC on other datasets. Additionally, in the new tutorial, I have modified the method of spatial domain annotation to use dictionary-based annotation instead of sequential annotation.

excellent work. I am going to merge the pull request now.


Decompiler gets stuck on large functions

Describe the bug
For some functions, the decompiler runs for hours without ever decompiling them.
To Reproduce
Steps to reproduce the behavior:

Download the attached file and open it in Ghidra.
Run auto-analysis with the default options.
Try to decompile FUN_002e7b7c.
The decompiler runs, but seems to never finish.

Screenshots

Attachments
osrs_207_4_arm64.zip
Environment (please complete the following information):

OS: Windows 11
Java Version: 17.0.1
Ghidra Version: 10.1.5
Ghidra Origin: official

Yes. It's expected behavior. and nobody will fix it.
Cheers

Can reproduce in the master branch. I'm attempted to force a debug decompilation dump but it didn't work since it gets stuck. My best guess is it doesn't like this type of switch table.

I'm having a similar problem right now.


Shake hardly in RTL mode with speed 5m/s

When my drone returns to the position which is above home in RTL mode, it shakes very hardly, almost crash down. The speed of return is 5m/s, it's wheelbase is 550mm. My firmware is V1.7.3.

I can't set the speed too


npm audit fix

Proposed changes

mocha version is updated to fix npm high vulnerabilities.
npm audit fix is applied for lower priority vulnerabilities

Pull Request Test Coverage Report for Build 16

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.898%

Totals

Change from base Build 14:
0.0%

Covered Lines:
2232

Relevant Lines:
3049

💛  - Coveralls


Enhancement/Fhi angular highcharts responsive container

Map on pad a bit to big? And a bit to small on pad landscape?


Add additional result builder capabilities.

Description
This PR extends the supported functionality of the MiddlewareFixedTypeBuilder result builder.

Adds support for conditional if-else statement syntax in result builders
Adds support for conditional if statement syntax in result builders
Adds support for optional unwrapping statement syntax in result builders.
Adds support for for-loop statement syntax in result builders
Adds tests for validating the additional supported syntax.

The addition of these result builders also empowers HummingbirdRouter unlocking the ability for RouteBuilder and RouterController objects to make use of this conditional syntax as well.

[!Warning]
It might be necessary to add tests to validate that HummingbirdRouter can also make use of these syntax additions. Although, given that we have tests that cover the ability to use controllers in the MiddlewareFixedTypeBuilder result builder, the support may be "inherently" tested.

Conditional  if-else, if and optional statements
Adding support for conditional statements in result builders further enhances the ability to perform logical operations when composing your application's routes and middleware.
if-else
Some applications may want to conditionally add different middleware based on various properties or configurations of their application. In the below example, we utilize different logging middleware if we are running in release mode.
router.addMiddleware {
    if isRelease {
        ReleaseLoggingMiddleware()
    } else {
        DebugLoggingMiddleware()
    }
    ...
}

if
Some applications may want to conditionally add middleware based on various properties or configurations of their application. In the below example, we attach a middleware that exposes the internal errors of our application to aid in client side debugging during development.
router.addMiddleware {
    if isDevelopment {
        DebugErrorDescriptionMiddleware()
    }
    ...
}

optionals
Sometimes our middleware builders may have an optional middleware that they would like to render. In the below example, we build our middleware in a function that takes an optional logger. We unwrap the middleware and add it to the router if it exists.
func buildMiddleware<M: RouterMiddleware>(logger: M?) async throws where M.Context == BasicRequestContext {
    self.router.addMiddleware {
        if let logger {
            logger
        }
        ...
    }
}

for-loop
Sometimes we may build middleware based on a provided set of data. In the below example, we add a series of tracking middleware based on the provided collection of Tracker objects.
enum Tracker: String {
    case sentry
    case datadog
    case firebase
}

func add(trackers: [Tracker]) {
    self.router.addMiddleware {
        for tracker in trackers {
            switch tracker {
            case .datadog:
                DatadogMiddleware()
            case .firebase:
                FirebaseMiddleware()
            case .sentry:
                SentryMiddleware()
            }
        }
    }
}

Added. 👍  Thanks for the review!


Minor updates to README example for clarity.

Made some slight modifications to the README code example and added commented command/results examples to show usage. Think this might help new users grok the project quicker.

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


tqdm dependency

It's imported in the util module, but not listed in the requirements. Somehow the tox tests pass, but when I tried running the unit tests for the LM module I had to install the package to get them to run.
@alvations what am I missing?

Ah that must have sneaked through from https://github.com/nltk/nltk/pull/2337
But the develop branch should have added the dependency https://github.com/nltk/nltk/blob/develop/setup.py#L107

Seems like this is the thing breaking the CI too. Not just local tests.
Sorry about it. Moving the imports inside the parallelization function should let the local tests pass. #2370

Thanks @alvations!


Fail to load server if started with an empty project

While starting a server looking at an empty project folder the java process crashes.
I would like to open a special page describing the situation and offering to create a basic structure for a project instead.
Upon clicking on "Create structure" button, the needed folders and application.yaml should be created, along with initialize command, used to create the initial game state. After that the server should somehow reload all the configuration.

@nergal-perm the puzzle #43 is still not solved.

@nergal-perm the puzzle #46 is still not solved; solved: #43.

@nergal-perm all 2 puzzles are solved here: #43, #46.


update to 3.3.3

Alternative to #15

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.