Can't run against simulator from inside Xcode, ld: symbol(s) not found for architecture i386

Open a simulator, then flutter run. Gallery runs ok. Then open the Gallery Xcode project in Xcode and run against the same simulator.
Ld /Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Objects-normal/i386/Runner normal i386
    cd /Users/xiao/Development/flutter/examples/flutter_gallery/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -L/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator -L/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator/Reachability -L/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator/connectivity -L/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator/device_info -L/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator/url_launcher -L/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator/video_player -L/Users/xiao/Development/flutter/examples/flutter_gallery/ios/Flutter -F/Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Products/Release-iphonesimulator -F/Users/xiao/Development/flutter/examples/flutter_gallery/ios/Pods/../../../../bin/cache/artifacts/engine/ios -F/Users/xiao/Development/flutter/examples/flutter_gallery/ios/Flutter -filelist /Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Objects-normal/i386/Runner.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Objects-normal/i386/Runner_lto.o -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lReachability -lconnectivity -ldevice_info -lurl_launcher -lvideo_player -framework Flutter -framework SystemConfiguration -ObjC -lReachability -lconnectivity -ldevice_info -lurl_launcher -lvideo_player -framework Flutter -framework SystemConfiguration -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Runner.app-Simulated.xcent -framework Flutter -framework App -lPods-Runner -Xlinker -dependency_info -Xlinker /Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Objects-normal/i386/Runner_dependency_info.dat -o /Users/xiao/Library/Developer/Xcode/DerivedData/Runner-dokcgemxpxmqtfbsjxggqrmijoqp/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Objects-normal/i386/Runner

