updatable libphonenumber via Google Play

Hi there.
As you know, numbering plans and numbering formats, list of operators and area codes,... are changing endless in most of countries. Count of opened issues in Here and Count of posts in Google Groups shows it. As result, having latest version of Libphonenumber is very important.
We know every developer can use any version of Libphonenumber that wants. But if in a country, numbering plan,... changed, changes will not effected on End-User Phones until Phone Vendor release an update for Android. If their Android not updated, they will not see changes in contacts or ID Caller of their phone.
As you know, releasing Android Update is not endless by mobile phone vendors. But libphonenumber should be updateable endless.
I think if mobile vendors use Libphonenumber in their Android and Contacts of phone, then Libphonenumber become updatable via Google Play, users of Android will have better experiences.
I think Libphonenumber can be included in Google Play Services and when it updated, Libphonenumber also update.
I know making Libphonenumber updatable I Android is part of Android team tasks. But I think if libphonenumber team request it from Android team, they will do it better and faster!
Thanks.

@afarsi,
Thank you for your input, this sounds like a great idea. We'll leave this issue open to revisit later.


Update early Chrome support for WebVTT

It was behind a flag in Chrome 18:
https://www.w3.org/community/texttracks/2012/08/23/webvtt-support-in-browsers/
But it was enabled by default together with <track> in Chrome 23: https://chromestatus.com/feature/6719115557339136
https://wpt.live/webvtt/rendering/cues-with-video/processing-model/basic.html was tested in Chrome 22 and 23 to confirm.
This contemporary presentation also supports Chrome 23 as the correct version: http://html5videoguide.net/presentations/WebDirSouth2012/

Thanks!


setting Capabilites

I'm at a complete loss on how to set client capabilities. I'm trying to set this one so I can send versioned edits. WorkspaceClientCapabilites.workspaceEdit.documentChanges
My client more or less looks like the one here: https://code.visualstudio.com/docs/extensions/example-language-server
I've spent a few hours search and digging I just can't figure it out.
Non versioned edits work fine using 'changes' instead of 'documentChanges'
I'm about to give up on versioned edits :(
In case it wasn't clear this is for the client portion of a language server im writing for vscode.
Running vscode 1.19.3
Thanks!

Hi, @willt.
So if I understand correctly, your language server is initialized properly but the initialization parameters being sent to your language server from VS Code doesn't have params.capabilities.workspace.workspaceEdit.documentChanges set to true. And so you want to set it yourself, correct?

Thank you for confirming, @willt. It seems you have stumbled upon the same problem as #263 where the capability was commented out in 863685b0dc160345bb91d7f7bac84cc6b89d8153 and mistakenly removed in 4bc789ecfca9af5f98188e42ee3302dae2b2a5aa.
I have opened #307 which should fix your problem as it changes VS Code's LSP client to declare clientCapabilities.workspace.workspaceEdit.documentChanges as true.
As a workaround, please use the code below in your VS Code extension to explicitly massage the initialization parameters to include the capability.
import { StaticFeature } from 'vscode-languageclient';
export class WorkaroundFeature implements StaticFeature {
    fillClientCapabilities(capabilities): void {
        capabilities.workspace.workspaceEdit = { documentChanges: true };
    }
    initialize(): void {
    }
}

let client = new LanguageClient(/* your code */);
client.registerFeature(new WorkaroundFeature());

I do want to make it clear however that your original goal of manually changing the initialization parameters is not a good idea. It is not a problem in this case because VS Code actually supports this capability so manually toggling the flag will achieve what you want. However, consider the scenario where there is a feature that your language server supports but VS Code doesn't. You change the parameter to true and now your server will start sending stuff to VS Code back in a form that VS Code doesn't understand as if VS Code supports this feature when it actually doesn't.
Consider the operating system's recycle bin feature. The OS says it can't put things in the bin but you've changed it to say it does. Now client applications will prompt the user "Okay to put it in the bin?" and subsequently start asking the OS to put files and folders in the recycling bin when it actually doesn't work. If the OS instead decides to simply honour the API call by outright deleting the file then you have caused your users to lose data. This analogy might be a bit "out there" but I hope it illustrates why your original means to your desired end was incorrect.

@rcjsuen very nice and correct analysis. Will merge you PR.

@rcjsuen Thank you so much. The only reason I went down the path of setting the capabilities is because it wasn't set and from looking at the source it seemed like it should have been.
Glad to know it was a bug and I understand your warning. Thanks again!


Fix typo (double semicolons)

Just a typo fix: from right: -12px;; to right: -12px;.

It's not a big thing.
Will do better next time… I'll have time 😅


adding dialusername to support redis v6

Fixes #152

Proposed Changes

adding dialusername support for redis v6.
Do we need to support previous versions of redis? If so, I think we need to provide a way to make this optional.

Release Note

Docs

With this change, we need to ensure that Redis addresses being passed in through CR is correctly specified.
For redis v5 and older, no username must be specified:
address: "rediss://:password@e2845b36-1988-4564-a3db-83b0722f313e.bkvfvtld0lmh0umkfi70.databases.appdomain.cloud:31501"

If username is specified, adapter will crash with panic: ERR wrong number of arguments for 'auth' command
For redis v6, username is required:
address: "rediss://username:password@8c15d613-f8a4-428e-af52-f4439d052d6a.bkvfv1ld0bj2bdbncbeg.databases.appdomain.cloud:31150"

If username is not specified, adapter will crash with panic: WRONGPASS invalid username-password pair

