[a11y] Cannot select DatePicker year/month dropdown when voice assist enabled

Internal: b/244681884
Steps to reproduce

Run sample code.
Enable voice assist (VoiceOver, TalkBack, etc.).
Activate the "Select Date" button, which launches the calendar widget.
Attempt to interact with the month/year dropdown (currently shows as "February 2025" with a down arrow icon).

Expected results
It is possible to focus the month/year dropdown.
Actual results
It is not possible to focus the month/year dropdown.
Discussion
I was able to repro this issue on Android, iOS, and Web (Chrome on macOS). I did not try other platforms.
I believe this is separate from https://github.com/flutter/flutter/issues/121602.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('DatePicker'),
      ),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            ElevatedButton(
              onPressed: () async {
                await showDatePicker(
                  context: context,
                  initialDate: DateTime.now(),
                  firstDate: DateTime(2015),
                  lastDate: DateTime(2050),
                );
              },
              child: const Text('Select date'),
            ),
          ],
        ),
      ),
    );
  }
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel google3, on macOS 14.2.1 23C71 darwin-x64, locale en)
    • Framework revision 1997bec685 (4 days ago), 2024-01-18T00:00:00.000
    • Engine revision b75d6d80d8
    • Dart version d6c08fa9bb

[✓] Android toolchain - develop for Android devices (Android SDK version Stable)
    • Android SDK at google3
    • Platform Stable, build-tools Stable
    • Java binary at: /Applications/Android Studio with
      Blaze.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d

[✓] Connected device (1 available)
    • Pixel 4 (mobile) • xx • android-arm64 • Android 13 (API 33)

I was able to replicate this using latest stable and master versions.

In above image, unable to focus / select on February 2024 dropdown.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.8, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.16.8 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (2 days ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.19.0-15.0.pre.36, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.19.0-15.0.pre.36 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 31116770ed (2 hours ago), 2024-01-31 19:23:05 -0800
    • Engine revision f4fbabf1eb
    • Dart version 3.4.0 (build 3.4.0-97.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Looks like dropdown is missing semantic node. I can also notice Flutter doesn''t focus on Select Date header as well.

Google Calendar
Flutter

cc: @HansMuller

FYI: @MitchellGoodwin

I have a pr https://github.com/flutter/flutter/pull/143117  to fix the focus on edit field will also fix this issue

@hangyujin
Feel free to take it.

Changing priority to match internal priority.

Can this issue be reopened given the fix was reverted?

@math1man Thanks the ping!

Reopening this as the issue is not fixed in Android Voice Access  and Switch Access
Android Talkback - Fixed.
Voice Access - it is unable to select the calendar year ("June 2025") in Voice Access mode.
Switch Access - it is unable to select the calendar year ("June 2025") in Switch Access mode.
iOS
VoiceOver - Fixed.
Voice Control - Fixed.
Switch Control - Fixed.

I cannot reproduce the issue with Voice Access /Switch Access using flutter code example.
Maybe the internal issue is on the app side or related to android versions.
https://github.com/user-attachments/assets/411d29d5-c6ce-460f-96ee-11a5efd8b0cc
https://github.com/user-attachments/assets/86c712ee-ee71-4bfc-b4fb-d384fe252e6c


[curl] curl-config doesn't work correctly without setting $prefix variable on Linux

Describe the bug
libcurl's helper tool curl-config doesn't work correctly unless you set the ${prefix} environment variable beforehand.
Environment

OS: Linux
Compiler: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)

To Reproduce
Steps to reproduce the behavior:

./vcpkg install curl
run ~/.local/share/vcpkg/packages/curl_x64-linux/tools/curl/bin/curl-config --cflags
Observe that the cflags do not include the appropriate paths.

Expected behavior
curl-config shows the appropriate flags without having to set external variables yourself.

@swt2c Thanks for posting this issue, Do you mean the full path should be shown here? :)
Frank@vcpkg:~/vcpkg$ ./packages/curl_x64-linux/tools/curl/bin/curl-config --cflags
-DCURL_STATICLIB -I/include

https://github.com/microsoft/vcpkg/pull/40443.
curl-config is legacy. Consider switching to pkg-config.

@swt2c Thanks for posting this issue, Do you mean the full path should be shown here? :)
Frank@vcpkg:~/vcpkg$ ./packages/curl_x64-linux/tools/curl/bin/curl-config --cflags
-DCURL_STATICLIB -I/include

Yes.

#40443. curl-config is legacy. Consider switching to pkg-config.

Thanks for the PR.  It is?  Seems to be still recommended by official documentation:
https://curl.se/libcurl/using/

It is? Seems to be still recommended by official documentation:
https://curl.se/libcurl/using/

Well, opinion ;-)
In vcpkg, pkg-config is used for all toolchains including MSVC, but shell config scripts usally don't work well for the Windows platform. For some ports, the shell config scripts are omitted.


[MM-38636] - edited indicator overlay now shows the clock format according to user settings

Summary
If the user has set his clock preferences set to 24 hour format (aka "military time") it is now being respected in the edited indicator hover overlay.
Ticket Link
MM-38636
Release Note
edited indicator overlay now uses time format preferences

@deanwhillier and @jgilliam17 kind reminder to review 🙇🏼♂

hi @jgilliam17 ... I changed the indicator so that it now respects the users timezone. ✨


fix: misc errors in model

Metabolite annotation mistake:
CHEBI:29155 is incorrectly annotated for s_0829[lp]: hexadecaprenyl diphosphate in the model.
Gene annotation mistake:
gene YIL020C should not be linked with r_4042: raffinose [extracellular]  -> D-fructose [extracellular] + melibiose [extracellular]
Duplicate reactions(#187 )
adding to this discussion other duplicate rxns found by @hvdinh16
r_4235: duplicate of r_0534
r_4236: lumped reaction, duplicate of r_0697 + r_0553
r_4264: potential duplicate of r_0454

@feiranl issues in general are for documenting errors in model, so I have changed the description of the issue to reflect that ;)
why have duplicates here with #187?

@BenjaSanchez  Yes, you are correct. maybe remove that one.

Update: all metabolite/reaction issues here are addressed. Only missing thing is the wrong gene rule for r_4042.

@BenjaSanchez  I will do a quick commits soon.


Enhancing the menu UI

I adopted Slicknav combined with responsive_active_admin in my most recent project and it kind of worked flawlessly.  Here's a gist of how I did it: https://gist.github.com/knu/7276d6c6854e3cf87dfb
So, what I wanted to know is, what do you, the author and the users out there, use to fold the menu header when you have a lot of items in it?  Is there any plans for responsive_active_admin to integrate a similar UI?

I don't use anything to fold the menu, although I am aware this is an issue. Unfortunately I haven't had chance to sort out anything.
Please feel free to put together a pull request.


Cannot consume from Kafka using the streams.

Hi Team,
Thank you for this marvelous piece of software. It has the bits I needed for my project, hope I can publish soon.
I'm doing something like this:
#[tokio::main]
async fn main() -> Result<()> {
    tracing_subscriber::registry()
        .with(EnvFilter::from_default_env())
        .with(tracing_subscriber::fmt::layer())
        .try_init()
        .context("initialize tracing").expect("Cannot initialize tracing");

    let config = Config::load().context("load configuration").expect("Cannot load configuration");
    println!("Starting with configuration: {config:?}");
    let stream:StreamUrl = config.event_log.bootstrap.parse().unwrap();
    let mut options = KafkaConsumerOptions::new(ConsumerMode::RealTime);

    let streamer = KafkaStreamer::connect(stream.streamer(), Default::default())
        .await.unwrap();

    let mut consumer: KafkaConsumer = streamer
        .create_consumer(stream.stream_keys(), options)
        .await.unwrap();

    let test_mess = consumer.next().await.expect("Cannot consume");
    info!("Message: {}", test_mess.message().as_str().unwrap());;
    Ok(())
}

But the software stops in the consumer.next()
I also used the stream API with the same result.
I tried setting the consumer group, consuming from earliest, send more messages to the topic. Nothing. It just stops in poll().
What can be going in. Version I use is 0.5.0.
But I have messages
❯ kcat -t test-topic-2 -b <IP_ADDRESS>:9092 -p 4
% Auto-selecting Consumer mode (use -P or -C to override)
{"test-message": "testPayload"}
{"test-message": "testPayload"}
{"test-message": "testPayload"}
{"test-message": "testPayload"}
{"test-message": "testPayload"}
% Reached end of topic test-topic-2 [4] at offset 5

A side problem is that I use  options.set_group_id(ConsumerGroup::new("test-consumer"));
it breaks complaining about the consumer group already set.
called Result::unwrap() on an Err value: ConsumerGroupIsSet

