Ads are missing frames inside a listview builder.

I tried to integrate Admob native ads in a listview. Ad loads perfectly inside a listview build. When I scroll the list view in any direction the ad widget moves out of sync, not aligning correctly with other UI components. It a very serious issue that makes the AdMob SDK not useable for native ads.
google_mobile_ads: ^0.12.1+1
flutter:2.0.2
Steps to reproduce the problem:

Use simple native ads inside a list view or listeview.builder.

Scrolling the list view results in missing frames , abnormal movement of the ad widget.

The repository https://github.com/googlecodelabs/admob-inline-ads-in-flutter which is given in the codelab tutorial also experiences the same problem.Ad widgets are missing frames and produce abnormal scroll behaviors.

Target Platform: Android
Target OS version: targetSdkVersion 30
Mobile Phone
No errors

Logs
 Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ContentCatcher( 3433): Failed to notify a WebView
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/Choreographer( 3433): Already have a pending vsync event.  There should only be one at a time.
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/Looper  ( 3433): Slow Frame: doFrame is 344ms late
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
I/DynamiteModule( 3433): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
I/DynamiteModule( 3433): Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
D/AudioManager( 3433): getStreamVolume isRestricted mode = 0
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI( 3433): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers

flutter analyze :
info - Unused import: 'package:google_mobile_ads/google_mobile_ads.dart' - lib\main.dart:6:8 - unused_import
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\ui\authpage\loginview\login_view.dart:209:18 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\ui\authpage\loginview\login_view.dart:298:18 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\ui\authpage\signinview\signin_view.dart:372:18 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\ui\authpage\signinview\signin_view.dart:412:18 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\ui\authpage\signinview\signin_view.dart:464:20 - deprecated_member_use
info - 'showSnackBar' is deprecated and shouldn't be used. Use ScaffoldMessenger.showSnackBar. This feature was deprecated after v1.23.0-14.0.pre. -
lib\ui\authpage\signinview\signin_view.dart:469:40 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\ui\authpage\signinview\signin_view.dart:623:26 - deprecated_member_use
info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. - lib\ui\rootpage\root.dart:170:9 -
deprecated_member_use
info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. - lib\ui\rootpage\root.dart:180:9 -
deprecated_member_use
info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. - lib\ui\rootpage\ui\appupdate.dart:43:9 -
deprecated_member_use
info - Unused import: 'package:hiphop/xscreens/story/bloc/storyview_bloc.dart' - lib\ui\rootpage\ui\widgets.dart:9:8 - unused_import
info - Unused import: 'package:hiphop/xscreens/story/ui/story_list_view.dart' - lib\ui\rootpage\ui\widgets.dart:10:8 - unused_import
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\earnings\ui\earnings_view.dart:331:21 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\earnings\ui\earnings_view.dart:367:17 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\earnings\ui\earnings_view.dart:391:19 - deprecated_member_use
info - 'showSnackBar' is deprecated and shouldn't be used. Use ScaffoldMessenger.showSnackBar. This feature was deprecated after v1.23.0-14.0.pre. -
lib\xscreens\editprofile\ui\profile_edit.dart:146:46 - deprecated_member_use
info - Unused import: 'package:hiphop/common/adtype/native_ad.dart' - lib\xscreens\feeds\ui\feeds_view.dart:4:8 - unused_import
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\profile\ui\profile_top.dart:112:19 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\profile\ui\profile_top.dart:135:19 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\profile\ui\profile_top.dart:163:19 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\scratchcard\ui\scratch_view.dart:104:29 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\scratchcard\ui\scratch_view.dart:132:29 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\scratchcard\ui\scratch_view.dart:303:21 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\scratchcard\ui\scratch_view.dart:339:17 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\scratchcard\ui\scratch_view.dart:363:19 - deprecated_member_use
info - Unused import: 'package:hiphop/helpers/timestamp_function.dart' - lib\xscreens\storyeditor\bloc\storyeditor_bloc.dart:9:8 - unused_import
info - The value of the local variable 'nbrCircleLine' isn't used - lib\xscreens\storyeditor\ui\material_color_picker.dart:179:15 - unused_local_variable
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\userprofile\ui\userprofile_top.dart:88:19 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\userprofile\ui\userprofile_top.dart:111:19 - deprecated_member_use
info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in
flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. -
lib\xscreens\userprofile\ui\userprofile_top.dart:139:19 - deprecated_member_use
31 issues found. (ran in 27.9s)
[√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version 10.0.18363.1379], locale en-US)
• Flutter version 2.0.2 at C:\Users\kabil\Documents\flutter
• Framework revision 8962f6dc68 (10 weeks ago), 2021-03-11 13:22:20 -0800
• Engine revision 5d8bf811b3
• Dart version 2.12.1
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\kabil\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.56.2)
• VS Code at C:\Users\kabil\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.22.0
[√] Connected device (1 available)
• Redmi Note 5 (mobile) • <IP_ADDRESS>:5555 • android-arm64 • Android 8.1.0 (API 27)
• No issues found!

What version of Android are you using? targetSdkVersion isn't the OS version.

The device used to test the ad implementation runs on android oreo.

Closing as duplicate of https://github.com/googleads/googleads-mobile-flutter/issues/269


Updating to 3.14.0: submit throws errors

Using previous version, the following config works fine:
{
    "serializer": "json",
    "topology_specs": "topologies/",
    "envs": {
        "prod": {
            "user": "",
            "nimbus": "localhost",
            "workers": ["localhost"],
            "use_virtualenv": true,
            "install_virtualenv": false,
            "use_ssh_for_nimbus": false,
            "virtualenv_root": "/opt/",
            "virtualenv_name": "venv"
        }
    }
}

as you can see, my app uses an existing virtual env and does not need virtualenv_specs, also my app use local nimbus
updating to 3.14.0, submit throws:
Traceback (most recent call last):
  File "/opt/venv/bin/sparse", line 11, in <module>
    sys.exit(main())
  File "/opt/venvlib/python3.4/site-packages/streamparse/cli/sparse.py", line 79, in main
    args.func(args)
  File "/opt/venv/lib/python3.4/site-packages/streamparse/cli/submit.py", line 299, in main
    user=args.user)
  File "/opt/venv/lib/python3.4/site-packages/streamparse/cli/submit.py", line 185, in submit_topology
    user=user)
  File "/opt/venv/lib/python3.4/site-packages/streamparse/cli/update_virtualenv.py", line 91, in create_or_update_virtualenvs
    config["virtualenv_specs"] = config["virtualenv_specs"].rstrip("/")
KeyError: 'virtualenv_specs'

i'v added a dummy virtualenv_specs to config, and a new error appears:
[localhost] Executing task '_create_or_update_virtualenv'
Warning: Unable to load SSH config file '/home/user/.ssh/config'
Fatal error: Needed to prompt for a connection or sudo password (host: localhost), but input would be ambiguous in parallel mode
Aborting.
Fatal error: One or more hosts failed while executing task '_create_or_update_virtualenv'
Aborting.

you can see this How to ssh to localhost without password?

@amoyiki "use_ssh_for_nimbus": false is supposed to disable ssh at all!


[1.11] Bump Mesos to nightly 1.5.x 7dbb705

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos diff
https://github.com/dcos/dcos-mesos-modules diff

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

This repo has @mesosphere-mergebot integration. You can interact with the following commands.
@mesosphere-mergebot merge-it
@mesosphere-mergebot override-status
@mesosphere-mergebot label [Ship It |Work In Progress |Request For Comment |Holding |Ready For Review]
@mesosphere-mergebot bump-ee

PR creators can apply one of  [Ready For Review |Work In Progress]. Owners can apply any label.

@mesosphere-mergebot label Ready For Review

Closed in lieu of https://github.com/dcos/dcos/pull/2948


Fix double unregistration on dispose of Array.

This fixes a small bug where Array tries to unregister itself twice on shutdown.
I have tested this manually and the error is no longer logged on shutdown.

Bugsquad edit, fixes: #81231

Please open an issue to track this, to help investigation and discussion

I just realized my initial pull request description was nonsense. There is no recursion going on and we can skip the temporary variable.

Based on the investigation bug, update the PR to instead avoid double registration that seems to be the root cause of the issue.

I've squashed the commits as well as removed the one extra "this()" call from the generic version of the Array class.

Thanks!


BUG: Ray to_parquet defaults to Pandas while documentation says supported

Modin version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest released version of Modin.

[ ] I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)

Reproducible Example
import modin.pandas as pd
df = pd.DataFrame(range(5))
df.to_parquet('d.parquet', compression='brotli')

Issue Description
Documentation states:
Ray/Dask/Unidist: Parallel implementation only if path parameter is a string; does not end with “.gz”, “.bz2”, “.zip”, or “.xz”; and compression parameter is not None or “snappy”. In these cases, the path parameter specifies a directory where one file is written per row partition of the Modin dataframe.
But when I specify compression='brotli' or some other compression, it will state "defaulting to pandas implementation"
Expected Behavior
Parquet writes but after Pandas conversion.
Error Logs

Replace this line with the error backtrace (if applicable).

Installed Versions

pandas 2.0.3
modin 0.23.0

Solution: DON'T specify compression, it will write just fine without defaulting to pandas. Documentation should be clarified on this as Pandas documentation has snappy as default compression, but Modin says not to specify snappy, I figured I would specify another but this is not the case..

@ajalberd thank you for reporting this issue! Indeed, the documentation is incorrect, here. However, I think supporting all compression schemes should be simple. I'll see if I can fix this.


nix-build -A swift       BUILD FAILS

Issue description
/tmp/nix-build-swift-4.0.3.drv-0/src/lldb/include/lldb/Utility/TaskPool.h:122:12: error: no member named 'bind' in namespace 'std'
Steps to reproduce
git clone git@github.com:NixOS/nixpkgs.git
cd nixpkgs
nix-build -A swift
Technical details
The hydra build has the same problem I had, which you can see at the end of the build log:
Build log: https://hydra.nixos.org/build/69887235/nixlog/1
Last successful build: https://hydra.nixos.org/build/69575672