@beemarie can we add that info (https://github.com/knative-sandbox/eventing-redis/pull/153#issuecomment-848187111) to async docs? I'll do the same in eventing-redis docs.
Meanwhile, I'll see if we can be backwards compatible without panics
cc @lionelvillard


Enpass

Automate enpass installation and config (if possible).
https://www.enpass.io/kb/how-to-install-on-linux/

Do I want to use just EnpassPortable?


[KYUUBI #6322] Expose more config items of server internal rest client to users

…t to users
:mag: Description
Issue References 🔗

This pull request fixes #
Describe Your Solution 🔧
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Types of changes :bookmark:

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

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Behavior With This Pull Request :tada:
Related Unit Tests

Checklist 📝

[ ] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

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

Project coverage is 58.41%. Comparing base (90491fc) to head (d081df7).

Files
Patch %
Lines

.../apache/kyuubi/server/api/v1/BatchesResource.scala
71.42%
0 Missing and 2 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6329      +/-   ##
============================================
- Coverage     58.42%   58.41%   -0.02%
  Complexity       24       24
============================================
  Files           653      653
  Lines         39834    39854      +20
  Branches       5477     5477
============================================
+ Hits          23274    23280       +6
  Misses        14073    14073
- Partials       2487     2501      +14

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


Character Ready Room: Handle input for readying up

This means intercepting a "ready" key to confirm


Translate docs/tasks/run-application/upgrade-pet-set-to-stateful-set.md

Restorn from https://raw.githubusercontent.com/kubernetes/kubernetes-docs-zh/master-bak-2018-07-21/docs/tasks/run-application/upgrade-pet-set-to-stateful-set.md

Close for: content/en/docs/tasks/run-application/upgrade-pet-set-to-stateful-set.md doesn't exists


Update request: 0.47.2 → 0.48.0

Package name: coc-solargraph
Latest released version: 0.48.0 (version of solargraph)

Current version on the unstable channel: 0.47.2 (solargraph)
Current version on the stable/release channel: 0.47.2 (solargraph)

[+] Checked the nixpkgs pull requests

Notify maintainers
@marsam, @mmahut, @worldofpeace

Note for maintainers: Please tag this issue in your PR.

Need to update all solargraph packages:
rubyPackages_3_1.solargraph
rubyPackages_3_0.solargraph
rubyPackages.solargraph
vimPlugins.coc-solargraph
and etc

This commit working


incorrect notification interval

Hello,
sensu-go-agent              5.16.1-8521
sensu-go-backend            5.16.1-8521
fatigue-check-filter              //assets.bonsai.sensu.io/.../sensu-go-fatigue-check-filter_0.3.2.tar.gz
I have a check configured as so:
type: CheckConfig
api_version: core/v2
metadata:
  annotations:
    fatigue_check/allow_resolution: "true"
    fatigue_check/interval: "3600"
    fatigue_check/occurrences: "1"
  name: check-supervisor
  namespace: default
spec:
  check_hooks: null
  command: /opt/sensu-plugins-ruby/embedded/bin/check-supervisor.rb
  env_vars: null
  handlers:
  - slack
  high_flap_threshold: 0
  interval: 60
  low_flap_threshold: 0
  output_metric_format: ""
  output_metric_handlers: null
  proxy_entity_name: ""
  publish: true
  round_robin: true
  runtime_assets: null
  stdin: false
  subdue: null
  subscriptions:
  - supervisor
  timeout: 0
  ttl: 0

This is the slack handler:
type: Handler
api_version: core/v2
metadata:
  name: slack
  namespace: default
spec:
  command: sensu-slack-handler --channel '#monitoring'
  env_vars:
  - SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxxxxx
  filters:
  - is_incident
  - fatigue_check
  handlers: null
  runtime_assets:
  - sensu-slack-handler
  timeout: 0
  type: pipe

The filter:
type: EventFilter
api_version: core/v2
metadata:
  name: fatigue_check
  namespace: default
spec:
  action: allow
  expressions:
  - fatigue_check(event)
  runtime_assets:
  - fatigue-check-filter

The entity:
type: Entity
api_version: core/v2
metadata:
  labels:
    mqtt_auth_params: -a /etc/mosquitto/ca_certificates/cacert.pem -u xxx -p xxx
      -n
    mqtt_host: <IP_ADDRESS>
  name: edi
  namespace: default
spec:
  deregister: false
  deregistration: {}
  entity_class: agent
  last_seen:<PHONE_NUMBER>
  redact:
  - password
  - passwd
  - pass
  - api_key
  - api_token
  - access_key
  - secret_key
  - private_key
  - secret
  sensu_agent_version: 5.16.1
  subscriptions:
  - system
  - mqtt
  - supervisor
  - teltonika-mqtt
  - fail-test
  - entity:edi
  system:
    arch: amd64
    hostname: edi
    network:
      interfaces:
      - addresses:
        - <IP_ADDRESS>/8
        - ::1/128
        name: lo
      - addresses:
        - fe80::21e:c9ff:fed9:62a3/64
        mac: 00:1e:c9:d9:62:a3
        name: eno1
      - addresses: null
        mac: 00:1e:c9:d9:62:a4
        name: eno2
      - addresses:
        - <IP_ADDRESS>/24
        - fe80::21e:c9ff:fed9:62a3/64
        mac: 00:1e:c9:d9:62:a3
        name: br0
      - addresses:
        - <IP_ADDRESS>/24
        mac: 00:16:3e:00:00:00
        name: lxcbr0
      - addresses:
        - <IP_ADDRESS>/24
        name: wg0
      - addresses:
        - <IP_ADDRESS>/24
        - fe80::9233:dea2:a93e:6952/64
        name: tun0
      - addresses:
        - fe80::fc09:63ff:febd:d061/64
        mac: fe:09:63:bd:d0:61
        name: vethMHFW4P
      - addresses:
        - fe80::fc06:45ff:fe37:e3ca/64
        mac: fe:06:45:37:e3:ca
        name: vethIIEVDU
      - addresses:
        - fe80::fc4c:67ff:fe94:a802/64
        mac: fe:4c:67:94:a8:02
        name: vethVPM60G
      - addresses:
        - fe80::fce0:16ff:fecb:cd2e/64
        mac: fe:e0:16:cb:cd:2e
        name: vethE6205T
      - addresses:
        - fe80::fc8b:7dff:fe72:917d/64
        mac: fe:8b:7d:72:91:7d
        name: vethWPO1HU
      - addresses:
        - fe80::fc04:a1ff:fe25:3e08/64
        mac: fe:04:a1:25:3e:08
        name: veth2BC8IP
      - addresses:
        - fe80::fc8c:30ff:fef7:ea11/64
        mac: fe:8c:30:f7:ea:11
        name: veth1VGWS5
    os: linux
    platform: ubuntu
    platform_family: debian
    platform_version: "18.04"
  user: agent

so I should be getting an alert every 60 minutes, but instead I'm getting a notification every 120 minutes.
What else should I check to find out where the problem is?
Thanks

OK, since I had been experimenting with various notification filters I reset my backend (rm -rf /var/lib/sensu/sensu-backend/etcd/) and re-imported the above configurations.
Now I am getting a notification every 120s and am very confused.
Can anyone point me in the right direction?

Hi @jeremyj I tried reproducing this issue, but I am seeing notifications happen as expected.  Here is what I tried.
I created a debug handler, this simply drops event JSON into a file for any notifications that make it past the filter(s).
type: Handler
api_version: core/v2
metadata:
  name: debug
  namespace: default
spec:
  command: jq . >> /tmp/events.out
  env_vars: null
  filters:
  - is_incident
  - not_silenced
  - fatigue_check
  handlers: null
  runtime_assets: null
  timeout: 0
  type: pipe

I assigned this handler to a check that I could easily inject failures into:
type: CheckConfig
api_version: core/v2
metadata:
  name: http
  namespace: default
  annotations:
    fatigue_check/occurrences: "1"
    fatigue_check/interval: "60"
    fatigue_check/allow_resolution: "true"
spec:
  check_hooks: null
  command: check-http.rb -u http://agent -q 'Welcome to CentOS'
  env_vars: null
  handlers:
  - debug
  high_flap_threshold: 0
  interval: 10
  low_flap_threshold: 0
  output_metric_format: nagios_perfdata
  output_metric_handlers: null
  proxy_entity_name: ""
  publish: true
  round_robin: false
  runtime_assets:
  - sensu/sensu-ruby-runtime
  - sensu-plugins/sensu-plugins-http
  stdin: false
  subdue: null
  subscriptions:
  - linux
  timeout: 10
  ttl: 0

I then injected my failure and based on the above configuration I should see events in my /tmp/events.json file that align with the first occurrence, and each occurrence at 60 second intervals, and finally a resolution event.  And that is what I saw when running the following on the debug output.
$ jq '{timestamp: .timestamp, state: .check.state, interval: .check.interval, watermark: .check.occurrences_watermark}' /tmp/events.out
{
  "timestamp":<PHONE_NUMBER>,
  "state": "failing",
  "interval": 10,
  "watermark": 1
}
{
  "timestamp":<PHONE_NUMBER>,
  "state": "failing",
  "interval": 10,
  "watermark": 6
}
{
  "timestamp":<PHONE_NUMBER>,
  "state": "failing",
  "interval": 10,
  "watermark": 12
}
{
  "timestamp":<PHONE_NUMBER>,
  "state": "failing",
  "interval": 10,
  "watermark": 18
}
{
  "timestamp":<PHONE_NUMBER>,
  "state": "passing",
  "interval": 10,
  "watermark": 18
}

Can you try a similar handler configuration for your check?

Hi @nixwiz
Thanks for your answer.
Turns out I was performing this check against 2 entities and the check's round_robin value was set to true, so for each entity I was notified once every 2 times the check was performed.


some extra instructions for tags, finding the IDs, and pos/quat conversion

Ah, interesting! I see. I missed your clarifier about "correct default" orientation.
Hmm.. okay, then if removing my blurb about the 90 degrees part, is it okay to add a short part to the "correct orientation" line that says something like "this corresponds to rotating a default Plane mesh in Blender by 90 degrees about the x-axis".
It's just that this is the part that mainly tripped me up and knowing me, I would have still struggled a bit to understand why when my AprilTag plane is vertical and I do the Blender<->OpenCV conversion, we still have differences in our values.

is it okay to add a short part to the "correct orientation" line that says something like "this corresponds to rotating a default Plane mesh in Blender by 90 degrees about the x-axis".

I think it'd be preferable to leave the blender-specific stuff out of the usage section. I'd be fine with it in the notes though

I updated the changes based on our discussion


Update AutoML-NLP.md

#834

Why are these changes needed?

Related issue number

Checks

[x] I've included any doc changes needed for https://microsoft.github.io/FLAML/. See https://microsoft.github.io/FLAML/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

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

Comparison is base (30db685) 71.43% compared to head (0591f56) 66.99%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1239      +/-   ##
==========================================
- Coverage   71.43%   66.99%   -4.44%
==========================================
  Files          81       83       +2
  Lines       11209    11244      +35
  Branches     2353     2359       +6
==========================================
- Hits         8007     7533     -474
- Misses       2739     3256     +517
+ Partials      463      455       -8

Flag
Coverage Δ

unittests
66.99% <ø> (-4.42%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Could not initialise OpenGL support

Already reported ? *

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

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 18:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

System Information:
System name: Linux
Node name: B450-GAMING-X
Release: 6.8.0-44-generic
Version: #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller])

os-release: PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Description
default ubuntu video player(totem) shows me this error(Could not initialise OpenGL support)
after trying to open video file
also VLC stucks at first frame when trying to play any video
How to reproduce
idk
Crash reports, logs, images, videos
(VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[00005aeb66e52550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005aeb66eea0d0] main playlist: playlist is empty
libEGL warning: egl: failed to create dri2 screen
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
[00007995fc001fc0] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[000079960c00a960] main video output error: video output creation failed
[0000799614c11f00] main decoder error: failed to create video output
[00007995fc0c2f70] glconv_vdpau gl error: glVDPAUInitNV failed: 0x502)

you're on a very outdated hyprland version, and this is a driver issue


Fix osx-arm64 cross-compile and SIGABRT memory errors.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Apologies, I had not correctly configured all the config variables when doing the original porting, and this would lead to SIGABRT when using log4cxx which is based on apr.  I have confirmed that these fixes (a) yield an identical output from configure to the native build, and (b) work properly with log4cxx (in simple testing, at least).

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

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

@conda-forge/apr I realized this never got approved/merged. If you could take a look that would be great! Thanks.

@conda-forge-admin Please re-render!

For some reason the bot can’t push to my branches. I have no idea why. I’ll rerender on the command line when I’m back at a computer.

I did that locally, change brought in by the re-render isn't significant. Merging.

FWIW re-rendered with PR ( https://github.com/conda-forge/apr-feedstock/pull/13 ). Agree it wasn't significant


Should ChatRequest/Responses be interfaces instead of classes?

Testing #205609
It seems like there is currently no purpose for an extension to construct them, so should these two types be interfaces and have some type property to differentiate between them?

We do this in other places too, at least you are able to use instanceof here.


Best way to split up CSS (LESS/SASS)

I am trying to figure out the best way to split of CSS for my modules. Here is some background:
I have high level "smart" components, which I am calling views. These are my route handlers. I have a single Less file for each of those views. However, they all have some shared styling. So I have created a Page.less file, which get's imported by each of these view LESS files.
This is causing an issue where my production css file now has many duplicate declarations. I can see the styles defined in Page.less being duplicated for each of the view LESS files.
What is the better way to handle this?
Do I need to be requiring Page.less and View.less in each component, rather than use the LESS import statement?
Any suggestion would be helpful.

@duro Here is my approach (using the code organization of this repo as the example):

I split my sass/less files into 3 groups: utilities, rules for global elements, and rules for individual components.
Utilities include, in my case, sass variables, mixins, functions and etc. The key of creating this group is to ensure there is NO actual css rules. I keep them (_colors.scss, _variables.scss, _functions.scss, _mixin.scss and etc) in a stylesheets folder.  Then, I imported those partials in a single output file called global.scss.
Rules for global elements are general rule on application level, such as, list-style-type for all li and ul, border-box all * and etc. I put these rules in App.scss that is required by App.js.
Rules for individual components should be used the same way as you have seen in the current repo. Likely, in both App.scss and Widget.scss you need to use some global elements. For example, $primary-theme-color, then you can  @import "~stylesheets/global" in the those files which expose all the defined variables locally.  Since no actual rules are included in ~stylesheets/global, you won't see any duplicated css rules in the compiled css.

Hope this helps. I'm also willing to hear other ideas.

Close? @erikras


Updated homebridge and my window does not work anymore (Error posted here)

Updated homebridge and my window does not work anymore (Error posted here):
Versions
Homebridge: 2.7.3 and 2.7.4 have this bug (downgraded to version 2.7.1 and it works).
node: v8.9.1
OS: 11
Homebridge Log / Command Output
[2018-3-13 08:46:49] [Broadlink] Window setCurrentPosition: 0
(node:6740) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): AssertionError [ERR_ASSERTION]: [ERROR]: HEX value is missing
(node:6740) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I downgraded the homebridge-broadlink-rm to version 2.7.1 and it works again, so something in version 2.7.3 and 2.7.4 has a bug.
This is the window part of the JSON:
{
		"name": "Window",
		"type": "window-covering",
		"host":"xx:xx:xx:xx:xx:24",
		"data":{
            "open":"",
            "close":""
          }
}

Now it works - I have updated my JSON to look like that:
{
		"name": "Window",
		"type": "window-covering",
		"host":"xx:xx:xx:xx:xx:24",
		"totalDurationOpen":"24",
		"totalDurationClose":"23",
		"sendStopAt0":"false",
		"sendStopAt100":"false",
		"data":{
			"openCompletely":"",
			"closeCompletely":"",
			"stop":"",
            "open":"",
            "close":""
          }
		}

Hi @refaelsommer 3.0.0 has just been released, please check it out and let me know how it goes.
Also, true/false should never be in quotation marks and neither should numbers

Ok thanks! I will update you.
On Wed, 14 Mar 2018 at 1:15 Luke Rhodes<EMAIL_ADDRESS>wrote:

Hi @refaelsommer https://github.com/refaelsommer 3.0.0 has just been
released, please check it out and let me know how it goes.
Also, true/false should never be in quotation marks and neither should
numbers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lprhodes/homebridge-broadlink-rm/issues/286#issuecomment-372850673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgGRYs4zMfj4Brmzv6JHiCH1ndjxOUXks5teFMDgaJpZM4SoK8W
.

--
בברכה,
רפאל זומר
0526222068

What is new in version 3.0?
On Wed, 14 Mar 2018 at 1:16 רפאל זומר<EMAIL_ADDRESS>wrote:

Ok thanks! I will update you.
On Wed, 14 Mar 2018 at 1:15 Luke Rhodes<EMAIL_ADDRESS>wrote:

Hi @refaelsommer https://github.com/refaelsommer 3.0.0 has just been
released, please check it out and let me know how it goes.
Also, true/false should never be in quotation marks and neither should
numbers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lprhodes/homebridge-broadlink-rm/issues/286#issuecomment-372850673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgGRYs4zMfj4Brmzv6JHiCH1ndjxOUXks5teFMDgaJpZM4SoK8W
.

--
בברכה,
רפאל זומר
0526222068
--
בברכה,
רפאל זומר
0526222068

I have updated to version 3.0 and I get an error:
====================
[2018-3-14 01:19:32] ERROR LOADING PLUGIN homebridge-broadlink-rm:
[2018-3-14 01:19:32] Error: Cannot find module 'chai'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.
(/usr/lib/node_modules/homebridge-broadlink-rm/accessories/aircon.js:1:82)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
[2018-3-14 01:19:32] ====================
and it does not run
2018-03-14 1:18 GMT+02:00 רפאל זומר<EMAIL_ADDRESS>
What is new in version 3.0?
On Wed, 14 Mar 2018 at 1:16 רפאל זומר<EMAIL_ADDRESS>wrote:

Ok thanks! I will update you.
On Wed, 14 Mar 2018 at 1:15 Luke Rhodes<EMAIL_ADDRESS>wrote:

Hi @refaelsommer https://github.com/refaelsommer 3.0.0 has just been
released, please check it out and let me know how it goes.
Also, true/false should never be in quotation marks and neither should
numbers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lprhodes/homebridge-broadlink-rm/issues/286#issuecomment-372850673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgGRYs4zMfj4Brmzv6JHiCH1ndjxOUXks5teFMDgaJpZM4SoK8W
.

--
בברכה,
רפאל זומר
0526222068
--
בברכה,
רפאל זומר
0526222068

--
בברכה,
רפאל זומר
0526222068

Sorry @refaelsommer, give it another install (3.0.1) and that'll fix that issue.

i get now this error:

[2018-3-14 08:26:00] ====================
[2018-3-14 08:26:00] ERROR LOADING PLUGIN homebridge-broadlink-rm:
[2018-3-14 08:26:00] Error: Cannot find module
'../../helpers/ServiceManager'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.
(/usr/lib/node_modules/homebridge-broadlink-rm/test/helpers/fakeServiceManager.js:2:28)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
[2018-3-14 08:26:00] ====================
2018-03-14 1:21 GMT+02:00 רפאל זומר<EMAIL_ADDRESS>
I have updated to version 3.0 and I get an error:
====================
[2018-3-14 01:19:32] ERROR LOADING PLUGIN homebridge-broadlink-rm:
[2018-3-14 01:19:32] Error: Cannot find module 'chai'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (/usr/lib/node_modules/homebridge-broadlink-rm/
accessories/aircon.js:1:82)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
[2018-3-14 01:19:32] ====================
and it does not run
2018-03-14 1:18 GMT+02:00 רפאל זומר<EMAIL_ADDRESS>
What is new in version 3.0?
On Wed, 14 Mar 2018 at 1:16 רפאל זומר<EMAIL_ADDRESS>wrote:

Ok thanks! I will update you.
On Wed, 14 Mar 2018 at 1:15 Luke Rhodes<EMAIL_ADDRESS>wrote:

Hi @refaelsommer https://github.com/refaelsommer 3.0.0 has just been
released, please check it out and let me know how it goes.
Also, true/false should never be in quotation marks and neither should
numbers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lprhodes/homebridge-broadlink-rm/issues/286#issuecomment-372850673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgGRYs4zMfj4Brmzv6JHiCH1ndjxOUXks5teFMDgaJpZM4SoK8W
.

--
בברכה,
רפאל זומר
0526222068
--
בברכה,
רפאל זומר
0526222068

--
בברכה,
רפאל זומר
0526222068

--
בברכה,
רפאל זומר
0526222068


Unblock dashboard splits: distribute reverts even when there are funds to distribute

thirdweb dashboard
polygonscan

distribute() can be used only to release native currency. for non native currencies, use distributeToken(tokenaddress) instead


My Jupyter Kernel core death when running "st.pl.three_d_multi_plot" in my server in cpu mode

I was running the st.pl.three_d_multi_plot in computational node of the server,  and the kernel is dead.  I want to know if the function can be used in server or in Server kernel
when qsub the task, I got the error:

Hi, thank you for raising this issue! Spateo's 3D plotting functions are built upon the PyVista package, and there are certain specifications to consider when running PyVista on a remote server. We recommend reviewing their tutorials, particularly for remote Jupyter environments.
To get started, you can try the following simple demo code and see whether pyvista works:
import pyvista as pv
import numpy as np
pv.start_xvfb()
pv.set_jupyter_backend('trame')

pl = pv.Plotter(notebook=True)
rng = np.random.default_rng(seed=0)
points = rng.random((30, 3))
cloud = pv.wrap(points)
pl.add_mesh(cloud, smooth_shading=True, show_edges=True, render_points_as_spheres=True, point_size=50)

pl.show(jupyter_backend='trame')

If everything is set up correctly, you should see an interactive panel like this:

Once PyVista is properly installed on your remote server, Spateo's 3D plotting functions should work seamlessly. Here's a preview of the output with demo data from Zhang's dataset:

Reference: Zhang et al., Molecularly defined and spatially resolved cell atlas of the whole mouse brain.

Hi, I encountered the same error when I commented out the following line: pv.start_xvfb()

Could you try adding this line back and see if it resolves the issue?
Another potential cause might be dependency errors related to libraries in the VTK package. Here's an error I encountered:

This problem can be addressed by running the following command, as suggested in this discussion:
conda install -c conda-forge libstdcxx-ng
I recommend trying the pv.start_xvfb() code first. The second solution is just in case you encounter the same dependency issue. Let me know if you need further assistance!

Thank you for the suggestions,  Now, I run the code successfully, and I got the output:

It seems that I need to set the localhost port.

Hi, I'm not entirely sure what "latter_models_align" refers to, but based on the code, it seems like it should be a dictionary containing the spatial coordinates of the source and target cells. To proceed, I recommend trying the following code:
correspondences = np.argmax(mapping, axis=0)
sample_idx = np.random.choice(stage2_aligned_pc_v.points.shape[0], 5000)
matches_points_1 = np.array(stage1_aligned_pc_v.points[correspondences[sample_idx],:])
matches_points_2 = np.array(stage2_aligned_pc_v.points[sample_idx,:])
interval = 800
align_lines, _ = st.tdr.construct_align_lines(
    model1_points=matches_points_1,
    model2_points=matches_points_2 + np.asarray([0, 0, - interval]),
    key_added="check_align", label="align_lines", color="gainsboro")

stage2_aligned_pc_v.points[:, 2] = stage2_aligned_pc_v.points[:, 2] - interval
mapping_model = st.tdr.collect_models([align_lines, stage1_aligned_pc_v, stage2_aligned_pc_v])

Here, mapping is obtained from Spateo’s alignment results. For example:
align_models, pis= st.align.morpho_align(...)
mapping = pis[0]

Next, you can visualize the alignment results, with lines connecting the corresponding cells:
st.pl.three_d_plot(
    model=mapping_model,
    key=["check_align", "celltype", "celltype"],
    opacity=[0.01, 1.0, 1.0],
    model_style=["wireframe", "points", "points"],
    model_size=3,
    window_size=(1024, 1024),
    jupyter="static",
    cpo="iso"
)

Hi, I'm not entirely sure what "latter_models_align" refers to, but based on the code, it seems like it should be a dictionary containing the spatial coordinates of the source and target cells. To proceed, I recommend trying the following code:
correspondences = np.argmax(mapping, axis=0)
sample_idx = np.random.choice(stage2_aligned_pc_v.points.shape[0], 5000)
matches_points_1 = np.array(stage1_aligned_pc_v.points[correspondences[sample_idx],:])
matches_points_2 = np.array(stage2_aligned_pc_v.points[sample_idx,:])
interval = 800
align_lines, _ = st.tdr.construct_align_lines(
    model1_points=matches_points_1,
    model2_points=matches_points_2 + np.asarray([0, 0, - interval]),
    key_added="check_align", label="align_lines", color="gainsboro")

stage2_aligned_pc_v.points[:, 2] = stage2_aligned_pc_v.points[:, 2] - interval
mapping_model = st.tdr.collect_models([align_lines, stage1_aligned_pc_v, stage2_aligned_pc_v])

Here, mapping is obtained from Spateo’s alignment results. For example:
align_models, pis= st.align.morpho_align(...)
mapping = pis[0]

Next, you can visualize the alignment results, with lines connecting the corresponding cells:
st.pl.three_d_plot(
    model=mapping_model,
    key=["check_align", "celltype", "celltype"],
    opacity=[0.01, 1.0, 1.0],
    model_style=["wireframe", "points", "points"],
    model_size=3,
    window_size=(1024, 1024),
    jupyter="static",
    cpo="iso"
)

Thank you very much!


Simplest way to disable a challenge type?

I want to disable the HTTP challenge, but I'm getting bogged down in the boilerplate from the README. From reading the docs, creating a custom cache sounds particularly dangerous. Is there a simpler way?

Would setting certmagic.DefaultACME.DisableHTTPChallenge = true before running my code work?

Yeah, that's probably what you want.
The godoc is pretty straightforward here and would be helpful: https://pkg.go.dev/github.com/caddyserver/certmagic#ACMEManager.DisableHTTPChallenge

Thanks @mholt! I had been reading the godocs, but was still confused. They're making a lot more sense now. I think I was just tired.


Use a sandboxed iframe in the deeplearn.js playground and visual improvements.

evals javascript in an iframe
Comments out the save button for now, let people just start from the versions above (we will ask OSS to add github user login saving stuff)
Match the font of the playground to VSCode.
Add console.clear.
Let console.log also log to the original console.

This change is

Review status: 0 of 4 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

demos/playground/frame.html, line 78 at r1 (raw file):

  </div>

  <script>

any complications on moving this code to its own js file?
also add 'use strict'; on right below the <script> tag to enforce strict mode

demos/playground/frame.html, line 82 at r1 (raw file):

    const htmlconsoleElement = document.getElementById('html');
    const consoleElement = document.getElementById('console');
    const errorConsoleElement = document.getElementById('error');

add a TODO for us to check if it works on firefox/safari

Comments from Reviewable


docs typo in aws_credentials

Was going to send a PR but the version on https://up.docs.apex.sh/#aws_credentials doesn't seem to match whats in https://github.com/apex/up/blob/master/docs/02-aws-credentials.md
"Action": [
  "ssm:*"
  "sns:CreateTopic",
  "sns:ListTopics",
  "sns:sns:SetTopicAttributes",
  "sns:sns:DeleteTopic"
],

should be
"Action": [
  "ssm:*",
  "sns:CreateTopic",
  "sns:ListTopics",
  "sns:SetTopicAttributes",
  "sns:DeleteTopic"
],

bad merge I think, fixed now!


[#3815] Add request namespace

#3815

Codecov Report

Merging #4019 into master will increase coverage by 0.18%.
The diff coverage is 4.3%.

@@            Coverage Diff             @@
##           master    #4019      +/-   ##
==========================================
+ Coverage   41.06%   41.24%   +0.18%
==========================================
  Files        2318     2332      +14
  Lines       73658    73496     -162
  Branches     9993     9936      -57
==========================================
+ Hits        30248    30314      +66
+ Misses      40623    40394     -229
- Partials     2787     2788       +1

Impacted Files
Coverage Δ

...pinpoint/plugin/resin/ResinServerRequestTrace.java
0% <ø> (ø)
:arrow_up:

...pinpoint/plugin/jboss/JbossServerRequestTrace.java
88.23% <ø> (+4.9%)
:arrow_up:

...m/navercorp/pinpoint/bootstrap/context/Header.java
83.33% <ø> (ø)
:arrow_up:

.../plugin/websphere/WebsphereServerRequestTrace.java
0% <ø> (ø)
:arrow_up:

...npoint/plugin/tomcat/TomcatServerRequestTrace.java
87.5% <ø> (+5.14%)
:arrow_up:

...pinpoint/plugin/jetty/JettyServerRequestTrace.java
0% <ø> (ø)
:arrow_up:

...lugin/vertx/VertxHttpServerServerRequestTrace.java
0% <ø> (ø)
:arrow_up:

...r/BridgeInterceptorInterceptMethodInterceptor.java
0% <0%> (ø)
:arrow_up:

...chttpclient/NingAsyncHttpClientRequestTraceV1.java
0% <0%> (ø)

...ientExchangeHandlerImplStartMethodInterceptor.java
0% <0%> (ø)
:arrow_up:

... and 60 more

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 9a0767d...0eced3c. Read the comment docs.


Left click not working correctly after scroll and click outside PopupMenu

Tested versions
Godot v4.3.stable
Godot v4.1.2.stable
System information
Fedora Linux 39 (KDE Plasma) - X11 - Vulkan (Forward+)
Issue description
Left click not working correctly after scroll and click outside PopupMenu. Hover works.
Screencast_20240823_223826.webm
If you right click again and then click outside without scrolling first it goes back to normal. Or if you use scroll wheel up/down again it also goes back to normal.
Could not recreate this issue on Windows or with single window mode on
Steps to reproduce
Open a PopupMenu
Scroll outside the popup and then click outside
Try to click on any other control in the editor
Minimal reproduction project (MRP)
N/A

I'm able to reproduce on Godot v4.3.stable - Ubuntu 23.10 23.10 - Wayland - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL-N) - Intel(R) N100 (4 Threads)
To reproduce, I need to use the mouse wheel on the popup menu and outside the popup menu before trying to click elsewhere.
This PR seems to fix this problem: #95044
I tried with the artifact of the PR, if you want to test it @Giganzo: https://github.com/godotengine/godot/actions/runs/10518622500/artifacts/1845227344

Yeah, seems like it fixes the issue


types/types_test TestNullable failes locally on windows

Error Trace:	types_test.go:434
Error:		Not equal:
expected: time.Time{sec:63635636271, nsec:0, loc:(*time.Location)(nil)}
received: time.Time{sec:63635636271, nsec:0, loc:(*time.Location)(0xc04203b3e0)}
  	Diff:
  	--- Expected
  	+++ Actual
  	@@ -1,2 +1,2 @@
  	-(time.Time) 2017-07-14 13:37:51 +0000 UTC
  	+(time.Time) 2017-07-14 15:37:51 +0200 CEST

Messages:	time.Time

I have no means to test or fix this, as I don't have windows machines. PRs are welcome.

This fails on macOS too:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(time.Time) 2018-05-17 17:07:56 +0000 UTC
+(time.Time) 2018-05-17 17:07:56 +0000 GMT

See a failing macOS build here: https://travis-ci.org/src-d/go-kallax/jobs/380310885#L1042 (requires https://github.com/src-d/go-kallax/pull/268)

When creating the date, I guess we have to force it to UTC (with .UTC() function?), since each operating system translates the +0000 offset to a different timezone by default. I guess this could even happen on Linux in some setups.


Log flood

Hi,
I have about 50 lxc containers distributed amongst diffrent hypervisors, all using tailscale to provide a private network amongst themselves.
Unfortunately both the tailscale nodes and the headscale server are producing copious amounts of logging.
on the headscale server (v0.17.0-alfa2) I have logs such as:
Sep 27 00:00:00 headscale headscale[575]: 2022-09-27T00:00:00+01:00 INF The client has closed the connection handler=PollNetMapStream machine=u
Sep 27 00:00:01 headscale headscale[575]: 2022-09-27T00:00:01+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=cl noise=true
Sep 27 00:00:01 headscale headscale[575]: 2022-09-27T00:00:01+01:00 INF Sending initial map handler=PollNetMap machine=cl noise=true
Sep 27 00:00:01 headscale headscale[575]: 2022-09-27T00:00:01+01:00 INF Notifying peers handler=PollNetMap machine=cl noise=true
Sep 27 00:00:01 headscale headscale[575]: 2022-09-27T00:00:01+01:00 ERR Cannot write data error="http2: stream closed" channel=pollData handler=PollNetMapStream machine=cl noise=true
Sep 27 00:00:05 headscale headscale[575]: 2022-09-27T00:00:05+01:00 INF The client has closed the connection handler=PollNetMapStream machine=h3
Sep 27 00:00:05 headscale headscale[575]: 2022-09-27T00:00:05+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=th noise=true
Sep 27 00:00:05 headscale headscale[575]: 2022-09-27T00:00:05+01:00 INF Sending initial map handler=PollNetMap machine=th noise=true
Sep 27 00:00:05 headscale headscale[575]: 2022-09-27T00:00:05+01:00 INF Notifying peers handler=PollNetMap machine=th noise=true
Sep 27 00:00:06 headscale headscale[575]: 2022-09-27T00:00:06+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=na noise=true
Sep 27 00:00:06 headscale headscale[575]: 2022-09-27T00:00:06+01:00 INF Sending initial map handler=PollNetMap machine=na noise=true
Sep 27 00:00:06 headscale headscale[575]: 2022-09-27T00:00:06+01:00 INF Notifying peers handler=PollNetMap machine=na noise=true
Sep 27 00:00:07 headscale headscale[575]: 2022-09-27T00:00:07+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=os noise=true
Sep 27 00:00:07 headscale headscale[575]: 2022-09-27T00:00:07+01:00 INF Sending initial map handler=PollNetMap machine=os noise=true
Sep 27 00:00:07 headscale headscale[575]: 2022-09-27T00:00:07+01:00 INF Notifying peers handler=PollNetMap machine=os noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=nh noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Sending initial map handler=PollNetMap machine=nh noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Notifying peers handler=PollNetMap machine=nh noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=ts noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Sending initial map handler=PollNetMap machine=ts noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Notifying peers handler=PollNetMap machine=ts noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF The client has closed the connection handler=PollNetMapStream machine=phassage
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF The client has closed the connection handler=PollNetMapStream machine=md
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF The client has closed the connection handler=PollNetMapStream machine=rf
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=lv noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Sending initial map handler=PollNetMap machine=lv noise=true
Sep 27 00:00:08 headscale headscale[575]: 2022-09-27T00:00:08+01:00 INF Notifying peers handler=PollNetMap machine=lv noise=true
Sep 27 00:00:09 headscale headscale[575]: 2022-09-27T00:00:09+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=lr noise=true
Sep 27 00:00:09 headscale headscale[575]: 2022-09-27T00:00:09+01:00 INF Sending initial map handler=PollNetMap machine=lr noise=true
Sep 27 00:00:09 headscale headscale[575]: 2022-09-27T00:00:09+01:00 INF Notifying peers handler=PollNetMap machine=lr noise=true
Sep 27 00:00:10 headscale headscale[575]: 2022-09-27T00:00:10+01:00 INF The client has closed the connection handler=PollNetMapStream machine=lr
Sep 27 00:00:10 headscale headscale[575]: 2022-09-27T00:00:10+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=h noise=true
Sep 27 00:00:10 headscale headscale[575]: 2022-09-27T00:00:10+01:00 INF Sending initial map handler=PollNetMap machine=h noise=true
Sep 27 00:00:10 headscale headscale[575]: 2022-09-27T00:00:10+01:00 INF Notifying peers handler=PollNetMap machine=h noise=true
Sep 27 00:00:10 headscale headscale[575]: 2022-09-27T00:00:10+01:00 INF The client has closed the connection handler=PollNetMapStream machine=h
Sep 27 00:00:11 headscale headscale[575]: 2022-09-27T00:00:11+01:00 INF Client is ready to access the tailnet handler=PollNetMap machine=ga noise=true
Sep 27 00:00:11 headscale headscale[575]: 2022-09-27T00:00:11+01:00 INF Sending initial map handler=PollNetMap machine=ga noise=true
Sep 27 00:00:11 headscale headscale[575]: 2022-09-27T00:00:11+01:00 INF Notifying peers handler=PollNetMap machine=ga noise=true
Sep 27 00:00:11 headscale headscale[575]: 2022-09-27T00:00:11+01:00 INF The client has closed the connection handler=PollNetMapStream machine=ga

for a full 24 hr period, I have almost half a million lines of the above.
The respective log on a tailscale node (1.30.2) looks something like:
Sep 27 00:00:01 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:00:06 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 52 tcp non-syn
Sep 27 00:00:18 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:00:21 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 315 tcp non-syn
Sep 27 00:00:21 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:9469 > <IP_ADDRESS>:45882} 52 ok out
Sep 27 00:00:36 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 52 tcp non-syn
Sep 27 00:00:38 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:00:44 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:39420 > <IP_ADDRESS>:25} 60 tcp ok
Sep 27 00:00:51 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:9469 > <IP_ADDRESS>:45882} 52 ok out
Sep 27 00:01:07 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 52 tcp non-syn
Sep 27 00:01:09 cl tailscaled[150]: health("overall"): ok
Sep 27 00:01:19 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:01:21 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 315 tcp non-syn
Sep 27 00:01:21 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:9469 > <IP_ADDRESS>:45882} 52 ok out
Sep 27 00:01:31 cl tailscaled[150]: health("overall"): error: not in map poll
Sep 27 00:01:36 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 52 tcp non-syn
Sep 27 00:01:45 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:01:45 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:38476 > <IP_ADDRESS>:25} 60 tcp ok
Sep 27 00:01:51 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 52 tcp non-syn
Sep 27 00:02:11 cl tailscaled[150]: health("overall"): ok
Sep 27 00:02:21 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 315 tcp non-syn
Sep 27 00:02:21 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:9469 > <IP_ADDRESS>:45882} 52 ok out
Sep 27 00:02:21 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:02:33 cl tailscaled[150]: health("overall"): error: not in map poll
Sep 27 00:02:36 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:45882 > <IP_ADDRESS>:9469} 52 tcp non-syn
Sep 27 00:02:38 cl tailscaled[150]: Received error: PollNetMap: invalid input: magic number mismatch
Sep 27 00:02:42 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:34472 > <IP_ADDRESS>:25} 60 tcp ok
Sep 27 00:02:51 cl tailscaled[150]: Accept: TCP{<IP_ADDRESS>:9469 > <IP_ADDRESS>:45882} 52 ok out
Sep 27 00:03:02 cl tailscaled[150]: health("overall"): ok

