Hand landmark detection model finetuning

Hi,
Is that possible to finetune the landmark detection model on my own data? The platform I use is python.
Thanks

Hi @zhangy76, Have you encountered any error while using hand solution? Please share us the complete details like error logs with steps performed  to reproduce it.

Thanks for the reply. The results do not look good when running on some challenging images. I am considering to retrain the model with my own image data.

May be you can share us your observation with some video or screenshot. That will really help us understand and make it better.

Sorry that the video can not be shared. But the model fails to provide good estimation under occlusion, e.g. only the five tips is visible.

I'm facing a similar issue. I'm trying to use the landmarks on a custom dataset but the results aren't satisfying. It would be amazing if you could provide a way to fine-tune the model on custom datasets.

Sorry to hear that. I failed to do any fine-tune and do not work on it any more.

@zhangy76 Thanks for the update.


When the layout is Right to Left.

adapter.notifyDataSetChanged
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 2

I also encountered this problem，Do you know how to resolve?


visibility in gitlab is a bit too broad

Greetings,
In gitlab's API, visibility toggles what repos you can see across all of gitlab, not just your projects.  So, a public visibility will iterate (and backup) ALL public projects in gitlab, probably not what you want.  internal will backup all projects available to anyone that is logged into gitlab, etc.
Gitlab has the same construct as github, with member and owner.  Could we get the same setting for gitlab as github (i.e. gitlab.repoType [all, owner, membership]?

Release 0.4 introduces a new option for project membership. https://github.com/amitsaha/gitbackup/releases/tag/0.4
Thanks for reporting this issue and suggesting the solution @liljenstolpe


Previous versions of statefulsets not getting deleted

If I change name of a stateful set then the new one gets deployed but the old one still doesnt get deleted. Same happens for lots of other resources. It shows in diff that the resource is getting removed but in cluster the resources stays.

@yuvraj9 could you share the statefulset spec metadata? is there a namespace specified? im wondering if it is related to this recently closed issue https://github.com/replicatedhq/kots/issues/564 . thanks

@emosbaugh  Yes It has namespace specified. We are using helm charts and specifying namspace in the HelmChart manifest

@ yuvraj9 I see this was closed and re-opened- are you stilling running into this?

its working now


Added double click and closing after opening a project

Added ability to launch a project by double clicking it (Left button only)
Added option to close after launching a project (On by default)

thanks, didnt notice this earlier!


Add ability to customize first day of week

Description
This allows you to customize the first day of the week in react-datetime by passing in the first day of the week as a string.
<Datetime firstDayOfWeek="sunday" />

Motivation and Context
This is independent of locale. So if a users locale says the first day of the week is Sunday, but you would like to force it to be Monday in the datetime picker, this allows you to do so. In addition if you want to customize based on some setting, this allows you to do that as well. We are using something like this in our app so that the user can set their first day of the week in their profile settings and this is then reflected in a calendar view and also in the datetime pickers throughout the app.
Checklist

[x] I have not included any built dist files (us maintainers do that prior to a new release)
[ ] I have added tests covering my changes
[ ] All new and existing tests pass
[x] My changes required the documentation to be updated
  [x] I have updated the documentation accordingly
  [x] I have updated the TypeScript 1.8 type definitions accordingly
  [x] I have updated the TypeScript 2.0+ type definitions accordingly

Note: I have not added tests yet but would be more than happy to do so if this is something you all are willing to accept 👍 .

@arqex any chance of getting this in?

Hey @summera
Thanks for the contribution and sorry for not being very responsive. Right now we are short on man power to review PRs, but if you add some tests I'll have a look soon. I promise

@arqex done in https://github.com/YouCanBookMe/react-datetime/pull/601. When getting my fork up to date with upstream I accidentally reset my master branch so moved I moved my changes over to summera:first-day-of-week-prop and opened a new PR. Sorry about that.


Follow System Theme

Hi, please follow the system theme.

Hello, can you provide more detail on this issue. Some information like what system, browser, android version you have used. The "follow system theme" function does work for me on both of my android phone in the latest version.
Tips: A restart of the android app is required after changing the system theme.
https://user-images.githubusercontent.com/92437055/217974402-4b3471f5-b828-46d1-9ee1-c75f5b86568e.mp4

I didn't know that the app required a restart.
Is it possible to change the theme instantly? (Without restart)

https://github.com/ionic-team/capacitor/issues/6100
I think it can, but it's not supported by the capacitor js itself now, and I don't know how to implement by myself.


DHCP Server Releases the IP very quickly after the attack

Hello brother I was trying out your code with the cisco 3725 router. It successfully starvet the DHCP server but after the attack it gets released very quickly. What might be the problem? In the arp table of cicso router, the generated mac address is shown ad INCOMPLETE. Can you help out with this?

Hii bro
This is an intresting question.
I eager to see the answer too.

Hey,
from what I've read, the reason for seeing an incomplete ARP is that an ARP request was sent for an address, but the host with that address is not up and running on the LAN, so there is no reply.
In the detection script, if your host receives an arp request from a device, it will create and send a new arp request to this device to check for multiple replies from different devices for one IP request or requests from fake IP addresses.
In your case, an attacker imitated a device that isn't currently on the network, so when the algorithm sends an arp request for this IP there are no devices on the LAN that match it.

So, is this the reason that the leases are being released quickly by the router?

from what I understand, yes IMO

Thabk you soo much for the information. Ome last question, is there any we can make this code to not release the Lease

Hey
Are you talking about the arp spoofing detection tool?
Because if so, I'm not quite sure I understand what you mean

I am soo sorry, but thank you soo much for the explanation. I was supposed to open this issue in the DHCP starvation repo but i accidentally did in this repo. I apologize fo this. I was having problem starvating the dhcp server.

I am extremely sorry, the question was for the dhcp starvation


DBZ-4701 Align Oracle to adhere to executeWithoutCommitting semantics

https://issues.redhat.com/browse/DBZ-4701

I see the issue is "Resolved" already in Jira, are you going to merge this one, @Naros?

@gunnarmorling I am; I was just waiting on the Xstream tests to finish running locally to make sure there were no regressions.  Once CI passes the PR checks, I'll proceed with merge as all tests now pass.


Next.js Hosting - Connecting to a RDS Database within the Next.js App Backend, not Amplify backend.

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[x] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting questions.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d38o4skyg8ykrk
AWS Region
us-east-1
Amplify Hosting feature
Not Applicable
Question
Hello! I am trying to connect to my RDS database inside the Next.js backend as defined here.
My RDS database is not public and I'm trying to figure out how I could connect to it from my app. Does an amplify hosted app have visibility and access to other aws services to allow this or is that not possible? For context, I'm attempting to use the Prisma ORM to connect to the database. This is an example of how my project is structured.
If it's not possible for the app to connect to a private RDS database, would I need to make the database publicly accessible, and if so, how could I do that securely?
Thanks!

@ryanbender2
This might be related to VPC access or applying VPC with Amplify hosting which registered as feature requests like https://github.com/aws-amplify/amplify-hosting/issues/794 https://github.com/aws-amplify/amplify-hosting/issues/765

Hi @ryanbender2, thank you for opening this issue, currently Amplify Hosting doesn't support connecting to a VPC and is a feature request that is being tracked on #794
If you are looking to make your database public in a secure way, I recommend that you review the RDS documentation, with some relevant links below:

Scenarios for accessing a DB instance in a VPC
Security in Amazon RDS

I'll go ahead and close this issue in favor of tracking this request on #794, if you have any additional questions please share them on that issue.
Thanks!


Robottests now work in docker

Seems like files cant be automatically merged...

Tested on my pc and all tests passed.


linear probing hash table in the shared memory: probe N times

$N < the_length_of_hash_table$

Rename this migration_to_global_memory to HT_FULL_FLAG

Rename this migration_to_global_memory to HT_FULL_FLAG

Do it in another branch & PR.

Please run compute-sanitizer --tool racecheck on this branch and its PR.
This is the first dummy shared memory hash table code.


Feature/update to support iOS13

Update example project to support iOS13 by presenting viewControllers full screen. Update status bar hiding functionality to support iOS13.

Any reason you want to merge this on mohemian:feature/Change-status-bar-style instead of the keep-menu-open-on-dissapear branch?

@carol-mohemian I missed that, intended to merge into keep-menu-open-on-dissapear.

No worries 👍


add progress indication for enumeration and resolving

Loading Suspense component is I place for enumeration, browsing will get a spinner while runnin


DATAJDBC-584 - Allow sort by entity's child field

Allow sort to accept entity's child field. eg: person.address.zipCode

@schauder I think we can close this PR, this issue have been already solved in this PR

I think you are right.


Keep state after user navigating back.

I am not familiar with javascript. I did a lot native client app.
In native app, once the user navigate back to the previous page, usually UI remains unchanged.
However, it seems web page has a auto reload behaviours.
So, do it.

It's done by JS's sessionStroage.


Support more keywords (Postgres)

Is your feature request related to a problem? Please describe.
I have a difficult time using the extension with Postgres because some keywords aren't highlighted as they should, and it's especially difficult reading procedures sometimes because of that.
Describe the solution you'd like
Add more keywords to the regexp that looks for keywords in language/sql.tmLanguage.json
The keywords I have right now are:
elsif|raise|notice|exception|warning|conflict|do|nothing|default|varying|add|column|tablespace|temporary|for|each|index|trigger|rename
Adding this to the end of the regexp fixes the issue for my use case.
Describe alternatives you've considered
I have no other alternative as of right now, perhaps there's a better option I can't think of?

Yeah, I faced the same issue too, I assumed those keywords would be supported out of the box.

After replacing the sql.tmLanguage.json and language-configuration.json of extension from the ones in vscode repo.
Works once added to the "keyword.other.sql" rule
conflict
do
each
elsif
exception
nothing
notice
raise
rename
temporary
warning
varying
Highlights in character varying(100)
column
Highlights in comment on column {column_name} is
Highlighting works out of the box
default
add
for
index
Had modifying the rule "meta.drop.sql" and deleting the entry below it
trigger
tablespace
Worked when typing: CREATE TABLSPACE tablespace1
Only "table" of tablespace was highlighted: DROP TABLESPACE tablespace1
Original
{
    "captures": {
        "1": { "name": "keyword.other.create.sql" },
        "2": { "name": "keyword.other.sql" }
    },
    "match": "(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))",
    "name": "meta.drop.sql"
},
{
    "captures": {
        "1": { "name": "keyword.other.create.sql" },
        "2": { "name": "keyword.other.table.sql" },
        "3": { "name": "entity.name.function.sql" },
        "4": { "name": "keyword.other.cascade.sql" }
    },
    "match": "(?i:\\s*(drop)\\s+(table)\\s+(\\w+)(\\s+cascade)?\\b)",
    "name": "meta.drop.sql"
},

Modification
{
    "captures": {
        "1": { "name": "keyword.other.create.sql" },
        "2": { "name": "keyword.other.sql" },
        "4": { "name": "entity.name.function.sql" },
        "5": { "name": "keyword.other.cascade.sql" }
    },
    "match": "(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)(['\"`]?)(\\w+)\\3(\\s+(?i:cascade))?",
    "name": "meta.drop.sql"
},


macOS: Service control actions fail due to "Operation now in progress"

With changes to launchd in macOS Catalina (10.15), launchd now returns "<service_file>: Operation now in progress" on standard error.
Due to the way the run method is written for darwin services, any standard error output leads to a error being returned by the method.
Ideally, this output would be ignored. The command returns a 0 exit code and the service successfully starts and stops.

@kardianos Can you release a new version, thanks

Yes, I'll cut a new version in a few minutes.


WebRTC.MediaStreamManager - call MediaStreamTrack#stop instead of MediaStream#stop

MediaStream.stop() is deprecated and will be removed in M47, around November 2015
see https://groups.google.com/d/msg/sip_js/t7Km0p11Jpk/rMmwJTCHAAAJ

That seems reasonable to me.  The one odd part is adding a spy in the helpers, but we do that in at least one other place.  As long as the spy methods are initialized from within the tests, rather than being statically set up beforehand, it should be fine.

Yeah, that spy was already being added, just on the stream instead of the track: https://github.com/joseph-onsip/SIP.js/commit/269865bb6323e4d9f4f69c296e4da1de4eaa8f61#diff-de57ce79d9714a43d45b4fc11e14f7feL56
While we're on the subject of tests, though: I did try to have the expect calls happen within a getTracks().forEach loop, but the second test was failing, so I just tested the first audio track (the only one  faked by HTML5.js). I did manually confirm in Chrome/Firefox that video tracks are stopped as well:
var SIP = require('sip.js');
var ua = new SIP.UA({traceSip: true})
var session =<EMAIL_ADDRESS>document.createElement('video'));
session.on('accepted', setTimeout.bind(null, session.bye.bind(session), 5000));