This seems to be related to the problem described here:
https://stackoverflow.com/questions/14261013/bind-is-not-a-member-of-std#14261068

Upstream bug report: https://bugs.swift.org/browse/SR-4838 -- maybe that patch'd do the trick?

:crying_cat_face: why is the failure so late in this mega-long build?! haha noooooo
Testing a fix now.


unsupported

Hello.  Great integration, love it, but Supervised is fighting about an unsupported container.  Can this be fixed?

Unfortunately, HA devs don't like third party containers. There is only way to fix it - create an add-on, but I don't have time to do it.

дуже шкода. Працює справно, от тільки може нашкодити, якщо розробники НА щось поміняють

Unfortunately, HA devs don't like third party containers. There is only way to fix it - create an add-on, but I don't have time to do it.
Hello.  Perhaps some donations or something else could persuade you to make an application that would be supported in HAOs.  I really want to use a local voice instead of a cloud one.  Please think.

Unfortunately, HA devs don't like third party containers. There is only way to fix it - create an add-on, but I don't have time to do it.

Hello.  Perhaps some donations or something else could persuade you to make an application that would be supported in HAOs.  I really want to use a local voice instead of a cloud one.  Please think.

I'll look into it.

Я посмотрю на это.

Good day!!!  Any success with RHVoice for HAOs?  And by the way, I don't know how to send you donations.  Please indicate the kurta or bill

@znack14 Hi, can you test the addon? For now you need to build container on your device (just follow the instructions). I have working GitHub auto builds for amd64 only. I will try to fix building for other architectures later.
Donations are always welcome and very much appreciated! Unfortunately most payment services don't work in my country. I have added my bitcoin address to readme: bc1qd6khey9xkss6vgd6fqpqdyq4lehtepajkcf256.

@znack14Привет, можешь протестировать аддон ? На данный момент поддерживаются только aarch64 и amd64.
Пожертвования всегда приветствуются и очень ценятся! К сожалению, большинство платежных сервисов не работают в моей стране. Я добавил свой биткойн-адрес в файл readme: bc1qd6khey9xkss6vgd6fqpqdyq4lehtepajkcf256.

Hello.  Everything works, very cool.  Thank you very much.  I will try it with a bitcoin wallet today, because it is the first time for me.  But I will definitely manage.  Thank you again.


VSCode Should use Shared Types and not duplicate between client and server.

Is your feature request related to a problem? Please describe.
The shared types between the client and the server are duplicated in code currently until we can get typescript/esbuild to build reference from other directories properly.

Fixed.


Blank Columns

Hello - This maybe another newb issue bit when loading data there several columns that appear blanl
1.Public Drive; Start field, Start time, end filed, end time
2.Public Play; Yardline
Hoping someone can assist.
Thanks

Without some code it's tough to know what you're referring to here.
Can you show the description of a particular drive or play that demonstrates these fields being blank?
import nfldb

db = nfldb.connect()
q = nfldb.Query(db)
q.game(season_year=2017, week=2, season_type='Preseason', team='BUF')

for drive in q.limit(3).as_drives():
    print drive
    print drive.start_field, drive.start_time
    print drive.end_field, drive.end_time
print '-'*25
for play in q.limit(3).as_plays():
    print play
    print play.yardline

[Interception] BUF from OWN 23 to OPP 8  (lasted 03:00 - Q4 03:00 to Q4 00:00)
OWN 23 Q4 03:00
OPP 8 Q4 00:00
[Touchdown   ] PHI from OWN 40 to OPP 1  (lasted 01:57 - Q4 04:57 to Q4 03:00)
OWN 40 Q4 04:57
OPP 1 Q4 03:00
[Touchdown   ] BUF from OPP 9  to OPP 9  (lasted 00:25 - Q4 05:22 to Q4 04:57)
OPP 9 Q4 05:22
OPP 9 Q4 04:57
-------------------------
(BUF, OWN 35, Q1) S.Hauschka kicks 65 yards from BUF 35 to end zone, Touchback.

OWN 25
(PHI, OWN 23, Q1, 2 and 12) (14:22) C.Wentz pass incomplete short left to A.Jeffery.
OWN 23

Im using tableau so im not 100% sure either. All of the data is blank when import the tables for those columns. Thought someone might know and it's a simple solution.

Are you querying a game that has not started yet that does not yet have any drives or plays?

Pulled in the entire table and appears to be blank. Sounds like this is an issue on my end since it is working fine through python query. Thanks for your help :)


Test issue 1

issue 1

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @otavioarc, @gop167, @abduumad, @xnzac, @ahmedtadde, @renjujv, @Sudo-Aryan

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
wp-lai, @farizap, @codeAndxv, @jerry-trackchain, @usoop, @eddyiskongz, @ishaq, @DoubleOTheven, @Im-Kunal-13, @takeshi, @taosher, @haynesxiang, @enixdark, @r0x83, @4ever9, @Hafxhak, @henrytirla, @RoyalWeden, @nerolation, @patrickjm

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.scramblr, @mmkhitaryan, @viljaste, @designorant, @CodePi, @Pinenutss, @hichnik, @huynh922, @dpitic, @eduriol, @ayuthmang, @mihaifm, @cbrwizard, @alexandredsr, @najafice, @qinjk, @yhnavein, @volumnia, @zhuol, @dergigi


Escape backslash ( \ ) character on windows does not work.

The strings in RobojavaConfig.java file have errors on escape the \ character, see the function writeProperties in RobojavaPlugin class (Lines 160 to 172).

Which version of Robojava are you using?
This has already been fixed in #2 and release in version 1.1.5.

Thanks, It works. :D


Need more clarity for on-demand/archival video

This documentation needs better clarity on how to live-stream, but ALSO how to retain stream recordings indefinitely for later on-demand/downloadable consumption. The document is very unclear on how to both allow viewers to go backward in the stream (using ArchiveWindowLength) as well as to... store an MP4 video file durably and persistently in storage, and which can be downloaded or viewed anytime regardless of live event/output/etc. settings. Running into this confusion with a customer.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d97d2ef2-f2b6-b860-cf4b-a75713745efa
Version Independent ID: 7e52e68f-fe50-137d-c054-98b006028362
Content: Azure Media Services Live Event and a cloud DVR
Content Source: articles/media-services/latest/live-event-cloud-dvr.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

Hi @plzm, thanks for bringing this to our attention. I have assigned the issue to the content author to evaluate and update as appropriate

@plzm, i updated the topic

#please-close


Add message to inform users that the evaluation has been saved

issue #365

Is this ready for review?

Yes it is


load_from_checkpoint   error

`model = spacetimeformer_model.Spacetimeformer_Forecaster(d_x=6, d_y=6)
model.load_from_checkpoint(check_point)
data_module, inv_scaler, null_val = create_dset()
trainer = pl.Trainer()
trainer.test(model=model, datamodule=data_module)`
there is an error as
RuntimeError: Error(s) in loading state_dict for Spacetimeformer_Forecaster:
Unexpected key(s) in state_dict:
could you tell me how to solve it?  thank you very much!

I am not well equipped to debug this because the results used in the paper are based on live logging statistics, and there were very few (if any) times I actually needed to save and load a model from disk. I included that feature very early in the development process, mostly because pytorch lightning does a lot of the work for us. If I had to guess, I would say that you are probably missing kwargs in the model construction (d_model, d_ff, normalization info) that allow the model to build the correct architecture with random weights and then replace them from disk.

using this code I get the same error. There are lots of shape missmatches.
import train

CHECKPOINT = 'spacetimeformer/data/stf_model_checkpoints/spatiotemporal_toy2_613732368/spatiotemporal_toy2epoch=45-val/loss=0.05.ckpt'
config = ['spacetimeformer', 'toy2', '--run_name', 'spatiotemporal_toy2',
          '--d_model', 100, '--d_ff', 400, '--enc_layers', 4, '--dec_layers', 4,
          '--gpus','2','3', '--batch_size', 32, '--start_token_len', 4,
          '--n_heads', 4,'--grad_clip_norm', 1, '--early_stopping', '--trials', 1]

parser = train.create_parser('spacetimeformer', 'toy2')  # I modified the function to enable passing model and dset.
config = parser.parse_args([str(i) if type(i) == int else i for i in config])
forecaster = train.create_model(config)
forecaster.load_from_checkpoint(CHECKPOINT)

