cudaPackages: cleanup post #256324

Cleanup to be done once #256324 is merged.

[!NOTE]
I use the term "multiplexed package" to refer to a package which has multiple versions present in a single instance of the cudaPackages package set.
Examples of such "multiplexed packages" include cuDNN and TensorRT, as there are generally several versions of these packages available in each instance of the cudaPackages package set.
A non-example would be NVCC, as there is exactly one in each instance of the cudaPackages package set.

Cleaner abstraction to support overrides
Per a conversation with @SomeoneSerge (thank you for generously giving so much of your time to me so I could throw a bunch of Nix at you!), how one should attempt to override core attributes of the package set isn't clear. That is, the "backbone" attribute sets which are instantiated outside of the package set fixed point and manually threaded through the extensions to prevent infinite recursion (which occurs because the existence of some attributes in the package set depends on these values): cudaVersion, gpus, flags, and nvccCompatibilities.
Serge suggested making use of the module system to solve this issue:
Instead of evaluating modules inside the generic multiplex builder and each extension.nix, we do it once in pkgs/top-level/cuda-packages.nix. We expose two additional attributes in the package set: a list for additional modules to be evaluated against the ones which exist in-tree (allowing users to extend what we provide) and the resulting evaluated configuration. The builders would then take some subtree of that configuration instead of performing the module evaluation themselves.
Fragile implementation for multiplexed packages
Multiplexed packages rely on the existence of several paths which depend on the pname of the package. As an example, the expression which produces cudnn packages requires that all of pkgs/development/cuda-modules/cudnn/{fixup,shims,releases}.nix exist, and access them by name.
This is fragile and generally unwanted. Improvements suggested in Cleaner abstraction to support overrides may provide a way to re-implement such logic in a cleaner way.
Source-available packages and source priorities
Nixpkgs prefers to use source-builds when possible. Some packages, like CUDA CCCL are available both pre-packaged from NVIDIA and from source: https://github.com/NVIDIA/cccl.
It's unclear at the moment how to handle builds when multiple sources are available. However, this does seem like something the module system would excel at handling, given we are able to assign priorities to different values.
Laundry list

[ ] Find a way to abstract away CuTensor's extension.nix. Likely solved by Cleaner abstraction to support overrides.
[ ] Update logic to handle creation of overrides using the new dependencies field present in the feature manifests generated by cuda-redist-find-features.
[ ] Document this particular section of NVIDIA's documentation for other CUDA maintainers: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#host-compiler-support-policy

"We only support libstdc++ (GCC’s implementation) for all the supported host compilers for the platforms listed above."
That makes it sound like, even when using Clang, we need to use GCC's C++ standard library.

[x] Figure out what cuda_compat is/does: #267247
[ ] Figure out how to extend option sets with additional options. Likely solved by Cleaner abstraction to support overrides
[ ] Investigate behavior of overrides of cudaVersion on the cudaPackages package set through override and overrideAttrs. Likely solved by Cleaner abstraction to support overrides.
[ ] Move cuda-redist-find-features to nix-community (https://github.com/NixOS/nixpkgs/pull/256324#discussion_r1387012952)

@NixOS/cuda-maintainers @SomeoneSerge @samuela thoughts?

[ ] cudaPackages = recurseIntoAttrs cudaPackages_XX so that cuda components appear on search.nixos.org again
[ ] Ensure that attrNames cudaPackages can be evaluated without evaluating the attribute values. In particular, cudaPackages ? nccl on darwin shouldn't even be reaching the throw in cudaFlags
[ ] We also shouldn't throw probably


Validator int doesn't support kind int for value 3;

Having this struct
type BasicInfo struct {
        FirstName string `json:"first_name,omitempty" db:"first_name" valid:"alpha,required"`
        LastName  string `json:"last_name,omitempty" db:"last_name" valid:"alpha,required"`
        Gender    int    `json:"gender" db:"gender" valid:"int,required"`
    }

When i pass an int value to Gender i get
Gender: Validator int doesn't support kind int for value 3;"

Is 3 a kind of int made by aliens? Also 2,3,4,5,6,7,8,9,... does not work
How are we supose to validate anything if the Validator does not support anything? int does not work, numeric does not work...
Thanks

Go is a strongly typed language, there's no need to verify if the value inside a variable of type int is a int. If you try to validate a variable of type string the verification would make more sense.

So whats the point of having func IsInt(str string) bool in the validator? Increase the code size? Go is a strongly typed language when ur validating ur code... To my knowledge govalidator is not to validate ur code, is to validate input data. So if im going to validate that everything is a string... theres no point of having a validator. If i need to validate that I'm inserting an INT into a database INT field... i need to make sure that it is an INT, not a string or an email.

Sometimes you need to validate data that recieved from user, e.g. forms from webpages or input in various text fields in your desktop/mobile/web UI. So, this is the main reason to have such validators. Although according to the code, ValidateStruct should accept any fields that can be casted to string, but seems that it doesnt work.

@asaskevich first of all, thank you for this nice library.
Just a short notice: the use of int validation on type int64 did work in the past. I discovered the issue when a test failed just after updating govalidator today. However I'm not sure why the int64 was validated as int :-)
When I scanned my code for other occurrences of int validation, I found one use case where I validate a string field as int. I could work around this and change the type to int instead of string, but having the int validation rule is handier as the the value comes in as string, is just validated and not further processed by the system and leaves the system as string.

I created a PR with a small solution :')

Hi @elico
I'm sorry, I missed your comment in January.
It's hard to remember what exactly the problem was at the time, but I can confirm that it has been fixed in the meantime.
I made a local fork back then and added case reflect.Int: in the typeCheck function to fix the problem. The same change has been done in the master branch of the repo.
https://github.com/asaskevich/govalidator/blob/master/validator.go#L1047

@marcobeierer would you check my PR ? I was having the same bug and to the date it is still not fixed.

@marcobeierer OK I hope it works for @jsuarezik

I got the same confusion!When I atmept to validate a param which is a int type,I got this xxx: 10 does not validate as type(int).


Lock all cli integration tests

These change the directory, which can't really be avoided.
The lock not around the setup though, which is the most expensive part.

Not sure where the failure is coming from.

@brson Don't worry - the failure is just because of the code coverage, which only occurs on 64-bit linux. I'm just working on a fix.


OCR0050: Determine Baseline of Glyphs Programmatically

Description:

For font creation process, finding the baseline of a tibetan glyphs is necessary, currently we are annotating the baseline manually with annotators which is creating a bottleneck in the font creation process. If we can automate the process of glyph isolation and determining the metric, it can create a seamless font creation pipeline.
We are working on a model to isolate the required glyphs, one of the limitation of the model is that it cannot determine the baseline of the glyphs.
In order to solve this issue, we can determine the glyph metrics programmatically using Pillow.
We require the vertical and horizontal pixel value of baseline, left and right edge of glyph, glyph width and bearings.

Implementation:

Sub-task:

[x] Write a script to determine the glyph metrics
[ ] Find a solution for all the edge cases of glyphs

Completion Criteria:
To obtain the glyph metrics of Tibetan glyphs

Using pillow, I was able to determine the metric of the glyphs, but there are some edge cases which requires some modification

Edge Cases:

[ ] This method won't work on vowels, needs manual annotation for those.
[ ] If there are noise in the image, it can give incorrect metrics.
[ ] If the glyph is tilted, the baseline will be incorrect.
[ ] If there is even a single pixel on top op baseline, it will consider that as baseline

@10kalden please list done all the glphys that need manual annotation here for documentation


Add tests for dynamic conversation functions

The ability for BotkitConversation messages to include template functions instead of literal values needs test cases in the core Botkit library.
(see #1873 for more context)

not stale


Fixup tags in create-release.hs

The first commit adds the release- prefix to the tag names the tool makes.
The second commit removes the ability to make tags from the script. As-is, this script tags the commits that it creates. However, we don't want to tag those commits, we want to instead tag the merge of the PR that adds those commits to the origin/main.

yep, more than happy to make this change -- I didn't use this when I did the last release, so no objection to removing it at all


[FIX] #252 - update similarity query to refresh the conversation widget

Summary
Fixing #252 by updating the similarityQuery if Smarti analysis results have changed
Other Information
The fix is a kind of crude. Maybe there is a more elegant option.
@Peym4n Do you have any ideas how to pass the similarityQuery into the ConversationWidget without using global vars?

@ruKurz I cannot think of a better way right now. I will improve it when I find some time.


Errors in narratives

There are times when an author wants to convey errors to a reader.

In cases like these, with the default "It looks like there was an error. You might need to run the code examples above for this one to work.", it makes the narrative a bit confusing.
The hard part that thebe and a reader faces is that they skim through the content not running a cell until midway through the page (or only certain cells), when in fact there is an intended flow.
It seems like we need thebe to be able to:

Recognize the intended flow of cells (have they run all dependent cells?)
Run a subsection of cells based on running one deep inside

Alternatively, we need a particular kernel state at a given point in the cells. There's not a communication layer that can give us this yet. I'm imagining some way of asking the kernel if we're in the right state. This could be intractable though.

Good point.  But yeah, I'm not sure what a good/reasonable/not-crazy-complicated solution to figuring out dependent cells would be.
A very simple and incomplete fix would be to just add an option that disables that message about the error, so if you're creating some content that's going to explain a lot about error handling, you can at least save the user that confusion.

Closed this for now, but feel free to reopen it.


Invalid subject name being set as it does not match hostname.

If you look here at how the dnsName is set:
https://github.com/alexandrevilain/temporal-operator/blob/ccb4cf841e6e43adb253e7f831f0f2b28c42716d/pkg/resource/certmanager/mtls_frontend_certificate_builder.go#L53
and then at how the name is generated:
https://github.com/alexandrevilain/temporal-operator/blob/6deb001777cef384460ad113b4db433b1885af3e/api/v1beta1/temporalcluster_types.go#L610
You'll see it generates a dnsName like this: frontend.$clusterName.$namespace.svc.cluster.local which is incorrect-- the server name should not be part of the name.
If this is needed for some reason, there should be support for adding additional SANs/DNS Names to the certificate for generation.
Of course, I could be missing something here..

btw, the workaround here was to use SNI in my client apps

Hi @ElanHasson !
Sorry but I don't get the point, what's wrong with the current code ?
What are you expecting ?
Thanks :)

Oh you mean $clusterName should not be part of the dnsName ?

Correct!
The DNS name in the cert does not match the actual hostname.
The following should be in the cert at a minimum

pod name
fqdn of the service

For those who want to terminate tls at the pod vs ingress / lb: the ability to define the set for DNS name, I.e excluding pod name / fqdn of the svc

Hi @ElanHasson !
Thanks.
No issue with the fqdn of the service looks like a bug, so I'll fix it.
But pod name would require extra work, what's the use case ?

Thank you.
@alexandrevilain
I am referring to the fqdn.
I guess it's not pod name but the service.
One should be able to use mtls without requiring SNI.

Thanks @alexandrevilain !


Guava 18?

I see J2Objc was upgraded to Guava 18 but then reverted back to 14. Why didn't you stick with 18?

 The underlying problem is
that the j2objc translator uses Guava, so whatever version it was built
with prevented use of other versions. We just changed the build to use
jarjar https://code.google.com/p/jarjar/, so the package names of the
classes j2objc uses can be renamed, which avoids conflicts. Now that that's
in place, we should be able to upgrade Guava without breaking other
projects.
On Mon, Apr 27, 2015 at 10:32 AM robertrangel<EMAIL_ADDRESS>wrote:

I see J2Objc was upgraded to Guava 18 but then reverted back to 14. Why
didn't you stick with 18?
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/526.

Guava is now at version 18.


Travis compilation currently fails

This is the error message we get:
"The command "sudo apt-get install gcc-arm-none-eabi" failed and exited with 100 during ."

The build fails from time to time. Last week it was hanging at the installation of gcc-4.8.
Some days, the ubuntu servers take time to answer, and travis kills the build.
I do not know what we can do about it.

Fixed !
It was apparently an unverified GPG key, I added the options --yes --force-yes to apt-get.

Great!


Stopped calling getBytes() on strings passed to Value

Recently while fixing an IT I noticed it was doing new
Value(X.getBytes()).  The Value constructor has accepted strings for a
while.  I automatically fixed this with the following commands.
 # replace code like new Value((X).getBytes()) with new Value(X)
 find . -name "*.java" | xargs sed -r -i 's/new\s+Value\(\((.*)\)[.]getBytes\((UTF_8)?\)\)/new Value\(\1\)/'

 # replace code like new Value(X.getBytes()) with new Value(X)
 find . -name "*.java" | xargs sed -r -i 's/(new\s+Value\(.*)[.]getBytes\((UTF_8)?\)\)/\1\)

need to slightly modify my regex to pickup getBytes(UTF_8) also.  Will create a new PR

I modified my command to also catch UTF_8, reopened this, and then force pushed.

I'm going to go ahead and merge this, since I resolved a conflict and pushed a commit with a fix for the ValueTest I found, and I want to make sure I didn't screw up the commit history when it gets merged.

I'm going to go ahead and merge this, since I resolved a conflict and pushed a commit with a fix for the ValueTest I found

Thanks @ctubbsii.  This was a nice thing to see first thing in the morning.


Where are the pretained Weights?

@ppriyank you could download the pretrained models from BaiduDisk(code: luxr)


When an ExpansionPanel is initialized with isExpanded: true, the arrow points down instead of up

Steps to Reproduce
Minimal example in lib/main.dart:
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
        title: "Test",
        home: new Scaffold(
            appBar: new AppBar(
                title: new Text("Test"),
            ),
            body: new ListView(
                children: <Widget>[
                  new ExpansionPanelList(
                    children: <ExpansionPanel>[
                      new ExpansionPanel(
                          headerBuilder: (BuildContext context, bool isExpanded) => const Text("Test"),
                          body: const Text("Test"),
                          isExpanded: true,
                      ),
                    ],
                  ),
                ],
            ),
        ),
    );
  }
}

