text:
README suggestions

Some thoughts:
Related to the nice provided example:
Perhaps include what you used here for people running the script to reproduce
Confidence:
Missing Values:
CalculateWeights:
Running this on the numeric examples should be straightforward for people to make themselves the binary rasters for later.
For the categorical, perhaps not:
E.g. for people that don't look at this example and go 'oh, hey, IOCGs, hence Mt Isa - Corella formation and associated proterozoic-y friends'.
So how you went from the first pass run on the data to the 1-2 split, even if 'AF expert knowledge applied here'.
However, considering computationally for people that don't know anything re: Mt Isa geology, what could be a good data driven first pass selection [even if very rough].  e.g. so you could just run the whole thing, even a range of, whether this quantile of top weights or whatever. Then adjust later.

I have a first pass conversion example of yours here:- http://localhost:8888/notebooks/OneDrive - BHP/Exploration2023/Simple-Weights-of-Evidence/WoE-Test.ipynb

repo: GeoscienceAustralia/MPM-WofE


text:
Changed the style of the 'Old version' callout box

Changed the style of this callout box from red ('danger') to blue ('note') so it is less intrusive for the reader.

Compare:

source: gharchive/pull-request

repo: GeoscienceAustralia/dea-knowledge-hub

license_type: permissive

license_source: github-api


text:
Added elevation notebook

A demo of estimating elevations using WOfS.
Checklist (replace [ ] with [x] to check off)

[x] Notebook created using the DEA-notebooks template
[x] Remove any unused Python packages from Load packages
[x] Remove any unused/empty code cells
[x] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[x] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[ ] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[ ] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

stations_in_range - does 'range' mean 'bounding box'? I couldn't spot a buffer, so I assume you're just looking for stream gauges within the specific bounding box? Could you please clarify this?
is the get_stream_data function here the same as the one in the Scripts/BoM file? If so, can you just import that one? If not can you please add a sentence or two describing what you're doing here that's different?
'find the first shared observation' - shared with what?
'Mask the data to only include wet or not wet, and set everything else to nan.' - just checking there aren't more bit flags to include, like low solar angle etc? Ness had a list of a few she was using for waterbodies. Possibly for this application you want to err on the side of confidence though and exclude those other flags?
'Plot WOfS against stream gauge' - can you please add axis labels to the plot with the 0 and 128? I am not entirely sure what the plot is showing.
'We can then visualise this as a heightmap:' holy crap! This is amazing!!!!!!!!
'depth map' - I am not sure what you mean by 'Depth from maximum WOfS extent (m)'. You mean depth of water if the maximum amount of area is observed as wet? Can you convert to depth relative to the stream channel? So zero would be the top of the channel, and the floodplain would then be positive, and the stream negative? It may be too complicated?
'We can then apply the calibration to the WOfS summary:' - can you please add a label to the colourbar for the red/blue plot in this section? What is the anomaly?

Also, this notebook is absolutely nuts!!!! Well done.

Added a little widget to help investigate parts of the correlation plot.

Added a little widget to help investigate parts of the correlation plot.

stations_in_range - does 'range' mean 'bounding box'? I couldn't spot a buffer, so I assume you're just looking for stream gauges within the specific bounding box? Could you please clarify this?

Made it explicit that it's a bbox.

is the get_stream_data function here the same as the one in the Scripts/BoM file? If so, can you just import that one? If not can you please add a sentence or two describing what you're doing here that's different?

A bit different. I've added a sentence explaining that.

'find the first shared observation' - shared with what?

Clarified.

'Mask the data to only include wet or not wet, and set everything else to nan.' - just checking there aren't more bit flags to include, like low solar angle etc? Ness had a list of a few she was using for waterbodies. Possibly for this application you want to err on the side of confidence though and exclude those other flags?

There are more flags, but as you've said, let's err on the side of confidence.

'Plot WOfS against stream gauge' - can you please add axis labels to the plot with the 0 and 128? I am not entirely sure what the plot is showing.

Yep, done.

'We can then visualise this as a heightmap:' holy crap! This is amazing!!!!!!!!

:D Thank you!

'depth map' - I am not sure what you mean by 'Depth from maximum WOfS extent (m)'. You mean depth of water if the maximum amount of area is observed as wet? Can you convert to depth relative to the stream channel? So zero would be the top of the channel, and the floodplain would then be positive, and the stream negative? It may be too complicated?

Deleted this plot, since it's not that useful IMO. It's hard to estimate the top of the channel since it's not clearly defined, so I haven't done that conversion.

'We can then apply the calibration to the WOfS summary:' - can you please add a label to the colourbar for the red/blue plot in this section? What is the anomaly?

I can't seem to find the docs for colourbar labels for xarray plots... but really this plot is just kind of confusing, so I've deleted it.

Also, this notebook is absolutely nuts!!!! Well done.

Thank you! :)

stations_in_range - does 'range' mean 'bounding box'? I couldn't spot a buffer, so I assume you're just looking for stream gauges within the specific bounding box? Could you please clarify this?

Made it explicit that it's a bbox.

is the get_stream_data function here the same as the one in the Scripts/BoM file? If so, can you just import that one? If not can you please add a sentence or two describing what you're doing here that's different?

A bit different. I've added a sentence explaining that.

'find the first shared observation' - shared with what?

Clarified.

'Mask the data to only include wet or not wet, and set everything else to nan.' - just checking there aren't more bit flags to include, like low solar angle etc? Ness had a list of a few she was using for waterbodies. Possibly for this application you want to err on the side of confidence though and exclude those other flags?

There are more flags, but as you've said, let's err on the side of confidence.

'Plot WOfS against stream gauge' - can you please add axis labels to the plot with the 0 and 128? I am not entirely sure what the plot is showing.

Yep, done.

'We can then visualise this as a heightmap:' holy crap! This is amazing!!!!!!!!

:D Thank you!

'depth map' - I am not sure what you mean by 'Depth from maximum WOfS extent (m)'. You mean depth of water if the maximum amount of area is observed as wet? Can you convert to depth relative to the stream channel? So zero would be the top of the channel, and the floodplain would then be positive, and the stream negative? It may be too complicated?

Deleted this plot, since it's not that useful IMO. It's hard to estimate the top of the channel since it's not clearly defined, so I haven't done that conversion.

'We can then apply the calibration to the WOfS summary:' - can you please add a label to the colourbar for the red/blue plot in this section? What is the anomaly?

I can't seem to find the docs for colourbar labels for xarray plots... but really this plot is just kind of confusing, so I've deleted it.

Also, this notebook is absolutely nuts!!!! Well done.

Thank you! :)

Looks amazing! Is there a trick for getting your widgets to save their state? All your awesome plots are missing from the notebook output cells now that you've made them a widget. Otherwise, this one is good to go.

Looks amazing! Is there a trick for getting your widgets to save their state? All your awesome plots are missing from the notebook output cells now that you've made them a widget. Otherwise, this one is good to go.

I think I can do something like that, I'll investigate!

I think I can do something like that, I'll investigate!

@CEKrause I've added most of the plots back in by forcing the GUI back into inline mode :) the interactive plot won't show up still, but that's not a huge loss (it's more fun to poke around anyway)

@CEKrause I've added most of the plots back in by forcing the GUI back into inline mode :) the interactive plot won't show up still, but that's not a huge loss (it's more fun to poke around anyway)

authors: CEKrause MatthewJA

repo: GeoscienceAustralia/dea-notebooks


text:
🛑 MCSkinHistory is down

In a91470d, MCSkinHistory (https://mcskinhistory.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MCSkinHistory is back up in 9e920c9 after 16 minutes.

source: gharchive/issue

license: MIT


text:
[New Theme Request] Channels DVR

Channels DVR is an outstanding compliment to a Sonarr/Radarr setup. It's specifically for live TV -- using an HDHomeRun, TV Everywhere (cable or satellite credentials work best) or Locast for content. Though I also use Plex, I find Channels DVR much nicer for live TV and specifically live sports.
The web interface for managing the Channels DVR server would really benefit from a Theme.Park makeover!

Do you have a link to the repo?

Like Plex, it's not open source -- but the Channels DVR Server download can be found at:
https://getchannels.com/dvr-server/

Sorry. Looks like this need a subscription and or an HDHomeRun to be able to theme. So that's not happening :)

authors: GilbN bnhf gilbN


text:
Update bug_report.md

Some re-organization for the bullet points, let me know what you think.
Thank you for the PR!
Please remember to add a before and after screenshot(s) on any css changes!

Looks good, thanks. :)


text:
Bug fix/agent related issues on record and other pages fixed

=> Fixed : Avoid LiveSpy & WindowsExplorer Pages being treated as Record Page in case of visibility based on Platform and TA
=> handled Null IWindowExplorerDriver on Context_Property changes
=> added Dispatched.Invoke to handle UI Changes on certain areas

I merged it, please update Mahesh to take latest for syncing with latest code

repo: Ginger-Automation/Ginger


text:
Feature/gsk 2807 documentation polishing

Description
GSK-2806
GSK-2707
GSK-2767
Related Issue

Type of Change

[x] 📚 Examples / docs / tutorials / dependencies update
[x] 🔧 Bug fix (non-breaking change which fixes an issue)
[ ] 🥂 Improvement (non-breaking change which improves an existing feature)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

@luca-martial yes, makes sense to me to separate in the future. However, since there were a lot of small issues dedicated to the dame goal of polishing documentation, I decided to submit everything at once. But yes, separation is good)

@luca-martial @rabah-khalek Can we merge this, or are we expecting changes ?

authors: AbSsEnT Hartorn

repo: Giskard-AI/giskard


text:
Do an accessibility audit

Check if the elements are properly accessible in VoiceOver and improve if needed.

I've completed an audit. I'm not finding much!
I did notice the text view is behaving in a funky fashion. Tapping it to focus it, it only reads the line of text that you tapped, rather than the entire text view content. Comparing that to Messages, when you tap in the the text view, it reads the entire contents. Note that when you don't tap in the text view but rather swipe between elements, it properly highlights the entire text view and reads it all.
The attachment button doesn't do anything, but it also doesn't do anything when not using VO.

That is an awesome audit, thanks @hipwelljo! Also, I think we can and should look into fixing all of the points you mentioned.
Is this something you want to take a look at? Maybe create separate issues for all of the points?

I'll go ahead and create separate issues. I'm not sure how exactly to solve them atm though, and likely won't have time to look into it unfortunately.

Don’t worry! Thanks so much for reporting. Closing this in favor of the more granular tickets.
Sent with GitHawk

authors: BasThomas hipwelljo

repo: GitHawkApp/MessageViewController


text:
[lukluk] add nodejs community and Iyem for javascript module

