Error (Xcode): Framework not found FMDB

Steps to reproduce
The error started appear after I updated flutter to 3.24.3 in order to install youtube_player_flutter, and resolved conflicts and stuff.
I don't to remember all the steps...
After misoraneous attempts, conflicts have been resolved. flutter pub get works.
But flutter run to an iOS device or flutter build ios fails.
What I tried:

Removed the youtube_player_flutter
flutter clean, upgrade, pub get
Deleting Derived Data, and flutter clean

Other flutter projects are working just fine. Only this one project is facing the issue.
Running to Web platform works fine.
Expected results
Run the app on iOS device.
Actual results
Could not build the precompiled application for the device.
Error (Xcode): Framework not found FMDB
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Error launching application on my iPhone11.
Code sample
my Podfile looks like this:
Code sample
platform :ios, '16.0'

$iOSVersion = '16.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  pod 'FirebaseCoreExtension', '11.3'

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  #target 'RunnerTests' do
  #  inherit! :search_paths
  #end
end

post_install do |installer|
  # fix xcode 15 DT_TOOLCHAIN_DIR - remove after fix oficially - https://github.com/CocoaPods/CocoaPods/issues/12065
  installer.aggregate_targets.each do |target|
      target.xcconfigs.each do |variant, xcconfig|
      xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
      IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
      end
  end

  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      flutter_additional_ios_build_settings(target)
      if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
          xcconfig_path = config.base_configuration_reference.real_path
          IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
      end
    end
  end
end

Removing pod 'FirebaseCoreExtension', '11.3' causes this error:
https://github.com/firebase/flutterfire/issues/13527
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
Automatically signing iOS for device deployment using specified development team in Xcode project:
9N3857N23W
Running Xcode build...
 └─Compiling, linking and signing...                         3.2s
Xcode build done.                                           44.5s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): Framework not found FMDB

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Error launching application on Tenna’s iPhone11.