Result (on a real Nexus 6P running Android 8.1.0):

On an iPhone X simulator:

Here I've just initialized the panel to expanded, but if I do that and provide a callback, in this manner:
import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool _isExpanded = true;

  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
        title: "Test",
        home: new Scaffold(
            appBar: new AppBar(
                title: new Text("Test"),
            ),
            body: new ListView(
                children: <Widget>[
                  new ExpansionPanelList(
                    expansionCallback: (int panelIndex, bool isExpanded) {
                      setState(() {
                        _isExpanded = !isExpanded;
                      });
                    },
                    children: <ExpansionPanel>[
                      new ExpansionPanel(
                          headerBuilder: (BuildContext context, bool isExpanded) => const Text("Test"),
                          body: const Text("Test"),
                          isExpanded: _isExpanded,
                      ),
                    ],
                  ),
                ],
            ),
        ),
    );
  }
}

Then I get this behaviour: https://vimeo.com/260555109
Logs
Run your application with flutter run and attach all the log output:
Real Nexus 6P:
Launching lib/main.dart on Nexus 6P in debug mode...
Initializing gradle...                                       0.9s
Resolving dependencies...                                    1.4s
Running 'gradlew assembleDebug'...                          16.9s
Built build/app/outputs/apk/debug/app-debug.apk (25.6MB).
Installing build/app/outputs/apk/app.apk...                  6.3s
I/FlutterActivityDelegate(21572): onResume setting current activity to this
Syncing files to device Nexus 6P...                          3.1s

🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on Nexus 6P is available at: http://<IP_ADDRESS>:8101/
For a more detailed help message, press "h". To quit, press "q".

Taking screenshot for Nexus 6P...                           1,303ms
Screenshot written to flutter_01.png (75kB).
Lost connection to device.

iPhone X simulator:
Launching lib/main.dart on iPhone X in debug mode...
Running Xcode clean...                                       1.3s
Starting Xcode build...
 ├─Assembling Flutter resources...                    5.9s
 └─Compiling, linking and signing...                 16.6s
Xcode build done                                            25.8s
Syncing files to device iPhone X...                          2.5s

🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on iPhone X is available at: http://<IP_ADDRESS>:8100/
For a more detailed help message, press "h". To quit, press "q".

Taking screenshot for iPhone X...                           1,676ms
Screenshot written to flutter_01.png (70kB).
Lost connection to device.

Run flutter analyze and attach any output of that command also:
Analyzing /Users/eshan/Desktop/Projects/testapp...
No issues found!
Ran in 6.3s

Flutter Doctor
Paste the output of running flutter doctor -v here:
[✓] Flutter (Channel dev, v0.2.2, on Mac OS X 10.13.1 17B1003, locale en-IN)
    • Flutter version 0.2.2 at /usr/local/flutter
    • Framework revision b9bd51cc36 (4 days ago), 2018-03-13 12:42:29 -0700
    • Engine revision e44cd55fc4
    • Dart version 2.0.0-dev.35.flutter-290c576264

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/eshan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/eshan/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] Connected devices (1 available)
    • Nexus 6P • CVH7N15B05005351 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!

Thank you for the bug report @naiveaiguy , I've found the issue and I'm preparing a fix

Any leaps here?

@fritz-playmaker the issue is long closed. If you see this it is probably a different issue.
If you create a new issue please add the output of flutter doctor -v and the runnable minimal code that allows to reproduce (main.dart).


Revert "Blobs Sync Stack Migration"

Reverts Azure/azure-sdk-for-java#40812
Planning to merge this change back after the GA release that we plan to do soon.

API change check
API changes are not detected in this pull request.

/azp run java - storage - tests

/check-enforcer override

Tests that are failing in CI are unrelated.


Changing map

Is any method to color some roads or to draw some lines to the map?

Is any method to color some roads or to draw some lines to the map?

@DanilaParakhnevich At the moment you can't change the colour of the streets because they are defined by the tile providers, such as OpenStreeMap or Omniscale. What do you want to do with lines on the map?


HTML

#HTML
User Story
As a boot camp student
i want the prework notes to be structured on a website
so that i can find and read info
##Acceptance Criteria
GIVEN a pre work study guide website
WHEN i visit the web site in my browser
THEN i see four boxes titled HTML, CSS, JavaScript w associated notes

#CSS
##User Story
as a boot camp student
i want the pre work structured on a website
So that i can find and read the info
##Acceptance Criteria
GIVEN a pre work study guide website
WHEN i view the study guide
THEN i see a header and footer and 4 boxes w a shadow


Get-IscsiSession seems to lowercase the TargetNodeAddress attribute which causes issues for piping the object etc

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Initially discussed on the kubernetes slack in the csi-windows channel.
Observe the below:
Get-IscsiTarget | ConvertTo-Json
{
    "CimInstanceProperties":  [
                                  {
                                      "Name":  "NodeAddress",
                                      "Value":  "iqn.2000-01.com.synology:XpenoDsm62x.csi-pvc-111-clustera",
                                      "CimType":  14,
                                      "Flags":  "Property, Key, NotModified",
                                      "IsValueModified":  false
                                  }
                              ],
    "NodeAddress":  "iqn.2000-01.com.synology:XpenoDsm62x.csi-pvc-111-clustera",
}

Get-IscsiSession | ConvertTo-Json
{
    "CimInstanceProperties":  [
                                  {
                                      "Name":  "TargetNodeAddress",
                                      "Value":  "iqn.2000-01.com.synology:xpenodsm62x.csi-pvc-111-clustera",
                                      "CimType":  14,
                                      "Flags":  "Property, NotModified",
                                      "IsValueModified":  false
                                  },
                              ],
    "TargetNodeAddress":  "iqn.2000-01.com.synology:xpenodsm62x.csi-pvc-111-clustera",
}

# difference
iqn.2000-01.com.synology:XpenoDsm62x.csi-pvc-111-clustera
iqn.2000-01.com.synology:xpenodsm62x.csi-pvc-111-clustera

# makes these fail
Disconnect-IscsiTarget -NodeAddress $iqn -Confirm:$false
Get-iSCSISession -IscsiTarget $t

Expected behavior
I can use the referenced target to delete a session, or disconnect a target via `NodeAddress` property.

Actual behavior
It depends on the particular use-case:

- `Disconnect-IscsiTarget -NodeAddress $iqn -Confirm:$false` - noop
- `Get-iSCSISession -IscsiTarget $t` - error below
- I'm sure there are other relevant scenarios where things fail due to the discrepancy