ld: warning: ignoring file /Users/xiao/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter, missing required architecture i386 in file /Users/xiao/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter (3 slices)
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_FlutterError", referenced from:
      objc-class-ref in liburl_launcher.a(UrlLauncherPlugin.o)
      objc-class-ref in libvideo_player.a(VideoPlayerPlugin.o)
  "_OBJC_CLASS_$_FlutterAppDelegate", referenced from:
      _OBJC_CLASS_$_AppDelegate in AppDelegate.o
  "_FlutterMethodNotImplemented", referenced from:
      -[FLTConnectivityPlugin handleMethodCall:result:] in libconnectivity.a(ConnectivityPlugin.o)
      -[FLTDeviceInfoPlugin handleMethodCall:result:] in libdevice_info.a(DeviceInfoPlugin.o)
      -[FLTUrlLauncherPlugin handleMethodCall:result:] in liburl_launcher.a(UrlLauncherPlugin.o)
      -[FLTVideoPlayerPlugin handleMethodCall:result:] in libvideo_player.a(VideoPlayerPlugin.o)
  "_OBJC_METACLASS_$_FlutterAppDelegate", referenced from:
      _OBJC_METACLASS_$_AppDelegate in AppDelegate.o
  "_OBJC_CLASS_$_FlutterEventChannel", referenced from:
      objc-class-ref in libconnectivity.a(ConnectivityPlugin.o)
      objc-class-ref in libvideo_player.a(VideoPlayerPlugin.o)
  "_OBJC_CLASS_$_FlutterMethodChannel", referenced from:
      objc-class-ref in libconnectivity.a(ConnectivityPlugin.o)
      objc-class-ref in libdevice_info.a(DeviceInfoPlugin.o)
      objc-class-ref in liburl_launcher.a(UrlLauncherPlugin.o)
      objc-class-ref in libvideo_player.a(VideoPlayerPlugin.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

cc @cbracken

Ummm totally TIL https://stackoverflow.com/questions/28033635/why-does-the-ios-simulator-require-i386-and-x86-64-symbols-even-though-im-on-an.
Wonder if I set up my Xcode incorrectly. Though I don't think I did anything special.

@efortuna I've been experiencing the "architecture i386" as well, if a known fix already exists, it would be amazing if someone could point me in the right direction.
For me, to replicate the issue, I was following the tutorial:
https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
and for iOS when I set the iOS Target Deployment to below 11, I get the "architecture i386" error and when I set the iOS Target Deployment to above 11, I don't get the error.
I noticed the OP has "IPHONEOS_DEPLOYMENT_TARGET=8.0" in the error, which may be the cause, if the 8.0 is replaced with a "11.0" or above, then the error will probably go away.
However, for my use case I need to have the Target Deployment set below 11 for now :'(

i found this:
https://github.com/flutter/engine/wiki/ARMv7(iOS)-&-armeabi-v7a(Android)-build-with-Xcode10

@dilbert2
how to find the check commend
"your-flutter-engine-path/engine/src/build/mac/find_sdk.py", I can't find it in Flutter Path.

Is there any solution available for this problem?

I have same issue when trying on simulator any iphone (iOS 10 and below). Any workaround for this?
Flutter (Channel master, v1.3.10-pre.16, on Mac OS X 10.14.3 18D109, locale en-ID)
ld: warning: ignoring file /Users/xxxxxx/development/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter, missing required architecture i386 in file /Users/xxxxxx/development/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter (3 slices)
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_FlutterStandardTypedData", referenced from:
      objc-class-ref in libsqflite.a(SqflitePlugin.o)
  "_OBJC_CLASS_$_FlutterStandardMessageCodec", referenced from:
      objc-class-ref in libgoogle_maps_flutter.a(GoogleMapController.o)
  "_OBJC_CLASS_$_FlutterAppDelegate", referenced from:
      _OBJC_CLASS_$_AppDelegate in AppDelegate.o
  "_FlutterMethodNotImplemented", referenced from:
      -[FLTFirebaseAdMobPlugin handleMethodCall:result:] in libfirebase_admob.a(FirebaseAdMobPlugin.o)
      -[FLTFirebaseAnalyticsPlugin handleMethodCall:result:] in libfirebase_analytics.a(FirebaseAnalyticsPlugin.o)
      -[FLTFirebaseCorePlugin handleMethodCall:result:] in libfirebase_core.a(FirebaseCorePlugin.o)
      -[FLTGoogleMapController onMethodCall:result:] in libgoogle_maps_flutter.a(GoogleMapController.o)
      ___47+[FLTPathProviderPlugin registerWithRegistrar:]_block_invoke in libpath_provider.a(PathProviderPlugin.o)
      ___52+[FLTSharedPreferencesPlugin registerWithRegistrar:]_block_invoke in libshared_preferences.a(SharedPreferencesPlugin.o)
  -[SqflitePlugin handleMethodCall:result:] in libsqflite.a(SqflitePlugin.o)
  ...
  "_OBJC_CLASS_$_FlutterError", referenced from:
  objc-class-ref in libfirebase_admob.a(FirebaseAdMobPlugin.o)
  objc-class-ref in libgoogle_maps_flutter.a(GoogleMapsPlugin.o)
  objc-class-ref in libsqflite.a(SqflitePlugin.o)
  "_OBJC_CLASS_$_FlutterMethodChannel", referenced from:
  objc-class-ref in libfirebase_admob.a(FirebaseAdMobPlugin.o)
  objc-class-ref in libfirebase_analytics.a(FirebaseAnalyticsPlugin.o)
  objc-class-ref in libfirebase_core.a(FirebaseCorePlugin.o)
  objc-class-ref in libgoogle_maps_flutter.a(GoogleMapController.o)
  objc-class-ref in libpath_provider.a(PathProviderPlugin.o)
  objc-class-ref in libshared_preferences.a(SharedPreferencesPlugin.o)
  objc-class-ref in libsqflite.a(SqflitePlugin.o)
  ...
  "_OBJC_METACLASS_$_FlutterAppDelegate", referenced from:
  _OBJC_METACLASS_$_AppDelegate in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

you have to have to set ONLY_ACTIVE_ARCH = YES for debug builds. Write this to you podfile
post_install do |installer|   installer.pods_project.targets.each do |target|     target.build_configurations.each do |config|       config.build_settings['ENABLE_BITCODE'] = 'NO'       config.build_settings['SWIFT_VERSION'] = '4.2'       config.build_settings['SUPPORTED_PLATFORMS'] = 'iphoneos iphonesimulator'       if config.name == "Debug" || config.name == "Debug-alpha" || config.name == "Debug-live" || config.name == "Debug-development"         config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'       else         config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'       end     end   end end

I came across this issue when I set multiple flavors. It works totally fine with the original setup. I don't know why this is happening with multiple flavors. The only solution for me so far is to set Architecture for arm64 only under build setting. But I really do want to know why it works totally fine with original setup.

I see below error trying to build the code. works only for one debug scheme but not for release/enterprise or any other...
ld: warning: ignoring file /Users/.../Project/flutter/.ios/Flutter/engine/Flutter.framework/Flutter, missing required architecture i386 in file /Users/.../Project/flutter/.ios/Flutter/engine/Flutter.framework/Flutter (3 slices)
Undefined symbols for architecture i386:
"_FlutterMethodNotImplemented", referenced from:
___47+[FLTPathProviderPlugin registerWithRegistrar:]_block_invoke in PathProviderPlugin.o
"OBJC_CLASS$_FlutterMethodChannel", referenced from:
objc-class-ref in PathProviderPlugin.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Same issue.

Same issue here. Changing iOS Build Target to 11.0 fixed the issue for me too.

If anyone's experiencing "symbols not found for i386", in addition to checking your main project's build target, check if any plugin podspec files specify a deployment target:
s.ios.deployment_target = '8.0'

Increase this to a later version (11.0+), or even better, just delete the line altogether and let the project manage the deployment target. I'm not 100% sure, but it seems that Flutter drops its build targets to the lowest common denominator amongst all project/plugin deployment targets.

Updated link to wiki article with instructions for building 32-bit apps:
https://github.com/flutter/flutter/wiki/Supporting-legacy-platforms
I'm about to give up on supporting 32-bit devices, iPhone 5 and older.  Is there a reliable source of data about how many people use various iPhone models?

I came across this issue when I set multiple flavors. It works totally fine with the original setup. I don't know why this is happening with multiple flavors. The only solution for me so far is to set Architecture for arm64 only under build setting. But I really do want to know why it works totally fine with original setup.
ld: warning: ignoring file /Users/pengfeihuang/Developer/Flutter/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter, missing required architecture i386 in file /Users/pengfeihuang/Developer/Flutter/flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Flutter (3 slices) Undefined symbols for architecture i386: "_FlutterMethodNotImplemented", referenced from: ___47+[FLTPathProviderPlugin registerWithRegistrar:]_block_invoke in PathProviderPlugin.o "_OBJC_CLASS_$_FlutterMethodChannel", referenced from: objc-class-ref in PathProviderPlugin.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

how do you do this? Could you help me doing it? I'm also having this issue when implementing flutter flavors

Flutter frameworks contain armv7, arm64, and x86_64 slices but NOT i386.  When you run in the simulator, Xcode silently maps armv7 to i386 simulator and arm64 to the x86_64 simulator.  ONLY_ACTIVE_ARCH=YES build setting builds only for the architecture of the device or simulator you are targeting.  Xcode docs:

If enabled, only the active architecture is built. This setting will be ignored when building with a run destination which does not define a specific architecture, such as a 'Generic Device' run destination.

So if you are targeting a real recent iOS device, it will build arm64, and if you target a recent simulator, it will build x86_64.  ONLY_ACTIVE_ARCH=YES is the default for the Debug build configuration for new Xcode projects.
If you have ONLY_ACTIVE_ARCH=NO and target a real device, it will build armv7 and arm64 and will succeed.  If you target a simulator, it will try to build i386 and x86_64 and fail with this error because i386 is missing.  ONLY_ACTIVE_ARCH=NO is the default for Release build configurations for new Xcode projects because you need to publish all valid architectures to the App Store.
Flutter is not supported in Release on the simulator.
TL;DR As @jobpav1984 mentions, make sure you have ONLY_ACTIVE_ARCH=YES for any Debug build configurations.  You must have ONLY_ACTIVE_ARCH=NO for any build configurations you intend to publish to the App Store.
I recommend doing this in Xcode's build settings, NOT in your Podfile.

If anyone is hitting this error with ONLY_ACTIVE_ARCH=YES that would be interesting to know.

@xster does the suggested work-around fix your issue?

If anyone is hitting this error with ONLY_ACTIVE_ARCH=YES that would be interesting to know.

I am having the same situation with ONLY_ACTIVE_ARCH=YES @jmagman. I've tried beta and master channel of Flutter and it failed in both of them.

same problem, can't find a solution yet.

same

To fix this and get it building for Simulator I had to set ONLY_ACTIVE_ARCH=YES for the debug schemes Pods project also, in addition to the same settings the Runner project. It's working for me now.


Sync with internal changes

This set of diffs update opensource repository of FixedDataTable with internal FB changes.

Exciting! I feel a release coming :P


Issues related to Dockerfile and run.sh

There were several issues I faced while trying to extract the data from .bag files:
Docker file:
When trying to run as is:

pandas throws errors stating numpy version is 11.5.0, while >=12.0.0 is needed.
Similarly, several other PyPi packages that are already installed in ros:kinetic-vision image are left as older versions since there's no --upgrade flag at the end of pip commands(ex. PyYaml, numpy, matplotlib, ipykernel, python-dateutil), which causes problems.

Run.sh:

Doesn't do anything for me since Docker expects absolute paths for OUTPUT_DIR and INPUT_DIR, while given paths are relative to current directory.

After fixing the above problems, everything works as expected. I think Docker file and Run.sh need small changes. I have opened a pull request, please have a look.

Thanks for the PR, haven't had a chance to run so will leave open for now so others can find it. This project is getting a bit dated, hence the python package version issues, upgrade as you suggest helps. Overall someone should/could update everything to use Melodic :)
The paths in run.sh are already absolute, they lead with a slash, they just reference a specific location for the data that's not in the current directory. One way or another what needs to go there is system specific, perhaps in pwd is a bit more generic for a default but not critical either way, the user has to understand it needs to match the location of data folder on their system.

All fixed, thanks


Handle negative resolution when loading tiff

Ensures that negative resolutions flip the coordinates inside a tiff, ensuring that the image displays with the correct orientation by default.

Thanks!
One more general issue (that may not be in the scope of this PR) is that when using tools like intake, you don't get a 'tif' file to load. This is a bit of a pain as the things that load_tiff does (transfer crs, apply res, fix coordinate ordering) are really useful and it would be nice to have similar functionality when starting with an xarray data structure.

I've now added factored out a .from_xarray methods, which will unpack an xarray DataArray appropriately.

Looks great! My only question is whether you think there is a difference between from_X and load_X. Why not load_xarray to be consistent?

Because it doesn't load any xarray file, only ones that can be loaded with xr.open_rasterio and I'm not quite sure what else xr.open_rasterio works on.


fix invalid entrypoint values in pe module

Invalid values for the entry point in the PE module were not correctly
detected. This is now fixed and the entrypoint has value -1 if we either
fail to retrieve it, or if the file offset is bigger than the file size.

Current dependencies on/for this PR:

master

PR #16   👈

This comment was auto-generated by Graphite.


Updating the trunk of Cocoapods

Hello,
i'm working on integrating this amazing project.
and it looks like the master repo of Cocoapods Spec is outdated
so as far as i see, latest commit is pointing to 1.2.2, which is way behind the current release 1.4.0
https://github.com/CocoaPods/Specs/commit/9b02570dbc2991555165ff6b6b36120145052165
suggested actions:
1- can i open a commit to update it to latest version ? or it should be the repo owner ? @krzysztofzablocki
2- can we make a release containing latest changes on main ? so maybe it's 1.4.1
Thanks you so much !!

@krzysztofzablocki I would love to hear your opinion here


What is the best way to test speed of TF

I am trying to test the speed of TF but seems TF is using python and it is gonna be quite slow. What is the rrecommended way to test the speed of a model in TF?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


Adding a sunrise-sunset animation

✅ Here's a sample
https://user-images.githubusercontent.com/96336775/167267141-e7c8d141-c024-4d0b-9932-1d05f9573184.mp4
✅ Modifications will be done

@astha2412 Sure !


fix site reordering fro ControlBlock to Quantum conversion

CC @Todorbsc

Can we have a small testset that just tests whether the results from Reactant and Tenet is the same?

not right now because we are on a rush and we also need to create the infrastructure for Reactant tests (there are no tests with Reactant here)
#245 tracks that issue


Feat: Add custom price range in filter section

Is there an existing issue raised for this?

[X] I have searched the existing issues

Describe the feature
I want to add inputs in the filter for custom price ranges that can be given by users. I will add this feature along with functionality.
Add Screenshots
I want to add custome price range feature in filter box similar to the one in amazon's site, as shown below:

Record Options

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

@AlfiyaSiddique Go for it


Error with existing<EMAIL_ADDRESS>

First of all thanks for you  nice work.
When I use in my node project which already dependent to<EMAIL_ADDRESS>I've got this message:
//*** code
const shamsi =jmoment('2014/01/24').locale('fa').format('YYYY/MM/DD');
//*** what it shows in console:
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 1989/01/24, _f: undefined, _strict: undefined, _locale: [object Object]
Error ...........
Thanks again.
Mohammad

Hi
Your welcome
2014/01/24 its not in ISO or RFC2822 formats.
you could use
 moment('24/01/2014')
or
 moment('2014/01/24',  'YYYY/MM/DD');
and I will update the document
Thank you

Thank you again it works now. I appreciate it.


Add support for JuliaFormatter?

More and more packages seem to use JuliaFormatter to enforce a specific code style. Maybe support for JuliaFormatter could be added to PkgTemplates? This could mean e.g. to support creating a .JuliaFormatter.toml file with some default style (e.g., style = blue, in particular if the Blue style badge is used) and a Github action that checks the format and provides suggestions in PRs (only if not made from a fork though: https://github.com/JuliaDiff/ChainRulesCore.jl/issues/489).

I'd like to second this.
I've configured my editor to format on save, and for some reason the default formatter settings it uses are really bad (i.e., 8 spaces per tab), so I have to create a .JuliaFormatter.toml file in every repo where I want to save a file.
Of course, I could turn off the auto formatter, or maybe I could get it to only format if it finds a .JuliaFormatter.toml...
But for now, I think it'd be nice if .JuliaFormatter.tomls were more widespread.

A PR would be welcomed, if anyone can be tempted to give it a go :)


walredo: find a design that uses Rust typesystem to child stdio file descriptor lifetimes [P:2] [S:2]

Problem Statement
As of https://github.com/neondatabase/neon/pull/3368 , when we kill the walredo child process, we keep its  ChildStdout and ChildStderr alive. This keeps the file descriptors that we receive from the OS open so that, when we spawn a new walredo child, we will have different file descriptors for the new child's stdout & stderr.
apply_wal_records uses this behavior to detect that we spawned a new walredo child process.
I believe this file descriptor dance is currently correct but very brittle (see my comments in the code).
I fear it will be glossed over or not properly understood in a future change to walredo.rs.
The worst-case outcome is that another tenant's walredo process's stdio file descriptors get used, resulting in a potential cross-tenant information leak.
Propsoal
Introduce a new struct WalRedoProcess and move the apply_wal_records method there.
When we launch the walredo process, we heap-allocate the WalRedoProcess struct using Arc.
PostgresRedoManager stores the current walredo process in a Mutex<Option<Arc<WalRedoProcess>>>.
apply_batch_postgres grabs that mutex briefly to check whether there is already a walredo process.
If there is, Arc::clone it, drop mutex, call apply_wal_records.
If apply_wal_records comes back with an error:

re-acquire the mutex
if it's still the same WalRedoProcess, .take() it out, drop mutex, and kill_and_wait it

pub struct PostgresRedoManager {
    tenant_id: TenantId,
    conf: &'static PageServerConf,
    redo_process: Mutex<Option<Arc<WalRedoProcess>>>,
}

struct WalRedoProcess {
    child: NoLeakChild,

    // stderr is used by both tx and rx. Rule is: must hold either tx or rx mutex before this one.
    stderr: Mutex<ChildSterr>

    tx_mutex: Mutex<ChildStdin>,

    rx_mutex: Mutex<struct {
      stdout: ChildStdout,
      pending_responses: VecDeque<Option<Bytes>>,
      n_processed_responses: usize,
    }>
}

impl WalRedoProcess {
    fn apply_wal_records(&self, ...) -> ... {
        let borrowed_child_stdin_fd: BorrowedFd<'_> = self.tx_mutex.lock().unwrap().as_fd();
        // The BorrowedFd type limits the lifetime to the scope of this function.
        // https://doc.rust-lang.org/stable/std/os/fd/struct.BorrowedFd.html
    }
}

With this design, the lifetimes of file descriptors are tracked through Rust's type system at all times.
That makes it much harder to accidentally use a file descriptor after closing it or, worse, after it is reused by another walredo process.
Further, the code will be much more idiomatic and straightforward.
FAQ

Won't there be contention around the mutex redo_process: Mutex<Option<Arc<WalRedoProcess>>>

Definitely, but we hold it only briefly on the hot path, so the futex code will likely remain in userspace.
We could also use RwLock or do tricks with atomic pointer swaps if it ever becomes a severe bottleneck.

Also, the complete discussion that followed my original proposal to implement this as part of
https://github.com/neondatabase/neon/pull/3368#pullrequestreview-1263240030

I am surprised we haven't yet seen fd confusion with the restart pr landing #3739, because it should trigger the issue easily locally. Perhaps we have no tests for this, and #3739 didn't add those.


adding the required changes for stylecop

@benrr101 this is still wip.
Trying to understand some nuances of stylecop rules with the builds.
I got all the rule sets in here and made them suggestions because our csproj is designed to treat warning as errors.
Also you can see that I am trying to enforce this for a particular folder and not the whole code
Few things to do

Make the build not treat stylecop warnings as errors.
Bring in only the relevant rules based on the CR comments
If possible make the CI enforce stylecop on the files which changed.

@saurabh500
Checking into old PRs, do you intend to work on this? If not, please feel free to close and open an issue for future milestones that someone can independently work on.


hyprlang clashes with libhyprlang2

trixie/libhyprlang2
Presents a problem for hyprpicker and hyprlock in the repo @hhhorb
They both need to rebuilt against libhyprlang2 and I need to purge hyprlang from the repo.
No big deal, I can do it, but if you want you can. Let me know.

Replied here...
https://forums.bunsenlabs.org/viewtopic.php?pid=137979#p137979
Thanks for the heads up!


Fixed custom status issues

Summary

Fixed MM-36571 - RN: Custom status does not reflect changes from webapp when backgrounded
Fixed MM-36601 - RN Custom status is not shown in right sidebar after setting custom status from webapp
Fixed selector memoization for multiple instances of CustomStatusEmoji component
Fixed MM-T3893 failing e2e test

Ticket Links

https://mattermost.atlassian.net/browse/MM-36571
https://mattermost.atlassian.net/browse/MM-36601

Device Information
This PR was tested on:

iPhone 12 Simulator - iOS 14.4
Android Emulator - Pixel_3a_API_30_x86 - Android 10

Release Note
Fixed MM-36571 and MM-36601 issues
Fixed selector memoization for multiple instances of CustomStatusEmoji component
Fixed MM-T3893 failing e2e test

Hello @manojmalik20,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Building app in separate branch.

Cherry pick is scheduled.


Version management between GDA and Artemis

As Artemis changes in scope to take more of the heavy lifting from the HCR it will be important to make sure that the correct versions of GDA and Artemis are running together. Some ideas for how to do this:

A shared py file that both HCR and Artemis read from
A version number that HCR quries on startup and errors if incorrect

This should also involve documenting the release process for Artemis.

@callumforrester have you thought about this in blueapi?


Switch to Ruby 3.3 compatibility

This currently results in a lot of failing tests, and the CI does not run yet either.

@seven1m Would you be able to take a look at this failing spec from test/natalie/proc_test.rb?
ruby_version_is '3.3' do
  it 'cannot create a new Proc object from a block argument' do
    def create_lambda(&block)
      lambda(&block)
    end
    -> { create_lambda { 1 } }.should raise_error(ArgumentError, 'the lambda method requires a literal block')
  end
end

This one should have been added in commit 90163209c67ace8d4811bb81e93b00b4e625a1e7, but when I try to revert that fix everything in the compiler breaks down.

It still has a bunch of NATFIXMEs (I didn't really want to fix every single issue here), but I think this is good enough to start with Ruby 3.3 compatibility.


Wrong recognition

Situation:
Some titles (GTA San Andreas for example) may refuse to boot and switches to dashboard with that screen:

But on recent builds it throws error:

Crash caused by these two extra lines in HLE/Symbol cache (for example - San Andreas):
D3DDevice_SelectVertexShader_0=35c664
D3DDevice_SetShaderConstantMode_0=35c714
HLE Cache revision is same - 716367461.

I was confirmed. Fixed by PR #43.
These functions are match standard argument signatures and LTCG specific signatures, so It was necessary to add retn opcode.

Fixed, closing issue.


My version of compiler

Here is my version of compiler. It generates a faster code than published.

Thanks!


Enable Sourcegraph

I want to use Sourcegraph code search and code review with refluxjs. A project maintainer needs to enable it to set up a webhook so the code is up-to-date there.
Could you please enable refluxjs on @Sourcegraph by going to https://sourcegraph.com/github.com/spoike/refluxjs and clicking on Settings? (It should only take 15 seconds.)
Thank you!

I've enabled refluxjs on sourcegraph


Return a batch of CAM and not of a single image

Hi,
I'm trying to obtain grayscale CAM values from an entire batch during training and not only from a single image. I've found that it is possible but I'm having some trouble with the labels, because I don't know if there is a way to give to the "ClassifierOutputTarget" object an array of labels or something similar (maybe an array of objects with the right labels inside of them?).
Do you know if there is the possibility to do so or something which I can change to make this work?
Thanks in advance,
Pietro

Hi,
You can give it a list with classifier output targets per batch, each constructed for the category you're interested in visualizing for that image in the batch.

Hi,
Thanks a lot for the answer!
Then I'll use [classifieroutputtargets(output_target_0)...
classifieroutputtargets(output_target_i)]
As you suggested
Where each i-th element is the corresponding target value ordered
accordingly to the batch data order.
Thank you,
Pietro
Il Ven 26 Mag 2023, 15:54 Jacob Gildenblat @.***> ha
scritto:

Hi,
You can give it a list with classifier output targets per batch, each
constructed for the category you're interested in visualizing for that
image in the batch.
—
Reply to this email directly, view it on GitHub
https://github.com/jacobgil/pytorch-grad-cam/issues/420#issuecomment-1564430859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVBCWCLCDBFRGCYWSUAJNLXICYZFANCNFSM6AAAAAAYLVLP3I
.
You are receiving this because you authored the thread.Message ID:
@.***>


symlinked modules are not copied over on run/publish

If there aren't any reasons this can't or shouldn't be done I'll give it a shot.

Oooof nice catch @dtex!

It's an fstream thing. Trying to determine if it is a bug or intended behavior.

A PR was submitted a couple of years ago but is still open. I've pinged the assignee:
https://github.com/npm/fstream/pull/16

Cautionary note: My use case for including symlinks was so that I could link to local repos of modules I contribute to. Since I am running npm install in those local repos the devDependencies are installed along with the dependencies. It's pretty easy to run out of space when those are get pushed to the Tessel. Running install with --production gets around that.
npm install --production

Also watch out for .git directories.

We can add these to the implied .tesselignore entries https://github.com/tessel/t2-cli/blob/master/lib/tessel/deploy.js#L212-L219

Update, ownership of that PR has changed a couple of times and they are asking for tests.
Also note that slim builds are not subject to this problem.

Thanks for the update here, we'll have to be sure to re-visit this once the pre-compiled binary modules support is merged

@dtex is this still problematic? By default, all build are --slim now

@dtex is this still an issue?

@dtex do you know if this is still an issue? Looks like the related issue you linked above is still open so I'm assuming the CLI is still affected...

@johnnyman727 Oof, so sorry. I wasn't getting notices on this which is weird. The problem isn't fixed in fstream but so much work has been done on the T2 deployment stuff that it is unclear to me if we are still dependent on fstream for recursively copying directories within node_modules. On the surface it appears not.
I'll test tonight.

s unclear to me if we are still dependent on fstream for recursively copying directories within node_modules. On the surface it appears not.

It's both, depending on which path is taken. The --full flag will take the easy way out and use fstream, whereas the default path (--slim) does all the hoop jumping, directory traversing, nit-picking, roof-topping, re-rocking, crip-walking...
Looking back to the original post... I think your clever workaround isn't necessary anymore. The devDependencies will only be copied if you explicitly do --full, which I think no one should ever do, because that's nutty. Or, you can now list stuff in a .tesselignore! Anyway, I'm still curious about the symlinking in the default (--slim) deployment path


Ceph package is broken.

The package needs a file from https://dl.bintray.com/vivint-smarthome/ceph-on-mesos/ceph-on-mesos-0.2.11.tgz, but it's response is forbidden.

This broken link in package caused us to spend a couple of days to reach a state just to test the framework, check this discussion for the root cause of the "forbidden" issue:
https://dcos-community.slackarchive.io/storage/page-25/ts-1504190894000515
We then had to spend good amount of time and effort to compile the framework due to several make and sbt issues until we are able to compile it ourselves.

@bergerx Should we host the file somewhere else?
Can you share your changes so I can recompile?

Just for information, ceph-on-mesos cannot deploy ceph luminous version because luminous needs ceph-mgr daemon for cluster setup. But kraken is deployable.

@minyk Hosting file in some other more reliable artifact store could be really helpful and just address this issue. It was Silvano from our team who compiled it for us you can find the compiled version here: https://github.com/Melozzola/ceph-on-mesos-0_2_11_tgz/raw/master/ceph-on-mesos-0.2.11.tgz
I'll try to find how he has compiled and share here.
But if I get it right the real issue about the framework is that it was written as a personal pet project and no longer maintained. There should be some kind of support/lifecycle management for packages.

Below you can find a copy paste of compilation notes from our internal wiki, it was @Melozzola who did the hard work putting these together.
Build ceph-on-mesos
The first step is to install sbt. For mac I used homebrew
brew install<EMAIL_ADDRESS>
The second step is to install ensime. In your ~/.sbt/0.13/plugins/plugins.sbt add
addSbtPlugin("org.ensime" % "sbt-ensime" % "1.12.14")

If the file is not there, create it.
The third step is to clone the git repository
git clone https://github.com/vivint-smarthome/ceph-on-mesos.git

The git project uses git submodules, so you need to initialise those running
cd ceph-on-mesos
git submodules init
git submodules update

Change the ceph-on-mesos/build.sbt file (line 168) and replace the line
ProjectRef(uri("git://github.com/timcharper/scalajs-react-bridge.git"), "scalajs-react-bridge"))

