About the motion vector

Thank you so much for open-sourcing your code!  But I used the provided environment to print the motion vector directly and found that it is not complete, (There is no corresponding motion vector for some areas).  Looking forward to your reply!

Hey JXH-SHU,
could you provide a screenshot of the motion vectors output by mv-extractor? Depending on the visual content it is normal that some motion vectors are close to zero and consequently not visible. Take a look at the title image in the readme. Many vectors are actually zero or close to zero.
It just means that the macro block associated to the motion vector hasn't moved since the last frame.

Thank you for your reply. I printed the motion vector and block division maps. I found that there is no motion vector where the motion is severe in the two images

.

Without seeing the entire sequence, I would say the motion vector field looks quite reasonable. The camera seems to tilt horizontally, which is why the entire background moves horizontally. The players probably move in such a way that they stay in the same location between the frames. Hence, the motion vectors are of small magnitude.
In any case, mv-extractor just extracts what is provided in the video. You can also try to transcode into MPEG-4. If you first split your videos into individual frames, you can encode them into an MPEG-4 video with the following command:
ffmpeg -y -r <f> -i %06d.jpg -c:v mpeg4 -vf 'pad=ceil(iw/2)*2:ceil(ih/2)*2' -f rawvideo out.mp4

(You can also transcode directly, but you'll have to figure out he exact ffmpeg command)

Thanks again for your reply. In fact, I also extract data from a mp4 video. Here, I added  three consecutive frames. What confuses me is that there is no corresponding optical flow in places with intense motion.

To me, the motion vectors still look reasonable. At least in the three frames you posted above, there is not much motion around the players, whereas the entire background moves to the left.
However, I am not entirely sure, why the macroblock segmentation is not present in the area of the players.


Request to Remove Package - github.com/PappasBrent/graph-spec

Hi Go team,
I recently deleted the following repo:
github.com/PappasBrent/graph-spec
Could it please be deleted from pkg.go.dev? Given that the link to the package is now broken, it only makes sense to me that it should be removed.
Thank you

@PappasBrent
I am 99% sure it's completely automated.

Ok, great. I still see it on the package list, so I figured I would open an issue in case the removal wasn't automated.

https://pkg.go.dev/github.com/PappasBrent/graph-spec now returns a 404.


ISPN-15197 Near Cache With Bloom Filter enabled doesn't work properly…

… if jboss-marshalling is used
I hadn't updated the externalizer on the previous PR. So, I also added a test with multiple servers.

Integrated into main, thanks @jabolina !


[google cloud deployment] SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON

It worked fine local, but the following error occurred after google cloud deployment.
SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
I think... It seems to be a fetch and .then problem.
JavaScript code expected to receive JSON but got something else instead (probably HTML in the form of a server-side error).
Thanks for any help.

Hi @joohayoung  my apologies I have moved off google cloud now as it was giving me a lot of issues.  I have made a major refactor of the code, fixing many issues and moving from flask to fastapi, if you are still interested please consider running git fetch to update your code to the latest version and try following the steps in the README to run the app. Thanks for trying it!


Add stytch_session to oauth AuthenticateResponse

The OAuthSession interface is currently missing stytch_session meaning that setting session_management_type: "stytch" does not return a session token. This PR fixes this by adding the proper types to the client.
See discussion in: https://stytch.slack.com/archives/C015UDB4X33/p1645050233365429

I forgot to check in the generated files so CI was failing, would you mind having a look again @nikhil-stytch?

Hey @pslii thanks for making the PR! Seems like I can't push commits here, so I'm closing this out and creating a new PR for these changes at https://github.com/stytchauth/stytch-node/pull/110


Brave icon replace + Beta and Nightly

I created a new icon for the Brave Browser as the previous one felt underwhelming. In addition, I made icons for Brave Beta and Brave Nightly
Brave

Brave Beta

Brave Nightly

This doesn't follow the round lines design, and has inconsistent line thicknesses in unnecessary places.

has inconsistent line thicknesses in unnecessary places.

Surely some thickness can decreased in places to make it visually appealing. Does this new design work better?

Not perfect but definitely better

Being realistic, you can't make a perfect replicate with limitations. Final proposition

Looks great!


No output in headset.

Hi,
I just tried this with Population: One where this was working perfectly. However, since the last update (I think), when I start the game, I don't have an output in my headset. The game is running, but I'm staying in the steam vr "space" environment. Any ideas what is causing this ? Population: One is made from Unity.
Thanks

Thanks for replying so quickly. Yeah I just tried the most recent  with no luck :(

:( guess OpenXR support must be implemented to reshade then to make work. Not sure when that will happen as the focus is not VR for the main reshade dev. (As reshade VR is essential for me I might look into it when I find time. )

I just updated the release with a preview of the latest reshade code which includes OpenXR support. Make sure to use the reshade setup to configure it for OpenXR

I tried this on dcs. The menu appears on desktop but the changes do not show on the headset

I just updated the release with a preview of the latest reshade code which includes OpenXR support. Make sure to use the reshade setup to configure it for OpenXR

I tried this on dcs. The menu appears on desktop but the changes do not show on the headset

I just tried DCS through SteamVR and it works for me with the regular DLL method when placed in the DCS bin folder as described here (https://vrtoolkit.retrolux.de/gamelist.html) If you use OpenXR you need to install reshade to DCS with the Reshade installer I also added on the last release and select OpenXR.
2D and VR use indepedent reshade configs (reshade.ini & reshadeVR.ini). If you see the reshade icon in SteamVR dashboard once you are in a VR scene it will be working (https://vrtoolkit.retrolux.de/configuration.html). In case you dont use SteamVR you can only change the settings through the ini file or in the preset itself. To test you can change the preset in the reshadeVR.ini to a stronger variant (++) to directly see the difference better.

I just updated the release with a preview of the latest reshade code which includes OpenXR support. Make sure to use the reshade setup to configure it for OpenXR

I tried this on dcs. The menu appears on desktop but the changes do not show on the headset

I just tried DCS through SteamVR and it works for me with the regular DLL method when placed in the DCS bin folder as described here (https://vrtoolkit.retrolux.de/gamelist.html) If you use OpenXR you need to install reshade to DCS with the Reshade installer I also added on the last release and select OpenXR.
2D and VR use indepedent reshade configs (reshade.ini & reshadeVR.ini). If you see the reshade icon in SteamVR dashboard once you are in a VR scene it will be working (https://vrtoolkit.retrolux.de/configuration.html). In case you dont use SteamVR you can only change the settings through the ini file or in the preset itself. To test you can change the preset in the reshadeVR.ini to a stronger variant (++) to directly see the difference better.

Ah thats probably the issue then I dont use steamvr.
Is it possible to make changes through steam and then boot directly into the game without steam and the settings will be saved?

Yes that would be possible and acutally a good Idea. With that you can set everything up to your liking and then use OpenXR for better performance for non SteamVR headsets


AssetServer doesn't work in FromWorld

Bevy version
0.12.1
Relevant system information
MacOs Intel
`AdapterInfo { name: "AMD Radeon Pro 5300M", vendor: 0, device: 0, device_type: DiscreteGpu, driver: "", driver_info: "", backend: Metal }`

What you did
I have a resource storing some materials called MapAssets:
#[derive(Resource)]
pub struct MapAssets {
    pub mat: Handle<StandardMaterial>
}

This material uses a base_color_texture loaded from the assets/ folder.
If I load that texture in my FromWorld impl
impl FromWorld for MapAssets {
    fn from_world(world: &mut World) -> Self {
       let server = world.resource::<AssetServer>();
       let texture = server.load("my_texture.png);
       let mut materials = world.resource_mut::<Assets<StandardMaterial>>;
       let mat = materials.add(StandardMaterial::from(texture));
       Self { mat }
    }
}

The object is invisible.
On the other hand if I use a Startup system using Res<AssetServer> and insert the resource through Commands it works as expected.

Are you able to reproduce with this code based on the 3d_scene example? I had to modify your code slightly to make it compile.
use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_systems(Startup, setup)
        .init_resource::<MapAssets>()
        .run();
}

#[derive(Resource)]
pub struct MapAssets {
    pub mat: Handle<StandardMaterial>,
}

impl FromWorld for MapAssets {
    fn from_world(world: &mut World) -> Self {
        let server = world.resource::<AssetServer>();
        let texture = server.load("branding/icon.png");
        let mut materials = world.resource_mut::<Assets<StandardMaterial>>();
        let mat = materials.add(StandardMaterial::from(texture));
        Self { mat }
    }
}

/// set up a simple 3D scene
fn setup(mut commands: Commands, mut meshes: ResMut<Assets<Mesh>>, map_assets: Res<MapAssets>) {
    commands.spawn(PbrBundle {
        mesh: meshes.add(shape::Cube { size: 1.0 }),
        material: map_assets.mat.clone(),
        transform: Transform::from_xyz(0.0, 0.5, 0.0),
        ..default()
    });
    // light
    commands.spawn(PointLightBundle {
        point_light: PointLight {
            intensity: 250_000.0,
            shadows_enabled: true,
            ..default()
        },
        transform: Transform::from_xyz(4.0, 8.0, 4.0),
        ..default()
    });
    // camera
    commands.spawn(Camera3dBundle {
        transform: Transform::from_xyz(-2.5, 4.5, 9.0).looking_at(Vec3::ZERO, Vec3::Y),
        ..default()
    });
}

On my end (MacOS, M1), I am seeing a cube.

I ran this no cube is visible

I suspect it has something to do with the nested handle: Handle<StandardMatierial> stores a Handle<Image>.
For example if I run the code of @rparrett with bevy_inspector_egui , the material exists but the texture field is blank, not even the default white square.

I just hit the same bug (on 0.13), and I don't have any nesting, just a Handle<Image> inside a custom Resource. I need to upgrade to 0.14 see if that changes anything, but the symptoms are exactly the same, loading from a Startup system works but not from FromWorld::from_world().


task115_sec_filings_embeddings.json

The added task file should be inside tasks directory:
https://github.com/allenai/natural-instructions-expansion/tree/master/tasks

Thanks for the PR! Also the latest task name in the repo is task117, so please n

It seems to me that the task is well-defined for humans (i.e., humans would not be able to read the task description and solve it to a good extent). If that's the case, we can't accept your submission, unfortunately.


Kapacitor Alert.Exec() can't find executable in $PATH

I'm running a tick script that feeds JSON and an email address to a NodeJS Application built with nexe. The executable is placed in /usr/local/bin/ and can be resolved:
azureuser@influx-dev:~/tickscripts$ whereis templatemail
templatemail: /usr/local/bin/templatemail

When reading /var/log/kapacitor/kapacitor.log I see the following error:
[ID1234:alert3] 2016/03/04 13:57:33 E! error running alert command: exec: "templatemail": executable file not found in $PATH
Does capacitor not adhere to the regular $PATH variables? Or is there a special path that I can set?
This is the tick script responsible for sending a notification to the templatemailer:
var s = stream
  .from().measurement('ID1234')
  .window()
    .period(15m)
    .every(5m)

s.alert()
    .id('ID1234')
    .message('{{ .ID }} is {{ .Level }} value: {{ index .Fields "importantval" }}')
    .warn(lambda: "importantval" > 23.0)
    .crit(lambda: "importantval" > 25.0)
    .log('/tmp/alerts2.log')
    .stateChangesOnly()
    .exec('templatemail', 'violationwarning', '{name:"Felix<EMAIL_ADDRESS>

The content of $PATH variable depends on the user. I suppose kapacitor is not running under user azureuser. Is best practise not to depend on $PATH in these cases and use full path to the executable:
s.alert()
    ...
    .exec('/usr/local/bin/templatemail', 'violationwarning', '{name:"Felix<EMAIL_ADDRESS>

I am very sorry to have wasted your time! Thank you for a clear and quick response. I should have thought of that. Have a great day!

You're welcome.


Clarify VCONN_CLOSE serialization in developer docs

Plugins may want to use both TLS and HTTP hooks without a mutex. An example of this is the ja3_fingerprint, which has a possible race condition between the VCONN_CLOSE hook and HTTP hooks according to the current documentation. However, these events happen on the same thread and are thus serialized. This updates the documentation to clarify that the current behavior is guaranteed.

[approve ci rocky]


fix side nav that doesn't display

This PR fixes the side nav on small screen sizes. I don't know much about materialize, but I'm assuming that the side nav init function only works if your target list is a direct child of one of the parents of the toggle button. I moved the list outside of the Dialog component and it works now.
I'm not sure if this will have some unintended side effects as I am not very familiar with this project and I don't know all of the reasons behind using the Dialog component, but I did test it locally and everything seems to be working.
see #60

lgtm - apologies for the slow response


IS: packaging the KID in a Tag

@gunnarif  -- It seems that the Islandic KID is packaged in a tag:
   18(
     [
       / protected / h'a2012604c4483526eba1164a1d54' / {
           \ alg \ 1:-7 \ ECDSA 256 \,
           **\ kid \ 4:4(
             h'3526eba1164a1d54'
           )**
         } / ,
       / unprotected / {},
       / payload / h'a401624953041a60a3890b061a609a4e8b390103a101a4617681aa6263696f30312049532f41424331323334234b62636f62495362646e026264746a323032312d30312d303162697378254469726563746f72617465206f66204865616c7468206f66204963656c616e642054657374626d616d4f52472d313030303330323135626d706c45552f312f32302f313532386273640262746769383430353339303036627670674a30374258303363646f626a323030302d30312d3031636e616da462666e6b5072c3b366617261736f6e62676e70c39e6172662041c3b0205072c3b3666163666e746a50524f46415241534f4e63676e746e54484152463c41443c50524f46416376657265312e302e30',
       / signature / h'f33ba8160454cce0b5bd39fc5c5948e9316b3bbd1a71740e2d7f7d75ffdc9750d632372c0c45c8d2d3311f12a57275da2f8ef6f0edea7276c8d6db652883ad9d'
     ]
   )

Is that correct/intentional =- rfc8152 seems to suggest an opaque bstring -- and the spec the first 8 bytes of the hash ?
Or am I missing something subtle ?

@dirkx
It's a bug on my part.
Fixed in next pull request.

@gunnarif can this issue be closed?

Maybe if @dirkx can confirm, it would be appreciated

Looking lovely and passes all our baseline sign/etc checks.
dirkx@cheesegrater ehn-sign-verify-python-trivial % sh test-dgc-testdata.sh IS
dgc-testdata/IS/2DCode/raw/1.json
Issuer              : IS
Experation time     :<PHONE_NUMBER>
Issued At           :<PHONE_NUMBER>
Health payload      : {"v": [{"ci": "01 IS/ABC1234#K", "co": "IS", "dn": 2, "dt": "2021-01-01", "is": "Directorate of Health of Iceland Test", "ma": "ORG-100030215", "mp": "EU/1/20/1528", "sd": 2, "tg": "840539006", "vp": "J07BX03"}], "dob": "2000-01-01", "nam": {"fn": "Pr\u00f3farason", "gn": "\u00dearf A\u00f0 Pr\u00f3fa", "fnt": "PROFARASON", "gnt": "THARF<AD<PROFA"}, "ver": "1.0.0"}
dgc-testdata/IS/2DCode/raw/2.json
Issuer              : IS
Experation time     :<PHONE_NUMBER>
Issued At           :<PHONE_NUMBER>
Health payload      : {"t": [{"ci": "01 IS/ABC4556#8", "co": "IS", "dr": "2021-05-14T17:46:45Z", "is": "Directorate of Health of Iceland Test", "ma": "1304", "sc": "2021-05-14T13:46:45Z", "tc": "Department of ClinicalMicrobiology,Landspitali", "tg": "840539006", "tr": "260415000", "tt": "LP6464-4"}], "dob": "2000-01-01", "nam": {"fn": "Mj\u00f6ggottson", "gn": "Ekki V\u00edrus", "fnt": "MJOEGGOTTSON", "gnt": "EKKI<VIRUS"}, "ver": "1.0.0"}
```


Created filestoragecontainersettings.md and added 'settings' to filestoragecontainers and relevant APIs

Instructions: Add any supporting information, such as a description of the PR changes, here.

[!NOTE]
The following guidance is for Microsoft employees only. Community contributors can ignore this message; our content team will manage the status.

After you've created your PR, expand this section for tips and additional instructions.

do not merge is the default PR status and is automatically added to all open PRs that don't have the ready to merge label.
Add the ready for content review label to start a review. Your PR won't be reviewed until you add this label.
If your content reviewer requests changes, review the feedback and address accordingly as soon as possible to keep your pull request moving forward. After you address the feedback, remove the changes requested label, add the review feedback addressed label, and select the Re-request review icon next to the content reviewer's alias. If you can't add labels, add a comment with #feedback-addressed to the pull request.
After the content review is complete, your reviewer will add the content review complete label. When the updates in this PR are ready for external customers to use, replace the do not merge label with ready to merge and the PR will be merged within 24 working hours.
Pull requests that are inactive for more than 6 weeks will be automatically closed. Before that, you receive reminders at 2 weeks, 4 weeks, and 6 weeks. If you still need the PR, you can reopen or recreate the request.

For more information, see the Content review process summary.

@vibehavjha , this is the public mirror repo for external contributions. Please open a PR in the private authoring repo so that you can follow our content review process. If you're not a contributor, see this topic: https://dev.azure.com/msazure/One/_wiki/wikis/Microsoft Graph Partners/614277/Get-started
I'm going to close this PR.


Test: Size (Collections)

Size Rule had enhancements over past few commits, we need to test it better and check how it works with other rules.
Need to test with Collection Rules:

list (test_11)
dict (test_12)
json (test_13)
String (test_13)

All of the tests can be found in tests/rules/test_size.py file

i'll do it


Fix infoGan Gluon tutorial errors (fix NightlyTestsForBinaries breakage)

Description
This change fixes a broken tutorial by adding a missing dependency and avoiding a divide by 0 warning.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Update notebook to avoid divide by 0 causing a warning.
[x] Add MXBoard dependency which was missing.

Please take a look, @NRauschmayr, @ThomasDelteil, @marcoabreu.


Please use full text search for filtering repositories list

Filtering the list of repositories apparently only searches for folder names.
However, there may be too many similar names. Let's say, I have subdirectories which represent the actual repositories or projects, and they contain folders with branches, like "develop". From searching "develop" I cannot tell which repository is the one I need.
If Repoz would search in branch names and folder names as well, the list could be reduced a lot more.

I don't really get that. Would you please upload one or more screenshots?
Speaking for me, RepoZ is listing all repositories by the folder name, that's right. Because this is the closest thing I can think of to name a git repository. If I clone RepoZ from GitHub, the folder name is "RepoZ" as well by default. If I clone with an explicit name like git clone https://github.com/awaescher/RepoZ RepoZ-The-Second, "RepoZ-The-Second" is the folder name and therefore will be shown in RepoZ.
Okay, so the folder name is considered as repository name in RepoZ-jargon. The UI will then filter on the repository name, not its full repository path or any subdirectories.

Well, let's say I have repos "project1", "project2", "project3". Each project has it's folder.
In each folder there is a subfolder called "master", which contains the master branch. From master I add a worktree (git add worktree ../develop develop), such that each project folder contains another subfolder "develop".
As far as RepoZ is concerned, all those folders appear as "develop". I would like to filter for "project1", in order to see "master" and "develop" specifically for this project.
Furthermore, one might choose to name a branch with a rather long descriptive name, however use a shorter name for the worktree. E.g. there could be a branch "project1_webserve_config_ui" within a worktree called "ui". It would be nice to filter for "project1" or "webserve" regardless of the folder name.

Okay. I've never seen a setup like this. I'm not even sure how you work with RepoZ then.
However, the solution to filter for branches and paths was in my mind since a long time. You seem to be the first user which really needs that so I implemented it now.
RepoZ applied filters to the repository names in the past. That's still the default. However, you can now control that.
    "dev"      Filters on the name "dev"
    "n dev"    Filters on the name "dev", filter target "n " is optional
    "b dev"    Filters on the branch "dev"
    "p dev"    Filters on the path "dev"

These filter targets are available in RepoZ itself, grr and grrui once I merge branch feature/Filter-Improvements

Thanks!


How to add custom inline blot (or any blot whatsoever)?

I'm getting out of ideas. After trying for an eternity I'd like to ask directly how it's possible to add a blot in Angular.
I want the user to be able to annotate text. Ideally it would be possible to add overlapping annotation but I'd be happy if adding a simple blot would work for a start.
I'm essentially creating an Annotation:
import {InlineBlot} from "parchment";
import * as QuillNamespace from 'quill';
let Quill: any = QuillNamespace;

class Annotation extends InlineBlot {
  blotName = "annotation";
  tagName = "SPAN";
  className = "annotation-class";
  static create(node: Node){
    console.log("CREATE");
    return node;
  }
  static formats() {
    return true as any;
  }
}

Quill.register(Annotation, true);

which I try to add like this:
this.quill.on('selection-change', function(range: RangeStatic) {
  if (range) {
    if (range.length > 0) {
      quill.formatText(range, Annotation.tagName, true);
    }
  }
});

However, nothing really happens. There's nothing crashing but there's nothing added as well.
What am I missing here?

Absolutely late to the party, but since your blot is using both a tag and class name, I believe you need to use both somehow.
I had some experience with embeds, and for those there is a special method.
Did you manage to solve this somehow? If not, I could try to take a look :)

https://quilljs.com/guides/cloning-medium-with-parchment/
I'm theory you should use blot name, not tag name I think?

hey @falk-stefan.. had the same issue and after nearly a day fiddling around I found this issue here.. https://github.com/slab/quill/issues/4224
we should not import from "parchment" for some reason, we should do:
import InlineBlot from 'quill/blots/inline';
instead.


Reskin the Error page (ErrorFallback.tsx)

remove "ask devs to do something" link
colors and fonts and maybe use a bigger icon

There are designs for this Error Page in the Figma Handoff

@DarksightKellar are you working on this one?

Yeah I had a local WIP branch for this before the bug bash. I'll have to wrap it up.

@decentdao/design i'm looking at Figma, the text weight is 450. in our decent-ui repo's design system, none of our text styles use a weight of 450.

@decentdao/design can you please give us a full size SVG export of the tool image?

@decentdao/design can you please give us a full size SVG export of the tool image?

If this is still needed here it is

@decentdao/design i'm looking at Figma, the text weight for both title and body is 450. in our decent-ui repo's design system, none of our text styles use a weight of 450. instead of handrolling the typography in figma, can you please be sure to utilize an already defined style?

We use the normal weight for body and display. The normal weight renders at 450. All typography in Figma is connected to a style. Sounds like we have a discrepancy between the designs and the font weights available in the codebase.

Closed via #1794


Question about cti-taxii-server usage

Hi everyone,
I am pretty new to cyber threat intelligence and would like your help. I managed to set up the taxii server and it's running on <IP_ADDRESS>:5000. What I am not sure of is what the server is supposed to display once it starts running. I am getting a 404 error. The documentation doesn't really accommodate beginners and I would really appreciate it if someone provides insight on what to do after you have the server up and running.
I tried some of the endpoints mentioned here https://github.com/oasis-open/cti-taxhttps://github.com/oasis-open/cti-taxii-clientii-client. I just don't know if I'm doing the right thing or not.
Thank you in advance!

Hi @tsitsiflora and thank you for checking out the taxii server!
We need a lot more information in order to diagnose your problem. Are you following the steps from the readme to create the server? How are you trying to request objects from the server? Are you seeing the requests show in the server's logs?
Thanks.

Hi @zrush-mitre, thank you for replying.
Yes I followed the tutorial from the readme. Please see below my config file:
{
    "backend": {
        "module": "medallion.backends.memory_backend",
        "module_class": "MemoryBackend",
        "filename": "./test.json"},

    "users": {
       "admin": "Password0",
       "user1": "Password1",
       "user2": "Password2"},
    "taxii": {
       "max_page_size": 100
}

}

After running : medallion medallion_config.json this is what I get on my terminal
onfig.json
 * Serving Flask app "medallion" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [07/May/2020 18:02:50] "GET / HTTP/1.1" 404 -
<IP_ADDRESS> - - [07/May/2020 18:02:51] "GET /favicon.ico HTTP/1.1" 308 -
<IP_ADDRESS> - - [07/May/2020 18:02:51] "GET /favicon.ico/ HTTP/1.1" 401 -
<IP_ADDRESS> - - [07/May/2020 18:03:31] "GET /favicon.ico/ HTTP/1.1" 404 -
<IP_ADDRESS> - - [07/May/2020 18:03:46] "GET / HTTP/1.1" 404 -

I am trying to request the objects through the web url, by just editing the url. But all the urls I am trying give me 404. I am following instructions from this client as well https://github.com/oasis-open/cti-taxii-client .
In summary:

I want to get objects but I keep getting 404
I also want to be able to post objects to the server

Thank you for your help.

Hi @tsitsiflora,
Can you post the code you are using to access the server?
You aren't trying to access the server through a web browser right? The Python server implementation is not made to be access by a browser, but rather as an API.

Hi @zrush-mitre ,
Sure. This is the code that I'm using:
from taxii2client.v20 import Server
server = Server('http://<IP_ADDRESS>:5000/taxii/', user='admin', password='Password0')
api_root = server.api_roots[0]
collection = api_root.collections[0]
objects = collection.get_objects()

print(api_root)
print(collection.title)
print(objects)

and from the console. Some of the endpoints I've been trying all return 404.:
* Serving Flask app "medallion" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [09/May/2020 17:59:35] "GET / HTTP/1.1" 404 -
<IP_ADDRESS> - - [09/May/2020 18:01:05] "GET /api/v1/ HTTP/1.1" 404 -
<IP_ADDRESS> - - [09/May/2020 18:01:26] "GET /api/ HTTP/1.1" 404 -
<IP_ADDRESS> - - [09/May/2020 18:02:09] "GET /taxii/ HTTP/1.1" 404 -

Hi @tsitsiflora,
Check that your config that is running with medallion is really the one you want. I noticed you change the data_file value in the config, so make sure that is referencing the file you think it does.
Also, look in the data_file you are using and call one of the api_roots directly with the Server object. Then try printing one of it's attributes. For example: if api1 is in your data_file, use:
server = Server('http://<IP_ADDRESS>:5000/api1', user='admin', password='Password0') print(server.title)

Thank you for your help!


[AutoDiff] Move dumpActivityInfo to DifferentiableActivityInfo class

Minor refactoring as part of https://bugs.swift.org/browse/TF-993

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

Tests pass. I will go ahead and merge this in.


fatal error: sys/cdefs.h: No such file or directory

In master and current branch.
When building crunched binary, getcap.c compile failed.
Why?

# compile obj.i386.rescue/getcap.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror -DSMALL --sysroot=/usr/src/../obj../destdir.i386 -c /home/uki/src/fdgw2.current/obj.i386.rescue/NetBSD/distrib/i386/liveimage/../../utils/libhack/../../../lib/libc/gen/getcap.c
/home/uki/src/fdgw2.current/obj.i386.rescue/NetBSD/distrib/i386/liveimage/../../utils/libhack/../../../lib/libc/gen/getcap.c:39:23: fatal error: sys/cdefs.h: No such file or directory
#include <sys/cdefs.h>
                                    ^
compilation terminated.

Must run "./build.sh release"


Allow async tests to optionally pass a verify fn to done() to improve error reporting

Summary
Allow async tests to optionally pass done() a verify fn
(as alternative to just passing an Error object). This verify
function is executed and if any exceptions occur they are
caught and reported rather than only getting a generic timeout
error. Without this fix we have no output about what assert
failed nor do we have any of the details of the failure.
This is an alternate way to use done(), it can also just
receive an Error object as before.
Details of problem
If an assertion exception is thrown in the callback
of an async test, currently mocha only reports a timeout
rather than which assertion failed (and the details of the
failure).
For example with the following code, mocha will not report
the assert failure but the error will just be a timeout.
The details of which assert failed or what throw an error
is not known.
test('foo', function (done) {
  myAsyncFn(function (err, result) {
    assert.ok(true);
    assert.equal(result, 'bar');  // mocha does not report this
    done();
  });
});

One can work around this by wrapping your test assertions in a
try/catch and then calling done with the err, but this is
cumbersome and redundant for such a common pattern.
test('foo', function (done) {
  myAsyncFn(function (err, result) {
    try { // boilerplate to be able to get the assert failures
      assert.ok(true);
      assert.equal(result, 'bar');
      done();
    } catch (x) {
      done(x);
    }
  });
});

Solution - allow done() to optionally take a verify function
This commit allows done() to optionally be passed a verify function
which is executed and if any exceptions or assertions are
thrown then done will be automatically called with the error.
This cleans up the pattern and eliminates most of the
boilerplate, and provides full details to mocha reporter.
If done is passed an Error object it works as it did before,
so this is simply an alternate way of using done().
test('foo', function (done) {
  myAsyncFn(function (err, result) {
    done(function () {  // verify fn
      assert.ok(true);
      assert.equal(result, 'bar');  // mocha now reports the assert failure
    });
  });
});

A success and failure test is included along with the modifications which enable this feature.

mocha should be able too catch those. is your function catching immediate errors and not passing them to the callback? if mocha is not reporting uncaught exceptions it's a bug

I will take a closer look and update this issue with any new info. My asyncFn is completing and calling its callback, but when the asserts fail I am not getting the details only a timeout.
I can comment out that single assert and everything passes like I would expect.
Even just replacing my failing assert with
assert.equal('foo', 'bar')
in my function still only gives a timeout. The async part of my asyncFn comes from using jsdom to create a new window and load jQuery, would that explain anything about why mocha wouldn't be able to catch the async error? (it is not failing in any of that, only in the assert after everything).
Surprisingly if I create a simpler test which just uses process.nextTick then mocha reports things properly as you had mentioned.
So could it be related to using jsdom and its jsdom.jQuerify?
Let me know if you have any ideas. I will update this issue if I can figure anything more out.
Thanks!

I guess it is not exclusively a problem with jsdom because when I run the test in the browser (where it doesn't need jsdom) and simply put the code in a setTimeout to make it async, mocha doesn't catch the exception either.
It reports script error in the mocha report and if I open the javascript console, I can see uncaught AssertionError..., so something is preventing it from catching assertion error in the browser too.

Not sure if this is relevant but I remember something similar happening awhile back with 'ScriptError' for async stuff. Here are a few relevant links:
initial report, async script error: https://github.com/logicalparadox/chai/issues/4
mocha's related issue: https://github.com/visionmedia/mocha/issues/165

I found that in the browser that even a simple setTimeout assert fail doesn't get reported properly (is script error and in the console.log comes as uncaught exception.
Thanks @logicalparadox, I will look at the issues you mentioned to see how they are related.
if (typeof(chai) === 'undefined') {
  var chai = require('chai');
}

var t = chai.assert;

test('foo', function (done) {
  setTimeout(function () {
    t.equal('foo', 'bar');
    done();
  }, 100);
});
```javascript

@jeffbski I'll take a look.
@logicalparadox I think we still have that ScriptError issue

@jeffbski it works for me however I do get the stupid ScriptError thing

@visionmedia Do you mean that in the browser you see the assertion details in the mocha report, or do you mean that you only see that the test case failed and the details are Script Error (and you have to go to the developer js console to see the actual details)?

@jeffbski I just see ScriptError, but that's a different issue, there's an issue open for it

I looked at mocha's code and I would think that process.on('uncaughtException') should catch the exception but unless I manually wrap the asserts with try/catch in node.js 0.6.11 (also tested 0.6.7 and is same) it is not getting passed up like it should (timeout error), and in Chrome 17.0.963.56 OS X it is not caught and is generic Script Error.
PS. Firefox 9.01 and Safari 5.1.2 both do report the assert details properly.
So only if I wrap the callback section in try/catch and pass to done will I get the details in all browsers and node.js
    try {
      assert.equal('foo', 'bar');
      done();
    } catch (x) {
      done(x);
    }

So my done(fn) enhancement just makes that easier, just pass an anonymous function and it is auto wrapped and exception passed to done.
The above becomes simply:
  done(function () {
    assert.equal('foo', 'bar');
  });

@visionmedia would you consider allowing the done(fn) addition? It does fix all of the above (chrome, node). No more ScriptError you get the assert details as you would expect. I'm out of ideas other than just manually wrapping with try/catch.

it works as expected for me in node, chrome is the annoying one

To clarify, the simple setTimeout assert error also works for me in node too, but the specific test case where I am using jsdom does not, unless I wrap the asserts. So for some reason, process.on('uncaughtException') is not being called when coming from callback passing through jsdom. I can't see anything in jsdom or my code that would stop process.on('uncaughtException') from being fired, but it isn't.
done(fn) just gives a more surefire approach regardless of any inconsistencies, any assert errors will catch and pass the error.
Thanks for your time and consideration of this.

@visionmedia I totally agree that making the assertion libraries hook into mocha beats any other approach.
What about other errors like calling an undefined function? - Those will still be swallowed...
I'm using async and await so here is how I've solved:
// Util function
const asyncWrap = (fn) => {
  return async(done)=> {
    try {
      await fn(done);
      done();
    } catch (error) {
      done(error);
    }
  }
};

// Test
it.only('I can add a new student', asyncWrap(async() => {
  // No need to try catch the following code:
  await asyncTask();
  // No need to call done() here
}));

Features:

It will catch any errors, not only assertion errors;
No need to add call done() at the end;


Added sample for Esp32.Rmt that shows hot to use infrared receiver VS1838

Description
Added sample for Esp32.Rmt that shows hot to use infrared receiver VS1838
Motivation and Context

It wasn't present yet, but I find it useful

How Has This Been Tested?

Manually using ESP32 DevKit Rev. 3 with VS1838.
Screenshots
Attached in readme.
Types of changes

[ ] Improvement (non-breaking change that improves a sample)
[ ] Bug fix (fixes an issue with a current sample)
[x] New Sample (adds a new sample)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I'm happy with the current state of the sample and agree with @Ellerbach that this would need improvements if a decision is made to move it into its own nuget package. Approved!


Update example olsconfig.yaml formating

Description
Removes second training new line and --- as its just a single document.
Type of change

[x] Refactor

/approve
/lgtm


KOGITO-8959: Take screenshots of failed VSCode extension integration tests

Jira: https://issues.redhat.com/browse/KOGITO-8959

Hello @zdrapela , is this PR ready for second round of review? Thanks!

Hello @zdrapela , is this PR ready for second round of review? Thanks!

Hi, yes, it is ready :slightly_smiling_face:

Hi @LuboTerifaj, all should be fixed now. Thanks!


[CODE WIDE] Operator chaining

TODO

[x] try inherited_members or some similar hack
[ ] update notebooks after https://github.com/google/temporian/pull/202 is merged

✅  good:

loving the syntax already
autocomplete shows output types correctly

⚠ not good:

docstrings need to be defined in the EventSetOperationsMixin class.

functools.wraps doesn't work because it makes autocomplete think the function is expecting the evset as first argument, but it isn't, since it's a class method that receives self. also doesn't show up in docs.
assigning the function to the class (either during definition, in the constructor, or dynamically after creating it) doesn't work because it gets marked as a variable. also it doesn't show up in docs.

Opened issue to mkdocstrings-python to fix full EventSet source path being shown in docs https://github.com/mkdocstrings/python/issues/90

Opened another issue for weird behavior when linking to temporian.EventSet.xxx methods  https://github.com/mkdocstrings/python/issues/91


[discordapp.com "bug"] - tiny icon's minimum size is 512x512

kind of silly that this tiny tiny icon should be 512 minimum on the website. oversight maybe?

this is not considered a bug. large images are used to future proof future uses of these uploaded assets.


Add a script and a dockerfile to build RPM pkgs for amd64 & arm64

This commit adds the ability to easily produce RPMs for Omnigres on any capable machine with Docker installed. Please review the ./pkgs/mkpkgs script for notes on setup. Then just call ./pkgs/mkpkgs at the command line. If you only want one archiecture then call ARCH=linux/arm64 ./pkgs/mkpkgs.
Please provide as much criticism as you like. I'll fixup commits and rebase.
The build machine setup for this has been exercising this script. Try it yourself if you like.

I pushed detailed fixup commits for the things that work on the build machine.

Adding any sort of --depends 'xyz >= 1.0' or --depends 'xyz = 1.0' barfs on the build machine. eval or not. How did you get that to work @yrashk ?

Everything is resolved except explicit --depend versioning @yrashk. This needs --autosquash on a rebase before merge or similar. lmk

@yrashk all of your comments have been fixed up and the build machine is happy

@yrashk all of your comments have been fixed up and the build machine is happy

What was the problem with non-operationality of eval before?

Maybe so. I wish I was sitting in an office with people sometimes. Going it alone and not thinking of all the possibilities sometimes gets you stuck thinking it's something else. :)

Note: extensions need their extension.control (unversioned) files:
postgres=# create extension omni_httpd cascade;
ERROR:  extension "omni_httpd" is not available
DETAIL:  Could not open extension control file "/usr/pgsql-16/share/extension/omni_httpd.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.

Fixed up and pushing/testing now.

I will push one more cleanup tweak and --autosquash these fixup commits into one commit. I'm not certain what the preference is with omnigres workflow. I like to show fixup commits to address comments. But then fixup commits are great for --autosquash after the fact.

"Mitte sciurum"

I found one stray "ARG ARCH" in the dockerfile that doesn't hurt anything because it's not used. I will clean that up while I'm doing Ubuntu.


Blog: Reader counter

Suggestion: Add a counter on blog post reflecting the (unique) readers it received

is this even possible without cookies (and without doing some shady persistent cookie-esque data storage)?

You could use plausible to track visitors and ping their stats API to display visitor count.

oh cool, this looks interesting. i'll look into this after #91 is done ^^

I created a proof of concept on the branch. it works, however we need to include a plausible api key. not sure how we handle client-side keys @janosh

You can store secrets in netlify and then inject them using build-time env vars. They have to use the vite-recognized VITE_ prefix to be made available to the frontend.


Added lambda layers for 1.22 and 1.23

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests


Facebook all videos 404

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.29. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2017.01.29

Before submitting an issue make sure you have:

[ ] At least skimmed through README and most notably FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[root@ns334889 ~]# youtube-dl --verbose "https://www.facebook.com/boredpanda/videos/10154990899979252/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.facebook.com/boredpanda/videos/10154990899979252/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.6.6 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-6.8-Final
[debug] exe versions: ffmpeg n3.1.5, ffprobe n3.1.5
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>9979252: Downloading webpage
[facebook]<PHONE_NUMBER>9979252: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.6/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

...
[root@ns334889 ~]# youtube-dl --verbose https://www.youtube.com/watch?v=ssKVe4wYRv8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=ssKVe4wYRv8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.6.6 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-6.8-Final
[debug] exe versions: ffmpeg n3.1.5, ffprobe n3.1.5
[debug] Proxy map: {}
[youtube] ssKVe4wYRv8: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.6/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description of your issue, suggested solution and other information
Got a 404 for any videos from facebook. It's weird.

IPV6 problem with kimsufi centos... solved


feat: make users filterable by mail

cleanup

Issue
resolves #1
What I did

What it adds, solves and/or improves

How to test

Thank you for implementing the remaining tasks and integrating the PR!

You're welcome @ruben-burr. Does it work properly for you now?

Yes, everything works fine now :-)


Missing labels in training / decoding in tf_clean branch

Hello,
I am trying to run the TensorFlow based EESEN setup for Switchboard. More specifically, I am using the tf_clean branch and trying to run the asr_egs/swbd/v1-tf/run_ctc_char.sh script. I am having some trouble with the training and decoding steps, would appreciate your help! @ramonsanabria , @fmetze
During the stage 3 (training), I get a number of error messages of the form -
********************************************************************************
********************************************************************************
Warning: sw02018-B_012508-012721 has not been found in labels file: /scratch/tmp.1hi5uR4EIR/labels.cv
********************************************************************************
********************************************************************************

Here are the training logs that follow. I suspect creating tr_y from scratch is a problem?
cleaning done: /scratch/tmp.1hi5uR4EIR/cv_local.scp
original scp length: 4000
scp deleted: 270
final scp length: 3730
number of labels not found: 270
TRAINING STARTS [2018-Jan-28 06:02:05]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
2.7.13 |Anaconda 4.3.1 (64-bit)| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
('now:', 'Sun 2018-01-28 06:02:08')
('tf:', '1.1.0')
('cwd:', '/share/data/lang/users/kalpesh/eesen/asr_egs/swbd/v1-tf')
('library:', '/share/data/lang/users/kalpesh/eesen')
('git:', 'heads/master-dirty')
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
reading training set
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
tr_x:
--------------------------------------------------------------------------------
non augmented (mix) training set found for language: no_name_language ...

preparing dictionary for no_name_language...

ordering all languages (from scratch) train batches...

Augmenting data x3 and win 3...

--------------------------------------------------------------------------------
tr_y:
--------------------------------------------------------------------------------
creating tr_y from scratch...
unilanguage setup detected (in labels)...

--------------------------------------------------------------------------------
cv_x:
--------------------------------------------------------------------------------
unilingual set up detected on test or  set language...

cv (feats) found for language: no_name_language ...

preparing dictionary for no_name_language...

ordering all languages (from scratch) cv batches...

Augmenting data x3 and win 3...

--------------------------------------------------------------------------------
cv_y:
--------------------------------------------------------------------------------
creating cv_y from scratch...
unilanguage setup detected (in labels)...

languages checked ...
(cv_x vs cv_y vs tr_x vs tr_y)

Finally here are my decoding logs -
(python2.7_tf1.4) kalpesh@kalpesh:v1-tf$ ./run_ctc_char.sh
=====================================================================
                   Decoding eval200 using AM
=====================================================================
./steps/decode_ctc_am_tf.sh --config exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/config.pkl --data ./data/eval2000/ --weights exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/epoch25.ckpt --results exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/results/epoch25
exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/config.pkl: line 135: syntax error: unexpected end of file
copy-feats 'ark,s,cs:apply-cmvn --norm-vars=true --utt2spk=ark:./data/eval2000//utt2spk scp:./data/eval2000//cmvn.scp scp:./data/eval2000//feats.scp ark:- |' ark,scp:/scratch/tmp.GgS1if0Wex/f.ark,/scratch/tmp.GgS1if0Wex/test_local.scp
apply-cmvn --norm-vars=true --utt2spk=ark:./data/eval2000//utt2spk scp:./data/eval2000//cmvn.scp scp:./data/eval2000//feats.scp ark:-
LOG (apply-cmvn[5.3.85~1-35950]:main():apply-cmvn.cc:159) Applied cepstral mean and variance normalization to 4458 utterances, errors on 0
LOG (copy-feats[5.3.85~1-35950]:main():copy-feats.cc:143) Copied 4458 feature matrices.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
2.7.13 |Anaconda 4.3.1 (64-bit)| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
('now:', 'Sun 2018-01-28 06:05:28')
('tf:', '1.1.0')
('cwd:', '/share/data/lang/users/kalpesh/eesen/asr_egs/swbd/v1-tf')
('library:', '/share/data/lang/users/kalpesh/eesen')
('git:', 'heads/master-dirty')
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
reading testing set
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
test_x:
--------------------------------------------------------------------------------
unilingual set up detected on test or  set language...

test (feats) found for language: no_name_language ...

preparing dictionary for no_name_language...

ordering all languages (from scratch) test batches...

Augmenting data x3 and win 3...

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
test_y (for ter computation):
--------------------------------------------------------------------------------
unilanguage setup detected (in labels)...

no label files fins in /scratch/tmp.GgS1if0Wex with info_set: test
file: /share/data/lang/users/kalpesh/eesen/tf/ctc-am/reader/labels_reader/labels_reader.py function: __read_one_language line: 171
exiting...

Here are my logs from the first two stages (data preparation, fbank generation)
(python2.7_tf1.4) kalpesh@kalpesh:v1-tf$ ./run_ctc_char.sh
=====================================================================
                       Data Preparation
=====================================================================
Switchboard-1 data preparation succeeded.
utils/fix_data_dir.sh: filtered data/train/segments from 264333 to 264072 lines based on filter /scratch/tmp.V26jBobg4D/recordings.
utils/fix_data_dir.sh: filtered /scratch/tmp.V26jBobg4D/speakers from 4876 to 4870 lines based on filter data/train/cmvn.scp.
utils/fix_data_dir.sh: filtered data/train/spk2utt from 4876 to 4870 lines based on filter /scratch/tmp.V26jBobg4D/speakers.
fix_data_dir.sh: kept 263890 utterances out of 264072
fix_data_dir.sh: old files are kept in data/train/.backup
Can't open data/local/dict_phn/lexicon1.txt: No such file or directory at local/swbd1_map_words.pl line 26.
Character-based dictionary (word spelling) preparation succeeded
Warning: for utterances en_4910-B_013563-013763 and en_4910-B_013594-013790, segments already overlap; leaving these times unchanged.
Warning: for utterances en_4910-B_025539-025791 and en_4910-B_025541-025674, segments already overlap; leaving these times unchanged.
Warning: for utterances en_4910-B_032263-032658 and en_4910-B_032299-032406, segments already overlap; leaving these times unchanged.
Warning: for utterances en_4910-B_035678-035757 and en_4910-B_035715-035865, segments already overlap; leaving these times unchanged.
Data preparation and formatting completed for Eval 2000
(but not MFCC extraction)
fix_data_dir.sh: kept 4458 utterances out of 4466
fix_data_dir.sh: old files are kept in data/eval2000/.backup
=====================================================================
                    FBank Feature Generation
=====================================================================
steps/make_fbank.sh --cmd run.pl --nj 32 data/train exp/make_fbank_pitch/train fbank_pitch
steps/make_fbank.sh: moving data/train/feats.scp to data/train/.backup
utils/validate_data_dir.sh: Successfully validated data-directory data/train
steps/make_fbank.sh [info]: segments file exists: using that.
Succeeded creating filterbank features for train
steps/compute_cmvn_stats.sh data/train exp/make_fbank_pitch/train fbank_pitch
Succeeded creating CMVN stats for train
fix_data_dir.sh: kept all 263890 utterances.
fix_data_dir.sh: old files are kept in data/train/.backup
steps/make_fbank.sh --cmd run.pl --nj 10 data/eval2000 exp/make_fbank_pitch/eval2000 fbank_pitch
steps/make_fbank.sh: moving data/eval2000/feats.scp to data/eval2000/.backup
utils/validate_data_dir.sh: Successfully validated data-directory data/eval2000
steps/make_fbank.sh [info]: segments file exists: using that.
Succeeded creating filterbank features for eval2000
steps/compute_cmvn_stats.sh data/eval2000 exp/make_fbank_pitch/eval2000 fbank_pitch
Succeeded creating CMVN stats for eval2000
fix_data_dir.sh: kept all 4458 utterances.
fix_data_dir.sh: old files are kept in data/eval2000/.backup
utils/subset_data_dir.sh: reducing #utt from 263890 to 4000
utils/subset_data_dir.sh: reducing #utt from 263890 to 259890
utils/subset_data_dir.sh: reducing #utt from 259890 to 100000
Reduced number of utterances from 100000 to 76615
Using fix_data_dir.sh to reconcile the other files.
fix_data_dir.sh: kept 76615 utterances out of 100000
fix_data_dir.sh: old files are kept in data/train_100k_nodup/.backup
Reduced number of utterances from 259890 to 192701
Using fix_data_dir.sh to reconcile the other files.
fix_data_dir.sh: kept 192701 utterances out of 259890
fix_data_dir.sh: old files are kept in data/train_nodup/.backup

Hi @fmetze ,

"Can't open data/local/dict_phn/lexicon1.txt: No such file or directory at local/swbd1_map_words.pl line 26.”

Yes, I hadn't run the ph recipe. This error disappears on doing this.

There is also "exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/config.pkl: line 135: syntax error: unexpected end of file”

This is an irrelevant error, it's happening since a pickle configuration file is sourced in the utils/parse_options.sh script. It does not affect further execution.

which means maybe the training didn’t start correctly, or not at all?

The training did happen successfully. Here are the training logs. As a confirmation, is it usual for the Kaldi setup to discard 270 dev utterances, 11 eval2000 utterances and 973 train utterances due to transcripts like [vocalized-noise]?
for language: no_name_language
following variables will be optimized:
--------------------------------------------------------------------------------
<tf.Variable 'cudnn_lstm/params:0' shape=<unknown> dtype=float32_ref>
<tf.Variable 'output_layers/output_fc_no_name_language_no_target_name/weights:0' shape=(640, 42) dtype=float32_ref>
<tf.Variable 'output_layers/output_fc_no_name_language_no_target_name/biases:0' shape=(42,) dtype=float32_ref>
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
[2018-02-01 11:31:59] Epoch 1 starting, learning rate: 0.03
[2018-02-01 12:23:40] Epoch 1 finished in 52 minutes
		Train    cost: 86.2, ter: 35.6%, #example: 491721
		Validate cost: 45.4, ter: 24.9%, #example: 11190
('not updating learning rate, parameters', 8, 0.0005)
--------------------------------------------------------------------------------
[2018-02-01 12:23:40] Epoch 2 starting, learning rate: 0.03
[2018-02-01 13:15:20] Epoch 2 finished in 52 minutes
		Train    cost: 47.4, ter: 19.1%, #example: 491721
		Validate cost: 37.6, ter: 20.2%, #example: 11190
('not updating learning rate, parameters', 8, 0.0005)
--------------------------------------------------------------------------------
....

However, the decoding does not seem to budge. Here are the logs
=====================================================================
                   Decoding eval200 using AM
=====================================================================
./steps/decode_ctc_am_tf.sh --config exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/config.pkl --data ./data/eval2000/ --weights exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/epoch14.ckpt --results exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/results/epoch14
exp/train_char_l4_c320_mdeepbilstm_w3_nfalse/model/config.pkl: line 135: syntax error: unexpected end of file
copy-feats 'ark,s,cs:apply-cmvn --norm-vars=true --utt2spk=ark:./data/eval2000//utt2spk scp:./data/eval2000//cmvn.scp scp:./data/eval2000//feats.scp ark:- |' ark,scp:/scratch/tmp.jihiXHPJkp/f.ark,/scratch/tmp.jihiXHPJkp/test_local.scp
apply-cmvn --norm-vars=true --utt2spk=ark:./data/eval2000//utt2spk scp:./data/eval2000//cmvn.scp scp:./data/eval2000//feats.scp ark:-
LOG (apply-cmvn[5.3.85~1-35950]:main():apply-cmvn.cc:159) Applied cepstral mean and variance normalization to 4458 utterances, errors on 0
LOG (copy-feats[5.3.85~1-35950]:main():copy-feats.cc:143) Copied 4458 feature matrices.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
2.7.14 |Anaconda, Inc.| (default, Dec  7 2017, 17:05:42)
[GCC 7.2.0]
('now:', 'Fri 2018-02-02 09:13:09')
('tf:', '1.4.0-rc1')
('cwd:', '/share/data/lang/users/kalpesh/eesen/asr_egs/swbd/v1-tf')
('library:', '/share/data/lang/users/kalpesh/eesen')
('git:', 'heads/master-dirty')
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
reading testing set
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
test_x:
--------------------------------------------------------------------------------
unilingual set up detected on test or  set language...

test (feats) found for language: no_name_language ...

preparing dictionary for no_name_language...

ordering all languages (from scratch) test batches...

Augmenting data x3 and win 3...

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
test_y (for ter computation):
--------------------------------------------------------------------------------
unilanguage setup detected (in labels)...

no label files fins in /scratch/tmp.jihiXHPJkp with info_set: test
file: /share/data/lang/users/kalpesh/eesen/tf/ctc-am/reader/labels_reader/labels_reader.py function: __read_one_language line: 171
exiting...

Good, not sure about the pickle error, but if you say it does not affect the training, then things should be fine. You should be fine running the test script from stage 4 only for decoding, the data should already be prepared. @ramonsanabria - any ideas about v1-tf here?

Hi,
The pickle error is irrelevant. The configuration is loaded properly. I will try to remove it as soon as I have time.
@xinjli is cleaning up the swbd recipie. I have some experiments with different char-based units (removing numbers and noises) that for now seems to be improving a bit.

I also found the issue that char recipe could not run without the phn recipe today. The same issue also happens in the swbd v1 recipe under the master branch. I will prepare a fix for this issue.

Hi @ramonsanabria , @xinjli
Any idea about the no label files fins in /scratch/tmp.jihiXHPJkp with info_set: test error I am receiving?

can you do: find /scratch/tmp.jihiXHPJkp ?
2018-02-07 2:02 GMT-05:00 Kalpesh Krishna<EMAIL_ADDRESS>
Hi @ramonsanabria https://github.com/ramonsanabria , @xinjli
https://github.com/xinjli
Any idea about the no label files fins in /scratch/tmp.jihiXHPJkp with
info_set: test error I am receiving?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/srvk/eesen/issues/169#issuecomment-363676356, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMlwPVkPG-g1fkUMvbZjT0gQE2jwnL93ks5tSUqcgaJpZM4Rvq8j
.

@ramonsanabria yes, I can find it.
(python2.7_tf1.4) kalpesh@kalpesh:kalpesh$ ls /scratch/tmp.jihiXHPJkp
f.ark  test_local.scp
(python2.7_tf1.4) kalpesh@kalpesh:kalpesh$

I think we need a stage to generate labels.test for testing. It seems that we do not have any script for this now.
I think we need something like
python ./local/swbd1_prepare_char_dict_tf.py --text_file ./data/train_nodup/text --input_units ./data/local/dict_char/units.txt --output_labels $dir_am/labels.tr --lower_case --ignore_noises || exit 1 After preparing labels.tr and labels.cv

Probably we can use following code to generate labels.test
python ./local/swbd1_prepare_char_dict_tf.py --text_file ./data/eval2000/text --input_units ./data/local/dict_char/units.txt --output_labels $dir_am/labels.test
eval2000 contains the text we need for evaluation and just replace $dir_am with variable in your environment

You have:
https://github.com/srvk/eesen/blob/tf_clean/asr_egs/swbd/v1-tf/local/swbd1_prepare_char_dict_tf.py
This script can generate the units.txt. If you put --output_units it will
produce the units that you will further use (presumably this will be with
you train text). Then, the units produced by this script will be used as
--input_units to generate the labels.cv or labels.test.
Not sure which version is there. But I performed some cleaning of swbd that
we should discuss.
2018-02-07 16:37 GMT-05:00 Xinjian Li<EMAIL_ADDRESS>
Probably we can use following code to generate labels.test
python ./local/swbd1_prepare_char_dict_tf.py --text_file
./data/eval2000/text --input_units ./data/local/dict_char/units.txt
--output_labels $dir_am/labels.test
eval2000 contains the text we need for evaluation and just replace $dir_am
with variable in your environment
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/srvk/eesen/issues/169#issuecomment-363919165, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMlwPZjhYxpTHXp48W9oskoSqT3eX1lXks5tShengaJpZM4Rvq8j
.

@ramonsanabria could you describe the process you are using the compute the final WER of a trained model?
I guess this is often called "scoring", in the Kaldi setup. Generally, raw transcripts are fed into hubscr.pl to generate a number of detailed output files, with the final SWBD, CH, Combined WER mentioned in a *.lur file.

Hi @ramonsanabria  any update on ^? Also, how have you treated the space character? I cannot find an entry for the space in data/local/dict_char/units.txt. (Note I'm referring to the   character, not the CTC blank symbol.


Access is denied

sync frostdb\\databases\\test\\wal: Access is denied.
OS: windows 10
GO:go version go1.21.5 windows/amd64
func main() {
	logger := kitlog.NewLogfmtLogger(kitlog.NewSyncWriter(os.Stdout))                          //NewJSONLogger
	logger = kitlog.With(logger, "ts", kitlog.DefaultTimestampUTC, "caller", kitlog.Caller(4)) //kitlog.Caller
	stdlog.SetOutput(kitlog.NewStdlibAdapter(logger))
	stdlog.Print("I sure like pie")

	dir := "frostdb"
	_, err := os.Stat(dir)
	if err != nil {
		err := os.Mkdir(dir, 0755)
		if err != nil {
			stdlog.Panicln("MkdirTemp", err)
		}
	}
	bucket := objstore.NewInMemBucket()

	sinksource := frostdb.NewDefaultObjstoreBucket(bucket)

	c, err := frostdb.New(
		frostdb.WithLogger(logger),
		frostdb.WithWAL(),
		frostdb.WithStoragePath(dir),
		frostdb.WithReadWriteStorage(sinksource),
		frostdb.WithActiveMemorySize(100*frostdb.KiB),
	)
	if err != nil {
		stdlog.Panicln("frostdb.New", err)
	}

	db, err := c.DB(context.Background(), "test")
	if err != nil {
		stdlog.Panicln("frostdb.DB", err)
	}

The database itself should create that directory. No need to use os.Mkdir.

The database itself should create that directory. No need to use os.Mkdir.

Thks, I will test it

Same mistake panic: frostdb.New failed initializing meta DB: sync frostdb\databases\test\wal: Access is denied.
package main

import (
	"context"
	stdlog "log"

	"github.com/apache/arrow/go/v15/arrow"
	"github.com/apache/arrow/go/v15/arrow/memory"
	"github.com/thanos-io/objstore"

	"github.com/polarsignals/frostdb"
	"github.com/polarsignals/frostdb/dynparquet"
	"github.com/polarsignals/frostdb/query/logicalplan"
)

func main() {
	stdlog.SetFlags(stdlog.LstdFlags | stdlog.Lshortfile)
	stdlog.Print("I sure like pie")

	dir := "frostdb"
	bucket := objstore.NewInMemBucket()

	sinksource := frostdb.NewDefaultObjstoreBucket(bucket)

	// 创建 ColumnStore 对象
	c, err := frostdb.New(
		frostdb.WithWAL(),
		frostdb.WithStoragePath(dir),
		frostdb.WithReadWriteStorage(sinksource),
		frostdb.WithActiveMemorySize(100*frostdb.KiB),
	)
	if err != nil {
		stdlog.Panicln("frostdb.New", err)
	}

I would check the permissions of the directory that the program is running in. It seems like the program doesn't have permissions to create a directory in the frostdb dir. This doesn't appear to be a FrostDB issue but a local permissions issue.

Errors only occur on Windows


SceneCSSGridLayout: Add support for dragging and dropping panels

There's a lot of code here but the gist of it is enables support for dragging and dropping panels in the responsive grid layout (when paired with the PR linked below)
Let me know if there are any questions or parts of the code that could use further explanation.
Related: https://github.com/grafana/grafana/pull/97495

Tried to test it with the css grid demo but just get an empty page

@torkelo The css grid demo should work now - made some fixes.

@kaydelaney works really well!
I am not sure it helps or not but might be useful to go directly from this and explore how moving a panel between layout would work (as as an early exploratory poc/test, to understand the problem etc) .

and by "between layouts" i mean between two separate CSS grids in this case (moving between CSS grid and the default grid is a separate problem, one we might have to solve as well)


Steam Heavy description

@TvoEx
Saw the steam question for what Heavy really does. You can paste this description there if you want:
The Heavy version is a heavily expanded version of RPG Traits. While the Core version only overhauls Traits and incompatibility is mostly limited to trait-related mods, the Heavy version goes completely loose and overhauls a more things to allow for more creativity in designing species. The main things that have been overhauled are:

Colonization & Planet classes
Terraforming
Planet Modifiers

E.g. in Heavy you can start on an Asteroid, or live on Gas Giants. You can even play as a Star-inhabiting species. In addition there are some fancy new late-game techs which allow you to do crazy stuff like terraform Gas Giants and Molten worlds (those are stupendously costly though). It's specifically made to go nuts with your sci-fi fantasy. The only drawback to this version is lack of compatibility with mods that also modify these aspects.  This means many mods that add habitability modifiers in some way (which are tailored to vanilla scaling with bonuses like +10% being very common) will be very exploit-y if used with Heavy.
In summary: pick Heavy if you want even MOAR freedom when designing your races, or if you feel like the 9 vanilla planet types are boring af.

It has been done.


[clickhouse-jdbc] describe SELECT queries to retrieve metadata

Summary
This is an attempt to reanimate #1434 to enable getMetadata() method to return metadata for a prepared SELECT query that hasn't yet been executed. Also see #1430 .
This functionality is needed (among other use-cases) to support query passthrough for clickhouse-connector inside Trino.
Implementation
DESCRIBE (<select>) is used to retrieve metadata about SELECT query that hasn't yet been executed.
Contrary to #1434 the method requires the query to be "recognized" and be SELECT, thus removing the ambiguity of supporting different query types. Otherwise it wraps the query inside DESCRIBE () clause to build respective metadata object.
Additional unit tests were added to address remarks to the original PR.

Checklist
Delete items not relevant to your PR:

[X ] Unit and integration tests covering the common scenarios were added
[X ] A human-readable description of the changes was provided to include in CHANGELOG

cc: @zhicwu , @ebyhr

@sylph-eu Thank you for the contribution!


Connect to the SecOps group users

Describe the issue
We intend to give special kind of access to Security Operations users in the Cloud pathfinder environment. This access will be scoped to security investigations and logging.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context
Add any other context, attachments or screenshots
Definition of done

Attend the series of CP and SecOps meetings (April 21st scheduled)
Begin a user persona for this user group. (Requires a user profile file in Microsoft Teams)

This is done already


[UI] Import Design modal crashing

Current Behavior
On /configuration/designs page, the import design form crashes when the type selector is clicked.
Screenshots/Logs
https://github.com/meshery/meshery/assets/7570704/6e94ad1c-25c9-45c2-8d9c-e8359d33869b
Environment

Browser: Safari

Host OS: Mac

Meshery Server Version: stable-v0.7.31

Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@meshery/meshery-ui-contributors @meshery/meshery-ui-maintainers

This is working fine in my device
https://github.com/meshery/meshery/assets/118254863/debb299b-1b7a-4a22-9e2b-2b8a2e3704a1

@Yashsharma1911 is this still a issue?


CAPT-1274 CAPT-1275 Remove student loan screens from TSLR journey

This PR is based on #2529 and achieves the removal of student loan questions in the TSLR journey (CAPT-1275) and the introduction of just one screen that replays back the SLC repayment amount if present and greater than zero (CAPT-1274), bearing in mind that:

when SLC data can be found but with zero total repayments, the claim is made ineligible, and an exit screen is presented
when no SLC data can be found, we'll allow the submission of a £0 claim.

https://dfedigital.atlassian.net/browse/CAPT-1274
https://dfedigital.atlassian.net/browse/CAPT-1275

As discussed with Laura, I'm merging this work to a feature branch so I can continue with the removal of the student loan questions from ECP/LUP as well and address any other concerns before doing a final deployment


Make --to filter more efficient

Right now if you pass date which is older than the oldest event then all events will be downloaded anyway (analyazed and discarded). Generally speaking if we reach event older than --to we can skip downloading more data.
12:35 $ sentrycli query 41261 --to 2014-01-01
INFO:sentrycli.preferences:Loading...
INFO:sentrycli.preferences:Loaded
INFO:sentrycli.query:Host found in saved preferences
INFO:sentrycli.query:API key found in saved preferences
INFO:sentrycli.preferences:Saving...
INFO:sentrycli.preferences:Saved
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): errors.services.ams.osa
INFO:sentrycli.query:API key is fine
INFO:sentrycli.query:Getting events for issue 41261 (may take a while)
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): errors.services.ams.osa
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): errors.services.ams.osa
INFO:sentrycli.query:No events found

Since events are downloaded from newest to oldest (using pagination) it's not that easy to fix it.


Set up pinst

#554  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


[CSSimplify] Delay binding metatype instance types if one side is type variable

While matching two metatypes where one side is a class (which could have
supertypes) and another is a type variable use subtype constraint to
delay binding types together because there is a real possibility that
there exists a superclass associated with yet free type variable which
would be a better match when attempted.
Resolves: rdar://problem/44816848

@swift-ci please test source compatibility

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 62d728c626a90de54d79263888ffc702eb3a75a6

The metatype handling code here (prior to your change) seems pretty odd to me. Why do we default to a type equality check regardless of what the original type match kind was?
I wonder what breaks if we just make this immediately call back into matchTypes with the same kind, and the instance types?

@rudkx I think the reason is trying to maintain subtype property? I wonder if what we need to to do here is to resolve this constraint (e.g. call to matchTypes) only if both types are known, otherwise just form unresolved, because currently e.g. in case of ExistentialMetatype only one side is checked...

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 62d728c626a90de54d79263888ffc702eb3a75a6


fix(app): disable app downgrade feature

Description:
Ensure that we set electron-updater allowDowngrade=false after setting the update channel, since autoUpdater.channel is a setter which explicitly sets allowDowngrade=true.
See https://github.com/electron-userland/electron-builder/blob/v20.41.0/packages/electron-updater/src/AppUpdater.ts#L73-L91
Motivation and Context:
If you try to run a yet unreleased version of the app, it constantly tries to download the previous version of the app.
How Has This Been Tested?
Manually
Types of changes:
Bug fix
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 20.147% when pulling 4da6eea6188e2467cba956ba8bb76cf02d0bc6c0 on mrfelton:fix/auto-update-disable-downgrade into f1bb93a271f6285473496be8af5e09b9342b0910 on LN-Zap:master.


README

What does the program do ?
The program prints  "Hello World"
In what programming language it is written?
It is written in python.

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


meta_csv_file

there is no meta_csv_file in the first step.

Thanks for your careful check. I added this argument in the readme. It is the file named "mimic-cxr-2.0.0-metadata.csv.gz" in the Mimic-Cxr-Jpg dataset, you can download it from the homepage (https://www.physionet.org/content/mimic-cxr-jpg/2.0.0/).


Broken in 0.51

Is this plugin still supported? It doesn't work in RN 0.51.

I'm using my own fork and has been working up to RN 0.51: https://github.com/fungilation/react-native-webview-bridge

Thanks @fungilation


clean v1.7 rg351v install - missing graphiccs

As the title says - a clean install of the latest version on RG351V has no graphics at all - on any theme. All the menus are blue on black with not even a selection indicator, which makes usage impossible.
Is this bug confirmed?

Sounds like a bad image or bad sd card.  Works fine on my end.  What is your sd card, how did you image it?

You're probably right - I've reflashed using a new sd card and now I get a System Error immediately after turning on the unit. I may have a faulty unit or some really bad luck :) Will retry with another card, Win32diskImager usually works very well.
Thank you


Unable to associate circuits to a site

When adding or editing a circuit, there is no longer a field for Site. Previous to ~1.8.2 you could select the Site that the circuit was associated with.
I do see that I can edit the terminations of the circuit once it's created, but we don't always have a termination point when adding the circuit for the first time.
Is this intended behavior or a bug?

v1.8.0 introduced the concept of circuit terminations, of which each circuit can have up to two. You'll need to first create the desired circuit, and then add terminations (either to a site or to a specific device within that site) separately.
I realize this isn't the most intuitive workflow. It may be workable to combine the creation of a circuit and its first termination in the same form, but I haven't yet looked into it.

Ok - that makes sense from what I'm seeing then.
I add circuits as we get the turn-up information from the carrier, which is often before active equipment arrives. It's would be nice to have it tied to a specific site at this point.
Same goes for importing circuits as I see Site is no longer a field there. If I import 100 circuits, they're now somewhat orphaned because I have no other metadata that tells me what site it belongs to. Other circuits don't ever get a termination (ie broadband circuit to a SOHO router) but we still want to have a list of circuits per site.

This is going to be fairly difficult to implement given the current model for circuit terminations, but it's up for grabs if anyone wants to dig into it.

This is almost certainly going to be much easier to accomplish once #4347 has added JSON/YAML-based import for all objects. Marking this as blocked pending that work.


Master merge conflict fix

Coverage remained the same at 81.605% when pulling 1cce22ecdda999ca4ea3d56dc5d3126828100594 on Heliozoa:outfit-updated into 85fea90aaf41f99058d4f83dc1cac6b0a2f11576 on tdd-pingis:outfit-updated.


fix grammar

update also https://github.com/BeamMW/beam-ui/blob/175e69e8e58331c63960197619990588149dc0c2/ui/view/loading.qml#L148


access editor variable from component using monaco-react

Hi @SurenAt93,
Thanks for making a great library!
I'm hoping use some of Monaco's built in extensions like those found here from a create-react-app.
Use case: I would like to add margin glyphs with click handlers to communicate with other app components. I'm imagining a fair amount of other decorations that would be nice to customize.
These all use the same API as when you monacoRef.current.editor...
As the monacoRef is private, is there any way this could be exposed in order that such logic decoration behavior can live in parent components?
Happy to submit a PR!

Ahh, I am just now seeing editorDidMount - Sorry to bother!


Add/Set-CertificateTemplate Enroll is not written properly

Problem line: https://github.com/PKISolutions/pkix.net/blob/b0452cf8edcdbeae6f717da0d94bc4ee83b7c83b/PKI/Security/AccessControl/CertTemplateSecurityDescriptor.cs#L205
There should be ActiveDirectoryRights.ReadProperty | ActiveDirectoryRights.WriteProperty | ActiveDirectoryRights.ExtendedRight

Fixed in v4.0.0


Decision Tree Classifier with Standard Scaler

Kindly let me know if any changes required

Hey,
Following are the changes required currently
Remove the meta description in heading markdown just keep the Decision tree classification with standardScaler. Add all the required import statement in the top section instead of inbetween cells. Your code has not utilized StandardScaler for scaling X, x_train or x_test. You have to apply Scaling operation to the dataset which you would require to train and test. In this case it would be X_train and X_test. Or you can apply scaling directly to your  X dataset once its cleaned and ready for data spliting
for reference :

. Remove blank code cell.


Make host performance metrics accessible to users

Users need to be able to access data on how close their function app instance is getting to hitting the consumption plan limits. This data can be provided by https://github.com/Azure/azure-webjobs-sdk-script/blob/dev/src/WebJobs.Script/Scale/HostPerformanceManager.cs but the process is highly inconvenient.
This issue tracks:

Emitting host performance metrics to app insights, so that users can track there usage against these limits over time.
Providing functionality in an easily consumable form (such as a standalone NuGet) for reading these metrics at runtime.

We've also had an issue open for making host level logs/issues available in the portal https://github.com/Azure/azure-functions-ux/issues/608. This keeps coming up with customers - we're logging things to host error logs but they're not seeing them, resulting in CRIs where we have to investigate only to tell them info that was already logged.

I filed https://github.com/Azure/Azure-Functions/issues/692 to track the separate NuGet idea. This issue now just tracks emitting this data into app insights.
@mathewc I suggest you file another issue if you want portal work as that won't be tracked here


Added WSB Szczecin

@kkasior Please provide us with:

the school official website URL
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@kkasior I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Support for props extraction on .vue

When you want to infer props from a base component, volar currently can't infer the props types (vuedx currently works)
This code works in typescript
const TestBase = defineComponent({
  props: {
    show: Boolean,
    title: String,
  },
});

type TestBaseType = typeof TestBase extends DefineComponent<
  infer Props,
  any,
  any,
  any,
  any,
  any,
  any,
  any
>
  ? Props
  : {};

const Child = defineComponent({
  props: {
    // props contains the props options
    ...(TestBase.props as TestBaseType),

    extra: String,
  },
  setup(props) {
    let i: boolean = props.show; // boolean
  },
});

But as soon as you separate into SFC types, the type gets lost:
// test.vue
<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  props: {
    show: Boolean,
    title: String,
  },
});
</script>

// Child.vue
<script lang="ts">
import { defineComponent } from 'vue';
import TestBase from './test.vue'

type TestBaseType = typeof TestBase extends DefineComponent<
  infer Props,
  any,
  any,
  any,
  any,
  any,
  any,
  any
>
  ? Props
  : {};

export default defineComponent({
  props: {
    // props contains the props options
    ...(TestBase.props as TestBaseType),

    extra: String,
  },
  setup(props) {
    // does not work beacuse TestBaseType will be `{}`
    let i: boolean = props.show; // boolean
  },
});
</script>

This is the design limit for now, because TestBase types is:
DefineComponent<...> & {
  __VLS_options: ..., // for template components, props, emits services
  __VLS_slots: ..., // for slots services
}

So it can't infer extends as DefineComponent. A simple reproduce:
const a = defineComponent({
  props: {
    show: Boolean,
    title: String,
  },
});
type A = typeof a;
type B = A & { __VLS_foo: any }
// We want C is true, but it's false
type C = B extends DefineComponent<
  infer _,
  any,
  any,
  any,
  any,
  any,
  any,
  any
> ? true : false;

If you accept a hack way, you can use typeof TestBase['__VLS_raw'] for now.

Will use that for now, do you think if the typed slots are implemented + GlobalComponents, will you still have the need of having?
DefineComponent<...> & {
  __VLS_raw: DefineComponent<...>, // raw type
  __VLS_options: ..., // for template components, props, emits services
  __VLS_slots: ..., // for slots services
}

@pikax Will be improved, but still need to use for support vue 2 / class component.
I will find a way to handle this problem. (The most extreme case I can two typescript language service instances, one for <script>, one for <template>. :P)

I'm not sure if this bug has already been fixed, but the following one seems to be working:
import { ComponentOptions } from 'vue'
import Sfc from 'Sfc.vue'

type ExtractProp<Type> = Type extends ComponentOptions<infer Props>
  ? Props
  : never
type SfcProps = ExtractProp<typeof Sfc>;

@lanyizi not yet, but this problem may only occur with extends DefineComponent.

Fixed in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Hey there, is it possible nowadays to infer types from a .vue file? I'm stuck in this exact case. Thanks!


Cannot access /json information of packages

Describe the bug
Cannot access json information for packages after https://github.com/pypa/warehouse/commit/f7f48cb7fd58e08c1f8beba3846569e074e0b297
Expected behavior
Being able to access /json of packages
To Reproduce
try to access https://pypi.org/pypi/cx-Oracle/8.3.0/json but it fails with too many redirects.
Additional context
From the linked PR I'm infering I'd need to change the way I'm accessing this and use the normalized name instead. Digging through the code I've found the function definition and if I'm reading it right it should be https://pypi.org/pypi/cx_oracle/8.3.0/json but that is not accesible either.

See https://github.com/pypa/warehouse/issues/11555

Closing as a dupe of #11555. Thanks for reporting it.


Fix pagination in search results.

Coverage decreased (-0.04%) to 89.379% when pulling 4e168c13067d70e058fff7323bd0caa7909394eb on johngian:pagination-results into 231fbd60bc17d168f7733483b667d2c901b9f4f1 on mozilla:master.

Coverage decreased (-0.02%) to 89.372% when pulling 821ce67e84596c7b50f165d70a1910055a24ad37 on johngian:pagination-results into c8b5362d57e71b2344e3ddc372f1f556b88b48f9 on mozilla:master.


Moved to latest NAN 1.6.2

Changed dependency to NAN 1.6.2 - Example.js runs on 0.12 and iojs 1.2

:+1: please merge.

I'm not going to accept a pull request which increments a version number. That's bad practice for any PR to any repo. Version bumps should be done as separate tagged commits right before publishing. Please change it back and I'd be happy to merge it.

I just went ahead and made the change myself. It's now published as 1.1.1. Thank you.


RFE: Add EasyBuild option in INSTALL.md

Avg response time

![Issue Stats][issue stat img]

Request for Enhancement:
Cranfield University Ph.D. student Anuj Sharma (@anujsharmax) has created a configuration file that facilitates building OpenCoarrays  with the EasyBuild build and installation framework for HPC systems.  EasyBuild's documentation states that "EasyBuild has mostly been used and tested on x86_64-based Linux systems... Limited provisions for other Unix-based operating systems (e.g., Mac OS X) are also available."  Let's add this to the list of Linux installation options in the Linux section of INSTALL.md and consider whether to mention it in the macOS section as well.  Anuj will fork OpenCoarrays, add the appropriate text to our INSTALL.md on a branch, and submit a pull request.

Anuj will also mention the existing support for build OpenCoarrays so there are two new ones to mention in INSTALL.md

[ ] Easybuild
[ ] Spack

Are these build systems where we'll host the files defining the build, or is there a central repository we submit them to? It would be nice to take a look at the build setups.

@rouson: Will you see @anujsharmax during your travels? It would be great to post the package definitions and build instructions here soon, and close this issue.

We were supposed to meet today, but he was unable to make it to the
meeting.
Best Regards,

Damian Rouson, Ph.D., P.E.
President, Sourcery Institute
www.sourceryinstitute.org
+1-510-600-2992 (mobile)
On June 2, 2017 at 5:28:38 PM, zbeekman<EMAIL_ADDRESS>wrote:

@rouson https://github.com/rouson: Will you see @anujsharmax
https://github.com/anujsharmax during your travels? It would be great
to post the package definitions and build instructions here soon, and close
this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/387#issuecomment-305838785,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMgGhOP-gSHSxy7FWqRqRWgJMsQzZrTvks5sADg2gaJpZM4Nbf6w
.

Should we close this issue, or should I email someone to get it unstuck?

hi @zbeekman,
Sorry for the delays - The Easyconfig for OpenCoarrays became part of Easybuild in yesterday's release. I'll update the INSTALL.md file today.

Amazing @anujsharmax! Thanks so much!

I'll update the INSTALL.md file today.

Yes, if you could submit a pull request with instructions on how to use EasyBuild/EasyConfig that would be great! I've never used it before, so try to be concise, but thorough so that new users can figure it out. Also, if we have a better understanding, then we can help maintain the Easyconfig file.
Also, do you know the status of Spack? Is there an OpenCoarrays recipe there too? If so, how does one use it?

Sure @zbeekman.
Spack already supports OpenCoarrays using a similar package.py file in their repository.
I'll include the instructions for installing OpenCoarrays, both for Spack and Easybuild, in my pull request.

Fabulous! I'm reading up about Spack now, it seems the package.py needs
some updating
On Thu, Jul 13, 2017 at 9:56 AM anujsharmax<EMAIL_ADDRESS>wrote:

Sure @zbeekman https://github.com/zbeekman.
Spack already supports OpenCoarrays using a similar package.py
https://github.com/LLNL/spack/blob/develop/var/spack/repos/builtin/packages/opencoarrays/package.py
file in their repository.
I'll include the instructions for installing OpenCoarrays, both for Spack
and Easybuild, in my pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/387#issuecomment-315085370,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAREPHDDIsqBUqOob1yBxzsI9ohdV4mNks5sNiIggaJpZM4Nbf6w
.

With Spack, I was able to download the latest version of OpenCoarrays with an extra argument to the installation command. But you are right - I'll add another line for the latest version in the package.py file.

Also, Spack is still passing mpicc and mpifort as the compilers to CMake
which is deprecated... And it might be wise to put a dependency on a recent
GCC... alghtough perhaps some people want to play with the minimal s2s
transformations and collectives using other compilers? But at least some
sort of warning should be issued for non Fortran >= 5
On Thu, Jul 13, 2017 at 10:14 AM anujsharmax<EMAIL_ADDRESS>wrote:

With Spack, I was able to download the latest version of OpenCoarrays with
an extra argument to the installation command. But you are right - I'll add
another line for the latest version in the package.py
https://github.com/LLNL/spack/blob/develop/var/spack/repos/builtin/packages/opencoarrays/package.py
file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/387#issuecomment-315090529,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAREPO1uoydsBaG3PbOagbZn2CCHqK5pks5sNiZLgaJpZM4Nbf6w
.

I've added the instructions for Linux only, but they might be applicable to macOS as well. While Spack supports both Linux and macOS, EasyBuild supports macOS only partially (based on their respective manuals).
I don't have access to macOS, so I couldn't check the instructions on it.  If someone else can check it, I can update the PR.

I'll try to remember to add a link to the instructions from the MacOS section to the #spack section. If EB doesn't fully support MacOS let's not add it, our build systems and package managers are already multiplying more quickly than we can keep up with.
Thanks for your contribution, @anujsharmax! 🎉


Identity monad and Generator transformer monad.

I'll provide a demonstration of GeneratorT a bit later.

See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*
Works the same way, just that emit is JavaScript's yield.

TODO: Change from using Identity to T1.

There is a nice demonstration of solving the Towers of Hanoi puzzle using GeneratorT in GeneratorTTest.


Extract Questionpool

This change is

There is an important difference to the previous code: The Questionpool class does not filter by language AND category/level in the number_of_questions_per(key) method.

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


refactor(bindings/nodejs): Remove scheme from bindings

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
refactor(bindings/nodejs): Remove scheme from bindings

cc @suyanhanx for review