2024-06-03T09:00:11.676721Z TRACE rdkafka::client: Create new librdkafka client 0x7fc1e803cc00
2024-06-03T09:00:11.677003Z TRACE rdkafka::admin: Admin polling thread loop started
2024-06-03T09:00:11.688990Z TRACE rdkafka::admin: Stopping polling
2024-06-03T09:00:11.689049Z TRACE rdkafka::admin: Waiting for polling thread termination
2024-06-03T09:00:11.782150Z TRACE rdkafka::admin: Admin polling thread loop terminated
2024-06-03T09:00:11.782447Z TRACE rdkafka::admin: Polling stopped
2024-06-03T09:00:11.782492Z TRACE rdkafka::util: Destroying client: 0x7fc1e803cc00
2024-06-03T09:00:11.782882Z TRACE rdkafka::util: Destroyed client: 0x7fc1e803cc00
2024-06-03T09:00:11.782920Z TRACE rdkafka::util: Destroying queue: 0x60000271ae20
2024-06-03T09:00:11.782941Z TRACE rdkafka::util: Destroyed queue: 0x60000271ae20
2024-06-03T09:00:11.783666Z TRACE rdkafka::client: Create new librdkafka client 0x7fc1e883d400
2024-06-03T09:00:11.784046Z TRACE rdkafka::util: Destroying topic partition list: 0x600002514570
2024-06-03T09:00:11.784032Z TRACE rdkafka::consumer::stream_consumer: Starting stream consumer wake loop: 0x7fc1e883d400
2024-06-03T09:00:11.784072Z TRACE rdkafka::util: Destroyed topic partition list: 0x600002514570
2024-06-03T09:00:11.784665Z TRACE rdkafka::util: Destroying topic partition list: 0x6000025143f0
2024-06-03T09:00:11.784687Z TRACE rdkafka::util: Destroyed topic partition list: 0x6000025143f0
2024-06-03T09:00:11.785127Z TRACE rdkafka::client: Starting metadata fetch
2024-06-03T09:00:11.785145Z TRACE rdkafka::util: Destroying native topic: 0x7fc1e803c400
2024-06-03T09:00:11.785159Z TRACE rdkafka::util: Destroyed native topic: 0x7fc1e803c400
2024-06-03T09:00:11.795941Z TRACE rdkafka::client: Metadata fetch completed
2024-06-03T09:00:11.796194Z TRACE rdkafka::util: Destroying metadata: 0x7fc1d0808200
2024-06-03T09:00:11.796216Z TRACE rdkafka::util: Destroyed metadata: 0x7fc1d0808200
2024-06-03T09:00:11.796282Z  INFO counter_kafka: Consumer created test-topic-3

doesn't ring a bell at first glance. can you try using a local Kafka cluster under docker? may be it has something to do with the server?

It's a docker kafka cluster

Wiped both images zookeeper and kafka, and rebuilt everything and now it's fetching. I don't know why it happened only with rdfkafka, it should be a problem there... cause as I said I could read with other programs. Now it's fixed.
Love the lib, hope people starts using it and contribute...

Thank you


nyc@15 doesn't report coverage anymore

A few hours ago, nyc@15 stopped reporting coverage at all, without any change to our projects.
To illustrate the issue, I created a repository:
https://github.com/ericmorand/nyc-issue
It comes with two branches: main, fueled by nyc@14; nyc-15 fueled by nyc@15.
To run the coverage script, just execute npm t.

main

----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |       80 |       50 |      100 |       75 |                   |
 foo.ts   |       80 |       50 |      100 |       75 |                 3 |
----------|----------|----------|----------|----------|-------------------|

nyc-15

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |       0 |        0 |       0 |       0 |
----------|---------|----------|---------|---------|-------------------

I strongly suspect that this is due to the release of @babel/core, which istanbul-lib-instrument depends on and that was upgraded to 7.21.0 a few hours ago, but I'm still investigating.

As suspected, the issue was coming from babel - but namely from<EMAIL_ADDRESS>that came with a bug related to source maps:
https://github.com/babel/babel/issues/15444
It was fixed in<EMAIL_ADDRESS>which is now grabbed by nyc@15, which fix this issue.


App is not randomized entirely

C:\Users\XXXXX\AppData\Roaming\AutoFish is created, instead of the randomized App Name.
Possible detection!

no offend, but i think my statement was and is right. You randomize alot of things! Thats great.
But not everything.
And since Blizzard not only monitors code injection but also monitors software isntalled on the PC (one ban wave hitting  AutoHotKey users that said thery were using this program not for wow). But OFC you never shure and also Blizzard doesn´t give us insides on their tool (warden). So nobody can post a "proof"on this.
So if its not a bug that this folder exists then forget about the issue i created.
Its more a feature request then.
thx

I see, I misunderstood it as "not randomized at all". Will think of making the folder of the cache randomized too, though again I doubt there are any scanning except of current running processes.

I see, I misunderstood it as "not randomized at all". Will think of making the folder of the cache randomized too, though again I doubt there are any scanning except of current running processes, which are in case of AutoFish pointing to random names of the folder and exe.

the only place i see it is in the Taskmanager under running processes deatails.
that's why I'm thinking

Changed the name of the cache folder to simple "Application" in 1.12.0, also removed author and description from package.json.


[Storage] avoid import fs directly in exporting modules

Put them in utils.node instead, and add stubs for browsers.

/azp run js - storage-blob - tests

/azp run js - storage-file-share - tests

LGTM.
One CI is failing though.
Could we export fs as a whole?

Could we export fs as a whole?

Good point. I think re-export to fs-shim is reasonable.

Good point. I think re-export to fs-shim is reasonable.

Just realize that we also promisify fs.stat.  I'll keep the change in this PR as-is for now.  If we have more and more usage of fs api in the future we can add a new fsShim.node.ts and its browser counter part.


Convert readthedocs link for their .org -> .io migration for hosted projects

As per their blog post of the 27th April ‘Securing subdomains’:

Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.

Thanks!
@mitsuhiko I'm not sure what code we can remove, but I assume most of this isnt relevant anymore


feat: integrate Codecov for code coverage reporting

Added the Jacoco Gradle plugin to the server build configuration to enable code coverage reporting.
Configured Jacoco to use version 0.8.12.
Defined a jacocoTestReport task that runs after tests and generates XML and HTML reports.
Updated GitHub Actions workflow to:

Generate a coverage report after running tests using the command: ./gradlew jacocoTestReport.
Upload the coverage report to Codecov using the Codecov GitHub Action.
Configured the upload step with required parameters including the path to the generated XML report, flags, name, and private token pulled from GitHub secrets.

This integration allows continuous monitoring of test coverage directly in our CI pipeline and displays coverage reports on Codecov.
Linked Issues:

Closes #8

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


onInvalidSubmit is not called, when form is submitted with required field left empty

When I cleared an required input, it shows error. When I submit the form, onInvalidSubmit is not called. Errors are shown for browser's default validation. What should I do get notifyFormError called when invalid form is submitted?
<Formsy.Form onValidSubmit={this.submitForm} onInvalidSubmit={this.notifyFormError}  onSubmit={this.onSubmit}></Formsy.Form>

+1

Have you tried adding the noValidate attribute to your <Formsy.Form> element? I think that's what fixed this for me.

I've a similar issue with version 0.17.0: I use "required" attribute on formsy fields but I disabled the browser validation adding noValidate on form.
This prevents the browser to manage required data by default but at the same time required field are not checked at all by formsy.
As soon as I put data inside the field, other validations runs normally.

@SaitejaP I would recommend trying @keul's solution. It's what I use myself.


feat(logger): Zap fields can be used as arguments to logger

Reason for This PR
When logging in a plugin it would be useful to take advantage of the underlying Zap library, in this case being able to create fields that define the key and the value to go to output or to even use object marshalling to apply multiple keys/interfaces to the output.
At current if a Zap field object is passed as an argument, you must provide a key with it to then be processed as an interface otherwise an error is thrown that an uneven number of arguments have been provided.
With this you can now do something like:
import (
	"go.uber.org/zap"
)

field := zap.String("error", "Example field error")

log.Error("error", field)

and get an output like:
{"message":"error", "error": "Example field error"}

Equally the following code would produce the same output:
import (
	"go.uber.org/zap"
)

type Loggable struct {
}

func (l *Loggable) MarshalLogObject(encoder core.ObjectEncoder) error {
	encoder.AddString("error", "Example marshaller error")
	return nil
}

marshalledObject := &Loggable{}

log.Error("error", marshalledObject)

My apologies if the PR is not in the correct format. This was something I worked on for myself but felt might be useful to the wider community. I noticed there isn't a contributing guide beyond the PR and am not 100% on the process or the best way to add to a release.
Any feedback on if this is wanted by requires some work would be greatly appreciated.
Description of Changes

no breaking changes
using debug, error, info etc. on the logger with a Zap field or an Object that implements Zap's object marshalling will be separated from the key/values provided an appended to the values send to the zap adapter.
adds the calls to the tests.