On each tailscale node, we have about 18000 lines of the above per day.
Thanks for any advice.

I ran into this tonight as well. For me only some nodes were affected, and the issue went away after a combination of tailscale down && tailscale up and/or systemctl restart tailscaled... which makes me think this might be a tailscale bug rather than a headscale issue?

@kradalby The error seems to coming from the to the zstd decoder in the PollNetMap client code.
https://github.com/klauspost/compress/blob/3909335c441d115103e37728040269eae87df317/zstd/zstd.go#L64

I captured a trace log from the server, showing the noise exchange. The error occurs always on the first NetMap update after the initial map has been sent.
headscale 2022-11-10T11:37:59Z TRC Closing pollDataChan channel channel=Done handler=PollNetMap machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC Finished stream, closing PollNetMap session handler=PollNetMap machine=ans-wup noise=true
headscale 2022-11-10T11:37:59Z TRC Closing updateChan channel channel=Done handler=PollNetMap machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC Closing updateChan channel channel=Done handler=PollNetMap machine=ans-wup
headscale 2022-11-10T11:37:59Z INF The client has closed the connection handler=PollNetMapStream machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC Updated Map has been sent channel=update handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:59Z TRC Generated map response: { Node: ans-wup-m7avc02g.mydomain, Peers: [...](45) } func=generateMapResponse machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC go/src/headscale/machine.go:302 > Found total peers: [...](45) machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC go/src/headscale/machine.go:241 > Found some machines: [...] machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC go/src/headscale/machine.go:174 > Finding peers filtered by ACLs machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC Creating Map response func=generateMapResponse machine=ans-wup
headscale 2022-11-10T11:37:59Z DBG There has been updates since the last successful update to ans-wup handler=PollNetMapStream last_state_change=1668080278 last_successful_update=1668080259 machine=ans-wup noise=true
headscale 2022-11-10T11:37:59Z TRC go/src/headscale/machine.go:564 > Checking if ans-wup is missing updates last_state_change=1668080259 last_successful_update=1668080278 machine=ans-wup
headscale 2022-11-10T11:37:59Z TRC Received a request for update channel=update handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:59Z DBG Sending update request func=scheduledPollWorker machine=ans-wup noise=true
headscale 2022-11-10T11:37:49Z TRC ans-wup is up to date handler=PollNetMapStream last_state_change=1668080259 last_successful_update=1668080259 machine=ans-wup noise=true
headscale 2022-11-10T11:37:49Z TRC go/src/headscale/machine.go:564 > Checking if ans-wup is missing updates last_state_change=1668080259 last_successful_update=1668080259 machine=ans-wup
headscale 2022-11-10T11:37:49Z TRC Received a request for update channel=update handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:49Z DBG Sending update request func=scheduledPollWorker machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC ans-wup is up to date handler=PollNetMapStream last_state_change=1668080259 last_successful_update=1668080259 machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC go/src/headscale/machine.go:564 > Checking if ans-wup is missing updates last_state_change=1668080259 last_successful_update=1668080259 machine=ans-wup
headscale 2022-11-10T11:37:39Z TRC Received a request for update channel=update handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC Machine entry in database updated successfully after sending data bytes=21343 channel=pollData handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC Data from pollData channel written successfully bytes=21343 channel=pollData handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC Sending data received via pollData channel bytes=21343 channel=pollData handler=PollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC pollData is (chan []uint8)(0xc0002098c0), keepAliveChan is (chan []uint8)(0xc00063a1e0), updateChan is (chan struct {})(0xc00063a180) handler=pollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC Waiting for data to stream... handler=pollNetMapStream machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z INF Notifying peers handler=PollNetMap machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z INF Sending initial map handler=PollNetMap machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z INF Client is ready to access the tailnet handler=PollNetMap machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z TRC go/src/headscale/protocol_common_poll.go:139 > Loading or creating update channel machine=ans-wup noise=true
headscale 2022-11-10T11:37:39Z DBG Client map request processed handler=PollNetMap machine=ans-wup noise=true omitPeers=false readOnly=false stream=true
headscale 2022-11-10T11:37:39Z TRC Generated map response: { Node: ans-wup-m7avc02g.mydomain, Peers: [...](45) } func=generateMapResponse machine=ans-wup
headscale 2022-11-10T11:37:39Z TRC go/src/headscale/machine.go:302 > Found total Peers: [...](45) machine=ans-wup
headscale 2022-11-10T11:37:39Z TRC go/src/headscale/machine.go:241 > Found some machines: [...] machine=ans-wup
headscale 2022-11-10T11:37:39Z TRC go/src/headscale/machine.go:174 > Finding peers filtered by ACLs machine=ans-wup
headscale 2022-11-10T11:37:39Z TRC Creating Map response func=generateMapResponse machine=ans-wup
headscale 2022-11-10T11:37:39Z DBG A machine is entering polling via the Noise protocol handler=NoisePollNetMap machine=ans-wup