with
ProjectRef(uri("https://github.com/timcharper/scalajs-react-bridge.git"), "scalajs-react-bridge"))

Modify the ceph-on-mesos/project/plugins.sbt adding a few more repositories and bumping the version of the dependencies. The file should look like the following:
resolvers += Resolver.url("bintray-sbt-plugins", url("https://dl.bintray.com/sbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
resolvers += Resolver.sonatypeRepo("snapshots")
resolvers += Resolver.sonatypeRepo("releases")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.2")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.20")

Make sure that you have the ceph-on-mesos/project/build.properties with
sbt.version=0.13.16

If not, just go ahead and create it.
Finally you should be able to compile the project vit sbt. Launch the sbt console with
sbt

and then from the shell you can clean the project with
clean

you can compile running
compile

The projects uses submodules, and you need to generate the javascript ui with
ui/fullOptJS

To generate the distribution archive run
compile packageZipTarball


WIFI change (CON-1157)

it is possible to change the wifi network of an already paired device, for example switching from WIFI_X to WIFI_Y ?

If you change the wifi on the device, then device will be unreadable for the controller.

If you change the wifi for controller too, then yes device is controllable.

Hi @jadhavrohit924  obviously I would change the wifi on both the device and the controller.
I'll try to explain myself better, via a REST-API command, so no matter I would like to send the new ssid and password to the device.
Is there an esp-matter function that allows me to set up this new network?

@stefano055415 You can use AddOrUpdateNetwork API.

Here are the ESP APIs that you can use to update wifi network.


Update tutorials

PyGrid  depends a lot on PySyft and GridNode.
This impact in the tutorials, some of them are outdated.
The tutorials should be updated :)