Errors:
Traceback (most recent call last):
  File "/home/fixccaq/.pycharm_helpers/pydev/pydevd.py", line 1448, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/fixccaq/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/media/work/Workspaces/CAO/Stocks/spacetimeformer/spacetimeformer/demo.py", line 37, in <module>
    forecaster.load_from_checkpoint(CHECKPOINT)
  File "/home/fixccaq/.local/lib/python3.6/site-packages/pytorch_lightning/core/saving.py", line 157, in load_from_checkpoint
    model = cls._load_model_state(checkpoint, strict=strict, **kwargs)
  File "/home/fixccaq/.local/lib/python3.6/site-packages/pytorch_lightning/core/saving.py", line 205, in _load_model_state
    model.load_state_dict(checkpoint['state_dict'], strict=strict)
  File "/home/fixccaq/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1483, in load_state_dict
    self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Spacetimeformer_Forecaster:
	Unexpected key(s) in state_dict: "spacetimeformer.encoder.attn_layers.2.local_attention.inner_attention.projection_matrix", "spacetimeformer.encoder.attn_layers.2.local_attention.inner_attention.calls_since_last_redraw", "spacetimeformer.encoder.attn_layers.2.local_attention.query_projection.weight", "spacetimeformer.encoder.attn_layers.2.local_attention.query_projection.bias", "spacetimeformer.encoder.attn_layers.2.local_attention.key_projection.weight", "spacetimeformer.encoder.attn_layers.2.local_attention.key_projection.bias",  ..., "spacetimeformer.decoder.norm.norm.num_batches_tracked".
	size mismatch for spacetimeformer.embedding.x_emb.embed_weight: copying a param with shape torch.Size([7, 12]) from checkpoint, the shape in current model is torch.Size([5, 6]).
	size mismatch for spacetimeformer.embedding.x_emb.embed_bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([6]).
	size mismatch for spacetimeformer.embedding.y_emb.weight: copying a param with shape torch.Size([100, 85]) from checkpoint, the shape in current model is torch.Size([512, 31]).
	size mismatch for spacetimeformer.embedding.y_emb.bias: copying a param with shape torch.Size([100]) from checkpoint, the shape in current model is torch.Size([512]).
	size mismatch for spacetimeformer.embedding.var_emb.weight: copying a param with shape torch.Size([20, 100]) from checkpoint, the shape in current model is torch.Size([1, 512]).
	size mismatch for spacetimeformer.embedding.given_emb.weight: copying a param with shape torch.Size([2, 100]) from checkpoint, the shape in current model is torch.Size([2, 512]).
	size mismatch for spacetimeformer.encoder.attn_layers.0.global_attention.inner_attention.projection_matrix: copying a param with shape torch.Size([80, 25]) from checkpoint, the shape in current model is torch.Size([266, 64]).
	size mismatch for spacetimeformer.encoder.attn_layers.0.global_attention.query_projection.weight: copying a param with shape torch.Size([100, 100]) from checkpoint, the shape in current model is torch.Size([512, 512]).

using this code I get the same error. There are lots of shape missmatches.
import train

CHECKPOINT = 'spacetimeformer/data/stf_model_checkpoints/spatiotemporal_toy2_613732368/spatiotemporal_toy2epoch=45-val/loss=0.05.ckpt'
config = ['spacetimeformer', 'toy2', '--run_name', 'spatiotemporal_toy2',
          '--d_model', 100, '--d_ff', 400, '--enc_layers', 4, '--dec_layers', 4,
          '--gpus','2','3', '--batch_size', 32, '--start_token_len', 4,
          '--n_heads', 4,'--grad_clip_norm', 1, '--early_stopping', '--trials', 1]

parser = train.create_parser('spacetimeformer', 'toy2')  # I modified the function to enable passing model and dset.
config = parser.parse_args([str(i) if type(i) == int else i for i in config])
forecaster = train.create_model(config)
forecaster.load_from_checkpoint(CHECKPOINT)

Errors:
Traceback (most recent call last):
  File "/home/caq/.pycharm_helpers/pydev/pydevd.py", line 1448, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/caq/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/spacetimeformer/spacetimeformer/demo.py", line 37, in <module>
    forecaster.load_from_checkpoint(CHECKPOINT)
  File "/home/caq/.local/lib/python3.6/site-packages/pytorch_lightning/core/saving.py", line 157, in load_from_checkpoint
    model = cls._load_model_state(checkpoint, strict=strict, **kwargs)
  File "/home/caq/.local/lib/python3.6/site-packages/pytorch_lightning/core/saving.py", line 205, in _load_model_state
    model.load_state_dict(checkpoint['state_dict'], strict=strict)
  File "/home/caq/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1483, in load_state_dict
    self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Spacetimeformer_Forecaster:
	Unexpected key(s) in state_dict: "spacetimeformer.encoder.attn_layers.2.local_attention.inner_attention.projection_matrix", "spacetimeformer.encoder.attn_layers.2.local_attention.inner_attention.calls_since_last_redraw", "spacetimeformer.encoder.attn_layers.2.local_attention.query_projection.weight", "spacetimeformer.encoder.attn_layers.2.local_attention.query_projection.bias", "spacetimeformer.encoder.attn_layers.2.local_attention.key_projection.weight", "spacetimeformer.encoder.attn_layers.2.local_attention.key_projection.bias",  ..., "spacetimeformer.decoder.norm.norm.num_batches_tracked".
	size mismatch for spacetimeformer.embedding.x_emb.embed_weight: copying a param with shape torch.Size([7, 12]) from checkpoint, the shape in current model is torch.Size([5, 6]).
	size mismatch for spacetimeformer.embedding.x_emb.embed_bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([6]).
	size mismatch for spacetimeformer.embedding.y_emb.weight: copying a param with shape torch.Size([100, 85]) from checkpoint, the shape in current model is torch.Size([512, 31]).
	size mismatch for spacetimeformer.embedding.y_emb.bias: copying a param with shape torch.Size([100]) from checkpoint, the shape in current model is torch.Size([512]).
	size mismatch for spacetimeformer.embedding.var_emb.weight: copying a param with shape torch.Size([20, 100]) from checkpoint, the shape in current model is torch.Size([1, 512]).
	size mismatch for spacetimeformer.embedding.given_emb.weight: copying a param with shape torch.Size([2, 100]) from checkpoint, the shape in current model is torch.Size([2, 512]).
	size mismatch for spacetimeformer.encoder.attn_layers.0.global_attention.inner_attention.projection_matrix: copying a param with shape torch.Size([80, 25]) from checkpoint, the shape in current model is torch.Size([266, 64]).
	size mismatch for spacetimeformer.encoder.attn_layers.0.global_attention.query_projection.weight: copying a param with shape torch.Size([100, 100]) from checkpoint, the shape in current model is torch.Size([512, 512]).


[CRASH] crash 1.20.1

https://mclo.gs/d31QUSb

Hi, the mod version installed on your machine is for 1.20.2, the log shows MC 1.20.1. So, the changes in the commit here for the Minecraft version port cause the issue.
The latest versions for 1.20.1 are here

https://legacy.curseforge.com/minecraft/mc-mods/redstone-pen/files/4745120
https://modrinth.com/mod/redstonepen/version/1.5.23

May I ask: Did you use mod manager, and the 1.20.2 version was automatically installed, or manual?
Cheer's

Hi, the mod version installed on your machine is for 1.20.2, the log shows MC 1.20.1. So, the changes in the commit here for the Minecraft version port cause the issue.
The latest versions for 1.20.1 are here

https://legacy.curseforge.com/minecraft/mc-mods/redstone-pen/files/4745120
https://modrinth.com/mod/redstonepen/version/1.5.23

May I ask: Did you use mod manager, and the 1.20.2 version was automatically installed, or manual?
Cheer's

manual

oky, I presume it's resolved then ;) If something shows up, re-open it. Cheer's


New test system migration

Complete the migration of the following packages:
•	azure-purview-administration
•	azure-purview-catalog
•	azure-purview-scanning
•	azure-synapse-artifacts
•	azure-mgmt-servermanager

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Synapse:0.18765107,Docs:0.088581614,Communication:0.057847057'
Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Client:0.5501144,Mgmt:0.44697312,Service:0.0021089846'


The results of the citeseer dataset cannot be reproduced

my experiment:
run 10 times:
Average val accuracy: 0.6954 ± 0.010432641084595956
Average test accuracy on citeseer: 0.6900999999999999 ± 0.009565040512198534

But paper reports:
72.9 ±0.4
the seed i used are [2022,2023,.........2031]
Looking forward to your reply，thank you

Thanks for your interest in our work.
Please make sure your environment configuration is the same as ours, and so are the hyperparameters.
Here are two sets of hyperparameters and the corresponding results. Hope it helps.

thank you


New version: prefix-dev.pixi version 0.24.2

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\pixi\bin\pixi.exe returned exit code: 2

(Automated response - build 885.)


fix: Escape quotes in params values

Hi! Thanks for the awesome gem. There was a minor bug that prevented using params with quotes, e.g.:
  # @param message text
  def example(message: "Let's go!")
    # render component
  end

Ah great catch - thanks @baygeldin! Really appreciate the PR. All looks good to me so I'll get this merged in now and get a release out with the fix in it shortly. Thanks again :-)


split adapter.py into multiple subclasses

The file is getting unruly, and in the future we might want to support more complex adaptation strategies.

Done (cc @teetone )


Cannot download attachments from chat

First of all, thanks a lot for the awesome project! I'm trying it out and it's very nice. I'm especially excited about the command line chat feature. However, I can't seem to figure out how to use attachments.
Whenever I try to download an attachment sent to me in chat, I get  "ERROR unencrypted attachments not supported" -- even if attachment is encrypted.
The sender can download the same attachment without a problem.
Any ideas how to fix this?

cc: @patrickxb

Chat has not been released or announced and everything should be considered pre-alpha.
We aren't supporting old (unencrypted) attachments.  We didn't know anyone in the public was using it.  The sender has an old client and can thus download them.

I am the sender and I am running keybase version 1.0.17-20161025160021+77565f4. This is considered "old"? ;)
Btw. let me clarify. I have uploaded by using:
$ keybase chat upload me,her ~/a.file

When we have noticed this isn't working, I have also tried first encrypting the file via keybase encrypt, then uploading it in the same way. But when @tetianakh tried to download it, it resulted in the same error. But I guess the file should be transparently encrypted when doing chat upload ?

Yes, that's "old".  This is under active development.  And yes, newer clients transparently encrypt.
Just so you know, we have deleted the chat database (and all attachments) several times during development and you should be prepared that it will happen again before it is released.

BTW, @rkujawa and @tetianakh thanks for your enthusiasm and helping us to debug!

Ok, thanks for the information. This feature is awesome though, keep up the good work!

Thanks!  We're excited to release it.


Track Logos PID

If we track the main PID for Logos once it is running, we can put additional safeguards in to make sure commands can't be run while Logos is running. We can also add commands like stop Logos/restart Logos.
This may be best accomplished by making a system.popen_command, like system.run_command.

cf. #164