License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.
PR Checklist
[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

[x] All commits in this PR are signed (git commit -s).
[x] The reason for this PR is clearly provided (issue no. or explanation).
[x] The description of changes is clear and encompassing.
[ ] Any required documentation changes (code and docs) are included in this PR.
[ ] Any user-facing changes are mentioned in CHANGELOG.md.
[ ] All added/changed functionality is tested.

Thanks @peterfox . Everything looks good.
bors r+

@rustatian thank you for all the really useful feedback


CI will build now build all dists, and commits (to master)

So devs don't have to remember to build and commit dists with pull requests.

I love this.

It's my fabulous command of the English language in the title isn't it?

Please merge it
On Thu, Oct 8, 2015, 6:12 PM Satyen Desai<EMAIL_ADDRESS>wrote:

It's my fabulous command of the English language in the title isn't it?
—
Reply to this email directly or view it on GitHub
https://github.com/Netflix/falcor/pull/566#issuecomment-146722143.
--
You received this message because you are subscribed to the Google Groups
"Falcor" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to<EMAIL_ADDRESS>To post to this group, send email to<EMAIL_ADDRESS>To view this discussion on the web visit
https://groups.google.com/a/netflix.com/d/msgid/falcor/Netflix/falcor/pull/566/c146722143%40github.com
https://groups.google.com/a/netflix.com/d/msgid/falcor/Netflix/falcor/pull/566/c146722143%40github.com?utm_medium=email&utm_source=footer
.

Merged. But it seems to have some env/authentication issue in the Travis CI env so it's not committing, plus may need to pick up the branch from CI env, since the build is off a detached HEAD. I'll look at that tomorrow.

Seems like it's fixed. Let me know if you see anything out of line


Path of .middleware folder when searching for modules is broken with default folderName in Serverless 3.0

The path of the .middleware folder using the default configuration is broken in serverless 3.0 + serverless-middleware 3.0.
Framework Core: 3.22.0 (local) 3.21.0 (global)
Plugin: 6.2.2
SDK: 4.3.2

Error:  Error: Cannot find module '/project-name/.build/.middleware/service-name-functionName'
Serverless for some reason is assuming that the /.middleware/ directory is located inside of /.build/.middleware/ and that is not the default location of the folder.
The pathToRoot variable resolves to just .. without a preceding slash, (../) and I thought that was the problem although manually altering the following did not fix it.  Although, it does print out the preceding slash in the logs and doesn't seem to hurt anything.  Not sure if not adding a preceding slash was intentional or not.
const pathToRoot = path.relative(pathFolder, this.serviceDir); - original
const pathToRoot = path.relative(pathFolder, this.serviceDir) + '/'; - modified
If I find a fix, I'm happy to commit it but since you likely can pinpoint it faster, I'm posting this for visibility into the issue as well as for archival purposes.

I used a workaround that I thought up to ensure the .middleware folder gets added to the .build directory at runtime/build.
Although it doesn't work!  The folder is there and I still get the same error.
My workaround that does not work!
package:
  excludeDevDependencies: false
  patterns:
    - '.middleware/**'
custom:
  middleware:
    cleanFolder: false

Turning cleanFolder to false, ensures the .middleware directory sticks around, and in combination with the pattern I added ensures it gets added to the .build directory although either way the same exact error occurs on serverless-offline.  Also, this is the order of my plugins for context:
plugins:
  - serverless-plugin-typescript
  - serverless-plugin-common-excludes
  - serverless-plugin-include-dependencies
  - serverless-middleware
  - serverless-offline

So, really we have two issues here:

Path Issue: Whatever path you are providing to the .middleware directory to the serverlesss framework is incorrect.  (I fixed this with my workaround)

Transpilation Issue: The reason it didn't fix it is because all the handlers that were created in the .middleware directory were not transpiled from Typescript to Javascript.  So, essentially the only way to use this plugin on the latest version of everything is to use serverless-webpack w/ webpack 5 and write up a custom webpack.config.js file that would transpile Typescript files to Javascript that the Serverless Framework wouldn't generally look for.

As of now I'm going down the path of a custom webpack file, even though it's a huge burden to do that.  If I can't find a solution, I'll be forced to use currying versus this plugin.

Hi @bcrigler ,
Thanks for the deep research on the issue:
Can you create a repo so I can reproduce the issue? Then it will be a lot easier for me to fix it.
The Transpilation Issue is by design. This plugin glue together all the middlewares into a single handler in whatever your original language was. Then it's up to you to use a separate plugin to do the transpilation.
So, the problem I think is the order in which you are using the plugin.
Both the typescrypt and the middleware plugins mingle with paths and handlers, typescript creates .build and middleware creates .middleware, and that's probably causing the error.
Changing the order so the middleware plugin runs before the typescript plugin probably fixes the issue.
plugins:
  - serverless-middleware
  - serverless-plugin-typescript
  - serverless-plugin-common-excludes
  - serverless-plugin-include-dependencies
  - serverless-offline

If it doesn't work, can you provide a sample project so I can reproduce the issue and work on it?

Closing since a solution was provided and there was no more response.
Feel free to reopen if you think that something is left to solve.


Update sys-dm-os-sys-info-transact-sql.md

[container_type] and {container_type_description] columns are showing up in SQL Server 2017 (and later, I presume). I'm not sure what version(s) those "Applies to". I suspect the "container" is probably something like "Docker" or "Kubernetes" and not the same sense in which a database is a "contained" database.
The "Applies to" and descriptions need to be completed before merging this PR.

@Rob-S : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Rob-S
Thank you for your contribution.
At this time, we cannot approve this change.
However, we are thankful for bringing this to our attention to look at refreshing the table.
We will investigate and possibly make edits to this in the future.
Thank you.


Add README

Add the README file with a brief introduction to the Keyless SDK and functional documentation

Closing issue after mergin PR #6


Update README.md - fix one grammar mistake.

I have noticed one grammatical mistake in README inside section "RsaCtfTool"
"msieve, yafu or cado-nfs."  should be "msieve, yafu, or cado-nfs."
Screenshot-

Please review my PR.


Open source license

Is this project intended to be open source? If so a LICENSE should be added

I forgot! Just added a MIT license.


Update README.md

iceberg-spark and iceberg-pig module descriptions were mixed up

Thanks for fixing this, @atulfelix. Could you move the note about iceberg-runtime back to iceberg-spark though? The runtime Jar is for Spark, so that shouldn't be moved with the description. Thanks!

Thanks for fixing this, @atulfelix. Could you move the note about iceberg-runtime back to iceberg-spark though? The runtime Jar is for Spark, so that shouldn't be moved with the description. Thanks!

Ah I see, updated

Merged. Thanks @atulfelix!


Can I change scan interval on Raspberry Pi2?

I want to change scan interval on Raspberry Pi2.
How can I do that?

The is not API for this currently. However, it can be changed in the following line:
https://github.com/sandeepmistry/noble/blob/master/lib/hci-socket/hci.js#L239

@sandeepmistry I assume the same is true for the connection interval, no API but modify line:
https://github.com/sandeepmistry/noble/blob/master/lib/hci-socket/hci.js#L287
?

Hi @arusu0629,
Yes that is correct.

Please can you update status of this issue on this latest release:
<EMAIL_ADDRESS>


Ghidra cannot find jdk folder

Describe the bug
Trying to install Ghidra and executed  ghidraRun.bat after I installed jdk 11.
So it tells me that it did not find Java folder.But instead let me put the right path of the java folder, it tells me to check the installation guide. So I gone in there and it tells me to edit the environment variables etc. So I added at system variables a variable with the name JAVA_HOME and value C:\Program Files\Java\jdk-11.0.5 (tried even C:\Program Files\Java\jdk-11.0.5/bin).
Restarted cmd but it says that it still cannot find it.... any help?
Is there any option that let's me edit the jdk path?
Environment (please complete the following information):

OS: Windows 10
Java Version: 11.0.5
Ghidra Version: 9.1.1

Could you be experiencing the issue seen in #921?

Ghidra does not use the JAVA_HOME environment variable.  When Ghidra prompted you for the path of your jdk 11, what path did you give it?  What are the contents of your c:\Users\<username>/.ghidra/.ghidra_9.1.1_PUBLIC/java_home.save file?

@JimChrModder, did you ever get this working?

I execute the ghidraRun.bat and I get this:
Java runtime not found.  Please refer to the Ghidra Installation Guide's Troubleshooting section.
Press any key to continue . . .
and when I press a button,it closes.
(I tried it when it was published and it showed me to put java's path and it worked. For some reason it does not ask me to put the right path if it does not find it in this version...)

You need Java 1.7 or later on your PATH environment variable for Ghidra to try to find the correct version of java to use.  If you do java -version from a command prompt, what is the output?

Fixed it by entering java's bin path in the environment variable with the name "path" instead of adding a new one.

I have the same problem

winget install Microsoft.OpenJDK.17

I had the same problem in Windows. I solved it by downloading the latest version of Java and add it to  environment variable path.

NOTE: In my case (I'm using Fedora) installing the java-latest-openjdk-devel worked for me.
Reference: Here


why not supporting simply require('lib/foo.js')  instead of require('./lib/foo.js')

I find the former simpler and quicker but it doesn't work, while the latter does

Are you requiring a file using a relative path or part of a separate module?
The require('lib/foo.js') syntax will try to find the foo.js file in the lib Node module (node_modules/lib/foo.js), according to the Node module spec.
The require('./lib/foo.js') syntax will resolve the current directory, append lib and foo.js, and attempt to load that file (see the same spec page).

thanks ok


Disneyland Shanghai

...has updated its website and guess what :)
This might be the first park to get data access since opening day !

haha... you seem to be endlessly watching all the Disney websites!
resort_id: shdr
park: desShanghaiDisneyland
No data is available yet for wait times, schedules etc (not surprisingly!)
Will have to check again closer to the opening day!

Well the announcement of the opening day , triggered the updated website , my main interest still is Disneyland Paris which is the closest for me ... :)

Added to API ready for opening day!


Can't compile with FV_PRECISION=R8

In fv_getUpdraftHelicity (in FV_StateMod.F90) uh25 is a real with width FVPRC (R8 for GCHP):
https://github.com/geoschem/FVdycoreCubed_GridComp/blob/2159d986cc8c677e4a97a25b4954498f6f1386d8/FV_StateMod.F90#L3554-L3568
In the dynamics core's Run() subroutine uh25 is gotten with a real(kind=r4) called temp2d:
https://github.com/geoschem/FVdycoreCubed_GridComp/blob/0698dbd763b9d0bbda8db4c91c4418a591e7051d/DynCore_GridCompMod.F90#L2811
https://github.com/geoschem/FVdycoreCubed_GridComp/blob/0698dbd763b9d0bbda8db4c91c4418a591e7051d/DynCore_GridCompMod.F90#L4753-L4760
This causes a compiler error when AdvCore_GridComp is compiling.
Work around
To work around this I created a new pointer with kind FVPRC. Then I called MAPL_GetPointer and fv_getUpdraftHelicity with this pointer.
Patch file: AdvCore_GridComp-patch.txt (can be applied with git apply AdvCore_GridComp-patch.txt in the AdvCore_GridComp subdirectory).

Fixed with 201f10f I believe

https://github.com/geoschem/FVdycoreCubed_GridComp/commit/201f10f548ad295c0293f22a1d85fb31f252c228 fixed a separate issue that was triggered by the same call. Reopening until a fix is pushed.

Now fixed with combination of https://github.com/geoschem/FVdycoreCubed_GridComp/commit/201f10f548ad295c0293f22a1d85fb31f252c228 and https://github.com/geoschem/FVdycoreCubed_GridComp/commit/99d6ef246afc7aa064a046958006ddeaff288730. This issue and a susggested fix were previously documented in GMAO issue https://github.com/GEOS-ESM/GEOSgcm_GridComp/issues/60. The update pushed is based on GMAO's work-around for GEOS CTM.


Improve rationale for com.google.fonts/check/058

Just had this check fail on ComfortaaVF, https://github.com/googlefonts/comfortaa/pull/14.
Since this check follows the MS OpenType Recommendations, I've decided to reference it.
https://docs.microsoft.com/en-us/typography/opentype/spec/recom#post-table

Great! Thanks!


Question about Liquid3D

Is the link for Liquid3d provided incorrectly? The one displayed on Google Drive shows dpi_dam_break data.tar, right?

Yes, you are right. Thank you very much for pointing that out! I have corrected the link.


https://github.com/IQSS/workshops isn't building properly

Hi! 4144d03 at https://github.com/jupyterhub/binderhub/commit/4144d0340473d81b59bf3eb1c950cc7c4aa115ab#diff-1a1c3dd142f76a5fad803a0c52839881 seems to be telling me that I'm in the right issue tracker tor report a repository isn't building properly.
I let this repo run for over an hour, but it seems stuck on the "Pushing" stage (the "Waiting" and "Building" Stages seemed fairly slow as well, taking several minutes) https://github.com/IQSS/workshops
Here's a screenshot after a hour and twenty minutes but it looked like this after ten minutes as well:

To give you a little more context, I hadn't heard of BinderHub under @aculich mentioned it at http://irclog.iq.harvard.edu/dataverse/2018-03-02#i_64028 and he and I chatted more about a potential integration of Dataverse and BinderHub on Friday. I took some notes at https://docs.google.com/document/d/12njDDHHfoNdos0By3lKlxYbRWLsAp8Eo-AGpjuBF_rY/edit?usp=sharing
This morning I asked @izahn if he had heard of BinderHub and he hadn't but he's well aware of tmpnb because he uses it in a somewhat similar service that he runs using code he wrote at https://github.com/IQSS/iqss-jupyter-notebook . Ista is also the author of the "workshops" repo above that's failing. He and I did note the notice at the top of https://github.com/jupyter/tmpnb that says, "DEPRECATED - See BinderHub project".

Just tried it and https://mybinder.org/v2/gh/IQSS/workshops/master launched (eventually) for me.
I also had a quick look at the contents of the repo and there doesn't seem to be any binder specific build instructions in there. Is that on purpose?
The repository itself uses up about 1GB once it is in a docker container. As a result the image is quite large which means it can take quite a while for it to be pushed to our registry and then when you launch it it has to be pulled from the registry to the node on which it is being executed (which might be different for different users). At the moment I think all you can do is be patient :-/

@betatim thanks for taking a look. Really, this was just me and @izahn staring at the Binder interface for the first time and giving it a try. If Binder-specific instructions are required in the git repo, this should probably be mentioned near the input box for "GitHub repo or URL".
Later, @izahn said that https://github.com/nmbrodnax/iqss-python-intro seemed to work fine. So you're probably right that it has something to do with the size of the workshops repo. I'm glad to hear it worked, eventually. I'll go ahead and close this issue. Thanks!


No installisation \w package manager ?, such as vim-plug

i wanna install this plugin with vim-plug bro

just use Plug 'windwp/nvim-ts-autotag' in your configuration


Update generation scripts to target ROS 2 Galactic

Requires #54

Rebased from doc_gen now that #54 is merged.


Link analysis

[x] Works for Run Analysis button

#89

Some tests are failing, I think you just need to mock a few more functions around history

Some tests are failing, I think you just need to mock a few more functions around history

Good start! However, I think we might have to change our approach on how we load and update the url.
The goal of this PR is to help users easily share completed analysis results (all fields are filled in and run analysis was dispatched). There is a lot of extra work we are doing here to try handle all these smaller edge cases where certain fields are not filled in, and the code is also not very scalable if we decide to add new fields in the future.
I think its safe if we just ignore filling in the UI's fields, and just dispatch an analysis if all criteria are met. If a dispatch isn't possible, we could simply notify the user that their url is malformed. A url would only ever be malformed if the user edited it, or didn't copy it properly.
The above approach would definitely simplify things, and you won't need to touch some of the more delicate pieces like https://github.com/WFP-VAM/prism-frontend/pull/120#discussion_r551077956. What do you think of this approach @ericboucher? This is the current approach #103 was taking.
Also, I don't think we should be doing any verification when we load the url like what we are doing now, but instead rely on the dispatch function to verify for us. Then, in the future we could use this function in other places and use the same verification code. This was the approach Laveesh and I were taking here.
Try give the above a shot, and possibly use #103 as a jumping point. Let me know if you have any questions :+1:

Good start! However, I think we might have to change our approach on how we load and update the url.
The goal of this PR is to help users easily share completed analysis results (all fields are filled in and run analysis was dispatched). There is a lot of extra work we are doing here to try handle all these smaller edge cases where certain fields are not filled in, and the code is also not very scalable if we decide to add new fields in the future.
I think its safe if we just ignore filling in the UI's fields, and just dispatch an analysis if all criteria are met. If a dispatch isn't possible, we could simply notify the user that their url is malformed. A url would only ever be malformed if the user edited it, or didn't copy it properly.
The above approach would definitely simplify things, and you won't need to touch some of the more delicate pieces like https://github.com/WFP-VAM/prism-frontend/pull/120#discussion_r551077956. What do you think of this approach @ericboucher? This is the current approach #103 was taking.
Also, I don't think we should be doing any verification when we load the url like what we are doing now, but instead rely on the dispatch function to verify for us. Then, in the future we could use this function in other places and use the same verification code. This was the approach Laveesh and I were taking here.
Try give the above a shot, and possibly use #103 as a jumping point. Let me know if you have any questions :+1:

Good start! However, I think we might have to change our approach on how we load and update the url.
The goal of this PR is to help users easily share completed analysis results (all fields are filled in and run analysis was dispatched). There is a lot of extra work we are doing here to try handle all these smaller edge cases where certain fields are not filled in, and the code is also not very scalable if we decide to add new fields in the future.
I think its safe if we just ignore filling in the UI's fields, and just dispatch an analysis if all criteria are met. If a dispatch isn't possible, we could simply notify the user that their url is malformed. A url would only ever be malformed if the user edited it, or didn't copy it properly - two cases we don't need to cover as developers.
The above approach would definitely simplify things, and you won't need to touch some of the more delicate pieces like #120 (comment). What do you think of this approach @ericboucher? This is the current approach #103 was taking.
Also, I don't think we should be doing any verification when we load the url like what we are doing now, but instead rely on the dispatch function to verify for us. Then, in the future we could use this function in other places and use the same verification code. This was the approach Laveesh and I were taking here.
Try give the above a shot, and let me know if you have any questions 👍

Two reasons why I chose this approach.

If a user opens such a link, he will have all the UI fields filled in, which can improve UX, Image if he wants to make a small change like changing the Statistics only, He will need to fill all the fields manually just for one change.

Doing so, I don't need to make any changes in runAnalyser because it takes the values from input fields, all I need to do is to just update those fields and execute runAnalyser.

 const params: AnalysisDispatchParams = {
      hazardLayer: selectedHazardLayer,
      baselineLayer: selectedBaselineLayer,
      date: selectedDate,
      statistic,
      extent: adminBoundariesExtent,
      threshold: {
        above: parseFloat(aboveThreshold) || undefined,
        below: parseFloat(belowThreshold) || undefined,
      },
    };

    await dispatch(requestAndStoreAnalysis(params));

This function's ( requestAndStoreAnalysis ) params can take specific values only, e.g. hazardLayer will only take valid layer names else TypeScript will return an error, so I'll still need to verify the user inputs to make sure it's not an unknown value.

Good start! However, I think we might have to change our approach on how we load and update the url.
The goal of this PR is to help users easily share completed analysis results (all fields are filled in and run analysis was dispatched). There is a lot of extra work we are doing here to try handle all these smaller edge cases where certain fields are not filled in, and the code is also not very scalable if we decide to add new fields in the future.
I think its safe if we just ignore filling in the UI's fields, and just dispatch an analysis if all criteria are met. If a dispatch isn't possible, we could simply notify the user that their url is malformed. A url would only ever be malformed if the user edited it, or didn't copy it properly - two cases we don't need to cover as developers.
The above approach would definitely simplify things, and you won't need to touch some of the more delicate pieces like #120 (comment). What do you think of this approach @ericboucher? This is the current approach #103 was taking.
Also, I don't think we should be doing any verification when we load the url like what we are doing now, but instead rely on the dispatch function to verify for us. Then, in the future we could use this function in other places and use the same verification code. This was the approach Laveesh and I were taking here.
Try give the above a shot, and let me know if you have any questions 👍

Two reasons why I chose this approach.

If a user opens such a link, he will have all the UI fields filled in, which can improve UX, Image if he wants to make a small change like changing the Statistics only, He will need to fill all the fields manually just for one change.

Doing so, I don't need to make any changes in runAnalyser because it takes the values from input fields, all I need to do is to just update those fields and execute runAnalyser.

 const params: AnalysisDispatchParams = {
      hazardLayer: selectedHazardLayer,
      baselineLayer: selectedBaselineLayer,
      date: selectedDate,
      statistic,
      extent: adminBoundariesExtent,
      threshold: {
        above: parseFloat(aboveThreshold) || undefined,
        below: parseFloat(belowThreshold) || undefined,
      },
    };

    await dispatch(requestAndStoreAnalysis(params));

This function's ( requestAndStoreAnalysis ) params can take specific values only, e.g. hazardLayer will only take valid layer names else TypeScript will return an error, so I'll still need to verify the user inputs to make sure it's not an unknown value.

Two reasons why I chose this approach.

If a user opens such a link, he will have all the UI fields filled in, which can improve UX, Image if he wants to make a small change like changing the Statistics only, He will need to fill all the fields manually just for one change.
Doing so, I don't need to make any changes in runAnalyser because it takes the values from input fields, all I need to do is to just update those fields and execute runAnalyser.

This sounds fair, and filling all UI fields would be nice. Then, we should focus on the review comments I made, and making this more stable.
For example, this might be a good place to use useReducer? Then we have the object keys available to us in order to construct a url, and if a new field is added it will be very easy to include it into the url without making a new condition for it (it would almost be automatic!) We could start this by removing all the useState uses related to the AnalysisUI with a reducer function, and runAnalysis can become an action. Loading a url could also be an action.

Two reasons why I chose this approach.

If a user opens such a link, he will have all the UI fields filled in, which can improve UX, Image if he wants to make a small change like changing the Statistics only, He will need to fill all the fields manually just for one change.
Doing so, I don't need to make any changes in runAnalyser because it takes the values from input fields, all I need to do is to just update those fields and execute runAnalyser.

This sounds fair, and filling all UI fields would be nice. Then, we should focus on the review comments I made, and making this more stable.
For example, this might be a good place to use useReducer? Then we have the object keys available to us in order to construct a url, and if a new field is added it will be very easy to include it into the url without making a new condition for it (it would almost be automatic!) We could start this by removing all the useState uses related to the AnalysisUI with a reducer function, and runAnalysis can become an action. Loading a url could also be an action.

I've fixed pretty much all the issues, let me know if I missed any.

I've fixed pretty much all the issues, let me know if I missed any.


[BUG] AI Assistant throws 404 before making any network calls

Hi,
I am currently trying to set up AI assistant. I have watched your guide and have set up AI assistant accordingly. Once I select a prompt (template) it throws a 404 error immediately. I have tried with both Ollama and OpenAI. I investigated by opening the network tab in the console, and it appears that it is not even making a request before returning the error. I do not think the error is with Ollama, since I am successfully using it with other AI tools and it is probably an issue with my quicadd configuration. Any help would be appreciated. Thanks

I'm encountering the same issue.

Hi @rossoj85 and @alejandroarmas
Your Ollama host should be http://localhost:11434/v1.
For example:


As a User I want to use gnames locally

It is important to make gnames resolution install easy enough so other people can use it locally.

Using feedback from https://github.com/GlobalNamesArchitecture/dwca_hunter/issues/30 by @jhpoelen
I'd be happy to help test your tool, especially if the features align with those of Nomer:

easy to install (in my opinion, docker is not easy for most and usually just hides overly complex infrastructures)

it will be docker-based at least as the first iteration, because it fits kubernetes workflow. We can think of other ways after docker one is implemented.

able to index, cache and version existing taxon lists (e.g., index Plazi names from taxon lists published in DwC-A)

Not in the scope currently, would require more thought.

able to batch export / stream link results

yes

command-line interface

https://github.com/gnames/gnmatcher component takes about a minute to get initialized. If it runs as a service, the rest can be set as a cli program.

able to run on single laptop

yes, for modern laptops

designed for offline (no internet) workflows

yes

separate commands to do common name operations: find, parse, resolve

gnfinder, gnparser, gnames are 3 different projects that do find, parse, resolve correspondingly.

Is this in line with the features you are planning to support?

Some of them yes, others need more thought

@jhpoelen Thinking out loud.  "Use locally" has design implications that likely need to be teased out.  I think what you define is not really "use locally", it's a feature set.   If we look at all parts of the spectrum, your old laptop, vs. a supercomputer, vs. a mid range kubernetes cluster each would have some dis/advantages, and each is "local" in some context.
If you mean "I want to do all these things on my 3 year old laptop" then you're going to constraing certain approaches (e.g. perhaps no docker).
I'm also not sure about your argument vs. docker (not specifically, just for/against some tech).  Let's imagine a completely naive user.  Now we ask them to do some things to "run locally".  One might argue that installing a package on Mac, then running a single docker command is more straightforward than installing binaries, updating paths, and typing multiple commands.
I.e., I'm largely on board with the sentiment, but the devil is in the details.

hey @dimus @mjy thanks for taking the time to consider my situation: over the years, I have spent a large chunk of my time maintaining name parsing, resolving and linking software libraries. Every once in while, I try to shop around for name tools to re-use existing tools. So far, I've incorporated the scala-based gnparser library and your online resolver.globalnames.org service, but I am eager to re-use more of your specialty tools to find, parse and link taxonomic names.
From @dimus 's answers, it looks like the tools gnfinder, gnparser and gnmatcher (not gnames right?) satisfy my need to have simple, easy to install command-line tools that do one thing well. The only piece that seems to be missing is the ability to locally install and specify the versions of name lists that gnmatch resolves against.
@mjy I much agree that the phrase "use locally" can be interpreted in many ways, especially when taken out of this context. Just to clarify: by use locally, I mean to build tools in the unix tradition. The additional (almost implicit) requirement is to design tools to be used offline.
As far as my old laptop goes: as far as I can tell, nothing much has changed in the last 10 years as far as hardware goes, aside from maybe the increased performance SSD/NVMe to allow for parallel computation workflows. So, when I say "it should run on my old laptop", I mean that the tools should be able to run a run of the mill linux machine with modest memory requirements.
Also, to me, Docker is a way to package a suite of tools to help make it easier to use standard linux features (e.g., cgroups, linux namespaces, copy-on-write) to package, publish and deploy a compilation of programs and configurations. I can see how this can be useful for installing tools with (overly?) complex dependencies and/or for having an easy way to deploy to tens or hundreds of servers. In this discussion, I'd argue that Docker is out of scope, because docker is a complimentary method to alleviate (overly complex?) install procedures.
I am looking forward to figuring out ways to re-use your tools in my workflows, especially for the gnmatch tool: I'd very much like to be able to run a resolver.globalnames.org -like service locally with defined and versioned taxonomy name providers to match against.
Thanks again for taking the time to respond and please let me know if there's any specific information you need to clarify my use case.

@jhpoelen here are command line programs that can be used for finding, parsing and verification
parsing: https://gitlab.com/gogna/gnparser
finding: https://github.com/gnames/gnfinder
verification: https://github.com/gnames/gnverify
The gnverify CLI interface is done via remote access to https://index.globalnames.org service, however it is going to change soon and use https://github.com/gnames/gnames instead. I suspect you will be able to use local version of gnames for verification, but it does need to operate with pretty large data, so it will be demanding on memory, cpu and disk space.

I suspect you will be able to use local version of gnames for verification, but it does need to operate with pretty large data, so it will be demanding on memory, cpu and disk space.

Assuming that different taxonomic name sources, would it be able to just install a small subset of the data needed to run the verification (same as linking right?). For instance, I'd be interested in only verifying against ITIS, NCBI and WoRMS.

Yes, if you set a database locally, you can purge all resources you do not care about. In such case gnmatcher would also use somewhat smaller memory footprint, as you will have slightly smaller number of canonical forms to match against.

There is no reason for docker for gnfinder and gnparser. You can also install all components of gnames by hand, but I personally think docker compose makes it easier.
I do think that docker does help because of the tools it provides. Surely similar effect can be achieved using standard Linux features, but it requires more knowledge from users and it is a less portable solution. I strife for the only requirement from users is be able to download a program, to open some kind of command line interface on Windows, Mac or Linux and run a command. Our most precious users are biologists, not computer specialists, most of the time.

I am looking forward to figuring out ways to re-use your tools in my workflows, especially for the gnmatch tool: I'd very much like to be able to run a resolver.globalnames.org -like service locally with defined and versioned taxonomy name providers to match against.

I think gnames is getting close to be usable. So lets try to make it work locally on your machine when it is ready

@dimus I am eager to experiment with gnames !

Yes, if you set a database locally, you can purge all resources you do not care about.

PS I'd assume that I would be able install my own taxonomic name resources, instead of having to install some default database snapshot.
Something like:
# remove all local name resources
gnames clear
# expect no links - because no resource are available
gnames verify "Homo sapiens"

# import itis names
gnames import https://example.org/itis.tar.gz
# now, names is verified against itis as expected
gnames verify "Homo sapiens"

PS I'd assume that I would be able install my own taxonomic name resources, instead of having to install some default database snapshot.

It would be great but low on a priority que

@dimus thanks for listening and responding. Just curious - how do you build the name database yourself?

@dimus thanks for listening and responding. Just curious - how do you build the name database yourself?

for now by hand with https://github.com/gaurav/dwca-hunter, I did include harvester into the old grant but more pressing projects got in the way, so it is still on the back burner.

@dimus thanks for sharing: I poked around in the source code. Very neat tool!  This tool produces dwca with taxa tables from various different file formats right? What process/ schema do you use to load these dwca taxa tables in a database?

@jhpoelen right, the idea I had was to normalize data for ingestion. It does help to get data in, but I think it can be more automatic. I am toying with idea to skip database altogether, and just keep everything is bunch of files from which to make gnames. But thats in the future, first i need to make gnames work correctly, and hopefully with throughput of 5k names a second or so.

+1: I am also very interested in this feature (being able to parse and resolve names with a CLI using a local database). I am working on an R package, taxastand, that allows the user to provide their own reference taxonomy in DWC format (e.g., as a CSV file) to resolve against. I think having complete control over the reference taxonomy and search algorithm is key for reproducibility (though priority of this may vary according to user).
My package currently uses the taxon-tools CLI for parsing and matching, but it would be great if the gnames was also available for this as it seems very fast and accurate.

@joelnitta it is definitely in plans, but not the highest priority. Check out https://github.com/globalbioticinteractions/nomer by @jhpoelen

I imagine gndiff working like a tiny gnames that has only one data-source completely in memory. I imagine it would work like this:

It takes 2 datasets (I would imagine they are usually less than 100k names?)
Determine which of the datasets is smaller, and create matching/fuzzy matching data-structures in memory.
Run larger dataset against the smaller one using pretty much the same algorithms as gnames/gnmatcher, all in memory.
Spit matching results to STDOUT

about something completely different -- I found that Trichomanes bifidum Willd does not return correct record in current version
of verifier, but is working correctly with new one
OLD:
https://verifier.globalnames.org/?all_matches=&all_sources=&capitalize=on&format=html&names=Trichomanes+bifidum+Willd
NEW: (no GUI yet)
http://verifier.globalnames.org/api/v0/verifications/Trichomanes+bifidum+Willd
It happens because of a bug in gnparser that is now fixed https://github.com/gnames/gnparser/issues/212. Gives me an additional incentive to move faster with beta version of verification :)

That sketch sounds mostly good to me.

(I would imagine they are usually less than 100k names?)

My particular use-case (pteridophytes) includes  ~65k names in the reference. I could imagine larger groups (e.g., angiosperms, all plants, etc) requiring a larger reference. But I'm not familiar with the memory requirements of the search algorithm... could there just be an option to request more memory / cores for larger datasets?

Determine which of the datasets is smaller

Is that because using the smaller dataset as the target more memory efficient? From a user's viewpoint, it doesn't matter which is treated as target/query by the algorithm as long as the user can see what names in the reference database match the query.

for 33Mil names it takes about 6GB on my laptop. So I would imagine things even with a million names should be ok for most computers.
Smaller dataset has to create all the matching datastructures in memory, and larger dataset would just go one name after another and match them. So larger dataset can acutally be huge and not affect memory consumption.

Time scale for gndiff is weeks, while for registry it is months/years. So I think I can play with gndiff idea in a not so distant future.

Great! IMHO there should be demand for this (besides myself) as I think it will greatly improve reproducibility if the user is not limited to selecting from an online database, which could be updated outside of their control at any time.
RE: Trichomanes bifidum Willd query example... if I'm reading the output correctly, it looks like it matched on the exact canonical form (Trichomanes bifidum) in either case? So I don't see how it could differentiate between Trichomanes bifidum C. Presl vs. Trichomanes bifidum Willd.

RE: Trichomanes bifidum Willd query example... if I'm reading the output correctly, it looks like it matched on the exact canonical form (Trichomanes bifidum) in either case? So I don't see how it could differentiate between Trichomanes bifidum C. Presl vs. Trichomanes bifidum Willd.

In GUI it matched with C. Presl in the best match, while in beta version it matched correctly with Willd in the best match.
Verification first makes canonical matching, but then sorts results according to finer details like authors, ranks, quality of parsing etc.
GUI uses /api/v1, and gnparser there has a bug that does not add ex authors to authors list, while showing them in the details section. Beta /api/v0 uses most recent parer and Willd got into the authors list.

Ah I see, thanks for the explanation. So "matchType":"Exact" and "matchedName":"Trichomanes bifidum Vent. ex Willd."  in http://verifier.globalnames.org/api/v0/verifications/Trichomanes+bifidum+Willd is hiding a bit of detail about how the match was made. (Glad you got the ex bug sorted... unfortunate difference there between botanical and zoological practices!)

Made a ticket #75 to spell out why something percolated up to be "bestResult"

@joelnitta check out https://github.com/gnames/gndiff, it is a tool I started for comparing 2 name lists together. It is not optimized yet (mimimally viable product) and direction of its development woud depend on feedback and accumulated use-cases.

Fantastic, thanks so much! I will definitely check it out.


OCPBUGS-39123: Add external kas address to no proxy skip list

Without this users need to add either the internal address, kubernets.svc, serviceNetwork or clusterNetwork. With this adding the external kas address will make the pod->kas communication to ignore the proxy as well

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/jira backport release-4.17,release-4.16,release-4.15,release-4.14

/cherrypick release-4.17


Shift the dark/light toggle button in footer in mobile view

I would like to work on it under LGMSOC.

I would like to work on it under LGMSOC.

Under DCP or LGMSoC?

I would like to work on it under LGMSOC.

Under DCP or LGMSoC?

LGMSoC

@nlok5923 Please take a look at the pull  request #406  and guide me what else can be implemented here for the desired output.Should I add anything else in bootstrap grid method or media queries or something else.

@anushruti11 just reopen the pr with your current changes so that we can take this discussion there also once the pr is open do provide me the test deployment link so that i can test the live changes.

@anushruti11 just reopen the pr with your current changes so that we can take this discussion there also once the pr is open do provide me the test deployment link so that i can test the live changes.
@nlok5923 The test deployment link is in the pr description and it is closed by the project admin.

Fine you can open a new pr and there i will guide you out.

@QAZIMAAZARSHAD Is this ok?

please align the toggle button in center in mobile view also increase the size of icons.

I suggest shift the button here

I suggest shift the button here

@QAZIMAAZARSHAD Only for mobile view ?

Yes only for mobile view.

Yes only for mobile view.
@QAZIMAAZARSHAD Is this ok now?

Yaa fine do it on every single page.


Specified data type property on a template cannot be used for compiled bindings

Found an issue today happening with compiled bindings which I prefer to user whenever possible when the XAML compiler produces an error for a non DataTemplate with the specified DataType as a property. Haven't tested it yet with TreeDataTemplate directly, but we have an class inheriting from it which caused the problem.
With compiled bindings enabled the following XAML will trigger the issue:
<y:CustomTreeDataTemplate
    DataType="z:SomeType" />

But if x:DataType pointing to the same type is added, everything goes fine:
<y:CustomTreeDataTemplate
    x:DataType="z:SomeType"
    DataType="z:SomeType" />

Looks like the compiler only understands how to work with the built in types at least or just with data templates.
/cc @grokys

It seems to be just simple XDataTypeTransformer
Something like that https://github.com/AvaloniaUI/Avalonia/blob/master/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/XNameTransformer.cs
cc @kekekeks

We should probably add a marker attribute or something. Right now the check for DataTemplate is hardcoded here: https://github.com/AvaloniaUI/Avalonia/blob/7842883961d094e08e9def7f30cf32fd573179c7/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/AvaloniaXamlIlDataContextTypeTransformer.cs#L59-L61


BREAKING; custom output validation per response status

see https://github.com/pebble/koa-joi-router/pull/8

all set


Training setting for confidence threshold η

Hi @ChenMnZ , thanks for your excellent work! Wolud you please guide me how to set the confidence threshould η, and the start epoch number (which is set to 200 in your paper)? Because I cannot find any config file to do it, I want to learn more about these settings, thanks.

Confidence threshold: During the training process, we use a default value of $\eta=1$ for the fine inference stage for all images, and we don't explicitly set $\eta$ in the code for training. However, we do provide a set of $\eta$ values for inference, which you can adjust by modifying the $threshold$ parameter of the $forward_early_exit$ function. You can find this parameter at https://github.com/ChenMnZ/CF-ViT/blob/507d19d6cbab8c5594dc6f2e0e984c994c15f651/deit/models_deit.py#L250.

Start epoch: The start epoch is determined in the code at https://github.com/ChenMnZ/CF-ViT/blob/507d19d6cbab8c5594dc6f2e0e984c994c15f651/main_deit.py#L387.

Confidence threshold: During the training process, we use a default value of $\eta=1$ for the fine inference stage for all images, and we don't explicitly set $\eta$ in the code for training. However, we do provide a set of $\eta$ values for inference, which you can adjust by modifying the threshold parameter of the forward_early_exit function. You can find this parameter at https://github.com/ChenMnZ/CF-ViT/blob/507d19d6cbab8c5594dc6f2e0e984c994c15f651/deit/models_deit.py#L250.

Start epoch: The start epoch is determined in the code at https://github.com/ChenMnZ/CF-ViT/blob/507d19d6cbab8c5594dc6f2e0e984c994c15f651/main_deit.py#L387.

GOt it! Thank you very much for timely answer. I will close this issue.


UKPN meta data

Pull Request
Description
This PR corresponds to the UKPN meta data and its functions and Datapipes.
Fixes #
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

[ ] Yes

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

[ ] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

@jacobbieker
I have written a datapipe to get the center(lat, lon) from all the individual GSP points from the metadata file or JSON data, I'll expand this to add all the GSP from UKPN solar data, and add this to netcdf
I'm also working on automating the data download from Grafana UKPN page

@jacobbieker I have written a datapipe to get the center(lat, lon) from all the individual GSP points from the metadata file or JSON data, I'll expand this to add all the GSP from UKPN solar data, and add this to netcdf
I'm also working on automating the data download from Grafana UKPN page

Awesome! That sounds great!


Display the cart with items, after API calls

When i create a new product, and then add it to the cart using THIS API :

How i can access the related cart page ? (is there like an url : https://www.mySite.com/cart?customer_id=45  ) ?
How in general, does this manipulations are traced ?  with no user account, all via simple guest API request

The api will be used by another Asp.Net mvc app to add new product each time.
Thanks

Solution : it's all based on cookies and sessions, so the 3rd party app should be working on the same nopCommerce website Or having a shared user account between the nopCommerce & 3rd party app using the api.
I'm closing this one. Thanks


FixtureTestState doesn't recognize module resources

Affected Version
4.2
Description
Test fails when I want to include a fixture from another module with resource notation. While SapphireTest's resolveFixturePath() method calls ModuleResourceLoader, this is not done in FixtureState's resolveFixturePath().
Why is this method/logic and duplicated in SapphireTest and FixtureTestState?
Steps to Reproduce
add fixtures like:
    protected static $fixture_file = [
        'shop.yml',
        'silvershop/core:tests/php/Fixtures/Carts.yml'
    ];

Test fails when I want to include a fixture from another module

I don't this is a wise thing to do to be honest. Tests should be able to run on their own.
Being able to resolve module resources makes sense as an enhancement, to go alongside the fact that you can use an absolute or relative path. Also by adding this as an enhancement you could do what you want to do anyway - are you happy for this to be labelled as an enhancement?

I don't this is a wise thing to do to be honest.

I stumbled over this while updating silvershop/discounts module's tests. It seems the original author included at least once a relation to a silvershop/core yml file.
It would be an enhancement and/or code cleanup, cause the logic for getting the path of the fixture file is pretty duplicated in SapphireTest and FixtureTestState. As stated above, from reading SapphireTest's code I assume I can use resource notation.
putting an absolute path (relative to the silverstripe root) fixed the problem for me now.


Merge from metal3-io

Leaving the following files intact:

Dockerfile.ocp
Dockerfile.okd
OWNERS
README.md

Commits included:

OWNERS: add Iury, remove Julia
Switch to CentOS Stream and fix the build
Remove downstream Dockerfile
Remove bz reference from OWNERS
Update quay org to metal3-io
Default to using --copy-network
Run efibootmgr if boot mode is UEFI
Apply local patches before removing git
Fix the log_file option name
Remove redundancy in OWNERS

/cc @hardys
This includes the upstream work, especially the UEFI change

/lgtm


Add configurable execution of 'Resolving Swift Package Manager dependencies'

Feature Request

An ability to disable the Resolving Swift Package Manager dependencies command

Motivation Behind Feature
It takes ~3 minutes on our locally hosted 2018 mac mini runners, to finish executing this command
xcodebuild -resolvePackageDependencies -workspace workspace-path -scheme scheme-name
The ability to execute this optionally would allow us to save ~3 mins on every CI build.
Feature Description
I think we should be able to add a config wrapper around the Resolving Swift Package Manager dependencies. Source code link
This config would default to being true, but for developers who have not integrated swift PM, and do not intend to do so for a while, they will set this config to false using preferably an environment variable or a passed config to gym/scan.
Alternatives or Workarounds
No workaround or alternative available AFAIK

@asifmohd This command was added to avoid the timeout when trying to get the project configuration. It will run automatically by Xcode even if you try to suppress it.


Sources: No Result Found

Some of the sources provided can't show result when being browse

Open source related issues in the sources repo.


Basic tooltip content

County name and water use value for now. Follows on #35

need a json file that contains county name and water use value and FIPS for mapping to the county polygons

Total 2 hours


Bower package broken.

Hello, this package is registered at bower with the repository git://github.com/centralway/chart.js.git ... but that repo 404s.
Just thought I'd let you know.

Thanks for the notification. Duplicate with #1562


v1.13 docs: Use stable-v0.14.txt for cilium-cli version

The next cilium-cli release is v0.15.0 with Helm mode as the default installation mode. Continue to use v0.14 cilium-cli for v1.13 docs since we haven't validated v1.13 docs using Helm mode.
Also change the branch name from master to main. The default branch name recently changed from master to main in cilium-cli repo.
Ref: https://github.com/cilium/cilium-cli/pull/1759
Ref: #26430

this pull request only modifies a file under Documentation/ directory, so no need to run the full CI. merging 🚀


ImportError: cannot import name 'RouteLayer' from 'semantic_router'

with 0.1.0.dev2 and up the RouteLayer is now SemanticRouter and is imported with from semantic_router.routers import SemanticRouter

with 0.1.0.dev2 and up the RouteLayer is now SemanticRouter and is imported with from semantic_router.routers import SemanticRouter

Thanks


add PHYSICAL_FLOW as selectable Entity Type when creating Involvement…

… Kind

Potential Fix for https://github.com/finos/waltz/issues/6848
Works as a fix for us

Looks good, thanks for the PR.


make deep store upload retry async with configurable parallelism

Relates to: https://github.com/apache/pinot/issues/11874
This PR moves the deep store upload retry to be an asynchronous operation. By default, the thread pool that performs the uploads is limited to a single thread which is evicted when unused.
A new config is introduced to allow for increasing the maximum number of threads that can be used for retrying segment uploads: controller.realtime.segment.deepStoreUploadRetry.parallelism
A new metric is emitted to track the upload retry queue size, which can be used to ensure we can have visibility into scenarios where segment upload retry cannot keep up with new segments that are missing their deepstore copy: LLC_SEGMENTS_DEEP_STORE_UPLOAD_RETRY_QUEUE_SIZE
Tested via cluster deployment, edited ZK to remove segment urls to trigger uploads and verified segments were uploaded.
tags: enhancement

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2beb9a4) 61.61% compared to head (3bf17df) 46.77%.
Report is 19 commits behind head on master.

Files
Patch %
Lines

...g/apache/pinot/common/metrics/ControllerGauge.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12017       +/-   ##
=============================================
- Coverage     61.61%   46.77%   -14.84%
- Complexity      207      944      +737
=============================================
  Files          2385     1787      -598
  Lines        129214    93696    -35518
  Branches      20003    15158     -4845
=============================================
- Hits          79613    43826    -35787
- Misses        43801    46750     +2949
+ Partials       5800     3120     -2680

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
?

java-21
46.77% <0.00%> (-14.71%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
46.77% <0.00%> (+19.19%)
:arrow_up:

temurin
46.77% <0.00%> (-14.84%)
:arrow_down:

unittests
46.77% <0.00%> (-14.84%)
:arrow_down:

unittests1
46.77% <0.00%> (-0.17%)
:arrow_down:

unittests2
?

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

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

@Jackie-Jiang Thanks for the reviews! addressed the remaining comments


Youtube videos

Hello,
I'm trying the example from the sample project and it is working with the .mp4 video provided there. However when I try to use youtube video the screen stays black and nothing happens.

The url you pasted doesn't seem to work in my browser either

Yes, my bad. I think this link is generated per IP or has expiry date. However try and generate a youtube video download link and try to play it in the player. It won't work.

@modplug Could you explain to me if this plugin works with Youtube embed URL? Or more specifically, is it possible to play Youtube video with this plugin? In case of positive answer, could you share documentation or usage example?
Thank you.

@candidodmv By following this helpful answer (http://stackoverflow.com/questions/8402457/how-to-get-direct-url-for-youtube-videos#answer-37779863) you should be able to get the direct links to the MP4, WebM and 3gpp files. At least the MP4 - maybe also the WebM - should be playable by this media-player.


Dynamic token refresh

This PR ensures the dynamic fields of the token cards are displayed correctly and refreshed on app startup and when the user swipe refreshes the tokens.

@JamesSmartCell build is broken


mbedTLS error

Problem
Hello,
I am using EFR32 on BRD4170A dev board to create a CHIP demo. I am running the CHIP lighting app on two BRD4170As. I can provision the devices on the therad network over BLE using the CHIPtool android app. This process goes through successfully for both the devices. And I can send on/off commands from the android app to toggle the LED on the WSTK as expected.
I have two issues after that -

After provisioning the device2, I can no longer communicate with the device1 from the app. When I enter the IP address of device1, the command is executed on device2. Infact it doesn't matter what I put as the ip address textbox, the on-off command only goes device2.
When I close the android app and reopen it again, I cannot send the command to either of the devices. I can see "mbedTLS error:" in the RTT log.

00> [DL] Thread packet RCVD: UDP, len 108
00> [DL]     src  FD11:33::F19B:BD6E:3520:B2BF, port 11097
00> [DL]     dest FD11:22::A001:BC9E:76D5:EEE7, port 11097
00> [CR] mbedTLS error:
00>
To be able to communicate with the nodes again, I have to factory reset the nodes and re-provisioning them via the app.
Is this a expected behavior? Is there a way I can communicate with multiple nodes without having to re-provisioning them?
Thanks
Nik

Is this resolved? Please reopen if not.


[pilot] iTMSTransporter authentication issue with 2FA

New Issue Checklist

[✓] Updated fastlane to the latest version
[✓] I read the Contribution Guidelines
[✓] I read docs.fastlane.tools
[✓] I searched for existing GitHub issues

Issue Description
Now that 2FA is enabled on our CI account, we get an iTMSTransporter authentication error with pilot.
We use fastlane spaceauth to authenticate (no application-specific password, no App Store Connect API Key).
Authentication is successful for sigh (Successfully logged in and fetching) and for the App Store Connect part of pilot (Login successful).
Error happens after the Ready to upload new build to TestFlight step.
Command executed
fastlane pilot upload --skip_submission --skip_waiting_for_build_processing
Complete output when running fastlane, including the stack trace and command used

[✔] 🚀
[15:09:40]: fastlane detected a Gemfile in the current directory
[15:09:40]: However, it seems like you didn't use `bundle exec`
[15:09:40]: To launch fastlane faster, please use
[15:09:40]:
[15:09:40]: $ bundle exec fastlane pilot upload --skip_submission --skip_waiting_for_build_processing --verbose
[15:09:40]:
[15:09:40]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
INFO [2021-02-04 15:09:44.67]: Login to App Store Connect (•••@•••)
Reading keychain entry, because either user or password were empty
Loading session from '/Users/•••/.fastlane/spaceship/•••@•••/cookie'
Looking for App Store Connect Team with ID ••••••
INFO [2021-02-04 15:09:45.73]: Login successful
DEBUG [2021-02-04 15:09:45.79]: App identifier (•••)
INFO [2021-02-04 15:09:50.23]: Ready to upload new build to TestFlight (App: •••••••••)...
DEBUG [2021-02-04 15:09:50.23]: App Platform (ios)
INFO [2021-02-04 15:09:50.95]: Wrote XML data to '/var/folders/2w/fbr68bf93p7ffxs850cc4mf40000gq/T/d20210204-33576-1vmf82x/547653186.itmsp'
DEBUG [2021-02-04 15:09:51.03]: ITMS_TRANSPORTER_PASSWORD=YourPassword xcrun iTMSTransporter -m provider -u •••@••• -p @env:ITMS_TRANSPORTER_PASSWORD 2>&1
DEBUG [2021-02-04 15:09:53.84]: [Transporter]: INFO: Configuring logging...
DEBUG [2021-02-04 15:09:53.84]: [Transporter]: INFO: Logging level set to eXtreme
DEBUG [2021-02-04 15:09:53.85]: [Transporter]: INFO: Transporter is searching for new software components.
DEBUG [2021-02-04 15:09:53.85]: [Transporter]: INFO: INFO: using cached repository.xml file.
DEBUG [2021-02-04 15:09:54.11]: [Transporter]: INFO: Update check complete.
DEBUG [2021-02-04 15:09:56.22]: [Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
DEBUG [2021-02-04 15:09:56.33]: [Transporter]: DEBUG: Configuration refresh successful.
DEBUG [2021-02-04 15:09:56.34]: [Transporter]: DEBUG: Saving configuration to local path: /Users/•••/Library/Caches/com.apple.amp.itmstransporter/Defaults.properties
DEBUG [2021-02-04 15:09:56.50]: [Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [2.1.0]
DEBUG [2021-02-04 15:09:56.50]: [Transporter]: INFO: OS identifier: Mac OS X 10.15.7 (x86_64); jvm=14.0.2+12-iTunesOpenJDK-5; jre=14.0.2+12-iTunesOpenJDK-5
DEBUG [2021-02-04 15:09:56.50]: [Transporter]: INFO: Memory: [JVM] 698M free, 1024M total, 2048M max [System] (Physical) 5671M free, 16384M total (Swap) 1022M free, 1024M total
DEBUG [2021-02-04 15:09:56.50]: [Transporter]: INFO: Provider mode selected.
DEBUG [2021-02-04 15:09:56.50]: [Transporter]: DBG-X: Memory: [JVM] 698M free, 1024M total, 2048M max [System] (Physical) 5671M free, 16384M total (Swap) 1022M free, 1024M total
DEBUG [2021-02-04 15:09:56.50]: [Transporter]: DBG-X: Using operation named: authenticateForSession
DEBUG [2021-02-04 15:09:56.52]: [Transporter]: DBG-X: Apple's web service operation input parameters:
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter BaseVersion = 2.1.0
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.15.7 (x86_64); jvm=14.0.2+12-iTunesOpenJDK-5; jre=14.0.2+12-iTunesOpenJDK-5
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2021-02-04T15:09:56+01:00
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter StatisticsPreviousCallDurationInSecs = 0.305969757
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter TransporterArguments = -m provider -u •••@••• -p **hidden value**
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter Version = 2.1.0
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = provider
DEBUG [2021-02-04 15:09:56.53]: [Transporter]: INFO: id =<PHONE_NUMBER>0956-369
DEBUG [2021-02-04 15:09:56.58]: [Transporter]: INFO: iTMSTransporter Correlation Key: •••
ERROR [2021-02-04 15:09:57.17]: [Transporter Error Output]: Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)
ERROR [2021-02-04 15:09:57.21]: Transporter transfer failed.
WARN [2021-02-04 15:09:57.21]:
ERROR [2021-02-04 15:09:57.21]: Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)
ERROR [2021-02-04 15:09:57.37]:
ERROR [2021-02-04 15:09:57.37]: Your account has 2 step verification enabled
ERROR [2021-02-04 15:09:57.37]: Please go to https://appleid.apple.com/account/manage
ERROR [2021-02-04 15:09:57.37]: and generate an application specific password for
ERROR [2021-02-04 15:09:57.37]: the iTunes Transporter, which is used to upload builds
ERROR [2021-02-04 15:09:57.37]:
ERROR [2021-02-04 15:09:57.37]: To set the application specific password on a CI machine using
ERROR [2021-02-04 15:09:57.37]: an environment variable, you can set the
ERROR [2021-02-04 15:09:57.37]: FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD variable
-------------------------------------------------------------------------------------
Please provide your Apple Developer Program account credentials
The login information you enter will be stored in your macOS Keychain
-------------------------------------------------------------------------------------
/usr/local/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
Password (application-specific for •••@•••):

Environment

Stack

Key
Value

OS
10.15.7

Ruby
2.7.2

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.15.7 (19H2)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.7.2/lib

OpenSSL Version
OpenSSL 1.1.1g  21 Apr 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-12.2.app/Contents/Developer/

Xcode Version
12.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.172.0
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.2

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.78.0

ruby2_keywords
0.0.2

faraday
1.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.0

gh_inspector
1.1.3

json
2.3.0

mini_magick
4.11.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.6

bundler
2.1.4

naturally
2.2.0

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.1

googleauth
0.14.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rake
13.0.1

digest-crc
0.6.1

google-cloud-storage
1.29.1

emoji_regex
3.2.1

jmespath
1.4.0

aws-partitions
1.393.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-sdk-core
3.109.2

aws-sdk-kms
1.39.0

aws-sdk-s3
1.84.1

uri
0.10.0

forwardable
1.3.1

logger
1.4.2

cgi
0.1.0

timeout
0.1.0

stringio
0.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.2.0

strscan
1.0.3

date
3.0.0

delegate
0.1.0

fileutils
1.4.1

io-console
0.5.6

zlib
1.1.0

open3
0.1.0

singleton
0.1.0

mini_portile2
2.4.0

nokogiri
1.10.10

racc
1.4.16

rexml
3.2.3

yaml
0.1.0

psych
3.1.0

mutex_m
0.1.0

webrick
1.6.0

fastlane-plugin-firebase_app_distribution
0.2.4

pstore
0.1.0

iTMSTransporter does not work with 2FA. For it to work you need an application specific password. This should resolve the issue.

Actually, it works with an App Store Connect API Key, too.
But we try to avoid mixing different authentication methods as we use both Enterprise and AppStore accounts on the same machine.
Anyway, what I understand from the Fastlane documentation and from several discussions on 2FA related issues is that using the spaceauth session should be enough for all actions.

You closed this issue a bit prematurely IMHO.
Just looking at http://docs.fastlane.tools/actions/testflight/#use-an-application-specific-password-to-upload, you can read pilot/upload_to_testflight **can use** an Application Specific Password via the FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD environment variable to upload a binary if both the skip_waiting_for_build_processing and apple_id options are set. (**If any of those are not set, it will use the normal Apple login process that might require 2FA authentication.**).

If it no longer works, Apple probably changed it.

That’s why I spent time to investigate and create this issue.


Jupyter notebook import doesn't work recursively

I wrote this code in a Jupyter Notebook cell:
import os
from chopsticks.tunnel import SSHTunnel, Docker, Local

tun = Docker('docker')

class DockerLocal(Local):
    """A Python subprocess on a docker container"""
    python2 = python3 = 'python'

def num_procs():
    return sum(fname.isdigit() for fname in os.listdir('/proc'))

def local_tun():
    with DockerLocal() as tun:
        tun.call(num_procs)

tun.call(local_tun)

This crashes with this exception:
...snip...
/home/mauve/dev/chopsticks/chopsticks/tunnel.py in handle_imp(self, mod)
    162             # Special-case main to find real main module
    163             main = sys.modules['__main__']
--> 164             path = main.__file__
    165             self.write_msg(
    166                 OP_IMP,

AttributeError: module '__main__' has no attribute '__file__'

This is occurring for two reasons:

We don't special case __chopmain__ - which is the module where imported __main__ functions are created - in the same way we special-case __main__

I believe imp.find_source() will not work on objects created from source in __chopmain__. We could work around this by storing the source for the object - perhaps in a WeakKeyDictionary. We could consult this dictionary and then fall back to imp.find_source().


liblink, cmd/9g: [dev.cc] -S output messed up

Compiling even the most trivial file such as:
package main

func main() {

}

with 9g -S from the dev.cc branch produces insane output (https://gist.github.com/mwhudson/747ac3935cb84080a409, scroll to the right).  What seems to be happening is that each time an instruction is printed it reprints all instructions from that function already, like some buffer isn't being reset or something.  It doesn't happen on master.

It has been fixed by CL 3511, but dev.cc doesn't contain the fix yet.
Will close as this will eventually be fixed when it's time to merge master.


Build system updated

Appveyor and travis now build without fail.
Appveyor has been updated to use Visual Studio 2015

This change is

Changes Unknown when pulling 0018b26baeef1388204f1f60ef8d391659f89e42 on ci_fixes into ** on trunk**.


Firebase presence

Some connections still leak sometimes. I don't know why. Investigate.

https://github.com/steida/firebase/issues/18