Hi,
FYI there are other changes coming up as well:
https://developers.google.com/web/updates/2015/07/mediastream-deprecations

MediaStream.ended
MediaStream.label
MediaStream.stop()

are all deprecated in Chrome 45. And require the following changes:

Use MediaStream.active to check if a MediaStream is streaming, not MediaStream.ended.
Use MediaStreamTrack.stop() to stop streaming, not MediaStream.stop().
If you need a unique identifier for a MediaStream use MediaStream.id instead of MediaStream.label. MediaStreamTrack.label provides a human-readable name for the source device for a stream, e.g. FaceTime HD Camera (Built-in) (05ac:8510).

I did try to have the expect calls happen within a getTracks().forEach loop, but the second test was failing

I'm not sure what I was doing wrong earlier, but I got this working in https://github.com/joseph-onsip/SIP.js/commit/6a42ac5dd426689a840cf830fa3201c46ecf1562#diff-abec1c99b2499f4e85bec100d7dfc2a2

FYI there are other changes coming up as well:

Thanks for the heads-up, @wpp. This PR addresses the MediaStreamTrack.stop() change. The MediaStream.active change is unnecessary, as there are no references to MediaStream.ended in the code. Likewise, the MediaStream.id change isn't necessary, but it might be useful here: https://github.com/onsip/SIP.js/blob/90a375873d277c53129da8283118fabac1c6906f/src/WebRTC/MediaStreamManager.js#L27


fix: Fix opening dev tools

The issue
Opening dev tools was causing opening of chrome browser on a wrong URL.
Current behavior
Dev tools are opened on default port and host. Default port is 8081 and host is localhost.
If you want to change the default behavior, you can do it by providing --host and --port cmd arguments.

Thank you for sending this PR!
Please let me know how was your experience contributing to this project. Was it easy to get it all set up? How did you test it inside react-native project? Anything we can do better?


this support meteor 1.3 ?

this support meteor 1.3 ?
how can i import this ?

@lyquocnam I just tested and it seems to work with 1.3. There shouldn't be anything special that you need to do.

Excuse me, how to import this?
import {Session} from  'meteor/session';
// or
import {Session} from  'meteor/u2622:persistent-session';

Which one?


tikv control for raftstore v2

What is changed and how it works?

Issue Number: Ref #14654
What's Changed:

implement tikv control for raftstore v2

This PR implements tikv control when raftstore-v2 is enabled.
Implementing all of them involves a lot of works which is inappropriate to include them in one PR,
so this PR implements part of them, including:

raft
size
scan
print
mvcc
compact

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Release note
None

/test

/cc @tonyxuqqi @bufferflies

/merge


[linux] Tweaking host namespaces?

Since #158 we've required runtimes to error out if a configuration joins an existing namespace and adjusts it somehow (e.g. joining an existing UTC namespace and setting hostname, #214).  However, the wording from #158 (which survives untouched in the current master) only talks about “when a path is specified”.  I expect we want to do one of two things for consistency:
a. Lift the OCI restriction and allow join-and-tweak where the kernel supports it.  When we landed the current restriction, the main issues seemed to be “we don't have a clear use-case for join and tweak” (although see #305) and “this is a foot gun” (I'd rather leave policy to higher-level config linters).
b. Extend the OCI restriction to all cases where the runtime does not create a new namespace.  Besides the already covered “namespace entry exists and includes path”, we'd also want to forbid configs that were missing the relevant namespace(s) entirely (in which case the container inherits the host namespace(s)).
I'm partial to (a) in the long run, but (b) is less of a shift from the current spec and likely a better choice for a pending 1.0.  I'm happy to PR text for either option, although the text itself will likely not be much trouble once we decide which course we want to take ;).

No this is too split brained.  You either create a new one and fulfill the settings that the user requested or you join a pre-created namespace that is complete.  We don't want a mix of the two.

On Wed, Aug 24, 2016 at 09:45:51AM -0700, Michael Crosby wrote:

No this is too split brained.  You either create a new one and
fulfill the settings that the user requested or you join a
pre-created namespace that is complete.  We don't want a mix of the
two.

This sounds like “we should implement (b)” (which I agree makes more
sense for 1.0 1).  Or do you have some reason you do want to allow
folks to configure host namespaces?  I'll work up a (b) PR to help
make that change more concrete.

No we should not touch host namespaces

On Wed, Aug 24, 2016 at 10:02:04AM -0700, Michael Crosby wrote:

No we should not touch host namespaces

That's (b), and not what the current spec says.  I've opened #538 with
wording to shift the spec to approach (b).

#538 has been merged.


Image.network Crash with iOS 10.x.x

Our app crashes on launch for users with iOS 10.3.x on iphone 5/6s/7 and ipad 4. I initially thought it is the same as #73971  but I'm not sure they are related after looking at all logs. There are cases where users pass the initial screen after network requests, before the app crashes.
Crash log:
Thread 19 Crashed:: DartWorker  Dispatch queue: trust
0   libobjc.A.dylib               	0x0000000110085acb objc_msgSend + 11
1   com.apple.Security            	0x00000001160e1b46 validate_array_of_items + 238
2   com.apple.Security            	0x00000001160e3546 SecTrustValidateInput + 45
3   com.apple.Security            	0x00000001160e3d65 __SecTrustEvaluateIfNecessary_block_invoke_2 + 21
4   libsystem_trace.dylib         	0x0000000116566fad _os_activity_initiate_impl + 53
5   com.apple.Security            	0x00000001160e3d49 __SecTrustEvaluateIfNecessary_block_invoke + 276
6   libdispatch.dylib             	0x00000001162a2792 _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00000001162873de _dispatch_barrier_sync_f_invoke + 126
8   com.apple.Security            	0x00000001160e0d5b SecTrustEvaluateIfNecessary + 616
9   com.apple.Security            	0x00000001160e1211 SecTrustEvaluate + 62
10  io.flutter.flutter            	0x00000001122414e6 dart::bin::TrustEvaluateHandler(long long, _Dart_CObject*) + 182
11  io.flutter.flutter            	0x000000011238b51e dart::NativeMessageHandler::HandleMessage(std::__1::unique_ptr<dart::Message, std::__1::default_delete<dart::Message> >) + 206
12  io.flutter.flutter            	0x0000000112389403 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) + 307
13  io.flutter.flutter            	0x0000000112389a26 dart::MessageHandler::TaskCallback() + 470
14  io.flutter.flutter            	0x0000000112482b78 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 344
15  io.flutter.flutter            	0x0000000112482e1d dart::ThreadPool::Worker::Main(unsigned long) + 93
16  io.flutter.flutter            	0x000000011240374f dart::ThreadStart(void*) + 159
17  libsystem_pthread.dylib       	0x000000011664c109 _pthread_start + 148
18  libsystem_pthread.dylib       	0x0000000116647b8b thread_start + 15