This won't work unless we use a series of grep commands to find the Logos PID. When Logos launches, it creates its splash screen. As soon as that loads, it creates the login window, thus changing PID, and again changing PID on logging in.


Cannot start main.py

I have taken the latest master pull and having errors when I start main.py. It starts for a second then the following errors come up.
audio-reactive-led-strip) C:\Systematic-LEDs-master\python>python main.py
Traceback (most recent call last):
  File "C:\Systematic-LEDs-master\python\lib\microphone.py", line 21, in start_stream
    callback(y)
  File "main.py", line 1353, in microphone_update
    boards[board].show(outputs[board])
  File "C:\Systematic-LEDs-master\python\lib\devices.py", line 145, in show
    self._sock.sendto(message, (self._ip, self._port))
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 1437, in <module>
    microphone.start_stream(microphone_update)
  File "C:\Systematic-LEDs-master\python\lib\microphone.py", line 27, in start_stream
    gui.label_error.setText('Audio buffer has overflowed {} times'.format(overflows))
NameError: name 'gui' is not defined

(audio-reactive-led-strip) C:\Systematic-LEDs-master\python>

List of my enviroment:
(audio-reactive-led-strip) C:\Systematic-LEDs-master\python>conda list
# packages in environment at C:\Users\Matt\Anaconda3\envs\audio-reactive-led-strip:
#
# Name                    Version                   Build  Channel
ca-certificates           2017.08.26           h94faf87_0
certifi                   2018.1.18                py36_0
icc_rt                    2017.0.4             h97af966_0
icu                       58.2                 ha66f8fd_1
intel-openmp              2018.0.0             hd92c6cd_8
jpeg                      9b                   hb83a4c4_2
libpng                    1.6.34               h79bbb47_0
mkl                       2018.0.1             h2108138_4
numpy                     1.14.1           py36hb69e940_2
openssl                   1.0.2n               h74b6da3_0
pip                       9.0.1            py36h226ae91_4
PyAudio                   0.2.11                    <pip>
pyqt                      5.6.0            py36hb5ed885_5
pyqtgraph                 0.10.0                   py36_0
python                    3.6.4                h6538335_1
qt                        5.6.2           vc14h6f8c307_12
scipy                     1.0.0            py36h1260518_0
setuptools                38.5.1                   py36_0
sip                       4.18.1           py36h9c25514_2
sqlite                    3.22.0               h9d3ae62_0
vc                        14                   h0510ff6_3
vs2015_runtime            14.0.25123                    3
wheel                     0.30.0           py36h6c3ec14_1
wincertstore              0.2              py36h7fe50ca_0
zlib                      1.2.11               h8395fce_2

(audio-reactive-led-strip) C:\Systematic-LEDs-master\python>

Above using Windows 10 - 64 bit - Python 3.6.4
Downloaded it again on a different windows 10 PC with Python 3.6.2
Guessing because of Python 3.6?

I'm running it perfectly with python 3.6.3 Anaconda (64 bits) so seems to be something else...

Did you update the IP in config.py? It's failing to resolve the address..

Ah silly me, yes, I have not updated config.py in the folder lib, was going all through main.py code looking for where to configure this.
I will make a draft guide, say a weeks time @not-matt


on clicking Export even though disabled Image format dialog appears

Just click on Export, even though its disabled it asks to choose between JPG or PNG.
Its a trivial bug.

Merged.


fixed #2041 - [closed]

In GitLab by @liyanq528 on Mar 26, 2019, 08:17
Merges issue#2041 -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:41
The test coverage for backend is %  %  , check  console log

In GitLab by @wknet123 on Nov 13, 2019, 11:41
closed


Path to elasticsearch rewritten on requests

I am developing and testing an Elasticsearch solution where my application has to communicate with Elasticsearch through a proxy. E.g. at url https://localhost/proxypath
But when I make a request using NEST the path gets rewritten with the index and type names (rather than appending them) E.g my url becomses https://localhost/index/type/_search
This is going to cause me issues on live as I'm using http://proxyserver.com/es/ to route to Elasticsearch (so I can use http//proxyserver.com/kibana/ to route to kibana)
Please let me know if there is way I can resolve this, or if this is indeed a bug.

We rely on Uri(Uri uri, string path) to combine these two together:
https://github.com/elastic/elasticsearch-net/blob/4fcecae93dcf16a4ff7e110135da81eed409dda5/src/Elasticsearch.Net/Connection/RequestState/TransportRequestState.cs#L161
For that to properly resolve you have to register your prefix paths with a trailing / e.g
new Uri(new Uri("http://localhost/proxypath"), "index/type/_search")

resolves to http://localhost/index/type/_search, whereas
new Uri(new Uri("http://localhost/proxypath/"), "index/type/_search")

resolves to http://localhost/proxypath/index/type/_search
If this still fails please report back! :+1:

I yes that fixed it.  I thought I had it working at some point.
Thanks for your answer and sorry for wasting your time.

Not at all feel free to ask questions on github :+1:
We are working hard on new docs for NEST 2.0, feedback like this is great.


Add read_raw_xdf

Describe the new feature or enhancement
Port the xdf module (mnelab.io.xdf) from mnelab to mne-python. Currently, mnelab causes some dependency issues with numpy so we've had to copy and import the module separately.
The mnelab module already has an integrated mne class and read_raw_xdf:
Resolving streams, converting to mne RawArray, resampling streams, and functionality of converting an automatically-detected marker stream to raw annotations, among others.
Describe your proposed implementation
After basic testing on my end, the entire module appears already completely compatible with mne-python. Just integrating it into mne-python base package would be useful, and hopefully very easy.
Describe possible alternatives
Create a new module that handles converting xdf to mne Raw array. Resolve streams, resample data, and functionality of converting a marker stream to raw annotations would be incredibly useful (and are already implement in mnelab's xdf module)
Additional context
I would love to help, but I would not consider myself a weathered python developer. If someone can point me in the right direction with testing and where to plop the module, I would be than happy to make a pull request :)

I noticed that there is an open pull request from 2022 #10420 - What was/is the status on this?

That might also be useful for mne-lsl at some point.

Pinging @cbrnr - Do you know what happened to the old PR to implement this?

Hi @MaxMascini! We never really decided what to do with it, and whether or not it is suitable for integration into MNE-Python.
Currently, there is a bug with our resampling implementation (https://github.com/cbrnr/mnelab/issues/385), which produces incorrect timings if the recording has gaps (this is hopefully a rare situation, but of course it can happen). So until this is fixed, it cannot be moved to MNE-Python.
May I ask what the dependency issues of MNELAB with NumPy are?
Incidentally, I've recently considered moving the XDF reader out of MNELAB into a lightweight package. This would make it easier for users to access the reader without the PySide6 dependencies. Migrating it to MNE-Python might be premature since various things (including the interface) might still be changing, and MNE-Python puts a strong emphasis on stability and backward compatibility, which I cannot (and don't want to) commit to yet.

Thanks for getting back to me @cbrnr! I think it's an excellent middle-ground to move the XDF utilities to a lightweight module for now.
Regarding the dependency issues we've encountered, we believe that the dependency issues are related to numba/numpy (which may just be a conda/mamba dependency solver issue).
When creating an environment from scratch
with mamba install python==3.12.7 mne mne-bids mnelab jupyterlab
We get this when trying to import read_raw_xdf:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 17
     15 from mne_bids.stats import count_events
     16 from pyxdf import resolve_streams
---> 17 from mnelab.io.xdf import read_raw_xdf
     18 from xml.etree.ElementTree import ParseError

File c:\ProgramData\miniforge3\envs\mnelab-test\Lib\site-packages\mnelab\__init__.py:14
     11 from PySide6.QtGui import QIcon
     12 from PySide6.QtWidgets import QApplication
---> 14 from mnelab.mainwindow import MainWindow
     15 from mnelab.model import Model
     17 __version__ = "0.9.2"

File c:\ProgramData\miniforge3\envs\mnelab-test\Lib\site-packages\mnelab\mainwindow.py:33
     30 from pyxdf import resolve_streams
     32 from mnelab.dialogs import *  # noqa: F403
---> 33 from mnelab.io import writers
     34 from mnelab.io.mat import parse_mat
     35 from mnelab.io.npy import parse_npy

File c:\ProgramData\miniforge3\envs\mnelab-test\Lib\site-packages\mnelab\io\__init__.py:6
      1 # © MNELAB developers
      2 #
      3 # License: BSD (3-clause)
      5 from mnelab.io.readers import read_raw
----> 6 from mnelab.io.writers import write_raw, writers

File c:\ProgramData\miniforge3\envs\mnelab-test\Lib\site-packages\mnelab\io\writers.py:9
      7 import mne
      8 import numpy as np
----> 9 from numpy.rec import fromarrays
     10 from scipy.io import savemat
     13 def write_fif(fname, raw):

ModuleNotFoundError: No module named 'numpy.rec'

When trying to create an environment with numpy>=2.1, we get this environment solving error and tree:
LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides vc 9.* needed by numba-0.46.0-py27h0e003f4_1