Update vendoring to rook v1.9.2

The update to rook v1.9.2 on golang 1.17 pulled in a number of updates to the vendor folder. The dependencies were updated with make deps-update.

/assign jarrpa

/override ci/prow/red-hat-storage-ocs-ci-e2e-aws

/retest

/override ci/prow/red-hat-storage-ocs-ci-e2e-aws


Upsert Support

I am looking to have upsert support for Postgres. I would especially be curious whether or not support could be added to update all columns on conflict (see the Column::iter() portion of the sea-query example below). My use case is that I have models with many columns, which means writing the upsert query by hand is pretty tedious, but all I care about is having the latest version of the data. I would love to contribute if you haven't already started working on upsert per the roadmap.
Example:
use table_a::Column;

table_a::Entity::insert(row)
    .on_conflict(
        sea_query::OnConflict::column(Column::Id)
            .update_columns(Column::iter())
            .to_owned(),
    )
    .exec(&db)
    .await
    .unwrap();

Yes. This isn't built in ormlite, but using the TableMeta methods it provides combined with sqlmo, the underlying query building lib, makes this quite easy.
I built a similar function for an ETL project, so I'll paste the primary function for that here. Please modify it, and if you have a suggestion or outright PR for how to include it in the library directly, that contribution is welcome.
It additionally adds support for, here what I called __sa_deleted_at and __sa_updated_at columns to store dleteed at and updated at times. Without that, the code can actually be somewhat simpler/shorter. I'll also leave the comments in.
Let me know if any of it needs further explanation or you have any additional questions.
// This would be a cool optimization to do for the SQL insertion in this code:
// https://klotzandrew.com/blog/postgres-passing-65535-parameter-limit
fn build_insert_sql<T: TableMeta>(schema_name: &str) -> String {
    use sqlmo::query::Expr;
    let dialect = sqlmo::Dialect::Postgres;
    let update_conditional: Vec<Expr> = T::table_columns()
        .into_iter()
        .map(|&c| {
            let left = Expr::table_column(T::table_name(), c);
            let right = Expr::table_column("excluded", c);
            Expr::not_distinct_from(left, right)
        })
        .collect();
    let on_conflict_update_value = Expr::case(
        sqlmo::query::Case::new_when(
            Expr::new_and(update_conditional),
            Expr::table_column(T::table_name(), "__sa_updated_at"),
        )
        .els("excluded.__sa_updated_at"),
    );

    // It's easier to read as SQL, so here's an example.
    SET __sa_deleted_at = NOW()
    WHERE NOT id = ANY($1)
    AND __sa_deleted_at IS NOT NULL
    RETURNING id
    "#,
        schema_name,
        T::table_name()
    )
}