Flutter Doctor output
Doctor output
% flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.1.1 23B81 darwin-arm64, locale ja-JP)
    • Flutter version 3.24.3 on channel stable at /Users/tenna/developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (6 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/tenna/Library/Android/sdk
    • Platform android-35, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.94.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (8 available)
    • Tenna’s iPhone11 (mobile)       • 00008030-0012304A01D3402E                • ios            • iOS
      17.6.1 21G93
    • tenna’s iphone15 (mobile)       • 00008120-00120DDA1E10A01E                • ios            • iOS 18.1
      22B5075a
    • Tenna’s iPad (mobile)           • d1802c9bcfe7b9b836383ca90361f9c15180f21e • ios            • iOS
      17.6.1 21G93
    • Tenna’s iPad (2) (mobile)       • 00008101-0015198A28782C3A                • ios            • iOS
      17.5.1 21F90
    • Sota’s iPad (mobile)            • 00008030-0011253134E0C02E                • ios            • iOS
      17.6.1 21G93
    • macOS (desktop)                 • macos                                    • darwin-arm64   • macOS
      14.1.1 23B81 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                    • darwin         • macOS
      14.1.1 23B81 darwin-arm64
    • Chrome (web)                    • chrome                                   • web-javascript • Google
      Chrome 130.0.6723.59

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Current pubspec.yaml
environment:
  sdk: '>=3.0.0 <4.0.0'

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  google_sign_in: ^6.2.1
  sign_in_with_apple: ^6.1.3
  cupertino_icons: ^1.0.2
  url_launcher: ^6.1.6
  syncfusion_flutter_charts: ^27.1.55
  path_provider: ^2.0.11
  http: ^1.2.2
  shared_preferences: ^2.0.15
  keyboard_actions: ^4.1.0
  image_picker: ^1.1.2
  font_awesome_flutter: ^10.4.0
  dotted_border: ^2.0.0+3
  page_transition: ^2.0.9
  package_info_plus: ^8.1.0
  permission_handler: ^11.3.1
  in_app_review: ^2.0.6
  loading_animation_widget: ^1.2.0+4
  flutter_localization: ^0.2.2
  google_fonts: ^6.2.1
  app_tracking_transparency: ^2.0.4
  crypto: ^3.0.3
  camera: ^0.11.0+2
  pie_chart: ^5.4.0
  intl: ^0.19.0
  universal_html: ^2.2.3
  image: ^4.0.17
  statistics: ^1.0.25
  flutter_local_notifications: ^17.2.3
  timezone: ^0.9.2
  path: ^1.8.3
  csv: ^6.0.0
  share_plus: ^10.1.0
  device_info_plus: ^11.1.0
  blur: ^4.0.0
  infinite_listview: ^1.1.0
  flutter_launcher_icons: ^0.14.1
  sliding_up_panel: ^2.0.0+1
  hovering: ^1.0.4
  provider: ^6.1.2
  local_auth: ^2.3.0
  flutter_screen_lock: ^9.1.0
  hooks_riverpod: ^2.5.4
  freezed_annotation: ^2.4.4
  state_notifier: ^1.0.0
  app_settings: ^5.1.1
  #youtube_player_flutter: ^9.0.4
  google_mlkit_image_labeling: ^0.13.0
  firebase_core: ^3.6.0
  firebase_auth: ^5.3.1
  cloud_firestore: ^5.4.4
  firebase_analytics: ^11.3.3
  firebase_storage: ^12.3.4

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^5.0.0

I removed FMDB reference from build settings. it's working now.

I removed FMDB reference from build settings. it's working now.

Please how did you do this, i searched FMDB under build settings but nothing came up :(


⚠ Bofrost.at has degraded performance

In 45f8078, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2353 ms

Resolved: Bofrost.at performance has improved in 6beed4f after 16 minutes.


[Suggestion] Disable the 'Restart' and 'Stop' actions after stopping the web app

OS: Win 10
Build Version: 20200425.1
Repro Steps:

Create a web app.
Right click it and execute 'Stop' action.
Check the context menu.

Actual:
The 'Restart' and 'Stop' actions are enabled.
Suggestion:
Disable the 'Restart' and 'Stop' actions, keep consistent with portal.

Related to https://github.com/microsoft/vscode-azurefunctions/issues/1944

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Dataframe API v2 #2: MVP implementation

A first implementation of the new dataframe APIs.
The name is now very misleading though: there isn't anything dataframe-y left in here, it is a row-based iterator with Rerun semantics baked in, driven by a sorted streaming join.
It is rather slow (related: https://github.com/rerun-io/rerun/pull/7558#issuecomment-2386473697), lacks many features and is full of edge cases, but it works.
It does support dedupe-latest semantics (slowly), view contents and selections, chunk overlaps, and pagination (horribly, by virtue of implementing Iterator).
It does not support Clears, nor latest-at sparse-filling, nor PoVs, nor index sampling. Yet.
Upcoming PRs will be all about fixing these shortcomings one by one.
It should look somewhat familiar:
let query_cache = QueryCache::new(store);
let query_engine = QueryEngine {
    store,
    cache: &query_cache,
};

let mut query = QueryExpression2::new(timeline);
query.view_contents = Some(
    query_engine
        .iter_entity_paths(&entity_path_filter)
        .map(|entity_path| (entity_path, None))
        .collect(),
);
query.filtered_index_range = Some(ResolvedTimeRange::new(time_from, time_to));
eprintln!("{query:#?}:");

let query_handle = query_engine.query(query.clone());
// eprintln!("{:#?}", query_handle.selected_contents());
for batch in query_handle.into_batch_iter().skip(offset).take(len) {
    eprintln!("{batch}");
}

No tests until we have the guarantee that these are the semantics we will commit to.

Part of #7495
Requires #7559

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!
[x] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

We've integrated all of this in @abey79's work-in-progress dataframe-view -- everything works semantics-wise.
Next steps (future PRs):

implement all missing features
make it fast
minimal testing


contact previous chapters-projects to sponsor

contacted Denver, BeNeLux, Germany, SAMM, ZAP and the london chapter - crossing fingers!


[problem] external library support in Grafana Cloud

When installing Dynamic Text Panel in Grafana, I had to set DISABLE_HTML_SANITIZE=true in a config file. That helps me to add external libraries working in Dynamic Text Panel. But my question is, how do I implement it on Grafana Cloud? I searched everywhere but found nothing.

@Md-Hasib-Askari You need to open a support ticket to ask to disable sanitize in the Grafana Cloud.
In future Grafana version you should be able to modify Settings using UI and support ticket won't be required.


[Issue #194] added validation of contract abi param

What was wrong?
abi param in web3.eth.contract needed validations as per Issue #194
How was it fixed?
Added validations to web3.eth.contract
Added tests cases to contracts/test_legacy_constructor_adapter.test_process_legacy_constructor_signature
Cute Animal Picture

😄 !  This looks great.  Assuming CI passes I'll get this merged and released.  Thanks for the contribution.

Looks like the first build failed due to "too many blank lines (2)".
Can you point me to a resource to do these style checks locally?

@djrtwo The style checks are pep8, the somewhat defacto style guide for python.  You can read the spec here. https://www.python.org/dev/peps/pep-0008/
You can check locally by installing flake8 with pip install flake8 and then running $ flake8 populus/ and it'll spit out all the linting errors.
Alternatively you can do it with tox with tox -e flake8.


(FACT-2747-scope6) Allow scope6 to be blocked on all platforms

Allow scope6 to be blocked on all platforms. Add scope6 on windows.

CLA signed by all contributors.


Fix translation page link

Thanks!

We need the .html on the live documentation: https://marmelab.com/admin-on-rest/Ecosystem.html
@djhi @Phocea

It seems that Jekyll do the job ! Don't mind my comment.

@Kmaschta Yes i was checking on this yesterday, since there is quiet a few, but Jekyll is handling it. i will fix the others I spotted


created scaffold for started recipes db

Description

https://trello.com/c/OwcKgWQW/3-create-a-basic-data-model-for-recipe-table

Changed project db from sqlite to psql. Altered Gemfile, replaced  sqlite gem with pg.
To switch application to use psql and update database.yml file I ran.
rails db:system:change --to=postgresql
Restarted psql server
sudo service postgresql restart
Went into psql user console
psql -d mame_zefu_development -U smitty -W
Switched connection to mame_zefu_database
\c
Generated Scaffold for Recipes
rails generate scaffold Recipes name:string ingredients:text directions:text
Finished with rails db:migrate
I tested application in local server. I am able to create, update, destroy recipes. As well as in rails console.

Testing

I struggled with getting psql to work, so had to research a bit with psql commands. Once I was able to create a database and assign a user to the correct port. I was able to run migrations and test forms. I created a couple recipes, edited both and destroyed one. Changes reflected when I tested in the rails console for Recipe.all

@CodeSmitty Thanks for taking the time to fill out the Description and Testing sections of the PR ❤
Did you make any manual changes to the controller or view files? I suspect that the only manual edit you made with this change is the database user, is that correct?


Api service isn't started when deploying the first time.

For an unknown reason, the kube-api service is not started when deploying the first time.

I just moved a task and it seems it did the trick  :)
I've run the playbook on 2 brand new clusters twice and everything worked as expected.
@ant31 could you please test the branch again ?

Solved


[11.x] After Laravel 11.24.0 commands in app/Console/Commands are not auto-registered

Laravel Version
11.24.0
PHP Version
8.2.23
Database Driver & Version
mysql  Ver 8.0.36 for Linux on x86_64 (MySQL Community Server - GPL)
Description
PR #52867 introduced a change to verify if the routes/console.php file exists. After this change, the commands in app/Console/Commands are not auto-registered anymore, if both the routes/console.php, and commands in app/Console/Commands exist.
Steps To Reproduce
Public repo:
https://github.com/rodrigopedra/bug-report-laravel-11-24
Instructions are in the README
Previously, I was manually registering the routes/console.php file

@rodrigopedra Sorry, that's my bad. I created a PR to fix this.

Don't worry =)
No production servers were harmed. At least not on my deployment =)
I rushed to let them know as I imagine it could break some people's apps that depend on scheduled commands, or have a crontab calling any custom command directly

After the release of the new version, I found that my Commands were invalid, I wrote them all in App\Console\Commands, and it was all such a coincidence
My own temporary solution: register commands by providing the command's class name to the withCommands method
<?php

use App\Console\Commands\CalculateFee;
use App\Console\Commands\DropAllTables;
use App\Console\Commands\PayFee;
use App\Console\Commands\RefreshYearAnalyse;
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

return Application::configure(basePath: dirname(__DIR__))
    ->withRouting(
        web: __DIR__ . '/../routes/web.php',
        commands: __DIR__ . '/../routes/console.php',
        health: '/up',
    )
    ->withMiddleware(function (Middleware $middleware) {
        //
    })
    ->withExceptions(function (Exceptions $exceptions) {
        //
    })
    ->withCommands([
        CalculateFee::class,
        DropAllTables::class,
        PayFee::class,
        RefreshYearAnalyse::class,
    ])
    ->create();

Fortunately, everything found in the development environment.Wait for specific solutions ^.^

My project has also problems with the same thing.

You can add the following to bootstrap/app.php to re-enable normal behavior until this is fixed.
->withCommands([         __DIR__.'/../app/Console/Commands',     ])

Can confirm this :+1:

yup got this issue

@SamuelNitsche shoudn't a fix contain a test case for this bug?

@SamuelNitsche shoudn't a fix contain a test case for this bug?

Ideally the whole ApplicationBuilder itself would be covered by tests. However this isn't the case and I unfortunately wasn't sure how to properly test this. I guess Taylor wasn't sure either while developing it.

@SamuelNitsche shoudn't a fix contain a test case for this bug?

Ideally the whole ApplicationBuilder itself would be covered by tests. However this isn't the case and I unfortunately wasn't sure how to properly test this. I guess Taylor wasn't sure either while developing it.

i think this case should be covered with integration test somewhere in https://github.com/laravel/framework/tree/11.x/tests/Integration/Console

Add this in bootstrap/app:
->withCommands([
DIR.'/../routes/console.php',
DIR.'/../app/Console/Commands',
])

So... it was reverted and it is not fixed?? Should this be reopend?

Yes it was fixed

I think not: click on the PR, scroll down... read: "this PR has been reverted due to breaking change with existing application."
I'm still manually bootstrapping at the moment.

Any update on this? I've tried couple of solutions for this problem from this issue but I can't make it work, my commands are still not discovered by Laravel.


First Run Flow

Update and implement the first run flow, including claiming the email verification reward.

[ ] ask if creators want to sync a youtube channel on channel creation page instead. Make a note about 300 sub min somewhere.
[ ] Autofollow odysee / odyseehelp channels
[ ] suggested channel follows (trending + primary category)
[ ] handle case where email verification failed, prompt for rewards approval and don't ask channel creation (but still ask YT sync)
[ ] show which characters are not allowed in a channel name

@ktprograms these 2 above are probably good to knock out. This would only be shown during sign up, never on sign in. I believe the suggested channels should be the same as the follower discover list - those claim ids come from the PRIMARY_CONTENT section of the content get call. The sort should be: order_by: ["trending_group", "trending_mixed"]

@tzarebczan Suggested channels are already shown on Follow page if not following, do you mean it should be added as a step to the sign up flow?

Would it be better to just put @Odysee and @OdyseeHelp channels at the top of the suggested list instead of automatically following them?

@tzarebczan Suggested channels are already shown on Follow page if not following, do you mean it should be added as a step to the sign up flow?

yes

Would it be better to just put @Odysee and @OdyseeHelp channels at the top of the suggested list instead of automatically following them?

I like that idea also, let's give it a shot.
Another first run item I missed: channel creation if they skip youtube sync. This requires calling the email_verified reward, and making sure it goes through...then the balance should update and you can create a channel.

@ktprograms will push up some existing code he had for improvements here


Log tags hash gets serialized instead of appended into log output

Environment
Ruby: 2.5.1, 2.4.3
Rails: 5.1.6, 5.1.5
Rails Semantic Logger: 4.2.1
Puma: 3.11.3
application.rb config:
config.log_level = :info

config.log_tags = {
    request_id: :request_id,
    ip:         :remote_ip,
    user:       -> request { request.cookie_jar['login'] }
}

config.rails_semantic_logger.semantic   = true
config.rails_semantic_logger.started    = false
config.rails_semantic_logger.processing = false
config.rails_semantic_logger.rendered   = false

Expected Behavior
Using the configuration above, I would expect the log tags to be appended to the log output.
Actual Behavior
Seems that the log_tags hash just gets serialized via to_s and prepended to the log output.
2018-04-08 14:44:17.288342 I [98222:puma 004] [[[:request_id, :request_id], [:ip, :remote_ip], [:user, #<Proc:0x00007fa40d7e0a50@/Users/tpesut/mindleaps/tracker/config/application.rb:41 (lambda)>]]] (239.9ms) StudentsController -- Completed #show -- { :controller => "StudentsController", :action => "show", :params => { "id" => "204" }, :format => "HTML", :method => "GET", :path => "/students/204", :status => 200, :view_runtime => 216.52, :rendered_format => :html, :variant => [], :db_runtime => 3.17, :status_message => "OK" }

This is in line with the default Rails log_tags configuration, since it really expects an array of symbols that correspond to request methods and everything else gets serialized; however, since Semantic logger specifically mentions the log_tags hash in the documentation, I would expect it to behave differently.

Changes have been made in master to replace several builtin Rails subscribers instead of patching them. It should help with the ongoing patching issues and loading order.
Give master a try locally and let us know if you run into any issues.

Reproduced and fixed in master. Once we get confirmations that master is working for everyone, we will publish a new gem.

Thanks for your work on this. Works great now.

Is this resolved?
I am trying 4.3.1 and it seems that I can't see the named_tags in the json output.


backup_upload_connection doesn`t support endpoint

Thanks for role gitlab
I try backup to Digital Ocean Spaces S3
https://docs.gitlab.com/ee/raketasks/backup_restore.html#digital-ocean-spaces
But gitlab_rails_backup_upload_connection don`t have endpoint

I am sorry. I search in readme.md
May be rollback https://github.com/buluma/ansible-role-gitlab/commit/457174a47dde87090098f444d7aac0839c4b7d7d
and add info to  readme.md ?

Hm. it is strange. readme contain gitlab_rails_backup_upload_connection. I think need close this issue.

yes, I noticed that in testing. release coming up shortly

1.0.8 is available for testing


Startup time 30 seconds with all extensions disabled

With all extensions disabled, loading vscode 1.81.1 takes about 30 seconds. I am on Arch Linux with an i7-1165G7. The window appears quite quickly, then the explorer pan shows a little horizontal loading indicator at the top, and I get a "Visual Studio Code is not responding" dialog with buttons "Wait" and "Force Quit". After about 30 seconds the issue resolves and I can use vscode like normal. This is with all extensions disabled.

I have followed the instructions suggested in your Performance Issues wiki page. Interestingly, running "vscode --status" in the terminal during these 30 seconds also hangs -- the terminal just sits there with no output until the vscode window unfreezes. After that point it shows this:
$ code --status
Version:          Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:18:39.991Z)
OS Version:       Linux x64 6.3.7-arch1-1
CPUs:             11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 1231)
Memory (System):  15.41GB (9.63GB free)
Load (avg):       1, 1, 1
VM:               0%
Screen Reader:    no
Process Argv:     . --crash-reporter-id b569929a-8c9f-4214-836e-391417537f38
GPU Status:       2d_canvas:                              enabled
                  canvas_oop_rasterization:               disabled_off
                  direct_rendering_display_compositor:    disabled_off_ok
                  gpu_compositing:                        enabled
                  multiple_raster_threads:                enabled_on
                  opengl:                                 enabled_on
                  rasterization:                          enabled
                  raw_draw:                               disabled_off_ok
                  video_decode:                           enabled
                  video_encode:                           disabled_software
                  vulkan:                                 disabled_off
                  webgl:                                  enabled
                  webgl2:                                 enabled
                  webgpu:                                 disabled_off

CPU %	Mem MB	   PID	Process
    0	   142	544456	code main
    0	    47	544462	   zygote
    0	   126	544496	     gpu-process
    0	    47	544463	   zygote
    0	     0	544465	     zygote
    0	   268	544539	window [1] (Welcome - schmachtenbot - Visual Studio Code)
    0	    63	544519	   utility-network-service
    0	   158	544563	shared-process
    0	    79	544630	fileWatcher [1]
    0	   126	544640	extensionHost [1]

Workspace Stats:
|  Window (Welcome - schmachtenbot - Visual Studio Code)
|    Folder (schmachtenbot): 60 files
|      File types: go(11) jsonl(6) txt(5) encrypted(4) md(2) json(2) bin(1)
|                  gcloudignore(1) gitignore(1) html(1)
|      Conf files: dockerfile(1) makefile(1)

Running code --prof-startup gives an error:
$ code --prof-startup
FAILED to start profiling for 'extHost' on port '4550'

prof-47vOJUhB.main.cpuprofile.txt
prof-47vOJUhB.renderer.cpuprofile.txt
System Info

Code: 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794)
OS: linux(6.3.7-arch1-1)
CPUs: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz(8 x 3498)
Memory(System): 15.41 GB(9.76GB free)
Memory(Process): 191.48 MB working set(108.56MB private, 0.13MB shared)
VM(likelihood): 0%
Initial Startup: true
Has 0 other windows
Screen Reader Active: false
Empty Workspace: false

Performance Marks

What
Duration
Process
Info

start => app.isReady
95
[main]
initial startup: true

nls:start => nls:end
0
[main]
initial startup: true

require(main.bundle.js)
87
[main]
initial startup: true

start crash reporter
2
[main]
initial startup: true

serve main IPC handle
2
[main]
initial startup: true

create window
23
[main]
initial startup: true, state: 0ms, widget: 23ms, show: 0ms

app.isReady => window.loadUrl()
140
[main]
initial startup: true

window.loadUrl() => begin to require(workbench.desktop.main.js)
176
[main->renderer]
NewWindow

require(workbench.desktop.main.js)
523
[renderer]
cached data: NO, node_modules took 0ms

wait for window config
2
[renderer]
-

init storage (global & workspace)
16
[renderer]
-

init workspace service
29
[renderer]
-

register extensions & spawn extension host
25169
[renderer]
-

restore viewlet
10
[renderer]
workbench.view.explorer

restore panel
0
[renderer]
-

restore & resolve visible editors
53
[renderer]
1: workbench.editors.gettingStartedInput

overall workbench load
230
[renderer]
-

workbench ready
1202
[main->renderer]
-

renderer ready
794
[renderer]
-

shared process connection ready
0
[renderer->sharedprocess]
-

extensions registered
26423
[renderer]
-

Terminal Stats

Name
Timestamp
Delta
Total

code/terminal/willGetTerminalBackend
1691932163537
0
0

code/terminal/didGetTerminalBackend
1691932163537
0
0

code/terminal/willReconnect
1691932163537
0
0

code/terminal/willGetTerminalLayoutInfo
1691932163537
0
0

code/terminal/didGetTerminalLayoutInfo
1691932188367
24830
24830

code/terminal/didReconnect
1691932188367
0
24830

code/terminal/willReplay
1691932188367
0
24830

code/terminal/didReplay
1691932188367
0
24830

code/terminal/willGetPerformanceMarks
1691932188367
0
24830

code/terminal/didGetPerformanceMarks
1691932188406
39
24869

Raw Perf Marks: main
Name	Timestamp	Delta	Total
code/timeOrigin<PHONE_NUMBER>099.687	0	0
code/didStartMain<PHONE_NUMBER>228<PHONE_NUMBER>8125<PHONE_NUMBER>8125
code/willStartCrashReporter<PHONE_NUMBER>235	7<PHONE_NUMBER>8125
code/didStartCrashReporter<PHONE_NUMBER>237	2<PHONE_NUMBER>8125
code/mainAppReady<PHONE_NUMBER>323	86<PHONE_NUMBER>8125
code/willGenerateNls<PHONE_NUMBER>323	0<PHONE_NUMBER>8125
code/willLoadMainBundle<PHONE_NUMBER>323	0<PHONE_NUMBER>8125
code/fork/willLoadCode<PHONE_NUMBER>335	12<PHONE_NUMBER>8125
code/registerFilesystem/file<PHONE_NUMBER>403	68<PHONE_NUMBER>8125
code/registerFilesystem/vscode-userdata<PHONE_NUMBER>404	1<PHONE_NUMBER>8125
code/didLoadMainBundle<PHONE_NUMBER>410	6<PHONE_NUMBER>8125
code/willStartMainServer<PHONE_NUMBER>418	8<PHONE_NUMBER>8125
code/didStartMainServer<PHONE_NUMBER>420	2<PHONE_NUMBER>8125
code/willCreateCodeWindow<PHONE_NUMBER>438	18<PHONE_NUMBER>8125
code/willRestoreCodeWindowState<PHONE_NUMBER>438	0<PHONE_NUMBER>8125
code/didRestoreCodeWindowState<PHONE_NUMBER>438	0<PHONE_NUMBER>8125
code/willCreateCodeBrowserWindow<PHONE_NUMBER>438	0<PHONE_NUMBER>8125
code/didCreateCodeBrowserWindow<PHONE_NUMBER>461	23<PHONE_NUMBER>8125
code/didCreateCodeWindow<PHONE_NUMBER>461	0<PHONE_NUMBER>8125
code/willOpenNewWindow<PHONE_NUMBER>463	2<PHONE_NUMBER>8125

This looks rather concerning:

@sandy081 OK, but just FYI when originally I pasted them all into github I got a github error "message content too long".

@sandy081 Here are the perfmarks, which I have to upload as a file because its size is 457,000 characters and github only allows 65,000 characters in a comment.
perfmarks.txt

code/willLoadExtensions<PHONE_NUMBER>888	30	907
code/terminal/willGetTerminalBackend<PHONE_NUMBER>930	42	949
code/terminal/didGetTerminalBackend<PHONE_NUMBER>930	0	949
code/terminal/willReconnect<PHONE_NUMBER>930	0	949
code/terminal/willGetTerminalLayoutInfo<PHONE_NUMBER>930	0	949
code/willConnectSharedProcess<PHONE_NUMBER>647	1717	2666
code/LifecyclePhase/Restored<PHONE_NUMBER>859	212	2878
code/willCreateWorkbenchContributions/3<PHONE_NUMBER>859	0	2878
code/registerFilesystem/vscode-edit-sessions<PHONE_NUMBER>900	41	2919
code/didCreateWorkbenchContributions/3<PHONE_NUMBER>909	9	2928
code/LifecyclePhase/Eventually<PHONE_NUMBER>378	2469	5397
code/willCreateWorkbenchContributions/4<PHONE_NUMBER>380	2	5399
code/didCreateWorkbenchContributions/4<PHONE_NUMBER>402	22	5421
code/terminal/didGetTerminalLayoutInfo<PHONE_NUMBER>790	20388	25809

Pasting the section of perf marks that shows a duration of 20s. Assigning to @Tyriar as didGetTerminalLayoutInfo perf mark is reported after 20s. I cannot confirm if this has caused but this could be a probable guess.

Things still happen between code/terminal/willGetTerminalLayoutInfo and code/terminal/didGetTerminalLayoutInfo:
code/terminal/willGetTerminalLayoutInfo<PHONE_NUMBER>930	0	949
code/willConnectSharedProcess<PHONE_NUMBER>647	1717	2666
code/LifecyclePhase/Restored<PHONE_NUMBER>859	212	2878
code/willCreateWorkbenchContributions/3<PHONE_NUMBER>859	0	2878
code/registerFilesystem/vscode-edit-sessions<PHONE_NUMBER>900	41	2919
code/didCreateWorkbenchContributions/3<PHONE_NUMBER>909	9	2928
code/LifecyclePhase/Eventually<PHONE_NUMBER>378	2469	5397
code/willCreateWorkbenchContributions/4<PHONE_NUMBER>380	2	5399
code/didCreateWorkbenchContributions/4<PHONE_NUMBER>402	22	5421
code/terminal/didGetTerminalLayoutInfo<PHONE_NUMBER>790	20388	25809

Not sure why the window is locking up and saying it's non-responsive, but I'd guess processes are taking abnormally long to spawn. @deepak1556 any tips on how we could dig into this further?

@alexflint can you perform the following steps to help us get a runtime trace,

Closing all running instances of VSCode
Start the a new instance with the following arguments code --trace --trace-category-filter="base,benchmark,browser,evdev,ipc,latency,mojom,shell,startup,toplevel,v8,disabled-by-default-base,disabled-by-default-cpu_profiler,disabled-by-default-lifecycles,disabled-by-default-mojom,disabled-by-default-system_stats"
Once the editor is fully loaded, open command palette  and run Developer: Stop Tracing, this will generate a trace and provide you the path at which the trace was saved. Attach it to this issue thread.
Before exiting VSCode, from terminal run code --status and attach its output as well

Actually the terminal layout timing must be a side effect and not the root issue, looking at the main profile https://github.com/microsoft/vscode/issues/190360#issue-1848592440 the main process is stuck for 25s in https://github.com/microsoft/vscode/blob/5f7b620db8ec603453798554a6596a7ad608fb3e/src/vs/platform/encryption/electron-main/encryptionMainService.ts#L63-L65 which would explain the slow child process launches etc

The particular api calls into the runtime https://source.chromium.org/chromium/chromium/src/+/main:components/os_crypt/sync/os_crypt_linux.cc;l=323-337 which basically tries to establish connection with possible storage backends and returns the result. There are no tracing logs in this code path so hard to debug.
@alexflint please ignore the steps from https://github.com/microsoft/vscode/issues/190360#issuecomment-1702134731 as they are not useful anymore given the newer findings, instead can you provide the results of the following

Does the slow startup get addressed when you launch with code --password-store="basic"
Can you provide the output of code --verbose --vmodule="*/components/os_crypt/*=1"

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

same error here

@a4addel please open a separate issue with the perf marks and startup profile following the steps from https://github.com/microsoft/vscode/wiki/Performance-Issues#visual-studio-code-starts-up-slowly.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Hey @deepak1556 @TylerLeonhardt, this issue might need further attention.
@alexflint, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Jup, I have the same issue. I reported all diagnostics data here: https://github.com/microsoft/vscode/issues/204243#issuecomment-1946242783

See https://github.com/microsoft/vscode/issues/188397#issuecomment-2009044038 for permanent solution regarding --password-store=basic

In my case, it was GPU related: https://github.com/microsoft/vscode/issues/204243
The issue only occured when the dedicated Nvidia GPU was disabled.

For posterity, the issue here was in chrome. If you start chrome on linux when gnome-keyring is absent, it hangs for 30 seconds trying to connect to the keyring. For example, if you install chrome on arch linux with a bare-bones install of gnome (i.e. not installing all gnome components but only the minimal desktop environment) then this issue will arise. Since vscode makes use of chrome, that's where it comes from. The command line arguments --password-store=basic work around this default behavior at the chrome level.


Training schedule of the VGG16 with no BN.

Hi. I am trying to train the vgg-16 model without batch normalization.
I notice that the official model has a top1 accuracy above 70%. Can I know what is the training schedule of the vgg? For example, the learning rate, batch size and weight decay.

@fmassa Hi! Thanks for the information.


Upgrade from alpha to next major versions

According to @bdarnell, you have to upgrade from any alpha/beta to a final release before you can upgrade to the next branch. This isn't clear in the docs: https://www.cockroachlabs.com/docs/v19.1/upgrade-cockroach-version.html.

You don't have to be on the latest 19.1.x, just an actual release instead of a beta
We should add an explicit statement that you should upgrade from alpha/beta/rc to the corresponding final release ASAP and at a minimum before upgrading to the next major release.


Invalid pathToRoot for missing required field validation error

Validation error reports invalid path (one segment missing) for missing required field validation error.
See code below to compare how it looks like for invalid field type vs missing field.
  sealed trait A

  case class AA(a: Int) extends A

  case class X(a1: AA, a2: A)

  implicit val aaCodec: Codec[AA] = io.circe.generic.semiauto.deriveCodec
  implicit val aCodec: Codec[A] = io.circe.generic.semiauto.deriveCodec
  implicit val xCodec: Codec[X] = io.circe.generic.semiauto.deriveCodec

  println(X(AA(1), AA(2)).asJson.noSpaces) //{"a1":{"a":1},"a2":{"AA":{"a":2}}}

  // similar input; in first `a1.a` has invalid type, in second `a1.a` is missing
  val input1 = json"""{"a1":{"a":true},"a2":{"AA":{"a":2}}}""" // invalid type
  val input2 = json"""{"a1":{},"a2":{"AA":{"a":2}}}""" // missing required field
  println(input1.as[X]) // Left(DecodingFailure at .a1.a: Int)
  println(input2.as[X]) // Left(DecodingFailure at .a: Missing required field) - path should be as above

  // same here, just with additional nest level
  val input3 = json"""{"a1":{"a":1},"a2":{"AA":{"a":true}}}""" // invalid type
  val input4 = json"""{"a1":{"a":1},"a2":{"AA":{}}}""" // missing required field
  println(input3.as[X]) // Left(DecodingFailure at .a2.AA.a: Int)
  println(input4.as[X]) // Left(DecodingFailure at .a2.a: Missing required field)  - path should be as above

It seems that cursor history in the DecodingFailure is fine, its pathToRoot which is wrong. See another simplified sample below
  @JsonCodec case class Z(z: Int)
  @JsonCodec case class Y(y: Z)
  @JsonCodec case class X(x: Y)

  println(X(Y(Z(1))).asJson.noSpaces) // {"x":{"y":{"z":1}}}
  println(json"""{"x":{"y":{}}}""".as[X]) //Left(DecodingFailure at .x.z: Missing required field)

  // clears pathToRoot using path from cursor history
  def patch[T](a: Either[DecodingFailure, T]) = a.swap.map(a => DecodingFailure(a.reason, a.history)).swap

  println(patch(json"""{"x":{"y":{}}}""".as[X])) //Left(DecodingFailure at .x.y.z: Missing required field)

This looks fixed in https://scastie.scala-lang.org/VIHpGGwQRQCnuDwNRWqhKA


Automated project now working

Updated to pipelines v2:

Pipeline server
Elyra secret
Elyra rolebinding
DS connection to use route

Note: Currently using wrong notebook image, needs to update after the imagepuller has been fixed

#113

lgtm


File not found error while generating stuffthingmaps_detectron2

Hi zsseg team,
I'm trying to run the experiment. I downloaded the cityscapes, ade20k and pcontext. I am stuck with coco datasets where I am unable to proceed to next step while generating stuffthingmaps_detectron2. I was able to get through training set but as soon as it starts t mask the val set. it generates below error. Please look into this and help me
 python prepare_coco_stuff_164k_sem_seg.py coco
{0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 12: 11, 13: 12, 14: 13, 15: 14, 16: 15, 17: 16, 18: 17, 19: 18, 20: 19, 21: 20, 22: 21, 23: 22, 24: 23, 26: 24, 27: 25, 30: 26, 31: 27, 32: 28, 33: 29, 34: 30, 35: 31, 36: 32, 37: 33, 38: 34, 39: 35, 40: 36, 41: 37, 42: 38, 43: 39, 45: 40, 46: 41, 47: 42, 48: 43, 49: 44, 50: 45, 51: 46, 52: 47, 53: 48, 54: 49, 55: 50, 56: 51, 57: 52, 58: 53, 59: 54, 60: 55, 61: 56, 62: 57, 63: 58, 64: 59, 66: 60, 69: 61, 71: 62, 72: 63, 73: 64, 74: 65, 75: 66, 76: 67, 77: 68, 78: 69, 79: 70, 80: 71, 81: 72, 83: 73, 84: 74, 85: 75, 86: 76, 87: 77, 88: 78, 89: 79, 91: 80, 92: 81, 93: 82, 94: 83, 95: 84, 96: 85, 97: 86, 98: 87, 99: 88, 100: 89, 101: 90, 102: 91, 103: 92, 104: 93, 105: 94, 106: 95, 107: 96, 108: 97, 109: 98, 110: 99, 111: 100, 112: 101, 113: 102, 114: 103, 115: 104, 116: 105, 117: 106, 118: 107, 119: 108, 120: 109, 121: 110, 122: 111, 123: 112, 124: 113, 125: 114, 126: 115, 127: 116, 128: 117, 129: 118, 130: 119, 131: 120, 132: 121, 133: 122, 134: 123, 135: 124, 136: 125, 137: 126, 138: 127, 139: 128, 140: 129, 141: 130, 142: 131, 143: 132, 144: 133, 145: 134, 146: 135, 147: 136, 148: 137, 149: 138, 150: 139, 151: 140, 152: 141, 153: 142, 154: 143, 155: 144, 156: 145, 157: 146, 158: 147, 159: 148, 160: 149, 161: 150, 162: 151, 163: 152, 164: 153, 165: 154, 166: 155, 167: 156, 168: 157, 169: 158, 170: 159, 171: 160, 172: 161, 173: 162, 174: 163, 175: 164, 176: 165, 177: 166, 178: 167, 179: 168, 180: 169, 181: 170, 255: 255}
{0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 12: 11, 13: 12, 14: 13, 15: 14, 16: 15, 17: 16, 18: 17, 19: 18, 21: 19, 22: 20, 23: 21, 26: 22, 27: 23, 30: 24, 31: 25, 34: 26, 35: 27, 36: 28, 37: 29, 38: 30, 39: 31, 41: 32, 42: 33, 43: 34, 45: 35, 46: 36, 47: 37, 48: 38, 49: 39, 50: 40, 51: 41, 52: 42, 53: 43, 54: 44, 55: 45, 57: 46, 58: 47, 59: 48, 60: 49, 61: 50, 62: 51, 63: 52, 64: 53, 66: 54, 69: 55, 71: 56, 72: 57, 73: 58, 74: 59, 75: 60, 76: 61, 77: 62, 78: 63, 79: 64, 80: 65, 81: 66, 83: 67, 84: 68, 85: 69, 87: 70, 88: 71, 89: 72, 91: 73, 92: 74, 93: 75, 94: 76, 95: 77, 96: 78, 97: 79, 98: 80, 100: 81, 101: 82, 102: 83, 103: 84, 104: 85, 106: 86, 107: 87, 108: 88, 109: 89, 110: 90, 111: 91, 112: 92, 113: 93, 114: 94, 115: 95, 116: 96, 117: 97, 118: 98, 119: 99, 120: 100, 121: 101, 122: 102, 124: 103, 125: 104, 126: 105, 127: 106, 128: 107, 129: 108, 130: 109, 131: 110, 132: 111, 133: 112, 134: 113, 135: 114, 136: 115, 137: 116, 138: 117, 139: 118, 140: 119, 141: 120, 142: 121, 143: 122, 145: 123, 146: 124, 149: 125, 150: 126, 151: 127, 152: 128, 153: 129, 154: 130, 155: 131, 156: 132, 157: 133, 158: 134, 159: 135, 160: 136, 161: 137, 162: 138, 163: 139, 164: 140, 165: 141, 166: 142, 167: 143, 169: 144, 170: 145, 172: 146, 173: 147, 174: 148, 175: 149, 176: 150, 177: 151, 178: 152, 179: 153, 180: 154, 181: 155}
{20: 0, 24: 1, 32: 2, 33: 3, 40: 4, 56: 5, 86: 6, 99: 7, 105: 8, 123: 9, 144: 10, 147: 11, 148: 12, 168: 13, 171: 14}
Train files: ['coco/stuffthingmaps/train2017/000000539498.png', 'coco/stuffthingmaps/train2017/000000051741.png', 'coco/stuffthingmaps/train2017/000000260354.png', 'coco/stuffthingmaps/train2017/000000370475.png', 'coco/stuffthingmaps/train2017/000000056828.png']
Validation files: ['coco/stuffthingmaps/val2017/000000389566.png', 'coco/stuffthingmaps/val2017/000000172083.png', 'coco/stuffthingmaps/val2017/000000016228.png', 'coco/stuffthingmaps/val2017/000000275058.png', 'coco/stuffthingmaps/val2017/000000054628.png']
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 118287/118287, 1742.0 task/s, elapsed: 68s, ETA:     0s
[                                                  ] 0/5000, elapsed: 0s, ETA:multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 125, in worker
    result = (True, func(*args, **kwds))
  File "prepare_coco_stuff_164k_sem_seg.py", line 209, in convert_to_trainID
    Image.fromarray(mask_copy).save(seg_filename, "PNG")
  File<EMAIL_ADDRESS>line 2563, in save
    fp = builtins.open(filename, "w+b")
FileNotFoundError: [Errno 2] No such file or directory: '/vamsi_project/zsseg_repo/zsseg.baseline/datasets/coco/stuffthingmaps_detectron2/val2017/000000389566.png'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "prepare_coco_stuff_164k_sem_seg.py", line 360, in <module>
    main()
  File "prepare_coco_stuff_164k_sem_seg.py", line 257, in main
    mmcv.track_parallel_progress(
  File<EMAIL_ADDRESS>line 164, in track_parallel_progress
    for result in gen:
  File<EMAIL_ADDRESS>line 868, in next
    raise value
FileNotFoundError: [Errno 2] No such file or directory: '/vamsi_project/zsseg_repo/zsseg.baseline/datasets/coco/stuffthingmaps_detectron2/val2017/000000389566.png'

The folder names are not updated in the code. so I manually changed while generating stuffthingmaps_detectron2.

https://github.com/MendelXu/zsseg.baseline/issues/25 same kind of issue.


Top level await throws AttributeError (IPython)

The following key access:
https://github.com/emscripten-forge/recipes/blob/1c89d7fe66ef79ac0ce2911817dd6f6299077d11/recipes/recipes_emscripten/ipython/patches/0001-Patch-asyncio-tornado.patch#L58C1-L58C1
Throws an Exception in the latest builds of Emscripten-forge. With an environment containing ipython, the following is sufficient to trigger the error.
import asyncio

await asyncio.sleep(2)

I think this is caused by a removal from pyjs: https://github.com/emscripten-forge/pyjs/blob/243074abe395bb1ac1eaa8c8741a3080d565659b/src/export_py_object.cpp#L205-L214
@martinRenou you introduced the patch for asyncio, so I wonder if you'll know how best to proceed.

Thank you for pinging me. Indeed I may have introduced a bug there.
Those patches used to live in xeus-python-shell but have been removed. Can you confirm that you are using the latest xeus-python-shell and latest IPython from emscripten-forge?
I will try to find the time to look into it.
We may want to test out this patch in the recipe here.

@martinRenou I had another question that not relevant for this repo, but I can't think where to open an issue:
I want to adapt a library that performs blocking IO to work with emscripten. It's my understanding that it's impossible to perform blocking requests for byte ranges, because this hangs the same event loop that JS uses. Is that correct?

I think this is caused by a removal from pyjs: https://github.com/emscripten-forge/pyjs/blob/243074abe395bb1ac1eaa8c8741a3080d565659b/src/export_py_object.cpp#L205-L214

@agoose77  do you see some access to the deleted symbol? Ie __usafe_void_val_val__ or is this a guess?

this was fixed in pyjs  / xeus-python recently so I believe we can close this


Hello World in French

First Hacktober commit.
What does the program do?
Creates a document that reads Hello World in French

In what programming language it is written?
LaTeX

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


The X values are not being updated correctly when calling UpdateSeries

https://github.com/apexcharts/Blazor-ApexCharts/assets/6266635/9e4a6f8e-e7c3-4380-9a5e-dc2379089a63
I am doing some RL training here, and combining all the rewards by their iteration count. As the chart grinds the UI to a halt, I have a timer set to refresh it every 2 seconds.
Anyway, as you've seen when I switched the tabs back and forth to reset the chart, the iteration count should end up being between 50 and 199, but the component as it is not does not detect that. In addition to that, many times it happens that the values after the first 10 have undefined as their iteration count.
https://github.com/apexcharts/Blazor-ApexCharts/assets/6266635/e8f5910c-a75e-4914-bc13-f33c807881a0
I can't figure out how to do the dynamic updates without the timer, as well as having the X value show up correctly.
If you want to give running it a try: https://github.com/mrakgr/CFR-In-Fable/tree/apexcharts_bug

Hello, sorry for a late reply.
Do you think it's possible to try to make  a simple repo just showing the issue you are experiencing?

I am not sure I feel like going back to this right now, but the issue does occur in this particular file:
https://github.com/mrakgr/CFR-In-Fable/blob/apexcharts_bug/src/Lproj.UI.BlazorServer/Components/TrainUI_Base.razor
In this file I made a timer that calls the update series every 0.5 seconds, because doing on every change would kill the performance.
https://github.com/mrakgr/CFR-In-Fable/blob/apexcharts_bug/src/Lproj.UI.BlazorServer/Components/TrainUI.razor#L32
And this is the data field that gets passed into the chart. It is not more complicated than this, you ignore all the other functionality in the program as far as the bug is concerned.
Also, I think you could make the example easily enough yourself by passing a bunch of random data, along with the iteration count into a chart, and then repeat that a few times.
Sorry about not accepting your request.


Add a License

Can you open source this?

Sure, pick a license and land it. Added you as a collaborator.


Run script when document changed

A script should be triggered everytime a document is saved/updated.

#1 is a more generic approach, this is a feature of it and a good starting point


30105 - Ecclesiatic N Germans

Song 30666, Aleluya for the Feast of St. Stephen, is a modern recording from 1996 of a 12th century piece "composed by Léonin and his successor Perotin of the School of Notre Dame, Paris." The recording was made in Germany but the composition itself and the composers are associated with Paris. However, I am reading on wikipedia that the Magnus Liber, the repertory that this piece is from, is based on Gregorian chant. So I'm assuming that's why it was assigned to society 30105, which I believe used to be named "Gregorian chant." So, I would suggest keeping it assigned to 30105, keeping the location as Paris, but making a note that it was assigned to 30105 due to its connection to Gregorian chant.
However, two additional points/questions about society 30105:

Typo - Society name should be spelled "Ecclesiastic" not "Ecclesiatic" (if we keep the current name)
However, I am wondering, is this the best name for the tradition we are trying to capture? There are only 2 songs assigned to 30105 currently-- 30666, described above, and 9361, which is also a Gregorian chant, with location in Salzburg, Germany. Gregorian chant and its origins seem to have been more widespread than just North Germany, or even Germany as a whole. However, calling the society "Gregorian Chant" of course makes it more a of a genre than a society. It would also be possible to assign each of these two songs to different societies (song 30666 to Paris; song 9361 to Palatine), and eliminate society 30105. But not sure whether that is appropriate or not.
@annalwood , your thoughts here would be helpful.

Excellent. Agreed.
On Thu, Oct 21, 2021 at 11:30 AM stellasilbert @.***>
wrote:

Song 30666, Aleluya for the Feast of St. Stephen, is a modern recording
from 1996 of a 12th century piece "composed by Léonin and his successor
Perotin of the School of Notre Dame, Paris." The recording was made in
Germany but the composition itself and the composers are associated with
Paris. However, I am reading on wikipedia
https://en.wikipedia.org/wiki/Léonin that the Magnus Liber, the
repertory that this piece is from, is based on Gregorian chant. So I'm
assuming that's why it was assigned to society 30105, which I believe used
to be named "Gregorian chant." So, I would suggest keeping it assigned to
30105, keeping the location as Paris, but making a note that it was
assigned to 30105 due to its connection to Gregorian chant.
However, two additional points/questions about society 30105:

Typo - Society name should be spelled "Ecclesiastic" not
"Ecclesiatic" (if we keep the current name)
However, I am wondering, is this the best name for the tradition we
are trying to capture? There are only 2 songs assigned to 30105 currently--
30666, described above, and 9361, which is also a Gregorian chant, with
location in Salzburg, Germany. Gregorian chant and its origins seem to have
been more widespread than just North Germany, or even Germany as a whole.
However, calling the society "Gregorian Chant" of course makes it more a of
a genre than a society. It would also be possible to assign each of these
two songs to different societies (song 30666 to Paris; song 9361 to
Palatine), and eliminate society 30105. But not sure whether that is
appropriate or not.
@annalwood https://github.com/annalwood , your thoughts here would
be helpful.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/theglobaljukebox/cantometrics/issues/160, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUILTLL7W5EPEZWKX4O2SK3UIAWX5ANCNFSM5GONDPGA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
www.culturalequity.org
https://archive.culturalequity.org
www.theglobaljukebox.org
“The precise role of the artist is to illuminate that darkness, blaze
roads through that vast forest, so that we will not, in all our doing, lose
sight of its purpose, which is to make the world a more human dwelling
place."  --- James Baldwin

Kept current name for now but corrected typo.

How did this slip by?
Sent from my iPhone

On Jan 3, 2022, at 8:23 AM, stellasilbert @.***> wrote:

Kept current name for now but corrected typo.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

coding id 30105 is assigned to a song by the Kaningara (New Guinea).   I
agree with your suggestion. Paris, Palatine.
www.culturalequity.org
https://archive.culturalequity.org
www.theglobaljukebox.org
“The precise role of the artist is to illuminate that darkness, blaze
roads through that vast forest, so that we will not, in all our doing, lose
sight of its purpose, which is to make the world a more human dwelling
place."  --- James Baldwin
On Thu, Oct 21, 2021 at 8:30 AM stellasilbert @.***>
wrote:

Song 30666, Aleluya for the Feast of St. Stephen, is a modern recording
from 1996 of a 12th century piece "composed by Léonin and his successor
Perotin of the School of Notre Dame, Paris." The recording was made in
Germany but the composition itself and the composers are associated with
Paris. However, I am reading on wikipedia
https://en.wikipedia.org/wiki/Léonin that the Magnus Liber, the
repertory that this piece is from, is based on Gregorian chant. So I'm
assuming that's why it was assigned to society 30105, which I believe used
to be named "Gregorian chant." So, I would suggest keeping it assigned to
30105, keeping the location as Paris, but making a note that it was
assigned to 30105 due to its connection to Gregorian chant.
However, two additional points/questions about society 30105:

Typo - Society name should be spelled "Ecclesiastic" not
"Ecclesiatic" (if we keep the current name)
However, I am wondering, is this the best name for the tradition we
are trying to capture? There are only 2 songs assigned to 30105 currently--
30666, described above, and 9361, which is also a Gregorian chant, with
location in Salzburg, Germany. Gregorian chant and its origins seem to have
been more widespread than just North Germany, or even Germany as a whole.
However, calling the society "Gregorian Chant" of course makes it more a of
a genre than a society. It would also be possible to assign each of these
two songs to different societies (song 30666 to Paris; song 9361 to
Palatine), and eliminate society 30105. But not sure whether that is
appropriate or not.
@annalwood https://github.com/annalwood , your thoughts here would
be helpful.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/theglobaljukebox/cantometrics/issues/160, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUILTLL7W5EPEZWKX4O2SK3UIAWX5ANCNFSM5GONDPGA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

To clarify, I'm talking about society 30105, not song 30105. But sounds good, I will reassign to Paris and Palatine.


天津地图没有蓟县，少了一个区

https://github.com/pyecharts/pyecharts/issues/667

related to https://github.com/apache/incubator-echarts/issues/10460


Is it possible to run this fully local, so sensitive PII PDFs dont leave the network?

Hey I work with some PII data PDFs, I would love to use this tool for handling them, but is it possible to run it without the PDF data leaving the network?

LLMSherpa uses a free and open api server.
You can self-host your own private server using instructions at https://github.com/nlmatics/nlm-ingestor


再执行lora模型合并的时候 size不同的问题

如下 在与lora合并的时候发生以下问题

copying a param with shape torch.Size([8, 1024]) from checkpoint, the shape in current model is torch.Size([8, 1536]).

使用的是text2semantic-sft-large-v1.1-4k.pth 与该模型merge

024-06-21 01:03:51.276 | INFO     | main:merge:66 - Found 258 keys in llama model
2024-06-21 01:03:51.276 | INFO     | main:merge:67 - Found 308 keys in lora model
Traceback (most recent call last):
File "H:\AIaudio_Live\fish-speech\tools\llama\merge_lora.py", line 79, in
merge()
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "H:\AIaudio_Live\fish-speech\tools\llama\merge_lora.py", line 70, in merge
llama_model.load_state_dict(merged_state_dict, strict=True)
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\torch\nn\modules\module.py", line 2191, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for DualARTransformer:

我重新训练了lora之后merge成功，但在推理时报错
提示ValueError: Invalid model size
Merging checkpoints/text2semantic-sft-medium-v1.1-4k.pth and H:\AIaudio_Live\fish-speech\results\lora_text2semantic_medium_20240621_041324\checkpoints\step_000001000.ckpt into checkpoints/mitao1000steps.ckpt with configs dual_ar_2_codebook_medium and r_8_alpha_16
2024-06-21 08:54:50.772 | INFO     | main:merge:33 - Loaded llama model with config dual_ar_2_codebook_medium
2024-06-21 08:54:50.831 | INFO     | main:merge:40 - Loaded lora model with config LoraConfig(r=8, lora_alpha=16, lora_dropout=0.0)
2024-06-21 08:54:52.908 | INFO     | main:merge:43 - Merged model setup complete
2024-06-21 08:54:53.254 | INFO     | main:merge:66 - Found 216 keys in llama model
2024-06-21 08:54:53.255 | INFO     | main:merge:67 - Found 308 keys in lora model
2024-06-21 08:54:53.382 | INFO     | main:merge:71 - Merged model loaded
2024-06-21 08:54:54.616 | INFO     | main:merge:75 - Merged model saved to checkpoints/mitao1000steps.ckpt
Traceback (most recent call last):
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\gradio\queueing.py", line 532, in process_events
response = await route_utils.call_process_api(
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\gradio\blocks.py", line 1928, in process_api
result = await self.call_function(
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\gradio\blocks.py", line 1514, in call_function
prediction = await anyio.to_thread.run_sync(
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "H:\AIaudio_Live\fish-speech\fishenv\env\lib\site-packages\gradio\utils.py", line 832, in wrapper
response = f(*args, **kwargs)
File "h:\AIaudio_Live\fish-speech\fish_speech\webui\manage.py", line 152, in change_llama_config
raise ValueError("Invalid model size")
ValueError: Invalid model size

The first issue is that you used "dual_ar_2_codebook_medium" while merging the model.
You should use "dual_ar_2_codebook_large" instead, as dim for medium is 1024, and large is 1536.

the second issue： i just saw the same question in other issues！  i rename the model to medium.ckpt。successfully worked!
发自我的iPhone
------------------ 原始邮件 ------------------
发件人: Naozumi @.>
发送时间: 2024年6月21日 09:18
收件人: fishaudio/fish-speech @.>
抄送: hotdogarea @.>, Author @.>
主题: 回复：[fishaudio/fish-speech] 再执行lora模型合并的时候 size不同的问题 (Issue #285)
The first issue is that you used "dual_ar_2_codebook_medium" while merging the model.
You should use "dual_ar_2_codebook_large" instead, as dim for medium is 1024, and large is 1536.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Is dust b gone still existing

No.
On November 18, 2020 7:57:58 PM EST, zech564<EMAIL_ADDRESS>wrote:

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/petertodd/dust-b-gone/issues/5

@petertodd You mentioned before it was generally a socat, but could you please be more specific as what was at its end? Thanks!

I forget exactly what command line options. But yeah, socat setup to append to a file.
On November 26, 2020 4:33:29 PM EST, "Ján Sáreník"<EMAIL_ADDRESS>wrote:

@petertodd You mentioned before it was generally a socat, but could you please be more specific as what was at its end? Thanks!
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/petertodd/dust-b-gone/issues/5#issuecomment-734484709


Lower various logging statement levels to clean up example printing

The playground examples have tons of info logging that drown out any actual logging that the example might've caused. This is somewhat of a big hit to the playground experience (not just noted by me, but by others that I've been introducing to Beam)
I attempted a fix to change the playground's log level but that didn't seem to take. Vlado Djerek also tried to figure out where the logging level is set but was also unsuccessful.
In lieu of a real fix, I just changed or deleted various logging statements that I suspect are probably not all that useful. I suspect especially that the translation prints which really clog up the examples don't offer much useful information.
Here's an example of what running the example looks like right now:

reviewer: @tvalentyn

I left a few statements out because they seemed like they're more important, but I think they do still distract from the examples. If we ever find where the log level is set, I wonder if we should just disable the logging altogether and update any examples that use the logger to just use beam.Map(print) or beam.LogElements instead

I attempted a fix to change the playground's https://github.com/apache/beam/pull/29948 but that didn't seem to take. Vlado Djerek also tried to figure out where the logging level is set but was also unsuccessful.

By crashing playground intepreter, I see that the main python entrypoint is located in some generated files, like:
/opt/playground/backend/executable_files/8ff1f92b-37b3-4fd7-9a08-fb8d1768ae5f/8ff1f92b-37b3-4fd7-9a08-fb8d1768ae5f.py
We could try to find a place where that is generated and add a line like logging.getLogger().setLevel(logging.WARNING) at the top of the file.

I attempted a fix to change the playground's #29948 but that didn't seem to take. Vlado Djerek also tried to figure out where the logging level is set but was also unsuccessful.

By crashing playground intepreter, I see that the main python entrypoint is located in some generated files, like: /opt/playground/backend/executable_files/8ff1f92b-37b3-4fd7-9a08-fb8d1768ae5f/8ff1f92b-37b3-4fd7-9a08-fb8d1768ae5f.py
We could try to find a place where that is generated and add a line like logging.getLogger().setLevel(logging.WARNING) at the top of the file.
I attempted this in another PR, though I don't actually know how to test it. I just removed the log level setting altogether, but we could change to just WARNING. IMO though, playground examples seem like an unlikely place to debug runner issues, and the examples are always easy to run locally anyways if we ever find something amiss.

I just removed the log level setting altogether, but we could change to just WARNING.

+1 to change to warning instead of removing

(closed accidentally)

I also don't known how to test playground code. a log level change should be safe to merge.


How do I upload from a stream?

FTP OS: Windows
FTP Server: N/A
Computer OS: Win 10
FluentFTP Version: N/A
I would like to request the feature to upload straight from a MemoryStream as I am creating a file in memory, I would like to avoid having to write it to disk in order to upload

UploadStream?

Also its literally the first point given here - https://github.com/robinrodricks/FluentFTP/wiki/File-Transfer#api

Hi Rob,
Thanks. Yes it wasn't obvious, the quick start (https://github.com/robinrodricks/FluentFTP/wiki/Quick-Start-Example) appears to show all the methods available but nothing referring to a stream. Also UploadStream is not on the methods wiki - https://github.com/robinrodricks/FluentFTP/wiki/Methods . Adding it to the list of available method should make it much easier to find. Keep up the good work!

Thanks @DavidLindon , I'll update the docs.

Updated https://github.com/robinrodricks/FluentFTP/wiki/Methods


Missing / wrong sound effects for certain versions

"All versions before Alpha 1.1.2_01 (Sound bugfix) have wrong and missing sound effects." - yellowwinner
"January Indev not playing sounds. Versions in-20100111-1, in-20100125-1, in-20100125-2, in-20100130 and in-20100131 don't play any sound. c0.30 and in-20100203 play sounds like other versions." - yellowwinner
"No sound in inf-20100415 without wi-fi connection." - Gruby5588
Actions to take:
"Need to parse client version somehow and send sound definitions depending on it." - kcxx

Should be fixed as of d5c3612


Make build log output less chatty

Motivation:
When Maven does not run in batch mode, it will continuously print its progress as it downloads dependencies.
This can produce a very large amount of log output, that makes it harder to debug build failures.
Modification:
Make all Maven builds run in batch mode by adding the -B command line flag.
Some builds were already running batch mode but had the flag in a different location – these have had their -B flag moved so all builds are consistent.
Result:
Much less output in our build logs where Maven is just downloading stuff.

We should add -ntp to explicitly disable transfer process debug info. WDYT?

@hyperxpro Good idea

@chrisvest please add -ntp and merge once done :)

@chrisvest please also adjust the commit message to mention the -ntp flag

@normanmaurer Commit message was adjusted from the start. I can update the PR message as well.


Feature Request: Persist Torii session to localStorage

Looking for a simple option to read/write the Torii session service data from/to localStorage so that it persists between page reloads and browser restarts. Ideally, something along the lines of: a storage key is specified in the config. The return value of the open() method in the adapter is serialized and stored at the key. The default fetch() method in the adapter retrieves the session data at the key (if available) and deserializes it. The default close() method in the adapter deletes the session data at the key (if present). Changes to the injected session object outside of the adapter update the storage.

@mwpastore that should be trivial to do in an adapter. I don't think we will be adding stock adapters any time soon- though you could publish one in an addon dependent on this one.

That's fair. You'll have to forgive me, I'm a heckuva newbie. How can I hook onto this.get('session').set() to update the in-memory object and re-serialize it to localStorage when changes are made?

Nothing to forgive :-)
session does not automatically do anything upon set. The behavior is that whatever is returned by session#open or session#fetch is available on the session. So return {currentUser: someUser} and session.currentUser is there.
I do not recommend setting things arbitrarily, it would take you out of the lifecycle Torii is trying to encourage.

Ah, I understand that, but I was under the impression that you could call session#set to manipulate its contents outside of the adapter. Thank you for clarifying.
Regarding "the lifecycle Torii is trying to encourage", could you help me understand what that is? I've read the README a dozen times and something is still not quite clicking for me. Feel free to point me to any online resources or blog posts I might have missed in my googles.

@mwpastore the most important resource would be: http://madhatted.com/2014/6/17/authentication-for-single-page-apps
Torii encourages you to separate authentication of credentials (which I call authorization in that post) and authentication of an application session's current user. This creates flexibility that is advantageous when dealing with the edge cases of auth flows.

@mixonic Sorry to keep bothering you with this stuff. Just when I think I'm getting there, I get stuck again. Is there a way to tell Torii to refetch/refresh an existing, authenticated session? Trying to manually run this.get('session').fetch() results in a predictable  `failFetch` for: <StateMachine currentState:'authenticated'>.

Is there a way to tell Torii to refetch/refresh an existing, authenticated session?

Those are two different things I presume. You cannot refetch a session, because you would only get what you already have. You can test session.get('isAuthenticated') to see if you already have a session. For example this code only calls fetch if the authentication state is unknown.
You can session.close() to destroy a session, then open again to refresh.
fetch should be a non-interactive version of open. Often fetch looks to see if there is a cookie or localStorage token, checks to verify that token is good against the API, then resolves. If the token is bad for some reason, fetch should likely clear it before rejecting.

The situation that I've clumsily manufactured myself into is that the session information object has changed on the server side and I need a way to update the corresponding Torii session on the client side. The user is definitely authenticated and definitely has a valid token, I just need Torii to hit the API and fold the response data into the existing session. Reloading the browser tab does the trick, I just need something a little softer.


Support Video Recording

The user should be able to toggle between still-image and video-recording modes via the FAM. Support all relevant ACTION_VIDEO_CAPTURE extras, plus extras for what mode to start in and whether the mode can be toggled by the user. Offer IntentBuilder methods for all these extras.

The user should be able to toggle between still-image and video-recording modes via the FAM.

Dropped, as the entry points (CameraActivity, VideoRecordActivity) dictate the type of expected output.

Support all relevant ACTION_VIDEO_CAPTURE extras

Added for ClassicCameraEngine, awaiting release. Also see issue #56.

Released in v0.2.0


Potentially malicious domain in address bar of screenshot

The screenshot near the bottom of https://developers.cloudflare.com/workers/tutorials/configure-your-cdn has a potentially malicious domain in the address bar: when I visited workers-tooling[.]cf, I was redirected to a domain that was blocked by uBlock Origin's Badware Risks filter.

@pedrosousa can we just crop out the address bar?

I'd rather keep the address bar, since the text mentions how the URL structure should look like. I'll blur the domain name.


Web vr helper fixes

From #2498:
o	Enable PP for vignetting only when required
o	Make sure that we teleport where the target was defined (please check with David to repro the issue)
o	Make sure that the gaze cursor is correctly in front of the user (please check with David to repro the issue)
o	Have initial created camera oriented like the previous camera (At least the deviceOrientationCamera)

Excellent work @TrevorDev ! Thank you :)


Cells becoming empty after scrolling

Expected Behavior
Cells should display the same thing after being set in cellForRowAt method
Actual Behavior
After scrolling and the cell goes off the screen, some cells will become empty. If you scroll back and forth enough times, all cells will become empty.
Steps to Reproduce the Problem

Setup cells with labels, views, etc.
Scroll left, right, up, down, whichever ways you have setup so that cells go off screen.
Scroll back to bring other cells back on screen

Specifications

Xcode version: 11.3.1
iOS version: 13.2
Dependency manager + version: ?

Turns out I was making a super noobie mistake. I didn't realize that when setting certain attributes that they would stay the same across different cells once set and that you need to reset absolutely everything. This was ultimately causing the disappearing. Once I set all the isHidden attributes to false, then true if necessary, everything is showing up.


[OFFICIAL] Generated Issue: ErrorException

Please fill out the details below.
Summary:
Steps to reproduce:
Additional Details
Jikan Parser Version: 3.0.0.x-dev@a4cf4837ad2c87703db4d7ecb9732cfa59f5c698
PHP: 8.0.15
Redis: Connected
Exception: ErrorException
Code: 0
Message: Undefined array key "url"
Trace: /var/www/jikan-rest/vendor/symfony/http-client/Response/TransportResponseTrait.php on line 129
Request: GET /v4/people/880/voices

Please refer to https://github.com/jikan-me/jikan-rest/issues/177


Rename package

As the general registry doesn't allow 3-letter-word packages, can we rename this to MertonDtD.jl?
@ajaynshah @SusanXKDR

Yes.


Fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1

= note: lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.1
         compilation terminated.
         lto-wrapper: fatal error: cc returned 1 exit status
         compilation terminated.
         /usr/bin/ld: error: lto-wrapper failed
         collect2: error: ld returned 1 exit status

Got fatal error when build the example code inline-python-example

That doesn't look like an error specific to this crate. Do you have the same problem compiling other crates that have dependencies?

Yeah. Found some related issues online. https://github.com/rust-lang/rust/issues/57176


RedirectRegex ignores substituion ( and does a direct replacement)

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[x] No

What did you do?

Used a redirectRegex to add trailing slash before stripping it off.
Test URL: http://testurl.com/notrailingslash
Regex:
http:
  middlewares:
    strip-prefix:
      chain:
        middlewares:
        - strip-prefix-1
        - strip-prefix-2

    strip-prefix-1:
      redirectRegex:
        regex: "^(https?://[^/]+/[a-z0-9_]+)$"
        replacement: "${1}/"
        permanent: true

    strip-prefix-2:
      stripPrefixRegex:
        regex:
          - "/[a-z0-9]+"

If I go to http://testurl.com/notrailingslash/ and skip strip-prefix-1, then the intended service is routed correctly.
What did you expect to see?
https://regex101.com/r/58sIgx/126
http://testurl.com/notrailingslash/
What did you see instead?
http://testurl.com/${1}/
Output of traefik version: (What version of Traefik are you using?)

Version:      2.0.1
Codename:     montdor
Go version:   go1.13.1
Built:        2019-09-26T16:25:50Z
OS/Arch:      linux/arm

What is your environment & configuration (arguments, toml, provider, platform, ...)?
global:
  checkNewVersion: true
  sendAnonymousUsage: true

api:
  dashboard: true

log:
# DEBUG, PANIC, FATAL, ERROR, WARN, and INFO
  level: DEBUG

entryPoints:
  web:
    address: ':80'
  web-secure:
    address: ':443'

certificatesResolvers:
  letsencrypt:
    acme:
      email: ****.com
      storage: acme.json
      caServer: 'https://acme-v02.api.letsencrypt.org/directory'
      dnsChallenge:
        provider: duckdns
        delayBeforeCheck: 0

providers:
  file:
    filename: dynamic_conf.yml
    watch: true
  docker:
    endpoint: 'unix:///var/run/docker.sock'
    exposedbydefault: false

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
no logs were found related to this

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.

This is supposed to be a working config according to https://community.containo.us/t/middleware-to-add-the-if-needed/1895/6 before
No matter what I tried I could not get anything else other than ${1} in the URL and the regex tool linked to in the documentation  shows that it should work.

@traefiker @ldez,
Version:      2.0.0
Codename:     montdor
Go version:   go1.13
Built:        2019-09-16T17:37:46Z
OS/Arch:      linux/arm

I just switched to v2.0.0 and the same config and regex works as intended and is forwarded to http://testurl.com/notrailingslash/
Version:      2.0.1
Codename:     montdor
Go version:   go1.13.1
Built:        2019-09-26T16:25:50Z
OS/Arch:      linux/arm

This version returns http://testurl.com/${1}/

Please disregard. For some reason after going back to v2.0.1 from v2.0.0 the config works. Not sure what happened as none of the config files were changed.


Crate build fails with message: "recipe for target 'zic' failed"

Hi,
I added postgres-parser crate version 0.2.3 as dependency and it failed when cargo build was issued with the following  errors:
  [stderr] Writing bitcode...
  [stderr] /usr/bin/ld: skipping incompatible ../../src/common/libpgcommon.a when searching for -lpgcommon
  [stderr] /usr/bin/ld: cannot find -lpgcommon
  [stderr] /usr/bin/ld: skipping incompatible ../../src/port/libpgport.a when searching for -lpgport
  [stderr] /usr/bin/ld: cannot find -lpgport
  [stderr] clang: error: linker command failed with exit code 1 (use -v to see invocation)
  [stderr] make[2]: *** [zic] Error 1
  [stderr] make[1]: *** [all-timezone-recurse] Error 2
  [stderr] make: *** [all-src-recurse] Error 2
  [stderr] + exit 1
  Error: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }

I am building the crate on ubuntu 18.04.5 LTS and I have gone through installing required dependencies, but I cannot figure out what has gone wrong here. I would appreciate if you can give your thoughts on this. Please kindly find the full build log in build.log.
Thanks!

Hi. I had the same problem on MacOS. I fixed it with adding needed llvm tools to $PATH

Hi @alex-dukhno !
Can you please specify how you have modified your $PATH? as far as I can check, I can find all mentioned tools ( opt, clang, llvm-ar) on my path. also can you please specify version of the tools you use as-well?
Thanks.

I add this line to my ~/.zshrc:
export PATH="/usr/local/opt/llvm/bin:$PATH"

Clang version
clang -v
clang version 11.1.0
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

LLVM-ar
llvm-ar --version                                                                                1 ↵
LLVM (http://llvm.org/):
  LLVM version 11.1.0
  Optimized build.
  Default target: x86_64-apple-darwin20.3.0
  Host CPU: skylake

Yeah, make sure that your clang isn't the one installed by XCode in /Library/....  It's gotta be the package-provided version.  Don't ask me why -- I haven't been able to figure that out.

Hi @rasouli I got exactly same error as yours when trying to build my project with rust docker image.
I spent a lot of time on trying to find what is the problem. I found that it could be that zic depends on glibc. I tried to install latest glibc on Debian however it was to much hassle to work headless installation so I ended up using ubuntu:20.04 as a build image.
I could not check my theory but maybe it could help you.
Thanks

Hi @alex-dukhno thanks for the tip, I had been experimenting with different versions of dependencies to build, but I had given up back then as I had to work on something else, I will re-try with ubuntu image next time.

Hi, I had the same exact issue. I've inspected the log file and I noted that there is a build.sh: line 72: [: -l: unary operator expected error in the build log.
I tried to change the -l flag to -h (in this commit) and it seems working correctly.


firewall.service failure on upgrade

Describe the bug
When running nixos-rebuild switch on 24.05 I got the following error:
Job for firewall.service failed.
See "systemctl status firewall.service" and "journalctl -xeu firewall.service" for details.

I don't get an error if I run it again.
$ systemctl status firewall.service
...
Sep 21 15:41:12 djmuk2 systemd[1]: Reloading Firewall...
Sep 21 15:41:12 djmuk2 firewall-reload[218635]: Warning: Extension policy revision 0 not supported, missing kernel module?
Sep 21 15:41:12 djmuk2 firewall-reload[218635]: iptables v1.8.10 (nf_tables):  RULE_APPEND failed (No such file or directory): rule in chain nixos-fw-rpfilter
Sep 21 15:41:12 djmuk2 firewall-reload[218565]: Failed to reload firewall... Stopping
Sep 21 15:41:12 djmuk2 systemd[1]: firewall.service: Control process exited, code=exited, status=1/FAILURE
Sep 21 15:41:12 djmuk2 systemd[1]: Reload failed for Firewall.

journalctl doesn't appear to show any extra information.
I have the following in my config:
  networking.firewall = {
    enable = true;
    allowedTCPPorts = [
      113
      2222
    ];
  };

I also have services.sshguard.enable = true;
Notify maintainers
I'm not sure who to tag here. @izorkin is listed as maintainer for nftables, and @fpletz for iptables. Sorry if you aren't the right people to tag.

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.77, NixOS, 24.05 (Uakari), 24.05.5197.944b2aea7f0a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(djm): `"home-manager-23.05.tar.gz, unstable"`
 - channels(root): `"nixos-24.05, sops-nix"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

Probably some module in the kernel is missing:
https://github.com/NixOS/nixpkgs/blob/944b2aea7f0a2d7c79f72468106bc5510cbf5101/nixos/modules/services/networking/firewall-iptables.nix#L117-L138
Try disabling these rules.

@Izorkin thank you for the response. How do I disable them?
I see https://github.com/NixOS/nixpkgs/blob/944b2aea7f0a2d7c79f72468106bc5510cbf5101/nixos/modules/services/networking/firewall-iptables.nix#L43 but I can't see how to set kernel.features.

My config is very simple, so I'm not sure what I could change to try to track this down. Even with just networking.firewall.enable set to true, and no other firewall config, I get the error. And I don't have any kernel-related configuration.
It looks like this block should be enabled by default thought, if I understand the line I linked to earlier, and this one correctly: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/generic.nix#L105
Obviously most people aren't experiencing this issue though, so I'm confused about what's happening.

I do have this in the auto-generated hardware-configuration.nix:
  boot.initrd.availableKernelModules = [
    "ata_piix"
    "uhci_hcd"
    "xen_blkfront"
  ];
  boot.initrd.kernelModules = [ "nvme" ];

I get the error on three different VPSs, but not on my laptop. Could it be related to virtualization somehow?

I'm not getting the error reproduced on my virtual machine.
Need a full configuration.

See configuration.nix and hardware-configuration.nix in this directory: https://codeberg.org/djm/dotfiles/src/branch/master/nix-conf/machines/djmuk2
(The same issue happens with djmuk1 and edrahil, whose configurations can be seen in the parent directory too, but they aren't very different).

Try the nixpkgs-unstable branch and kernel 6.6 or/and disable services.openiscsi.

It returns CONFIG_IP_NF_MATCH_RPFILTER=m.
Only one of the systems affected has openiscsi enabled, and one of the others is already running 6.6, but I can try unstable on one of them tomorrow.

It returns CONFIG_IP_NF_MATCH_RPFILTER=m.

I have the same thing
Try it:
  networking.firewall.checkReversePath = true/false;

If I set it to false, the service starts successfully.

Rebooting fixed the issue completely (regardless of networking.firewall.checkReversePath). Thank you for your help/sorry for the noise.


GitOps-aware feedback in Comparisons

When I'm comparing a set of local/generated in a GitOps context I would like to get more clear information on which objects that will be:

created
updated
deleted (warning!)
during the reconciliation phase of my GitOps controller (Argo, Flux, etc)

Filtering? Color coding?
Perhaps there could even be related policies at some point - i.e. an update should never do X... !?

@olensmar would we like that information on the dropdown listing of objects? once the object is selected?

idk what is best - perhaps we could divide the list of resources into three sections - "added resources", "changed resources", "deleted resources" !?

or order by action - i.e. show deleted resources on top - then changed - then added - then those who are the same!?


must declare the scale variable

[Enter feedback here]

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

ID: 3c0370ad-6492-44cd-d0f6-988be922a5c0
Version Independent ID: 95f05873-f236-19fb-e01f-0b7b23623654
Content: Compiler Error CS1501
Content Source: docs/csharp/language-reference/compiler-messages/cs1501.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Hi @masucci08
This looks like you've added notes for your own use in this issue. If there's an issue in this content that needs to be addressed, can you add a further comment?


Add PyCapsule API

Will close #1193
Ref: https://docs.python.org/3/c-api/capsule.html#capsules
TODO:

[x]  an entry in CHANGELOG.md
[x]  docs to all new functions and / or detail in the guide
[x]  tests for all new or changed functions

Just wanted to say thank-you for working on this - it's a really nice feature to add to PyO3. I've been a bit busy recently, however trying to find a moment to review when I can...

No worries; thank you! I'm still chipping away as I get some time here and there. I'm sure there are some glaring errors I've missed, so put it here anyway if someone wanted to take a peak.

Thanks! Sorry for not getting to this sooner.
Unfortunately casting away lifetimes and types like this is really, really unsafe.
For example, this segfaults:
fn main() {
    let cap: Py<PyCapsule> = Python::with_gil(|py| {
        let name = CString::new("foo").unwrap();
        let cap = PyCapsule::new(py, (), &name, None).unwrap();

        let stuff: Vec<u8> = vec![1, 2, 3, 4];

        cap.set_context(py, &stuff).unwrap();

        cap.into()
    });

    Python::with_gil(|py| {
        let ctx: Option<&&Vec<u8>> = cap.as_ref(py).get_context(py).unwrap();
        dbg!(ctx);
    })
}

Or, you can implement transmute:
fn transmute<'p, T, U>(py: Python<'p>, t: T) -> &'p U {
    let name = CString::new("foo").unwrap();
    let cap = PyCapsule::new(py, (), &name, None).unwrap();
    cap.set_context(py, &t).unwrap();
    let ctx: Option<&U> = cap.get_context(py).unwrap();
    ctx.unwrap()
}

fn main() {
    Python::with_gil(|py| {
        let foo = 32u8;
        let boom: &Vec<u32> = transmute(py, &foo);
        dbg!(boom);
    });
}

And you can also use Py<PyCapsule> to smuggle things like Rc to other threads.
A good way to fix some of this is to introduce some variance - i.e., make the type PyCapsule<T>, so that type information is not lost. However this may make a safe api of PyCapsule almost useless.
Maybe you can use dyn Any for this? You can do some runtime reflection with it.

I suspected I'd fouled that up a bit. Thanks for the thorough explanation, the failing example is nice to have. I'll work on it; suspect this PR will be "slow to update". Working on it as time presents itself. :-)

My current understanding was capsules were used to store by value and not by reference (unless static reference). If I modify your example to pass by value, it works fine. Thus, if I update the signatures of new and set_context to have T: 'static then at least your example would no longer compile. Then current tests and the updated example here all pass:
pub fn new<'py, T: 'static>(
        py: Python<'py>,
        value: T,
        name: &CStr,
        destructor: Option<ffi::PyCapsule_Destructor>,
    ) -> PyResult<&'py Self>;

pub fn set_context<'py, T: 'static>(&self, py: Python<'py>, context: T) -> PyResult<()>;

I'm still pretty confident the value of Box::into_raw(T) as *mut c_void leaked. Which I suppose is another issue.

The pointer value of the capsule is pointing to a struct for T and F, and somehow get_reference(&self) -> &T still works, even though it's really just getting the pointer to this CapsuleContents struct that holds the value and destructor.

Because the first field of the CapsuleContents struct is the T, through blind luck the compiler's put that at the front of the struct and so the cast works. This is UB because the default struct layout is not guaranteed. If you add #[repr(C)] to CapsuleContents (maybe with a comment why that repr is used), it's sound to rely on first field T always being at zero offset inside the struct.
https://doc.rust-lang.org/reference/type-layout.html#the-c-representation

Do you think having a macro of some sort for a destructor would be helpful for the user?

It's not clear to me what the use case for this would be. Also, macros are hard for users to figure out how to use without lots of good documentation, so without a strong motivation I'm unconvinced it's worth the maintenance cost.

Thanks for the continued progress on this, I think it's getting there and will be a nice feature to add to PyO3!

Thank you for the thorough reviews here, a lot of new stuff here, so appreciate it. I know you're busy! :pray:

👍 this is shaping up really well, just wanted to say thanks again for working on this. It's a tricky one with a few design gotchas which are taking a bit of effort to hash out, so the patience with repeated iterations is appreciated. I think with luck we're close now 🤞

@birkenfeld as I think you're very much on top of this PR, do you want to approve, squash-and-merge it once you're happy? Thanks for comprehensive reviewing, and thanks @milesgranger for all the iterations put in! 35 commits 😮

It's been a pleasure, learned a lot, and really appreciate the repeated and helpful reviews! :pray:

@davidhewitt will do - should the module be renamed to capsule though (to be consistent with buffer which is also a CPython type, as opposed to pycell)?
@milesgranger I'll do this change if @davidhewitt agrees and then merge it, everything else LGTM!

Ah yes good spot, it should probably even live in src/types/capsule.rs and be exposed as types::PyCapsule ?

That's probably even better. Not sure why buffer is so lonely at toplevel :D

PyBuffer is this weird thing that isn't really a Python object, so it's kind of lost wandering the wasteland of murky design 😅

Thanks again @milesgranger!


Update extractBuiltProductName to handle static libraries

This change is required to support building targets that are built from rules_swift's swift_library rule.

Tool needs to be added as well for xchammer


Use loose dependency on semver

@rtsao currently there's a hard dependency lock on semver==5.1.0, this PR makes it loose just like the other dependencies, so it can be updated independently

Thanks! 😄


[Bug] show proc "/cluster_balance/history_tablets" report the error of "Malformed packet"

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
dev 1.0.1
What's Wrong?
MySQL [(none)]> show proc "/cluster_balance/history_tablets";
ERROR 2027 (HY000): Malformed packet
What You Expected?
MySQL [(none)]> show proc "/cluster_balance/history_tablets";
Empty set (0.04 sec)
or show history for tablets balance.
How to Reproduce?
show proc "/cluster_balance/history_tablets";
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I didn't reproduce it in master, do you have any steps to reproduce it

https://github.com/apache/incubator-doris/pull/10073

repeated by https://github.com/apache/incubator-doris/issues/10074


Instruction for adding CLI extension missing a dash

[Enter feedback here]
The example CLI code to install the storage-preview extension is using a -name parameter as opposed to --name.  This doesn't work and causes an error.

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

ID: e7d93704-cc4c-04a0-beb4-84983853cbb1
Version Independent ID: c999a603-b02d-a56d-1bef-0cd4916b6a2b
Content: Connect to Azure Blob Storage using SFTP (preview)
Content Source: articles/storage/blobs/secure-file-transfer-protocol-support-how-to.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

@exeset
Thanks for the question! We are investigating and will update you shortly.

@exeset Apologies for the delay response! PR has been initiated. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Valid warehouse sizes not accepted

Provider Version
0.65.0
Terraform Version
1.x
Describe the bug
In the most recent release of the provider (0.65), valid warehouse sizes are no longer accepted (possibly related to #1792). If I choose a warehouse size "X-LARGE", I get an error message:
│ Error: expected warehouse_size to be one of [XSMALL SMALL MEDIUM LARGE XLARGE XXLARGE XXXLARGE X4LARGE X5LARGE X6LARGE], got X-LARGE

Previous versions of the provider worked, and were able to normalize warehouse sizes like X-SMALL or X-LARGE. Worse, it seems that Snowflake itself stores the warehouse sizes in the hyphenated form, so in my configurations the provider is unable to identify that XSMALL and X-SMALL are the same, and thinks there are changes to apply.
Expected behavior
Both hyphenated and non-hyphenated forms of warehouse sizes should be acceptable.
Additional context
This may be a consequence of #1792

We are seeing this behavior after updating our provider to 0.66.1 today.

In our case it misinterprets 3XLARGE read from Snowflake:
snowflake_warehouse.warehouses_se["ETL_3XL"] will be updated in-place
~ resource "snowflake_warehouse" "warehouses_se" {
id                                  = "ETL_3XL"
name                                = "ETL_3XL"
~ warehouse_size                      = "3XLARGE" -> "xxxlarge"
# (12 unchanged attributes hidden)
}

Hey @ian-r-rose @jreslock @WojtekWaga.
We are currently reworking the warehouse resource as part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#preparing-essential-ga-objects-for-the-provider-v1. However, the customized diff suppression was already added in earlier provider versions (#1873 #1946), so this problem should not happen in recent ones.
Can you confirm that?


How to addon

How can pigpio addon done in Home Assistant(HASSOS).
Regards.

Ater adding your repository, asearch for pigpio brings up this addon. And we get the install > start buttons to go ahead.
Thanks the issue is closed.