Can I be assigned to this?

Can I be assigned to this?

Any update?

Woops this fell of my radar! I'll work on updating the second tutorial this week.

Woops this fell of my radar! I'll work on updating the second tutorial this week.

Nice. Let me know if you need help. I guess some points will fail...


Error modify

Hi! Thanks for PR! But what issues it address though?

Closing because of no response.


Make 'npm start' work

Right now npm start leads to
Failed to compile.

/home/jansen/eclipse-ws/geostyler/src/Model/Rule/Rule.spec.ts
(4,10): Module '"/home/jansen/eclipse-ws/geostyler/src/Interface/Filter/Filter"' has no exported member 'Filter'.

This should do sth. different

I am unsure if this should work at this point

Thanks for reporting @marcjansen. Indeed it is not critical at the moment but should be fixed, of course.

I'll take care of it.


Add Font, Frame, Framesetter, Paragraph, Run, and Line test pages

Add a test page to CTCatalog for CTFont, CTFrame, CTFramesetter, CTParagraph, CTRun, and CTLine.  Also has very tiny cleanup in Core Text unit tests and marks CTLineCreateWithAttributedString as stubbed properly.

@rajsesh-msft is added to the review. #Closed

@mnithish is added to the review. #Closed

:clock1:

:shipit:


Test that KafkaCDCProducer support sending to N topics

 Here is an overview of what got changed by this pull request:

Clones removed
==============
+ producer-kafka/src/test/java/io/stargate/producer/kafka/KafkaCDCProducerIntegrationTest.java  -13

See the complete overview on Codacy

Looks like you need to fix a dependency
[ERROR] Failed to execute goal on project persistence-api: Could not resolve dependencies for project io.stargate.db:persistence-api:jar:0.0.17-SNAPSHOT: Could not find artifact io.stargate.core:core:jar:0.0.15-SNAPSHOT in central (https://repo.maven.apache.org/maven2) -> [Help 1]

 Here is an overview of what got changed by this pull request:

Clones removed
==============
+ producer-kafka/src/test/java/io/stargate/producer/kafka/KafkaCDCProducerIntegrationTest.java  -13

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones removed
==============
+ producer-kafka/src/test/java/io/stargate/producer/kafka/KafkaCDCProducerIntegrationTest.java  -13

See the complete overview on Codacy


Icons not working

I just installed the plugin but the icons are not working.

@LukeTowers No I'm not using a public folder for my October installation


Can we create Custom Resource in R4

Can we create Custom Resource in R4 model. If yes then can you tell me what are the steps to do it. I know about extension but we don't want extension. We want to add new model like Patient

@Sameer2810 We do not support custom resources on the FHIR server right now.


Line 42 - The comment is grammatically incorrect. Fix the English in the comment.

Not sure.  The line numbers have been off.  I found a strange comment at line 31 that this could be referencing.

ee7da62d309ac1005e1a6e79c3977e52052d373f


Policy names such as "Central" or "App" are vague

The names of the policies used in the https://learn.microsoft.com/en-gb/azure/backup/guidance-best-practices#auto-configure-newly-provisioned-backup-infrastructure-with-azure-policy-at-scale section are vague and should be updated to reference explicit policies to improve clarity for the reader.
I'd suggest improving by deep-linking to policies on this page: https://learn.microsoft.com/en-gb/azure/backup/backup-azure-auto-enable-backup, for example: https://learn.microsoft.com/en-gb/azure/backup/backup-azure-auto-enable-backup#policy-3---configure-backup-on-vms-without-a-given-tag-to-a-new-recovery-services-vault-with-a-default-policy.  This way talking about "Central policy" or "App policy" can have concrete references behind it.

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

ID: 88eb23b4-5aaa-f95e-6f73-4a89553cea58
Version Independent ID: e53b6a88-5c18-b119-debb-0c19f2abf62c
Content: Guidance and best practices - Azure Backup
Content Source: articles/backup/guidance-best-practices.md
Service: backup
GitHub Login: @v-amallick
Microsoft Alias: v-amallick

@AndrewBryson
Thanks for your feedback! We will investigate and update as appropriate.

@AndrewBryson Thanks for your feedback.
Assigning to content author @v-amallick  for review.

@AndrewBryson - thanks for bringing this to our notice. We have updated the section; the updates will be live soon. As the doc updates are complete, we are closing this issue ( #please-close ).


convert to v2 addon / real npm package

Would resolve: https://github.com/mainmatter/qunit-dom/issues/2022
And eliminate all build customizations, which appear to only be for old qunit and getting around emberisms,

This is now complete, post-merge of: https://github.com/mainmatter/qunit-dom/pull/2028


chore(version) hubble.gl dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 26.411%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
221

Relevant Lines:
722

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 26.411%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
221

Relevant Lines:
722

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 26.411%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
221

Relevant Lines:
722

💛  - Coveralls


ui: MaximizeWindow before RunGame does not maximize the window on Windows

Confirmed this with examples/windowsize

https://github.com/glfw/glfw/issues/1499

Oh this should be already solved?


Investigate PCIE_2_1 PIPs

This issue is to keep track of the information on the PIPs around the PCIE_2_1 primitives for xc7 parts.
Description
The PCIE_2_1 primitive is a hard block that is half-clock region tall and has many connections with the fabric. By investigating the device view, it results that there are some pips in the PCIE_INT_INTERFACE tiles which work a bit like the BOUNCE pips in the INT tiles.

The image above represents a section of the PCIE_INT_INTERFACE that displays said pips.
By further investigation, these pips seem to occupy the 27th frame of the segment in which the PCIE_2_1 primitive is, and that,  by default, the pip allows a direct connection, without bouncing to the additional wire before getting to the destination port.
These PIPs should likely require a pce-int-pips fuzzer.

Is this complete?


Speed up CTS

Description
unzip https://drive.google.com/file/d/1IKNjdXdUdjgcf1zjTXuyDntbyXLWgrO8/view?usp=sharing
./run-me-BoomTile-asap7-base.sh
OpenROAD v2.0-11428-g64228063b
[deleted]
[INFO CTS-0032]  Stop criterion found. Max number of sinks is 15.
[INFO CTS-0035]  Number of sinks covered: 4433.
[INFO CTS-0018]     Created 5337 clock buffers.
[INFO CTS-0012]     Minimum number of buffers in the clock path: 23.
[INFO CTS-0013]     Maximum number of buffers in the clock path: 24.
[INFO CTS-0014]     1 clock nets were removed/fixed.
[INFO CTS-0015]     Created 5336 clock nets.
[INFO CTS-0016]     Fanout distribution for the current clock = 0:1, 1:3, 2:10, 3:34, 4:50, 5:43, 6:55, 7:51, 8:61, 9:57, 10:56, 11:36, 12:32, 13:24, 14:18, 15:16, 16:11, 17:11, 18:7, 19:4, 20:4, 21:5, 22:3, 23:2, 24:3, 25:3, 26:2, 27:1, 29:1, 30:4338..
[INFO CTS-0017]     Max level of the clock tree: 9.
[INFO CTS-0098] Clock net "clock"
[INFO CTS-0099]  Sinks 131199
[INFO CTS-0100]  Leaf buffers 4430
[INFO CTS-0101]  Average sink wire length 2221.56 um
[INFO CTS-0102]  Path depth 23 - 24
[WARNING STA-0357] virtual clock clock_vir can not be propagated.
Warning: There are 540 unconstrained endpoints.

After ca. 1 minute, there is no further output for quite some time... 20 minutes?
==========================================================================
cts pre-repair report_design_area
--------------------------------------------------------------------------
Design area 985247 u^2 51% utilization.
[INFO RSZ-0058] Using max wire length 162um.
[INFO RSZ-0047] Found 62 long wires.
[INFO RSZ-0048] Inserted 98 buffers in 62 nets.
Warning: There are 540 unconstrained endpoints.

Then nothing for maybe another 20 minutes?
==========================================================================
cts post-repair report_design_area
--------------------------------------------------------------------------
Design area 985278 u^2 51% utilization.

TNS end percent 5
[INFO RSZ-0046] Found 17274 endpoints with hold violations.

No further output for a while...
Suggested Solution
No response
Additional Context
No response

How is this different from #4333 ?

One is a feature request for progress info, the other to speed up CTS.

@precisionmoon would you start by looking at the skew show in

(from https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/discussions/1710) before we start on runtime.

@precisionmoon see my further comments in https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/discussions/1710

with the current settings there are many buffers on the macros:

but if I add -obstruction_aware I see:

Some objects are now outside the die area which is wrong.  Some are still on top of macros too.

Ok. Let me take a look.

PR 4383 should fix the issue of cells getting placed outside core area and cells on top of hardmacros.

@precisionmoon with #4459 and -obstruction_aware  does the skew improve?

@precisionmoon with #4459 and -obstruction_aware does the skew improve?

Worst skew remains at 58.56 immediately after CTS with and without -obstruction_aware, even after #4459.
Clock clock
Latency      CRPR       Skew
core/fp_rename_stage/7310/CLK ^
451.28
core/fp_rename_stage/freelist/45073/CLK ^
392.72      0.00      58.56


Enable Text/Code Wrapping

It's been a month when I started using Visual Basic Code, I try this and I love to use it in every day coding due to its extension, plug-ins and theme, even though this make me mesmerize with the application, but I even  still compare this to other text editors such as Sublime, Atom and Notepad++ and one behavior.

The one that I compare is the word wrapping, this behavior of this application that really bugged and annoyed me. Whenever I would browse a document I would always get frustrated by the way the application would horizontally scroll whenever a document had really long lines of code.

Is there's a possibility for me or us to enhanced word wrap or make a soft automatic text or command wrapping?

If I understand you correctly, you just want to enable Word wrap? To do this there are several options:

Open the command palette by clicking F1 or CTRL + SHFT + P
Type Wrap and select View Toggle Word wrap

This can also be doen without the command palette and just slicking ALT + Z on the keyboard.

Thanks @DarkLite1 and yes we already have word wrapping.


Implement next basefee

For users to know what the next basefee is to make a decision for a
transaction.

looking at the next block it doesn't match the basefee


Transfer the engineer wishlist to a spreadsheet for curation.

https://docs.google.com/document/d/11yvU5A1PMcZFXjuzZo_ZaVE_03CNTOFb_LCpI1FX8iU/edit

Sheet created at https://docs.google.com/spreadsheets/d/1XNdHl2Oqhgd6--sZAbW_IsMpcqWV9EslvlSFo59JpFE/edit#gid=0

This is done and doesn't require manual QA


Chat messages skipping

Hello i am from Ukraine and my english is bad and i faced with problem, when your stream watching few people it's ok to use this library and i can get every message from chat, but if my stream watching from 300 to 1.5k people and every body writing messages to chat, this TikTol-Live-Connector lib starts skipping chat messages, when i compare it with tiktok chat on my device it looks like messages come in batches and this tiktok live connector library just showing the last message, you know tiktok server sending like 5-10 messages same time and library only shows last one, please test this on very active stream and see what i am trying to describe! if you understand me please tell me what to do to fix it somehow, maybe i can get messages in some kind of array?

will check this.

thank you for fast reply, i love your live connector! it's the best! I was trying do do this kind of socket connection but i failed, when i saw this library it was like blessing to me

May be something wrong with my code i have frontend and backend app, my backend code looks like this
`
const {WebcastPushConnection} = require('tiktok-live-connector')
let tiktokUsername = 'nester4340'
let stream = new WebcastPushConnection(tiktokUsername)
stream.connect().then(state=>{
console.info(Подключено к комнате roomId ${state.roomId})
}).catch(e => {
console.error('Ошибка подключения',e)
})
var WebSocketServer = require('websocket').server;
var http = require('http');
var server = http.createServer(function(request, response) {
console.log((new Date()) + 'Received request for ' + request.url);
response.writeHead(404);
response.end();
});
server.listen(1234, function() {
console.log(Сервер запущен, порт 1234 ${Date.now()});
});
wsServer = new WebSocketServer({
httpServer: server,
autoAcceptConnections: false
});
function originIsAllowed(origin) {
return true;
}
wsServer.on('request', function(request) {
if (!originIsAllowed(request.origin)) {
request.reject();
console.log((new Date()) + ' Connection from origin ' + request.origin + ' rejected.');
return;
}
var connection = request.accept('echo-protocol', request.origin);

console.log(`Соединение принято ${connection.remoteAddress} ${Date.now()}`);

stream.on('chat',data=>{
	console.log('chat',data.uniqueId,data.comment)
	connection.sendUTF(JSON.stringify({type:'chat',payload:data}));
})

stream.on('like', data => {
	connection.sendUTF(JSON.stringify({type:'like',payload:data}));

})

connection.on('close', function(reasonCode, description) {
    console.log(`Пир ${connection.remoteAddress} отключен!`);
});

});
`

i am also sending tiktok messages from backend to frontend via websocket library maybe it has some delay or it's just skips messages? i can show you my code but it's very boilerplate i don't think that problem in my code
backend: `
const {WebcastPushConnection} = require('tiktok-live-connector')
let tiktokUsername = 'nester4340'
let stream = new WebcastPushConnection(tiktokUsername)
stream.connect().then(state=>{
}).catch(e => {
console.log(e)
})
var WebSocketServer = require('websocket').server;
var http = require('http');
var server = http.createServer(function(request, response) {
response.writeHead(404);
response.end();
});
server.listen(1234, function() {});
wsServer = new WebSocketServer({
httpServer: server,
autoAcceptConnections: false
});
function originIsAllowed(origin) {
return true;
}
wsServer.on('request', function(request) {
if (!originIsAllowed(request.origin)) {
request.reject();
return;
}
var connection = request.accept('echo-protocol', request.origin);

stream.on('chat',data=>{
	connection.sendUTF(JSON.stringify({type:'chat',payload:data}));
})

stream.on('like', data => {
	connection.sendUTF(JSON.stringify({type:'like',payload:data}));
})

connection.on('close', function(reasonCode, description) {
    console.log('disconnect');
})

})
`

Please use this code for testing:
const { WebcastPushConnection } = require('tiktok-live-connector');

let connection = new WebcastPushConnection('@user');

connection.on('chat', data => console.log(data.uniqueId, data.comment));

connection.connect().catch(err => console.error(err));

...And see if the problem also occurs with that code.

Ok i will try it

OK i just tested, looks like it's working fine. I am sorry about that

I fixed my code, it works nice, solution was too simple, i created array of messages and each time message come i just write it to array, and then i use setInterval(render, 100) and each 100 ms the first message of array showing up and removing from array so if somebody needs this kind of functionality this is how i made it

Thank you author for such amazing library, 9999 likes to you

Thanks! Good to hear that everything is working now :)

Thanks! Good to hear that everything is working now :)