Error details
Get-iSCSISession -IscsiTarget $t
Get-iSCSISession : No matching MSFT_iSCSISession objects found by CIM query for enumerating instances of the ROOT/Microsoft/Windows/Storage/MSFT_iSCSISession class on the  CIM server, that are associated with the following instance: MSFT_iSCSITarget (NodeAddress =
"iqn.2000-01.com.synology:SynologyDSM7.d...). Verify query parameters and retry.
At line:1 char:1
+ Get-iSCSISession -IscsiTarget $t
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (MSFT_iSCSISession:String) [Get-IscsiSession], CimJobException
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-IscsiSession

PS C:\Users\Administrator\Projects\democratic-csi> Get-Error
Get-Error : The term 'Get-Error' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-Error
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-Error:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

### Environment data

```powershell
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17763.2867
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.2867
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

### Visuals

_No response_

In my initial debugging I found this article and believe the individual was experiencing exactly this issue: https://community.spiceworks.com/topic/2279882-synology-iscsi-will-not-disconnect-using-powershell-commands

The reported issue is specific to the iSCSI module, which is in the System32 module path and only supports Windows PowerShell. This repository is only for PowerShell Core (PowerShell 7+). Windows PowerShell (5.1) specific issues should be reported with the Feedback Hub app, by choosing "Apps > PowerShell" in category.


package-list.oracle.jdk[78] lacking packages for jsse.jar

These packages are present in jsse.jar of Oracle JDK7 and JDK8 but only sun.security.rsa currently exists in package-list.oracle.jdk* files:
com.sun.net.ssl.internal.ssl
sun.security.provider
sun.security.rsa
sun.security.ssl
sun.security.ssl.krb5

Don't know about jdk9..

They don't seem to even exist in JDK9: http://cr.openjdk.java.net/~mr/jigsaw/ea/module-summary.html

I guess I can add them for jdk7 and 8 but you'll be sorry if you need them in jdk9… What's your use-case again?

I'm trying to get HTTP/2 to work when using vert.x in my ceylon HTTP proxy.. so I'm using the Jetty ALPN to patch up the JDK with ALPN support which is needed by HTTP/2. JBoss modules bring some amount of headache to the equation so I'm trying a plethora of java agents, boot classpath modifications, override.xml declarations etc to see if I can get it working. :sweat_smile:

Fixed.


Update Kubernetes to v1.20.0-k3s1

Proposed Changes

Update Kubernetes to v1.20.0-k3s1 (from v1.20.0-beta.2)
Update Kubernetes to v1.20.0-k3s1 (from v1.20.0-rc.0)
Update to golang 1.15.5
Deprecate the "node-role.kubernetes.io/master" label / taint

Types of Changes
Kubernetes
Verification
k3s --version
Linked Issues
#2556
#2608
kubernetes/kubernetes#95382
Further Comments
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md
New unresolved issue: #2616

Interesting message:
E1202 16:05:53.086690   15132 instance.go:392] Could not construct pre-rendered responses for ServiceAccountIssuerDiscovery endpoints. Endpoints will not be enabled. Error: issuer URL must use https scheme, got: k3s


Help | How to dispose TextEditingController in Controller

I have defined a TextEditingController for all the elements in a List, is it mandatory to dispose the TextEditController from the "GetController", if yes, how ?
Also guide, if the below is the correct way to attach TextEditingController for all rows in the list.
(_ipList is of type List)
_ipList.asMap().forEach((index, element) {
_ipList[index].ipuValue = (index + 1).toString();
_ipList[index].textEditingController = TextEditingController();
});
Thanks in advance

It is not very orthodox to insert TextEditingControllers in lists, but if you do, when the controller is removed, the list will be removed, and it will be removed. You do not need to dispose of anything.

"It is not very orthodox to insert TextEditingControllers in lists,"
Can you please guide me to achieve the most elegant way to do it ?

up


typer 0.28.0 breaks build on Windows due to quoted path

Is there an existing issue for this?

[X] I have searched the existing issues

Nature of Your Project
TypeScript
Current Behavior
After updating cds-type to 0.28.0 and cds 8.x, executing cds build throws error:
error TS5033: Could not write file 'C:/Entwicklung/myproject/gen/srv"/srv/my-service.js': EINVAL: invalid argument, mkdir 'C:\Entwicklung\myproject\gen\srv"'.

    at Plugin.build (C:\Entwicklung\cap-ih\node_modules\@cap-js\cds-typer\cds-plugin.js:139:19)
    at async Promise.allSettled (index 0)
    at async BuildTaskEngine._executePipeline (C:\Users\daniel.boelts\AppData\Roaming\npm\node_modules\@sap\cds-dk\lib\build\buildTaskEngine.js:159:29)
    at async BuildTaskEngine._executeBuildTasks (C:\Users\daniel.boelts\AppData\Roaming\npm\node_modules\@sap\cds-dk\lib\build\buildTaskEngine.js:150:25)
    at async BuildTaskEngine.processTasks (C:\Users\daniel.boelts\AppData\Roaming\npm\node_modules\@sap\cds-dk\lib\build\buildTaskEngine.js:59:33)
    at async build (C:\Users\daniel.boelts\AppData\Roaming\npm\node_modules\@sap\cds-dk\lib\build\index.js:19:16)
    at async Object.build (C:\Users\daniel.boelts\AppData\Roaming\npm\node_modules\@sap\cds-dk\bin\build.js:171:5)
    at async Object.exec (C:\Users\daniel.boelts\AppData\Roaming\npm\node_modules\@sap\cds-dk\bin\cds.js:87:16)

Expected Behavior
Does not throw error.
Steps To Reproduce
Just run cds build on a CAP-Project. It worked with an erlier version of cds-typer.
Environment
- **OS**: Windows 11 (also tested on Windows 10)
- **Node**: 20.18.0
- **npm**: 10.8.2
- **cds-typer**: 0.28.0
- **cds**: 8.3.1
- **tsc**: 5.6.3

Repository Containing a Minimal Reproducible Example
No response
Anything else?
Commit https://github.com/cap-js/cds-typer/commit/c58b8b6c8f78ac1275aba6136dc5035ca92323ef now double-quotes the outDir of tsc command. This leads to this issue. Removing the double quotes makes it work again. I also tried to replace the double-quotes with single-quotes: same behavior. Without double quotes and spaces in path names the issue is like in #330.
Running exactly the same command (with double-quotes) in cmd and powershell: everything works.
And now the interesting thing: the output of tsc shows unix/posix-style path separators. So i tried to convert the "this.task.dest" to posix-style separators (this.task.dest.replaceAll("\\", "/")): it works as expected.
So it seems there is an incompatibility with Windows-Paths, quotes, the exec-method and the tsc command

Hi Daniel,
thanks for reporting this issue! I am currently out of office with limited access to my work devices. I'd therefore recommend you downgrade cds-typer to version 0.27.0 for now. I will be back by next week and look into the matter asap.
Best,
Daniel
Note to self: add a test for the build task to avoid xplatform issues in the future.

And now the interesting thing: the output of tsc shows unix/posix-style path separators. So i tried to convert the "this.task.dest" to posix-style separators (this.task.dest.replaceAll("\\", "/")): it works as expected.
So it seems there is an incompatibility with Windows-Paths, quotes, the exec-method and the tsc command

I could reproduce the error.  After many tries I came to the same conclusion of this being a bug with a mixture of Windows, shell quoting, tsc and node's exec function.

Removing the quotes gets us back to issue #330.
As you mentioned, the same tsc command works if executed manually in a shell.
Most sources on the net recommend to set shell:true, but this only is relevant for spawn.  exec always runs in a shell, and shell:true doesn't help here.

The only fix I can add now is the proposed conversion of \ to / in the path.


Add timezone-buddy extension

Description
This is a small extension that allows creating a list of friends in different timezones and seeing their current time.
Screencast
https://github.com/raycast/extensions/assets/17434432/40654ce2-9849-42d9-816b-6a3e97e9caf1
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for the feedback @pernielsentikaer. I somehow missed the GitHub notification about these comments, I'll review them this week 👍

Awesome @andrebreia 🔥

@pernielsentikaer I've updated the extension based on your feedback!
https://github.com/raycast/extensions/assets/17434432/6307a5f8-60e0-4216-acf1-0539233f044b

Awesome updates, I keep seeing NaN in every person I add, is that a regression?

@andrebreia Sorry for off-topic question: where did you get your wallpaper from? Can you share it please?

Hint: https://www.raycast.com/wallpapers @Pe8er 😉

@pernielsentikaer It should be fixed - it was an issue with the locale when calculating the offset 👍
@Pe8er I'm a big fan of Raycast wallpapers!

Should we consider adding so it's possible to sort buddies by moving them up and down? That might be something we should look into in the first release if data needs to change.
Let me know what you think about that 🙂

@pernielsentikaer Good idea! I'll try to get it done later in the week.

@pernielsentikaer Sorry, it's been busy for the last couple of weeks.
I'm almost done with the moving up/down feature. I'll get it ready for PR next Friday.

All good, no rush at all, just wanted to check if I could help you 🙂


How can I pass commands through CentOS 7 to automatically install software in a Windows container?

I'm interested in installing modules and applications, such as Notepad++.exe and .NET SDK 6.0, inside containers. Is this possible?
I'm considering two approaches:
1 - Transferring files to /storage/shared and subsequently executing .cmd, .batch, or .ps1 scripts automatically.
2 - Using a modified version of an ISO that already includes all the packages I need.
However, I'm concerned that these methods may not be the most professional solutions.

Thanks a lot , I want to ask you, there's a way to do that after installed container ?
I added this to FirstLogonCommands
  <SynchronousCommand wcm:action="add">     <Order>13</Order>     <CommandLine>powershell -NoProfile -ExecutionPolicy Bypass -Command "& { Invoke-WebRequest -Uri 'https://download.visualstudio.microsoft.com/download/pr/37d12f81-b83d-43d8-91be-7c547a2abfe2/4f6bed6c672458dafd805b007509d9ad/dotnet-sdk-6.0.419-win-x64.exe' -OutFile 'C:\OB2\Setup\dotnet-sdk-6.0.x-win-x64.exe'; Start-Process 'C:\PathToDownload\dotnet-sdk-6.0.x-win-x64.exe' -ArgumentList '/quiet', '/norestart' -Wait -PassThru }"</CommandLine>     <Description>Download and Install .NET SDK 6.0 Silently</Description>   </SynchronousCommand>     <SynchronousCommand wcm:action="add">     <Order>14</Order>     <CommandLine>cmd /C notepad.exe</CommandLine>     <Description>Open Notepad</Description> </SynchronousCommand>   <SynchronousCommand wcm:action="add">   <Order>15</Order>   <CommandLine>powershell -NoProfile -ExecutionPolicy Bypass -Command "& { Invoke-WebRequest -Uri 'https://github.com/openbullet/OpenBullet2/releases/download/0.2.5/OpenBullet2.zip' -OutFile 'C:\OpenBullet2.zip'; Expand-Archive -Path 'C:\OpenBullet2.zip' -DestinationPath 'C:\OB2'; Remove-Item 'C:\OpenBullet2.zip' -Force }"</CommandLine>   <Description>Download, Extract, and Delete OpenBullet 2 Zip</Description> </SynchronousCommand>

thanks a lot @kroese good job brother !


RFC: One tab layer on mobile

Right now, You need two tab layers to navigate on mobile. That's a pretty bad user experience because it makes it takes an extra click to get to places, and it makes it more daunting to learn the app. It also takes up valuable screen real estate.

Therefore, there should only be one tab layer with tabs, "Calendar, Search, Added, Map." Better yet, take up less space by using icons instead of text. We already have icons for everything except for the calendar.
There's a technical reason for there to be two layers, since the RightPane and the CourseCalendarPane are two separate things, but I can't imagine it being that difficult to consolidate them

@ap0nia Have you worked on this in your refactor? If the code/idea is still there, we can use that.


Make it easier to specify span type

Just like name, you can now specify type at the top-level.

@manugoyal do you mind sanity checking my changes (specifically the internal data piece)


Add ability to force crop shape and aspect ratio

For my use case, I always need circular cropped images, so I added these 2 missing options to the library:
Add the ability to force:

Crop shape
Aspect ratio

Both can be set using the CropperStyle

Hello @MathiasDL! Very useful feature!
I suggested some points for discussion, on how to make the API more dynamic, please tell me what you think about that?

This PR was succeeded by https://github.com/tamimattafi/krop/pull/14


Inheritance configuration work on list Map Not Object

In this code you see
        TypeAdapterConfig<Request, RequestBaseDto>.NewConfig()
             .Include<PersonalItemRequest, PersonalItemRequestDto>()
             .Include<TrafficRequest, PersonalTrafficRequestDto>()
             .Include<OverTimeRequest, OverTimeRequestDto>()
             .Include<HourlyLeaveRequest, HourlyLeaveRequestDto>()
             .Include<DailyLeaveRequest, DailyLeaveRequestDto>();

            var resault1 = dbContext.Requests.First().Adapt<RequestBaseDto>();

            var resault2 = dbContext.Requests.ToList().Map<List<RequestBaseDto>>();

resault1  is an instance of RequestBaseDto
resault2  is an instance of PersonalItemRequestDto casted on RequestBaseDto
the resaul2 is currect an is what i need But the resault 2 is not ok for me and ithink its issue
and I cant make base class RequestBaseDto abstract class.

@ShahroozAnsari Can you re-test this with the latest release please? (7.4.0)

Hello @ShahroozAnsari , list adapter adapt all  element  in source collection to Type List<Type> destination.
If result2 == list<RequestBaseDto>() and include all element from dbContext.Requests.
Then the result directly corresponds to what you specified here .Map<List<RequestBaseDto>>()


Include link or description to get Docker running

To follow up on #25404, there is a nice explanation of why Docker is important before creating the development cluster and how to confirm it is running but no link or description of how to get it running.

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

ID: 3aa58af5-02ea-e425-1fc5-9f588d394016
Version Independent ID: 86440381-783a-6e49-bacb-59b1c1581d81
Content: Quickly create a .NET app on Service Fabric in Azure
Content Source: articles/service-fabric/service-fabric-quickstart-dotnet.md
Service: service-fabric
GitHub Login: @MikkelHegn
Microsoft Alias: mikhegn

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

@MikkelHegn Can you please look into the feedback and update the document as appropriate.

PR incoming...

This has been merged and should go live in a couple hours. #please-close


remove curve25519_64_slow from dist

This PR removes Hacl_Curve25519_64_Slow from dist/gcc-compatible as this variant was used only for proofs (needed for the bignum library using a 2^64-radix representation).

I don't remember this discussion. I think it's better to remove Hacl_Curve25519_64_Slow to ensure that it's not used by chance. We have a portable C implementation (Hacl_Curve25519_51) that uses a 2^51-radix representation and  a mixed assembly-C implementation (Hacl_Curve25519_64) that uses a 2^64-radix representation and relies on the Intel ADX and BMI2 instructions. So, there is no point in keeping Hacl_Curve25519_64_Slow in dist/.

There are two things of value in this code:
(1) the proof that the 64-bit arithmetic is correct. This is mainly a proof in pure F*.
(2) the low-star code that relies on intrinsics. This is currently too slow to use, but if one day, compilers start supporting ADX intrinsics, this code could become relevant.
I find even just the proofs for (1) to be useful, but if Marina feels that this code and its proofs are super-ceded by Bignum256 (e.g.) then removing it makes sense to me. I agree we should make sure the code is not accidentally used but the "_Slow" suffix should ensure that, no?

This PR keeps both proofs and Low* code for a 2^64-radix representation but doesn't extract it into dist/.
As for the ADX/MULX instructions, we may need to add a new implementation of Bignum256 using the _addcarryx_u64  and _mulx_u64 intrinsics. (Our Low* implementation for curve25519_64_slow relies on Bignum256 except for the modular reduction, so there is no "extra" code.)


Workflow failure: Could not resolve to a PullRequest with the number of 0

I'm getting consecutive failures in the workflow. This is my output:
Checking GitHub labels ...
2023/09/06 12:23:33 Error that we cannot handle, Could not resolve to a PullRequest with the number of 0.

My workflow file
name: Label checker
on:
  pull_request:
    types:
      - opened
      - reopened
      - edited
      - synchronize
      - labeled
      - unlabeled

jobs:
  check_labels:
    name: Check labels
    runs-on: ubuntu-latest
    steps:
      - uses: docker://agilepathway/pull-request-label-checker:latest
        with:
          one_of: fix,feature,build,documentation,refactor,chore,style,test,performance,revert
          none_of: blocked
          repo_token: ${{ secrets.GITHUB_TOKEN }}

Any ideas?

Hi @garaujodev, thanks for raising this.  I suspect this was inadvertently caused by v1.5.0 which was released last week.  I'm about to go on holiday for a week, so as I don't have time to find the proper fix before I go I'll revert that change in a new release, working on that right now.

Done, I have created a new release v1.5.4 which reverts the suspect v1.5.0 change.  @garaujodev please confirm that this has fixed things for you, thanks.

@garaujodev Can you tell what kind of event type it is exactly that is generating this error? It works for me for pull_request_review and also pull_request.

My workflow looks like this:
name: Check labels

on:
  pull_request:
    types: [opened, synchronize, reopened, labeled, unlabeled]

jobs:
  check-labels:
    name: Check PR labels
    runs-on: ubuntu-22.04
    steps:
      - name: Golden master label validation
        uses: docker://agilepathway/pull-request-label-checker:v1.5.0
        with:
          one_of: golden-master-validated
          none_of: do-not-merge
          repo_token: ${{ secrets.GITHUB_TOKEN }}

//EDIT
Also checked with latest version and it works too.

@garaujodev Thanks for reply. I think workflow_run event may not provide accurate PR data. Here is event payload described and I can see it has pull_requests key containing array of pull requests. workflow_run event may be triggered by variety of events and may or may not contain pull_requests key in payload for example when triggering workflow run was started by push event on main branch. It would fail even without my change with pull_request_review fix.
In theory this action could try to check:

if exist: github.event.pull_request then use this
if exist: github.event.workflow_run.pull_requests[0] then use this

But this seems a little hackish.
If this label check should only work with pull requests events then you should use
on:
  pull_request:
    ...

Thanks for looking into this so thoroughly, @piotrekkr, and for providing the additional info above, @garaujodev.  I agree with @piotrekkr's proposal to always use the pull_request event and never use the workflow_run event  when using this label checker.  If that sounds ok to you both then the only action I now need to take is a new release reinstating the functionality that I reverted as a precaution last week.

the only action I now need to take is a new release reinstating the functionality that I reverted as a precaution last week.

This is now done, in #400.  I'll close this issue now, thanks again to both of you, @piotrekkr and @garaujodev for the thorough investigation 🙏🏻


rename locales to use correct casing

i love you

hopefully this won't break the machines where I've manually renamed the files

it might 🤷♂ you are drunk bro 🍷


Add a first guess of automatic testing

This is a first guess of github actions running our tests with docker.

That is a great idea. @amotl and I have already talked about setting up a routine for different Python versions >= 3.6 . I'd also like to activate the experimental feature of dependabot to make additional checks on dependancies.

@gutzbenj I will merge this PR bc it does what I expected. Test was failing because someone missed to adapted them. My latest merge fixed this issue.


Impossible to use telegraf socket_listener on Sandbox

On Mac OS I can't find the way to post messages to UDP socket from my Java program.
This is what I added to default configuration that comes with Sandbox:
[[inputs.socket_listener]]     service_address = "udp://:8094"    data_format = "influx"
Then I use
echo "mymeasurement,my_tag_key=mytagvalue my_field=\"my field value\"" | nc -u localhost 8094
but the measurement is not being posted to the InfluxDB. I suspect this is something about Docker networking, but have no idea, how to fix it..

We need to create a port mapping from outside the container to the inside...  So, you are right.  It has to do with Docker networking.

added :8089 as an exposed port for UDP data collection....

Please also mention it somewhere in the documentation.

@vgarmash -- I think there are two issues here.  The first is whether InfluxDB can receive UDP directly.  That is what I ended up addressing.  The second is related to following the instructions outlined in the Telegraf Socket Listener tutorial.  It requires you to make modifications to the docker compose file --- so that the Telegraf agent can listen on the ports that you highlighted above.
In the instructions, it describes the modifications you must made to the docker compose file to expose port 8094 and the Telegraf config to make this work.  Have a look.  I believe both issues are now addressed.


[CMake] Add sanity tests for python file lists

Replaces #15166
See discussion in #15368
@gunan @martinwicke Friendly ping.

Can one of the admins verify this patch?

@mrry for CMAKE-fu to check whether this is testing what it should be.

@yifeif @gunan with the aim of making all_opensource_files redundant, I think this is great. But I'm not sure about the specifics.

@martinwicke We need such special syntax of some sort.
I have documented the syntax in the relevant places for clarification.

Why should we add the new syntax? Why not make the test slightly more flexible, and just comment out the lines we use the special syntax instead?
My concern is the syntax is specific to this, and will be alien to anyone adding new modules. So they will just "hack" the test instead of trying to write the special syntax.

@gunan Okay, but how do we differentiate between comments and whitelisted entries?

Why not make the test slightly more flexible, and just comment out the lines we use the special syntax instead?

Okay, fine.

This can be as simple as "If some folder is left out from this list, we do not care about them" and "if something is commented, we know these should exist in our python packages, but there are bugs with these packages, and they will be added to the pip package as soon as possible.


[Fix][Connector-V2][ES]source deserializer error and inappropriate

Purpose of this pull request
for timestamp type data this is wrong

The error message is as follows

Therefore, for the timestamp type, it should be parsed into LocalDateTime like this
LocalDateTime.ofInstant(Instant.ofEpochMilli(Long.parseLong(fieldValue)), ZoneId.systemDefault());

string parse inappropriate
It is inappropriate to directly call toString() for string type data, and the sink will receive redundant "

final
The current pr has already dealt with the above problems, and the final effect is as follows

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

e2e for es seems to be problematic

e2e for es seems to be problematic

Yup, it seems that this change effect the origin test cases.

Can you fix e2e for this? Thanks

@Hisoka-X ok, I'll fix it in the next pr

@Hisoka-X ok, I'll fix it in the next pr

ok for me, but we will waiting all ci pass to merge this PR.

@Hisoka-X ok, I'll fix it in the next pr

ok for me, but we will waiting all ci pass to merge this PR.

CI also has some problems

@iture123 PTAL.

@Hisoka-X ok, I'll fix it in the next pr

ok for me, but we will waiting all ci pass to merge this PR.

CI also has some problems:

Yes, I'm testing locally

@Hisoka-X @TyrantLucifer TBR

cc @iture123 PTAL

@TyrantLucifer @Hisoka-X  This conflict is caused by the different ways of processing data types that es is not mapped to. The processing logic of the dev branch throws an exception, but I think this method is not very friendly. Is it better to give a default type user experience

Please fix the conflicts

@EricJoy2048 fixed

@iture123 there is indeed a problem, I have moved the logic of timestamp processing into parseDate


Query language

Query language to support:

field selection
calculated values
aggregation
ordering
time range filtering
predicate filtering
joins on composite keys (inner/outer)
time window joins

This is largerly done. I will create more detailed issues from now on.


Add server,json dotenfFile convention

@bdw429s Can you add to the readme about the new configuration locations?  Thanks!

Ohh, yes.  Good call :+1:

@elpete Note added to the readme about the new functionality

Published as v2.2.0


Reset "About", "Links" and "Contact" menu to cassavabase and other related content

conf files changes?

I removed those section for the toolbar


doom-manilla: add theme

A variant of Solarized Light with more contrast. A lighter background, darker foreground, and some color tweaks.

Is there a setup function to make an official screenshot? At any rate here are a quick pair to show what the theme looks like.

Thanks for the submission, but we are not currently accepting new themes as our API is about to undergo a total rewrite. Side note: your theme doesn't adhere to the formatting of our solarized themes (i.e. you used an old version of our themes as a basis for yours) -- in particular, package faces are not properly commented and comments were not carried over (Granted, this formatted was only introduced last month, so it's understandable that you missed it).
Sorry for the trouble!

Ah I see. I've been using this for almost a year now (making small tweaks along the way) so I branched things off a while ago. It's not quite a solarized-light-high-contrast theme because I've changed the colors too much. I thought I would finally share what I've got but that definitely makes sense about not adding new themes! Thanks for taking a look at this and sorry for the inadvertent line noise ;)


Migrate away from using dataURIs

Feature Request
Description
A security concern has been brought up about the usage of data URIs in Terra UI. While there doesn't appear to be a security concern directly with our usage of data URIs, by allowing data URIs in an application, it opens the application up to vulnerabilities. Teams are interested in mitigating this concern with Content Security Policies that disallow all usage of data URIs.
What this means for Terra UI.
If teams set up this CSP to disallow all usage of dataURIs, they would no longer see terra icons we've embedded as background-images into components as dataURIs.
Currently, we transform SVGs into dataURIs and set them as background images for components we have which include component specific SVGs. This enables the ability to set thet background-image to a CSS custom property and swap out the background image to another image if needed.
We'll want to look at storing SVGs with the components and making them available as part of the individual component packages. These SVGs will then be used as background images but will not be dataURI'd

Need to follow up with team and see if we can lock dataURI usage down to only images.

Looking at https://security.stackexchange.com/questions/194909/data-image-with-csp#comment386755_194909 I'm not sure data URIs in img tags are a XSS threat. But we should look explicitly for any XSS attack that can prove this is an issue.

Talked with @nickpith some more on this, closing as n/a. Plan to keep using dataURIs as background-images in CSS files.


Add boundary benchmark tests

Theoretical values:
With only velocity boundary:
Level Plane: Velocity in x at 0.1s = 0.4905 m/s
Inclined Plane: Velocity magnitude at 0.1s = 0.4905 m/s
With both velocity and friction:
Level Plane: Velocity in x at 0.1s = 0.40554 m/s
Inclined Plane: Velocity magnitude at 0.1s = 0.4905 m/s

Note: input files still in the old style (without set entity)


Improve naming of getImmediateDependencies function

Reason/Context
We need to find a replacement name for this function since it is not clear what it does.
https://github.com/asyncapi/generator-model-sdk/blob/0a8f5e3093620a4ff064361c896fc6955ad136e0/src/models/CommonModel.ts#L186
Description
What it means is any direct/immediate/nearest dependencies of models. An example could modelA have the property prop1 that refers to another model - modelB. The immediate dependencies for modelA is then modelB because it is referenced through prop1. If modelB had any dependencies on its own, modelA would not return those since it is not the immediate dependencies.
@magicmatatjahu suggested getNearestDependencies as a replacement which I agree could be a good solution, any other suggestions?

Looking at the comment
/**
   * This function returns an array of `$id`s from all the CommonModel's it immediate depends on.
   */

What does "immediate depends" means? I'm trying to understand what it does so I can suggest a good name.

hey, @aayushmau5 sorry for the late response must have slipped through the notifications. I have updated the issue with a better description of what the function does.

Oops, forgot about this. Sorry. Looking at the explanation, the only alternative I can think of is getDirectDependencies but I like getNearestDependencies more.

Okay let's go with getNearestDependencies, it is definitely better than what we have now.


Exceptions populate as generic "C++ exception"; exception handlers and xpcall callbacks not called.

Compiler: Visual Studio 2019 v16.7.5
Lua sku: LuaJIT 2.1.0-beta3 (x86)
I'm having an issue where C++ exceptions are not being handled correctly in a couple of places. I have not changed LuaJIT lately, though did make a big update to change from sol2 to sol3 recently. As far as I can tell, running:
local status, result = xpcall(callback, onEventError, payload)

onEventError will never actually be called.
Similarly, exceptions example provides some oddities, in that the only console output is:
=== exception_handler ===
C++ exception

rather than having the actual .what() of the exception.
This is with both SOL_ALL_SAFETIES_ON and SOL_EXCEPTIONS_SAFE_PROPAGATION defined.
I'm not yet entirely convinced that this is a sol-specific issue, as I don't think sol does anything related to xpcall. However, I would appreciate any wisdom that can be found here. Again, this same environment (other than changes to facilitate upgrading to sol3) used to work just fine for me.

Updated from 3.2.1 to 3.2.2, and the .what() is now the generic "C++ exception" instead of the useful info it had before.

Yeah this is an ongoing issue and is related to the other (#965) problem...
I need a better way of handling exceptions throughout, and then ways to configure how that is handled better for the end-user to get the behavior they want in all cases. There is some overlap from nested functions and the like, though, so I need to be careful.....


Fix broken links in quickstart and core concepts

Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Describe changes
Fixed a few links in the documentation.

@wjayesh You should probably merge develop into it and then try again assuming the evidently bug is fixed on develop

Besides the evidently bug, looks good to me as well! Good catch 👍

How about we just merge it, this doesn't touch any code that could in any way lead to failing tests?

Good catch! I am running the websites through some tools to make sure we catch all of these automatically. We should try do come up with a strategy for this

sounds good. automating this would be best

I looked into automating it in the past. A big problem is that (because we break lines based on line-length) there are a quite large / not insignificant number of links that aren't actually broken, but they're just partial links.
There are lots of tools available, but we'll have a huge exception list if we want to automate this all. Not breaking based on line-length would make this much easier to address.

This should also be labeled "internal", right? Did the auto labeler not do its work?

@jwwwb I think the issues is that @wjayesh has not yet been added to the teams.yaml file. @wjayesh you should add yourself to this file. I'm not sure which branch to do so on. (@htahir1?)

@alex-zenml @htahir1 I have added it in the develop branch.


Example recipe for isolating service namespaces ?

I dont see this here but is anyone aware of a network policy recipe/ design guide for isolating certain "control plane" namespaces from application namespaces while allowing for certain namespaces to use day-n monitoring services (such as Prometheus, EFK) to also run in a "day n services" namespace and service all application namespaces ? I realize this is a slightly open ended question perhaps but looking for any white papers/ recipes/ recommended segmentation topologies that someone may have already prepared for the purpose of control plane-data plane protection and isolation with the aim of a "secure by default" kubernetes cluster model.

I agree this is more of a recommendation topic and not so much of a recipe.
I recently gave a talk about Kubernetes multi-tenancy and here's what I recommended:

when you create a namespace "foo", apply the deny-all-ingress to all pods in "foo"
then, only whitelist the stuff that needs access to pods in "foo"
make sure you can automate (1) –for that we have "GKE Policy Management" feature.

Agreed.  There are some more details of course … for instance in the example recommendations you listed below, we would also need RBAC policies that prevent namespaxce users fro mchanging their network policies to over-ride this isolation … however at the same time we still need to allow them to create other network policies for isolating/ or non-isolating between different tiers of their application within a single namespace. So we need some types of network policies that are only configurable by the cluster admin or namespace admin and some that are also configurable by application developers/ normal users.  Hence I was looking to see if someone has already done such an analysis and provided any suggested recommendations … if not, I would be happy to briefly discuss/ work with you or anyone interested in collaborating on this (and similarly there also issues with need for selective rbac and selective filtering when using day-N monitoring services running in special service namespaces).
From: Ahmet Alp Balkan<EMAIL_ADDRESS>Reply-To: ahmetb/kubernetes-network-policy-recipes<EMAIL_ADDRESS>Date: Wednesday, September 19, 2018 at 4:58 PM
To: ahmetb/kubernetes-network-policy-recipes<EMAIL_ADDRESS>Cc: Sanjeev Rampal<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ahmetb/kubernetes-network-policy-recipes] Example recipe for isolating service namespaces ? (#37)
I agree this is more of a recommendation topic and not so much of a recipe.
I recently gave a talk about Kubernetes multi-tenancyhttps://ahmet.im/blog/google-cloud-next-18/ and here's what I recommended:

  when you create a namespace "foo", apply the deny-all-ingress to all pods in "foo"

  then, only whitelist the stuff that needs access to pods in "foo"

  make sure you can automate (1) –for that we have "GKE Policy Management" feature.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ahmetb/kubernetes-network-policy-recipes/issues/37#issuecomment-422956031, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIL80Cy9n0DlP5kfHm25muqy_H_wkq1Lks5ucq_VgaJpZM4Ww2zX.

@srampal Yeah this is a multitenancy discussion alright :) I'll close this issue.
I recommend you to:

watch davidopp's multi-tenancy talk from kubecon eu
a. watch my talk I linked above (they're very similar)
participate in wg-kubernetes-multitenancy email list which is under Kubernetes Community efforts.

This repo isn't the right forum to ask/discuss this. Your question is way beyond network policies.


Decrease amount of the gas sent for Ropsten env

Amount of the gas sent for Ropsten env has been decreased to fix failing
migrations of contracts ("Migrations" exceeded the block limit (with a gas value you set)).

I verified that the new value allows for successful migration: https://github.com/keep-network/tbtc/runs/3020339460?check_suite_focus=true.

W


Update manpage and completions.

Autogenerated by the sponsors-maintainers-man-completions workflow.

This was triggered by #15085.


Allow configurable error pages for all errors

M2 currently just has the whole response as a compiled in static string, which is fast, but sort of sucks for custom error responses.  Instead, convert these to bformat specs and then allow the error responses to be configurable, but still static.  Maybe a file given, or a SQL query?  Not sure what's easiest.
zedshaw added on 2010-08-25 01:07:46:
Let's do this one in 2.0 as well.

Working on this.


[Bug]手动执行后后台一直在继续执行任务

Search before asking

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

What happened
在local模式下，我手动执行了下flinksql任务，是kafka数据写入hive表，提示执行成功。我在运维里看不到这个任务，只是在控制台历史中有这个执行记录。我在hive表中看，发现会一直继续插入数据。删表重建后，数据又会继续写入。也查不到一直写数据的这个进程，不知道在哪里执行这个写入数据的任务。

What you expected to happen
同上
How to reproduce
同上
Anything else
No response
Version
0.7.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Hi. This depends on whether the port number is specified.
If a port number is specified, a new JobManager will be created.
If not, it will execute on the program itself.
For example, set rest.post = '8086'.

In the local mode.

In the local mode.

Ok, thanks. I'll try

Hi. This depends on whether the port number is specified. If a port number is specified, a new JobManager will be created. If not, it will execute on the program itself. For example, set rest.post = '8086'.

May I ask whether it should be configured in the yml file of flink or in the yml file of dinky? Thank you


update(testimonial): database integration

Overview

Init table testimonials, users
Integrate module testimonial with database

cc @jabardigitalservice/jds-backend
Evidence

title: update module testimonial
project: Desa Digital
participants:  @ayocodingit

just curious, why all the migration files are renamed? @hafizulf

cc. @ayocodingit IMO the name indicates that we use these files to create tables. but, I still can't find the naming convention itself.

agreed, but is it really safe? I'm afraid that it will break the migration chain created by knex.

cc @ayocodingit


[e2e] generic environment in host and docker host envs

What does this PR do?

Big commit, but tiny change: use a generics in Host and Docker environments
Motivation

Allow using environments.Docker and environments.Host on both local and aws.
Additional Notes

On top of https://github.com/DataDog/datadog-agent/pull/23153 and https://github.com/DataDog/test-infra-definitions/tree/carlosroman/fast-e2e-tests, this will allow to use a generic suite and use the same tests on both local and aws.
You could re-use your TestSuite by adding a generic to it. If needed, different providers and/or resources can share the same aws environment
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


I457 disable turbolinks

fixes https://github.com/antleaf/nims-mdr-development/issues/457
I don't think there is a problem with files being saved, though I am a little uncertain with this PR.
For whatever reason, the two js functions I identified were not being called, though the code was being included. Once I required them explicitly in the application.js file, they were being called.

@anusharanganathan Thank you, we will review it on our test environment.

@nabeta, thanks for the commit. I am merging this PR as it looks fine to me.


Rebuild Pypy

sorry for the bot closing the PR with your changes on it, I've done my best to restore it

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin please rerender

@CJ-Wright, thanks for that. They were debugging changes only, so likely will have to be removed later on anyway, so don't worry about it.
Unfortunately, this is still pending CMake support for Pypy. I notice that CMake 3.18.1 has this now. Then we need to upgrade STIR to use the (not so) new FindPython, see https://github.com/UCL/STIR/issues/655

feel free to use the bot's PR rather than mine and close this one


Issue with k8s.io/docs/setup/independent/high-availability/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
As instructed if kubernetes is 1.9+, apiServerExtraArgs needs to be updated as below in config.yaml. But kubeadm init --config=config.yaml won't parse config.yaml if the apiServerExtraArgs is added in config.yaml:
apiServerExtraArgs:
  endpoint-reconciler-type=lease

Proposed Solution:
endpoint-reconciler-type: lease
should be used.
Page to Update:
https://kubernetes.io/...

/assign @errordeveloper
/assign @luxas

As discovered here the documentation suggested wrong yaml line "endpoint-reconciler-type=lease"
This is already fixed by this PR so we can close this issue.


Release 0.3.3

Version 0.3.3 (2016/04/21)
New Features

ScaleIO v2 support #355
EC2 Tags added to Volumes & Snapshots #314

Enhancements

Use of official Amazon EC2 SDK #359
Added a disable feature for create/remove volume #366
Added ScaleIO troubleshooting information #367

Bug Fixes

Fixes URLs for documentation when viewed via Github #337
Fixes logging bug on Ubuntu 14.04 #377
Fixes module start timeout error #376
Fixes ScaleIO authentication loop bug #375

Thank You

@philippfranke
@echupriyanov
@oskoss
@meganmurawski

Closing this PR for now in order to do the build outside the scope of the PR system.


Enable widevine

Site thinks widevine is not installed but it is enabled by default in pyppeteer. Stealth makes him report no widevine. Need to fix.

I don't really know anything about widevine, but are you sure it comes with pyppeteer's default Chromium? I just tested by running headful and looking in chrome://components/, and didn't see widevine in there. Also just tried the suggestion here of using a Chrome binary, and I did see it then. There's also this method, but not sure if that would work.
Again, I don't really know anything about widevine, so I'm sorry if this doesn't help at all.


[Bug]: First OnCharacteristicChanged not triggering subscription

Component/Nuget
BluetoothLE Client (Shiny.BluetoothLE)
What operating system(s) are effected?

[X] iOS (13+ supported)
[ ] Mac Catalyst
[X] Android (8+ supported)

Version(s) of Operation Systems
Android 14
iOS 18.2
Hosting Model

[X] MAUI
[ ] Native/Classic Xamarin
[ ] Manual

Steps To Reproduce
`IDisposable notificationSubscription;
var c = await x.GetCharacteristicAsync("49535343-fe7d-4ae5-8fa9-9fafd205e455", "49535343-1e4d-4bd9-ba61-23c647249616");
if (c != null)
{
Debug.WriteLine($"Characteristic found");
if (c.CanNotify())
{
Debug.WriteLine($"Characteristic can notify");
Debug.WriteLine($"Subscribing characteristic");
this.notificationSubscription = x.NotifyCharacteristic(c).SubscribeAsync(async v =>
{
Debug.WriteLine("######################################################################");
}
}
}`
Expected Behavior
Shiny.BluetoothLE.IPeripheral: Information: [Native Method - OnCharacteristicChanged
should always trigger the logic in the subscription.
Actual Behavior
Shiny.BluetoothLE.IPeripheral: Information: [Native Method - OnCharacteristicChanged
sometimes is not firing the subscription for the first OnCharacteristicChanged.
Exception or Log output
[BluetoothAdapter] getBleEnabledArray(): ON [BluetoothAdapter] BLE support array set: [true, true, true, true, true, true, true] [BluetoothAdapter] getBleEnabledArray(): ON [BluetoothAdapter] semIsBleEnabled(): ON [BluetoothAdapter] getBleEnabledArray(): ON [BluetoothLeScanner] Start Scan with callback [BluetoothLeScanner] onScannerRegistered() - status=0 scannerId=5 mScannerId=0 [ViewRootImpl@d69eb92[MainActivity]] onDisplayChanged oldDisplayState=2 newDisplayState=2 [ProfileInstaller] Installing profile for de.companyname.app [BluetoothAdapter] getBleEnabledArray(): ON [BluetoothAdapter] getBleEnabledArray(): ON [BluetoothLeScanner] Stop Scan with callback [BluetoothAdapter] BluetoothAdapter() : de.companyname.app [0:] DEVICE disconnected [DOTNET] Disconnected [BluetoothAdapter] getBleEnabledArray(): ON [CompatibilityChangeReporter] Compat change id reported: 265103382; UID 10367; state: ENABLED [BluetoothGatt] connect() - device: XX:XX:XX:XX:FC:C9, auto: false [BluetoothGatt] registerApp() [BluetoothGatt] registerApp() - UUID=3793644c-b5c6-4adf-902e-e280aa9b8217 [BluetoothGatt] onClientRegistered() - status=0 clientIf=7 [BluetoothGatt] requestConnectionPriority() - params: 0 [DOTNET] Connecting [BluetoothAdapter] getBleEnabledArray(): ON [BluetoothGatt] onClientConnectionState() - status=0 clientIf=7 device=XX:XX:XX:XX:FC:C9 Thread started:  #15 [0:] Searching Characteristics [app] Accessing hidden method Landroid/bluetooth/BluetoothGatt;->refresh()Z (unsupported, reflection, allowed) [BluetoothGatt] refresh() - device: XX:XX:XX:XX:FC:C9 [0:] Shiny.BluetoothLE.IPeripheral: Information: Clear Internal Cache Refresh Result: True [BluetoothGatt] discoverServices() - device: XX:XX:XX:XX:FC:C9 [DOTNET] Connected [0:]  [BluetoothGatt] onConnectionUpdated() - Device=XX:XX:XX:XX:FC:C9 interval=6 latency=0 timeout=500 status=0 [BluetoothGatt] onConnectionUpdated() - Device=XX:XX:XX:XX:FC:C9 interval=36 latency=0 timeout=500 status=0 [BluetoothGatt] onConnectionUpdated() - Device=XX:XX:XX:XX:FC:C9 interval=6 latency=0 timeout=500 status=0 [BluetoothGatt] onSearchComplete() = Device=XX:XX:XX:XX:FC:C9 Status=0 [BluetoothGatt] onConnectionUpdated() - Device=XX:XX:XX:XX:FC:C9 interval=36 latency=0 timeout=500 status=0 [0:] Characteristic found [0:] Characteristic can notify [0:] Subscribing characteristic [0:] Shiny.BluetoothLE.IPeripheral: Information: Subscribing to Notification Characteristic 49535343-fe7d-4ae5-8fa9-9fafd205e455 / 49535343-1e4d-4bd9-ba61-23c647249616 [BluetoothGatt] setCharacteristicNotification() - uuid: 49535343-1e4d-4bd9-ba61-23c647249616 enable: true [0:] Shiny.BluetoothLE.IPeripheral: Information: Subscribed to Notification Characteristic 49535343-fe7d-4ae5-8fa9-9fafd205e455 / 49535343-1e4d-4bd9-ba61-23c647249616 [0:] Shiny.BluetoothLE.IPeripheral: Information: [Native Method - OnCharacteristicChanged] Service: 49535343-fe7d-4ae5-8fa9-9fafd205e455 - Characteristic: 49535343-1e4d-4bd9-ba61-23c647249616 - Status:  <======= No Log output (##########) for this OnCharacteristicChanged Thread started:  #16 [0:] Shiny.BluetoothLE.IPeripheral: Information: [Native Method - OnCharacteristicChanged] Service: 49535343-fe7d-4ae5-8fa9-9fafd205e455 - Characteristic: 49535343-1e4d-4bd9-ba61-23c647249616 - Status:  [0:] ###################################################################### [0:] [Received] 0146F6","FID":"E4625 [0:] Shiny.BluetoothLE.IPeripheral: Information: [Native Method - OnCharacteristicChanged] Service: 49535343-fe7d-4ae5-8fa9-9fafd205e455 - Characteristic: 49535343-1e4d-4bd9-ba61-23c647249616 - Status:  [0:] ###################################################################### [0:] [Received] 0224F435726","Ser":"
Code Sample
No response
Code of Conduct

[X] I have supplied a reproducible sample that is NOT FROM THE SHINY SAMPLES!
[X] I am a Sponsor OR I am using the LATEST stable/beta version from nuget (v3.0 stable - ALPHAS are not taking issues - Sponsors can still send v2 issues)
[X] I am Sponsor OR My GitHub account is 30+ days old
[X] I understand that if I am checking these boxes and I am not actually following what they are saying, I will be removed from this repository!

I have not seen this issue before.  Are you sending a notification immediately upon subscription?  How do I repro this?
Have you tried WhenNotificationReceived & EnableNotification directly?


Support workspace model registry as an alternative

support workspace registry to avoid having to use model registry in uc if customer has not yet migrated

I will fix this @stikkireddy. You can assign this to me.


Could not decode media stream on neon.data.dataloader.DataLoader

Hi Anil,
In my env, your code works in many cases, but I got an runtime error while processing an archive file (cpio) including some specific wave data. Here is the execution log (complete log here).:
(snip)
  Linear Layer 'Linear_0': 256 inputs, 2 outputs
  Activation Layer 'Linear_0_Softmax': Softmax
terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not decode media stream
./run.sh: line 45: 11211 Aborted                 (core dumped) ./model.py -e $num_epochs -w $train_dir -r 0 -z 64 -v --no_progress_bar -elec $elec -out $out_dir

By debugging, I found this exception is raised on loader/src/codec.hpp:L139. The returned value from avcodec_decode_audio4() is -1094995529. This error code indicates AVERROR_INVALIDDATA (-0x41444E49, INDA). On my environment, it is reproducible when processing 2_1418_0.3.wav. Here is the test code to reproduce the runtime error:
https://gist.github.com/smly/a0cf1506db570b0085487b3d76c6dc12#file-test_dataloader_audioparams-py
For now, I'm not sure the detail but I think this error causes with using recent version of libavcodec. Here is the version information on my environment (detail).
* Ubuntu 16.04
* libavutil 54, libavcodec 56, libavformat 56

Do you have any information about this error? (or should I report this issue on NervanaSystems/neon?) Anyway, thank you very much for sharing this interesting example on processing signal data.
Kohei

Hi Kohei,
Thanks for reporting this. As you implied, this seems to be an issue with libav. I wonder if you will run into the same error if you try to play the wave file in question with ffmpeg.
Just to be sure, you might want to try recreating the archive (cpio) files. They get generated automatically if you delete them using clear.sh.
You might also want to try unpacking the archive file using the cpio command and making sure that the unpacked wave files are exactly the same as the originals.
There's also the possibility that scikits.audiolab is creating corrupt wave files. You could try using some other library (e.g. scipy.io.wavfile) to create the wave files in that case.
Anil

@smly
I get the same error. Any success?

@smly @ternaus Ran into this same issue. Any luck finding a workaround? I'm also on 16.04 with the same environment version information. I tried replacing audiolab with scipy.io.wavefile's write function, but it didn't solve the issue. Thanks!

Partially helped to filter frequencies to [0.1 - 180Hz].
Still not everything is working. But problem is less severe, meaning less broken files.
#!/usr/bin/env python
"""
Extract the data out of .mat files and save as .wav files.
"""

import sys
import os
import glob
import numpy as np
from scipy import io
from scipy.io.wavfile import write
from scipy.signal import spectrogram
from scipy.signal import butter, lfilter

def extract(path):
    print('Extracting data into %s...' % path)
    filelist = glob.glob(os.path.join(path, '*.mat'))
    for srcfile in filelist:
        wavwrite(srcfile)

def butter_bandpass(lowcut, highcut, fs, order=5):
    nyq = 0.5 * fs
    low = lowcut / nyq
    high = highcut / nyq
    b, a = butter(order, [low, high], btype='band')
    return b, a

def butter_bandpass_filter(data, lowcut, highcut, fs, order=5):
    b, a = butter_bandpass(lowcut, highcut, fs, order=order)
    y = lfilter(b, a, data)
    return y

def f(x):
    return butter_bandpass_filter(x, 0.1, 180, 400, order=5)

def wavwrite(srcfile):
    try:
        mat = io.loadmat(srcfile, verify_compressed_data_integrity=False)
    except ValueError:
        print('Could not load %s' % srcfile)
        return

    dat = mat['dataStruct'][0, 0][0]
    mn = dat.min()
    mx = dat.max()
    mx = float(max(abs(mx), abs(mn)))
    if mx != 0:
        dat *= 0x7FFF / mx

    for elec in range(16):
        dstfile = srcfile.replace('mat', str(elec) + '.wav')
        aud = dat[:, elec] - np.mean(dat[:, elec])

        write(dstfile, 400, np.int16(f(aud)))

if len(sys.argv) < 2:
    print('Usage %s /path/to/data' % sys.argv[0])
    sys.exit(0)

for subj_id in range(1, 4):
    for prefix in ['train_', 'test_']:
        path = os.path.join(sys.argv[1], prefix + str(subj_id))
        extract(path)

Still unable to completely fix the issue, tried neon 1.6.0 and followed https://github.com/NervanaSystems/neon/issues/302
to install ffmpeg and remake neon, but the problem persists.
I run into the error on the following command on my setup-
./model.py -e 16 -w ../input//train_2/ -r 0 -z 64 -v --no_progress_bar -elec 3 -out ../output/

@anlthms Do you have any other ideas on what could cause this discrepancy? Thanks so much for your help.

@smly, I don't have a solution, but I can confirm that I have the same checksum for the problematic file. I also tried running your tests (I hadn't noticed them before) and did not encounter the error. But I'm on ubuntu 14.04 and probably have an older version of libav than what you have.
testcase_elec2()
archive is successfully generated on debug1-ingested/
data_loader is ok
testcase_elec3()
archive is successfully generated on debug1-ingested/
data_loader is ok

At this point, it would be interesting to check if ffmpeg is able to decode the file in your environment.


updated 79389

Thanks for the pull request! Before a real human comes by, please make sure your PR has all of the below criteria checked

[ ] Give a description on what the PR is for.
[ ] Make sure your PR is based on the DEVELOP branch
[x] Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review

Please make sure you also read contribution guide and followed all of the steps.
Thanks!

Thank god for build tests xD, ur missing some ,


Configuring and adding custom log levels for Lumberjack Loggers and its log-drivers

Is it possible to configure custom log levels (based on severity) of type LumberjackLogLevel and how to configure it to support the log-drivers with the custom levels? The documentation (and the underlying code) shows that the log levels are predefined and I'm not sure how to approach this.

I understand you are asking to add a custom LumberjackLogLevel like LumberjackLogLevel.moreThanCritical or something like that.
Is that correct?
Why is not enough with the existing LogLevels?

Understood, that makes sense. I'll work around with a custom level at the Payload for the time being. Thanks for the help.


Properly retrieve implementations/child DBs

If an implementation can not be reached or is skipped for any reason, this is not reflected in the "page selector".
Perhaps it would be prudent to save the id's of the skipped implementations to be able to query again, excluding these, and continue to do this until a list of valid implementations are available through the dropdown widget, while keeping to the "page limit".

Closed by #55


declared test_port variable to easily switch test ports

port 8080 is being used multiple times in this test file, but scenarios where port 8080 is already used by other apps forces you to change all text where 8080 is mentioned. Instead, i declared a TEST_PORT = 8080 variable that can be easily changed if port 8080 is not being used by the app

@jbragg687 Good remark, I just changed that in the code, do I proceed and merge it ?


0.99.0 - error on SVG path click

Hi,
Since v0.99.0
TypeError: c.className.indexOf is not a function
JS error is thrown after SVG <path> element is clicked.
https://codepen.io/anon/pen/EXoyWQ

This piece of code is inside getWavesEffectElement() method and target.classList.contains('waves-effect') was changed to target.className.indexOf('waves-effect') !== -1

See https://github.com/Dogfalo/materialize/issues/2005


update version to 2.2.0

as the title.

Is 2.2.0 still ABI compatible with 2.2.1 ?
New features compares with 2.2.1 ?

yes it is compatible with 2.1.1


[$1000] DEV: image does not show in full view on Staging Server

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

go to Settings > Preferences
turn on Use Staging Server
go to any chat and send any image
click on that image

Expected Result:
image should show
Actual Result:
Hmm... it's not here appears
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: dev
Reproducible in staging?: dev
Reproducible in production?: dev
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/13c26dfb-dd9e-4f5a-95b4-530221cc883b
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692347578989049
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015f141e51646e3dfd
Upwork Job ID:<PHONE_NUMBER>867475968
Last Price Increase: 2023-08-30

I'm getting this on sign-in:

Will need to look into my dev machine tomorrow to repro this properly.

Reproduced:
https://github.com/Expensify/App/assets/59587260/ea11e26b-1fe7-4791-85dc-382c65a8ae1f

Proposal
Please re-state the problem that we are trying to solve in this issue.
image does not show in full view on Staging Server
What is the root cause of that problem?
when staging server enabled basebath is append with /staging/staging/chat-attachments/6539852094807903528/w_8b5e53ab84b08131c2eede50f1cea6bd6b0b0937.jpg
https://github.com/Expensify/App/blob/6e17b64be0e571773bed42446346045c659640d6/src/libs/tryResolveUrlFromApiRoot.js#L22
here we are checking with equal statment so that its failling https://github.com/Expensify/App/blob/6e17b64be0e571773bed42446346045c659640d6/src/components/Attachments/AttachmentCarousel/index.js#L44
What changes do you think we should make in order to solve the problem?
we need change the condition into
 const initialPage = _.findIndex(attachmentsFromReport, (a) => source.endsWith(a.source));

Result

@tienifr @0xmiroslav this works well in Staging so lets make sure we fix this so we dont break staging

I think the automation failed here @kadiealexander can you please pay $1000 to @0xmiroslav and $1000 to @tienifr  and $250 to @gadhiyamanan thanks!

Payouts due:
Issue Reporter: $250 to @gadhiyamanan
Contributor: $1000 to @tienifr
Contributor+: $1000 to @0xmiroslav
Eligible for 50% #urgency bonus? No
Upwork job is here.

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x] [@0xmiroslav] The PR that introduced the bug has been identified. Link to the PR:
[x] [@0xmiroslav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[x] [@0xmiroslav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[x] [@0xmiroslav] Determine if we should create a regression test for this bug.
[x] [@0xmiroslav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[x] [@kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@kadiealexander this is eligible for $250 because it was reported before 30 August
cc: @mountiny

Sorry @gadhiyamanan, these edge cases are funny. I sent a bonus to make the total $250 for you.

Adjusted to add the bonus.

@0xmiroslav as seen in another issues, if your payment is the last pending task here, can we close this isse?

I will go ahead and close it, let me know if that needs to be otherwise


Create format.yml

Codecov Report

Merging #32 (e4370d9) into main (180efb3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          163       163
=========================================
  Hits           163       163

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Set access only from <IP_ADDRESS>

My server is exposed to the world, is there a way I can set access only available locally?
If so I will setup a tunnel to the server to connect.

You mean that your server is directly connected to the Internet ?  If so, isn't better to use a firewall to block access ?

Closing this issue.  Please re-open if needed.


ARROW-11405: [Rust] Support multiple custom logical nodes

Rational
Currently, users of the DefaultPhysicalPlanner can add one custom logical planner. This implies that if they use two different custom nodes, they will be unable to use two custom logical planners, one per node, to plan a logical plan with both nodes.
This PR
This PR is built on top of #9333 and allows users to use more than one custom planner. The idea here is that by doing so, we enable all kinds of customization on which people can share custom nodes and respective custom planner (e.g. on a separate crate), and consumers can simply use them together with other custom nodes.

@alamb , we discussed this some months ago, when we introduced the extension node. Here is the PR :)

@alamb , we discussed this some months ago, when we introduced the extension node. Here is the PR :)

This PR and https://github.com/apache/arrow/pull/9333 will require changes to IOx but I think those changes will be for the better

This PR and https://github.com/apache/arrow/pull/9333 will require changes to IOx but I think those changes will be for the better

I will review this PR over the weekend

I will review this PR over the weekend


Update docs remove extra returns from loss and extra args from callback

Checklist

[ ] Appropriate tests were added
[ ] Any code changes were done in a way that does not break public API
[ ] All documentation related to code changes were updated
[ ] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[ ] Any new documentation only uses public API

Additional context
Add any other context about the problem here.

There's another optimization error in there.

The error now looks unrelated, it comes from the brusselator example in showcase https://buildkite.com/julialang/scimldocs/builds/5911#019238d1-6fd5-4ab1-85a3-0f43477ebbdc

The bruss part should be fixed now.

Since only that linkcheck failed, I'll just merge this.


getEnvironment works only once?

I have an app that getEnvironment() with success.
That app also allows to change the locale by reloading its frame with a different url (location.href = '../fr/index.html for instance). This is exactly the same app but with different texts.
Once reloaded as its french version, the app displays well but fails to getEnvironment() (error is Timeout occurred as no response was received from listener window).
It is because getEnvironment() can be called only once? Because the url has changed? The reported error is not clear about that.

@Javarome Need a quick clarification: Is this regarding the Channel Integration Framework API getEnvironment ?

Yes it is.

Not sure it is related but is it normal that reloading the frame (juste by using right-click menu) produces a BlobNotFound response?

@Javarome Thanks for the clarification. Have created a bug for the feature team to investigate this; will get back to you soon with further info on this.

@Javarome Per info from the feature team, getEnvironment or any other CIF API should work after frame reload.
The issue you are facing is probably because the new URL does not bring in the widget library, i.e. msdyn_ciLibrary.js. Please check if the new URL brings this library along.
If the new URL does bring the widget library, can you please mention the repro steps that we can follow to understand the problem better.

I can confirm that the new URL does bring the MS library (msdyn_ciLibrary.js) for a number of reasons:

if not, I would get some getEnvironment does not exist on undefined error instead of a CIF Timeout occurred as no response was received from listener window exception in the promise catch.
the reloaded version fails independently of which version it is (i.e. if I start with the english app, the french reloaded version fails, and if I start with the french app, the english reloaded version fails).
when reloading the logs show success on using the API but not on promises success, as you can see below.
Basically, the initial load of myapp/en/index.html logs:

ms= {CIFramework: {…}}
Adding event listener []
getEnvironment ["{"appid":"xxx","e…"crmVersion":"9.1.0000.4626","customParams":null}"]
// Here some logs induced by the "then()" of getEnvironment()'s promise

then if I click a button of myapp that that does location.href="../fr/index.html" I see the frame reloading the app then in the logs:
ms= {CIFramework: {…}}
Adding event listener []
DynamicsTransport: error: getEnvironment failed ["{"message":"Timeout occurred as no response was received from listener window"}"]0: "{"message":"Timeout occurred as no response was received from listener window"}"  // Displayed by the catch() of getEnvironment's promise

Hi @susikka, Do you have any news on this case?

@Javarome I've created a bug for the dev team to investigate this issue; will reach out to you if there is any update from them or if we need any more info on this.

@Javarome can you please check if domain is set correctly after the location.href is changed. Please see the doc Pass Dynamics 365 URL to widget library for more details.
I am guessing the error Timeout occurred as no response was received from listener window maybe because of missing return Promise.resolve(); statement in the an event handler function. Please check this as well. (related issue: #1078 )
If the problem still persists, please send the error logs to<EMAIL_ADDRESS>

@Javarome Hi, just checking if you were able to resolve this issue. If you still need help, please comment below and mention the info requested in my previous comment.

Hi,
Sorry about the reply, I am on vacation these days. We did check the domain
and it was still ok after location.href
So no progress here.
Le jeu. 30 mai 2019 à 08:08, Sushant Sikka<EMAIL_ADDRESS>a
écrit :

@Javarome https://github.com/Javarome Hi, just checking if you were
able to resolve this issue. If you still need help, please comment below
and mention the info requested in my previous comment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/1060?email_source=notifications&email_token=AARJ7OMHDNKZZFVFAF4V74TPX5VNDA5CNFSM4HMYF6IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWROSKQ#issuecomment-497215786,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARJ7OIWRUNDFEX2D4EMMEDPX5VNDANCNFSM4HMYF6IA
.

@Javarome thanks for your response. Please send the error logs to<EMAIL_ADDRESS>

Doing more tests, I can see the following error message when changing language (location.href reload):
msdyn_internal_ci_library.js:1 Uncaught (in promise) Map(2) {"message" => "Sender domain is not a recognised or is invalid and hence the message cant be processed", "n" => "onpagenavigate - raiseEvent"}

but as I said the domain does not change as we jump for a domain/fr url to a domain/en one (or the other way around).
Could this be related to the Approved domain channel parameter? We tried several values but it is not clear what is expected here. We left it blank as specifying a value made things even worse (even first load failing to get events at all).

For what it's worth checking, I can share the values we use here (poor translation from french included):
Channel URL: https://my.domain.com/dynamics/fr/index.html
Enable outgoing communication: Yes
Channels order: 0
API version: 1.0
Approved domain: --- (left blank)
Custom parameters: --- (left blank)

When changing language to english we just do location.href = '/dynamics/en/index.html'. The app reloads fine with english text but then CIF fails.

@Javarome, Does this issue still exist?
If not, can you please please confirm whether you are passing the uci domain correctly either as a URL parameter or a script tag (https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/channel-integration-framework/pass-url-widget-library). If not, please check what does document.referrer gets set to after you do location.href = ... ; It could be getting set to widget domain instead of CRM domain. You should ideally pass the crm domain explicitly rather than relying on document.referrer. You may also look at our twilio sample (https://www.microsoft.com/en-us/download/details.aspx?id=57666) for reference.

@Javarome waiting for your reply on this

Closing this issue because of no activity.

Hi susikka
I hope you are doing well, I am facing the same issue in CIF V2.0. I've included my code below.
Microsoft.CIFramework.addHandler("onmodechanged", handlerFunction, { eventData: true });
var handlerFunction = function(eventData) {
    return new Promise(function(resolve, reject) {
        try {
            console.log(eventData);
            return resolve();
        } catch(error) {
            return reject();
        }
    });
};

Also tried this
Microsoft.CIFramework.addHandler("onmodechanged", handlerFunction);
but facing the same response

{ message → '{"message":"Not able to post the request to receiving window after multiple tries."}', msdyn_name → "onmodechanged - sendMessage" }

I am waiting for your kind response, thanks
Jazeb Sheraz