Could not solve for environment specs
The following packages are incompatible
├─ mne >=1.8.0  is installable with the potential options
│  ├─ mne 1.8.0 would require
│  │  └─ numba with the potential options
│  │     ├─ numba 0.46.0 would require
│  │     │  └─ vc 9.* , which does not exist (perhaps a missing channel);
│  │     ├─ numba [0.46.0|0.47.0|0.48.0|0.50.1] would require
│  │     │  └─ numpy >=1.14.6,<1.21.0a0  with the potential options
│  │     │     ├─ numpy [1.14.6|1.15.4|1.16.2|1.16.3|1.16.5] would require
│  │     │     │  └─ vc 9.* , which does not exist (perhaps a missing channel);
│  │     │     ├─ numpy [1.14.6|1.15.0|1.15.1|1.15.2] would require
│  │     │     │  └─ openblas >=0.2.20,<<IP_ADDRESS>a0 , which requires
│  │     │     │     └─ vc 14 , which does not exist (perhaps a missing channel);
│  │     │     ├─ numpy [1.14.6|1.15.2|...|1.16.4], which can be installed;
│  │     │     ├─ numpy 1.16.4 would require
│  │     │     │  └─ python >=2.7,<2.8.0a0  but there are no viable options
│  │     │     │     ├─ python [2.7.12|2.7.13|2.7.14|2.7.15] would require
│  │     │     │     │  └─ vc 9.* , which does not exist (perhaps a missing channel);
│  │     │     │     └─ python 2.7.15 would require
│  │     │     │        └─ vc >=9,<10.0a0 , which does not exist (perhaps a missing channel);
│  │     │     ├─ numpy 1.16.5, which can be installed;
│  │     │     ├─ numpy [1.16.6|1.17.0|1.17.1|1.17.2|1.17.3], which can be installed;
│  │     │     ├─ numpy 1.17.5, which can be installed;
│  │     │     ├─ numpy [1.18.1|1.18.4|...|1.19.4], which can be installed;
│  │     │     └─ numpy [1.19.5|1.20.0|1.20.1|1.20.2|1.20.3], which can be installed;
│  │     ├─ numba [0.49.0|0.49.1] would require
│  │     │  └─ numpy >=1.14.6,<1.18.0  with the potential options
│  │     │     ├─ numpy [1.14.6|1.15.4|1.16.2|1.16.3|1.16.5], which cannot be installed (as previously explained);
│  │     │     ├─ numpy [1.14.6|1.15.0|1.15.1|1.15.2], which cannot be installed (as previously explained);
│  │     │     ├─ numpy [1.14.6|1.15.2|...|1.16.4], which can be installed;
│  │     │     ├─ numpy 1.16.4, which cannot be installed (as previously explained);
│  │     │     ├─ numpy 1.16.5, which can be installed;
│  │     │     ├─ numpy [1.16.6|1.17.0|1.17.1|1.17.2|1.17.3], which can be installed;
│  │     │     └─ numpy 1.17.5, which can be installed;
│  │     ├─ numba [0.51.0|0.51.1|0.51.2|0.52.0] would require
│  │     │  └─ numpy >=1.16.5,<1.21.0a0  with the potential options
│  │     │     ├─ numpy [1.14.6|1.15.4|1.16.2|1.16.3|1.16.5], which cannot be installed (as previously explained);
│  │     │     ├─ numpy 1.16.5, which can be installed;
│  │     │     ├─ numpy [1.16.6|1.17.0|1.17.1|1.17.2|1.17.3], which can be installed;
│  │     │     ├─ numpy 1.17.5, which can be installed;
│  │     │     ├─ numpy [1.18.1|1.18.4|...|1.19.4], which can be installed;
│  │     │     └─ numpy [1.19.5|1.20.0|1.20.1|1.20.2|1.20.3], which can be installed;
│  │     ├─ numba 0.53.0 would require
│  │     │  └─ numpy >=1.16.6,<1.21.0a0 , which can be installed;
│  │     ├─ numba [0.53.0|0.53.1] would require
│  │     │  └─ numpy >=1.19.5,<1.21.0a0 , which can be installed;
│  │     ├─ numba 0.53.1 would require
│  │     │  └─ numpy >=1.17.5,<1.21.0a0 , which can be installed;
│  │     ├─ numba [0.54.0|0.54.1] would require
│  │     │  └─ numpy >=1.17,<1.21 , which can be installed;
│  │     ├─ numba [0.55.0|0.55.1] would require
│  │     │  └─ numpy >=1.18,<1.22 , which can be installed;
│  │     ├─ numba 0.55.2 would require
│  │     │  └─ numpy >=1.18,<1.23 , which can be installed;
│  │     ├─ numba [0.56.2|0.56.3|0.56.4] would require
│  │     │  └─ numpy >=1.18,!=1.22.0,!=1.22.1,!=1.22.2,<1.24 , which can be installed;
│  │     ├─ numba [0.57.0|0.57.1] would require
│  │     │  └─ numpy >=1.21,!=1.22.0,!=1.22.1,!=1.22.2,<1.25 , which can be installed;
│  │     ├─ numba [0.58.1|0.59.0|0.59.1] would require
│  │     │  └─ numpy >=1.22.3,<1.27 , which can be installed;
│  │     └─ numba 0.60.0 would require
│  │        └─ numpy >=1.22.3,<2.1  with the potential options
│  │           ├─ numpy [1.22.3|1.22.4|...|2.0.2], which can be installed;
│  │           └─ numpy [2.0.0rc1|2.0.0rc2|2.1.0rc1|2.2.0rc1] would require
│  │              └─ _numpy_rc, which does not exist (perhaps a missing channel);
│  └─ mne 1.8.0 would require
│     └─ __osx, which is missing on the system;
└─ numpy >=2.1.*  is not installable because there are no viable options
   ├─ numpy [2.0.0rc1|2.0.0rc2|2.1.0rc1|2.2.0rc1], which cannot be installed (as previously explained);
   └─ numpy [2.1.0|2.1.1|2.1.2|2.1.3] conflicts with any installable versions previously reported.

Let me know if you have any ideas - or if you see something we've missed!

Hmmm, I don't use conda/mamba, but MNELAB only requires numpy >= 2.0.0, which should be installable according to the output. Did you specifically request numpy >= 2.1.0?

Also, maybe np.rec.fromarrays is not even necessary here. I think this is the only place where NumPy >= 2 is required (the import for versions < 2 would be from numpy.core.records import fromarrays). So it could be either a simple try/except, or even better, maybe record arrays are not even needed here. Would you have time to investigate and if you find a solution make a PR?


Reddit videos are downloaded as separate audio and video files.

Checklist