i wanted to donate you but i have problem with my bank, the reason is war in my country i can't send money out of country


Creation of Private-Tangle Failed

Docker and docker-compose version
Docker version 20.10.6, build 370c289
docker-compose version 1.29.2, build 5becea4c
Hardware specification
Operating system: Ubuntu 20.04
RAM: 8 GB
Cores: 8
Device: Intel® Core™ i5-8250U CPU @ 1.60GHz × 8
Steps To reproduce the bug
View attached images

Docker and docker-compose version
Docker version 20.10.6, build 370c289
docker-compose version 1.29.2, build 5becea4c
Hardware specification
Operating system: Ubuntu 20.04
RAM: 8 GB
Cores: 8
Device: Intel® Core™ i5-8250U CPU @ 1.60GHz × 8
Steps To reproduce the bug
View attached images

if you want to create a Private Tangle using the legacy network protocol
you need use gohornet/hornet:v0.5.6
as image on the docker-compose. Nonetheless I recommend you use the
Chrysalis Private Tangle (the code will be published today)
Thanks
On Mon, May 24, 2021 at 11:16 AM Manuel @.***> wrote:

[image: Schermata da 2021-05-20 20-30-56]
https://user-images.githubusercontent.com/34507560/119325548-40450400-bc81-11eb-8190-d1045318584e.png
[image: Schermata da 2021-05-20 20-35-14]
https://user-images.githubusercontent.com/34507560/119325564-463ae500-bc81-11eb-817d-3a384f4a7737.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/iotaledger/one-click-tangle/issues/37, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQEZJLTROD3DP6ATE2DS7YDTPIKOXANCNFSM45M3OU7A
.

--
IOTA Foundation
c/o Nextland
Strassburgerstraße 55
10405 Berlin, Germany
Board of Directors: Dominik Schiener, Serguei Popov, Navin Ramachandran
ID/Foundation No.: 3416/1234/2 (Foundation Register of Berlin)

if you want to create a Private Tangle using the legacy network protocol you need use gohornet/hornet:v0.5.6 as image on the docker-compose. Nonetheless I recommend you use the Chrysalis Private Tangle (the code will be published today) Thanks
…
On Mon, May 24, 2021 at 11:16 AM Manuel @.***> wrote: [image: Schermata da 2021-05-20 20-30-56] https://user-images.githubusercontent.com/34507560/119325548-40450400-bc81-11eb-8190-d1045318584e.png [image: Schermata da 2021-05-20 20-35-14] https://user-images.githubusercontent.com/34507560/119325564-463ae500-bc81-11eb-817d-3a384f4a7737.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#37>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQEZJLTROD3DP6ATE2DS7YDTPIKOXANCNFSM45M3OU7A .
-- IOTA Foundation c/o Nextland Strassburgerstraße 55 10405 Berlin, Germany Board of Directors: Dominik Schiener, Serguei Popov, Navin Ramachandran ID/Foundation No.: 3416/1234/2 (Foundation Register of Berlin)

I would like to use Chrysalis Private Tangle, can you kindly write me in the comments the link for the new code as soon as it is published?
Thank you very much for helping

@Galman21 closing this issue. You can now try to install a Private Tangle based on Chrysalis. Please open a new issue if you find issues with that one
thank you


Doc/openapi client code creation

Codecov Report

Merging #745 (45101eb) into release/v5.26.0 (0f9c02d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 45101eb differs from pull request most recent head 21ff1f7. Consider uploading reports for the commit 21ff1f7 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@               Coverage Diff                @@
##           release/v5.26.0     #745   +/-   ##
================================================
  Coverage            64.00%   64.00%
================================================
  Files                   44       44
  Lines                 2375     2375
================================================
  Hits                  1520     1520
  Misses                 855      855


Request to allow me to update your README file

README file is very important for participants,so I would like to elaborate about your project .Please assign this to me under gssoc 24.

It is clearly specified how you can contribute in the contribution guide. Follow it.


ternary requires even more space now

a ?b :c used to work, with #1498, it no longer parse, have to do a ?b : c now

Is this necessarily a bug? I guess it is technically a regression but I don't know that it was ever officially supported.

it's documented here https://github.com/DanielXMoore/Civet/blob/bec932c2b488942bb566ed283a9b97fe4d6ed559/civet.dev/comparison.md?plain=1#L108