[✓] Flutter (Channel stable, 2.0.2, on macOS 11.4 20F71 darwin-arm, locale zh-Hans-CN)
    • Flutter version 2.0.2 at /Users/maybe/Desktop/Flutter/flutter
    • Framework revision 8962f6dc68 (4 months ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/maybe/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (2 available)

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
            if (_counter > 1)
              Image.network(
                  'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F16%2F07%2F06%2F17577cd55945262.jpg%21r650&refer=http%3A%2F%2Fbpic.588ku.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1628911948&t=596bcc2d64732fce717e04d5a512eb9c'),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

pubspec.yaml:
name: demo
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  assets:
    - lib/assets/
  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Test Flutter 2.2.3.  worked.


Documentation

TODO
Ideas

High-level design patterns
Folder structure
Future plans / intentions behind certain decisions (ie...folder structure, theming, etc)
Breakdown of technically complex features - ie: HTML rendering, theming
Idiosyncrasies between iOS / Android

Such as keyboard and inputs
Font rendering (should be listed but link to separate documentation)

Custom fonts (this is big enough to have it's own documentation)
Storybook (what, why, how)
Media Player

@IsaacHardy starting this running list to figure out points that we want to go back and add color / documentation around. As you dig through the project, feel free to throw out specific thoughts or ideas!

I added a few things to the list above for fonts and storybook.

@conrad-vanl @burkeshartsis One our my team's plan for the next few weeks to begin development on our 2017 Annual Report. I was wondering when we might be able to see some of this documentation to help guide us through this initial development.

@IsaacHardy this was added to sprint...what do we feel are the right next steps for this for the sprint? Is this more of an Apollos Project task or a short-term Newspring task?

This is a short-term NewSpring task. Let's table this until we have more information regarding the new plans being made today.


chore(package): update registry-mixin to version 2.1.8

https://greenkeeper.io/

Current coverage is 45.77% (diff: 100%)

Merging #48 into master will not change coverage

@@             master        #48   diff @@
==========================================
  Files             1          1
  Lines           142        142
  Methods          43         43
  Messages          0          0
  Branches         12         12
==========================================
  Hits             65         65
  Misses           77         77
  Partials          0          0

Powered by Codecov. Last update 871d415...6c43895


050 Library of Congress call number

https://github.com/uwlib-cams/MARC2RDA/blob/main/Working Documents/0XX.csv

@pennylenger will start working on translating Gordon's document into our mapping spreadsheet, coordinating with @cspayne as needed on transformation notes to make sure things make sense. Cypress and Penny will likely need to consult @GordonDunsire , which he indicated was ok. @CECSpecialistI will also be available to students to help with mapping and project-manage the transformation work.

This will be a start for other call number tags, so once this is finished we can model the others from here!

@cspayne , would you take a look at the transformation notes @pennylenger wrote in the spreadsheet, compare them with Gordon's notes in [Transforming subject data from MARC21 to RDA], and let Penny and I know whether the transformation notes are sufficient for you to write the transform? From there, we can either meet to determine next steps to meet any outstanding needs, or use the 050 as a template for the remaining classification fields and have Penny move on to those. I know you're going to be off work until next week, so if you need to wait to pick this up until then, that's ok!

@CECSpecialistI @pennylenger @GordonDunsire
The only thing that gives me pause is this triple:
<ConceptLCC(“value of $a”)> skos:notation “value of $a”^^<SchemeNotationLCC>
What is “value of $a”^^<SchemeNotationLCC> meant to look like in the output? I'm not very familiar with Turtle syntax, is ^^ the equivalent of rdf:datatype, like so?
<rdf:Description rdf:about = "ConceptLCC("value of $a")">
     <skos:notation rdf:datatype = "SchemeNotationLCC">"value of $a"</skos:notation>
</rdf:Description>

And what is the value of <SchemeNotationLCC>? Is that an IRI the transform is generating?

@cspayne: Yes, that is the correct interpretation of the Turtle syntax.
We need to generate a set of IRIs for the datatype of each classification scheme that is in the [LC list of classification schemes] (https://id.loc.gov/vocabulary/classSchemes.html). This should be added to the other datasets and value vocabularies that UW is managing for the transform. The datatype URIs can be of the form UWbase/classSchemesLC/code-for-scheme/
@CECSpecialistI: I think it is best to generate this dataset (of datatypes) as a pre-set for the transform, rather than when the transform is run. The dataset is fixed (until LC adds a new scheme), and only codes from the LC list are valid data for the transform. This overlaps with the discussion on IRI construction for RDA entity datasets, SKOS value vocabularies for classification numbers and subject headings, and the pattern already established for the MARC 21 value vocabularies. Is Wikidata a better place for these pre-transform vocabularies?

@cspayne: Yes, that is the correct interpretation of the Turtle syntax.
We need to generate a set of IRIs for the datatype of each classification scheme that is in the [LC list of classification schemes] (https://id.loc.gov/vocabulary/classSchemes.html). This should be added to the other datasets and value vocabularies that UW is managing for the transform. The datatype URIs can be of the form UWbase/classSchemesLC/code-for-scheme/
@CECSpecialistI: I think it is best to generate this dataset (of datatypes) as a pre-set for the transform, rather than when the transform is run. The dataset is fixed (until LC adds a new scheme), and only codes from the LC list are valid data for the transform. This overlaps with the discussion on IRI construction for RDA entity datasets, SKOS value vocabularies for classification numbers and subject headings, and the pattern already established for the MARC 21 value vocabularies. Is Wikidata a better place for these pre-transform vocabularies?

@GordonDunsire I think you're probably right. I'm not sure whether Wikidata wants these vocabularies, or if we ought to publish them as part of the UW Libraries semantic web data as we have done with the OMR vocabularies. We should talk about our options and, of course, about the labor it will take to get it done (something we find ourselves shorter on than we were a few months ago I'm afraid)

@CECSpecialistI: I can help with creating these datasets. The process is roughly:

Scrape the LC list (in text or RDF/XML to extract the name of the scheme and its code.
Use a spreadsheet formula to output our local RDF/Turtle statements.
Use an online RDF converter to reformat the output into the format required for import into a namespace/dataset.

I can do some prep now, and when we decide on the IRI templates I can apply them to the spreadsheets.

Thank you Gordon! We have been using a DOI/Datacite process that is fairly laborious, but if we decide on Wikidata that would be less labor-intensive. I appreciate your willingness to help with this very much!

From: GordonDunsire @.>
Sent: Friday, March 15, 2024 3:00 AM
To: uwlib-cams/MARC2RDA @.>
Cc: Crystal Yragui @.>; Mention @.>
Subject: Re: [uwlib-cams/MARC2RDA] 050 Library of Congress call number (Issue #82)
@CECSpecialistIhttps://urldefense.com/v3/__https://github.com/CECSpecialistI__;!!K-Hz7m0Vt54!kRFf7VDeWoGPKi8Z0E7PXV1yi-15FqDZwpHfzmEPg6OdM0AXtaYsZeNAqgLC1VH0iJK2oyu25mUIaIGaDhPbaK8$: I can help with creating these datasets. The process is roughly:

Scrape the LC list (in text or RDF/XML to extract the name of the scheme and its code.
Use a spreadsheet formula to output our local RDF/Turtle statements.
Use an online RDF converter to reformat the output into the format required for import into a namespace/dataset.

I can do some prep now, and when we decide on the IRI templates I can apply them to the spreadsheets.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/MARC2RDA/issues/82*issuecomment-1999317412__;Iw!!K-Hz7m0Vt54!kRFf7VDeWoGPKi8Z0E7PXV1yi-15FqDZwpHfzmEPg6OdM0AXtaYsZeNAqgLC1VH0iJK2oyu25mUIaIGa3PjqBfU$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKJWNZKNW7F5CBRX6BZ5IL3YYLBCVAVCNFSM5IXJPWN2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJZHEZTCNZUGEZA__;!!K-Hz7m0Vt54!kRFf7VDeWoGPKi8Z0E7PXV1yi-15FqDZwpHfzmEPg6OdM0AXtaYsZeNAqgLC1VH0iJK2oyu25mUIaIGawguwuWI$.
You are receiving this because you were mentioned.Message ID: @.***>

@cspayne @pennylenger @GordonDunsire deciding on where these values belong is probably something we need to consider in the next few weeks. Any thoughts on Wikidata vs. DOI/Datacite/UW Semantic Web Data? Wikidata may be more reusable.

If we use Wikidata, will we still be producing a dataset that lists these values? For the transform I'll need a document or dataset to traverse through and pull IRIs from.

Yes, it would be part of the Wikidata graph in that case.

I don't think I saw any examples like this, where some of the subjects and/or genres recorded only apply to particular works/parts of a multipart monograph or aggregating resource:
100 1# Shaw, Bernard, ǂd 1856-1950. ǂ1 https://id.oclc.org/worldcat/entity/E39PBJfmqrHfjT8qvwDyYWVKVC
245 10 Three plays for Puritans / ǂc Bernard Shaw ; definitive text under the editorial supervision of Dan H. Laurence ; with an introduction by Michael Billington.
505 0# The devil's disciple -- Caesar and Cleopatra -- Captain Brassbound's conversion.
650 #0 Historical drama, English.
600 10 ǂ3 The devil's disciple: ǂa Burgoyne, John, ǂd 1722-1792 ǂv Drama.
651 #0 ǂ3 The devil's disciple: ǂa United States ǂx History ǂy Revolution, 1775-1783 ǂv Drama.
650 #7 ǂ3 The devil's disciple: ǂa American Revolution, ǂe setting. ǂ2 wikidata ǂ4 stg ǂ4 http://id.loc.gov/vocabulary/relators/stg ǂ1 http://www.wikidata.org/entity/Q192769
600 00 ǂ3 Caesar and Cleopatra: ǂa Cleopatra, ǂc Queen of Egypt, ǂd -30 B.C. ǂv Drama.
600 10 ǂ3 Caesar and Cleopatra: ǂa Caesar, Julius ǂv Drama.
651 #0 ǂ3 Caesar and Cleopatra: ǂa Rome ǂx History ǂy Civil War, 49-45 B.C. ǂv Drama.
650 #0 ǂ3 Caesar and Cleopatra: ǂa Queens ǂz Egypt ǂv Drama.
650 #0 ǂ3 Captain Brassbound's conversion: ǂa Justice ǂv Drama.
650 #0 ǂ3 Captain Brassbound's conversion: ǂa Fairness ǂv Drama.
651 #0 ǂ3 Captain Brassbound's conversion: ǂa Morocco ǂv Drama.
647 #7 ǂ3 The devil's disciple: ǂa American Revolution ǂc (United States : ǂd 1775-1783) ǂ2 fast ǂ0 (OCoLC)fst01351668 ǂ1 https://id.oclc.org/worldcat/entity/E39Qhp4vB989PWKg6VGKmH6MwK
647 #7 ǂ3 The devil's disciple: ǂa American Revolution. ǂ2 wikidata ǂ1 http://www.wikidata.org/entity/Q192769
655 #7 Drama. ǂ2 lcgft
655 #7 ǂ3 The devil's disciple ; Captain Brassbound's conversion ǂa Melodramas (Drama) ǂ2 lcgft
655 #7 ǂ3 Caesar and Cleopatra ǂa Historical drama. ǂ2 lcgft
655 #7 ǂ3 Caesar and Cleopatra ǂa Biographical drama. ǂ2 lcgft
655 #7 ǂ3 Captain Brassbound's conversion ǂa Problem plays. ǂ2 lcgft
245 04 The gold rush ; ǂb plus, Pay day / ǂc Film de Dam ; written
and directed by Charlie Chaplin.
655 #7 Comedy films. ǂ2 lcgft
655 #7 Silent films. ǂ2 lcgft
655 #7 Fiction films. ǂ2 lcgft
655 #7 ǂ3 Gold rush: ǂa Feature films. ǂ2 lcgft
655 #7 ǂ3 Pay day: ǂa Short films. $2 lcgft
245 00 Encyclopedia of the social and cultural foundations of education / ǂc editor, Eugene F. Provenzo, Jr.
505 0# volume 1. A-H -- volume 2. I-Z -- volume 3. Biographies of
important figures in education.
650 #0 Education ǂv Encyclopedias.
650 #0 Education ǂx Sociological aspects.
650 #0 Educators ǂv Biography.
655 #7 Encyclopedias. ǂ2 lcgft
655 #7 ǂ3 v. 3: ǂa Biographies. ǂ2 lcgft
100 1# Debussy, Claude, ǂd 1862-1918, ǂe composer, ǂe arranger of
music.
245 10 ǂa Nocturnes ; ǂb Première rhapsodie pour orchestre avec
clarinet principale ; Jeux ; La mer / ǂc Claude Debussy.
500 ## $a The 2nd work originally for clarinet and piano,
orchestrated by the composer.
655 #7 ǂ3 1st and 4th works: ǂa Symphonic poems. ǂ2 lcgft
655 #7 ǂ3 2nd work: ǂa Rhapsodies (Music) ǂ2 lcgft
655 #7 ǂ3 2nd work: ǂa Arrangements (Music) ǂ2 lcgft
655 #7 ǂ3 3rd work: ǂa Ballets (Music) ǂ2 lcgft
100 1# Nelson, David P. ǂq (David Paul), ǂd 1950- ǂe author.
245 10 Solkaṭṭu manual : ǂb an introduction to the rhythmic language of South Indian music / ǂc David Paul Nelson.
300 ## 150 pages ; ǂc 28 cm + ǂe 2 videodiscs (DVD : sound, color ; 4 3/4 in.)
336 ## text ǂb txt ǂ2 rdacontent ǂ0 http://id.loc.gov/vocabulary/contentTypes/txt
336 ## ǂ3 Accompanying DVDs ǂa two-dimensional moving image ǂb tdi ǂ2 rdacontent ǂ0 http://id.loc.gov/vocabulary/contentTypes/tdi
337 ## unmediated ǂb n ǂ2 rdamedia
337 ## ǂ3 Accompanying DVDs ǂa video ǂb v ǂ2 rdamedia ǂ0 http://id.loc.gov/vocabulary/mediaTypes/v
338 ## volume ǂb nc ǂ2 rdacarrier
338 ## ǂ3 Accompanying DVDs ǂa videodisc ǂb vd ǂ2 rdacarrier ǂ0 http://id.loc.gov/vocabulary/carriers/vd
344 ## ǂ3 Accompanying DVDs ǂa digital ǂ2 rdatr ǂ0 http://rdaregistry.info/termList/typeRec/1002
344 ## ǂ3 Accompanying DVDs ǂb optical ǂ2 rdarm ǂ0 http://rdaregistry.info/termList/recMedium/1003
344 ## ǂ3 Accompanying DVDs ǂg stereo ǂ2 rdacpc ǂ0 http://rdaregistry.info/termList/configPlayback/1002
347 ## ǂ3 Accompanying DVDs ǂa video file ǂ2 rdaft ǂ0 http://rdaregistry.info/termList/fileType/1006
347 ## ǂ3 Accompanying DVDs ǂb DVD video
650 #0 Tala ǂv Textbooks.
650 #0 Carnatic music ǂx Instruction and study.
650 #0 Carnatic music ǂv Textbooks.
650 #7 Solkattu. ǂ2 wikidata ǂ1 http://www.wikidata.org/entity/Q125179223
655 #7 Textbooks. ǂ2 lcgft
655 #7 ǂ3 Accompanying DVDs ǂa Carnatic music. ǂ2 lcgft
655 #7 ǂ3 Accompanying DVDs ǂa Filmed performances. ǂ2 lcgft
655 #7 ǂ3 Accompanying DVDs ǂa Instructional films. ǂ2 lcgft
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
(206) 543-8409
@.***

I would not transform fields related to work that include subfield $3.
The reason is that the subfield indicates an aggregate manifestation, and we have to assume that 'the'  in the transform  model is the aggregating work. But aggregating works don't have parts, so the assumption is invalid. There is no viable alternative that I can think of, hence 'no transform'.

Although, as @GordonDunsire says, “aggregating works don’t have parts”, catalogers sometimes use $3 (Part of the described materials to which the field applies) to specify an aggregated work to which the field applies--see @AdamSchiff's Bernard Shaw example.
The Bernard Shaw record is describing a collection aggregate manifestation and its embodied aggregating work.
We use representative expression elements to record the expression elements that apply to the expressions that are aggregated by the plan of the aggregating work (i.e., the plan of the aggregating work is to aggregate expressions with these attributes, e.g., language, content type, etc.)
Similarly, we use subject relationships to record the subjects that apply to the works that are aggregated by the plan of the aggregating work (i.e., the plan of the aggregating work is to aggregate works with these subjects)
If we describe an aggregating work, it is my understand that we can record:
•	the expression elements that apply to its aggregated expressions as representative expression elements of the aggregating work
•	and the subject elements that apply to the aggregating work or to its aggregated works as subject elements of the aggregating work.
If a MARC record contains one or more ‘Collection aggregate markers’ (patterns are still under construction) then our assumption will be that the record is describing an aggregating work. In which case, our plan will be to describe the aggregating work. In which case, I recommend that we should assign all of the subject relationships to that aggregating work, whether or not the field includes a $3.
I would definitely not recommend trying to mint an IRI and describe an aggregated work (or a part work) from a subfield $3.
But, if we have a record for a ‘collection aggregate manifestation’ with a 7XX Ind2 = 2 that provides an authorized heading for an aggregated work, then we might decide to mint an IRI and describe the aggregated work. Then, if a 6XX $3 contains the same authorized heading for the aggregated work, we could possibly assign that 6XX $3 to that aggregated work. But we would have to compare the strings and that would add a great deal of complexity to the transformation code. And, as far as I can tell, subfield $3 does not usually (if ever) contain an authorized access point to identify the 'part' of the described material to which it applies.
So, what this means is that we might create a description of an aggregated work using an analytical added entry in a MARC record for a collection aggregate manifestation, but we will NOT be able to record a subject relationship for that aggregated work; but we will record that subject relationship in our description of the aggregating work.
Then, because we are attaching the entire MARC record to a description of a manifestation, any records that have fields that contain $3 can be identified, later, for human intervention to, possibly:
•	assign an appropriate subject relationship from the MARC record to an aggregated work that has already been described from a 7XX Ind2+2 field
•	describe an aggregated expression/work via another method (e.g., search the $3 content and find a matching work and expression) and assign an appropriate subject relationship from the MARC record to the aggregated work to which it applies.
And if a MARC record is describing a multipart monograph, then results will be very similar, even though the situation is different.
•	Some subject headings in the record might apply to only one named part of the multi-part work that is embodied in the multiple unit manifestation, but those headings will also apply to the multi-part work and can be recorded in a description of the multi-part work.
•	If we have a record for a multiple unit manifestation with a 7XX Ind2 = 2 that provides an authorized heading for a part work and a 6XX $3 that contains the same authorized heading for the part work, then we could possibly assign that 6XX $3 to that part work. But we would have to compare the strings and that would add a great deal of complexity to the transformation code.
•	So, we might decide to mint an IRI and describe a part expression/work from an analytical added entry in a MARC record for a multiple unit manifestation, but we will NOT be able to record a subject relationship for the part work; but we will record that subject relationship in our description of the multi-part work.
•	Then, human intervention can use the stored MARC record to go back and assign an appropriate subject relationship from the MARC record to the part work to which it applies.

Thanks Deborah, I think your suggestion to assign all of the subject relationships to the aggregating work or multipart work makes a lot of sense.  I think just throwing out subjects/genres or other data that was coded with $3 would not be well received in the broader cataloging community.

Yes, it would be part of the Wikidata graph in that case.

We also have this: https://id.loc.gov/vocabulary/classSchemes.html

@GordonDunsire @CECSpecialistI @pennylenger
Looking at this again:
<ConceptLCC(“value of $a”)> skos:notation “value of $a”^^<SchemeNotationLCC> .

<ConceptLCC(“value of $a”)> skos:altLabel “value of $a” .

<ConceptLCC(“value of $a”)> skos:inScheme https://id.loc.gov/vocabulary/classSchemes/lcc .

What's the difference between the SchemeNotationLCC and the object in the skos:inScheme triple? Are these providing the same information, or is there more to it than that?

@cspayne Hi Cypress, I am not sure whether I understand it correctly.
SchemeNotationLCC in the example is the datatype for LCC classification numbers. like “lcc”, “nlm”, “udc”
the object in the skos:inScheme is a uri:
transformBaseDomain + schemeSubDomain + hash(value), such as http://transform/lcc/123456

@cspayne and others: as @pennylenger says, SchemeNotationLCC is a datatype for the syntax of an LCC classification number. The datatype is described by documentation such as Library of Congress Classification; for example, the main categories or types of LCC number begin with a 1, 2, or 3 upper-case letter, and specific topics with a category are encoded with a 1-4 digit 'number'. We will mint the datatypes in order to follow good practice outlined in the SKOS primer, but we will not link the datatype to any documentation (that's a whole separate project :-).
See the SKOS primer section 4.6 Notations: 'The first, preferred technique is to use the skos:notation property. This property allows a concept to be attached to an RDF typed literal—a literal with an explicit datatype [RDF-PRIMER]. The datatype of the literal specifies a syntax encoding scheme, which fits the usage of notations in the concerned KOS.' There is more technical information in SKOS reference section 6.5.1.


Fix documentation or change app behavior

Documentation says:
To start a default all collectors run: asa collect
Actual behavior:
E:\t...Cli>Asa.exe collect
[20:44:31 INF] AttackSurfaceAnalyzer v.2.2.39+fee5e7655f
[20:44:34 WRN] No collectors have been defined.

Thanks. Should be asa collect -a
Sent from ProtonMail mobile
-------- Original Message --------
On May 20, 2020, 8:48 PM, Suraj Jacob wrote:

Documentation says:
To start a default all collectors run: asa collect
Actual behavior:
E:\t...Cli>Asa.exe collect
[20:44:31 INF] AttackSurfaceAnalyzer v.2.2.39+fee5e7655f
[20:44:34 WRN] No collectors have been defined.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


WIP: Improve accuracy and self-consistency of sky maps by working in eigenframe

I'll freely admit that this is a "move fast and break things" change set.
This cuts several hundred square degrees off of typical O2 sky maps with three tricks:

Perform 2D clustering and kernel density estimation in a spherical coordinate system aligned with the eigenvectors of covariance matrix of the Cartesian coordinates of the posterior samples.
Take the 2D sky posterior from the 2D KDE, and the conditional distance distribution from the 3D KDE.
Don't perform the two-step subdivision of the posterior samples for calculating areas. Instead, use all of the samples for the KDE. This doubles the number of posterior samples that are available for density estimation.

Replaced by #65.


Feedback re: Lockfile

We've been testing out dependabot and greenkeeper simultaneously on some simple open-source repos. Greenkeeper's realtime nature and its logic for when to post PRs is great, but the separate lockfile process means we have some gnarly logic re: --frozen-lockfile in our .travis.yml.  Will lockfile updates be a first-class citizen in greenkeeper?
Keep up the great work!
(Corresponding feedback to dependabot: https://github.com/dependabot/feedback/issues/61 )

Update: https://blog.greenkeeper.io/announcing-native-lockfile-support-85381a37a0d0 :)


feat: support trace log level

Description of the change
Add support for logtrace Go SDK
Issue Reference
https://github.com/extism/go-sdk/issues/72 that is a logical step after this
Checklist

[] Documentation added/updated

hey just pinging this thread to see if this is blocked by anything or if I can help move it along 🙂

hey just pinging this thread to see if this is blocked by anything or if I can help move it along 🙂

This was left on waiting for @hilaryRope to fix ci. If it isn't fixed soon we should potentially revert the pdk update.

hey just pinging this thread to see if this is blocked by anything or if I can help move it along 🙂

This was left on waiting for @hilaryRope to fix ci. If it isn't fixed soon we should potentially revert the pdk update.

Hi there, sorry but I have been away. I am referencing the latest commit with my change, but I seem to be getting the same test failures. I will need to check this. Can you give me a day, please? Unless, there is something very obvious about it. Thanks

hey just pinging this thread to see if this is blocked by anything or if I can help move it along 🙂

This was left on waiting for @hilaryRope to fix ci. If it isn't fixed soon we should potentially revert the pdk update.

Hi there, sorry but I have been away. I am referencing the latest commit with my change, but I seem to be getting the same test failures. I will need to check this. Can you give me a day, please? Unless, there is something very obvious about it. Thanks

Sure thing, thanks for the update!

No rush at all :) didnt want this to get left behind in case it was waiting on something from our end.

No rush at all :) didnt want this to get left behind in case it was waiting on something from our end.

@nilslice  Noo, you and @G4Vi are absolutely right and it has been on the back of my mind for a bit. I am scratching my head, perhaps stupidly, as I am pointing to the correct sha in the go-pdk where the trace has been re-instante and still I am getting a failure in https://github.com/extism/go-sdk/blob/9748ea03f3dc755a575a3bdc6aa3fa7573b745ac/extism_test.go#L455. I wonder if you can have a quick check as I probably missing something trivial here. Thank you

Thanks, @hilaryRope! I'll run CI and see what happens, and can investigate today too

@hilaryRope @G4Vi - i'm going to merge this and make the tweaks from a new branch, as I am working on some related changes that may make this PR harder to merge later.
The test looks ok, and I think it's just a problem finding the package at the ref. In any case, I won't tag a new release until all of this is sorted so these changes shouldn't impact anyone using the SDK.

@hilaryRope @G4Vi - i'm going to merge this and make the tweaks from a new branch, as I am working on some related changes that may make this PR harder to merge later.
The test looks ok, and I think it's just a problem finding the package at the ref. In any case, I won't tag a new release until all of this is sorted so these changes shouldn't impact anyone using the SDK.

Thank you for this, appreciated!


pfe-navigation component

This creates a new component for primary navigation (for now, we could extend it for secondary navigation styles in future).  This includes a region for logo, main navigation, utility navigation (specifically, search, login, and language).
https://rally1.rallydev.com/#/detail/userstory/285742576332?fdp=true

It would be great if the temp dir change was its own PR. It will be a much smaller and easier to review, and can be merged ahead of nav. You can merge it into nav immediately to continue nav work unblocked.

This change is causing the build to break.


Add option to disable gzip grpc-accept-encoding

It's currently impossible to use connect-go with Dapr gRPC integration.
This PR adds the ability to unset the default Grpc-Accept-Encoding: gzip and gzip compressors/decompressors in the client with a new client option named WithGzipAcceptEncoding(bool), which when set to false makes the communication through the proxy work as expected. It keeps the default to true to keep backward compatibility.
Context
Dapr comes with a gRPC proxy which enables service discovery, tracing, and mTLS among other things between gRPC applications. It seems that the proxy lacks the ability to decompress gzip content in the server responses, either generally, or perhaps only when speaking to a connect-go server (which would lead to believe that the connect-go implementation is doing something a bit differently which the proxy doesn't understand).
Currently, a connect-go client will implicitly set the Grpc-Accept-Encoding: gzip header to all requests by default. Combining a connect-go server with a connect-go client using dapr results in the following response on the client side coming from the proxy:
unimplemented: grpc: Decompressor is not installed for grpc-encoding "gzip"

By reproducing the grpc-go greet example, we can observe the following:

grpc-go client => grpc-go server = OK
dapr grpc-go client => dapr grpc-go server = OK
connect-go client => grpc-go server = OK
dapr connect-go client => dapr grpc-go server = OK
connect-go client => connect-go server = OK
dapr connect-go client => dapr connect-go server = ERROR

Note that we have to create a client with the gRPC protocol to make it talk to the proxy when using the connect-go client app as such:
	client := greetv1connect.NewGreetServiceClient(
		&http.Client{
			Transport: &http2.Transport{
				AllowHTTP: true,
				DialTLS: func(network, addr string, _ *tls.Config) (net.Conn, error) {
					// If you're also using this client for non-h2c traffic, you may want to
					// delegate to tls.Dial if the network isn't TCP or the addr isn't in an
					// allowlist.
					return net.Dial(network, addr)
				},
			},
		},
		"http://localhost:50007",
		connect.WithGRPC(),
	)

This PR fixes the problem by enabling a new option to not send the gzip accept encoding header:
	client := greetv1connect.NewGreetServiceClient(
		&http.Client{
			Transport: &http2.Transport{
				AllowHTTP: true,
				DialTLS: func(network, addr string, _ *tls.Config) (net.Conn, error) {
					// If you're also using this client for non-h2c traffic, you may want to
					// delegate to tls.Dial if the network isn't TCP or the addr isn't in an
					// allowlist.
					return net.Dial(network, addr)
				},
			},
		},
		"http://localhost:50007",
		connect.WithGRPC(),
		connect.WithGzipAcceptEncoding(false),
	)

The downside is that it's probably more expensive for large response payloads to do so.
I thought about fixing this in the connect-go handler, but I didn't want to break existing behaviour or introduce regressions for other http protocols. I suppose it's better to control this on the client side for communication between connect-go apps.
It's probably worth checking with the Dapr developers to see if there's something to do on their side to avoid doing this in the first place.
That being said, I observed that only connect-go was setting the Grpc-Accept-Encoding: gzip header by default, which differs from the grpc-go behaviour.
Therefore, I think that this PR allows to reproduce this behaviour on the client side if desired.
Let me know if you need the full working code example to test this with Dapr.

Thanks for the detailed error report and the PR, @alexandrem! Appreciate how much effort you've already put into debugging this 😍
This is a situation where connect-go implements more of the gRPC specification than many of the Google implementations. For clients, it's convenient to send uncompressed requests but ask for gzipped responses - everything works well even if the server doesn't support gzip, and in the best case you still end up compressing most of the data (since responses are usually much larger than requests). grpc/grpc-go#2786 tracks this missing feature, but it's been open for years.
I don't think we should work around Dapr by special-casing grpc-accept-encoding: gzip, because the same issue will arise with every other compressor (e.g., https://github.com/mattrobenolt/connect-brotli). I think we're better off with a way to un-register compressors. I'd prefer to do this by making WithAcceptCompression("gzip", nil, nil) remove gzip support from the client. Are you open to making this change? If not, I can do it.
For my own curiosity, can you also share your example code? This whole issue is very strange to me - I'm not sure why a sidecar gRPC proxy is decompressing the payload at all. I'd have expected this to work more like Envoy, where the bulk of the body is forwarded as-is.

Hi @akshayjshah,
I will proceed with the proposed change with WithAcceptCompression, I think it makes more sense to unregister compressors indeed.
Please look at https://github.com/alexandrem/dapr-connect-go-example for a working example of the issue.


add word for describe month in zh-CN and zh-TW #165

According to the #165, we had discussed to add "个"  "個" after the dateformat for month, so it's more clear for people to understand.
Changes:

add  "个"  to the README_zh.md  for describe month
fix the test case for  constant.js, zh-CN.js, zh-TW.js
add "个" to IndexMapZH for describe month in constant.js

Pull Request Test Coverage Report for Build 406

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.528%

Totals

Change from base Build 404:
0.0%

Covered Lines:
119

Relevant Lines:
241

💛  - Coveralls

Pull Request Test Coverage Report for Build 406

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.528%

Totals

Change from base Build 404:
0.0%

Covered Lines:
119

Relevant Lines:
241

💛  - Coveralls

Pull Request Test Coverage Report for Build 406

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.528%

Totals

Change from base Build 404:
0.0%

Covered Lines:
119

Relevant Lines:
241

💛  - Coveralls

Pull Request Test Coverage Report for Build 406

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.528%

Totals

Change from base Build 404:
0.0%

Covered Lines:
119

Relevant Lines:
241

💛  - Coveralls


MetadataType UI and docs

Closes #5663
What's Changed
Implement MetadataTypeUIViewSet, patterned closely after the (non-UIViewSet) UI for CustomField definition.
Screenshots

TODO

[x] Explanation of Change(s)
[x] Added change log fragment(s) (for more information see the documentation)
[x] Attached Screenshots, Payload Example
[x] Unit, Integration Tests
[x] Documentation Updates (when adding/changing features)
n/a Example App Updates (when adding/changing features)
[x] Outline Remaining Work, Constraints from Design

We already have a metadata sub menu under Organization, is this going to cause confusion?

We already have a metadata sub menu under Organization, is this going to cause confusion?

Probably. Would be good to come up with a better name for the organization submenu but I don't think we've been able to agree on one yet.

My vote would be to keep it under organization for now, and can re-think the whole thing in 3.0.

I'd personally prefer to keep this model under Extensibility as that's where it belongs. Tags/statuses/roles really should be considered "data" not "metadata", and grouping this model with them is IMO misleading as to both its nature and purpose.

I don't know if this is worth chasing down but I'm seeing an incorrect error message under the choices when I try to create a metadata type with choices, then try to go back and resubmit the same form:

I don't know if this is worth chasing down but I'm seeing an incorrect error message under the choices when I create a metadata type with choices, then try to go back and resubmit the same form:

I noticed that too. Somehow it's getting confused by the fact that the instance creation is failing due to a uniqueness violation, but then it's trying to attach the choices to the instance that it failed to create. Mind if we treat that as a lower priority followup item?

I don't know if this is worth chasing down but I'm seeing an incorrect error message under the choices when I create a metadata type with choices, then try to go back and resubmit the same form:

I noticed that too. Somehow it's getting confused by the fact that the instance creation is failing due to a uniqueness violation, but then it's trying to attach the choices to the instance that it failed to create. Mind if we treat that as a lower priority followup item?

Yeah I don't think that's a blocker


Unable to remove items from gbc window

I've set up 4 items I want to track, but not only want to track two of them. There doesn't seem to be a way to remove them from the little gbc window without just doing /gbc hide. Which isn't idea as there are two I still want to track.
Apologies if there IS a way to remove them. If there is it isn't very obvious.

trash cans

Found it, thank you very much.


WPT: Use Stable Channel Browser Logos

Polled is the WPT data of the stable releases. Therefore the results overview should also show the logos of those stable channels.

cc @foolip


DisplaySets are lost in metadata on page navigation to studylist and back

Hi,
I noticed that when I have a study open, the study metadata as provided by the MetadataManager contains the displaySets of that study. On going back to the study list and forward to the study again, this is not the case anymore.
As a hack I added this to ViewerMain.js in ComponentDidUpdate, but maybe someone knows where the correct place is to ensure consistent metadata?
this.props.studies.map(study => {
        const studyMetadata = studyMetadataManager.get(study.StudyInstanceUID);
        if (studyMetadata._displaySets.length == 0) {
          study.displaySets.map(displaySet =>
            studyMetadata.addDisplaySet(displaySet)
          );
        }
      });

Please review the latest code in the master branch. I am confident that this issue has been resolved. If it persists, kindly reopen the issue with updated details.
Try viewer-dev.ohif.org instead of viewer.ohif.org
Our viewer.ohif.org is deployed from release branch while viewer-dev.ohif.org is our master  branch
Read more about branch explanations here https://docs.ohif.org/development/getting-started#developing


Chain compatibility

no need to calculate the free balance, now we have the pure free field without the reserved balance.
rename locked field with reserved.
in profile manager added the free to the reserved to show total balance

Description
Describe the changes introduced by this PR and what does it affect
Changes
#3340
Related Issues
List of related issues
Documentation PR
For UI changes, Please provide the Documetation PR on info_grid
Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

changes on #3387


build: do not require libdispatch always

This avoids the subconfigure unless we are building SyntaxParserLib or
SourceKit.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test and merge


Epoch Counter seems to be weirdly behaving at the end of an epoch

Epoch Counter seems to be weirdly behaving at the end of an epoch. Please refer to the attached video for more details. As soon as the the epoch ends the counter first increases to 2 seconds and then 6 and then roll over to next epoch. I observed this behaviour on every single epoch rollover.
https://user-images.githubusercontent.com/69709857/142962679-cd3d24e2-1b0c-4fd2-ab95-702170433675.mov

@dexturr - We are now showing Waiting for next epoch to start correctly but then the counter goes bit weird for one sec before starting the new epoch.
The glitch seem to have different length of progress bar every time
https://user-images.githubusercontent.com/69709857/143573499-d224f68a-e922-4c15-b471-b4a3bf2915bf.mov

Spoke to @dexturr and he mentioned that inorder to fix this - it would mean making that component render way more times per second so not great for performance. I agree with his suggestion that it's not worth fixing it as it's a 1 second bug that happens only every 24 hours so something we can live with. Hence marking the story as Done.
CC - @campbellssource


Listing on PyPI?

Being able to install the library using pip or easy_install would make it a lot easier to use it in a wide variety of projects. Have you considered this?

I thought about doing that when I first wrote backloggery-puller, but I didn't go through with it at the time. Since you're asking about it I'll try to make it a PyPi package over the weekend. Thanks for expressing interest in the project!

Thanks a lot! :smiley:

I just got done fixing the project up and adding the package to PyPi. I changed the name to backlog_puller since it's shorter and python modules can't have hyphens in the title. All you have to do now is pip install backlog_puller and you should be able to use the project! Thanks again for asking me to list this on PyPi!


Handle bad headers

Translate x-amz headers on receipt and before sending out to handle translated characters.

@ironman-machine go

Hello @LaurenSpiegel
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "SCALITY_S3_BRANCH": "handleBadHeaders", "DEFAULT_BRANCH": "rel/6.2.5"}
Please follow http://ci.ironmann.io/gh/scality/Integration/7568 for CI status.

Merging, necessary for customer tests tomorrow


Zero-or-one prop path regression

There is an issue with proprty paths evaluation on complex expressions involving non-extient nodes and ? modifier.
For example, the following, while query evaluated against empty repository:
SELECT ?resource WHERE {
	<http://unexisting_resource> (^(<http://predicate_a>)*) / <http://predicate_b>? ?resource .
}

do not return results, while it is expected to return single seolution where ?resource is bound to <http://unexisting_resource>

I've checked the code and it seens like that has been introduces along the work fixing https://github.com/eclipse/rdf4j/issues/2727 and more speciffically in commit bcdd99a7 where the handling of ZeroOrOne case creates a projection with union but the flag subselect was set to true instead of false.


InfluxDB 2.0: There is no way how to set password to the created User (API)

The Internal Server Error (500) is returned when I trying update the user password (the user was created by User HTTP API):
1/ Authenticated by Token
-> PUT
-> http://<IP_ADDRESS>:9999/api/v2/users/034cfc4790f1e000/password
-> {"password":"strong-password"}

<- 500
<- Internal Server Error http://<IP_ADDRESS>:9999/api/v2/users/034cfc4790f1e000/password (2ms)
<- Header: X-Influx-Error: invalid basic auth

This error is caused because the decodePasswordResetRequest expect the Basic Authorization header, but we are authenticated by Token.
2/ Authenticated by Session
-> PUT
-> http://<IP_ADDRESS>:9999/api/v2/users/034cfc4790f1e000/password
-> {"password":"strong-password"}

<- 500
<- Internal Server Error http://<IP_ADDRESS>:9999/api/v2/users/034cfc4790f1e000/password (2ms)
<- Header: X-Influx-Error: crypto/bcrypt: hashedSecret too short to be a bcrypted password

The error is caused by CompareHashAndPassword function because hash is nil.

talked this with @desa, update password will need to re-input the old password.
for reset, we will have to create a special one-time session, which expires in 15 mins, to reset the password.

how to set password to the created User (API)？
1.cli run: influx user create username
2. curl {{host}}/api/v2/users/{{userID}}/password --body {"password": "mypassword"}

I don't really understand
what shout i do


Add Clone/Copy impls for enum cmd::Format, export a version of exec that takes a rendered graph, add more descriptive error messages

Hi, I'm currently using graphviz-rust to build some dependency graph visualizations and I've run into some small issues with the API that mildly affect UX.

No way to clone a cmd::Format.
cmd::Format doesn't implement Clone, so there's no way to set constants for default layouts, or take a desired layout as a command-line argument. It seems that it should be possible to derive Clone on this type given that it's a simple enum.

No way to cache the result of printing a Graph before passing it to exec.
I'm currently building a Graph then rendering it to svg, but I'd like to export the rendered .dot file as well. The exec function exported from the crate root only takes a Graph as an argument, but runs print on it immediately. There's no way to reuse the result of print and pass it directly to exec afterward - this results in the graph needing to be printed twice in order to both save the raw .dot markup and call graphviz on it. It would be nice to have a similar function, e.g. exec_from_dot_file, that takes a string as input.

Nondescriptive error message when graphviz is missing from PATH
If the user doesn't have dot in their PATH, exec fails with an error No file or directory found. It isn't immediately obvious what the source of this error is, or how to remedy it. exec should ideally return a message telling the user to install graphviz; this caveat is mentioned in the docs but buried inside the cmd module.

Thank you for releasing this crate, it's super useful!

Hi,
Shure things. Will take a look shortly(this week).

Hi,
Have provided an mr covering all aforesaid causes.

Added clone, copy
Added method exec_dot that accepts a graph in a string format
As for the error. This is a little bit moot thing. The message and behaviour in general can be different depending on the client and the operating system that is used. Thus, I don't see a quick solution that standardizes a way to recognize(since we just float up the message from the console). For now, I gravitated to stick with expanding the section in the readme file adding a message there.

Thank you!


FSDP sample fails with CUDA initialization error on HyperPod EKS

When running the FSDP sample app on HyperPod EKS cluster, I got this error.
[W CUDAFunctions.cpp:108] Warning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 803: system has unsupported display driver / cuda driver combination (function operator())
Traceback (most recent call last):
  File "/fsdp/train.py", line 281, in <module>
    main(args)
  File "/fsdp/train.py", line 144, in main
    dist.init_process_group()
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/c10d_logger.py", line 86, in wrapper
    func_return = func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/distributed_c10d.py", line 1184, in init_process_group
    default_pg, _ = _new_process_group_helper(
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/distributed_c10d.py", line 1339, in _new_process_group_helper
    backend_class = ProcessGroupNCCL(
ValueError: ProcessGroupNCCL is only supported with GPUs, no GPUs found!

Cluster spec:

ml.g5.8xlarge x 8
ml.g5.12xlarge x 2

looks like it's missing the nvidia gpu device plugin or you didn't specify the number of devices in your yaml like so:
resources:
        limits:
          nvidia.com/gpu: 1 # requesting 1 GPU

Reproduced the error with 2 x g5.8xlarge nodes. I believe the root cause is:
"system has unsupported display driver / cuda driver combination"

Related to #475

@shimomut please add link to test case. There are multiple FSDP test cases in the repo.

Removing the Cuda compat package will likely resolve this.


[BUG] v1.19 expects settings.json even though it is not required.

Describe the bug
v1.19 swiches to settings.yaml file to load settings. however, if the settings.json file is not found, then it gives an error when starting.
from log file
Feb 02 22:12:06 ip-172-31-31-228 node[2759]: Error: ENOENT: no such file or directory, watch '/home/ubuntu/nostream-1.19.0/dist/src/.nostr/settings.json'
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at FSWatcher. (node:internal/fs/watchers:247:19)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Object.watch (node:fs:2304:36)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at SettingsStatic.watchSettings (/home/ubuntu/nostream-1.19.0/dist/src/utils/settings.js:104:26)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at App.run (/home/ubuntu/nostream-1.19.0/dist/src/app/app.js:34:51)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Object. (/home/ubuntu/nostream-1.19.0/dist/src/index.js:33:30)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Module._compile (node:internal/modules/cjs/loader:1239:14)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Module._extensions..js (node:internal/modules/cjs/loader:1293:10)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Module.load (node:internal/modules/cjs/loader:1096:32)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Module._load (node:internal/modules/cjs/loader:935:12)
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:84:12) {
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:   errno: -2,
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:   syscall: 'watch',
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:   code: 'ENOENT',
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:   path: '/home/ubuntu/nostream-1.19.0/dist/src/.nostr/settings.json',
Feb 02 22:12:06 ip-172-31-31-228 node[2759]:   filename: '/home/ubuntu/nostream-1.19.0/dist/src/.nostr/settings.json'
Feb 02 22:12:06 ip-172-31-31-228 node[2759]: }
Feb 02 22:12:06 ip-172-31-31-228 node[2759]: Node.js v19.4.0
Feb 02 22:12:06 ip-172-31-31-228 systemd[1]: nostr.service: Main process exited, code=exited, status=1/FAILURE
Feb 02 22:12:06 ip-172-31-31-228 systemd[1]: nostr.service: Failed with result 'exit-code'.
Feb 02 22:12:06 ip-172-31-31-228 systemd[1]: nostr.service: Consumed 1.648s CPU time.
Feb 02 22:12:11 ip-172-31-31-228 systemd[1]: nostr.service: Scheduled restart job, restart counter is at 1.
Feb 02 22:12:11 ip-172-31-31-228 systemd[1]: Stopped NOSTR relay  daemon.
Feb 02 22:12:11 ip-172-31-31-228 systemd[1]: nostr.service: Consumed 1.648s CPU time.
Feb 02 22:12:11 ip-172-31-31-228 systemd[1]: Started NOSTR relay  daemon.
Feb 02 22:12:13 ip-172-31-31-228 node[2769]: 2023-02-02T22:12:13.134Z primary:app-primary starting
Feb 02 22:12:13 ip-172-31-31-228 node[2769]: 2023-02-02T22:12:13.137Z primary:app-primary started
Feb 02 22:12:13 ip-172-31-31-228 node[2769]: node:internal/fs/watchers:255
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     throw error;
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     ^
Feb 02 22:12:13 ip-172-31-31-228 node[2769]: Error: ENOENT: no such file or directory, watch '/home/ubuntu/nostream-1.19.0/dist/src/.nostr/settings.json'
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at FSWatcher. (node:internal/fs/watchers:247:19)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Object.watch (node:fs:2304:36)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at SettingsStatic.watchSettings (/home/ubuntu/nostream-1.19.0/dist/src/utils/settings.js:104:26)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at App.run (/home/ubuntu/nostream-1.19.0/dist/src/app/app.js:34:51)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Object. (/home/ubuntu/nostream-1.19.0/dist/src/index.js:33:30)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Module._compile (node:internal/modules/cjs/loader:1239:14)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Module._extensions..js (node:internal/modules/cjs/loader:1293:10)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Module.load (node:internal/modules/cjs/loader:1096:32)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Module._load (node:internal/modules/cjs/loader:935:12)
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:84:12) {
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:   errno: -2,
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:   syscall: 'watch',
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:   code: 'ENOENT',
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:   path: '/home/ubuntu/nostream-1.19.0/dist/src/.nostr/settings.json',
Feb 02 22:12:13 ip-172-31-31-228 node[2769]:   filename: '/home/ubuntu/nostream-1.19.0/dist/src/.nostr/settings.json'
Feb 02 22:12:13 ip-172-31-31-228 node[2769]: }
To Reproduce
Steps to reproduce the behavior:

Run command '...'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

OS: [e.g. Ubuntu]
Platform: [e.g. docker, standalone]
Version: [e.g. 1.9.11]

Logs
If applicable, attach log messages showing the bug and context when the bug happened.
Additional context
Add any other context about the problem here.

confirmed. I got the error on a new install.
After i did:
touch .nostr/settings.json
npm run dev

... it started up

never mind - i found the problem in src/utils/settings.ts
it has to be settings.yaml , not .yml
if i renamed the file, it runs

This PR fixes this. If the issue persists please let us know.


Sanic Support

Now that Lambda and Zappa support Python 3.6, it's time to go fast!
Context
Using Python 3.6.1 build a simple Sanic app:
from sanic import Sanic
from sanic.response import json
app = Sanic()
@app.route("/")
async def test(request):
    return json({"ping": "pong"})

Deploy using zappa deploy
Expected Behavior
When calling the deployed app, you should get a JSON response of {"ping": "pong"}
Actual Behavior
[1492803091188] [DEBUG] 2017-04-21T19:31:31.188Z 1e86ec3b-26c9-11e7-8d39-675d00368992 Zappa Event: {'resource': '/', 'path': '/', 'httpMethod': 'POST', 'headers': {'Accept': '*/*', 'Accept-Encoding': 'deflate, gzip', 'CloudFront-Forwarded-Proto': 'https', 'CloudFront-Is-Desktop-Viewer': 'true', 'CloudFront-Is-Mobile-Viewer': 'false', 'CloudFront-Is-SmartTV-Viewer': 'false', 'CloudFront-Is-Tablet-Viewer': 'false', 'CloudFront-Viewer-Country': 'US', 'Content-Type': 'multipart/form-data; boundary=------------------------7c00f57f3885d2a5', 'Host': 'oyn744qikj.execute-api.us-east-1.amazonaws.com', 'User-Agent': 'insomnia/5.0.3', 'Via': '1.1 a1bc06b7f7932216e8d406a348288eac.cloudfront.net (CloudFront)', 'X-Amz-Cf-Id': '4p7JV4jmjNtB5KshFDuYnmYe3V_4txKeSbVNzZIp_MznJV3lORfwXQ==', 'X-Amzn-Trace-Id': 'Root=1-58fa5e11-52449eba1dbcb40e121bb50b', 'X-Forwarded-For': '<IP_ADDRESS>, <IP_ADDRESS>', 'X-Forwarded-Port': '443', 'X-Forwarded-Proto': 'https'}, 'queryStringParameters': None, 'pathParameters': None, 'stageVariables': None, 'requestContext': {'accountId': '074567182610', 'resourceId': 'zf1pblv31c', 'stage': 'staging', 'requestId': '1e7e8722-26c9-11e7-93ac-45c462b16c20', 'identity': {'cognitoIdentityPoolId': None, 'accountId': None, 'cognitoIdentityId': None, 'caller': None, 'apiKey': None, 'sourceIp': '<IP_ADDRESS>', 'accessKey': None, 'cognitoAuthenticationType': None, 'cognitoAuthenticationProvider': None, 'userArn': None, 'userAgent': 'insomnia/5.0.3', 'user': None}, 'resourcePath': '/', 'httpMethod': 'POST', 'apiId': 'oyn744qikj'}, 'body': 'LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03YzAwZjU3ZjM4ODVkMmE1DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVybCINCg0KaHR0cDovL3d3dy56eXBlLmNvbS9kZW1vLw0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03YzAwZjU3ZjM4ODVkMmE1LS0NCg==', 'isBase64Encoded': True}
[1492803091205] __call__() takes 1 positional argument but 3 were given

Your Environment

Zappa version used: 0.41.0
Operating System and Python version: 3.6.1
Your zappa_settings.py:

{
    "staging": {
        "app_function": "test_web.app",
        "aws_region": "us-east-1",
        "profile_name": "default",
    }
}

It's worth mentioning that this is my first Sanic application, but it returns properly on localhost.

The tricky part I would imagine is how to handle the event loop.

I'm working on this but having some basic difficulties as this is my first zappa deployment. The dependencies aren't being packaged, though I can't tell why. Is there a way to get more debug info regarding what is being packaged in the zip? It works to import the needed requirements in my virtualenvironment.

Furthermore the dependencies do exist in the correct location:
>>> import httptools
>>> httptools.__file__
'/Users/r0fls/Documents/code/foss/zappa/sanic-test/36/lib/python3.6/site-packages/httptools/__init__.py'

However I don't see any open issues about dependency packaging.

@fifthecho would you be willing to post your entire code into a repo or upload, including the virtual environment, packages, etc...? I couldn't even seem to get to the point you're at.

https://github.com/fifthecho/zappa-sanic is a super basic app but exhibits the behaviors I've logged when I deploy it.

I think that Sanic isn't WSGI?
You may need this: https://github.com/ashleysommer/sanic-dispatcher

So
app = Sanic(__name__)
dispatcher = SanicDispatcherMiddlewareController(app)

Then myapp.dispatcher as the app_function in Zappa settings.

(Just a theory)

A viable theory. It may be a few days before I can test myself, but if others want to give it a shot and report back, please do.

https://github.com/ashleysommer/sanic-dispatcher/issues/4

Also some talk over on the Sanic side that seems relevant about Werkzeug and ...a WSGI adapter, that'd allow you to eg. deploy to zappa.
https://github.com/channelcat/sanic/issues/761#issuecomment-313146637


Add missing audiosessiontypes definitions

audiosessiontypes should now be on par with the Windows 10 SDK.
Note that this is needed for XAudio2 bindings because IXAudio2::CreateMasteringVoice() accepts an AUDIO_STREAM_CATEGORY argument.

Could you squash these commits?


what happen in 0.96.0 ?

update to 0.96.0, I got a execepion:
classMethod FAILED
java.lang.NoSuchMethodError: com.linecorp.armeria.server.grpc.GrpcServiceBuilder.build()Lcom/linecorp/armeria/server/ServiceWithRoutes;

Hi @RyouZhang. Sorry for the problem. We have some breaking changes in 0.96 which I will write write about in the release note soon.

The release note has been published. Please let me know if you have any issues while upgrading. :bowing_man: https://github.com/line/armeria/releases/tag/armeria-0.96.0


The dataset is missing.

Hello, which dataset are you referring to? The download links to the HierText-based training/validation and our proposed test set can be found in this section of the readme:
https://github.com/CVC-DAG/STEP?tab=readme-ov-file#datasets
The following link contains the json with the GT for the training and validation:
http://datasets.cvc.uab.cat/STEP/structured_ht.zip

While this one contains the test data:
http://datasets.cvc.uab.cat/STEP/structured_test.zip

aws s3 --no-sign-request cp s3://open-images-dataset/ocr/train.tgz datasets/hiertext
aws s3 --no-sign-request cp s3://open-images-dataset/ocr/validation.tgz datasets/hiertext  missing train and validation datasets .eagerly await your response

What is the issue exactly? These two commands require the AWS CLI and will download the HierText train and validation data (although we only use the images). This is the download method provided by the authors in the original repository.

when i use aws s3 --no-sign-request cp s3://open-images-dataset/ocr/train.tgz datasets/hiertext it will tell me ERR_TUNNEL_CONNECTION_FAILED (browser error：The website with the URL https://open-images-dataset.s3.cl.amazonaws.com/ocr/train.tgz may be temporarily unavailable, or it may have been permanently moved to a new URL.） Could you please tell me if this website is available？

great thank for your answer

hello，can i ask a question about my code.（KeyError: "Dataset 'hiertext_validation' is not registered!）could you tell my the solution

hello，can i ask a question .（KeyError: "Dataset 'hiertext_validation' is not registered!）could you tell my the solution?thank for your answer!

Hello again, yes I believe this was my mistake! The name of the validation split was wrongly registered in the file adet/data/builtin.py file; line 48 should be:
    "hiertext_validation": ("hiertext/validation", "hiertext/validation.jsonl")
instead of the current:
    "hiertext_val": ("hiertext/val", "hiertext/validation.jsonl")
I changed this line in the last commit, if you pull the latest changes of the repo the problem should be fixed. Please, tell me if that fixed your mistake.

yes. the line 48 is  "hiertext_val": ("hiertext/validation", "hiertext/validation.jsonl").The solution is right.Thanks for your answer very much.


AdminHelpText

AdminHelpText Is not documented within the ClaimType details. If this is intentional then you will need to remove the reference within the DateTimeDropdown example.

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

ID: 3e31c230-4294-6b21-91c2-b829852f80a3
Version Independent ID: ea251507-2a65-6ceb-0ccf-fa4f75133fa3
Content: ClaimsSchema  - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/claimsschema.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@WhippsP Thanks for your feedback! We will investigate and update soon on it.

According to:
https://github.com/Azure-Samples/active-directory-b2c-advanced-policies/blob/master/Documentation/Features part 6.md
AdminHelpText 0:1 Specify a description of the claim type that can be helpful for the administrators to understand the purpose and/or usage of the claim type.

@WhippsP The PR for the fix has been created and it will be merged soon. Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


Improve store scoping in benchmark

This PR resolves the following warning message:
'scope(state:action:)' is deprecated: Pass 'state' a key path to child state and 'action' a case key path to child action, instead. For more information see the following migration guide: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Store-scoping-with-key-paths

@woxtu Thanks for looking into this! While we do want to revisit updating our benchmarks in the future, for now these benchmarks explicitly intend to test the old, uncached stores, so those deprecations are OK for now. We appreciate you taking the time to try to fix, though!


Feature Request - docker node ls --sort-by

Here is some example output of docker node ls
08lo1p3lgvwus4pdu26z8tvus *  swarm5.programster.org  Ready   Active        Reachable
5138uwpoamzthsftyw80otpqt    swarm4.programster.org  Ready   Active        Reachable
61x0ziccdy4wi200th9ddt9t8    swarm6.programster.org  Ready   Active
7tzbno6vc9pk4m7suekxadkey    swarm3.programster.org  Ready   Drain         Reachable
8m1yi1eo2n6vol6v3z44lxg7i    swarm1.programster.org  Ready   Active        Leader
ctgf1abx5c22h8eivz4sf11mf    swarm2.programster.org  Ready   Active        Reachable

It appears that the output is sorted by ID by default which isn't particularly useful as the IDs appear to be random or pseudo-random. It would make more sense if the list was sorted by any of the other columns (I would pick hostname). Better yet, it would be great if the user could manually specify what to sort by with a new --sort-by parameter that can take either id, hostname, status, availability, or manager-status as options or a comma separated list of these to sort by one and then the other.
For example: docker node ls --sort-by=manager-status,hostname

Related: https://github.com/docker/docker/pull/25702


exec.command usage

Hello,
How exactly should one correctly call an external program using Tego?
I tried to replicate the exec.command example here: https://github.com/d5/tengo/blob/master/docs/stdlib-os.md#processstate
 ~ >> cat myapp.tengo
fmt := import("fmt")
os := import("os")

cmd := exec.command("echo", ["foo", "bar"])
output := cmd.output()
fmt.println(output)

Running it returns Compile Error: unresolved reference 'exec'. I checked the Tengo code and as far as I can tell exec is a sub-function of os?
I also tried proc := start_process("ls", ["-a"], "", []) but got a similar error. Is there any other documentation or examples out there?
Thanks! :)

Greetings!
I was just looking for examples from Tengo. Your code is perfect. Exchange exec.Command for os.exec:

cat > myapp.tengo << EOF
#!/usr/local/bin/tengo
fmt := import("fmt")
os := import("os")
cmd := os.exec("figlet", "test")
output := cmd.output()
fmt.println(output)
EOF

Tell me if it worked.


Registration and login page

Created User objects to add routes:

/login
/register
/forgotpassword

Added UI template

The first commit for this PR shows 1,731 changed files with 146,440 additions and 22 deletions, so it seems kind of hard to track what exactly is being added here when I check the Files changed tab.
It may have helped if the startbootstrap-sb-admin files were added in a single commit so we understand what's being changed.
Also, since startbootstrap-sb-admin adds so many files, if we are going to go this route of using other libraries like this, I'm not sure if we should take this route of putting the library files in the project or if we should install dependencies using npm (node package manager).
Before I approve this I'm going to have pull these changes locally and test them to see what this sb-admin dashboard looks and feels like so I'll get back to you on what I think of this. I see some changed files such as the 404 page though which now says "SB Admin 404" instead of "Amazin 404", not sure what modifications we will have to make to these to get rid of the generic "SB Admin" titles if we decide to go with this package.

Since there are Model changes in this PR, the diagrams will have to be generated by IntelliJ and updated in the diagrams/ directory. Might be a good idea for unit tests to be pushed along with these new Model changes in this same PR as well.

This Pr is trying to do way too much in one single go:
Please create a separate PR for the creation of the user
A pr for the user template pages
Concerning Bootstrap:
In my opinnion bootstrap JS, Jquery, and bootstrap css should be added as cdn in the header of the _application.html fragment and then called in the top head of each template that needs it
Another option if we are willing to fully commit to bootstrap as a part of webjars  here's a link for a tutorial that might help if u want to go that route: http://www.springboottutorial.com/spring-boot-with-jquery-and-bootstrap-web-jars

A potential thing we could look into if we want to go this route is following this blog post to set up npm with spring http://bits-and-kites.blogspot.com/2015/03/spring-and-nodejs.html.


Improve styling, spacing, wording

These changes is based on some of the feedback in the design review we had recently. There are many more small pieces to do.
These are small enough changes that doing a PR for each feels excessive, but I want to merge them in at semi-regular intervals to avoid them getting stale - especially as they're tending to be changes cutting across multiple parts of the app.

(I can add some screenshots if it helps to explain exactly what these changes achieve)


Can't adjust width

I can't find an option for changing width.

If you want to change a wrapper width you can do that like this:
<NumericInput style={{ wrap: { width: 100 }, }} className="form-control"/>


Epic: Product Marketing

🎯 Aim of the feature
The aim is to list out all actions that might help in the product:

[ ] release a 1.0 version of the product. This will create confidence in the product. In order to do that I am waiting for a green light (I guess @VesaJuvonen this one is on you 😉)
[ ] present the product on a PnP Community call (yet again)
[ ] prepare short HOWTO movies presenting tool features
[ ] add more documentation about the product to make it easier to use and promote it
[ ] add a blog post going over the tool features
[ ] demo and a challenge similar to Teams Toolkit to promote adoption (idea originally added by @reshmee011)

viva connections toolkit movies
https://www.youtube.com/watch?v=jXQFgGlId00&list=PLR9nK3mnD-OW1XNbtsHiFDG___W8wnfHp&index=4


can't share mp3 file to whatsapp on ios

Hi,
When I try to share an mp3 file to whatsapp using shareWithOptions on ios I get just the text and no file attachment.
When I try it on android it works, and when I try it for email in iOS it also works. any ideas?

Same here. Any solutions?


docs: Improve API documentation

What this PR does / why we need it:

Mentions the ClusterRole that can give users access to the API.
Added an example kubectl command to delete ServiceAccount and revoke tokens.

Related: https://issues.redhat.com/browse/CNV-37922
Release note:
Improved API documentation.

/cc @0xFelix @jcanocan


Adding Contributors section to the readme.md

Why Contributors section:- A "Contributors" section in a repo gives credit to and acknowledges the people who have helped with the project, fosters a sense of community, and helps others know who to contact for questions or issues related to the project.
Issue type

[✅] Docs

Demo Image :-

@liuxubo717  kindly assign this issue to me ! I would love to work on it ! thank you !

@liuxubo717  kindly assign this issue to me ! I would love to work on it ! thank you !


Updated the RequestFSM to use gotos.

This commit updates the request FSM to use goto statements to reduce
function call overhead and removes 5 stack frames from each request.
Removed $finalState from RequestFSM::__invoke
Finishing FSM transitions is not handled in the FSM rather than the
RingBridge.
Slightly related to #964

@jeremeamia

Very interesting! goto for the win. :smile:


Upload much more data in status reports

Uploads much more data in the status reports and makes the data much more specific to what was done in each action.
This follows the schema discussed previously. The only bit I don't implement in this PR is determining the performance of queries in each language and splitting default and custom queries. I could do but it would be another large change so I'm thinking it's best to split it up into a different PR to come later this week or next week.
This will fail until the github.com API endpoint has been updated to accept this kind of status report.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.

Now the server side has been updated this is looking good and everything is passing as expected. I'm not sure who to assign to. Perhaps @sampart or @chrisgavin, or @marcogario if you're willing as you've done the other parts of this change.