This is great. Thanks for the detailed example. If I'm not mistaken, what I'm after is something like OnConflict::update_values(T::table_columns())? And would you be opposed to a PR adding upsert behind the postgres feature? Definitely not ideal, but that's what I'm most familiar/concerned with at this time.

That all sounds great. PR is welcome.
You might want to double check if using that method would update the
primary key. It should be a no-op since pkey should define the conflict,
but I don’t know if that’s the only scenario that can cause a conflict, so
it feels smarter to err toward what’s safer and more semantically correct.
Agree it’s less than ideal to add a method gated on a feature, but it’s
almost always auto generated anyway, and adding a trait only for Postgres
feels highly over engineered.
It’s probably important to have a docstring that emphasize the SQL it
compiles into, and the fact that it’s only supported in Postgres.
Presumably if multiple features are turned on, those implementations will
just panic with unimplemented.
Happy to answer any questions you encounter if you tackle this.
On Thu, Feb 29, 2024 at 18:29 Conner Holden @.***>
wrote:

This is great. Thanks for the detailed example. If I'm not mistaken, what
I'm after is something like OnConflict::update_values(T::table_columns())?
And would you be opposed to a PR adding upsert behind the postgres
feature? Definitely not ideal, but that's what I'm most familiar/concerned
with at this time.
—
Reply to this email directly, view it on GitHub
https://github.com/kurtbuilds/ormlite/issues/46#issuecomment-1972145133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATA3QLPZB6GGGLZHQ2XAD3LYV64V5AVCNFSM6AAAAABD6ZXP7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGE2DKMJTGM
.
You are receiving this because you commented.Message ID:
@.***>