[x ] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2021.01.03
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best', 'https://reddit.com/r/PublicFreakout/comments/ksbhr7/morning_joe_dropping_morning_fbomb_on_live_tv/', '--verbose', '--print-traffic']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.01.03
[debug] Python version 3.9.1 (CPython) - Linux-5.9.14-arch1-1-x86_64-with-glibc2.32
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[VrtNU] terzake: Downloading webpage
send: b'GET /vrtnu/a-z/terzake/ HTTP/1.1\r\nHost: www.vrt.be\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3775.5 Safari/537.36\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-us,en;q=0.5\r\nConnection: close\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: text/html;charset=utf-8
header: Content-Length: 7721
header: Connection: close
header: Date: Thu, 07 Jan 2021 10:23:07 GMT
header: X-Content-Type-Options: nosniff
header: Expires: Thu, 07 Jan 2021 10:24:01 GMT
header: Cache-Control: max-age=300
header: X-UA-Compatible: IE=edge
header: Content-Encoding: gzip
header: X-Served-By: i-0632883e90d7e8d22
header: Accept-Ranges: bytes
header: Vary: Accept-Encoding
header: X-Cache: Miss from cloudfront
header: Via: 1.1 7d12bef71f48487e9202b581d949876e.cloudfront.net (CloudFront)
header: X-Amz-Cf-Pop: BRU50-C1
header: X-Amz-Cf-Id: TVWg6_jEmI_EI5KtRYQZEIYXxXz5UK52rlU9mc3BoKH_JVJTlOrIAw==
header: Age: 245
[VrtNU] terzake: Downloading JSON metadata
send: b'GET /vrtnu/a-z/terzake.mssecurevideo.json HTTP/1.1\r\nHost: www.vrt.be\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3775.5 Safari/537.36\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-us,en;q=0.5\r\nConnection: close\r\n\r\n'
reply: 'HTTP/1.1 410 Gone\r\n'
header: Content-Type: text/html; charset=utf-8
header: Content-Length: 238
header: Connection: close
header: Date: Thu, 07 Jan 2021 10:23:07 GMT
header: Server: Varnish
header: X-Varnish: 179536045
header: X-Robots-Tag: noindex, nofollow
header: Cache-Control: max-age=604800
header: Retry-After: 5
header: X-Cache: Error from cloudfront
header: Via: 1.1 32e3b86ae254a231182567c0124af893.cloudfront.net (CloudFront)
header: X-Amz-Cf-Pop: FRA2-C2
header: X-Amz-Cf-Id: 8fI1TmRF_DZywQ5k0BDRZfiAuK-ioTVYDRlO7EkzFRReDmL_e5A0vA==
ERROR: Unable to download JSON metadata: HTTP Error 410: Gone (caused by <HTTPError 410: 'Gone'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 632, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2248, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

WRITE DESCRIPTION HERE
Reddit videos are downloaded as separate audio and video files. For other websites, they are auto combined into 1 file

this is what Reddit offers.

this is what Reddit offers.


Person risks are inconsistent with stated scenario

The risks that are built off "living alone" (n housemates, closed pods, etc) rely on hard-coded multipliers. When we decreased the effectiveness of cloth masks, they got out of sync.

Fix these in the same pass that includes #159


[kjobctl] Add shellcheck.

What type of PR is this?
/kind feature

What this PR does / why we need it:

Add shellcheck for kjobctl.
Ignore cmd/experimental/kjobctl directory on kueue shellcheck.
Maintain kjobctl shellcheck dependency by dependabot.

Which issue(s) this PR fixes:

Fixes #2782
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cc @mimowo


Automatically opt-in users who sign up from an editorial page to the daily newsletter

finishes https://artsyproduct.atlassian.net/browse/GROW-858
This PR adds a new action to afterSignUpAction so new users who signed up on the Articles page will be added to the daily newsletter.

[x] Move the filename change out of this PR and send a separate PR to
[x] Merge https://github.com/artsy/force/pull/3050
[x] Merge https://github.com/artsy/reaction/pull/1482
[x] Update local Reaction version
[x] Check in with Matt Dole to make sure everything's wired up properly

Alright, I've QA-ed this with @mdole and this is all good to go!


Can't Complie the [imgui_sfml_example]

win10
sfml ver = 2.5.1
imgui ver = 1.82 WIP
imgui-sfml ver = lasted
ide = vs2017
cmake ver = 3.15.5
I successfully compiled two libraries： sfml and imgui-sfml., but CAN NOT to complie the project [imgui_sfml_example] .
I got some link error like: unresolved external symbol "bool __cdecl ImGui::BeginTable(char const *,int,int,struct ImVec2 const &,float)" (?BeginTable@ImGui@@YA_NPBDHHABUImVec2<EMAIL_ADDRESS>How can I fix it ?

Hello
You need to add imgui_tables.cpp (from ImGui) to your build.

thks and it works in the project created by my self!
But it is very puzzing to me.
In fact, I want to fllow  --> "Building and integrating into your CMake project"  in readme document to build a shared lib, After I set IMGUI_SFML_BUILD_EXAMPLES = NO, the link error occured ..
should I need to add imgui_tables.cpp to imgui-sfml projcet to build the example?
thanks for your help.

Strange. Maybe FindImGui.cmake wasn't behaving right. Try to checkout to this commit: https://github.com/eliasdaler/imgui-sfml/commit/4b3ce009be611570d76480895f492c9734bf62ff
I think it should work with CMake project well.

thanks , it works.
Now I can use the shared lib without imgui_tables.cpp.
(IMGUI_SFML_BUILD_EXAMPLES = NO  need imgui_demo.cpp , Maybe it's better to add some relevant judgment?)


unexpected result of short integer SimdArray division

Vc version / revision | Operating System | Compiler & Version | Compiler Flags | Assembler & Version | CPU
1.4.1                         | ubuntu 20.04         | g++  9.3.0               | -Ofast               |                                    | Haswell core i5
Testcase
#include <Vc/Vc>

int main ( int argc , char * argv[] )
{
  typedef Vc::Vector < short > v_t ;

  v_t lhs ( 2 ) ;
  v_t rhs ( 1 ) ;

  auto result = lhs / rhs ;
  assert ( result [ 0 ] == 2 ) ;
}

Actual Results
when I compile this with
g++ -Ofast opdiv_bug.cc -lVc
And run it, I get:
$ ./a.out
a.out: opdiv_bug.cc:11: int main(int, char**): Assertion `result [ 0 ] == 2' failed.
Expected Results
I'd expect the assertion to hold. Compiling with -O3 does produce code which does not fail the assertion, and when using 'int' instead of 'short' it holds as well.
I'm not sure what to make of this, and it may not be a Vc problem, but rather an error of the optimizer. The problem first showed when processing C vectors of Vc::SimdArray with clang++, even though clang++ does not produce the error when used for the example above, so it does not seem to be occuring only with g++, but is easier to provoke with it.
Looking at the assembler code produced with -Ofast, there is no division instruction. fast math would use a multiplication with the reciprocal, and the assembler opcode to produce a reciprocal is indeed present, but the result should still be correct, because the reciprocal of one is one and multiplying with it should have no effect. Any ideas?

Vectors of short are converted to vectors of float to use the (v)divps instruction for vectorized division. Thus, -ffast-math kicks in and may lead to surprising results. I made std-simd pass all tests with -ffast-math — and it's been a lot of surprises and headaches. I'll take a look what I did for division. But in any case Vc and -ffast-math are not well tested (and supported).

This is the fix I applied to std-simd: https://github.com/VcDevel/std-simd/blob/5d66f8f31942c000c329d7865360a3b3db1a85ae/experimental/bits/simd_x86.h#L1428-L1462
Vc would need something similar.

What really surprised me that division by one should produce an erroneous result. This is the one case where multiplication with the reciprocal should be fine, and correct for all numbers. Instead, with g++ and -Ofast, all values in the result vector are one less than they should be:
`#include <Vc/Vc>
#include
int main ( int argc , char * argv[] )
{
typedef Vc::SimdArray < short , 8 > v_t ;
v_t lhs { 2 , 3 , 4 , 5 , 6 , 7, 8 , 9} ;
v_t rhs ( 1 ) ;
auto result = lhs / rhs ;
std::cout << result << std::endl ;
assert ( result [ 0 ] == 2 ) ;
}
`
result:
[1, 2, 3, 4, 5, 6, 7, 8]
but it should be
[2, 3, 4, 5, 6, 7, 8, 9]
which clang++ correctly produces with -Ofast, so it may be a g++ issue.

rcpps of 1.f is 0.999756f :shrug:. And GCC translates xmm0 / xmm1 to:
  vrcpps xmm2, xmm1
  vmulps xmm1, xmm2, xmm1
  vmulps xmm1, xmm2, xmm1
  vaddps xmm2, xmm2, xmm2
  vsubps xmm2, xmm2, xmm1
  vmulps xmm0, xmm0, xmm2

I agree this is surprising.

So my error was to assume that forming the reciprocal of 1.0f would yield 1.0f.
0.999756f explains the result: every multiplication produces a result which is just a tad below the full integer, and hence truncated. Thanks for the clarification!

But in any case Vc and -ffast-math are not well tested (and supported).

I use -Ofast throughout vspline and pv, and so far this has gone well and it's noticeably faster. Most of my code is floating point arithmetic, though. I only noticed this issue because I implemented my own SIMD type (see https://bitbucket.org/kfj/vspline/src/master/simd_type.h) which I use as a stand-in for Vc::SimdArray when the target can't use it, or for fundamentals Vc won't vectorize. So I wrote test code to make sure that all the operator functions work as expected. The test code can run with Vc SimdArrays as well, and that coughed up the problem.

I guess I should prioritize gather & scatter for you so you can move to std-simd. ;-)

Hey, you still remember me!
Yes, std::simd would be great, and I also need to be able to use clang++, it optimizes my code much better than g++.

Sorry if you feel/felt ignored. I was occupied with stupid corner cases like from -ffast-math. :wink: I'm bad at working on more than one thing at a time...
Please report issues if recent clang isn't working with std-simd. Once it's in libstdc++ the expectation is that clang works

Sorry if you feel/felt ignored. I was occupied with stupid corner cases like from -ffast-math. wink I'm bad at working on more than one thing at a time...

You have my sympathy... What I like about generic programming, like with my simd_type, is that one can get away without much of the nitty-gritty. But I suppose someone has to do it. And I'm also bad at multitasking.
So now your code does work with clang++ - I just checked! And, indeed, the test code I wrote a year or so back comes out some 30% faster than the g++ binary - BTW with -Ofast. When I last tried, clang++ just spat out lots of errors. Now this is good news!


Watch out!

Hello @arimorty,
Just navigating around and found this:
https://github.com/Vultur/FloatingSearchView
Basically it's your library, but with different package name online.osslab.FloatingSearchView.
Regards,
Davide

Hi @davideas ,
Thanks for letting me know,
All the best,
Arimorty


[$250] [TS Migration] Define a concise way to access or default to an inexistent record

Follow up issue for TS migration project. Coming from this spreadsheet

Define a concise way to access or default to an inexistent record (0, -1, etc)

Any more details for this one cc @blazejkustra @fabioh8010
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0127e590dfa2accb42
Upwork Job ID:<PHONE_NUMBER>949810688
Last Price Increase: 2024-04-24
Automatic offers:

jjcoffee | Reviewer | 0
godofoutcasts94 | Contributor | 0

Problem
Currently we have been defaulting nullable entity IDs to either 0 or -1 when it doesn’t exist as we can see here and here (and many other files throughout the project). The lack of conciseness when defaulting such IDs leads to confusion between developers and increased chance of bugs.
Solution
Standartise the default values of all Onyx entity IDs. Personally I think we should default all nullable entity IDs to -1 as it is a negative ID and theoretically we would never have a negative one in the DB (@mountiny makes sense to you?):

For each Onyx type inside src/types/onyx/, look for properties that ends with ID?: ..., e.g. managerID?: number;, parentReportID?: string;, iouReportID?: string; inside Report.ts
For each property, look for its usage throughout the codebase.
If that property is being defaulted to either 0 or -1, change it to -1.
Test everything extensively.

@fabioh8010 this makes sense to me, but I think we need to bring this up to slack for broader agreement, can you post the proposal to open source channel before proceeding?

@mountiny Sure, I can post! But could you make this issue External? It was marked as External initially.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Define a concise way to access or default to an inexistent record
What is the root cause of that problem?
Coming from TS Migration Issue,  As discussed in the comment here - https://github.com/Expensify/App/issues/39125#issuecomment-2058578891, we need to look for properties that ends with ID?: ..., e.g. managerID?: number;, parentReportID?: string;, iouReportID?: string; inside Report.ts
What changes do you think we should make in order to solve the problem?

We need to standartise the default values of all Onyx entity IDs. we need to change the property to -1 in the codebase. We need to add tests for it as well.
What alternative solutions did you explore? (Optional)
N/A

@fabioh8010 this makes sense to me, but I think we need to bring this up to slack for broader agreement, can you post the proposal to open source channel before proceeding?

Posted here.

@fabioh8010 this makes sense to me, but I think we need to bring this up to slack for broader agreement, can you post the proposal to open source channel before proceeding?

Posted here.

⚠ Solution was approved, but let's consider this additional change:

Change TS_STYLE.md to include this advice of using -1 to default these kind of ID properties.

@godofoutcasts94 Thanks for your proposal! It's a bit copy & pastey as it stands, so could I ask you to provide an example of a change you would make so that I can make sure you understand the issue. Thanks!

Hey @jjcoffee sorry for late reply.  Updated proposal

Reviewing tomorrow!

Thanks for adding that @godofoutcasts94, your proposal LGTM! Just note that you should also cover this in your PR:

Change TS_STYLE.md to include this advice of using -1 to default these kind of ID properties.

:ribbon::eyes::ribbon: C+ reviewed

In the TS_STYLE.md should I add a point here :
https://github.com/Expensify/App/blob/8c076114b448a964b69c2c2102bb75c4f7ca4b90/contributingGuides/TS_STYLE.md?plain=1#L29
to include an advice of using -1 to default these kind of ID properties.

@godofoutcasts94 Yup that sounds good!

Hey @jjcoffee! One more help please - Is this text fine ?

1.23 Defining Inexisting Record: Always use -1 when defining inexisiting records instead of using 0

@godofoutcasts94 Just add it to the PR and we'll handle it there :pray:

You will have the PR ready in a couple of days

Okay, just a heads up I'll be OOO 6-13th (I may have some time on the 6th), so would be good to get a PR up today or tomorrow if you can!

@godofoutcasts94 Any updates here?

Thanks for the update!

This isn't overdue, Melvin. @godofoutcasts94 is working on it (welcome back!)

I am done with all the changes, now I need some guidance related to adding test

@godofoutcasts94 Could you create a PR (or Draft PR) with the changes in the meantime? Thanks

https://github.com/Expensify/App/pull/41775

now I need some guidance related to adding test

@godofoutcasts94 Here if you need any help! It might be faster if you ask on Slack and tag us all.

@godofoutcasts94 How's the PR going?

@godofoutcasts94 Bump 👀

Hello @blazejkustra having some queries and discussions on slack with @jjcoffee

@godofoutcasts94 Feel free to tag me if it's a thread on open source channel

@blazejkustra We are just discussing how to write the tests/take screenshots for the PR, so no need for you at this stage I don't think. Will ping you if we have any questions that come up, the PR will hopefully be ready soon!

@godofoutcasts94 has agreed to get the PR ready for review by EOD tomorrow.

Its been over a month with very little progress here. I have gone ahead and after a short discussion in the PR unassigned @godofoutcasts94. Thank you for your help here, we need to move faster to get our focus on more important stuff.

@mountiny  If we still find a contributor, I am happy to take over this issue and create a quick PR

Thank you Dylan, I think we are going with @fabioh8010's team to get this sorted out

Hi, I'm Jakub from Callstack - expert contributor group - and I would like to take a look at this issue.

Hi, I am still working on that, currently I am testing all changes and checking if there aren't any regressions

@kubabutkiewicz We can also ask for a full regression test when opening the PR, would be good to have it.

Discussing in Slack to make sure I'm understanding the correct payment date

@jjcoffee do we need a regression test for this? If so, can you propose the steps?

Payment Summary:
Contributor: @kubabutkiewicz  - does not require payment
Contributor+: @jjcoffee  - $250 - paid via Upwork - PAID

do we need a regression test for this? If so, can you propose the steps?

@johncschuster No I don't think so, since this is an app-wide change.


add autoupdating

pls remove github-api branch

prettier got its hands on the index.tsx file lmafo

call fupdate() in console and see if its only firefox in private mode that freaks out about this.

idk if the new commit works on all browsers, can ya test it @insberr? just run fupdate() in the console

Yeah if cloud flares will loading

Does it not work on the iPads? Or did I break something.

Works in chrome on my iphone so I assume it would work on the iPads too.

not tested lmafo

ill test it and then do you want me to review and merge?

errors errors errors

Schedule renders but then dissappears shortly after it tries to update. Upon looking at the error, it is this according to react

can you just update root without unmounting or something idk lol

ready to merge

It's been doing this check for about an hour now

todo fixes:

add feature to only try reloading 3 times
make autoupdating do a cool thing called not fading in
give up a first born to the code gods
add a toast to the thing so that it says "hey boyo schedule personalizer was just updated!!!!1!!!"

ready to go cause its snowing


Elasticsearch integration tests flakyness

Test method
co.elastic.apm.agent.es.restclient.v6_4.ElasticsearchRestClientInstrumentationIT.verifyTotalHits
Test logs

Click to expand
testDocumentScenario[Async=true](co.elastic.apm.agent.es.restclient.v6_4.ElasticsearchRestClientInstrumentationIT)  Time elapsed: 0.08 sec  <<< FAILURE!
org.opentest4j.AssertionFailedError:

Expecting:
 <2L>
to be equal to:
 <1L>
but was not.
    at co.elastic.apm.agent.es.restclient.v6_4.ElasticsearchRestClientInstrumentationIT.verifyTotalHits(ElasticsearchRestClientInstrumentationIT.java:86)

Results :

Failed tests:
  ElasticsearchRestClientInstrumentationIT>AbstractEs6_4ClientInstrumentationTest.testDocumentScenario:128->verifyTotalHits:86
Expecting:
 <2L>
to be equal to:
 <1L>
but was not.

Additional context

It did not failed recently, thus we can assume that it is solved for now.


ets_ros2: 0.1.1-1 in 'crystal/distribution.yaml' [bloom]

Increasing version of package(s) in repository ets_ros2 to 0.1.1-1:

upstream repository: https://github.com/brunodmt/ets_ros2.git
release repository: https://github.com/brunodmt/ets_ros2-release.git
distro file: crystal/distribution.yaml
bloom version: 0.8.0
previous version for package: null

ets_cpp_client
* Add some more parameters
  Specifically acceleration, engine_running, world_placement (x,y,z,
  heading,pitch,roll)
* Add trailer_connected value
* Add RPM value
* Add missing CMakeLists files
* Initial commit
* Contributors: Bruno Demartino, Hernán Gonzalez

ets_msgs
* Add some more parameters
  Specifically acceleration, engine_running, world_placement (x,y,z,
  heading,pitch,roll)
* Add trailer_connected value
* Add RPM value
* Add missing CMakeLists files
* Initial commit
* Contributors: Bruno Demartino, Hernán Gonzalez

ets_plugin
* Add some more parameters
  Specifically acceleration, engine_running, world_placement (x,y,z,
  heading,pitch,roll)
* Add trailer_connected value
* Add RPM value
* Fixed unused-parameter warnings
* Add missing CMakeLists files
* Initial commit
* Contributors: Bruno Demartino, Hernán Gonzalez

@brunodmt your doc and source entries should usually be your development branch rather than a specific version

@nuclearsandwich yes, thanks! I misunderstood the instructions and figured it out when checking the CI output.
I've closed this PR and started a new one since I'm getting to know Bloom. The new PR still fails, but the error doesn't seem to be related to the changes.


Accessibility issue on combobox

We are using the aXe extension on Chrome to evaluate the accessibility. When using the <Combobox id="search"  ... />, we are seeing the following accessibility error being reported - Invalid ARIA attribute value: aria-controls="search-listbox"
I found that the aria-controls are being generated by the component here
Please include in your issue:

If you are a Salesforce employee? -  Yes. I will be creating an internal ticket.

First, awesome to hear you are running aXe in your App! 👍 💯
If you run it with the listbox(menu open), it should fix the issue. aXe is kind of a static attributes checking tool. If you'd rather not, then you can remove that attributes from the input by default, and add it when the menu is open with a pull request.


away to avoid null pointer dereference at no Debug build

The noticeable build warning at LTO (while tcmalloc is built with -flto -fuse-linker-plugin -ffat-lto-objects and -O3 in this case):
/root/s/gperftools/src/central_freelist.cc: In member function ‘ReleaseToSpans’:
/root/s/gperftools/src/central_freelist.cc:110:13: warning: potential null pointer dereference [-Wnull-dereference]
  110 |   if (span->objects == NULL) {

That is only away to avoid a segmentation (suppose nullptr has happen at no-debug) and to observe the warning: potential null pointer dereference -- It does not resolve a case when or why the object is out of pages map.

as the object is for release, as like the behavior of return on nullptr at void CentralFreeList::ReleaseListToSpans(void* start) https://github.com/gperftools/gperftools/blob/c25941200ef4ce39d0774c1332ff7abfbeab7035/src/central_freelist.cc#L83
The void CentralFreeList::ReleaseToSpans(void* object) https://github.com/gperftools/gperftools/blob/c25941200ef4ce39d0774c1332ff7abfbeab7035/src/central_freelist.cc#L104
can return on span is nullptr as the Static::pageheap()->GetDescriptor(p); is nullptr when nothing to release (out-of-range)
https://github.com/gperftools/gperftools/blob/f7c6fb6c8e99d6b1b725e5994373bcd19ffdf8fd/src/pagemap.h#L94

Other subject for nullptr possibility is the reinterpret_cast that can be changed to static_cast from void* to Span / uintptr_t
https://github.com/gperftools/gperftools/blob/f7c6fb6c8e99d6b1b725e5994373bcd19ffdf8fd/src/page_heap.h#L148
https://github.com/gperftools/gperftools/blob/c25941200ef4ce39d0774c1332ff7abfbeab7035/src/central_freelist.cc#L99

A finding, the Span* MapObjectToSpan(void* object) for not GCC-4.5.0 can be considered for inline ATTRIBUTE_ALWAYS_INLINE  (competes the call-graph inlinement instructions)

Further more, the Span* span evaluation
https://github.com/gperftools/gperftools/blob/c25941200ef4ce39d0774c1332ff7abfbeab7035/src/central_freelist.cc#L105
should/can be before SLL_Next by that guarantees Range is good. (and will have a loop-exit in case the Span is a out-of-range/bad address)
-- Are the facts on the Issue good enough for a pull-request ? (just pre-checking)

Apologies for delay. So you got me confused here. This appears to be unrelated to -flto or -O3. It is caused by -Wnull-dereference which appears to be fairly aggressive and arguably somewhat bogus. Likely, compiler gets confused by layers of "type puning" that inevitably happens in freelists.
In practice objects get to freelist after being tested against sizemap. Well, there is a chance that sized delete will lie to us about object's size and then cause trouble with missing span. But sized delete's future appears to be murky. We don't enable it by default, and apparently nearly everyone too (google runs with it; others probably not).
In any case, testing for null span that late is nearly useless. We cannot continue anyway, so crashing with nullptr reference or explicit assertion failure doesn't buy as much.


virtual hosting ?

I have a few small business owners who are currently using excell to write invoices. I do liked the old siwapp but want to migrate to the new one if i can use it with my hosting (root access is available)
Is there a way to give each client their own siwapp ?
thx

Sure, you can run multiple installations of siwapp in the same server. Just use different virtual hosts that each points to another siwapp installation, with different database.


Page Build Failure

I wasn't able to troubleshoot, due to Jekyll issues on my Ubuntu 14.10 install.
The error email from GitHub is as follows:

The page build failed with the following error:
The file style.scss contains syntax errors. For more information, see >https://help.github.com/articles/page-build-failed-markdown-errors.

You changed the config file to point to the wrong sass directory here: https://github.com/awkwardtechdude/awkwardtechdude.github.io/commit/916c1870cd7a115ec5eff1345aa69d3fb741b1d0#diff-aeb42283af8ef8e9da40ededd3ae2ab2R60
... so style.scss isn't able to import any of the sass partials.
What was the reason behind you doing that? I'd love to fix it if there was confusion somewhere.

I'm sorry for wasting your time.
I had to reinstall Jekyll-Now, so I copied my config and posts and put them in the new install. I don't know why I ever changed that directory.

No problem! Glad that Jekyll Now is useful :)

I saw the problem and fixed it once you pointed out the file
On Mon, Apr 6, 2015 at 4:08 PM, Barry Clark<EMAIL_ADDRESS>wrote:

No problem! Glad that Jekyll Now is useful :)
—
Reply to this email directly or view it on GitHub
https://github.com/barryclark/jekyll-now/issues/159#issuecomment-90244619
.


Python: handle fetching whl files dependencies

Released, and I've re-triggered a Dependabot on the repo that had the issue you tagged us in.
Thanks for the PR! ❤


fix: avoid different imports of the same module (fix #7621)

Description
Fix #7621, #2503

This PR reverts the previous fix in #2848.
This PR is a updated fork of #7845.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

I'm a bit worried about this fix as it removes code from resolve.ts which others may rely on when using pluginContainer.resolveId or config.createResolver. Also I've submitted #9759 which might fix the issue too though I haven't confirmed yet. We'd also want tests for this if others are comfortable of this change.

@bluwy Hi, thanks for your response. I just had a test on https://github.com/meteorlxy/repro-vite-2503 with the current main branch, and the issue is still here.


Feature request: Automatic preloading from selected channels to reduce buffer time

Is your feature request related to a problem? Please describe.
Often when wanting to see something on LBRY it takes quite a while to download. The problem is exacerbated by the fact a user must manually request a file be downloaded for them to access it. From speaking to friends whom I have migrated to LBRY this seems to be their major issue.
Describe the solution you'd like
I'm requesting an option to automatically download (preload) from selected channels, thus as soon as the app notices a new file it would begin downloading it. This requested feature thus reduces buffer time.
I suggest the app preloads files from any, and all, channels the user follows.
Perhaps with a setting to disable this behavior globally at first, then in the future, on a per channel basis.
Additionally it would make sense to automatically delete the files if the user hasn't watched them (after 24h for example) since people tend not to watch everything from all of the channels they follow and might disable this feature if they see it clogging up their disk space.
Furthermore it might be worth considering to only preload a portion (beginning) of a file. This could be especially useful if a user has limited disk space and follows many channels each publishing files of many GB daily. One downside to this feature however is that, speaking from experience, a viewer will be more annoyed by a video stopping halfway through rather than having to a wait a few extra minutes before beginning to watch it.
Describe alternatives you've considered
Additional context
Eventually this could grow to a sort of "autopilot" which automagically picks files to preload based on the recommendations the app already makes for similar files.

Sorry for the trouble with downloads, we're working on improving this for less popular content. This would need to be handled by the SDK that the app runs, and we have an issue filed there for it. We don't have an ETA on when this would be available.

Sorry for the trouble with downloads, we're working on improving this for less popular content. This would need to be handled by the SDK that the app runs, and we have an issue filed there for it. We don't have an ETA on when this would be available.


adds merge write disposition

Examples:

ad hoc pipeline loading ethereum blocks with primary keys declared for parent and child tables in the schema file

import dlt
import yaml
from dlt.common import json

p = dlt.pipeline(destination="postgres", dataset_name="eth_2")

with open("tests/common/cases/schemas/eth/ethereum_schema_v5.yml", "r") as f:
    schema = dlt.Schema.from_dict(yaml.safe_load(f))

with open("tests/normalize/cases/ethereum.blocks.9c1d9b504ea240a482b007788d5cd61c_2.json", "r") as f:
    data = json.load(f)

# make sure we really merge by loading same stuff again
info = p.run(data[1:], table_name="blocks", write_disposition="merge", schema=schema)
print(info)
info = p.run(data, table_name="blocks", write_disposition="merge", schema=schema)
print(info)

adhoc github with ad hoc primary key

import dlt
from dlt.common import json

p = dlt.pipeline(destination="bigquery", dataset_name="github_1", full_refresh=False)

with open("tests/normalize/cases/github.issues.load_page_5_duck.json", "r") as f:
    data = json.load(f)

info = p.run(data[1:], table_name="issues", write_disposition="merge", primary_key="node_id")
print(info)
info = p.run(data, table_name="issues", write_disposition="merge", primary_key="node_id")
print(info)

github with compound merge key, global root key propagation so we can change write disposition from merge and back

import dlt
from dlt.common import json

p = dlt.pipeline(destination="postgres", dataset_name="github_3", full_refresh=False)

@dlt.source(root_key=True)
def github():

    @dlt.resource(table_name="issues", write_disposition="merge", merge_key=("node_id", "url"))
    def load_issues():
        with open("tests/normalize/cases/github.issues.load_page_5_duck.json", "r") as f:
            yield from json.load(f)

    return load_issues

info = p.run(github() )
print(info)
info = p.run(github().load_issues, write_disposition="append")
print(info)
info = p.run(github(), write_disposition="replace" )
print(info)

@adrianbr please see the examples above. does it look good? also there's implementation of merge materialization. I'm using a temp table to hold values to delete. works on all our destinations right now
https://github.com/dlt-hub/dlt/pull/220/files#diff-31abeae9b8b6a76f277e357a739c39c07a3ed406e11e1cb5e8758f45c89e6d05R36


fix(other): enable vitest eslint rules

Motivation
Because of a confusion of [] and {} in file patterns we disabled the linter rules for test files. This change re-adds them.
I discovered this here:
https://github.com/dreammall-earth/dreammall.earth/pull/1356#discussion_r1667782401
TODO

[x] enable Eslint for test files
[x] deactivate unwanted rules in .eslintrc files
[x] adapt unit tests to the activated rules, where necessary

How to test
Nothing to do. Just see the CI.

@mahula OK, I addressed the no-disabled-tests myself. I marked this PR as "Ready to review". It can be merged from my side. What do you think about the toBe(true) vs .toBeTruthy()? Do you think it could cause troubles?

I reverted the truthness and falseness checks to .toBe(true) and .toBe(true).

If you want to merge this PR, feel free to approve and merge.
Great team-work by the way 🙌

Yes,thank you for the good team-work.


How to add X-Kong-Upstream-Status header to response

Trying to understand using the JavaScript PDK and I've written a simple plugin which converts XML from a legacy web service to JSON.  It seems to be working for the most part, but I'm seeing a message in the Kong logs after the plugin executes:
2021/09/04 09:23:31 [error] 34#0: *66 [lua] handler.lua:1487: before(): failed to set X-Kong-Upstream-Status header while sending to client, client: <IP_ADDRESS>, server: kong, request: "POST /vsedws/FindUser HTTP/1.1", host: "localhost:8000"

I've noted that the other X-Kong-* headers like X-Kong-Upstream-Latency and X-Kong-Proxy-Latency are still passing thru to the client, but not X-Kong-Upstream-Status.  I've tried adding it myself in the response(kong) method:
kong.response.addHeader("X-Kong-Upstream-Status", await kong.service.response.getStatus());

But this doesn't seem to work.  I can add other headers, e.g.:
kong.response.addHeader("foo", "bar");

I was even able to add it if I change the name to "Kong-Upstream-Status" and also added a header called "X-Kong-foo", so it seems that it's the fact that it's X-Kong-Upstream-Status.  Also, don't understand why other X-Kong-* headers seem to be passing thru unmolested, but this one is stripped out by the existence of this plugin.
Is that just a limitation of the PDK, or am I missing something?

Actually, I just tried something which had an effect ... in the startup for Kong, we include this setting:
-e "KONG_HEADERS=X-Kong-Proxy-Latency, X-Kong-Response-Latency, X-Kong-Upstream-Latency, X-Kong-Upstream-Status, X-Kong-Admin-Latency" \

This is because for security reasons, we want to ensure Kong does not include the "Via" header to clients (so they don't know they are talking to Kong).  My understanding about this setting is that it tells Kong which are the "legal" headers to send to a client.  When I removed this from the startup, now I'm seeing the X-Kong-Upstream-Status header that my plugin is adding.  But I don't understand why the other "legal" headers like X-Kong-Upstream-Latency went through OK, and what is the connection between this setting and a bespoke plugin that tried to set one of the headers.

@sec23206 In which phase is your plugins setting the header?

@sec23206 In which phase is your plugins setting the header?

In the response phase.

I feel like reponse phase is the reason but haven't verified. Although as it's name suggested, response phase
is not actually what Kong is producing responses. It's more for plugins that requires to do some mutation or inspecting
of the response body. But access may just be too early for your use case. In Lua Kong you can use header_filer but they
are not part of JS PDK.
Could you print the result of await kong.service.response.getStatus() in the same phase?