I'm new on android studio, and trying by my selfie run your app on it

I have just downloaded your app via android studio, and when I run it, I got this 2 errors.
Error:FAILURE: Build completed with 2 failures.
1: Task failed with an exception.

What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.

When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==============================================================================

2: Task failed with an exception.

What went wrong:
A problem was found with the configuration of task ':app:compileRetrolambdaDebug'.

Directory '/Users/tiagomassignan/Downloads/Speculum-Android/app/build/retrolambda/debug' specified for property 'inputDir' does not exist.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==============================================================================

Could you help me out? I really want to make a mirror myself.

Are you on Java 8? Retrolambda needs JDK8 to compile the source.

Yes, I got this installed
Jdk-8u73-windows-x64.exe
Do I need something else?

Do you mean you installed Java 8 or you already had it? You should have the JDK8 selected in Project Structure in Android Studio.

I already have it installed. Gonna check this project structure out if java8 is selected.

Let me know, you should also run with --info or --debug to see more output. Hard to see whats failing now.

It worked!!! :D
Should I be able to run your app in a 4.2.2 android device?

Glad it worked! As of now the min Android version is 4.4. You can try and change it to 4.2.2. You will have to fix some errors then because it uses some min 4.4 functionaly.


working

when i open blender with this addon it suddnly closes blender application
texture problem, texture isent appearing in renderd cycle section
plese kindly solve these problems

if i got more issues i'll defnatly write feedback

if i got more issues i'll defnatly write feedback

Let me know your version of blender and operating system.
Please test it on a lower version.
For textures, please send me screenshots of it, and screenshot of the cycle settings.

Let me know your version of blender and operating system.
Please test it on a lower version.
For textures, please send me screenshots of it, and screenshot of the cycle settings.


Publish to PyPI

Makes installation and maintenance much easier!

Hello，Can not be used in the Beijing cn-north-1 Region?

It would be great if we could install this like a normal python package!

Upvote

+1, some method of unattended install would be great.


Move rust-sdl2_image in rust-sdl2

Explained here : AngryLawyer/rust-sdl2#564
This is only a meta issue used to reference the other issue from here

@xsleonard

@andelf I missed the discussion, what do I need to do here?
Is the project moved into the rust-sdl2 repo now?  Should the README be updated to direct people there?

It has indeed been merged to master, however it is not up yet on crates.io
When the features will be up on crates.io, I will submit a PR that will update the readme (redirecting here) for every module. You will only have to merge this PR and this will be the end of it :)
On Dec 6, 2016, 15:25, at 15:25, Steve Leonard<EMAIL_ADDRESS>wrote:

@andelf I missed the discussion, what do I need to do here?
Is the project moved into the rust-sdl2 repo now?  Should the README be
updated to direct people there?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/xsleonard/rust-sdl2_image/issues/73#issuecomment-265162210

@Cobrand wonderful job!


[BUG]: Several bugs in examples/language/gpt/titans

🐛 Describe the bug
Several small bug in the examples provided in directory language/gpt/titans:

the default option of argument '--use_dummy_dataset' in function main of file train_gpt.py should be set to False, and 'store_false', otherwise even if I set the environment variable DATA, and run the train_gpt.py without the option '--use_dummy_dataset', the training will use dummy data.
Please add the py file webtext, otherwise the train_gpt.py will complain that 'WebtextDataset cannot be imported from dataset.webtext'.
The throughput is 0, Loss is nan from epoch 1 to epoch 8, then it stalls. The total epoch is 10. I am using the config 'gpt2_small_zero3_pp1d.py'. Nothing modified. 4 Nodes equipped with 8 A100 each are provided. ColossalAI is launched with Slurm. PyTorch is 1.12.1 and CUDA is of version 11.3.  Two screeshot of out are provided:

The full output logs are here

Environment
PyTorch is 1.12.1 and CUDA is of version 11.3. Colossal-AI is built from source without CUDA pre-compiled kernel.

Thanks, I have fixed some of the bugs. However, using dummy dataset seems still not ready. I will see it in detail.

I have fixed the bug. @gouchangjiang can you pull the latest code and try again?

Thanks. It get stalls when using configuration gpt3_zero3_pp1d and dummy dataset on 4 nodes 36 GPUS in totoal.

Running GPT3 is not easy. Can you start with a smaller model first? For example, a 10B model?

Can we close this issue (if you run the default config successfully?) and start another one titled How to Run GPT3 using Titans?

Oh, sorry, the configuration is gpt2_small_zero3_pp1d provided in the directory config.

Never mind. Can you run it successfully on 1 node?

Unfortunately. It report a problem 'AssertionError: Expected the world size 2 to be equal to data parallel size (0) * pipeline parallel size (4) * tensor parallel size (2)' if I run it simply on a node by bash run.sh

Let me use 8 GPUs.

I guess you only use 1 GPU.

I forget that I was on my develop branch. I siwtched back to main. And run it with 8 GPUs. The same phenomenon happens: load layernorm kernel many many times infinitely

Not stall, but like a inbound for/while loop

Oh, it works. Thanks we can close it.


Document basic usage of libembeddedhal

Should include:

Glossary
Basic usage

Using an output pin to blink an LED without too many details
Using an input pin for a button and an output pin for an LED

Using utility functions

write
read
write_then_read

Using device drivers
- Using an MPU6050 accelerometer
- Using an esp8266 for internet access
Using soft drivers
- Using a rc servo driver
- Using input and output pins to emulate SPI
Finding peripheral drivers
Finding device drivers
Finding soft drivers
How to use the percent utility
How to use the frequency utility
How to use the mp-units library
Handling errors

Basic errors
Getting logs from errors
Peripheral driver debug snapshots
Getting stack traces

Removing some of the documentation items either completely or adding them to a new issue.

Glossary
Basic usage

Using an output pin to blink an LED without too many details
Using an input pin for a button and an output pin for an LED

Using utility functions

write
read
write_then_read