I've been doing some experimentation, and it appears upsert is already supported via a re-export of OnConflict from sqlmo, and on_conflict() already exists from Insertion. See the example below. Maybe this issue can be closed?
use ormlite::{
    model::*,
    query_builder::OnConflict,
};
use sqlx::postgres::PgPoolOptions;

#[derive(Debug, Default, Model)]
pub struct Users {
    #[ormlite(primary_key)]
    pub id:   String,
    pub name: String,
}

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let database_url = std::env::var("DATABASE_URL")
        .expect("`DATABASE_URL` must be set");
    let query_pool = PgPoolOptions::new()
        .max_connections(5)
        .connect(&database_url)
        .await?;

    Users {
        id: String::from("user_1"),
        ..default::Default()
    }
        .insert(&db)
        .on_conflict(OnConflict::do_update_on_pkey("id"))
        .await
        .unwrap();

    Ok(())
}

And if you agree, I would be happy to add some documentation for this functionality.

Was just going to say! I'd welcome it if you added a section to the README docs for other folks who encounter the same issue. Sorry I forgot about OnConflict::do_update_on_pkey.


Added a configuration option "path_startmode"

Python is most definitely not my main programming language, however, I thought this was a nice addition to the path walker nonetheless.
Short Description:
Updates the FollowPath walker to allow a "path_startmode" configuration option. Setting it to "first" mimics the current behavior: move to the first point in the list and walk through them from there. Setting it to the "new" value of "closest" will try to find the closest point to the bots position and first move there before continuing along the other point in the path.
I also added a log message to see which point the bot is walking to (so one can tell it's still walking)

@JaapMoolenaar Wow, this is great. Sorry it slipped through our radar for so long. Would you be willing to fix up your merge conflicts? We'd love to get this in.

Please see #3270
(I couldn't seem to merge the upstream somehow, which i coincidentally haven't done much before either)


Fix remind list

The bug was caused by a momentary inclusion of applications with no interview into the remind list and the InterviewComparator not handling applications with no interview safely.
The code has been refactored to help ensure the remind list is correctly updated.
Here's a summary of the changes:

The remind list now properly observes the underlying application book's list, so there's no need to manually update it using updateApplicationListWithInterview
The list is initialised with the UpcomingInterviewPredicate immediately, so there's no need to wait for a remind command to set it
InterviewComparator now checks for the presence of the interview first (even though this should not be necessary now) to make the code more defensive

This fixes #172, fixes #178 and fixes #179
This also fixes #126

Codecov Report

Merging #191 (7d565f6) into master (e9d3517) will decrease coverage by 0.16%.
The diff coverage is 45.45%.

@@             Coverage Diff              @@
##             master     #191      +/-   ##
============================================
- Coverage     73.91%   73.74%   -0.17%
- Complexity      720      721       +1
============================================
  Files           106      106
  Lines          2074     2053      -21
  Branches        245      247       +2
============================================
- Hits           1533     1514      -19
+ Misses          469      463       -6
- Partials         72       76       +4

Impacted Files
Coverage Δ

...ain/java/seedu/application/logic/LogicManager.java
68.18% <0.00%> (ø)

...pplication/logic/commands/AddInterviewCommand.java
100.00% <ø> (ø)

...edu/application/logic/commands/ArchiveCommand.java
100.00% <ø> (ø)

...seedu/application/logic/commands/ClearCommand.java
100.00% <ø> (ø)

...eedu/application/logic/commands/DeleteCommand.java
100.00% <ø> (ø)

.../seedu/application/logic/commands/EditCommand.java
97.59% <ø> (-0.03%)
:arrow_down:

...application/logic/commands/ListArchiveCommand.java
100.00% <ø> (ø)

.../seedu/application/logic/commands/ListCommand.java
100.00% <ø> (ø)

.../seedu/application/logic/commands/RedoCommand.java
100.00% <ø> (ø)

...eedu/application/logic/commands/RemindCommand.java
0.00% <ø> (ø)

... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

But, in this way the interview list in the archived application list will not get updated to those archived application as we intended tho.

Oh yeah, that's my bad. I'll tweak the code a bit. Thanks for spotting!


Create Weather Chatbot

This Python-based chatbot provides real-time weather updates for any city using the OpenWeatherMap API. Users can input city names to receive current weather conditions, including temperature and weather descriptions. The chatbot runs in a command-line interface and allows users to easily access weather information until they choose to exit.
Key Features:

Fetches live weather data based on user input.
Displays temperature and weather conditions.
Simple command-line interaction.

This chatbot serves as a practical tool for quick weather inquiries, showcasing the integration of APIs with conversational interfaces.

@sumanth-0 , I've uploaded my PR do have a look


report treats bools as int's

Bool values with should be inserted into the report are threated as int.
Therefore a true results as 1 and false as 0.

resolved with 5d9098eab6ed7848bd42b180a289652fe4c2e1f5


Coverage is not collected in gradle plugin test

Describe the bug
If I apply kotlin gradle plugin then coverage collecting is failed:
    @Test
    fun `apply plugin test`() {
        val project: Project = ProjectBuilder.builder().build()
        project.pluginManager.apply("org.jetbrains.kotlin.jvm") // <------- applying of the plugin fails coverage collection
        project.pluginManager.apply("org.example.plugin-with-cover")
    }

If I run this test without the kotlin plugin then the coverage is collected properly.
Errors
coverage-error.log is generated in build/kover/bin-reports:
coverage-error.log
Expected behavior
The coverage is collected successfully
Reproducer
There is an example where the issue could be reproduced.
Reports
If applicable, report files or screenshots.
Environment

Kover Gradle Plugin version: 1.9.21
Gradle version: 8.4
Kotlin project type: Kotlin/JVM
Coverage Toolset: Kover
Other context important for this bug: -

Hi, thanks for the reproducer!
In the build.gradle.kts file, replace the Kover configuration
kover {
    excludeInstrumentation {
        classes("*CompileOptions*")
        packages("com.android")
        packages("*.android.*")
    }
}

with the following CCC
kover {
    excludeInstrumentation {
        classes("org.jetbrains.kotlin.gradle.*")
    }
}

@shanshin
It works, thank you!
Closing the issue.


Improve Uid & Gid support

The purpose of this PR is to allow file systems to:

Create inodes with the UID and GID of the calling process
Support chown

Would you mind rebasing this on the current master branch please? We fixed the travis config in the meantime.


Allow using Theme like an InheritedModel

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Today, you use Theme.of(context) which returns the entire ThemeData object. For most use cases, people don't need the whole ThemeData object. One change that was introduced a bit ago was converting MediaQuery to an InheritedModel which allows people to do MediaQuery.sizeOf(context) which returns a Size and the widget would only rebuild if the device screen size changes and not if say, the brightness changes.
Proposal
I propose there be a way to access only what we need of ThemeData. Ideally it would be in the same form that MediaQuery is in. For example, to get the target platform, you would do Theme.platformOf(context) which would return a TargetPlatform enum or Theme.textThemeOf(context) which returns a TextTheme object. This would require some internal refactoring and would probably break people who extend the Theme class so I'm not sure how feasable this is but I'm just throwing this out there.

Possibly related: https://github.com/flutter/flutter/issues/102993

This is a nice idea and it has come up before, for example: https://github.com/flutter/flutter/issues/102993#issuecomment-1116720352
Typically an app's theme doesn't change very often, so we've been reluctant to attempt the refactoring without a use case that demonstrated a performance win. I suppose the most common runtime change for the Theme would changing the colorScheme between dark and light modes. In that case essentially all components are affected, so a scoped dependency probably would improve performance.

My personal use case would be something like Theme.platformOf(context) so that I could get the TargetPlatform. That doesn't need to know anything about color schemes and wouldn't change throughout the application cycle but doing Theme.of(context) would obviously rebuild the tree when anything changes. (Yes, I know there is Platform.isX and defaultTargetPlatform but I've seen that's not the "recommended" way to access it when you have access to a BuildContext.)


docs: add logical view

Related Issue
resolve: #16
Description
Add logical view of this project to communicate everyone who participate in this project
Checklist
Thank you for your contribution.
Before submitting this PR, please make sure:

[ ] Test case
[x] End of Work

LGTM

LGTM!
After this PR , please also take care of the component details document.


Expo - SDK48 -  Failed

My dependencies:
"dependencies": {
    "@expo-google-fonts/jost": "^0.2.3",
    "@expo/vector-icons": "^13.0.0",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/stack": "^6.3.17",
    "axios": "^1.4.0",
    "expo": "~48.0.18",
    "expo-app-loading": "^2.1.1",
    "expo-dev-client": "~2.2.1",
    "expo-facebook": "^12.2.0",
    "expo-font": "~11.1.1",
    "expo-splash-screen": "^0.18.2",
    "expo-sqlite": "~11.1.1",
    "expo-status-bar": "~1.4.4",
    "expo-updates": "~0.16.4",
    "firebase": "^10.0.0",
    "firebase-admin": "^11.9.0",
    "react": "18.2.0",
    "react-native": "0.71.8",
    "react-native-elements": "^3.4.3",
    "react-native-flash-message": "^0.4.1",
    "react-native-gesture-handler": "~2.10.0",
    "react-native-google-mobile-ads": "^11.1.1",
    "react-native-international-phone-number": "^0.4.15",
    "react-native-masked-text": "^1.13.0",
    "react-native-modal": "^13.0.1",
    "react-native-paper": "^5.9.1",
    "react-native-progress": "^5.0.0",
    "react-native-safe-area-context": "~4.6.3",
    "react-native-screens": "~3.22.0",
    "react-native-uuid": "^2.0.1"
  }

My Screen:

My Log not content error.

Hi @muriloalvesdev
Looking this error, I think that its related with the lib "react-native-google-mobile-ads". Don't have any mention of the lib "react-native-international-phone-number" on this screen error.
Please, try run your project without the lib "react-native-google-mobile-ads" and check if the app breaks or no.
🚀 AstrOOnauta 🚀


[Question] Will start_managing_pool be called redundantly N times?

From what I'm seeing here in spawn_blocking
https://github.com/cunarist/tokio-with-wasm/blob/796872768ff76ac7d5f398395bb614e5c8c04493/src/tokio_wasm/task/mod.rs#L186-L200
It seems as though this start_managing_pool function
https://github.com/cunarist/tokio-with-wasm/blob/796872768ff76ac7d5f398395bb614e5c8c04493/src/tokio_wasm/task/pool.rs#L303-L316
will be called as many times as spawn_blocking is, whereas from what I can see, only one should be needed.
Is this true or am I misunderstanding?

Hi @Restioson , thanks for your insight :)
Yeah, it looks like that might cause excessive calls. The library does work because that's must a management function, but I do admit that it can cause slowdowns.
This should be fixed, though I'm a bit busy these days to do that.
May I ask you if you've experienced significant performance issues?