We could add a compiler flag to disable symbol shorthand.

The example I gave is not ambiguous because it currently doesn't parse, and there's really only one way to parse it.
But if we support parsing that, then we need to decide whether a ?b :c :d means a ? b(Symbol.for("c")) : d; or a ? b : c(Symbol.for("d"));

Thanks for finding this!
Given the greedy nature of the parser, it's pretty annoying to fix this, unless we

add another flag, something like "don't process symbols because I'm waiting for a colon"
forbid symbols to start implicit function calls (maybe it's rare we want to pass symbols into functions? probably not)
define this to be the new behavior and a breaking change, in which case we'd want a compiler flag to disable symbols

Probably worth seeing how much JS code has a space before but not after a colon in a ternary.

Another thing we could try is maybe add snug ternaries as well like a?b:c
But it may require another parser flag to correctly handle complex cases even still.

add another flag, something like "don't process symbols because I'm waiting for a colon"

In this case, I meant "parser internal state". Sorry for the ambiguity.


BUG: Cube iterable of slice objects

Not sure whether this is a bug or a propossed enhancement (I as not expecting the cube to behave differently to the numpy array but maybe that is a wrong assumption to have):
import iris.tests.stock as stock
cube = stock.lat_lon_cube()
slices = [slice(None), slice(None)]
print 'THIS WORKS: ', cube[slices[0], slices[1]].shape
print 'THIS WORKS TOO: ', cube.data[slices].shape
print "BUT THIS DOESN'T: ", cube[slices].shape

THIS WORKS:  (3, 4)
THIS WORKS TOO:  (3, 4)
BUT THIS DOESN'T:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-92-3cbd726cd4b6> in <module>()
      4 print 'THIS WORKS: ', cube[slices[0], slices[1]].shape
      5 print 'THIS WORKS TOO: ', cube.data[slices].shape
----> 6 print "BUT THIS DOESN'T: ", cube[slices].shape

/home/carwyn/git/iris/lib/iris/cube.pyc in __getitem__(self, keys)
   1940
   1941         if first_slice is not None:
-> 1942             data = self._my_data[first_slice]
   1943         else:
   1944             data = copy.deepcopy(self._my_data)

TypeError: long() argument must be a string or a number, not 'slice'

Basically I was expecting cube[slices] to work as it does with a numpy array

Update: works if slices is a tuple rather than a list.  Now I think this a bug.

At numpy 1.19
cube.data[slices].shape

gives
FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
So it seems numpy is being brought into line with iris 😀

Happy to close in that case, thanks .


Update Rubies in Travis matrix to the latest patch versions

LGTM merge when green

jruby-head strikes back

Filed https://github.com/travis-ci/travis-rubies/issues/73


stdenv: support multi-char separators in concatStringsSep

One prominent use-case for this is pytestCheckHook. This will help making it work with structuredAttrs in the future.
As discussed in https://github.com/NixOS/nixpkgs/pull/347194/files#r1818073811.
cc @ShamrockLee @NixOS/stdenv
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Bisect claims that 56b09628e33333c9a9a9463f004fe24ce01e5f98 stdenv: support multi-char separators in concatStringsSep broke nix develop at least for nix-2.25.2 on staging:
$ nix develop -f. stdenv.cc.cc
error: [json.exception.parse_error.101] parse error at line 38, column 445: syntax error while parsing value - invalid string: control character U+001E (RS) must be escaped to \u001E; last read: '" \n    local sep=\"$1\";\n    local name=\"$2\";\n    local type oldifs;\n    if type=$(declare -p \"$name\" 2> /dev/null); then\n        local -n nameref=\"$name\";\n        case \"${type#* }\" in \n            -A*)\n                echo \"concatStringsSep(): ERROR: trying to use concatStringsSep on an associative array.\" 1>&2;\n                return 1\n            ;;\n            -a*)\n                local IFS='<U+001E>'

$ nix develop -f. re2c
error: [json.exception.parse_error.101] parse error at line 40, column 445: syntax error while parsing value - invalid string: control character U+001E (RS) must be escaped to \u001E; last read: '" \n    local sep=\"$1\";\n    local name=\"$2\";\n    local type oldifs;\n    if type=$(declare -p \"$name\" 2> /dev/null); then\n        local -n nameref=\"$name\";\n        case \"${type#* }\" in \n            -A*)\n                echo \"concatStringsSep(): ERROR: trying to use concatStringsSep on an associative array.\" 1>&2;\n                return 1\n            ;;\n            -a*)\n                local IFS='<U+001E>'

A bit of debugging:
The environment persisted expanded IFS value to:
$ nix develop --debug -f. stdenv.cc.cc
...
reading environment file '/nix/store/wvlypb02pl61qwbbmadxnm9lsmbjwlkr-gcc-14-20241116-env'
error: [json.exception.parse_error.101] parse error at line 38, column 445: syntax error while parsing value - invalid string: control character U+001E (RS) must be escaped to \u001E; last read: '" \n    local sep=\"$1\";\n    local name=\"$2\";\n    local type oldifs;\n    if type=$(declare -p \"$name\" 2> /dev/null); then\n        local -n nameref=\"$name\";\n        case \"${type#* }\" in \n            -A*)\n                echo \"concatStringsSep(): ERROR: trying to use concatStringsSep on an associative array.\" 1>&2;\n                return 1\n            ;;\n            -a*)\n                local IFS='<U+001E>'

The env is generated as:
$ nix derivation show /nix/store/wvlypb02pl61qwbbmadxnm9lsmbjwlkr-gcc-14-20241116-env
{
  "/nix/store/0c69903g1i7nxsw39ihb2gr2ma1nz853-gcc-14-20241116-env.drv": {
    "args": [
      "/nix/store/08i4419qr06fflq7qp20rxnrhw2c06vq-get-env.sh"
    ],
    "builder": "/nix/store/razasrvdg7ckplfmvdxv4ia3wbayr94s-bootstrap-tools/bin/bash",
...

I think get-env.sh comes from nix from https://github.com/NixOS/nix/blob/master/src/nix/get-env.sh

See also https://github.com/NixOS/nix/pull/11921 for the Nix-side PR on this topic.


Document (non-contentious parts of) Sass settings layer

This is the first step in clarifying what comprises the public API of Frontend.
This adds Sassdocs for the following files:

settings/_assets.scss
settings/_colours-applied.scss
settings/_compatibility.scss
settings/_global-styles.scss
settings/_ie8.scss
settings/_measurements.scss
settings/_media-queries.scss
settings/_typography-font-families.scss (renamed from _typography-font-stacks.scss)
settings/_typography-font.scss

That leaves some files in settings which are not using Sassdoc:

settings/_colours-organisations.scss
settings/_colours-palette.scss
settings/_spacing.scss
settings/_typography-responsive.scss

I've left these (for now) because they all contain a large number of variables, and we've discussed moving them to maps and adding helper functions which will give us more control over e.g. deprecating colours.
As part of these changes we've also:

Defined private or public access for all settings
Prefixed private variables with an underscore
Made settings !default where it makes sense to do so
Moved the button variables into the button component
Refered to font families rather than font stacks consistently
Renamed nta-light to font-family-nta
Correctly used abstracted $govuk-font-family-tabular for tabular number mixins, rather than referencing nta-light-tabular directly
Abstracted away sass-mq, and expose our own settings in our public api

this looks solid, happy to approve it now, but i guess others should have a look ( as they've been involved in the discussion)

Argh, CHANGELOG.


Parallel support for ModelSelection

We can speed things up by leveraging the n-jobs argument when calling sklearn's cross_validation.

Reopened to explore increased performance by processing each cv case (dataset x estimator) in parallel.
There was no benefit, so the optimum is simply leveraging the n_jobs arg for the cv operation.  This is particularly true since case run times can vary.


Docker Hub Closing

As Docker Hub Free is closing soon, is this project also affected?
https://web.docker.com/rs/790-SSB-375/images/privatereposfaq.pdf

I'm not affected. Thank you anyway for the notice. 🙂


Tags for EIPs

Describe the Feature
After changing additional_ips_count from 0 to 1, the newly created secondary EIP does not inherit tags from the pre-existing EC2 instance. Can tags be enabled explicitly for EIPs by the module?
Expected Behavior
All EIPs are properly tagged.
Use Case
I've created a new EC2 instance with public EIP using the module. After some time I had to add another public static IP to the EC2, so I've increased additional_ips_count from 0 to 1. The additional EIP was created, but without any tags.
Describe Ideal Solution
All EIPs have tags automatically assigned to them either explicitly by the module or by AWS.
Alternatives Considered
Adding default_tags {} section into AWS provider block adds tags to EIP, but also to other resources. In case of EC2's EBS, it tried to add the same tags each terraform apply, which was inconvenient.
Additional Context
No response

@viliampucik https://github.com/cloudposse/terraform-aws-ec2-instance/pull/190


Updated Dimension grid take in queries with spaces

Description

Checklist

[x] I have added a changeset
fix #2192

Evidence project example

Storybook Example


Long sample names don't wrap or cut off correctly - download button is blocked

https://github.com/chanzuckerberg/idseq-web/pull/966


chore(deps): update rust crate pulldown-cmark to 0.12.0

What does this PR try to resolve?
Closes #14667
How should we test and review this PR?
Cargo build-man stopped giving errors after updating pulldown-cmark
Additional information

Thanks!
@bors r+

:pushpin: Commit 54bbe0248939929535166db6cdae0b27c4cb0573 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 54bbe0248939929535166db6cdae0b27c4cb0573 with merge a4600184b8d6619ed0b5a0a19946dbbe97e1d739...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing a4600184b8d6619ed0b5a0a19946dbbe97e1d739 to master...


Unable To Stream PDF from TCPDF

Link to PDF file (or attach file here):
test.pdf
Configuration:

Web browser and its version: Firefox / Chrome
Operating system and its version: Windows 10
PDF.js version: 1.6.210
Is an extension:

Steps to reproduce the problem:

call viewer.html?file=myurl.php

What is the expected behavior? (add screenshot)
should display pdf file in viewer
What went wrong? (add screenshot)
received an error:  PDF.js v? (build: ?)
Message: stream must have data
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Using TCPDF to create the pdf stream:
I am using the $pdf->Output(file,'I') method of generating the pdf data on =
the server side.

Provide complete code for the php page.

<?php
//*************************************************************************************************
// Title:		The Sova Print Message Script
// Date:		12/22/2016
// Modified:	12/22/2016
// Developer:	Shawn P. Simmons
//*************************************************************************************************
include(DATA_ENV."TCPDF/tcpdf.php");

CLASS MsgPrint extends TCPDF{
	public $headerText = '';

	function SetupPage(){
		$this->SetCreator(PDF_CREATOR);
		$this->SetAuthor("Arrowleaf Technologies, LLC.");
		$this->setViewerPreferences( array("PrintScaling"=>"None"));
		$this->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
		$this->SetMargins(.5,1.5,.5,.5);
		$this->SetHeaderMargin(.5);
		$this->SetFooterMargin(.5);
		$this->SetAutoPageBreak(TRUE,.5);
		$this->setImageScale(PDF_IMAGE_SCALE_RATIO);
		$this->setFontSubsetting(true);

	}
	function Header(){
		$this->PrintCell(7.5,0,$his->headerText,0,"R",'',8);
	}
	function PrintCell($width,$height,$text,$ln,$align,$weight,$size){
		$this->SetFont('dejavusans',$weight,$size,'',true);
		$this->Cell($width,$height,$text,0,$ln,$align,false,'',0,false,'T','C');
	}
}
function printMessage($record){
	$msgdata = new DataTable(DBCONN,"msgdata");
	$msglogs = new DataTable(DBCONN,"msglogs");
	$msgdata->fetch($record["msgdataid"]);
	$msglogs->set("msgdataid=?",array($record["msgdataid"]));
	$report = new MsgPrint('P','in','LETTER',true,'UTF-8',false);
	$report->SetupPage();
	$report->SetSubject($msgdata->getValue("subject"));
	$report->headerText = "The Sova ".date("F j, Y g:i A")." ".$msgdata->getValue("subject");
	$report->addPage();
	$report->printCell(7.5,0,"THIS IS  A TEST",0,'C','',24);
	ob_clean();$report->Output($msgdata->getValue("subject")."pdf",'I');
	exit();
}
?>

I get:
Warning: include(DATA_ENVTCPDF/tcpdf.php): failed to open stream: No such file or directory in /Users/yury/Work/pdf.js/t.php on line 8

Warning: include(): Failed opening 'DATA_ENVTCPDF/tcpdf.php' for inclusion (include_path='.:') in /Users/yury/Work/pdf.js/t.php on line 8

Fatal error: Class 'TCPDF' not found in /Users/yury/Work/pdf.js/t.php on line 10

Can you provide complete example?

The php snippet above produces:
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/yury/Work/pdf.js/files~/t.php on line 38

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/yury/Work/pdf.js/files~/tcpdf/include/tcpdf_static.php on line 396

...

Warning: Cannot modify header information - headers already sent by (output started at /Users/yury/Work/pdf.js/files~/t.php:38) in /Users/yury/Work/pdf.js/files~/tcpdf/tcpdf.php on line 7624
TCPDF ERROR: Some data has already been output to browser, can't send PDF file

See http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings -- works for me when issue with date is addressed.
Closing issues as invalid and not related to PDF.js.

This issue is related to PDF.JS.  When output the same data to the browser's default PDF plugin, it works great.  Only when I output the data to PDF.JS does it fail.

I created PHP file based on your snippet (with exception of database). It works for me fine. Unless there is something is not provided in your report.


Fix the broken restart functionality

This PR fixes the broken restart functionality reported by @drichte2 , where he tried to restart a run with > 100 M droplets.
The underlying reason is that the original implementation uses the MPI_BCAST interface and it could only send/receive int number of data, which will be exceeded if there are > 100 M droplets.
The new implementation uses MPI_SEND and MPI_RECV interfaces instead. We assume that the same PE layout is used for the initial and restart runs. We write the number of active droplets from each MPI rank to the restart file and the root MPI rank knows how many active droplets will be sent to each MPI rank during the restart run later.
I verified that the initial run (use namelist_ASD.restC) and restart run (use namelist_ASD.restA and namelist_ASD.restB) match for the total droplet number (> 100 M) when I used 4 MPI ranks + 4 GPUs on Gust.
Fix https://github.com/george-bryan/CM1/issues/120.

I also checked this using a version of what I've been running. Restarted just fine with > 100M particles.

Looks good to me once you merge in changes from the gpu-opt branch,

Thanks @johnmauff . Just merge the latest gpu-opt branch.

I also checked this using a version of what I've been running. Restarted just fine with > 100M particles.

Thanks @drichte2 .


Mapping a Driver Letter to your linux root folder

A tip to add a Windows Driver Lettrer pointing to Root Linux Folder

Thank you @danielschmitz! 🎉


WIP Fix #1236 Separate link types from possible WIT combinations

TBD
TODOs

Add relationship from link to used combination (in JSONAPI as well as in DB). This was requested by @aslakknutsen

Codecov Report

Merging #1313 into master will decrease coverage by 0.59%.
The diff coverage is 51.84%.

@@            Coverage Diff            @@
##           master    #1313     +/-   ##
=========================================
- Coverage   60.24%   59.65%   -0.6%
=========================================
  Files         119      123      +4
  Lines       10704    10990    +286
=========================================
+ Hits         6449     6556    +107
- Misses       3603     3758    +155
- Partials      652      676     +24

Impacted Files
Coverage Δ

workitem/workitemtype.go
78.78% <ø> (ø)
:arrow_up:

workitem/link/link_revision_repository.go
85.71% <ø> (ø)
:arrow_up:

workitem/link/type.go
92.98% <ø> (-0.87%)
:arrow_down:

controller/redirect_work_item_link_type.go
0% <0%> (ø)
:arrow_up:

...roller/redirect_work_item_link_type_combination.go
0% <0%> (ø)

main.go
0% <0%> (ø)
:arrow_up:

controller/workitemtype.go
75.36% <100%> (-1.52%)
:arrow_down:

goasupport/conditional_request/generator.go
16.42% <100%> (+0.6%)
:arrow_up:

workitem/link/type_combination.go
11.42% <11.42%> (ø)

migration/migration.go
50.3% <3.7%> (-3.96%)
:arrow_down:

... and 16 more

Continue to review full report at Codecov.

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

[test]

[test]

[test]

[test]

Closing in favor of #1444


Empty repeated field in frozen message

When trying to access an empty repeated field (e.g. to check if it's empty) an error is thrown since v. 0.10.0 (introduction of GeneratedMessage.freeze()).
Problem appears to be that the empty list doesn't get initialized as such but accessing it (even trying to check it against null) is trying to create a mutable list.
I/flutter (13339): Unsupported operation: Attempted to call createRepeatedField on a read-only message (MessageList)
I/flutter (13339):
I/flutter (13339): When the exception was thrown, this was the stack:
I/flutter (13339): #0      defaultFrozenMessageModificationHandler (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/field_set.dart:12:5)
I/flutter (13339): #1      __ReadonlyMessageListList&MessageList&ReadonlyMessageMixin._readonly (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/readonly_message.dart:57:37)
I/flutter (13339): #2      __ReadonlyMessageList&MessageList&ReadonlyMessageMixin.createRepeatedField (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/readonly_message.dart:23:5)
I/flutter (13339): #3      FieldInfo._createRepeatedFieldWithType (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/field_info.dart:139:14)
I/flutter (13339): #4      _FieldSet._getDefaultList (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/field_set.dart:185:20)
I/flutter (13339): #5      FieldSet.$getList (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/field_set.dart:324:12)
I/flutter (13339): #6      GeneratedMessage.$_getList (file:///Users/bla/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.0/lib/src/protobuf/generated_message.dart:325:48)
I/flutter (13339): #7      MessageList.repeatedField (package:app/protos/message_list.pb.dart:55:41)
Downgrading to 0.9.1 fixes the issue.

It's a bit difficult to test this without a repro, but I checked the code for 0.10 and I'm surprised that you got this stack trace because _FieldSet._getDefaultList does not call _createRepeatedFieldWithType on a frozen message: (code from 0.10 tag)
https://github.com/google/protobuf.dart/blob/65ac3559a43929e6fea6dba9856263480398c187/lib/src/protobuf/field_set.dart#L178-L180
So if your message is really read-only then you shouldn't get this stack trace (unless there's a but in freeze and it doesn't set the read-only flag).
In any case, 0.10 is very old and any issues with it are probably fixed so closing this issue. Please feel free to re-open (ideally with a repro) if the issue still exists.


/etc/default permissions

Hi,
I noticed today while running Jessie on one of the new VPSes, the permissions for /etc/default are wrong. On standard Debian this directory is 0755, but on Scaleway it's 0775 which causes UFW to complain when you install and enable it.

Hi @mikescott, thank you for your feedback,
I will give a look and come back to you

Fixed in #57, we will rebuild and release the images soon, thank you again for your feedback


[MM-50973] Harden Calls windows URL navigation checks

Summary
PR adds some stricter checks on what can be opened/navigated from calls widget and popout windows.

widget window should only navigate to the widget url and open the popout url.
popout window should only navigate/open to allowed sources (using webContentsEventManager.addWebContentsEventListeners).

@amyblais Similarly to the previous one it would be good to include this in 5.3 as well.
@cpoile Could you give this a pass to make sure I didn't break anything link clicking related?
Ticket Link
https://mattermost.atlassian.net/browse/MM-50973
https://mattermost.atlassian.net/browse/MM-50974
Release Note
NONE

I tested it and it doesn't break the earlier linking changes. I didn't think it would -- from what I understand, the widgetWindow events (those will-navigates, did-start-navigations, onPopoutOpen etc) wouldn't have anything to do with the popout (please correct me if I'm wrong). Nice work!

Yes, the only related change was applying addWebContentsEventListeners to the popout's webcontents vs only using generateNewWindowListener.

Will merge and manual cherry-pick as soon as the pipeline is green.

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
fatal: No such remote 'upstream'

+++ Returning you to the master branch and cleaning up.


Project-Template Issue: x86 Release Build Config is missing "Compile with .NET Native tool chain"

When I try to create an App Package for store it will fail unless I checked the "Compile with .NET Nativ tool" on the release build configuration for x86

The default Universal-Windows-Template doesn't have this issue and I just downloaded the latest version of the project template, so I guess there must be something wrong.

I'm not an expert in project templates, but the this line (in minimal/blank/hamburger) is wrong.
How does the Templates (Installer) actually work and how is the Template (Projects) are related to the zipped files here?
If I want to fix this issue should I:

Change the bool to true in all three templates
zip everything
put it in the Template (Installer) folder
and later someone can build the actual vsix?

Same problem with my project.
Compiler error ILT0021 Method System.Nullable Windows.Graphics.Display.DisplayInformation.get_DiagonalSizeInInches

After I enabled the .NET Native tool chain everything worked as expected - does it work for you? I don't remember the error message.

The error related to this issue is (when publishing for the store):
File '...\BundleArtifacts\Upload\x86.txt' not found.
The bad setting was inherited from the older VS project template for universal apps and was later fixed in Update 1 (if I remember correctly). The manual fix is to enable .NET Native tool chain in release mode.
Yes, we should fix this in the template that is used in the NuGet package.

Thanks @luiscantero. It is resolved or it isn't resolved?

@JerryNixon no, it isn't fixed in T10. Like Robert mentioned above, the project templates (blank/hamburger/minimal) need to be changed like this:
<UseDotNetNativeToolchain>false</UseDotNetNativeToolchain>
-->
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>

Now it is resolved.

I am very sorry everyone, but how do you guys solve this? I have posted a question somewhat related to this problem, I am still not clear on how to solve this?
http://stackoverflow.com/questions/36051980/how-to-generate-appxupload-file/36052613#36052613

Regarding this issue: The project template was wrong. The issue was resolved when the user enabled the .NET Native tool chain:

In your case the .NET Native tool chain is already active, but something is missing, but I have no clue what.

Hi there Robert, I have already solved it :D It seems that I just have to update the Visual Studio. So that I can change the Target Version to 10586.
On Thursday, March 17, 2016 6:46 PM, Robert Muehsig<EMAIL_ADDRESS>wrote:

Regarding this issue: The project template was wrong. The issue was resolved when the user enabled the .NET Native tool chain:
In your case the .NET Native tool chain is already active, but something is missing, but I have no clue what. —
You are receiving this because you commented.
Reply to this email directly or view it on GitHub


nmt: typo in variable names

The model options were actually reloaded into a never used dict.

Thanks!


Fixing usage of target_link_libraries()

This fixes the remaining uses of the cmake macro target_link_libraries()

well, not exactly pretty.
I'd prefer something which doesn't need a manual fix for every use of target_link_libraries(), like

setting CMP0023 to OLD e.g. in the toplevel CMakeLists.txt
set a HPX_TLL_KEYWORD either to "PUBLIC" or to "" depending on CUDA and use that

But the proposed patch should make it build, so that's Ok.

@neundorf Better now?

Well, I like it better, if that's worth anything. ;-)
Thomas mentioned documentation, and I don't know how/whether this affects users of hpx.


HCRLateAttachWorkload test times out on Windows on JDK8 OpenJ9

HCRLateAttachWorkload test times out on Windows on JDK8 OpenJ9
LT  02:32:23.429 - Test stopped due to reaching runtime limit
LT  02:32:23.429 - Load test completed
LT  02:32:23.429 -   Ran     : 5333
LT  02:32:23.429 -   Passed  : 5333
LT  02:32:23.429 -   Failed  : 0
LT  02:32:23.429 -   Result  : PASSED
STF 02:37:20.165 - Heartbeat: Process AG  is still running
STF 02:37:22.227 - **FAILED** Process AG  has timed out

https://ci.eclipse.org/openj9/job/Test-extended.system-JDK8-win_x86-64_cmprssptrs/205/tapResults/

Running 5x Grinder after increasing the timeout of the failing process : https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder-systemtest/71/console

The program actually "hangs" infinitely inside the while loop in Attacher.java waiting for the VM to connect to, as evident in here: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder-systemtest/78/console
The PID StfConstants.PERL_PROCESS_PID =1 , however the VirtualMachine.list() returns two VMs with PIDs 11848 & 8412, so there is no matching VM found with passed in PID (=1). Hence the program keeps sleeping and retrying.
Running the same test on Linux to see why it passes on that platform: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder-systemtest/79/console

On Linux, the test finds a VM to attach to whose PID matches that of the passed on PID: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder-systemtest/80/console
Wndows:
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder-systemtest/81/console

The vmPidArg value that the Attacher receives from the test comes from
JavaProcessDefinition testProcess2 = test.createJavaProcessDefinition()
				.addJarToClasspath(agentJar)
				.addJarToClasspath(toolsJar)
				.runClass("net.adoptopenjdk.test.hcrAgent.agent.Attacher")
				.addPerlProcessData(miniMixProcess,StfConstants.PERL_PROCESS_PID)
				.addArg(agentJar.toString())
				.addArg(agentOptions);

Where
.addPerlProcessData(miniMixProcess,StfConstants.PERL_PROCESS_PID) - return 6890 on Linux, and 260 on Windows.

@lumpfish - do you know if this test ever worked on Windows?
JavaProcessDefinition#addPerlProcessData() doesn't seem to be doing what it's supposed to do on Windows (it works on non-Windows platforms).

This is fixed by https://github.com/AdoptOpenJDK/stf/pull/89
Created PR to reinstate the tests: https://github.com/AdoptOpenJDK/openjdk-tests/pull/2046


New syntax and main module

This PR adds a new syntax that's like lit-extended, but defaults to setting attributes and requires opting-in to setting properties.
Properties are set with a . prefix:
html`<input .value=${value}>`

The new syntax is the main module of the package now. The unopinionated core has been moved to core.js and the new syntax is in lit-html.js
lit-extended is deprecated and will be removed before 1.0.
Fixes #399

I still think lit-html should try to set properties falling back to attributes without any special syntax. Same behavior as preact.

Let's keep discussion of the options to #399

@sorvell PTAL

Why did you remove so much documentation from the README.md? (See deletions from Lines 61–427).


Fixed failing travis builds

Closes #84

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8bf116d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #85   +/-   ##
=========================================
  Coverage          ?   74.14%
  Complexity        ?     1070
=========================================
  Files             ?      108
  Lines             ?     3512
  Branches          ?      152
=========================================
  Hits              ?     2604
  Misses            ?      833
  Partials          ?       75


Frontend build as a docker image

Closes #49

Closed to submit another one from a branch but containing all reviews mentioned here. 😉


[FEATURE] update __repr__ of vectors within records records

Is your feature request related to a problem? Please describe.

Record card are awesome but the vectors don't add any value except forced scrolling.
Describe the solution you'd like

perhaps we should add and expander like here https://huggingface.co/datasets/distilabel-internal-testing/fine-preferences-with-scores
Describe alternatives you've considered

Additional context

@davidberenstein1957 : I would like to work on this. Please let me know if its ok?

@bikash119, I think this issue would be better and similar :)
https://github.com/argilla-io/argilla/issues/5380

Also, feel free to have a look at other issues that might be ill-represented


EsploitV2 flashing s#it

Hello, yesterday i was trying to reflash my whid cactus cuz yes, so i did everything as in tutorial, and at the end my usb cactus is now open network named AI-THINKER-
so wtf i reflashed again same... i am tired i just wasted like 25$ on this and it doesnt work and the devs left the project and almost noone here helps :c even tho the network is open but when i connect it still doesnt let me to <IP_ADDRESS> and even the def gateway is <IP_ADDRESS> which is mostly used in spacehuhn's projects BUT EVEN THAT GATEWAY LEADS ME TO NOTHING ERROR LOADING. what do i do now i tried everything, hard resets, reflashes NOTHING i am in bad mood third day as my whid cactus is useless now

ok i were able to reflash using older compatible version which is stupid but whatevernow i wanna ask why the fuk auto script doesnt work, i have set it to my rick roll and it only works on reboot not on injection

Hello, I am in the same case, which version do you use for flashing and have you made changes compared to the tutorial please?

Did any1 figure this out ...i had forgotten what i set the ap password to so figured id just reflash and ya ..Ai thinker ?? Is there a way to restore this to factory defaults after a flash?


Begin Canasta development for MW 1.39 alpha

MediaWiki 1.39 is being released in a few months. Wikimedia Foundation wikis are already running on wmf releases of 1.39. We should take a look at the changes made between MediaWiki 1.36 to 1.39 and see what needs to be done to adapt Canasta.

Good idea, looks like they plan to release in 11/2022 at 1.39 LTS.
Can you tell if Canasta mainly focuses on LTS versions of MediaWiki.

@FelipoAntonoff Yes, one of the seven guiding principles of Canasta is stability. At the moment, we only support LTS versions. If there is enough demand in the future (and enough developers to support it), we will consider adding support for non-LTS major releases too.

Good to know, really to avoid too many changes in a short time to improve maybe wait for the LTS, so it's also easier to deal with the Canasta code.
Thanks for the information.

See #141


Add the reference magnitudes

Currently, the b vector is generated using only the dft data, thus E_ref = 0, F_ref =0, and W_ref =0. The reference energies, forces and stresses should also be computed.
In GaN.commands, if we replace the following code:
compute SNA all sna/atom 3.5 0.99363 6 0.5 0.5 1.0 0.5 rmin0 0.0 bzeroflag 0 quadraticflag 0 switchflag 1
compute SNAD all snad/atom 3.5 0.99363 6 0.5 0.5 1.0 0.5 rmin0 0.0 bzeroflag 0 quadraticflag 0 switchflag 1
compute SNAV all snav/atom 3.5 0.99363 6 0.5 0.5 1.0 0.5 rmin0 0.0 bzeroflag 0 quadraticflag 0 switchflag 1

by a command similar to this one:
compute SNAP all snap/atom

SNAP will also computes the reference magnitudes (based on a ZBL potential)
You can access these magnitudes using a code similar to this one: snap_all = extract_compute(lmp, "SNAP", 0, 2)
Subtract these magnitudes in the function learn. E.g.  p.b = dft_training_data - ref_magnitudes

See https://docs.lammps.org/pair_zbl.html

Now we have a pure Julia version of SNAP. We will use this version for the time being.


Oheger bosch/analyzer/#3321 memory consumption

This PR addresses #3321 by proposing a more efficient storage format for the dependency representation in analyzer results. The basic idea is to not repeat the dependencies for all scopes, but use a shared dependency graph, which is referenced by scopes.
This is still work in progress. The solution has to be extended to support different sets of dependencies for packages in different scopes.

Going to provide a reworked PR.

Going to provide a reworked PR.