nodejs community (3K over member in https://t.me/nodejsid)
iyem (simple implementation multi thread /worker nodejs)

@troke12  tolong merge ya bang, makasi

@lukluk Done

authors: lukluk zhiephie

repo: GitIndonesia/awesome-indonesia-repo


text:
Markdown editor can't be disabled

Category
bug: Auto set a single page to use markdown editor and can't be disable
What is the current behavior?
display the markdown editor
What is the desired behavior?
at least can be disabled
Additional information

Same here.

Same! i thought it was a glitch initially but my setting has been stuck at this mode for a few days. have anyone found a solution to this?

authors: arieltsq cty222 zuzust

repo: GitbookIO/feedback


text:
🛑 rapishare is down

In 31366d3, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in 31eab59 after 3 hours, 8 minutes.


text:
🛑 orkut is down

In 22aa1de, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 04f9090.


text:
🛑 orkut is down

In 91f93c1, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 0a84709.


text:
🛑 orkut is down

In 8a89ab2, orkut (orkut.com.br) was down:

HTTP code: 404
Response time: 119 ms

Resolved: orkut is back up in b4f2751.


text:
🛑 lings is down

In fc392a8, lings (lings.com) was down:

HTTP code: 403
Response time: 399 ms

Resolved: lings is back up in 09f88ab.


text:
🛑 orkut is down

In 7001ab7, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 110 ms

Resolved: orkut is back up in 164cfb0.


text:
🛑 orkut is down

In 82b7943, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 34ef07b.


text:
🛑 orkut is down

In b42aa36, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 9b1c5a8.


text:
🛑 citybuild is down

In d206e69, citybuild (citybuild.bg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: citybuild is back up in d8ac684.


text:
🛑 zap is down

In 8863995, zap (zap.com.br) was down:

HTTP code: 503
Response time: 143 ms

Resolved: zap is back up in a7fc51e.


text:
🛑 163 is down

In bb90209, 163 (163.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 163 is back up in d809d8c.


text:
🛑 ojolink is down

In f57462e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 35c54ad.


text:
🛑 163 is down

In 3287b6f, 163 (163.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 163 is back up in 02ebfa0.


text:
🛑 163 is down

In a18bd1d, 163 (163.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 163 is back up in 7c017ae.


text:
🛑 orkut is down

In 122f44f, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in ef07c8b.


text:
🛑 ojolink is down

In 823784b, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 486 ms

Resolved: Ojolink is back up in bfba259.


text:
🛑 ojolink is down

In c01cd88, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 375 ms

Resolved: Ojolink is back up in 2d01927.


text:
🛑 orkut is down

In 9426f2c, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 693 ms

Resolved: orkut is back up in 8d75b6f.


text:
🛑 ojolink is down

In 500b592, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 473 ms

Resolved: Ojolink is back up in 2f97bf7.


text:
🛑 ojolink is down

In 0736194, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 384 ms

Resolved: Ojolink is back up in eec72bf.


text:
🛑 163 is down

In 229842f, 163 (163.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 163 is back up in a2914d4.


text:
🛑 benjohnson is down

In 987b9fb, benjohnson (benjohnson.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: benjohnson is back up in b7a01e5.


text:
🛑 bitfan is down

In d6f19a1, bitfan (bitfan.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: bitfan is back up in 5584fa3.


text:
🛑 orkut is down

In 90fa1e5, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 1025 ms

Resolved: orkut is back up in 165f9ff.


text:
🛑 orkut is down

In 8d7f9cc, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 1120 ms

Resolved: orkut is back up in 1ea6297.


text:
🛑 ojolink is down

In 3ea9e2f, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 91f031f.


text:
🛑 ojolink is down

In 07d5051, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in f7b27cb.


text:
🛑 ojolink is down

In 847c6a4, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 926a36c after 8 minutes.


text:
🛑 uzboys is down

In fc872ac, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in ed76776 after 5 hours, 23 minutes.


text:
🛑 ojolink is down

In e368bb5, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 462a223 after 1 hour, 3 minutes.


text:
🛑 ojolink is down

In 62964da, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in bf50a5b after 57 minutes.


text:
🛑 orkut is down

In 3a1c582, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in b37ee1a after 34 minutes.


text:
🛑 uzboys is down

In 2bdac3a, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in 50ce12d after 17 minutes.


text:
🛑 mynewsize is down

In 8cfd844, mynewsize (mynewsize.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mynewsize is back up in 7c41e8d after .


text:
🛑 orkut is down

In a355569, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 7826cb3 after 53 minutes.


text:
🛑 ojolink is down

In c5d6d58, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in c765dfc after 8 minutes.


text:
🛑 ojolink is down

In 2075d93, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 9138f31 after 32 minutes.


text:
🛑 orkut is down

In 22b3b8b, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 9537cfe after 10 minutes.


text:
🛑 gadgethouse is down

In f82676d, gadgethouse (gadgethouse.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gadgethouse is back up in 350c176 after 3 hours, 50 minutes.


text:
🛑 torrentzap is down

In 6580f92, torrentzap (torrentzap.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: torrentzap is back up in e7aeb2c after 15 minutes.


text:
🛑 orkut is down

In 3f7d883, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 6a16c24 after 1 hour, 4 minutes.


text:
🛑 orkut is down

In 4d2bcb2, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in eb3b7e6 after 19 minutes.


text:
🛑 orkut is down

In 48dbde5, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 11a317d after 18 minutes.


text:
🛑 orkut is down

In c964331, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in ac5ca2f after 8 minutes.


text:
🛑 hcr is down

In 8ed1b9f, hcr (hcr.co.uk) was down:

HTTP code: 403
Response time: 813 ms

Resolved: hcr is back up in a216e0c after .


text:
Add ability to install helm release inside the same namespace

#344

NAME                                 READY   STATUS      RESTARTS   AGE
gluu-config-9rp5m                    0/1     Completed   0          14m
my-release-mysql-0                   1/1     Running     0          14m
gluu-persistence-mb8fm               0/1     Completed   0          14m
gluu-config-api-7f478dcbd4-gd2pl     1/1     Running     1          14m
gluu-auth-server-78d4dffbc9-44mk2    1/1     Running     1          14m
gluu2-config-kb4ff                   0/1     Completed   0          5m7s
my-release2-mysql-0                  1/1     Running     0          5m12s
gluu2-persistence-g72j2              0/1     Completed   0          5m7s
gluu2-config-api-7989df6f9b-ql8br    1/1     Running     1          5m7s
gluu2-auth-server-845c5d6c79-hgsgm   1/1     Running     1          5m7s

repo: GluuFederation/cloud-native-edition


text:
Sphere stack collision with angular speed causes all bodies to disappear

Steps to reproduce:

Set angular speed to 1, 1, 1, 1
Create a stack of 3 spheres
Wait till they collide with the plane

Result:
All objects in the scene disappeared
Expected result:
Collisions resolved properly

Was resolved in #102 with https://github.com/Godlike/Pegasus/commit/da2aff104b8413a6aa259add74d69446df509a4e

repo: Godlike/Pegasus


text:
Could I have a chance to re-adapt the openXR interface based on this project?

We have changed some of the implementation of the openXR interface, which requires the plugin to re-adapt these interfaces, but I can't find code like ARVRInterface.cpp and OpenXRApi.cpp in this project, these can be found in the godot_openxr project, can I have a chance to re-adapt the openXR interface based on this project?

I can't find code like ARVRInterface.cpp and OpenXRApi.cpp in this project

Support for OpenXR is built in to Godot 4.x itself - this repo is just for vendor extensions to OpenXR.
If you're still using Godot 3.x (which perhaps you are given the reference to ARVRInterface - in Godot 4.x, this is XRInterface), then you'll need to continue using godot_openxr.

Without more information, I'm not sure what the next steps are for this one. So, I'm going to close it, but if you can provide more information on what you're trying to accomplish, we can re-open it


text:
increasing concentration bug

Looks like diffusion code makes several enormous spikes of positive concentration near to crystallising area instead of slightly decreasing the gradient of the whole nearby area. I do not know if a problem is at algorithmic or physics part.
https://github.com/GolAnd071/macroproject_4sem/blob/d633a1aa52a6d1601012d46d24292eeabcdbe5ae/src/Simulation.cpp#L202 https://github.com/GolAnd071/macroproject_4sem/blob/d633a1aa52a6d1601012d46d24292eeabcdbe5ae/src/Simulation.cpp#L182

I've found, It's all about too high D_0. Ivan, it's your time to tune all parameters!


text:
Регистрация через Civic Secure Identity Ecosystem

Предложил в посте, продублирую здесь.
Civic — блокчейн приложение для авторизации на сайтах. Можно одной этой интеграцией решить сразу несколько задач — и пропиариться внедрением на блокчейн-медиа ресурсах и оказаться среди крутого списка партнёров, возможно получить от них новую аудиторию, и точно получить удобный и надёжный способ верификации пользователей.

Рано еще для регистрации civic использовать. Регистрация не упрощается никак. Для регистрации надо теперь скачать какой-то civic о котором не все знают и таких будет очень много. Указать там свои перс данные (что тоже покажется сомнительным большинству) и только после этого идти в golos.io на регу. В общем этот вариант через года два может и сгодится.

authors: Chiliec pavelit

repo: GolosChain/tolstoy

license: mit

license_source: bigquery


text:
Accessing json loaded via AssetLoader

I would like to load multiple JSON files with the same assetloader I am using for my images, but there doesn't seem to be a way of getting at any of the json if it isn't a spine animation or texture atlas.
Is there any reason why we can't have a PIXI.JsonCache to match the AnimCache and TextureCache?

Loaders were rewritten in v3, but this was fixed in v2 as well.

authors: beeglebug englercj


text:
The "Validation identity" error is displayed after using FV function

Description

Preconditions
The user is logged in at first
Steps to reproduce

Click the "CLAIM" button
Click the "CLAIM YOUR SHARE" button
Click the "Face Liveness Test" button
Use FV function
Pay attention to the "Face Verification" page

Actual result: The "Validation identity" error is displayed after using FV function
Expected result: The "Validation identity" error is not displayed after using FV function
Supporting data
Env https://goodqa.netlify.com
Chrome / Google Pixel / Android 9 / 1080x1920
https://www.screencast.com/t/7QlGGAZx

Did you try again? If so did it work then?

Checked on https://goodqa.netlify.com/
This screen after FV:
https://www.screencast.com/t/OiuVp2dDhIkO

@qatests1001 please provide the account's mnemonic.
This issue is due adminwallet usage by both the dev + qa environment.
will be solved once we implement a synchronization lock for block transactions.

@sirpy The bug is still reproduced
Account: soul usual cup disorder tool state kit midnight consider filter camera sound

repo: GoodDollar/GoodDAPP


text:
(Feature) Updated UserStorage to indexby id

This PR closes #165057037, by:

Adding byid index with encrypted events
Updating date indexed events to hold { id, updateDate }
Updating tests to make them work without dependency on other tests.
Merging feed feature into this
Added pagination  to feed

Slideshow
Loading

Pagination

This PR is done! Since has all feed feature merged in. Waiting to this PR to be merged on master so the diff is right

@sirpy is unnecessary indeed. Actually was using those only for debugging but will remove them all since there are not needed.

@dminones load wasnt removed

@dminones load wasnt removed

Now it is. Was handling updating issues so needed that logs yet

For some reason, I'm getting an error when trying to withdraw (from link):
Uncaught TypeError: Cannot read property 'amount' of undefined
    at EventDialog (EventDialog.js:2)
    at ProxyFacade (react-hot-loader.development.js:764)
    at renderWithHooks (react-dom.development.js:13354)
    at mountIndeterminateComponent (react-dom.development.js:15407)
    at beginWork (react-dom.development.js:16042)
    at performUnitOfWork (react-dom.development.js:20086)
    at workLoop (react-dom.development.js:20127)
    at renderRoot (react-dom.development.js:20207)
    at performWorkOnRoot (react-dom.development.js:21164)
    at performWork (react-dom.development.js:21074)
    at performSyncWork (react-dom.development.js:21048)
    at requestWork (react-dom.development.js:20903)
    at scheduleWork (react-dom.development.js:20716)
    at Object.enqueueSetState (react-dom.development.js:11568)
    at Withdraw.push../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:336)
    at Withdraw._callee$ (Withdraw.js:2)
    at tryCatch (runtime.js:63)
    at Generator.invoke [as _invoke] (runtime.js:282)
    at Generator.prototype.(:3000/AppNavigation/…/anonymous function) [as next] (http://localhost:3000/static/js/1.chunk.js:15603:21)
    at asyncGeneratorStep (asyncToGenerator.js:3)
    at _next (asyncToGenerator.js:25)

Fixed by changing how is get the event on Withdraw component. Should be get by transactionHash/id

@sirpy @fernandomg changes requested are done!

authors: dminones sirpy


text:
Wait for input value to change

How would you wait for a element property to change like a input text?
I want to monitor a the model comming back over the wire so that I an make sure the UI bindings work, but unsure how to wait for a text change on the input providing a timeout

You can achieve waiting for events with usage of console.timeStamp() and page.on('metrics').
Simply fire timeStamp on input change event.
Here is example code:
const puppeteer = require('puppeteer');

// fire custom timeStamp on input change
// you can do it in the page source code - in this example I injected it to site.
const detectChange = `document
    .getElementById("lst-ib")
    .addEventListener("change", () => console.timeStamp("input-change"));`;

// simulate input change event - it will be different in your scenario
const fakeChange = 'document.getElementById("lst-ib").dispatchEvent(new Event("change"));';

// with this wrapper you can await for specific timeStamp
function getMetric(page, name) {
    return new Promise((resolve, reject) => page.on('metrics', ({ title }) => {
        if (name === title) {
            resolve();
        }
    }));
}

(async () => {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    const inputChange = getMetric(page, 'input-change');

    await page.goto('https://www.google.com');

    await page.addScriptTag({ content: detectChange });
    await page.addScriptTag({ content: fakeChange });

    await inputChange; // wait for input-change metric event
    console.log('after input change!');

    await browser.close();
})();

There's also the custom-event.js example that shows how to listen for custom events on the page. You could modify that to listen for the input's change event.
https://github.com/GoogleChrome/puppeteer/blob/master/examples/custom-event.js

authors: Everettss ebidel pragmaproducts

repo: GoogleChrome/puppeteer


text:
Update PaymentRequest Chrome version.

Chrome 53 is the first version where PaymentRequest is enabled by
default.

LGTM

authors: ebidel rsolomakhin

repo: GoogleChrome/samples


text:
Blank page on redepoly (InjectManifest Mode)

Library Affected:
"workbox-webpack-plugi": "^6.0.2",
Browser & Platform:
Chrome, firefox and safari browsers on all platforms
Issue or Feature Request Description:
I bundle my website/PWA using the workbox-webpack-plugin. When I redeploy, there will be a blank screen issue. The error message is usually "Uncaught SyntaxError: Unexpected token '<'" for vendor.****.js. On closer inspection, I could see that the old service worker is running and the new worker is waiting to activate even though I have implemented SkipWaiting using the advanced recipes under https://developers.google.com/web/tools/workbox/guides/advanced-recipes.
I also have referred to and implemented solutions found in https://github.com/GoogleChrome/workbox/issues/2053 and https://github.com/GoogleChrome/workbox/issues/1528. It is not exactly very useful because due to this error, the js files inside the app is not loading.
Attached below are the screenshots with error messages

Do let me know if there are any workarounds for this as it has been affecting the users on my site after implementing PWA

That sounds very much like what you might see if your vendor.[hash].js chunk is larger than the maximum size that Workbox is configured to precache by default. (You should see a warning message generated as part of your build letting you know that vendor.[hash].js is too big and won't be precached.)
You can adjust the maximumFileSizeToCacheInBytes configuration value, which defaults to 2mb, to something larger if you need to. Alternatively, and this is probably a better idea in general (since large JS chunks can lead to bad performance), you could try to break up the vendor chunk into smaller pieces.

Thanks for the quick reply! Increased the maximumFileSizeToCacheInBytes while doing tests on the stability after breaking up the vendor chunks. Seems to be alight so far without seeing the blank pages on subsequent redeploys

authors: AlvinTCH jeffposnick

repo: GoogleChrome/workbox


text:
'currentTime' and 'sampleRate' are not set correctly before and between 'process' calls

This is a follow-up of https://github.com/GoogleChromeLabs/audioworklet-polyfill/issues/7 which was claimed to have been fixed in https://github.com/GoogleChromeLabs/audioworklet-polyfill/commit/eb0840cc7745954d307235efa32b5e7782aa824e. Unfortunately, the problem with the current approach is that sampleRate is not defined until the first process call, so any instantiation-time use of it will yield an incorrect outcome (e.g. you can't use it in the constructor).
The same is true for currentTime, and although it's less of a problem here, it's still tied to process calls directly, which is incorrect. For example, for a case where the main-thread AudioWorkletNode posts messages to the AudioWorkletProcessor, which is then supposed to respond with a message based on currentTime but without process being called (such as when disconnected), the outcome will be incorrect.

Instead, the Realm must be configured correctly with getters that return directly from the working AudioContext, something like the following (which was working fine for my use-case, but I'm unsure of what side-effects it has):
realm.js
export function Realm (scope, parentElement) {
  const frame = document.createElement('iframe');
  frame.style.cssText = 'position:absolute;left:0;top:-999px;width:1px;height:1px;';
  parentElement.appendChild(frame);
  const win = frame.contentWindow;
  const doc = win.document;
  let vars = 'var window,$hook';
+ let accessors = "";
  for (const i in win) {
    if (!(i in scope) && i !== 'eval') {
      vars += ',';
      vars += i;
    }
  }
  for (const i in scope) {
-   vars += ',';
-   vars += i;
-   vars += '=self.';
-   vars += i;
+   accessors += `Object.defineProperty(this,'${i}',{`;
+   accessors += `    get: function(){return self.${i};},`;
+   accessors += `    set: function(v){self.${i}=v;}`;
+   accessors += `});`;
  }
  const script = doc.createElement('script');
  script.appendChild(doc.createTextNode(
    `function $hook(self,console) {"use strict";
-       ${vars};return function() {return eval(arguments[0])}}`
+       ${vars};${accessors}return function() {return eval(arguments[0])}}`
  ));
  doc.body.appendChild(script);
  this.exec = win.$hook(scope, console);
}

polyfill.js
    addModule (url, options) {
      return fetch(url).then(r => {
        if (!r.ok) throw Error(r.status);
        return r.text();
      }).then(code => {
        const context = {
          sampleRate: 0,
          currentTime: 0,
          AudioWorkletProcessor () {
            this.port = nextPort;
          },
          registerProcessor: (name, Processor) => {
            const processors = getProcessorsForContext(this.$$context);
            processors[name] = {
              realm,
              context,
              Processor,
              properties: Processor.parameterDescriptors || []
            };
          }
        };

+       Object.defineProperty(context, "sampleRate", {
+         get: () => this.$$context.sampleRate
+       });
+
+       Object.defineProperty(context, "currentTime", {
+         get: () => this.$$context.currentTime
+       });

        context.self = context;
        const realm = new Realm(context, document.documentElement);
        realm.exec(((options && options.transpile) || String)(code));
        return null;
      });
    }

This will throw errors when trying to assign to sampleRate or currentTime (which I believe is correct), but let other assignments through.

Your explanation makes sense. The this / self issue can also be corrected more simply:
-  this.exec = win.$hook(scope, console);
+  this.exec = win.$hook.call(scope, scope, console);

authors: JohnWeisz developit

repo: GoogleChromeLabs/audioworklet-polyfill


text:
Full Screen button not working on safari

Probably need webkit-prefix ?
https://caniuse.com/#feat=fullscreen

Well spotted, and yes 99% sure that's the fix

Fixed in #296

authors: jakearchibald kosamari

repo: GoogleChromeLabs/proxx


text:
Rename the lib directory to src

Renamed the lib directory to src to more closely align this module with the other Google Cloud API Client Libraries via the google-cloud modules in 1.

PTAL

repo: GoogleCloudPlatform/cloud-trace-nodejs


text:
added a check that allows only certain private key

Added a filter that will fix invalidcast exception which was caused by unsupported private keys,

Thanks @SurferJeffAtGoogle

repo: GoogleCloudPlatform/dotnet-docs-samples


text:
Inconsistency in the path between emulator and the deployed cloud function

I have been using the functions framework to emulate my cloud functions locally for development and
had no issue until I tried to do some simple routing based on the request path.
When running in the emulator the request.path contains the function name like so: "/function_name" or "/function_name/some_route".
Meanwhile in deployment cloud functions only receive in the request.pathrespectively: "/" and "/some_route". I assume the decision was made based on if I'm already inside a given function I have no use for its "full path".
I do not know if the decision to handle the path in the emulator differently has to do with other use cases for the framework other than just simple emulation.
But would it would be great if I could set a flag to make the path handle the same way in the emulator so that we don't need different parsing for emulated and deployed code.

Sorry there wasn't a reply earlier.
Basically, the Cloud Functions deployment strips the function name out of the URL before your function sees it. The URL path shouldn't be used. If you are using the path for some reason, you can check the domain to see if the function name is in the path.
This isn't seen when deploying to Cloud Run.
Normally we don't recommend URL routing for Functions, because that really means we're creating multiple functions that should probably connect through Pub/Sub. Or we're building a full web app which should be on Cloud Run.
Hope that helps.

authors: grant jfpmonteiro


text:
set charset to UTF-8

fix #181 @briandealwis @nbashirbello

LGTM

authors: elharo nbashirbello


text:
Add 'Sink.delete' API wrapper.

Uses #1599 as a base.

@dhermes Rebased after merging #1599 to the logging-api branch.  PTAL

LGTM pending Travis

authors: dhermes tseaver

repo: GoogleCloudPlatform/gcloud-python


text:
Fixing broken tox.ini

Caused by merging a rename commit (#954) and a change to
tox before the rename (#951).

@tseaver Merging now to fix the fully broken test config.

Fine by me.

Commits flying by in the night. I wish rebase was the only merge option and tests had to re-pass before being merged, but such is life.

On the plus side, I just executed
$ tox -e regression
ERROR: unknown environment 'regression'

by reflex. Yay for a more appropriate name.


text:
fix: remove async_predict_text_llm, unused method.

This method has been replaced with utils_prompt.async_predict_text_gemini, it is no longer used. See b/364949965.

LGTM

authors: awaemmanuel michaelwsherman

repo: GoogleCloudPlatform/genai-for-marketing


text:
Update versions for release

Releases to GA:

Language to 1.0.0
Speech to1.0.0
Vision to 1.0.0

Prereleases:

Language.Experimental to 1.0.0-beta05 (and remove the unnecessary Google.LongRunning dependency)
VideoIntelligence.V1Beta1 to 1.0.0-alpha05 (possibly last release of this package)
VideoIntelligence.V1Beta2 to 1.0.0-alpha01

Spanner libraries to be updated later with LongRunning 1.0.0 dependency

Looks like this is building again now - PTAL.

Thanks. Will merge in the morning, and do the release then.

repo: GoogleCloudPlatform/google-cloud-dotnet


text:
trace: underlying error is not displayed for uploading traces

When I added some trace code for the first time, I got this error:
2017/03/19 12:47:04 failed to upload 3 traces to the Cloud Trace server

I had no way of figuring out what is going on other than going into the source code for trace package and adding the underlying error myself.
IMO the actual underlying error should be displayed to help debugging when uploading traces fail.

Sent out https://code-review.googlesource.com/c/11591/.

authors: ahmetb rakyll

repo: GoogleCloudPlatform/google-cloud-go


text:
Suggestions for tweaking the App Engine deployment UI

Here's the current UI layout for Flex deployment for reference:

I've sketched a couple of mocks that I think would be closer to the underlying ontology of the app engine flex plaftorm.
For runtime: java:

for runtime: custom:

for user provided app.yaml with runtime: custom:

Tweaks

Move env as a child of deployment source, since that's the field that drives the env value.
Move region under Project for the same reason
Rename 'Remote configuration' to 'Deployment Parameters' to more closely resemble the underlying platform model. e.g. things that are passed as parameters to the deployment vs configured in app.yaml.
Rename 'Configuration files' to 'Service configuration' ..  this name can probably be improved, but it's confused because of the platform model being murky more than anything.
move app.yaml configuration above the deployment config, as it feels a bit more 'primary'. If you were doing this as a wizard with steps, I think that first you would ask about what you're deploying, and you would wait to ask them about the parameters to deployment for the last step.

LMKWYT.

Another thing of note is that if the user is using the facet flex configuration, i.e. 'use a different app.yaml is not checked', then they do not have the option of overriding the Dockerfile.

Regarding you last comment, I think you can. Are you sure you have a runtime: custom app.yaml? I just tested it.

FWIW, Eclipse uses a combo box rather than a pop for the project name/ID because we believe some users will have access to >= 100 of these, at which point a popup becomes annoying.

@etanshaul yes you can in the current implementation.  I should have been more clear.  In the proposed changes it would not be possible.

@elharo I believe our project selector qualifies as a combobox.

yes it is a combobox (a pop up combobox). its fixed max-height so if there are 100s of projects it just scrolls

I'm not sure about Dockerfile's indentation to the right.
I think it'd be more fluent at the same level as app.yaml.
Where do we stand regarding Rui's suggestions? Should your suggestions replace hers?

I'm in favor of these UX updates. I like how it hides the module / facet concept from the user (e.g. currently we have "use app.yaml from module..").
I think that not being able to override the Dockerfile unless the app.yaml is overriden seems a bit arbitrary. But we can work that into these changes if we decide it is useful.
Does app.yaml & Dockerfile really belong under "Service Configuration" and not "Deployment Parameters"?

On Mon, Apr 3, 2017 at 10:58 AM, Etan Shaul notifications@github.com
wrote:

I'm in favor of these UX updates. I like how it hides the module / facet
concept from the user (e.g. currently we have "use app.yaml from module..").
I think that not being able to override the Dockerfile unless the app.yaml
is overriden seems a bit arbitrary. But we can work that into these changes
if we decide it is useful.
Does app.yaml & Dockerfile really belong under "Service Configuration" and
not "Deployment Parameters"?

It's a good question. I'm not delighted with the naming, but I want to draw
a distinction between the parameters to deployment, e.g. flags to gcloud,
and configuration that are part of the application's source, e.g. things
that would show up in the facet.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1333#issuecomment-291169110,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5Ham7CpRMe2Py7mnWP_S6TNwBqj9fks5rsQkMgaJpZM4Mv7N9
.

using #1477 to track this

authors: elharo etanshaul joaoandremartins patflynn


text:
Error: ... virtual machine instance does not have permission scopes specified.

I have a relatively straight forward cloud datastore app, deployed on appengine. I'm using Objectify 6. I am getting this error when running unit tests against the local datastore, on travis-ci.
java.io.IOException: Error code 404 trying to get security access token from Compute Engine metadata for the default service account. This may be because the virtual machine instance does not have permission scopes specified.
A few notes:

this works fine on my local osx and windows machine
it also works fine on a digital ocean ubuntu 16 instance
storage and query ops works fine if I don't use Objectify
it's not working on a ubuntu 14 instance hosted by travis (on GCE, coincidentally)

I've scraped the web looking for info on the problem, and while the problem seems scarce, the answers are even more scarce. I'm not really sure if this is a google problem, a travis problem, or an objectify problem.
Few questions:

Why, when running against the local datastore, is it querying a remote google metadata server? Compute Engine? That's not even a service we are currently using. Edit: Actually, turns out the ubuntu 14 instance is itself running on GCE, so maybe that is the link.
I've given the App Engine default service account all the seemingly relevant roles, to no avail. I do have 8 service accounts though - which one is correct?
I've also made sure that on the travis instance, I am logged in through gcloud as said default service account, before running mvn test
Is there a way I can debug using some curl calls to the metadata server? The error is just not very informative.

And finally, any ideas on what I can do to fix this? Thanks.

I eventually figured this out. Turns out, mvn was not getting the proper authentication, even though logged in with a service account. I was able to fix it by adding:

export GOOGLE_APPLICATION_CREDENTIALS=$PWD/key.json

where key.json is created in IAM -> Service Accounts ->App Engine default service account (ie. the same account being used to login with gcloud).

repo: GoogleCloudPlatform/google-cloud-java


text:
Fix signed URLs for objects with spaces in the name

Closes #562.

Should we also include a unit test?

@dwsupplee done!

authors: dwsupplee jdpedrie

repo: GoogleCloudPlatform/google-cloud-php


text:
Bigquery query job

This PR introduces new implementations of Project#query and Dataset#query that create a job and wait for it to complete by calling getQueryResults, then read data from the temporary table created by the job. To support this, the PR updates QueryJob#wait_until_done! to use getQueryResults.
Breaking changes:

Remove timeout and dryrun parameters from Project#query
Change return type of Project#query from QueryData to Data
Remove timeout and dryrun parameters from Dataset#query
Change return type of Dataset#query from QueryData to Data
Remove timeout parameter from QueryJob#query_results
Change return type of QueryJob#query_results from QueryData to Data

[refs #1623]

@blowmage Regarding the idea we had about also updating View#data to read using TableDataList, I don't think it's possible:

You cannot use the TableDataList JSON API method to retrieve data from a view.

from Using Views.

I'm going to see if the same approach of a Query Job writing to a temporary table works for view queries. It seems like it should.

We added View#data to be API compatible with Table#data, but we could always deprecate/remove it.

I'm adding a commit to the PR updating View#data, but I won't mind removing it (and the method) if you think that's a better long-run choice after looking at the commit.

authors: blowmage quartzmo

repo: GoogleCloudPlatform/google-cloud-ruby


text:
Accept 400 as a valid error code for zone/region that does not exist

GCE API started returning 400 instead of expected 404 in some cases. This is expected behavior. More details available in the bug.
Bug: b/361065819

/cc @kl52752

/lgtm

/approve


text:
Fix kubelet deadlock

User deletes all multi container pods on a node at once, after the containers have started
All pods are synced for each delete notification
Each pod sends a status update because of the bug in my first commit
Status manager's podStatusChannel fills up
An update fails becuase a pod in the channel has already been deleted from the apiserver
Status manager deadlock
SyncPods enters the deadlock next time it tries to talk to the status manager

@dchen1107

Ahh, this is the deadlock issue I suspected and planed to look into, but distracted by all those p0 issues. Thanks, but I don't have time to review it today. Assigned it to @yujuhong. YuJu, here is a little bit background:
we found sometimes when currently deleting multiple pods, and each pods with multiple containers, kubelet might run into a deadlock. The issue was originally reported by #9833. Currently we have a proposed workaround #10004 to detect such deadlock, and restart kubelet. But that workaround should be the last resort. Thanks!
cc/ @saad-ali and @ArtfulCoder too.

LGTM overall with a nit/question.

Added equality check in status manager and a unittests. PTAL.

LGTM overall. e2e failed though.
Also, @dchen1107 for the second LGTM.

Rerunning faliled test on local cluster, pushed anew to get a normal run as well since it passed the previous time so I'm suspecting it's unrelated

It's probably not related, as I just saw a similar failure on another PR.

Risk assessment: medium. Code sorts a list of containers and shoves a (somewhat redundant) Delete into a goroutine.
Value: the kubelet doesn't deadlock or flood the apiserver with updates when it has multi-container pods.
@dchen1107 PTAL, I ran the previous run's failing container probe e2e locally and got 4/4 pass

LGTM. @davidopp Can we have your LGTM on this one? Thanks!

LGTM

authors: bprashanth davidopp dchen1107 yujuhong

repo: GoogleCloudPlatform/kubernetes


text:
Correct arguments to aws cloudformation command in docs

Fix #8376
cc @bakins

LGTM

authors: bakins justinsb


text:
Fix a flaky wget issue.

Description
In b/329297378 and b/329295948, we have seen an error:
[2024-03-11, 14:06:30 UTC] {gke.py:116} INFO - pt-nightly-resnet50-mp-fake-v100-x2x2-9jhn2-1-6x5j8] --2024-03-11 14:06:30--  https://github.com/pytorch/xla/archive/refs/heads/master.tar.gz
[2024-03-11, 14:06:50 UTC] {gke.py:116} INFO - pt-nightly-resnet50-mp-fake-v100-x2x2-9jhn2-1-6x5j8] Resolving github.com (github.com)... failed: Temporary failure in name resolution.
[2024-03-11, 14:06:50 UTC] {gke.py:116} INFO - pt-nightly-resnet50-mp-fake-v100-x2x2-9jhn2-1-6x5j8] wget: unable to resolve host address ‘github.com’
[2024-03-11, 14:06:50 UTC] {gke.py:116} INFO - pt-nightly-resnet50-mp-fake-v100-x2x2-9jhn2-1-6x5j8] gzip: stdin: unexpected end of file
[2024-03-11, 14:06:50 UTC] {gke.py:116} INFO - pt-nightly-resnet50-mp-fake-v100-x2x2-9jhn2-1-6x5j8] tar: Child returned status 1
[2024-03-11, 14:06:50 UTC] {gke.py:116} INFO - pt-nightly-resnet50-mp-fake-v100-x2x2-9jhn2-1-6x5j8] tar: Error is not recoverable: exiting now

for 2 days (03/11 and 03/12). We didn't have seen it before and it recovered again on 03/13. I see 2 options:

using wget: per this so, we can either retry on the failure of wget or do wget --inet4-only
using git clone with --depth 1 so we don't have to download the whole git history, which is the intention of using wget previously.

Option2 seems to be more stable, meanwhile not have to download the whole git history.
@will-cromar  please let me know what you think.
Tests
Triggered the GPU multi-host tests
Instruction and/or command lines to reproduce your tests: ...
List links for your tests (use go/shortn-gen for any internal link): https://screenshot.googleplex.com/8uEm7p4TFjKgW49
Checklist
Before submitting this PR, please make sure (put X in square brackets):

[x] I have performed a self-review of my code.
[x] I have necessary comments in my code, particularly in hard-to-understand areas.
[x] I have run one-shot tests and provided workload links above if applicable.
[x] I have made or will make corresponding changes to the doc if needed.

Thanks for the review!

repo: GoogleCloudPlatform/ml-auto-solutions


text:
Reconfiguring built-in Prometheus listeners (TCP ports 20201, 20202)

Describe the bug
Prometheus exporter TCP ports (20201, 20202) are enabled by default on Ops Agent, which causes problems for users wanting to bind to those ports for other purposes, or reduce network exposure.
While the Prometheus listeners are fairly minimal (a fairly simple handler for /metrics), since the daemons run as root, users wanting to run Ops Agent in a security–sensitive environment will want to eliminate inbound requests.
Additionally, users wanting to run their own service binding to TCP ports 20201 or 20202 will run into conflicts.
There's no obvious way to reconfigure these ports, whether changing the binding address or port numbers. At the very least, it should be possible to bind these ports to localhost instead (::1 or 127.0.0.1).
I recognise that these ports are used by Ops Agent for self monitoring, so avoiding listening on the ports entirely is likely infeasible.
To Reproduce
Steps to reproduce the behavior:

Environment: RHEL 7, Ops Agent google-cloud-ops-agent-2.22.0-1.el7.x86_64
Use default config
Run netstat -anp | grep :2020:tcp6       0      0 :::20201                :::*                    LISTEN      15072/otelopscol
tcp        0      0 0.0.0.0:20202           0.0.0.0:*               LISTEN      15123/fluent-bit
tcp        0      0 127.0.0.1:20202         127.0.0.1:45340         ESTABLISHED 15123/fluent-bit
tcp        0      0 127.0.0.1:45340         127.0.0.1:20202         ESTABLISHED 15072/otelopscol
tcp        0      0 127.0.0.1:51388         127.0.0.1:20201         ESTABLISHED 15072/otelopscol
tcp6       0      0 127.0.0.1:20201         127.0.0.1:51388         ESTABLISHED 15072/otelopscol

Observe that ports 20201 and 20202 are bound to the zero address.
Observe this config in /run/google-cloud-ops-agent-opentelemetry-collector/otel.yaml:  telemetry:
    metrics:
      address: 0.0.0.0:20201

Observe this config in /run/google-cloud-ops-agent-fluent-bit/fluent_bit_main.conf:[OUTPUT]
    Match *
    Name  prometheus_exporter
    host  0.0.0.0
    port  20202

Expected behavior
I would expect to be able to reconfigure the bind address to force the ports to bind to localhost only (::1 and 127.0.0.1), as well as change the port numbers.
While iptables rules are additionally useful as a defense-in-depth method, avoiding binding unnecessarily in the first place may be preferable.
Environment (please complete the following information):

VM distro / OS: RHEL 7
Ops Agent version: google-cloud-ops-agent-2.22.0-1.el7.x86_64
Ops Agent configuration: default config

Additional context
https://issuetracker.google.com/251023934

I'm having the same issue.
@jeremyvisser When I try that link to the Google Issuer Tracker, I get Access Denied. Was there any information there beyond what you wrote here?
Did you try changing the host in those config files to 127.0.0.1?

The link is just context about how the issue affected internal usage of the tool, but otherwise uninteresting.
I didn’t try altering those /run/google-cloud-ops-agent-*/* files, as they’re dynamically generated every time Ops Agent launches. Even if it “worked”, it wouldn’t be the correct fix.

authors: aryehb jeremyvisser

repo: GoogleCloudPlatform/ops-agent


text:
Hash Comparison not supported for DB2 to Bigquery Row Validation

Trying to do Row Validation using Hash Comparison between DB2 (source) and Bigquery (target) using below command :
data-validation validate row
--source-conn DB2_CONN
--target-conn BQ_CONN
--tables-list POCDB2.customer=rite-aid-371612.bq_dvt.customer_db2_df
--hash '*'
--primary-keys custid
--use-random-row
--random-row-batch-size 2
--bq-result-handler rite-aid-371612.data_validator.results
Error :
raise com.OperationNotDefinedError(
ibis.common.exceptions.OperationNotDefinedError: No translation rule for <class 'third_party.ibis.ibis_addon.operations.HashBytes'>
Also Randow row sampling is not supported in DB2
Error :
Data Client <class 'third_party.ibis.ibis_DB2.client.DB2Client'> Does Not Enforce Random Sort on Sample

Duplicate of issue #692
Adding Row validation feature will by default adds hash functionality.

authors: Raniksingh madhu-jain


text:
Failed to pull image "gcr.io/spark-operator/spark-operator:latest":

when i run ：
helm repo add spark-operator https://googlecloudplatform.github.io/spark-on-k8s-operator
and then:
helm install spark-operator-test spark-operator/spark-operator
get error:
Failed to pull image "gcr.io/spark-operator/spark-operator:latest": rpc error: code = Unknown desc = Error response from daemon: Get https://gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
so the image has access?

I've just seen my pr was merged, so the image should exist at ghcr.io/googlecloudplatform/spark-operator:v1beta2-1.3.2-3.1.1

authors: TomHellier chlyzzo


text:
Rlhf Sample Improvements - Added Best Practices,

Added RLHF Best Practices. No code changes.
REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[x] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[x] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[x] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[x] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[x] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun

authors: geetaarora-google gericdong

repo: GoogleCloudPlatform/vertex-ai-samples


text:
fix: pass correct argument for otel-agent logging

The opentelemetry image does not accept -v as the argument for logging verbosity as the other containers do. This change updates it to set the appropriate argument using the zap logging library.

/assign @nan-yu
/cc @victorpras

repo: GoogleContainerTools/kpt-config-sync


text:
High level comparison of kpt hydration with kustomize

The intention here is to do high level comparison of the kpt hydration features with kustomize. It will help us identify the gaps as well as help us understand in which scenario one is better than the other.

I think the FAQ is a first stab of addressing this.  I am going to wait for customer questions to see what else people want to know about.

authors: droot mikebz

repo: GoogleContainerTools/kpt


text:
Support additional auth schemes to allow integration with other git providers

porch currently only supports basic authentication against git repositories. We need to support additional auth schemes such as ssh keys and GCP service accounts to enable integration with other git providers.
We have a separate issue to support [Cloud Source Repositories] using workload identity.

FWIW, I use a personal access token with github, and that works using the kubernetes.io/basic-auth secret, with the token as the password. Not sure about other git providers.

Adding note from #3440 and closing that as a duplicate:
When using Porch, I can register a repository with basic auth or workload identity. The basic auth can be used with GitHub personal access tokens. However, those tokens are highly priviliged - so much so that for my testing I created a new, separate GitHub user.
Instead, if we can support ssh auth, then I should be able to use a deploy key, which is scoped to an individual repository.
Not a blocker at this time but will be needed as we move towards something that folks could use in prod.

authors: bgrant0607 johnbelamaric mortent


text:
Remember and import disabled modules

Remember which modules were disabled last time and load but disable them

@CanadaHonk, just noting this happens on the dev (master) branch too, as anytime I try to disable a module, on next client start or window reload, the module is back on.

Added in last commit, will be out in v7.1.0.

authors: CanadaHonk MasicoreLord Mithos23

repo: GooseMod/Injector


text:
Creates the PIN code activity for 2-factor authentication

Description
[Created the front end for Log in PIN xml and linked it to the Login button.
I crated a PinCodeActivity.kt
Updated the LoginActivity.kt, Android Manifest.xml, RoleName.kt, NavigationService.kt, build gradle and imported retrofit2 latest version
I created UI elements, Input validation, Error handling
Fixed some errors in activity_setting_update.xml
I also updated the Account Creation (Registration Page to the latest xml file)].
Todos

[x ] Tested and working locally
[x] Code follows the style guidelines of this project
[x ] I have performed a self-review of my code
[x] Code changes documented
[x] Requested review from >= 2 devs on the team (one frontend and one backend recommended)

How to test

LOGIN WITH PIN  : Run the emulator > Log in > Enter email and password > it will direct to the Login with PIN code after.
ACCOUNT CREATION : Run the emulator > Click Register Button

Screenshots and/or Gifs

Associated MS Planner Tasks

Account Authentication - Create Enter PIN Code Screen after email log in : http://ms_planner_task_link.com)](https://planner.cloud.microsoft/deakin365.onmicrosoft.com/en-GB/Home/Planner/#/plantaskboard?groupId=b9325320-8dcf-4204-81c7-46ccdd3b0798&planId=obnY9eRGNEGXqjBUOhDWKcgAFWt1)
Account Creation Screen:  https://planner.cloud.microsoft/deakin365.onmicrosoft.com/en-GB/Home/Planner/#/plantaskboard?groupId=b9325320-8dcf-4204-81c7-46ccdd3b0798&planId=obnY9eRGNEGXqjBUOhDWKcgAFWt1

Known Issues
Fixed some errors in activity_setting_update.xml

my version of the registration page will be pushed to a new branch

Restored the previous link activity_register in RegistryActivity

repo: Gopher-Industries/Guardian


text:
Memory leak :(

Every generation increase memory usa :(((
1st generation - 8gb
2nd generation - 12gb
3nd generation - 14gb
4nd generation - 17gb
And crash :(

Sorry for late reply, I can say that I did not temper much with how models are loaded.. did you try with the official repo and experienced the same issue?


text:
test

test

test

test

.deploy

repo: GrantBirki/branch-deploy


text:
Convert bezier-rs intersection functions to SVG

This PR converts all the intersection functions in the wasm representation to return an SVG tag instead of JS points.

If the code review comments above have been resolved, please mark them as such (otherwise resolve them, or point out if I should give my opinion on any of them if things are uncertain). Once that's done, I can come back and give this an actual code review. Thanks! And sorry for the long delay, October is a crazy month.

repo: GraphiteEditor/Graphite


text:
[WIP] Issue #68

Fixes #68

For this one and in relation to #64 we can increment the unique ip if we get a successful SADD for the :ip key. Redis won't re-add the same IP, so if we get a success, we are adding a new peer.

repo: GrappigPanda/notorious


text:
Gravity Website is Not Up

Hello. I've been really working with Google to hone in on the not so mainstream query results and your project came up.
I went to visit your website and it didn't come up and had an error. I am very interested in growing in my coding knowledge. I am also looking for a few people I can help out along the way.
Sidenote - I sell web hosting so if you ever need any dedicated machines I'm actually hoping to become an ISP. Anywho, I definitely would like to find a open source social networking script that I can run on my own dedicated machine.
So yea which ever one I wind up picking will be that one. Cheers.

http://joingravity.herokuapp.com is the link to the Gravity website.

authors: ubuntume zaverichintan

repo: GravityProject/gravity


text:
🛑 Server Ultra is down

In abfbcfb, Server Ultra (https://ultra.greathost.ro) was down:

HTTP code: 403
Response time: 1281 ms

Resolved: Server Ultra is back up in 2934b2b after 2 minutes.

repo: GreathostRo/upptime


text:
🛑 Server Gaming is down

In 87c028a, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Server Gaming is back up in 888291a after 18 minutes.


text:
Help button

Here's the final change we did. It just creates a help button, showing what the different functions are.

Thanks again for your pull requests!
As far as this one goes, there is definitely something to be said about making the current keyboard controls easier to understand at a glance. OTOH, I think this particular method, of popping up a whole new "window" with detailed text instructions goes quite a bit too far for inclusion in the basic script.
For one thing, it's a whole new "window", and secondly, it's all in English, which would need to have options for translations to be swapped in.
So while this is a neat idea, I would rather improve the way the current keyboard functions can be understood without adding extra text instructions. Cheers, though!

authors: GreyWyvern VitaJane

repo: GreyWyvern/virtual-keyboard


text:
"Use Last Value" not work

When  checkbox "Use Last Value" is checked, plugin still returned "No Data"
Recorded Data when not use last value:

When checked "Use last value" (for first two PI Points),

The plugin apparently expects piwebapi to return a value at the exact time, but the last value exists before that time.
The expected behavior is that the plugin will return the last values in the given interval, that means it will use the parameter 'retrievalMode=AtOrBefore'

The last value is not using recorded endpoint. It uses GET streamsets/{webId}/value, which doesn't have the above option.

@coderReview
And it cannot be programmed, e.g. when 'Recorded Values' is checked? It is almost unlikely that if endTime === now that there will be a value for a tag at this time, the system would have to store tags every second and even then it will happen that your access for 'Last value' will return 'No Data '
Sorry, my english is bad, i am use translator

@coderReview,
The lastvalue actually flashes when used in the PIAF formula.
I suggest creating an interpolation option, this way we would avoid losing values involved in the formula.

authors: coderReview fsbrito-dev peterprvy


text:
Corset.gltf looks whitish

The following is a comparison of display results in each library.
https://github.com/cx20/gltf-test#pbr-models

In Grimoire.js, Corset.gltf looks whitish.
Below is the display result when GLSL gamma correction is commented out.

  //gl_FragColor.rgb = pow(gl_FragColor.rgb,1.0/vec3(2.2));

Probably gamma correction is unnecessary.

Solved with latest release

repo: GrimoireGL/grimoirejs-gltf


text:
🛑 walletcheck API endpoint is down

In 3bcc055, walletcheck API endpoint (https://grinnode.live:8080/walletcheck/grin1zxwrf5yaxlyps4mpx3n7j9kp4su3gzgpdhfk2sgv56q0prcdlzls9e6e0y) was down:

HTTP code: 0
Response time: 0 ms

Resolved: walletcheck API endpoint is back up in 3b3579f.

repo: Grinnode-live/upptime


text:
any way to specify the cursor style or apply z-index?

I have a sidebar menu with simplebar applied to it, the elements of sidebar has the css (cursor: pointer)
when I hover over the scrollbar the mouse still show up as pointer!
Any way to change this?

Tried using this CSS:
.simplebar-track.simplebar-vertical.simplebar-hover {
  cursor: ns-resize;
}

As mentioned here, it seems that hover tracking is done purely with JS and with pointer-events: none; CSS rule, so probably this is why the cursor rule gets applied only when mouse button is clicked and not while hovering...

@ux-engineer , doesn't work.

@liesahead I'm using this:
.simplebar-track.simplebar-vertical {
  width: 16px
  z-index: 9998

  &.simplebar-hover {
    cursor: ns-resize
  }
}

@ux-engineer , thanks, however I already found a solution. For me such code works:
.simplebar-track {
    cursor: default;
    pointer-events: auto;
}

This is just an example code, in our project we have a slightly modified layout, so the above css is set on another element.

@ux-engineer , thanks, however I already found a solution. For me such code works:
.simplebar-track {
    cursor: default;
    pointer-events: auto;
}

This is just an example code, in our project we have a slightly modified layout, so the above css is set on another element.

This seems to disable mousewheel scrolling when hovering directly on the scrollbar.

authors: kalnode liesahead scratchoo ux-engineer

repo: Grsmto/simplebar


text:
I see native browser scrollbar when using max-height and box-sizing: border-box

Describe the bug
I see native browser scrollbar when using max-height and box-sizing: border-box. The same issue with height instead of max-height.
To Reproduce
Steps to reproduce the behavior:

Go to https://jsfiddle.net/8zvh09px/3/
See both SimpleBar scrollbar and native scrollbar

Expected behavior
Native scrollbar must not be visible.
Reproducible example
https://jsfiddle.net/8zvh09px/3/
Your environment

Software
Version(s)

SimpleBar
6.0.0-beta.1

Browser
Chrome 85.0.4183.121

npm/Yarn
-

Operating System
Windows 10

Thanks for the report.
This is actually due to the border prop that is not supported, unlike the padding prop.
This is something that certainly should be documented!

authors: Grsmto marcin-lawrowski


text:
.OnListChanged being weird

When using OnListChanged it skips a few at a time instead of just going to the next item.
Here is a bit of code where the bug is pressent:
function AddMenuClothes(submenu)
--clothingCategoryNames = {"Masks", "Unused (hair)", "Gloves", "Pants", "Bags & Parachutes", "Shoes", "Necklace and Ties", "Under Shirt", "Body Armor", "Decals & Logos", "Shirt & Jackets" }

clothingCategories = {
	--{ComponentID = 0, Label = "Face", Name = "face", Zoom = 0.6, Cam = 0.65},
    {ComponentID = 1, Label = "Mask", Name = "mask", Zoom = 0.6, Cam = 0.65},
    {ComponentID = 8, Label = "Undershirt", Name = "tshirt", Zoom = 0.75, Cam = 0.15},
    {ComponentID = 11, Label = "Shirts & Jackets", Name = "torso", Zoom = 0.75, Cam = 0.15},
    {ComponentID = 7, Label = "Necklace and Ties", Name = "chain", Zoom = 0.75, Cam = 0.15},
    {ComponentID = 5, Label = "Bags & Parachutes", Name = "bags", Zoom = 0.6, Cam = 0.65},
    {ComponentID = 9, Label = "Body Armor", Name = "bproof", Zoom = 0.75, Cam = 0.15},
    {ComponentID = 3,Label = "Gloves", Name = "arms", Zoom = 0.75, Cam = 0.15},
    {ComponentID = 4, Label = "Pants", Name = "pants", Zoom = 0.8, Cam = -0.5},
    {ComponentID = 6, Label = "Shoes", Name = "shoes", Zoom = 0.8, Cam = -0.8}
    --{Label = "Decals & Logos", Name = "mask" Zoom = 0.6, Cam = 0.65}

}
local amount = {}
for i=1, #clothingCategories do
    local maxDrawables = GetNumberOfPedDrawableVariations(GetPlayerPed(-1), clothingCategories[i].ComponentID);
    maxDrawables = maxDrawables - 1
    amount = {}
    for i = 1, maxDrawables do
        amount[i] = "item "..i.."/"..maxDrawables
    end
    local Select = NativeUI.CreateListItem(clothingCategories[i].Label, amount , 1, "Choose your "..clothingCategories[i].Label )
    local BaseColor = NativeUI.CreateColourPanel("Texture", ColoursPanel.Texture)
    if submenu.SubMenu ~= nil then
		submenu.SubMenu:AddItem(Select)
        Select:AddPanel(BaseColor)
    else
        submenu:AddItem(Select)
	end

    Select.OnListChanged = function(ParentMenu, SelectedItem, Index)
		Citizen.Wait(100)
		local ActiveItem = SelectedItem:IndexToItem(Index)

        local color = (ActiveItem.Panels and ActiveItem.Panels[1] or 1)

		SetPedComponentVariation(GetPlayerPed(-1), clothingCategories[i].ComponentID,Index-1,color-1, 2)

		if clothingCategories[i].Name == "face" then
			Character[clothingCategories[i].Name] = Index-1
		else
        Character[clothingCategories[i].Name .. "_1"] = Index-1
		Character[clothingCategories[i].Name .. "_2"] = color-1
		end
		zoomOffset = clothingCategories[i].Zoom
		camOffset = clothingCategories[i].Cam
    end
end

end
This is from a CharacterCreator menu that i have taken and done some work to it to add new things.

This is the C# version of NativeUI, not the Lua version.

repo: Guad/NativeUI


text:
Playlist not populating if ending on a /

If the command line string ends on a / character, the playlist is not populated as expected.
Example
Executing
artist TWRP/

does nothing while
artist TWRP

works as expected.

Fixed in  f9c5682

repo: GuardKenzie/miniplayer


text:
#[UIC-1183] Metrics key Error resolved by implementing mutate_df_columns

Description:
When user select a aggregation (AVG) in metric for line chart and groupby on bints then line chart shows an error

We can also solve this Issue to override mutate_label in HiveEngineSpec class. in this case. Internally store mapping from mutated label to original label.
if mutate_label method is override in that case, we are renaming data-frame column name with original label.
if self.mutated_labels:
df = df.rename(index=str, columns=self.mutated_labels)
@staticmethod
def mutate_label(label):
return label.lower()
Note-:  In hive database result, we are getting all column name in lowercase.
I am just writing this info to provide more details to everyone.

Can anyone explain me how the proposed changes fix this issue?
When is the newly added function is invoked?
What is invocation call stack?
Who it is different from solutions proposed by @ankursinghal2005
What would be label of column in table after query?

Both solution is perfect and worked for hive query engine.

I was following this PR to fix this issue.
The ideal way would still be using normalize_column_name(). Don't digress from the title of the PR but several other PR's related to it were suggesting the same solution, but eventually I am hoping that we will get the proper fix for all the db engines in upcoming OSS upgrade.
Follow the conversation I was having here

I see the PR and see where we are heading.
My question is more about understanding the flow for people like me who had not dig deeper in codebase to understand all this lowercase mess.
I am not questioning the approach. I want a whiteboard diagram explaining why proposed fix will fix underlying issue.
If anyone stumble upon this PR down to road he should be able to understand that why this changes fixes the issue listed in description

RCA : in hive when we query data with Metrics (for example : AVG(avg_callduration)) then in response from hive we get column name changed to 'avg(avg_callduration)'. So when chart tries to map user provided column to hive column it throws error due to Lower case of hive column name.
Solution : Now in models.py file when response get from hive it checks for expected label and if expected labels are not in match with user provided then it replace it with what user provided from query. In db_engine_specs.py file there is no implelmentaion of 'mutate_df_columns' in HiveEngineSpec and due to that it calls method from base class where there is no implementation of checking expected labels. So, I have added 'mutate_df_columns' with expected labels implementation in HiveEngineSpec and problem is resolved. There is already implementation of 'mutate_df_columns' in PinotEngineSpec of db_engine_specs.py

authors: ankursinghal2005 arpit-agarwal bipinsoniguavus sunilratada

repo: Guavus/incubator-superset


text:
Delete .github/pull_request_template.md

Resolves #ISSUE_NUMBER

Before the change?

After the change?

Pull request checklist

[x] Tests for the changes have been added (for bug fixes/features)
[x] Docs have been reviewed and added/updated if needed (for bug fixes/features)

Does this introduce a breaking change?

[ ] Yes
[x] No

Summary by Sourcery
Chores:

Delete the pull request template file.

Summary by CodeRabbit

Chores

Removed the pull request template to streamline the contribution process.

@gstraccini appveyor build pull request

@gstraccini appveyor build commit

:white_check_mark: Build POC-dotnet-Dijkstra 1.1.383 completed (commit https://github.com/GuilhermeStracini/POC-dotnet-Dijkstra/commit/dea60b904f by @guibranco)

authors: AppVeyorBot guibranco

repo: GuilhermeStracini/POC-dotnet-Dijkstra


text:
Charity Events page/section

Add a section to the site to advertise charity events.  At the basic, include a link to more information (such as the Eventbrite page).  Then, include past events, and advertising assets
I want to use this for Would I Lie To You.
Checklist:

[x] Event header and section
[x] Add WILTY
[ ] Add ability to add House Event & fundraisers
[ ] Optimise for mobile
[x] Centre the "Next week is..."
[ ] Handling of past events
[ ] Add past events
[ ] Add event dashboard for event info, like money raised, people who attended, text updates from organisers - see #12, not for this issue's PR.

Was thinking something like this:

Have it be controlled by a JSON file, which has the PR image set by a URL to what is in public.

ad30c60 completes up to the layout and design.
Implementing a JSON based system to "automagically" handle event listing shouldn't be too hard

Past events (list such that most recent is first on the website):

The Zoom Quiz - June 2020
Weakest Link? - Unknown, say Spring 2020
WILTY 2021 - January 2021
Echo Dot Raffle - February 2020
House Touch Rugy - Beaufort won. Autumn 2020.

Future events:

House Cross Country - date unknown, but in progress.

I think for events that do not have a header image either something abstract and generic, or just put the event name in a different font maybe

I think for events that do not have a header image either something abstract and generic, or just put the event name in a different font maybe

Event name in a different font?

Event name in a different font?

In terms of house events, what to include:

Start date/term
Event name
Coming up, ongoing, done
If ongoing/done, who winning/won?
?

In terms of house events, what to include:

Start date/term
Event name
Coming up, ongoing, done
If ongoing/done, who winning/won?
?

authors: Gum-Joe ILikeTeaALot

repo: Gum-Joe/isitweeka


text:
[1.16.5][fabric] Sorting inventory with mouse wheelie mod deletes the entire market

I thought it was a coincidence so I did it again.. Yup.
This to me signals a much bigger problem than just an incompatibility with that inventory sorting mod.
It seems any client has the power to delete the entire market.

@Siphalor could you look into this as well?

Do you have any logs or anything? Did the user still get charged? Were the items ghost items and/or did it also clear the market for other players?

Sattes might bring logs cus it's his server. Other players all confirmed the market was deleted.

authors: RobertSkalko martmists-gh

repo: Gunpowder-MC/GunpowderMarket


text:
Add support for Albums

Meural has added an additional type of collected images to their system, called Albums. These are linked to corresponding albums on your smartphone and synced by the Meural app. We currently only support displaying Playlists, but should add support for Albums.

Albums are tracked separately from Galleries, in AlbumIDs[] as opposed to GalleryIDs[]. currentPlaying{} now uses "type" to declare if a gallery or album is being played.

On the local side, the device does not seem to make a difference between Albums or Playlists.

Because we consider the list of galleries available on the local device leading, and albums available on the device are represented with gallery IDs (that do not match the server album IDs) on the local device, there does not appear to be anything we have to do to support albums.
Albums are given a gallery ID when sent to the local device, and changing galleries to that ID from Home Assistant works. So albums currently work the same as normal playlists.
The only issue is that we are unable to retrieve media browser thumbnails for albums, because IDs do not match between the local device and the server.

repo: GuySie/ha-meural


text:
[#22] Lighthouse CI

👊🏻 작업 내용

[x] Lighthouse

🏌🏻 리뷰 포인트
github actions과 light house를 연동하여 자동으로 성능을 측정하고 pr을 날릴 시 댓글에 Lighthouse 보고서 생성를 생성하도록 설정하였습니다
lighthouse는 웹페이지의 성능을 자세하게 제공해주어 수치화된 지표를 통해서 저희 서비스의 성능을 잘 체크할 수 있을 것 같아요 ㅎㅎ!
🧘🏻 기타 사항

위 사진은 FCP 측정 항목에 대한 컬러코드 기준 예시입니다
정해진 범위에 따라 컬러코드와 점수가 결정되고 이는 전체 성능점수에 영향을 미치게 돼요
점수가 낮다면 이미지 최적화, 번들 최적화 등등에 신경쓰고 머지해주세요!
lighthouse-ci 공식 문서

@oauch @ngsy 성공했습니다! 리뷰해주세요 ㅎㅎ
lighthouse ci를 처음 부착봐서 시행착오를 겪었어요
./lhci_reports/manifest.json 파일을 읽어서 ci가 리포트를 작성해주는 건데 해당 파일을 못 읽는다 하여 여러 방법을 시도하다가 알고 보니 원인은 ..!!
빌드를 해주는 커멘드가 없어서였습니다 ... 로컬에서는 제가 이미 빌드를 해놨었어서 잘 되었던 거였네요 🤒

@oauch @ngsy 성공했습니다! 리뷰해주세요 ㅎㅎ
lighthouse ci를 처음 경험해봐서 시행착오를 겪었어요
./lhci_reports/manifest.json를 ci가 읽어서 lighthouse 리포트를 보여주는 건데 이를 못 읽는다 하여 여러 방법을 시도했었어요 그런데 원인은 ...
빌드 커맨드가 없어서 그런거더라구요 .... 로컬에서는 제가 빌드를 해놨었어서 동작했었네요 🤒

repo: GymHubCommunity/GymHub-FE


text:
Уход времени

Через некоторое время после запуска устройства, время сдвигается ровно на -1 час, в версии 1.2.1 такого не наблюдается...

В синхронном или асинхронном режиме?

Режим по умолчанию (асинхронный), через час время уже было -1 час от текущего

Часто в Ваших библиотеках встречаю термин синхронный и асинхронный режим но до конца так и не понял в чем отличие... Хотя это наверное не здесь надо спрашивать но если не сложно ответьте пожалуйста...

Синхронный - когда наступает обновление, программа ждёт ответа сервера внутри функции тик, в данном случае это может занимать до пары сотен миллисекунд. В асинхронном режиме всё работает гораздо более хитро и программа не ждёт ответа, тик не блокирует работу.

Ок спасибо за разъяснение. Получается в асинхронном, вечером проверю в синхронном режиме по результату отпишусь...

Я 12 часов назад запустил пример из библиотеки, время не ушло ни на секунду. Поэтому придется пройтись по пунктам:

Версия библиотеки
Какой используется МК
Версия SDK (для ESP)
Версия Arduino IDE
Корректно ли работают ли встроенные примеры, в которых используются функции и конструкции, приводящие к багу в вашем коде
Какой код загружался, какая работа от него ожидалась и как он работает в реальности
В идеале приложить минимальный код, в котором наблюдается баг. Не полотно из тысячи строк, а минимальный код

библиотека 1.3
ESP8266 ядро 2.7.4
Arduino IDE 1.8.19
в синхронном режиме работает нормально
примеры из библиотеки с применением своего кода завтра потестирую...

Надо смотреть что в своём коде такого может быть, искать что ломает

Проверил код, сбой происходит в асинхронном режиме в версии 1.3
вот логи:
до сбоя
20:51:56.496 -> dayAlPlot: 0
20:51:56.496 -> 29
20:51:56.496 -> 20:51
20:51:56.496 -> dayAl: 29
20:51:56.543 -> 1659095516 - timeClient.unix()
после
20:59:16.514 -> dayAlPlot: 0
20:59:16.514 -> 29
20:59:16.514 -> 19:59
20:59:16.514 -> dayAl: 29
20:59:16.514 -> 1659092356 - timeClient.unix()

IDE v 1.8.19
esp8266 2.7.4

Если пример из библиотеки работает корректно, значит "свой код" как то конфликтует с библиотекой. Что там? Может получится выделить минимальный код, при котором появляется баг?

void getOpenWeather() {
delay(1500);
WiFiClient client;
if (client.connect("api.openweathermap.org", 80)) {
client.println("GET /data/2.5/weather?id=" + (String)cfg.city + "&appid=" + cfg.apik + "&units=metric HTTP/1.1");
client.println("Host: api.openweathermap.org");
client.println("Connection: close");
client.println();
bool flagR = 0;
byte weatherIconTemp = 0;
int16_t degreesTemp = 0;
String lineR = "";
String tempR = "";
delay(1000);
while (client.available()) {
lineR = client.readStringUntil(',');
if (lineR.indexOf("HTTP/1.1 200") != -1) { // если ответ 200 начать прием
flagR = 1;
weather.sourW = 1;
Serial.print("sourW: ");
Serial.println(weather.sourW);
}
  //для отладки
  if (lineR.indexOf("HTTP/1.1") != -1) {
    Serial.println(lineR.substring(0, 12));
  }

  if (flagR && (lineR.indexOf("\"lon\":") != -1)) { // получаем долготу
    tempR = lineR.substring(lineR.indexOf("lon") + 5);
    weather.lon = tempR.toFloat();
    Serial.print("lon: ");
    Serial.println(weather.lon);
  }
  if (flagR && (lineR.indexOf("\"lat\":") != -1)) { // получаем широту
    tempR = lineR.substring(6, lineR.length() - 1);
    weather.lat = tempR.toFloat();
    Serial.print("lat: ");
    Serial.println(weather.lat);
  }
  if (flagR && (lineR.indexOf("\"icon\":") != -1)) { // получаем иконку погоды
    tempR = lineR.substring(8, lineR.length() - 4);
    weatherIconTemp = tempR.toInt();
    Serial.print("Icon: ");
    Serial.println(weatherIconTemp);
  }
  if (flagR && (lineR.indexOf("\"temp\":") != -1)) { // получаем реальную температуру
    tempR = lineR.substring(15);
    weather.tempR = round(tempR.toFloat());
    Serial.print("temp: ");
    Serial.println(weather.tempR);
  }
  if (flagR && (lineR.indexOf("\"feels_like\":") != -1)) { // получаем ощущаемую температуру
    tempR = lineR.substring(13);
    weather.tempF = round(tempR.toFloat());
    Serial.print("feels_like: ");
    Serial.println(weather.tempF);
  }
  if (flagR && (lineR.indexOf("\"pressure\":") != -1)) { // получаем давление
    tempR = lineR.substring(11);
    weather.presP = round(tempR.toFloat() / 1.333);
    Serial.print("pressure: ");
    Serial.println(weather.presP);
  }
  if (flagR && (lineR.indexOf("\"humidity\":") != -1)) { // получаем влажность
    tempR = lineR.substring(11);
    weather.humiP = tempR.toInt();
    Serial.print("humidity: ");
    Serial.println(weather.humiP);
  }
  if (flagR && (lineR.indexOf("\"speed\":") != -1)) { // получаем скорость ветра
    tempR = lineR.substring(16);
    weather.windS = round(tempR.toFloat());
    Serial.print("speed: ");
    Serial.println(weather.windS);
  }
  if (flagR && (lineR.indexOf("\"deg\":") != -1)) { // получаем направление ветра
    tempR = lineR.substring(6);
    degreesTemp = tempR.toInt();
    Serial.print("deg: ");
    Serial.println(degreesTemp);
  }
  if (flagR && (lineR.indexOf("\"gust\":") != -1)) { // получаем скорость ветра
    tempR = lineR.substring(7, lineR.length() - 1);
    weather.windG = round(tempR.toFloat());
    Serial.print("speed 2: ");
    Serial.println(weather.windG);
  }
  if (flagR && (lineR.indexOf("\"timezone\":") != -1)) { // получаем часовой пояс
    tempR = lineR.substring(11);
    weather.zoneT = (tempR.toInt()) / 60;
    Serial.print("timezone: ");
    Serial.println(weather.zoneT);
  }
  if (flagR && (lineR.indexOf("\"name\":") != -1)) { // получаем имя города
    tempR = lineR.substring(8, lineR.length() - 1);
    tempR.toCharArray(weather.cityN, tempR.length() + 1);
    Serial.print("name: ");
    Serial.println((String)weather.cityN);
  }
  delay(100);
}
if (flagR) { // если получили данные переводим направление ветра, иконку погоды и устанавливаем часовой пояс
  weather.windD = windDirection(degreesTemp);
  weather.iconW = weatherIcons(weatherIconTemp);
  if (cfg.zoneT != weather.zoneT) {
    timeClient.setGMTminute(weather.zoneT);
    cfg.zoneT = weather.zoneT;
    memory.update();
    Serial.print("изменение часового пояса");
  }
  weatherCount = 0;
} else {
  if (weatherCount < 3) {
    ++weatherCount;
    weatherTimer.force();
  } else {
    weatherCount = 0;
  }
}
Serial.println();
Serial.println("closing connection");

} else {
weatherTimer.force();
}
}

между только по таймеру сработал этот код...

ох и полотно. Ну здесь всё просто: вот в этой строке
timeClient.setGMTminute(weather.zoneT);

Меняется часовой пояс, поэтому время убегает ровно на час. Асинхронность и вообще работа GyverNTP здесь непричём

выше условие
if (cfg.zoneT != weather.zoneT)
если скачаный часовой пояс не равен сохраненному в памяти то изменить часовой пояс
я специально вывел в сериал сообщение в случае сработки условия, оно не срабатывало
часовой пояс и до и после был +540 минут (9 часов)
тем более в синхронном режиме такой проблемы нет

10:01:48.640 -> dayAlPlot: 0
10:01:48.640 -> 30
10:01:48.640 -> 10:1
10:01:48.640 -> dayAl: 30
10:01:48.687 -> 1659142908
10:01:48.687 -> 540
10:01:48.687 -> 540
10:01:48.687 ->
10:01:53.903 -> sourW: 1
10:01:53.903 -> HTTP/1.1 200
10:01:54.092 -> lon: 129.41
10:01:54.188 -> lat: 49.78
10:01:54.568 -> Icon: 4
10:01:54.804 -> temp: 25
10:01:54.900 -> feels_like: 26
10:01:55.184 -> pressure: 757
10:01:55.278 -> humidity: 76
10:01:55.704 -> speed: 3
10:01:55.800 -> deg: 272
10:01:55.895 -> speed 2: 3
10:01:56.508 -> timezone: 540
10:01:56.698 -> name: Raychikhinsk
10:02:01.942 ->
10:02:01.942 -> closing connection
10:11:48.645 ->
10:11:48.645 -> dayAlPlot: 0
10:11:48.645 -> 30
10:11:48.645 -> 9:11
10:11:48.645 -> dayAl: 30
10:11:48.692 -> 1659139908
10:11:48.692 -> 540
10:11:48.692 -> 540
вотлоги

Значит жду минимальный код, при котором наблюдается баг. И не куском, а полностью, со всеми инклудами. Возможно кто то перехватывает udp соединение, пока библиотека ждёт ответ в асинхронном режиме, и в итоге получается мусор

https://disk.yandex.ru/d/cnIODwycBTvUqw
полный код тут, разрабатываю как модуль для вашей метеостанции

и фастбот версии 1.19 тоже уже оставил комментарий начиная с версии 1.20 не компилируется

начиная с версии 1.20 не компилируется

скорее всего пофикшено в 1.22

спс не видел что уже новая версия вышла.
сейчас начал оптимизировать портал и под него переписывать код.

то есть 1.2.1 работает стабильно долгое время, а 1.3 в любом случае ломается? Я вообще не понимаю как такое возможно, 1.3 отличается от 1.2.1 значением переменной таймера, по которому вызывается обновление, то есть внутренний "тик" просто отрабатывает первый запуск чуть быстрее
https://github.com/GyverLibs/GyverNTP/commit/0ff7cda9a91b2dd7fb282e21b6a00ab5bb72c6ee#diff-b3ffeb7f6db94f78b39a848e123183b045b72ac6d145ff22e76abb570fb94e46

да в версии 1.2.1 проверял в течении недели с настройками "по умолчанию" (асинхронный режим) на версии 1.3 в асинхронном примерно через час (может 50 минут) уходит на ровно -1 час. При этом в синхронном режиме работает стабильно (проверял в течении суток).  При этом первый запрос погоды после включения проходит стабильно, а после второго получаю -1 час. Еще была ситуация что после нажатия кнопки "ок" на странице "настройки портала" время вроде выровнялось, но больше на такую ситуацию я не попал...

завтра попробую перед вызовом функции вывести время и после нее, по результату отпишусь...

значит запрос погоды как то ломает связь с ntp сервером. Нужно локализовать проблему и напихать отладки вовнутрь GyverNTP

в версии 1.2.1 возможно этого не происходит, потому что фаза запроса к NTP серверу "сдвигается" по времени относительно запуска программы

Вообще понимаю что не по теме но давно хотел сказать Вам СПАСИБО! за ваши уроки и сайт. Когда я учился в РГРТА и изучал "турбо паскаль"  и BAT с DOS вообще не видел практического для себя применения всего этого. Теперь конечно уже поздно (РГРТА я не закончил) но это стало моим основным хобби.

всегда пожалуйста) у bat и dos практических применений не так много, в отличие от микроконтроллеров. Их можно хотя бы пощупать)

это конечно но первый скрипт, который уже работает больше 7 лет, по резервному копированию баз 1С я все-же написал на BAT ;-)

Можно кстати попробовать такой вариант: исключить запрос погоды в момент ожидания ответа от NTP сервера:
if (!ntp.busy()) {
  // выполнять запросы и прочие тяжёлые конструкции
}

authors: GyverLibs MalfurionST

repo: GyverLibs/GyverNTP


text:
Чуть больше документации к коду

Изучаю код планеров. Функции вполне нормально документированы, но чуток не хватает описания приватных полей. Приходится по всему коду бегать, чтобы собрать, что за что отвечает. Спасибо за модуль.

Приватных? Расписать за что отвечают приватные переменные?

Да, если не трудно. Разбираюсь как это все работает.

Не знаю насколько это поможет, я уже сам наверное с трудом разберусь как оно работает) очень сжатые пережатые алгоритмы

меня в основном планеры интересуют. сравниваю с тем как это сделано в grbl

А есть где почитать по grbl? Я в свое время не смог разобраться и решил что проще написать с нуля свой планнер

почитать я не нашел, но есть исходинки с самой первой версии. Вот, например, версия (0.1), я же смотрю версию 0.6 - последнюю, которую норвежец писал, там вроде и функционал уже основной и по структуре все устоялось.
Судя по всему в grbl похожий подход. Тоже строят трапеции по скорости, стараются несколько трапеций плавно соединить, чтобы избежать рывков, ну и интервалы между степами контролят по теймеру через прерывания.

https://awesome.tech/grbl-demystified/
https://openbuilds.com/threads/ask-grbl-cnc-questions-here.3000/
Вот все, что нашел по докам

У меня тики как раз чтобы тикать в прерывании таймера :) Просто это полностью вынесено в скетч, чтобы можно было завести на любой платформе, там есть для примера как на 328 Меге работать с таймером.
У грбл используется brezenham? Я не придумал как сделать лучше, но с ним все остальные моторы (кроме нулевого) движутся неравномерно и вибрируют больше чем нужно

У меня тики как раз чтобы тикать в прерывании таймера :) Просто это полностью вынесено в скетч, чтобы можно было завести на любой платформе, там есть для примера как на 328 Меге работать с таймером.

Все верно, нужно абстрагироваться от железа. Если бы в grbl использовали этот же подход - код был бы во много раз проще. Там же все в кучу намешано.

У грбл используется brezenham? Я не придумал как сделать лучше, но с ним все остальные моторы (кроме нулевого) движутся неравномерно и вибрируют больше чем нужно

Разбираюсь с этим. Как минимум, при рисовании линий в grbl они тоже находят ось, по которой дельта максимальна и смотрят сколько это степов. Именно это число и будет step_event_count - то есть числом тиков, по которым будут толкаться степперы. Так что похоже, что без Брезенхема тут никак.

Нашел, кстати по Брезенхему и как они борятся с вибрацией - https://github.com/grbl/grbl/blob/master/grbl/stepper.c#L233

прикольно, надо над этим подумать! Но вибрации там не из за этого, а из за того, что мотор не имеет постоянной скорости. Основной мотор шагает с чётким периодом, а вот остальные могут делать условно два шага через шаг, то есть "шаг-шаг-пропуск-шаг-шаг-пропуск..." и в таком роде. Если увеличить разрешение - походу можно этого избежать, надо попробовать в симуляторе

Да, похоже, что с увеличением разрешения можно сделать пульсы второстепенных моторов более равномерными. Вместо "110110" будет что-то типа "100100100100" - соответственно и звук будет больше на синусоиду похож.

Ух попробую как будет минутка)

если интересно, вот так у меня реализован брезенхем, код можно запустить в Processing. Тут на 2 оси, названия переменных +- такие же как в гуверпланере
int scale = 5;
int dS[] = {0, 0};
int tar[] = {0, 0};
int pos[] = {0, 0};
int nd[] = {0, 0};
int steps[] = {0, 0};
int dir[] = {0, 0};
int S, maxAx, step;

void setup() {
  size(800, 800);
  noStroke();
  fill(0);
}

void draw() {
  background(255);
  tar[0] = mouseX / scale;
  tar[1] = mouseY / scale;
  pos[0] = width / 2 / scale;
  pos[1] = height / 2 / scale;
  steps[0] = pos[0];
  steps[1] = pos[1];

  S = 0;
  for (int i = 0; i < 2; i++) {
    dS[i] = abs(tar[i] - pos[i]);
    dir[i] = pos[i] < tar[i] ? 1 : -1;
    if (dS[i] > S) {
      S = dS[i];
      maxAx = i;
    }
  }
  for (int i = 0; i < 2; i++) nd[i] = S / 2;
  step = 0;

  while (step < S) {
    step++;
    square(steps[0] * scale, steps[1] * scale, scale);
    for (int i = 0; i < 2; i++) {
      if (i == maxAx) steps[i] += dir[i];
      else {
        nd[i] -= dS[i];
        if (nd[i] < 0) {
          nd[i] += S;
          steps[i] += dir[i];
        }
      }
    }
  }
}

собственно осталось домножить переменную брезенхема и общее расстояние на множитель, и получить дробные шаги!
  for (int i = 0; i < 2; i++) nd[i] *= mult;
  S *= mult;

Красота, видно, что оба движка толкаются равномерно. Как я понимаю, это при делении на 8 шагов. Адаптивный вариант будет посложнее. Но если железо держит - вариант отличный.

Поставил себе processing - удобная штука, надо будет ваши видео по нему глянуть.

Адаптивный - просто выбирать делитель в зависимости от времени usMin, и всё. Прикинуть, какая частота будет критической и не превышать её. Осталось придумать, как работать с повышенным разрешением брезенхема в условиях планировщика, возможно нужно пропускать n шагов для пересчёта времени. Там надо подумать, как нибудь на неделе займусь

Будете дорабатывать, добавьте, плиз чуток комментов к приватным переменным

Кстати, даже если mult будет равен 8, то тиков все-равно будет максимум 3 - по количество моторчиков. Один основной, который по главной оси, и от 0 до 2-х второстепенных. Получается, какой бы mult не был (хоть 32, хоть 64)- это просто точность повышает timestamp-а тиков дополнительных степперов. количество же событий не увеличивается.

именно поэтому нужно делать "псевдотикер" внутри основного с пропуском sub-шагов

Так, доделал ролик на завтра, сел попробовать степпер. Заработало сразу, вот до и после

И как звук с вибрациями?

Да, гораздо лучше

Я уже понял, что это о равноускоренном движении. тут, например, все есть.

authors: AlexGyver GyverLibs zag2art

repo: GyverLibs/GyverStepper


text:
我太菜了

大佬，我弄到第四步：python main.py ${Telegram 机器人 API} ${Gemini API 密钥}，执行这个代码时就开始报错了。

python main.py ${Telegram 机器人 API} ${Gemini API 密钥}

原来是这样，谢谢佬。

authors: H-T-H duckABC

repo: H-T-H/Gemini-Telegram-Bot