This should be fixed now, thank you very much for your report :) Feel free to come back for any other discussions!


User GM Interaction

Players should be able to request information from the gm, should have a quick list of questions (lowest save, weaknesses, immunities, resistances, interesting abilities, notable passives, etc.).
Players should be able to suggest the skill they want the GM to use
GM should get a prompt to fulfill the players request, provides a means to take the users suggested skill or override the skill
System should smartly suggest the best skills for the player to populate AFTER the users suggested skill
Success should allow the GM to "Craft a Message", likely a dialogue that when resolved will print into the Chat message. the ability for the GM to provide false information should be supported.

Player Workflow:

On users turn (locking outside of users turn); user can use a Recalled Knowledge action and this should consume one of the inbuilt actions.
Integrate with Token Action HUD, provide a new category called Recall Knowledge.
Hover over category and the drop down will READ from the source as GM Journal (likely CURRENT ENCOUNTER). Important notes for this display:

Each entry should show only one entry per creature that shares the same Actor Document ID (i.e. if fighting ghouls (x4) and a goblin (x1), the dropdown should list a total of two entries (consolidating the 4 goblins into one).
The creature name in the drop down should be obfuscated to the player, unless they have revealed the creatures base information through a previously successful recall knowledge attempt.
Attempt when hovering over the drop down entry, to highlight the corresponding creatures on the map.

User can click on an entry to trigger a popup for requesting a recall knowledge attempt. The Pop-up:

The pop up should provide a list of "suggested questions a player might ask the GM" (i.e. Lowest Save, Weaknesses, Resistances, immunities, etc.) and then provide an empty text box the user can instead write a custom question to the GM. On pop up, this should be in focus so the user can immediately begin typing. If a pre-selected question is selected we should populate the text field with that data.
There should also be a dropdown of all of the player's skills (sorting the lore skills to the top; leaving all skills available in the event that they make a special case as to why they should be able to use a non traditional skill to make the check. We should provide the requesting characters modifiers next to all of the skills.
The request field could also provide a dropdown with the list of NPCs available for selection in the event they change their mind while building their request.
For checks after the initial, we should tie the "Quick questions" to the visibility trait of the appropriate values. We can remove these suggestions in the event that the information is already known by the characters.
For subsequent checks, when the characters have already suceeded one recall knowledge (which automatically reveals creature type and name) We could then sort the skill to be used for the check to float the recommended skill to the top.

Once The request is sent to the GM, The GM should get the request as a popup. May be valuable to create some sort of queue where if this is ever closed the GM can reopen, and maybe for the duration of the combat, they can even open the already fulfilled request. For every player request, we have a corresponding GM request.

GM Request should come prepopulated with the users request, allow the GM to override the skills. The questions are open ended, so this will not be tied to the results. The questions will only be subject to filtering based off of a character "requesting" on an NPC, and when creating the request we check to see if any information is known and remove any questions no longer relevant to ask.
GM Should have DC suggestions (similar to the quick questions), but then have a spot to type the DC they want (we focus the field) and override the field with the button value if that is selected. The DC suggestions, should provide context as to how that was derrived and with a modifier value that when all added equals the suggested value. Based on the rules there will only be one DC that is provided, but there should be additional values that correlate with the pathfinder quick scaling values based off of very easy, easy, normal, hard, and very hard. We should also provide additional buttons with the tops skills likely to be used. If one of those buttons are clicked it would also change the skill that is being used for the roll

Once the GM chooses to role, this should automatically open the GM journal to the creature. On a success, we could highlight on the journal based off of the players question (if they chose a quick question; we could consider having some sort of a dictionary that if we find a match for a word like attack, passive, saves, etc. we could make a suggestion to the GM as well. )

We need to provide in the interface the ability for the GM to provide false information. Where there is a lowest save button for the GM to select, we could have a universal icon on each save where they can override this with "false information". For traits, resistances, weaknesses, abilities, etc. We could use the icon as a field, and it serves as a dropdown where a different false value could be selected. Once this is selected from this field it should be highlighted and outlined, lets say for now in red, so the GM can quickly identify and removed this information in the future if needed. Once the field has filled, and populated we should move a new blank field down so that it can be done again if needed.

Next Step I'll provide some prototype UI elements for reference.


fix: moves auro library to dependencies in package.json #133

Alaska Airlines Pull Request
Moves Auro Library into dependencies from devDependencies to avoid installation issues, as originally reported in #573.
Resolves: #133
Summary:

Moved to dependencies within package.json
Regenerated package.lock
Verified build and test ran successfully

Type of change:
Please delete options that are not relevant.

[x] Revision of an existing capability

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

 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.Chris Friedberg 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.

:tada: This PR is included in version 3.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[REQUEST] Guest accounts jobs limit

It would be really great to limit the maximum number of jobs  when creating a member account.I'm sure remotly users will love it

Yes needed


Added Touch Bar support

Got a new computer with a touch bar and thought it will cool to add a couple of shortcut buttons.
I did some testing to make sure it would not crash. Let me know if you find issues.
Will probably expand on this in the future.
Thanks,
Scott

 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.


Make manifest.json description more generic

The template includes a comment describing the purpose of the manifest.json file. It specifically refers to add-to-home-screen functionality on Android. There's now much better cross platform support for Web App Manifests, so I thought it'd be better to make the description more generic. The language was pulled directly from the first sentence of Google's documentation.

Thanks for your first PR @chrisself. Looks great!


Issues trying to modify package locally

Hello, I hope this makes some sense, I am a bit new to React and webpack.
I have a local clone of the repo I am trying to modify for my project. With a fresh copy of the repo, everything is okay and Winterfell renders properly.
However, when I modify one of the winterfell/src/*.js files, I start running into problems. After making changes and running npm run build I get these errors in the browser:
Warning: Winterfell(...): React component classes must extend React.Component.

Uncaught Error: Invariant Violation: Winterfell.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.

I am not making any breaking changes to the source files (I have tried very trivial changes), and Winterfell still extends from React.Component, I am not messing with the class definition.
Does anybody have any ideas what's causing this?
I am using react 0.14.0 in my project, would this matter?
Thanks in advance for any input!

Okay, looks like I was able to fix this by deleting the react folder from winterfell/node_modules
Also, I had to change the webpack script to include instead of exclude. Excluding node_modules was preventing babel-loader from working.
include: [
    path.resolve(__dirname, "src")
],


⚠ Bofrost.de has degraded performance

In 7b155be, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1280 ms

Resolved: Bofrost.de performance has improved in c19bf88.


Report mdns results from all interfaces instead of the highest priori…

…ty interface
Problem
The mdns discovery process reports the resolved IPs of the highest priority interface only. The other interfaces that are discovered may contains interesting addresses too.
Changes

Update src/platform/Darwin/DnssdContext.cpp to continue reporting results after the first discovered interface with results.

Notes
When connecting over CASE the results accumulates in src/lib/address_resolve/AddressResolve_DefaultImpl.cpp so the score ranking takes effect.
When connection over PASE via src/controller/SetUpCodePairer.cpp the score ranking is on a per interface basis. I will issue a followup to rerank them there.

Fast tracking this, given this has had 2 weeks for review, and is blocking some quality tests passing.


Hello guys .. I have an issue where the rqt is opening but it doesn’t show the local planner node .. when I tried to do rosrun rqt_reconfigure rqt_reconfigure nothing change ! What can I do about that ?

Duplicate of #267

@jkflying Yes but this issue is not solves yet


handling inputSize > 1 for RNN (variable length sequence)?

Hi, I'm working on a task where the feature size of one time step is 9 instead of 1, as is the case of char level language model. However, all of examples I can find of RNN (variable length sequence) is about language modeling.  Could you give me some pointers as to how to do that? Thanks very much.

@zhouyong64 The multivariate time series example has multiple inputs. Check it out :)


Unable to use Key Vault variable in Install an SSH Key task

Since the Install an SSH Key task is defined as a pre-job, it runs before all other tasks regardless of position in the pipeline. Therefore it runs before any Key Vault secrets are downloaded. I would prefer to not setup a standalone secret variable in the library for the passphrase but that seems to be the only way I can do it unless I'm missing something.
Am I missing something or is this working as designed?
Full disclosure, I'm new to all this stuff ...

Hmmm, I seem to have the same issue.
I have a keyvault secret for this, but yes, it seems this task runs as a Pre-Job and then fails because it is running before the "Azure Key Vault" tasks executes to get the secrets to use in the task??
I guess the question is can the install SSH key task be set to not be a "Pre-Job" task? or at least initialise the azure key vault task before the ssh task?

@Pwd9000-ML We have experienced this issue also. If the pre-job task for SSH key task can be set after the download key vault task. This issue can be resolved.
I checked the code from https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/InstallSSHKeyV0/task.json#L63

"prejobexecution": {
"Node": {
"target": "preinstallsshkey.js",
"argumentFormat": ""
}

@damccorm  is it possible for your team to improve this?

Right now this isn't supported, adding as an enhancement

This would be great to have fixed.

The issue remains that if you don't specify the AzureKeyVaultV1 (or V2) task but are using a Variable Group backed by a KeyVault, that does NOT set the RunAsPreJob to true.

This is still an issue as @spoelstraethan  mention when using Variable Group linked to a KeyVault, the Keyvault Task PreJob task which comes from KeyVault linked variable group should run before the InstallSSHKey but it doesn't run untill after.

There is a workaround.
I also had the same issue because the InstallSSHKey@0 runs as a pre job, when the password was downloaded using a resource group with with key vault access, it runs after the pre job, so the SSH has already run with no secret.
The answer is to use the AzureKeyVault@2 task with RunAsPreJob: true, to download the secrets.
This task will run and download the secrets as a pre job before the InstallSSHKey@0 task. if it is put higher in the YAML.


Fix missing lib with builtin_glslang=false

The GetDefaultResource function is in separate library file.

Which distro did you test this on? In my experience glslang packaging is hit and miss on Linux distros (due to it not really being designed to be used as a shared library, at least in the past).

This patch was needed on alpine linux: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/67911

I fix that in a separate PR: https://github.com/godotengine/godot/pull/93471


Adding Google Batch Hello World Notebook

Demonstrating how to run google batch from a notebook.
Ward hates it, but I think it's cool.

@wkharold can I get a LGTM on this. I know you hate it, but I'd like to get it out.


Using HTTPClienter interface instead net/http.Client

Seems like a good idea. I will think about it. Not sure why there’s no Doer interface in net/http. The net/http didn’t abstract anything Client-related—only RoundTripper.

Your interface name is better)
I think that package net/http don't have Client interface because interface declare near consumer


Customized version of ByUrlRewriteRedirect for use in sc81rev151207

Adjust modifiers and methods of ByUrlRewriteRedirect for sc81u1
Due to changes in the implementation of Sitecore.Experience Analytics.Aggregation.Dimensions.PageEventDimension (Sitecore.NET 8.1 rev. 151207) the class BaseByUrlRewriteRedirect throws an exception.

@iamandycohen
You should integrate this PR into the repo. I integrated this fix and rebuilt the DLL, it fixed the issue I had integrating this module with Sitecore 8.1.

Great module! Our business users are happy they can now finally add there own redirects.
Would even be better if this PR was merged. For sc81u1 this changes is indeed needed.

https://github.com/iamandycohen/UrlRewrite/tree/feature/sc81u3?files=1
On Thu, Oct 20, 2016, 8:26 AM escheffers<EMAIL_ADDRESS>wrote:

Great module! Our business users are happy they can now finally add there
own redirects.
Would even be better if this PR was merged. For sc81u1 this changes is
indeed needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/iamandycohen/UrlRewrite/pull/18#issuecomment-255104970,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxmf6ueXsc1XTkCyd5ZdAtXUIKZPIY8ks5q12v1gaJpZM4HQUtd
.


trace not rendered in the UI with over 30000 TRACE_COUNTER data points

Hi,
I'm trying to use the SDK. When I use TRACE_COUNTER, with 20K data points, the trace can be rendered in the UI. While with 30K data points, it won't render anything.
Is there any hidden constraint/threshold in the code for TRACE_COUNTER and TRACE_EVENT?
Thanks,

Can you please attach a trace?
It's hard to act on this bug without more data.
There is no hardcoded limit I can think of. This must be some more subtle bug.
First step would be checking if

The data is there in the trace (via tools/traceconv text) and it's a trace_processor import bug
The data is there in the trace_processor (trace_processor_shell tracefile; query the counter table) and it's a UI bug

Check the above and report back.

Hi, @primiano
I created a sample project here https://github.com/ztlevi/perfetto-trace-example/.
By changing this line's 30000 to 20000 https://github.com/ztlevi/perfetto-trace-example/blob/main/data_generator_test.cc#L68. The generated example.pftrace can be opened with UI. While 30000 does not.
I'm not sure what the column names are. select c.ts, c.value, t.name from counter doesn't work...

BTW, I not sure what's the proper way to update the end time of the trace. So currently it's ugly coded as https://github.com/ztlevi/perfetto-trace-example/blob/main/data_generator_test.cc#L46-L50

Hi,
The timestamps are not the same. They have small differences.

There's something wrong with your sources.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

The problem here is reasonably straightforward: track event tries to be efficient by emitting as little as possible on each event. To do this, it emits some "interning" state at the start of the trace which contains information like the track name and type.
Your buffer size is 1024KB. This is big enough to hold 20K events without wrapping but for 30K events, you wrap the ring buffer so you lose the "interned" state at the start of the trace. Without this interned state, trace processor will simply skip your events as it does not know how to parse them.
To fix this you have a few options:

Increase your buffer size to something which can hold 30K events (or however many events you want to store).
Change you buffer mode to DISCARD - this means the trace will essentially stop when you hit the buffer size
Turn on "write_into_file": this flushes your trace to disk every few 100ms so that you won't lose data when wrapping
Set IncrementalStateConfig.clear_period_ms so that you periodically re-emit the "interned" state - this will still mean. that you will lose some events until trace processor sees this packet in the trace.

@LalitMaganti Thanks. It works like a charm.
May I ask is there any way to grab the actual perfetto::protos::Trace object instead of the raw chars?
I'm using arbitrary time so the trace's end time needs to be modified in order to visualize in the UI. Currently I have to ParseFromString and then set_timestamp. I wonder if it's possible to handle that with perfetto SDK?

It's not clear to me why you're trying to manually set the end timestamp to be something other than what's in the trace? Why not just emit the end timestamp in the trace itself?

I'm trying to use the dumped data from other performance test apps and it has arbitrary time. So we cannot use perfetto SDK in a hook based approach. In that case, we need to set the timestamp of the event manually

If you really have to do this, the best way is to create a new TracePacket with your fake end timestamp timestamp, place that packet inside it a perfetto::protos::Trace, serialize it and concatenate the bytes to the end of the trace produced by Perfetto.
As everything is a protobuf, simply concatenating the bytes is good enough without changing the contents of the stream tiself.

@LalitMaganti Thanks. I'll try to concatenate the bytes.
I was trying to create some trace event with something like this
    TRACE_EVENT_BEGIN(category, name, track, start_time);
    TRACE_EVENT_END(category, track, end_time);

But end up having all the slices in the same color. How can we control the colors?
The slices are under different categories.

I found the color is related with the category's first character... Is there a way to manually control it?

The color is chosen based on a hash of the slice name: https://cs.android.com/android/platform/superproject/+/master:external/perfetto/ui/src/common/colorizer.ts;l=153?q=f:perfetto color
There is no way to customize this at the moment nor do I know of any plans to introduce this feature in the near future.


Unexpected enumerable response behaviour

Using v6 of the api and the search service, using the same search_query and customer_id in both scenari.
response = search_service.search(customer_id: customer_id, query: search_query)
response.count
=> 1
response.first
=> nil
response.to_a
=> []

response = search_service.search(customer_id: customer_id, query: search_query)
response.any?
=> true
response.first
=> <Google::Ads::GoogleAds::V6::Services::GoogleAdsRow: ...
response.to_a
=> [<Google::Ads::GoogleAds::V6::Services::GoogleAdsRow ...
response.to_a
=> []

I think the query is irrelevant here, the points are:

if I use count it seems to flush the results
if I use to_a twice, it seems to flush the results

Not all the results are returned immediately, and there may be more requests made behind the scenes as you iterate through the results. Calling anything that will force an iteration through all results will effectively exhaust the iterator. So if you want to process the results and also do one of these kinds of operations, you'll need to do both together in a single pass.
I don't think there's anything we could do to fix the behavior, but I will look at trying to update our documentation for the library to explicitly mention this.

I understand the ins and outs. Thank you


Generate java language bindings

Hi,
Not sure how difficult this is, but I'd be very happy to use the (new) java language bindings.
From discussion here and here, in seems like this is the place to add it.
Perhaps it just needs to be published on Maven?
Kyle

import java

no any comment

add import java

import any java package

Working on this for all of the Pulumiverse packages:
https://github.com/pulumiverse/infra/issues/44


Meetin' with Peter (and Dave) 5/10

Where will sensitive data be kept? Might be limited by IRB. Peter is thinking of getting a study computer/laptop

June near end of month Peter has to give update.
Goals for end of quarter:
Built software,
Recruited patient and apply stimulus w/ software,
Streamline data preprocessing

Subject data storage: must be coded (the ones exported will have patient identifiers removed), most complicated part is consent because we're doing studies on unconscious patients eventually (not really relevant to us), must be coded and we have the right to hang onto it in coded form, no requirement to provide data to individual/individual's next of kin, can share with other investigators
RedCap data storage option, free and unlimited data storage. Deidentification files won't go into RedCap, these will be stored in a coded key that allows us to actually review patient data.

How likely/easy to automatically put data into RedCap? Figure out

20-30 Hz range is what we're interested in, but recorded at 256 Hz. So can def downsample to make file size smaller. For range of time maybe just isolate an hour

Rewrite our function to randomize the order of administration of the 3 different stimuli types.

Klassen paper has phrases to use

Go to Harborview in-person sometime next week to checkout hardware. Peter is still concerned about identifying/labeling stimulus administration start time.