Using device drivers
- Using an MPU6050 accelerometer
- Using an esp8266 for internet access
Using soft drivers
- Using a rc servo driver
- Using input and output pins to emulate SPI
Finding peripheral drivers
Finding device drivers
Finding soft drivers
How to use the percent utility (#230)
How to use the frequency utility
How to use the mp-units library
Handling errors (#231)

Basic errors
Getting logs from errors
Peripheral driver debug snapshots
Getting stack traces


Salt password for administrators

https://github.com/patrickfav/bcrypt#custom-salt-or-securerandom
Handle it just like the JWT secret file.
Abort the server execution if it does not exist.

Afaics, in your linked article it's possible to just use an instance of SecureRandom and it will automatically add a salt into the hashed password (and the salt will be different for each password). This seems more portable to me. Security wise: It's probably just as secure as having a single secret salt for the whole DB?

In fact, BCrypt.withDefaults (which we currently use) already generates a salt per password. So we might not need to do anything here.

Yes, we were wrong. It is already done.


Migrate CI to GitLab

In GitLab by @evanplaice on Jan 18, 2019, 23:57
Migrating from GitHub means Travis-CI is no longer an option.
Change the configuration to so this project runs CI through GitLab instead.
Milestones

[x] Remove Travis-CI configuration
[x] Add GitLab-CI configuration

In GitLab by @evanplaice on Jan 19, 2019, 00:07
changed the description

In GitLab by @evanplaice on Jan 19, 2019, 00:07
changed the description

In GitLab by @evanplaice on Jan 19, 2019, 01:08
mentioned in merge request !1

In GitLab by @evanplaice on Jan 19, 2019, 01:08
closed via merge request !1

In GitLab by @evanplaice on Jan 19, 2019, 01:09
mentioned in commit bf3022e9c8e6166c15b6751bd6f7d73cc312a44e

In GitLab by @evanplaice on Jan 19, 2019, 01:11
marked the task Add GitLab-CI configuration as completed

In GitLab by @evanplaice on Jan 19, 2019, 01:11
marked the task Remove Travis-CI configuration as completed

In GitLab by @evanplaice on Jan 19, 2019, 01:12
Fixed in 0.6.1


feat: implement new homepage for logged in users

Closes https://github.com/near/near-discovery/issues/1071

The reason why I named this new page like HomePageV2 is because we already have a several HomePage components. I'd like to ask @calebjacob @charleslavon how do we want to store new pages like this?

Hey @shelegdmitriy thanks for asking. Since this layout is specific to the logged-in state, let's move away from the NearOrg. prefix and use a new one, such as Gateway.Home

Nice work @shelegdmitriy! I agree with Charles on the naming.
I just merged all my layout change PR's and I wonder if it'd be helpful to use the new container class on this page too:
<Wrapper className="gateway-page-container">

Then your wrapper styles could simplify to this:
const Wrapper = styled.div`
  --section-gap: 20px;
  --text-hero: 500 56px/1 "FK Grotesk", "Mona Sans", sans-serif;
  gap: var(--section-gap);
  display: flex;
  flex-direction: column;
  max-width: 960px;
`;

You'd still need to set max-width: 960px; since that's different from the container's default max-width: 1320px;.


Pair multiple gear vr controller

Hi, thank you for your solution. I would like to know if it is possible to pair and use two-gear VR controllers in the same way?

Hi SchwarzeLanze! I see no reason why this should not work. Although implementational support is not coming :( You may try to have the same project under 2 different Linq project/File names, fix the MACs a see what happens.


The gemini-1.5-flash-002 model does not return data: [DONE] during stream response.

Google has released the gemini-1.5-flash-002 model. I noticed that the stream response is a bit different from the previous gemini-1.5-flash, which causes the current code not to return data: [DONE]. Please fix this.   Amelia, a girl with wild, untamed hair and eyes that mirrored"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 37,"totalTokenCount": 45}}

data: {"candidates": [{"content": {"parts": [{"text": " the stormy sky, found it tucked behind a chipped chest of drawers.  It wasn't particularly beautiful, with frayed straps and a faded, embroidered emblem of a"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 70,"totalTokenCount": 78}}

data: {"candidates": [{"content": {"parts": [{"text": " swirling, silver moon. But something about it pulled at Amelia, a whisper of adventure calling her name.\n\nThe attic was filled with her grandmother's treasures -"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 104,"totalTokenCount": 112}}

data: {"candidates": [{"content": {"parts": [{"text": " old journals, faded photographs, and a collection of mismatched china. But the backpack held a different kind of magic.  When Amelia slipped it on, a tingle ran down her spine. She reached into the empty pocket, and pulled out a"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "LOW"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 154,"totalTokenCount": 162}}

data: {"candidates": [{"content": {"parts": [{"text": " handful of fresh strawberries, their scent intoxicating.  Moments later, a map materialized, its parchment crackling with age, showing a path leading to a hidden waterfall.\n\nAmelia, consumed by curiosity, followed the map. The journey was fraught with"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 203,"totalTokenCount": 211}}

data: {"candidates": [{"content": {"parts": [{"text": " peril - overgrown paths, treacherous rivers, and a shadowy creature that lurked in the woods. But each time she felt lost or afraid, the backpack came to her aid.  A sturdy rope appeared when she needed to cross a ravine, a warm cloak when the wind whipped around her, and a flashlight when darkness descended.\n\n"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 269,"totalTokenCount": 277}}

data: {"candidates": [{"content": {"parts": [{"text": "The waterfall was a sight to behold, cascading down a sheer cliff, painting the surrounding forest in a mist of rainbows. There, tucked away in a moss-covered cave, she found a lost journal.  It spoke of a forgotten kingdom, hidden deep in the forest, a land of enchantment and wonder. The journal"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 333,"totalTokenCount": 341}}

data: {"candidates": [{"content": {"parts": [{"text": " was a key, revealing a secret code embedded in the moon emblem of the backpack. \n\nAs she deciphered the code, the backpack pulsed with light, opening a portal that shimmered like a mirage.  With a deep breath and a pounding heart, Amelia stepped through.  Amelia, armed with the magic of her backpack, became its champion. She used its powers to mend fractured friendships, heal wounded spirits, and finally,"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 463,"totalTokenCount": 471}}

data: {"candidates": [{"content": {"parts": [{"text": " confront the shadow creature.  The battle was fierce, but Amelia's courage and the backpack's magic prevailed.  \n\nWith the sunlight restored, the kingdom celebrated Amelia as their hero. They gifted her with a shimmering, silver moonstone, a token of their gratitude.  Back in the attic, Amelia, now"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 529,"totalTokenCount": 537}}

data: {"candidates": [{"content": {"parts": [{"text": " a girl with a knowing glint in her eye, looked at the backpack.  It held the memories of a magical adventure, a reminder that the extraordinary could be found in the most unexpected places, waiting for someone brave enough to open the door. \n"}],"role": "model"},"finishReason": "STOP","index": 0,"safetyRatings": [{"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HATE_SPEECH","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_HARASSMENT","probability": "NEGLIGIBLE"},{"category": "HARM_CATEGORY_DANGEROUS_CONTENT","probability": "NEGLIGIBLE"}]}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 579,"totalTokenCount": 587}}

root@sakura:~# curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-002:streamGenerateContent?alt=sse&key=xxx" \
        -H 'Content-Type: application/json' \
        --no-buffer \
        -d '{ "contents":[{"parts":[{"text": "Write a story about a magic backpack."}]}]}'
data: {"candidates": [{"content": {"parts": [{"text": "El"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": "ara wasn't expecting a magic backpack.  She'd expected, perhaps"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": ", a slightly less battered copy of \"Advanced Herbology for the Discer"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": "ning Witch,\" or maybe a slightly less grumpy cat.  Instead, she found it tucked away in her grandmother's attic – a worn leather backpack, smelling"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " faintly of woodsmoke and cinnamon.  It was unremarkable, except for the single, iridescent feather tucked into the stitching.\n\nThe feather pulsed with a"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " faint inner light when Elara touched it.  The backpack, seemingly sensing her curiosity, unzipped with a soft *thwish*.  Inside, instead of the expected emptiness, was a perfectly ripe, sun-kissed peach.\n\n"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": "Elara took the peach. It tasted like sunshine and summer memories.  She ate it slowly, savoring the sweetness.  Then, she reached back into the backpack.  This time, a small, intricately carved wooden flute appeared"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": ".  She played a tentative note – a clear, bell-like sound that echoed strangely, resonating not just in the air, but seemingly within her very bones.\n\nOver the next few weeks, Elara discovered the backpack's true nature.  It was a bottomless well of surprises, tailored to her"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " needs, her wishes, her unspoken desires.  Need a warm blanket on a chilly evening?  The backpack provided.  Craving a specific book?  It materialized.  Feeling lonely? A playful, fluffy kitten appeared, purring contentedly in her lap.\n\nBut the backpack wasn't just about material"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " things.  Once, feeling overwhelmed by a particularly difficult spell, she reached into the backpack, expecting comfort.  Instead, a small, glowing orb appeared.  It pulsed with a gentle warmth, and as she held it, a sense of calm washed over her.  The spell, previously a confusing jumble,"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " suddenly became clear.\n\nThe backpack’s generosity, however, wasn't without limits.  One day, feeling frustrated with her lack of progress in her potion-making class, Elara wished for a perfect, award-winning potion.  The backpack didn't provide solutions, it provided tools.  It helped her discover her own resourcefulness, her creativity, her"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " ingenuity.  It was a catalyst for her growth, not a shortcut to success.\n\nElara learned to use the backpack wisely, always asking herself what she truly needed, not just what she wanted.  The worn leather and the iridescent feather became symbols of her journey – a reminder that true magic wasn't about"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": " effortless acquisition, but about the transformative power of self-discovery, fueled by a little bit of wonder and a whole lot of careful consideration.  The magic was within her all along, and the backpack was merely the key that unlocked it.\n"}],"role": "model"}}],"usageMetadata": {"promptTokenCount": 8,"totalTokenCount": 8}}

data: {"candidates": [{"content": {"parts": [{"text": ""}],"role": "model"},"finishReason": "STOP"}],"usageMetadata": {"promptTokenCount": 8,"candidatesTokenCount": 626,"totalTokenCount": 634}}

@zhu327 @anuxs
Should be fixed now, please check.

@johnd0e Good job! Thanks!


Kaspersky reports system bridge as trojan.

Description
I just upgraded from 1.7.2 to 2.1.0 but my Kaspersky went crazy after the installation.
Event: Malicious object detected
Application: Node.js JavaScript Runtime
User: GT95\pc
User type: Active user
Component: System Watcher
Result description: Detected
Type: Trojan
Name: PDM:Trojan.Win32.Generic
Threat level: High
Object type: Process
Object path: p:\program files\system bridge
Object name: system-bridge.exe
Reason: Databases
Databases release date: Today, 18/07/2021 02:23:00
What Platform / OS are you running?
Windows
What version are you running?
2.1.0
Anything in the logs or a references that might be useful?
No response
Additional information
No response

Reason: Databases
What does that even mean? The app uses an SQLite DB stored in %appdata%\system-bridge\system-bridge_v1.db. GitHub scans the codebase for any issues. There are no libraries with security holes currently being reported.
IMHO, the trojan is kaspersky. This is a false positive. I'd suggest whitelisting the exe and if you are super security conscious building the app yourself

I am not sure why exactly it reports this as trojan. There is no detailed report.
Detailed info regarding false positives here:
https://support.kaspersky.com/viruses/answers/1870


Import Bitwise module rather than using it

Fixes the warning:
warning: use Bitwise is deprecated. import Bitwise instead
  lib/ex_twilio/request_validator.ex:10: ExTwilio.RequestValidator

Please merge this in.

Resolved in #181


Got working code

This code at least runs for most of the scenarios I've thrown at it. I haven't tested it extensively, but it's type stable and takes about 0.5 seconds for 1,000,000 points on my machine.

Wow thanks for picking this up! I will merge this and run some tests. I think it would be good to tag a release if this is checks out. This is going to be huge for the ecosystem to have a robust 2D delaunay!


debugger UI improvement

Update string, minor UI improvement

Codecov Report

Merging #680 into m_dbg will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            m_dbg     #680   +/-   ##
=======================================
  Coverage   57.85%   57.85%
=======================================
  Files          26       26
  Lines        1070     1070
=======================================
  Hits          619      619
  Misses        451      451

Continue to review full report at Codecov.

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

Hi Jim,
Added comment. Let me know if it is still not clear.


refactor: connection service and integration workflow

What is the purpose of this pull request?

Removed Singleton Pattern: Removed the singleton instance and static getInstance method, allowing for instantiation via the constructor.
Constructor Changes:

Introduced constructor to initialise connectionFn and context.
Initialised httpClient using the httpClient function from the index module.

New Method: Added getHttpClient() method to access the Axios client instance.
Updated Storage Key Method: Simplified getStorageKey() by removing base URL dependency.
HTTP Client Creation: Replaced direct Axios client creation with a new httpClient function that accepts a ConnectionService instance.
Interceptors Setup: Moved the request and response interceptor setup to the new httpClient function.
Improvements with auth window handling.

#156
#155  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @keeganpotgieter and the rest of your teammates on  Graphite

Merge activity

Sep 24, 8:22 PM EDT: @keeganpotgieter started a stack merge that includes this pull request via Graphite.


handling localised date formats - ie dd/mm/yyyy

Having thrashed around this for the best part of an afternoon, I think the wiki could benefit from a brief spiel on date formats.  Obivously ISO 8601 yyyy/mm/dd dates are handled universally and should be the norm and the docs should probably reflect this, but those of us in Australia, the UK etc still have dd/mm/yyyy to contend with..
I just created a formula and used the American Date value to lookup the month name (adding the zero-padded number for sorting)
var monthDeriver = function(record) {
	var mthNames = ["01-Jan", "02-Feb", "03-Mar", "04-Apr", "05-May", "06-Jun", "07-Jul", "08-Aug", "09-Sep", "10-Oct", "11-Nov", "12-Dec"];
	var dayasmonth = new Date(record.Date).getDate()-1;
  	return mthNames[dayasmonth];
}
...
derivedAttributes: {
	"Mth": monthDeriver,
},
rows: ["Mth"],

Hopefully this saves someone else the time I spent trying to get it running...

Ah, I'm sorry you had trouble with this... There's actually code for this already here: https://github.com/nicolaskruchten/pivottable/blob/master/pivot.coffee#L156 which can be called like this to get the same output: $.pivotUtilities.derivers.dateFormat("Name of Attribute", "%m-%n")

Thanks Nicolas - I'd used the %m-%n at first, but the default date.parse on ddmmyyyy dates assumes mmddyyyy - this'll then lead .getMonth to convert the dd to month(hence throwing out the lookup).
> var December11th = "11/12/2014"
< undefined
> date = new Date(Date.parse(December11th)).getMonth()
< 10

Until someone comes up with a clever way of JS parsing dates in any format correctly (or the whole world unites behind a common format) - the rest of the world using non-us formats will always have to build workarounds!
Thanks so much for an awesome library - I'm just getting to grips with it's power - keep up the good work!

Right, I see the problem now.


updating docker image to pull from

changed to
athomasson2/ebook2audiobook
@ROBERT-MCDOWELL
looks good?

kk ill just merge should be good


Code formatting for 03_Running_an_MD_simulation

Changed inline code to code blocks where sensible. Fix #136 .

Just checking it renders properly on your branch and then I'll merge, thanks :)


Wheres the compiler source

I want to maintain a fork for compiler that works on java 8 instead of using some stupid ASM hack to patch the class file, but I failed to find the src in this repository.
Can someone tell me wheres the source of org.jetbrains.compose.compiler:compiler

We build it from AOSP sources with this script:
export ANDROIDX_PROJECTS=COMPOSE
export COMPOSE_CUSTOM_GROUP=org.jetbrains.compose
export COMPOSE_CUSTOM_VERSION=%version%

cd androidx-main/frameworks/support

./gradlew \
  compose:compiler:compiler:publishMavenPublicationToMavenRepository \
  compose:compiler:compiler-hosted:publishMavenPublicationToMavenRepository \
  --no-daemon -Pandroidx.versionExtraCheckEnabled=false -Pandroidx.alternativeProjectUrl=https://github.com/JetBrains/compose-jb  -Pandroidx.validateProjectStructure=false

See more steps in TeamCity (requires an account)

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


memory usage when using watchers

Using the Watcher, seem to take a gradual memory usage increases.
Initially the heap was about 30MB, and after one hour beyond 100MB.
https://github.com/syama666/node_work/blob/master/test_zookeeper_aw.js
How to work around this behavior, what is not?

Dave, do you think this is related to the issue that you worked on recently?

From: syama666<EMAIL_ADDRESS>To: yfinkelstein<EMAIL_ADDRESS>Sent: Sunday, January 29, 2012 1:15 AM
Subject: [node-zookeeper] memory usage when using watchers (#34)
Using the Watcher, seem to take a gradual memory usage increases.
Initially the heap was about 30MB, and after one hour beyond 100MB.
https://github.com/syama666/node_work/blob/master/test_zookeeper_aw.js
How to work around this behavior, what is not?

Reply to this email directly or view it on GitHub:
https://github.com/yfinkelstein/node-zookeeper/issues/34

This is a known behavior.  The watcher methods register a long-lived
callback function that gets called multiple times.  So really, you are
registering callbacks over and over and over again, which is a strange
behavior.  Normally, watchers would be registered only once at the
beginning of a program.
Once registered, the watcher function object will never be freed.  Though
the only way to "unregister" a watcher would be to close the zk instance.
There is potentially a fix there, to make sure that resources are freed
appropriately when a zk connection is closed down, but it's tricky to get
that stuff right.
There is a cleaner, safer design, but no-one is signed up to build it: the
watcher code could be rewritten with EventEmitters - the native code would
emit an event for each type of thing being watched by 1+ watchers.  The JS
code would then handle the mapping between events and watcher functions.
Or, even fancier, the JS code could intercept EventEmitter registrations
and map those to the native watcher calls, and then add a native call to
unregister a watcher.
In sum, I think that unless there's a pressing scenario, this is a low-pri
/ won't-fix bug because the fix is non-trivial, and from my understanding
of usage patterns, this shouldn't affect most users.
Also, from running node in production, I've had issues with memory leaks in
general, and with the near total absence of tooling to investigate those
leaks.  The only surefire fix I've found is to periodically recycle worker
processes (can be done without dropping requests, just close gracefully
first).  That's a pretty crappy story, but it seems to be reality for Node.
---  Dave
On Sun, Jan 29, 2012 at 1:15 AM, syama666 <
<EMAIL_ADDRESS>
wrote:

Using the Watcher, seem to take a gradual memory usage increases.
Initially the heap was about 30MB, and after one hour beyond 100MB.
https://github.com/syama666/node_work/blob/master/test_zookeeper_aw.js
How to work around this behavior, what is not?

Reply to this email directly or view it on GitHub:
https://github.com/yfinkelstein/node-zookeeper/issues/34

Thanks for reply , and detail.
I'm going to try way (only one watcher to register, or re-create the instance) .


Fixed TOC to contain h1 to h4 tags

Signed-off-by: thisisobate<EMAIL_ADDRESS>

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Added configuration to enable h1 - h4 tags in website

Verification
Works on local

@bwplotka I think it will be nice if we can only include h2-h4 tags. Having all the headers in TOC will not look nice on website.  WDYT?

Works like a charm! <3


Confirm semantics of "zero values" when deserializing

Given the API's behavior on receiver side ("zero value" fields have to be always mapped to "missing key") and some tests I did deserializing "zero value" fields(like on_complete), it can be likely assumed that the API always uses "missing key" to represent "zero value", and that when deserializing we should interpret "missing key" depending on context (are we expecting a "zero value"? then it's a "zero value", otherwise the field really doesn't exist), but we should confirm, either testing on a per-field basis or with a specification of the node's mapping policy / inspecting the code base.
The API documentation is not helpful, as it states to use "zero values", which is incorrect:
https://developer.algorand.org/docs/reference/transactions/
https://developer.algorand.org/docs/reference/teal/specification/#oncomplete
Related documentation issues (to date unaddressed):
https://github.com/algorand/docs/pull/454
https://github.com/algorand/docs/issues/415
We also should resolve possible ambiguities around "zero values" by specifying what they are: in some cases it's not obvious, e.g. an Address: is it an empty array or an array with 32 bytes set to 0? Is a struct with all the fields set to "zero value" a "zero value" (I remember that this was the case in the Java SDK)? etc.

Addressed by recent fixes. E.g. a non-existent application schema is interpreted as a schema with 0 values if the context indicates that a schema is expected. This is not ideal, but there's nothing that can be done on our side.


Battery Status & Meal amount?

First of all thanks for your work!
Im facing 2 problem with the plugin. First is that im always see the warning of low battery in home, but the Feeder is always connect to the power. Is it possible to deactivate the battery status?
Second thing is that the meal amount is not updating. In the app I have 30% left and the amount in home (with the fan) is 20%? is der something I can do?
Last thing is just for information. What is the difference between these log status? I don't get actually ;D

if it helps, config is looking like this :
{
"log_level": 2,
"devices": [
{
"headers": [
{
"key": "X-Session",
"value": "xxxxxx"
}
],
"location": "asia",
"model": "Feeder",
"enable_http_retry": true,
"http_retry_count": 3,
"DropMeal_name": "DropMeal",
"MealAmount_name": "MealAmount",
"FoodStorage_name": "FoodStorage",
"DesiccantLevel_name": "DesiccantLevel",
"ManualLock_name": "ManualLock",
"LightMode_name": "LightMode",
"Battery_name": "Battery",
"enable_polling": true,
"polling_interval": 60,
"enable_desiccant": false,
"alert_desiccant_threshold": 7,
"enable_autoreset_desiccant": false,
"reset_desiccant_threshold": 5,
"enable_manualLock": false,
"enable_lightMode": false,
"reverse_foodStorage_indicator": true,
"fast_response": false
}
],
"platform": "petkit_feeder_mini"
}

im always see the warning of low battery in home, but the Feeder is always connect to the power. Is it possible to deactivate the battery status?

This may caused by some other reason, you can simply launch Petkit App, goto this device page, see if there is a low battery warning icon shows.
I certainly can add a option to turn off battery feature, but it's better and more helpful you provide some log under debug log level, and we together fix this bug.

the meal amount is not updating. In the app I have 30% left and the amount in home (with the fan) is 20%? is der something I can do?

MealAmount in homekit is not the meal left in Petkit Feeder, more specific, MealAmount(in this plugin) means everytime you commit a drop meal action(DropMeal switch in homekit) that how many meal(s) the Petkit Feeder should drop to the bowl.
And MealAmount only used in Homekit, it's separate from the meal(s) you set in Petkit App.

I don't have any warning in the Petit App about low Battery.
Is it possible to see the remaining amount of meal in % in the home app? that would be helpful, to activate a light or something if a specific amount is reached.
Apr 08 11:01:37 raspberrypi homebridge[16692]: [4/8/2021, 11:01:37] [petkit_feeder_mini] [INFO] polling start...
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] battery level is 0%.
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] battery is not charging.
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] battery level status is low
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] manualLock function is disabled.
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] lightMode function is disabled.
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [WARN] there is not enough food left !!!
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] desiccant service is disabled
Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [INFO] polling end...
do you need more infos?

is it also possible to select which one of the function I want to use and which one not? I my case, I actually just need the alert of empty storage

Please set log level to debug, and then update the log.

Apr 08 11:01:38 raspberrypi homebridge[16692]: [4/8/2021, 11:01:38] [petkit_feeder_mini] [WARN] there is not enough food left !!!

This log line means that the plugin is monitoring the food storage of your feeder device:

When there is not enough food left:

Petkit Feeder device will turn on the alerm light to inform you.
This plugin will send a message to Homekit, so that there will be an alert in Home App, and if you enabled the notification function in Home App, it will pop up an notification on your iOS deivce.

When there is enough food left:

Petkit Feeder device will turn off the alerm light.
No alerm will show in Home App(indicator is in untriggered status).

For Petkit Feeder Mini, the on board alerm light for food storage looks like this(Only one light):

For Petkit Feeder Element, the on board alerm light for food storage looks like this:

Here the debug log
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: X-Client, using 'ios(14.0;iPhone12,3)' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: Accept, using '/' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: X-Timezone, using '0.0' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: Accept-Language, using 'en-US;q=1, zh-Hans-US;q=0.9' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: Accept-Encoding, using 'gzip, deflate' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: X-Api-Version, using '7.18.1' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: Content-Type, using 'application/x-www-form-urlencoded' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: User-Agent, using 'PETKIT/7.18.1 (iPhone; iOS 14.0; Scale/3.00)' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: X-TimezoneId, using 'Asia/Shanghai' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] missing header: X-Locale, using 'en_US' instead.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [INFO] initializing Petkit Feeder device.
Apr 08 14:23:00 raspberrypi homebridge[19918]: [4/8/2021, 14:23:00] [petkit_feeder_mini] [DEBUG] request device info from Petkit server.
Apr 08 14:23:02 raspberrypi homebridge[19918]: [4/8/2021, 14:23:02] [petkit_feeder_mini] [DEBUG] http request success
Apr 08 14:23:02 raspberrypi homebridge[19918]: [4/8/2021, 14:23:02] [petkit_feeder_mini] [DEBUG] {"result":{"d4":{"enable":0},"devices":[{"type":"Feeder","data":{"name":"Futterautomat","createdAt":"2019-03-26T17:09:09.729Z","id":100005007,"state":1,"status":{"desiccantLeftDays":23,"errorPriority":0,"feeding":0,"food":677,"ota":0,"overall":1,"percent":27,"pim":1,"wifi":{"bssid":"705425556741","rsq":-60,"ssid":"Test"}},"relation":{"petIds":["100060579"],"userId":"100044589"},"desc":"Next feeding time:18:00"}}],"cozy":{"gearsTotal":6,"enable":1,"tempunit":0,"sTempMin":10,"isShowDeviceSafetyClause":0,"gearsOffset":3,"sTempMax":42},"feeder":{"isShowDeviceSafetyClause":0},"k2":{"enable":1},"go":{"hasMarks":0,"maxMarksPerRoute":30,"markEnabled":1},"feedermini":{"isShowDeviceSafetyClause":0},"tools":[{"type":"walkpet","data":{"goal":60}},{"type":"weight"},{"type":"remind","data":{}}],"t3":{"enable":1},"d3":{}}}
Apr 08 14:23:02 raspberrypi homebridge[19918]: [4/8/2021, 14:23:02] [petkit_feeder_mini] [INFO] found you ownd one Feeder with deviceId: 100005007.
Apr 08 14:23:02 raspberrypi homebridge[19918]: [4/8/2021, 14:23:02] [petkit_feeder_mini] [DEBUG] request initial device status from Petkit server.
is it also possible to select which one of the function I want to use and which one not? I my case, I actually just need the alert of empty storage and don't need the drop meal function etc

and at what point the motion sensor of low level will be triggered? I have 2 light still on of the food level and the motion sensor says that there is not enough food left?

now I also get this message?
Apr 08 14:47:02 raspberrypi homebridge[21367]: [4/8/2021, 14:47:02] [homebridge-petkit-feeder-mini] This plugin generated a warning from the characteristic 'Occupancy Detected': characteristic was supplied illegal value: number 677 exceeded maximum of 1. See https://git.io/JtMGR for more info.

okay I saw the thing, that I don't have any batteries in it. But could it be possible somehow to ignore that if its connected with electrical power?

But could it be possible somehow to ignore that if its connected with electrical power?

yes, I'll try to fix this problem.

also I filled the storage with food completely/ reversed the sensor/ calibrate the food storage new and still get the message that there is not enough foot left.

I'll need sometime to dig into this problem, and may need your help solving this.

new version 2.1.1 should work for you:

new config option add: ignore_battery_when_charging;
food storage status still need further test, look forward to your reply.

Hi, thank you! the issue with the battery is solved.
How can I help and support you with the food storage issue?
Here is my current debug log :
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: Accept, using '/' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: X-Timezone, using '0.0' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: Accept-Language, using 'en-US;q=1, zh-Hans-US;q=0.9' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: Accept-Encoding, using 'gzip, deflate' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: X-Api-Version, using '7.18.1' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: Content-Type, using 'application/x-www-form-urlencoded' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: User-Agent, using 'PETKIT/7.18.1 (iPhone; iOS 14.0; Scale/3.00)' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: X-TimezoneId, using 'Asia/Shanghai' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] missing header: X-Locale, using 'en_US' instead.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] {"headers":{"X-Session":"7a017f399fdb4308bf67352678731ebatqQIMQxdq5P7eyDqkYhz","X-Client":"ios(14.0;iPhone12,3)","Accept":"/","X-Timezone":"0.0","Accept-Language":"en-US;q=1, zh-Hans-US;q=0.9","Accept-Encoding":"gzip, deflate","X-Api-Version":"7.18.1","Content-Type":"application/x-www-form-urlencoded","User-Agent":"PETKIT/7.18.1 (iPhone; iOS 14.0; Scale/3.00)","X-TimezoneId":"Asia/Shanghai","X-Locale":"en_US"},"location":"asia","model":"Feeder","enable_http_retry":true,"http_retry_count":3,"DropMeal_name":"DropMeal","MealAmount_name":"MealAmount","FoodStorage_name":"FoodStorage","DesiccantLevel_name":"DesiccantLevel","ManualLock_name":"ManualLock","LightMode_name":"LightMode","Battery_name":"Battery","enable_polling":true,"polling_interval":60,"enable_desiccant":false,"alert_desiccant_threshold":7,"enable_autoreset_desiccant":false,"reset_desiccant_threshold":5,"enable_manualLock":false,"enable_lightMode":true,"reverse_foodStorage_indicator":true,"ignore_battery_when_charging":true,"fast_response":false,"urls":{"owndevices":"http://api.petktasia.com/latest/discovery/device_roster","deviceState":"http://api.petktasia.com/latest/feeder/devicestate?id={}","deviceDetailInfo":"http://api.petktasia.com/latest/feeder/device_detail?id={}","saveDailyFeed":"http://api.petktasia.com/latest/feeder/save_dailyfeed?deviceId={}&day={}&time={}&amount={}","removeDailyFeed":"http://api.petktasia.com/latest/feeder/remove_dailyfeed?deviceId={}&day={}&id=d{}","dailyfeeds":"http://api.petktasia.com/latest/feeder/dailyfeeds?deviceId={}&days={}","restoreDailyFeeds":"http://api.petktasia.com/latest/feeder/restore_dailyfeed?deviceId={}&day={}&id=s{}","disableDailyFeeds":"http://api.petktasia.com/latest/feeder/remove_dailyfeed?deviceId={}&day={}&id=s{}","resetDesiccant":"http://api.petktasia.com/latest/feeder/desiccant_reset?deviceId={}","updateSettings":"http://api.petktasia.com/latest/feeder/update?id={}&kv={}"},"manufacturer":"Petkit"}
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [INFO] initializing Petkit Feeder device.
Apr 09 07:19:13 raspberrypi homebridge[7548]: [4/9/2021, 07:19:13] [petkit_feeder_mini] [DEBUG] request device info from Petkit server.
Apr 09 07:19:15 raspberrypi homebridge[7548]: [4/9/2021, 07:19:15] [petkit_feeder_mini] [DEBUG] http request success
Apr 09 07:19:15 raspberrypi homebridge[7548]: [4/9/2021, 07:19:15] [petkit_feeder_mini] [DEBUG] {"result":{"d4":{"enable":0},"devices":[{"type":"Feeder","data":{"name":"Futterautomat","createdAt":"2019-03-26T17:09:09.729Z","id":100005007,"state":2,"status":{"desiccantLeftDays":23,"errorPriority":0,"feeding":0,"food":1966,"ota":0,"overall":2,"percent":78,"pim":0,"wifi":{"bssid":"705425556741","rsq":-59,"ssid":"Test"}},"relation":{"petIds":["100060579"],"userId":"100044589"},"desc":"Next feeding time:18:00"}}],"cozy":{"gearsTotal":6,"enable":1,"tempunit":0,"sTempMin":10,"isShowDeviceSafetyClause":0,"gearsOffset":3,"sTempMax":42},"feeder":{"isShowDeviceSafetyClause":0},"k2":{"enable":1},"go":{"hasMarks":0,"maxMarksPerRoute":30,"markEnabled":1},"feedermini":{"isShowDeviceSafetyClause":0},"tools":[{"type":"walkpet","data":{"goal":60}},{"type":"weight"},{"type":"remind","data":{}}],"t3":{"enable":1},"d3":{}}}
Apr 09 07:19:15 raspberrypi homebridge[7548]: [4/9/2021, 07:19:15] [petkit_feeder_mini] [INFO] found you ownd one Feeder with deviceId: 100005007.
Apr 09 07:19:15 raspberrypi homebridge[7548]: [4/9/2021, 07:19:15] [petkit_feeder_mini] [DEBUG] request initial device status from Petkit server.
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [DEBUG] http request success
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [DEBUG] {"result":{"createdAt":"2019-03-26T17:09:09.729Z","feed":{"deviceId":100005007,"isLock":1,"items":[{"amount":120,"id":"64800","name":"Abendessen","petAmount":[{"amount":120,"petId":"100060579"}],"time":64800}],"repeats":"1,2,3,4,5,6,7","suspended":0,"userId":"100044589"},"firmware":"1.733","firmwareDetails":[{"module":"userbin","version":1942006}],"hardware":1,"id":100005007,"locale":"Europe/Berlin","mac":"86f3eba10e00","name":"Futterautomat","owner":{"petId":"100060579","userId":"100044589"},"relation":{"petIds":["100060579"],"userId":"100044589"},"secret":"854cc7efee9b4453","settings":{"desiccantNotify":1,"feedNotify":1,"foodNotify":1,"lightMode":1,"lightRange":[450,1320],"manualLock":0},"shareOpen":0,"signupAt":"2021-04-09T04:03:28.564Z","sn":"66180916P30062","state":{"desiccantLeftDays":23,"errorPriority":0,"feeding":0,"food":1966,"ota":0,"overall":2,"percent":78,"pim":0,"wifi":{"bssid":"705425556741","rsq":-59,"ssid":"Test"}},"timezone":2,"type":0}}
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [DEBUG] {"lastUpdate":1617945618,"food":1966,"batteryPower":0,"batteryStatus":1,"desiccantLeftDays":23,"manualLock":0,"lightMode":1,"meals":{}}
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] battery level is 0%.
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] battery is not charging.
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] battery level status is normal
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] manualLock function is disabled.
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] lightMode status is on.
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [WARN] there is not enough food left !!!
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] desiccant service is disabled
Apr 09 07:20:18 raspberrypi homebridge[7548]: [4/9/2021, 07:20:18] [petkit_feeder_mini] [INFO] polling end...

I faced an issue with the battery. It is working but when the polling starts again, the Homeapp shows me that the battery level is low. When polling is ended that its jumping back. So every few minutes its showing low battery

For battery status issue:
From your log, it seems that the server didn't reply with the battery status of your device, so I'll complete disable the battery function for Petkit Feeder Element device in the next update and it should not bother you any more.
As for food storage status:
Because Petkit server stores and replies different format of food storage value, so I don't know different food value meaning.
Here is how you can help me find out:

Empty your food storage in Petkit Feeder deivce.
Goto This online post test website, fill the device ID and Session ID with your own, and click send, save the server reply data.
Fill the Petkit Feeder device with pet food(as much as possible)
repeat step 2.
submit the server reply content to this issue in step 2 and step 4.

here is a screen shot how to get the server reply:

Okay i will do. Sorry 4 asking so stupidly but what exactly is mean with device id ? where can I get it?

It's my pleasure to help you, with your help so I can make this plugin more reliable.
You can find you device id in the log like here:
Apr 09 07:19:15 raspberrypi homebridge[7548]: [4/9/2021, 07:19:15] [petkit_feeder_mini] [INFO] found you ownd one Feeder with deviceId: xxxxxx.

So with the empty storage is this one :
{
"result": {
"createdAt": "2019-03-26T17:09:09.729Z",
"feed": {
"deviceId": 100005007,
"isLock": 1,
"items": [{
"amount": 120,
"id": "64800",
"name": "Abendessen",
"petAmount": [{
"amount": 120,
"petId": "100060579"
}],
"time": 64800
}],
"repeats": "1,2,3,4,5,6,7",
"suspended": 0,
"userId": "100044589"
},
"firmware": "1.733",
"firmwareDetails": [{
"module": "userbin",
"version": 1942006
}],
"hardware": 1,
"id": 100005007,
"locale": "Europe/Berlin",
"mac": "86f3eba10e00",
"name": "Futterautomat",
"owner": {
"petId": "100060579",
"userId": "100044589"
},
"relation": {
"petIds": ["100060579"],
"userId": "100044589"
},
"secret": "854cc7efee9b4453",
"settings": {
"desiccantNotify": 1,
"feedNotify": 1,
"foodNotify": 1,
"lightMode": 1,
"lightRange": [450, 1320],
"manualLock": 0
},
"shareOpen": 0,
"signupAt": "2021-04-09T06:17:15.156Z",
"sn": "66180916P30062",
"state": {
"desiccantLeftDays": 23,
"errorPriority": 0,
"feeding": 0,
"food": 0,
"ota": 0,
"overall": 1,
"percent": 0,
"pim": 1,
"wifi": {
"bssid": "00ab48101b05",
"rsq": -47,
"ssid": "BurgGuiollett"
}
},
"timezone": 2.0,
"type": 0
}
}
with the filled storage is this one:
{
"result": {
"createdAt": "2019-03-26T17:09:09.729Z",
"feed": {
"deviceId": 100005007,
"isLock": 1,
"items": [{
"amount": 120,
"id": "64800",
"name": "Abendessen",
"petAmount": [{
"amount": 120,
"petId": "100060579"
}],
"time": 64800
}],
"repeats": "1,2,3,4,5,6,7",
"suspended": 0,
"userId": "100044589"
},
"firmware": "1.733",
"firmwareDetails": [{
"module": "userbin",
"version": 1942006
}],
"hardware": 1,
"id": 100005007,
"locale": "Europe/Berlin",
"mac": "86f3eba10e00",
"name": "Futterautomat",
"owner": {
"petId": "100060579",
"userId": "100044589"
},
"relation": {
"petIds": ["100060579"],
"userId": "100044589"
},
"secret": "854cc7efee9b4453",
"settings": {
"desiccantNotify": 1,
"feedNotify": 1,
"foodNotify": 1,
"lightMode": 1,
"lightRange": [450, 1320],
"manualLock": 0
},
"shareOpen": 0,
"signupAt": "2021-04-09T06:17:15.156Z",
"sn": "66180916P30062",
"state": {
"desiccantLeftDays": 23,
"errorPriority": 0,
"feeding": 0,
"food": 2798,
"ota": 0,
"overall": 1,
"percent": 100,
"pim": 1,
"wifi": {
"bssid": "00ab48101b05",
"rsq": -57,
"ssid": "BurgGuiollett"
}
},
"timezone": 2.0,
"type": 0
}
}

with version 2.1.3, you should all set.

thank you. I'm testing and see:

home still shows alert that batterie is low even when the status is ignored
in the log it shows me that enough food is left and the trigger now is on all the time even when the polling is end
when I reverse it log shows not enough is left, the trigger is on when a new polling period starts trigger will be off for short and will be on a few seconds later

in this case, you may need to remove plugin cache from homebridge to make this work.
if you using homebridge-config-ui-x, you could follow this steps:

if you perfer command line, you can simply delete the "accessories" and "persist" folder under "homebridge" folder.

i tested it and with the reverse option it is working. The trigger is now always on with low amount of food. The only issue I still facing is with the battery. In Home there still showing the alert of low battery

try to remove accessory cache using the homebridge-config-ui-x plugin:

i don't use this.... maybe do you have the terminal command for me? :)

goto your homebridge folder
delete these two folders: accessories and persist

I saw that I have the UI thing but I don't have the option to delete things. Do you know what I can do?

you can alse launch a terminal through this config ui:

and you can directly delete these two folders:

okay thanks I´m such a noob :D and what's the command to uninstall?

okay thanks I´m such a noob :D and what's the command to uninstall?

uninstall plugin?
then it's should be:
npm uninstall <plugin-name>

or if your plugin was installed as global plugin:
npm uninstall -g <plugin-name>

no I mean to delete the accessories and persist folder

be careful when you use rm command
rm -rf accessories persist

well now I have the problem, that the home bridge is not accessible anymore in the home app? :(

Apr 09 11:07:09 raspberrypi homebridge[15583]: [4/9/2021, 11:07:09] Failed to save cached accessories to disk: ENOENT: no such file or directory, open '/var/homebridge/accessories/cachedAccessories.0E9F1AD151DC'
Apr 09 11:07:09 raspberrypi homebridge[15583]: [4/9/2021, 11:07:09] Failed to save cached accessories to disk: ENOENT: no such file or directory, open '/var/homebridge/accessories/cachedAccessories'
Apr 09 11:07:09 raspberrypi homebridge[15583]: [4/9/2021, 11:07:09] Your accessories will not persist between restarts until this issue is resolved.
how can I create such a folder?

to create these folder, you can use the following command:
mkdir -p accessories && mkdir -p persist

but I wondering:
did you restart you homebridge instance?
what's your homebridge version?
you can use the following command to check:
homebridge --version

maybe you just need update your homebridge and will be ok.
npm install -g --unsafe-perm homebridge

no I don't restart the instance. I habe the newest version and over UI it is still available but not in the home app.
still get this message
Apr 09 11:23:22 raspberrypi homebridge[17006]: [4/9/2021, 11:23:22] Failed to save cached accessories to disk: EISDIR: illegal operation on a directory, open '/var/homebridge/accessories/cachedAccessories.0E9F1AD151DC'
Apr 09 11:23:22 raspberrypi homebridge[17006]: [4/9/2021, 11:23:22] Your accessories will not persist between restarts until this issue is resolved.
but when I try mkdir /var/homebridge/accessories/cachedAccessories.0E9F1AD151DC its not working
do you have an idea? I don't want to insert the whole bridge again in home :(

you're using the wrong command, '/var/homebridge/accessories/cachedAccessories.0E9F1AD151DC' is a file, you cannot use mkdir to create them.
mkdir -p /var/homebridge/accessories

When you restart homebridge, homebridge will check these folder, and try to create them.
check the accessories folder permission:
ls -al

make sure the folder owned by homebridge and by group homebridge:

if not, use the following command to change it's owner and group:
chown -R homebridge:homebridge accessories

and remember to restart homebridge.

okay I did and now still this here:

and the overview locks like this:

how can I create the file cachedAccessories.0E9F1AD151DC ?

how can I create the file cachedAccessories.0E9F1AD151DC ?

touch /var/homebridge/accessories/cachedAccessories.0E9F1AD151DC

if it says that cachedAccessories.0E9F1AD151DC is a folder, then you should first delete them:
rm -rf /var/homebridge/accessories/cachedAccessories.0E9F1AD151DC

okay that helps. The message is gone but still no availability of the devices in Home. :/ Do you have any idea for this?

try unpair and repair the homebridge?
Note that this action will reset your connected accessories automation in home app, you may need set your automation after doing so.

Yes I know and that is what I want to avoid

Then I really have no idea how to avoid that, sorry.
That's all I know...

okay I reset it :/ but now it seems that everything is working correctly!!!! THANK YOU SO MUCH!


iOS > NNW6 > iCloud Sync : delay on mark all as read

As shown in the screen recording, there’s a small delay until the badge of Unread items disappear (or it’s updated?) with iCloud Sync on iOS.
This is not happening on macOS version with the same account.
https://user-images.githubusercontent.com/72861758/114431653-08499c00-9bc0-11eb-8a94-60faa1f14515.mp4

For now it isn't creating a usability problem!
I just wanted to report a strange behavior, maybe related to something in the iOS version.

The iOS and Mac versions are architected differently. Some differences in performance should be expected. I'm going to close this since it is more of an observation than an issue.

I’m re-opening this. I’d like to get this faster.

If we make it faster the cell reload cancels our selection fade animation and the row stays blue.

That or the selection fade animation doesn't happen. I can't remember which. I do know that we have problems with the cell fade animation hanging around if we don't serialize access to the UITableView using MainThreadOperation which is why you are seeing a slight delay.

@vincode-io I think in that way, it emulates macOS (that okay has a pointer) so it doesn't clear the "selection" when "mark all as read" is invocated for a folder or web feed or smart feeds

That or the selection fade animation doesn't happen. I can't remember which. I do know that we have problems with the cell fade animation hanging around if we don't serialize access to the UITableView using MainThreadOperation which is why you are seeing a slight delay.

How much possible can you increase the fade out animation?

None. Changing the layer speed causes other rendering artifacts.

How is possible that now trying this, on almost 10 folders, on 2 it updates the badge instantly on "Feeds" page?


Version 5 (work in progress)

Refactored FlexTable and VirtualScroll to be HOCs that wrap internal Grids. This removes a lot of code duplication between Grid and VirtualScroll but comes with the cost of making :width a required attribute for both FlexTable and VirtualScroll.
Part of the Version 5 Roadmap.

Make sure the fix for #80 makes its way into this branch to avoid a regression.


Submeshcount always 0, assign new Texture with filament

I first tried this with Sceneform 1.16, but since it can not handle filament version greater than 8.1, I tried this version.
I need to render GLB models, run their animations and change the texture.
Changing textures with the Sceneform functionality does not work, because the submeshcount is still always zero. So I tried changing the textures with the filamentAsset, which does not work either. I tried getting help with this on github and on stackoverflow, with limited success.
Any help?

It seems the filamentAsset provided by the RenderableInstance of a Node is not complete.
I included filament's modelViewer and loaded the GLB there, too.
engine = Engine.create();

modelViewer = new ModelViewer(engine);
Buffer buffer = readAsset("avocado.glb");
modelViewer.loadModelGlb(buffer);

So i can get the filamentAsset from the renderableInstance
AnchorNode anchorNode = new AnchorNode(anchor);

// attaching the anchorNode with the ArFragment
anchorNode.setParent(arCam.getArSceneView().getScene());

// attaching the anchorNode with the TransformableNode
TransformableNode model = new TransformableNode(arCam.getTransformationSystem());
model.setParent(anchorNode);

// attaching the 3d model with the TransformableNode
// that is already attached with the node
model.setRenderable(modelRenderable);
model.select();

// Saving the object as filament asset
// -> Possibility to run animations and change textures
filamentAsset = model.getRenderableInstance().getFilamentAsset();

and the filamentAsset provided by the filament modelViewer
filamentAsset2 = modelViewer.getAsset();

After getting the entitites
RenderableManager renderableManager = engine.getRenderableManager();

int[] entities = filamentAsset.getEntities();
Log.d("Entities", String.valueOf(entities.length));

int[] entities2 = filamentAsset2.getEntities();
Log.d("Entities2", String.valueOf(entities2.length));

I loop through the entitites and try to get the materialInstances
for (int entity: entities) {
    Log.d("EntityName", filamentAsset.getName(entity));
    int instance = renderableManager.getInstance(entity);
    Log.d("Instance", String.valueOf(instance));
    if (instance == 0)
        continue;
    MaterialInstance materialInstance = renderableManager.getMaterialInstanceAt(instance, 0);
    Log.d("MaterialInstance", materialInstance.getName());
    materialInstance.setParameter("baseColorMap", textureBC, textureSampler);
}

for (int entity: entities2) {
    Log.d("EntityName2", filamentAsset2.getName(entity));
    int instance = renderableManager.getInstance(entity);
    Log.d("Instance2", String.valueOf(instance));
    if (instance == 0)
        continue;
    MaterialInstance materialInstance = renderableManager.getMaterialInstanceAt(instance, 0);
    Log.d("MaterialInstance", materialInstance.getName());
    materialInstance.setParameter("baseColorMap", textureBC, textureSampler);
}

The logs should be the same, but:
D/Entities: 1
D/Entities2: 1
D/EntityName: Avocado
D/Instance: 0
D/EntityName2: Avocado
D/Instance2: 1
D/MaterialInstance2: 2256_Avocado_d

As you see, the Instance is 0 at the first one, the asset that was created with renderableInstance.getFilamentAsset().
I am not sure if this is the reason for my problems, but is there any workaround for this? Unfortunately, the modelViewer from filament is not usable (I have not found a way yet) with the arFragment of Sceneform, only witht the Android surfaceView.

As you see, the Instance is 0 at the first one, the asset that was created with renderableInstance.getFilamentAsset().

This is a normal result. Why using :
if (instance == 0)
    continue;

You just skip the targeted MaterialInstance doing that.
Anyway, even if it's not a suitable solution for coming versions of Sceneform wich will try to let you manage filament assets directly, here is (I hope) your solution :
ModelRenderable.builder()
  .setSource(this, Uri.parse("avocado.glb"))
  .setIsFilamentGltf(true)
  .build()
  .thenAccept(
      modelRenderable -> {
          modelRenderable.getMaterial().setTexture("baseColorMap",
            Texture.builder()
              .setSource(yourBitmap)
              .setSampler(Texture.Sampler.builder()
                      .setWrapMode(Texture.Sampler.WrapMode.REPEAT)
                      .build())
              .build());
      });

Sceneform 1.8.5 will apply all the filament calls for you.
But, just to let you know, I'm working on making ModelRenderable beeing directly a FilamentAsset.

This is a normal result. Why using :
if (instance == 0)
continue;
You just skip the targeted MaterialInstance doing that.

I am doing this because for instance == 0 I get this error messge:
A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 12678 (e.myapplication), pid 12678 (e.myapplication)
The application crashes in this situation.
When I try using your code
            ModelRenderable.builder()
                    .setSource(this, R.raw.avocado)
                    .setIsFilamentGltf(true)
                    .build()
                    .thenAccept(
                            modelRenderable -> {
                                try {
                                    Log.d("setModel", "loadMaterial");
                                    modelRenderable.getMaterial().setTexture("baseColorMap",
                                            Texture.builder()
                                                    .setSource(mainBitmap)
                                                    .setSampler(Texture.Sampler.builder()
                                                            .setWrapMode(Texture.Sampler.WrapMode.REPEAT)
                                                            .build())
                                                    .build()
                                                    .get());
                                    Log.d("setModel", "loadedMaterial");
                                } catch (ExecutionException | InterruptedException e) {
                                    e.printStackTrace();
                                }
                                Log.d("setModel", "addModel");
                            });

nothing happens. Only the first Log is logged.
When I check at this point for submeshcount, it is still zero, so the getMaterial() method should not work here, too, right?
Also, I need to use the get() method because build() is just returing the completeableFuture.

Fixed here: 5c2f6ce24e2cc88490f065e53cf78eada8f0cc7a


build commands for arm64

This PR contains the changes necessary to build the container for arm64. On my M1 Macbook Pro, compiling in the arm64 container is 2.5 times faster than the amd64 one. On other devices (like the RPI4, or linux on an M1 Macbook), arm64 is the only container that will run.
I'm not suggesting pulling in this PR verbatim, but either as a separate branch, or maybe add an extra parameter to the build scripts (I'd be happy to do that if you want) to switch between the architectures (or maybe even have switches in the Dockerfiles themselves for different architectures if this is possible?).
Eventually ideally the pre-built container will be available for arm64 as well.
I just want to make this work available for the next person who needs this.

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

@reinhrst Thanks for the contribution. We'll think how to provide builds for arm64 architecture as well.


Do not fail envoy health probe if a config was rejected (#9786)

Adjust so that rejection is also an allowed state of health probe for envoy.

Co-authored-by: Ralf Pannemans<EMAIL_ADDRESS>
Add unit tests for envoy health probe

Co-authored-by: Ralf Pannemans<EMAIL_ADDRESS>
Fixed linting

Co-authored-by: Ralf Pannemans<EMAIL_ADDRESS>
Fix another linting problem

Co-authored-by: Ralf Pannemans<EMAIL_ADDRESS>

Add new stats to String() method

Use better wording in log message

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: c0d1ngm0nk3y
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: andraxylia
If they are not already assigned, you can assign the PR to them by writing /assign @andraxylia in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @c0d1ngm0nk3y. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@loewenstein , @hklai Here the cherry-pick to release-1.1

/ok-to-test

@c0d1ngm0nk3y: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
268a851859c9f9fd37631cab4b55b6906eb523eb
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@c0d1ngm0nk3y: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
268a851859c9f9fd37631cab4b55b6906eb523eb
link
/test e2e-simpleTestsMinProfile

prow/e2e-mixer-no_auth-mcp.sh
268a851859c9f9fd37631cab4b55b6906eb523eb
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
268a851859c9f9fd37631cab4b55b6906eb523eb
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Strange that linting failed. It's only a cherry pick, but I look into it.

@c0d1ngm0nk3y: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
268a851859c9f9fd37631cab4b55b6906eb523eb
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
268a851859c9f9fd37631cab4b55b6906eb523eb
link
/test istio-pilot-multicluster-e2e

prow//e2e-simpleTests-minProfile.sh
a7707422f1ad094db6572d27a15c9ef3e12df20a
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-simpleTestsMinProfile

@c0d1ngm0nk3y: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
a7707422f1ad094db6572d27a15c9ef3e12df20a
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai the lint failures are those from another PR that you mentioned on Slack.
@c0d1ngm0nk3y probably rebasing on the current HEAD of release-1.1 will fix the lint issues.

@c0d1ngm0nk3y: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
1c95954c1f5ee2127c48cb9bb4bea5484c230bd8
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@c0d1ngm0nk3y: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
94b4540097099b79f42e6137f35c224524bbb0bf
link
/test e2e-simpleTestsMinProfile

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

fixes https://github.com/istio/istio/issues/9659 on 1.1-release

@kramerul Could you please state your consent as co-author
@jsPlachetka You were co-author of the original PR on master, could you please state your consent here as well
Ping @hklai when both have stated consent to get the manually approved CLA.

I confirm my consent as co-author

@hklai My colleague (@kramerul ) co-authored the adding of the empty line to make to linter happy. We didn't think of the googlebot :) Could you have another look? Ulrich stated the consent above. Tnx.

@rshriram Will there be a real fix for 1.1? I.e. will DestinationRules support applying custom certs to egress gateway only?
Otherwise, could we get this mitigation merged - ugly as it is? As stated before this diff is already applied on master.

@rshriram @costinm @nmittler @hklai this is a cherry-pick of a pr already merged in master.
Will there be a real fix allowing the probe to succeed while supporting custom egress certs in 1.1? If not or not yet, could we merge this and revisit as soon as a good solution is in place?


Front End Development for the Website

Is your feature request related to a problem? Please describe.
Every awesome project needs to have a Website linked to it so it would be great to have one for Hoaxify.
Describe the solution you'd like
I want to add Web support to this project by creating a website for this.
Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Hey @Femme-js , please assign it to me so that I can go ahead.
Moreover , I'm thinking of using React for this.

Also please do let me know what all pages to we need to have.
Imo it should have a home page, an About Us page ,a Contributors page and a page which does all the stuff related to background.

@Swastik1710 You can go ahead with making a front-end.

Okay Sure.
Thanks a lot.
I'll get back to you in 3 days.

sure!

Hey @Femme-js
I've made a PR, please have a look.
#40


Steam: Half-Life: Seg-fault

Describe the bug!
Probably need a extraLibraries32/extraPkgs32 option to specify 32bit packages. Or I need to report this upstream.
image
Steps To Reproduce
Steps to reproduce the behavior:

... Install Half-Life
... Use steam-runtime
... launch game.

Notify maintainers

@jagajaga @jonringer
Metadata
- system: `"x86_64-linux"`
 - host os: `Linux 5.13.12, NixOS, 21.05.2734.74d017edb67 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(daniel): `""`
 - channels(root): `"nixos-21.05.2734.74d017edb67, nixos-unstable-21.11pre312335.8d8a28b47b7, nixpkgs-master"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I added export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/run/host/usr/lib32/:/run/host/usr/lib32/steam-runtime/lib/i386-linux-gnu/:/run/host/usr/lib32/steam-runtime/usr/lib/i386-linux-gnu/" to hl.sh and solved the dll issues, but the game still crashes.
so I suspect that was a red herring...
assert_20210901210442_1.dmp[363387]: Uploading dump (out-of-process)
/tmp/dumps/assert_20210901210442_1.dmp
>>> Adding process 363386 for game ID 70
assert_20210901210442_1.dmp[363387]: Finished uploading minidump (out-of-process): success = yes
assert_20210901210442_1.dmp[363387]: response: Discarded=1
assert_20210901210442_1.dmp[363387]: file ''/tmp/dumps/assert_20210901210442_1.dmp'', upload yes: ''Discarded=1''

and I'm not sure how to keep core-dumps around to debug them locally...

I can't reproduce this issue. I can just install Half-Life in steam and start it.
Use programs.steam.enable = true; to have 32-bit libraries installed.
I'm running NixOS built from master.

Just tried the game, it works fine.


Work on languages other than English

What do you need?
Make it easier for people to know what kind of language they should use when writing about audience of people who speak languages other than English.
We don't have any recommendations in our Inclusive language and terms table.
Which entry/section is this related to?
Accessibility and inclusivity

Now being tracked in Trello


Cast to ObjC collections instead of Swift when possible

This improves performance in a common case (deserializing something
produced via NSJSONSerialization) since it can compile to a simple type check and not
coerce the underlying value.
I don't have any synthetic benchmarks, but it made my use case about 10x faster.

It looks like most of this code has been rewritten. Closing.


[issue 114] - Adding the PostgreSql template provisioner (for legacy …

Description
Fix #114
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change
[x] Chore (non-breaking change which doesn't affect codebase;
test, version modification, documentation, etc.)

Checklist

[x] Code contributed by me aligns with current project license: Apache 2.0
[x] Pull Request contains a description of the changes
[x] Pull Request does not include fixes for multiple issues/topics
[x] Code is self-descriptive and/or documented
[x] I have implemented unit tests to cover my changes
[x] I tested my code in OpenShift

/retest

/retest

It seems that there is no option to merge this PR, I see:

Required statuses must pass before merging
All required statuses and check runs on this pull request must run successfully to enable automatic merging."

Can you please double-check?

It seems that there is no option to merge this PR, I see:

Required statuses must pass before merging
All required statuses and check runs on this pull request must run successfully to enable automatic merging."

Can you please double-check?

Thanks @marekkopecky - I checked and will try to update the settings in the future. For now I'll merge this since you approved.
Thanks!


[BUG] Empty BackLink for Optional[BackLink[ADoc]] when document has no back-link

Describe the bug
Hi, I'm using FastAPI and Beanie and I have to set of models, one using Beanie for database and other one for API schema. The database has two documents Employee and Department that are linked :
# db.py
class Department(Document):
   id:str
   employees:list[Link["Employee"]]
   ...

class Employee(Document):
   id:str
   department:Optional[BackLink[Department]] = field(original_field="employees", default=None)
   ...

On the other side I have proper Models for both:
# schema.py
class Department(BaseModel):
    id:str
    ...

class Employee(BaseModel):
    id:str
    department:Optional[Department]
    ...

Since I'm using FastAPI, when I return a data instance, it tries to convert from db to schema (using pydantic method Model.model_validate(v,from_attributes=True)).
@router.get("/{emp_id}")
async def get_employee(emp_id: Annotated[str, Path()]) -> schema.Employee:
    return await db.Employee.get(emp_id, fetch_links=True)

Everything works just fine until I try to get an employee that no Department is linked to. Then Employee.department field is an empty BackLink that is not validate or processable for pydantic so it raises a Validation Error:
{'type': 'missing', 'loc': ('response', 'department', 'id'), 'msg': 'Field required', 'input': <beanie.odm.fields.BackLink object at 0x70d990ed0110>, 'url': 'https://errors.pydantic.dev/2.5/v/missing'}

Expected behavior
for fields of type Optional[BackLink[ADoc]] set/return None when there is no back-link.

For now I added a pydantic validator on my db model (db.Employee) that fixes the issue
class Employee(BaseModel):
    id:str
    department:Optional[Department]
    @field_validator("department")
    @classmethod
    def validate_backlink(cls, v):
        if isinstance(v, BackLink):
            return None
        return v

for some reason this validator only works when it's in db model not where I believed as exception source at the schema model!


Seeds

will be working on seeds tomorrow between 5 and 6:30 seeds should be completed, something unexpected just happened

No problems. I will wait to review/approve until the work has continued.

Can you please advise how to put date and time in for seeds date for service start and end @Auralise
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Auralise @.>
Sent: Thursday, November 24, 2022 11:04:04 AM
To: breakfireaus/Inter-book @.>
Cc: Matthew Younger-Chudnovsky @.>; Author @.>
Subject: Re: [breakfireaus/Inter-book] Seeds (PR #33)
No problems. I will wait to review/approve until the work has continued.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbreakfireaus%2FInter-book%2Fpull%2F33%23issuecomment-1325784756&data=05|01||d96a80fa63224a1bfb5808dacdaf66a6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048450476766339|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Je0w5TfY366JzXB6c7wkxQJglUIt%2FRnxC4BMT3nHcB0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZ5SEYVX2E3LAPYW2TJXBHTWJ2WHJANCNFSM6AAAAAASI4CK6Q&data=05|01||d96a80fa63224a1bfb5808dacdaf66a6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048450476766339|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=RYr5bI6P%2FRBFEjZWxzaMXFjxAsEZ5WPRSyS9nfvRx%2Bg%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

I assume that it is the ISO standard which would be implemented in the mysql database. Id recommend checking out docs on this: https://www.w3schools.com/sql/sql_dates.asp
The Sequelize DataType.DATE maps to the datetime format in SQL.
Frankly, I've never done it with sequelize so just play with it until it works

So if I put the format as it is in w3schools it should be fine?
Sent from my Galaxy
-------- Original message --------
From: Auralise @.>
Date: 24/11/22 12:29 pm (GMT+10:00)
To: breakfireaus/Inter-book @.>
Cc: Matthew Younger-Chudnovsky @.>, Author @.>
Subject: Re: [breakfireaus/Inter-book] Seeds (PR #33)
I assume that it is the ISO standard which would be implemented in the mysql database. Id recommend checking out docs on this: https://www.w3schools.com/sql/sql_dates.asphttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3schools.com%2Fsql%2Fsql_dates.asp&data=05|01||fef9e92c06b44228dca308dacdbb4f61|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048501641526969|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=bPHcD2BGP3XvKFiELn8Q6Jo5bjsul5oO1PbEnZhTRYk%3D&reserved=0
The Sequelize DataType.DATE maps to the datetime format in SQL.
Frankly, I've never done it with sequelize so just play with it until it works
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbreakfireaus%2FInter-book%2Fpull%2F33%23issuecomment-1325835267&data=05|01||fef9e92c06b44228dca308dacdbb4f61|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048501641526969|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ogb067ht7KB9UtTzNiYb3NKq4D5jmrCHldUEeyT2P3k%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZ5SEYT6CHAQZP2U6DNXX6LWJ3AG7ANCNFSM6AAAAAASI4CK6Q&data=05|01||fef9e92c06b44228dca308dacdbb4f61|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048501641526969|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ZCC61ElErIM0vE7T8U7zNKF1QyHqlwSmUTlkn1P%2ByBM%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

I don't know, its seemingly a good starting point. I'd just try it and if it does work, play with it and then just test it until it works

Ok
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Auralise @.>
Sent: Thursday, November 24, 2022 12:40:29 PM
To: breakfireaus/Inter-book @.>
Cc: Matthew Younger-Chudnovsky @.>; Author @.>
Subject: Re: [breakfireaus/Inter-book] Seeds (PR #33)
I don't know, its seemingly a good starting point. I'd just try it and if it does work, play with it and then just test it until it works
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbreakfireaus%2FInter-book%2Fpull%2F33%23issuecomment-1325841239&data=05|01||e36770f24a5541715ab608dacdbcdeb6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048508366767427|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=yllzr2vCP9cFv40JyJaKzg4LUy9ifwSV3%2Bz533SHNa0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZ5SEYT3MSMC6NFPTJWZMBDWJ3BQ3ANCNFSM6AAAAAASI4CK6Q&data=05|01||e36770f24a5541715ab608dacdbcdeb6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638048508366767427|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=W%2F6p%2B7dgJlQa%2BOj%2BQda5zqJ0OV9kls6yU878Wk577vc%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

@Auralise @asish-dewan all fixed


fixes cilium operator tolerations

Issue #, if available:
Description of changes:
When running multiple tests concurrently, it was quite possible that the cilium-operator would be running on a node that was to be deleted/reset while another test was also running.  The cilium-operator is responsible for setting, and more importantly removing, the node agent-ready taint.
During the upgrade test PR, we changed the tolerations for the cilium operator and did not include the agent-not-ready toleration.  This was causing "random" test failures because the node would get the taint from the operator, but then the operator would go away due to the node it was running on being drained, and then could not relaunch on the node that had the taint.  This would end up stalling the test because the operator could never start and therefore could never remove the taint.
While debugging these I ran into a couple issues worth improving:

added a removal of the /etc/cni/net.d folder on node start.  This folder is what kubelet uses to determine if a node is ready.  On rejoin, since nodeadm uninstall does not remove this folder, the node would be ready immediately which is not correct.  The test is expecting it to be truly ready before starting the nginx pod.
added a check for the cilium taint when determining if a node is ready. In general, the node should go ready and then the taint is removed by the operator pretty quickly.  If we have issues with the cilium operator in the future, this check may clue us into the issue sooner.

Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest


PLOT/THICK line plot after RIBBON plot has corrupted color

Reported by ansley b manke on 26 May 2015 19:29 UTC
The change in ws_line_spectrum.F  http://dunkel.pmel.noaa.gov/trac/ferret/browser/ferret/trunk/ppl/tmapadds/ws_line_spectrum.F?rev=18817
causes the standard line color definitions to be overwritten for line-thickness 2 and 3 by the definitions for the ribbon-plot colors and thicknesses.  The overlaid line is neither green nor thick:
yes? ribbon/i=1:15/line/sym=21 {1,2,3,2,1}, {1,2,3,2,1}
yes? plot/over/color=green/thick {2,2,2,2,2}

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2292

Comment by ansley.b.manke on 28 May 2015 00:23 UTC
Fixed in ws_line_spectrum.F


File could not be written to!

I'm having this issue where whenever I run the setFileContents command, I get this response:
'message' => string 'plugins/groupmanager/worlds/world/groups.yml could not be written to!' (length=69)
Console: http://hastebin.com/ocadacacep.tex
The file is valid and in that location, and the file is not open anywhere else. What's going on here? I am unable to find anyone with this problem. Thanks

CHMOD 777 the file for test

I'm using Windows, so I do not have any CHMOD commands. Is there a windows equivalent?

That could be the issue, Try grabbing a windows file unlocker tool, unlocking the file and trying if that API call works.
The error message is caused when an IO exception occurs, a locked file could be the cause of that error.

With the windows unlocked tool I am using, Unlocker 1.9.2, it says there is no locking handle found on the file. I have also forced ownership of the file to me, still nothing. There was one instance in which the call setFileContents worked, but I am unable to recreate that instance no matter what I try. Would be awesome to have the ability to turn on JsonAPIs debug messages they have put in their code, as we should be able to minimize the problem search area there.

Try deleting the file and then re-creating it?
https://github.com/alecgorge/jsonapi/blob/master/src/main/java/com/alecgorge/minecraft/jsonapi/dynamic/APIWrapperMethods.java#L848
is the method which is being called, adding and printing to the console e.getMessage(), I think it is, may help you;
I'm not sure what you're trying to accomplish by re-writing the contents of the groups file, if you're going to be playing around with GM it makes more sense to shove GM into a MySQL DB and interact with it programmatically through a database, you're less likely to run into issues as modifying the groups file in this manner isn't something thats usually done, all it takes is for an admin or somebody to run /manload at the wrong time or a minor mess up with a rewrite and you're in for hell

I'm simply just trying to edit the groups and permissions of GroupManager via the internet. The way I am doing it now is working fine, and I don't see how it can be broken...? The only way I think it could be broken is if someone was editing groupmanager on the server and someone else was editing groupmanager on the website.
Do you have any ideas on how I could go about this then? The MySQL DB for GM isn't really an easy solution. It would be more work to plugin GM into a database and leave room for more issues.

It's basically an File Editor. File editors typically just replace the file when edited, correct?(Seems like the easiest way). So if I am going to run into these issues now, how does a File Editor get around them?

After switching to a linux based platform for testing, I've gotten no errors about this since. But now there's this issue: https://github.com/alecgorge/jsonapi/issues/456


v2.7.0

Version 2.7.0

cosmetic changes
responsive UI
billing platform module - beta version

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: vicyyn:white_check_mark: Ramzay:white_check_mark: ClaudeROSSI:x: mahdibenromdhanemahdibenromdhane seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix(db)!: remove duplicates from transaction history

Closes #444.

The docker changes are unrelated?


The header is too large on the iPad inspector

This is no longer releveant as the inspector doesn't exist any more. Won't fix.


Update webpack config to be aware of skinning

Allow images from client/app/skin/images to override default images. Include all *.js and *.css files from client/app/skin/** as the last step of the bundle.
I believe this will fix the skinning issues provided productization follows the steps outlined in the skinning README. To test locally:

skin-sample/link.sh from the root dir of the SUI.
yarn start (restart if already running)
Verify that images, styles, and selected text have been skinned.
skin-sample/unlink.sh to restore.

Still trying to figure out how to prevent the warning emitted when running without a skin.
@AllenBW @himdel
@miq-bot add_label euwe/no, bug

https://www.pivotaltracker.com/story/show/138512313

Hey @jjlangholtz do you think we could create another yarn task to run in "skinned" mode?  like yarn start:skinned ?   This is just thinking out loud and opening up for discussion.

@chalettu I like the idea, would need a yarn build:skinned as well. One of the goals for this particular change was to not make any changes that required changes downstream. I'm actually not sure which commands are run downstream to link the skin dependencies.

@chriskacerguis do you think maybe we should have a follow on ticket to see about simplifying the skinning process to a new set of yarn commands??

@chalettu I think it's a good idea, however the process is supposed to be transparent downstream, so I think just leave it as-is.
@jjlangholtz Looking at the build log, what are your thoughts about adding the ./skin as a dir in the repo (add a .keep file) so it avoids the error about not finding the dir?

@chriskacerguis That is one of the methods I tried. The skinning is done with bash scripts that create a symlink at client/skin, so if a directory already exists at that target then the link is created within it, which is not what we want.
I think if we modified the scripts to not use symlinks and to copy/remove files instead it would work. I'm not sure the exact mechanism that is used downstream though so I was trying to avoid modifying anything in the skin-sample dir.

@jjlangholtz thanks for the explanation.


[SPARK-43645][SPARK-43622][PS][CONNECT] Enable pyspark.pandas.spark.functions.{var, stddev} in Spark Connect

What changes were proposed in this pull request?
Enable pyspark.pandas.spark.functions.{var, stddev} in Spark Connect
Why are the changes needed?
for parity
Does this PR introduce any user-facing change?
yes
How was this patch tested?
enabled UTs

merged to master


path dispatch: match against relative path, start from the beginning

had to update the test, since previously it wasn't detecting:

My Activity/Chrome/MyActivity.json due to Chrome in DEFAULT_HANDLER_MAP
My Activity/Google Play Store/MyActivity.json due to Google Play Store in DEFAULT_HANDLER_MAP

Not sure if it's the best way to fix, but looks like clean enough

Thanks, makes sense
Could also do a hacky fix and reorder stuff in the DEFAULT_HANDLER_MAP since the dict is ordered, but this seems a bit better