WIP: Use TF2 for TF broadcasters and listeners

From the wiki (http://wiki.ros.org/tf2/Migration#tf_and_tf2),

Since ROS Hydro, tf has been "deprecated" in favor of tf2.

Actually, the reason why I submitted this PR is because I'm planning on writing a nodelet that listens to transformations between odom and base_link and use that to create keyframes instead of the scan_matching_odometry_nodelet. For that, I felt like using TF2 instead of TF1 is better. However, if you think this change introduces more risk of breakage than benefits, feel free to close this PR!
Edit 1: Please put this PR on hold because I am experiencing TF exceptions.
Edit 2: The TF exceptions may be due to the fact that I'm using a custom-built PCL (because I'm currently on kinetic). I'll look into this issue.

Sorry, I don't think I'll be able to work on this PR any time soon... closing for now.


Update about.astro

Updated and added paragraphs

👷 Deploy Preview for famous-marshmallow-cfbd61 processing.

Name
Link

🔨 Latest commit
242ecbb801d03409f6061dcc528907f9ae1bbee1

🔍 Latest deploy log
https://app.netlify.com/sites/famous-marshmallow-cfbd61/deploys/64a455ad556ee0000899002d


[WINDOWS] Crashing on injection

i wrote a manual mapper following the Guided Hacking tutorial and build osiris then tried to inject, upon which cs2 crashes instantly. I suspect its to do with the offsets but i cannot find where they are in the osiris code to update them myself. Any ideas?

Osiris is up to date. The problem is with your injector, maybe it's crashing on resolving imports because Osiris does not have import table in Release build.


Add methods / status for Too Large (413) returned HTTP code

bump

Yes, sorry @ranger-turtle, I was overcommitted.
Did a final review and merged.
I'll kick off a new NuGet package v3.2 in a week when .NET 8 is released (will require #68 to get done).


GEOMESA-761 Close the feature-collection iterator inside the AccumuloDat...

...aStore's addFeatures method
Signed-off-by: Andrew Cassidy<EMAIL_ADDRESS>

Committed as a69a87024a1eb18cbd54eb4c46da2d29b5a0f63d


How to run train from scratch (without pretrained model) ?

I want to train from scratch. How should I go about it?

@jfpalngipang set scaffold to None here


Increment versions for streamanalytics releases

Increment package versions for streamanalytics releases

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


Is there a recommended way to continuously read with WebUSB?

The legacy StartPoll()/on("read", ...) is very convenient, is there an established pattern for doing this with WebUSB?

This could be a question to ask in the webusb spec:
https://github.com/WICG/webusb/issues/
Once a method for this (or intent) is understood, we can make sure this library supports it.

polling an endpoint is just a matter of keeping N concurrent transfers alive at all times. the semantics of polling can vary so I wouldn't count on WebUSB adding a convenience method for that, instead this could be in a JS library


Empty actions list

Hey really nice package!
I have a little problem,
I want to show actions with a condition.
My application can be RTL and LTR, I need to set the leading actions if the direction of the app is ltr and trailing actions need to be empty. If the direction of the app is rtl I need to set the trailing actions and the leading actions need to be empty.
However, errors show up if the list of the actions is empty.
I looked at the code, and saw you initialize the actions with defaultActions list.
This is fine, but if I over swipe the item, there is a slight red background which is shown (an empty SwipeAction I suppose).
Here is a gif to show the issue:

I think you should allow null or an empty actions list.
Or fix the red background of the empty SwipeAction in the defaultActions list.
Thanks!

Thx for your feedback.Could you get me your demo code so that I can reproduce your problem quickly?
发自我的iPhone
------------------ Original ------------------
From: Naamapps<EMAIL_ADDRESS>Date: Thu,Nov 19,2020 11:47 PM
To: luckysmg/flutter_swipe_action_cell<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [luckysmg/flutter_swipe_action_cell] Empty actions list (#11)

I’ll try to reproduce it

@luckysmg Sorry but I don't have a demo code. My app is really close to release so I can't really share my code.
Hope you can understand

Ok,I see. I ll try my best to fix it.
发自我的iPhone
------------------ Original ------------------
From: Naamapps<EMAIL_ADDRESS>Date: Fri,Nov 20,2020 0:12 AM
To: luckysmg/flutter_swipe_action_cell<EMAIL_ADDRESS>Cc: WenJingRui<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [luckysmg/flutter_swipe_action_cell] Empty actions list (#11)
@luckysmg Sorry but I don't have a demo code. My app is really close to release so I can't really share my code.
Hope you can understand
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@luckysmg I have found another issue,
If I add a SwipeActionController to the SwipeActionCell edit mode is activated by default and shows a minus icon with red background.
Is there a way to remove this icon or disable edit mode?

Why?In edit mode we need this icon
发自我的iPhone
------------------ Original ------------------
From: Naamapps<EMAIL_ADDRESS>Date: Fri,Nov 20,2020 0:17 AM
To: luckysmg/flutter_swipe_action_cell<EMAIL_ADDRESS>Cc: WenJingRui<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [luckysmg/flutter_swipe_action_cell] Empty actions list (#11)
@luckysmg I have found another issue,
If I add a SwipeActionController to the SwipeActionCell edit mode is activated by default and shows a minus icon with red background.
Is there a way to remove this icon or disable edit mode?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Need I can't reproduce your first issue.
Here is my test
gif_image
And here is my code...

///your logic
    bool ltr = false;

    List<SwipeAction> actions = [
      SwipeAction(
          title: "delete",
          onTap: (handler) async {
            await handler(true);
            list.removeAt(index);
            setState(() {});
          }),
      SwipeAction(title: "action3", color: Colors.orange, onTap: (handler) {}),
    ];
    return SwipeActionCell(
      controller: controller,
      index: index,
      key: ValueKey(list[index]),
      performsFirstActionWithFullSwipe: true,
      trailingActions: ltr ? defaultActions : actions,
      leadingActions: !ltr ? defaultActions : actions,
      child: Padding(
        padding: const EdgeInsets.all(15.0),
        child: Text("This is index of ${list[index]}",
            style: TextStyle(fontSize: 25)),
      ),
    );

I think I have fixed this issue.I have pushed the v1.2.7 to fix the overscroll you mentioned. You can check it.And you can pass the param "trailingActions" or "leadingActions" with null explicitly .

And about your second issue,guard that your cell's backgroundColor param is not Colors.transparent when you pass the controller in.

@luckysmg Nicely done!
The overscroll issue is resolved 👍
About the edit mode icon that appears when adding a controller to the SwipeActionCell,
Even if I put a background color to the cell, it's still there.
Maybe only show the icon if the user entered edit mode?
Here is an image that show the problem:

As you can see, there is a little red icon next to my custom shaped action.
Thanks!

Ok ,I ll check it

I ll fix it as soon as i Can

I have pushed the version v1.3.0,you can check it again 😀

@luckysmg You are the best!
Everything works like a charm.
Thank you

I'll close this issue,If you got any other questions,you can reopen this issue whenever you want.


Support for BPF_PROG_TEST_RUN

Documentation:

https://www.kernel.org/doc/html/latest/userspace-api/ebpf/syscall.html
https://lwn.net/Articles/718784/
https://www.mankier.com/8/bpftool-prog ("prog run" command)

@qmonnet Any insights you can provide here about how Linux prevents invalid pointers in the context?

@song-jiang Any thoughts on how important/urgent this need is?

The feature is not available to all program types. It's available for most networking-related types, and has been enabled more recently for a few tracing program types. I haven't looked at the details for tracing-related test runs.
For networking, you can pass an input context (typically representing the struct __sk_buff for most types) and set some fields in this context.
Currently (bpf-next), the fields from struct __sk_buff that are allowed to be set as part of the input context are: mark, priority, ingress, ifindex, cb (array), tstamp, wire_len, gso_segs, gso_size, hwtstamp. I found them by looking at the code and I don't think the list is documented. Pointers such as data and data_end, or all other fields not mentioned above, cannot be set, and must remain at zero. Those pointers are automatically computed by the kernel to point to the user-provided data before running the program.

Discussion: add as part of extension contract for a hook/program type to allow them to register a checker function.  If not registered, TEST_RUN will fail for that program type.  If registered, then TEST_RUN will call the extension's checker for that program type before invoking program.

Any thoughts on how important/urgent this need is?
Calico uses it for test only, so we can live without it for now. @dthaler


call the *.tsx file in ._topPlaceholder.domElement.innerHTML = `....

Category

[x] Question
[ ] Typo
[ ] Additional article idea
[x] Checked items have no spaces between the [] (delete this line)

Question
I need your help. i would to call the *.tsx file in html element in my spfx extension
how can I do this ?
I would like to do as in the code below
if (this._bottomPlaceholder.domElement) {
this._bottomPlaceholder.domElement.innerHTML = `
          **<Mytsxfile/>**

        </div>`;
    }

Environment details (development & target environment)

Your Developer Environment: [Windows 10]
Target Environment: [SharePoint Online]
Framework: [ SPFX | React v16]
Browser(s): [e.g. Chrome v79 ]
Tooling: [VS Code | SPFx ]

Thanks for your contribution!*

Hi yzafat,
"this._bottomPlaceholder.domElement" is a dom element, while "<Mytsxfile/>" is a React component.  As @andrewconnell  mentioned, it's suggested to use ReactDom.render() to mount the component to the corresponding element where you want to render.
demo:
const element = ()=>{return <Mytsxfile/>} ;
 ReactDom.render(element, this._bottomPlaceholder.domElement);
You may also take a reference of below sample:

Regions Footer Application Customizer

Baker Kong
Microsoft SharePoint Community Support


Error: your terminal supports neither 24-bit nor 8-bit colors.

im running a command with shell_exec from ascii-image-converter

Error: your terminal supports neither 24-bit nor 8-bit colors. Other coloring options aren't available
But when i run this specific command on my bash it work
This is my own server so i can configure it as i want.
Any ideas ?

shell_exec is running in a headless environment and doesn't have access to an interactive terminal, which is needed to check terminal supported colors. Your best bet would be to pre-generate ascii art through bash, and use the exported text instead.
Besides, it's all escape codes around characters which the terminal converts to colors, but you'll just get the raw text if you serve as a website through a server.


Configuration not working consistently

A large amount of the toggleable settings don't seem to work as intended, most evident with settings like disabling additional tool types and/or compressed blocks. Neither individual toggles nor the global toggles for these features disable the items or their recipes.
Just to ensure it wasn't an issue with the in-game Mod Menu, I checked the configuration file, and any changed settings were saved as intended. If needed, I can do more specific testing of which settings do and don't function, as a few do work properly.

Looks like I accidentally moved the config to load after all the items are loaded while updating to 1.17. Thanks for the heads up.


Why is the 'training' parameter of dropout in Prenet set to True?

In the code of Prenet
def forward(self, x):
    for linear in self.layers:
        x = F.dropout(F.relu(linear(x)), p=0.5, training=True)
    return x

Why is 'training=True'?  Shouldn't it be 'training=self.training'? Does that mean we apply dropout when inference?  I changed this to 'training=self.training' and the pre-trained model is unable to generate correct audio.

This is mentioned in the original Tacotron2 paper.

In order to introduce output variation at inference time, dropout with probability 0.5 is applied only to layers in the pre-net of the autoregressive decoder.

The code just follows the specification.

Hi, I noticed that this is mentioned in Tacotron2 paper: 'to introduce output variation at inference time'. But why the model output noise after I set this to False when inference? I don't understand why the model can only work with dropout set to True.

@yuxinyuan When I'm testing with the pre-trained model, even if I set training=True and change the drop rate to some other value, for example, 0.3. The model also generates noise. That's weird. The pre-trained model only works with training=True and droprate=0.5.

Model have been learned from half information of previous mel.
Full information of previous mel make the decoder hard to correct prediction. Since it is too much for prenet that consist of (fc, dropout(0.5))×2.

@Yeongtae I think the framework should have already automatically ×2 if the dropout is set to true because if the framework don't (fc, dropout(0.5))×2, it will not get the correct loss and update the network. This mechanism has been mentioned in the course from Fei-Fei Li. Also If model only learned from half information. We should always use dropout when inference. But actually we don't do that. We only use drop during training(maybe in 99% of the case).

If u set droprate to 0.15 from 0.5 and training=self.training, u can solve this problem.
It can always make some audio given a same utterance.
But it makes model hard to converge and unstable than using droprate=0.5.

@Yeongtae Hi, maybe (0.15 and disable dropout) when reference will let the prenet give simillar results as (0.5 and enable dropout).  It seems the autoregressive decoder is very sensitive to its input. A dropout before the layer will not affect the output of some conventional layers(such as dense layer), but do will affect the output of the autoregressive decoder.

@jjl1994 you can run an experiment and train the model from scratch without dropout on the prenet

@jjl1994 You are right. Using dropout in inference is not wised. The mozilla version of tacotron2 is working as your wish. Moreover, using small dropout on overmany parameters is not wised too. The original model structure is just a reference, you can optimize it.

any experiment result of set training=self.training to train the model?

In my experiment, if set training=False, i.e. do not use dropout, i got a very bad result and bad alignment.
if set training=self.is_training , in inference time, i alse got a very bad result.
what's more ,i found a very weird phenomenon in dropout:
`origin = tf.constant([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],dtype=tf.float32)
with tf.Session() as sess:
fix1 = tf.layers.dropout(origin, rate=0.5, training=True)
print(fix1.eval())
fix2 = tf.layers.dropout(fix1, rate=0.5, training=True)
print(fix2.eval())`
the result is :
[ 0.  0.  6.  8. 10.  0.  0. 16.  0.  0. 22.  0. 26.  0.  0.  0.  0.  0.   0. 40.] [ 0.  0. 12. 16.  0.  0.  0.  0.  0.  0. 44. 48.  0.  0.  0.  0.  0.  0.   0. 80.]
notice that 0 turn to 48!!!!!!!!   what's the problem???

Closing due to inactivity.

@terryyizhong  I can share valid loss of setting training=self.training on my end; I started training on LJ speech from scratch using identical params provided in master. It looks very strange; I am looking into what could have gone wrong.
Validation loss 200:  8.105130
Validation loss 400: 12.825017
Validation loss 600: 11.753986
Validation loss 800: 14.233746
Validation loss 1000: 14.253099
Validation loss 1200: 18.660198
Validation loss 1400: 17.960465
Validation loss 1600: 19.330160
Validation loss 1800: 22.346097
Validation loss 2000: 23.067725
Validation loss 2200: 25.812730
Validation loss 2400: 26.288597
Validation loss 2600: 29.514675
Validation loss 2800: 27.077643
Validation loss 3000: 27.432822
Validation loss 3200: 29.471922
Validation loss 3400: 30.740887
Validation loss 3600: 30.523686
Validation loss 3800: 31.277980
Validation loss 4000: 31.414633
Validation loss 4200: 31.757557
Validation loss 4400: 30.777057
Validation loss 4600: 32.895072
Validation loss 4800: 33.554407

@terryyizhong I can share valid loss of setting training=self.training on my end; I started training on LJ speech from scratch using identical params provided in master. It looks very strange; I am looking into what could have gone wrong.
Validation loss 200:  8.105130
Validation loss 400: 12.825017
Validation loss 600: 11.753986
Validation loss 800: 14.233746
Validation loss 1000: 14.253099
Validation loss 1200: 18.660198
Validation loss 1400: 17.960465
Validation loss 1600: 19.330160
Validation loss 1800: 22.346097
Validation loss 2000: 23.067725
Validation loss 2200: 25.812730
Validation loss 2400: 26.288597
Validation loss 2600: 29.514675
Validation loss 2800: 27.077643
Validation loss 3000: 27.432822
Validation loss 3200: 29.471922
Validation loss 3400: 30.740887
Validation loss 3600: 30.523686
Validation loss 3800: 31.277980
Validation loss 4000: 31.414633
Validation loss 4200: 31.757557
Validation loss 4400: 30.777057
Validation loss 4600: 32.895072
Validation loss 4800: 33.554407

thanks for your information. I tried before and counter the same problem. The loss keep going up after several steps.
Looking forward you find the solution.

@terryyizhong I can share valid loss of setting training=self.training on my end; I started training on LJ speech from scratch using identical params provided in master. It looks very strange; I am looking into what could have gone wrong.
Validation loss 200:  8.105130
Validation loss 400: 12.825017
Validation loss 600: 11.753986
Validation loss 800: 14.233746
Validation loss 1000: 14.253099
Validation loss 1200: 18.660198
Validation loss 1400: 17.960465
Validation loss 1600: 19.330160
Validation loss 1800: 22.346097
Validation loss 2000: 23.067725
Validation loss 2200: 25.812730
Validation loss 2400: 26.288597
Validation loss 2600: 29.514675
Validation loss 2800: 27.077643
Validation loss 3000: 27.432822
Validation loss 3200: 29.471922
Validation loss 3400: 30.740887
Validation loss 3600: 30.523686
Validation loss 3800: 31.277980
Validation loss 4000: 31.414633
Validation loss 4200: 31.757557
Validation loss 4400: 30.777057
Validation loss 4600: 32.895072
Validation loss 4800: 33.554407

have you solved the problem? I encountered the same problem when set training=self.training, the valid loss keeps going up after some steps, especially when the reductor factor = 1.

no, I think this issue should keep open gain

@terryyizhong
@zwlanpishu
Do either of you have some alignment and predicted spectrogram pictures you can upload?

@terryyizhong
@zwlanpishu
Do either of you have some alignment and predicted spectrogram pictures you can upload?
(Images tab in Tensorboard)

I am training. But it is really hard to converge with a reduce fator r =1. So, usually how many steps does it take to pick up a alignment for the LJspeech dataset?

@terryyizhong
@zwlanpishu
Do either of you have some alignment and predicted spectrogram pictures you can upload?
(Images tab in Tensorboard)

When training with prenet dropout=self.training, the process is same as before, so it also converges and get an alignment. But the valid loss is easy to overfit with dropout disabled. It rises up quickly after several epochs. As a result, the model can not work with  the prenet dropout disabled when infering. However, setting the prenet dropout=True solves the problem with a non-overfiting valid loss. As discussed above,  maybe (p = 0.15 and disable dropout) when infering will let the prenet give simillar results as (p = 0.5 and enable dropout).
traing loss:

validation loss with dropout disabled when infering:


Multiple datasets merge into one despite explicitly defining a label

I have the following code generating datasets :
let dataset = { 	label: title, 	labels: data, 	fill: false, 	lineTension: 0.1, 	borderColor: colorArray()[counter], 	borderCapStyle: 'butt', 	borderJoinStyle: 'miter', 	pointBorderColor: 'rgba(75,192,192,1)', 	pointBackgroundColor: '#fff', 	pointBorderWidth: 1, 	pointHoverRadius: 6, 	pointHoverBackgroundColor: 'rgba(75,192,192,1)', 	pointHoverBorderColor: 'rgba(220,220,220,1)', 	pointHoverBorderWidth: 3, 	pointRadius: 1, 	pointHitRadius: 1, 	showLine: true, 	steppedLine: true, 	spanGaps: true, 	data: data, 	year: dataYear, 	measurement: 'state' };
It runs inside a loop, and title (the label property) is unique every time. I add all the datasets to an array, and pass the array to a Line object inside a data object:
const data = {
	labels: this.state.eventWeekArray,
	datasets: datasets
};
 <Line data={data} options={options} />

But all the datasets merge into one.

I'm having the same issue with a Line chart with a time series.
It's showing both datasets in the legend but only one line.

Closing for now. Please supply a sandbox or code example with the latest versions of both libraries. If the problem persists, feel free to open a new issue.


Animation not exported to glTF

Open attached blend file.
Go to File -> Export -> glTF
Select Data -> Mesh -> Apply modifiers checkbox
Push Export
Go to https://gltf-viewer.donmccurdy.com/ and upload gltf file

In the blend file we have 2 animations but in gltf no one(.
tree.zip

Hello,
We can't export these animations to glTF, as you are animating a property of a modifier.
Only the following animation can be exported in core glTF specification:

Location/Rotation/Scale of objects
Location/Rotation/Scale on armature bones
Weights on Shape Keys


[Feat}: The Navbar Toggle Icon Button is not changing in mobile devices

Is your feature request related to a problem? Please describe.
When the user clicks the navbar toggle button the toggle button will be changed to the wrong icon button in the mobile device.
Additional context
Add any other context or screenshots about the feature request here.
when clicks the navbar toggle button

then should be show the wrong button to remove navbar.

I am GSSOC24 Contributor
Please assign me to add this feature, I would like to work on it.

how to run the code in the visual studio because npm start is not working
Please provide some of these related commands to run the code


_req field - Requires fields that aren't diplayed

Hi Norm and all

If you make some fields on a form invisible with conditions (using the Knack platform UI, not the ktl) AND
if those fields are marked as required using the ktl

then the form can't be submitted
If the issue could be addressed this would allow for dynamic 'required if' arrangements by using the Knack dynamic displays with KTL

Screenshot shows required fieldds all filled in but the from not able to be submitted (greyed out button) - there are fields not visible on this form that are also required under the ktl _req function

Hi Michael,
That's a good one.  I think I know what's happening.  I try to validate the value of a non-existing field and since I can't find it, I assume false by default.  I should default to true when not found.
Norm

Whew! Glad I got one right - it would be amazing if this got on the agenda it would solve so many problems for me and I'm  sure others also - it is a fairly good stand in for a dynamic required if function - not perfect as it would be most ideal if fields could be visible and dynamically changed to required or not required - but would solve most of my use cases at the moment! The work arounds are diabolical

I think I got it fixed now.
Can you try the Beta code please?
I also have some ideas on how to implement _req dynamically.
But that's for a bit later, on my TODO list.
Norm

Just got this - will do

Tested beta (0.28.4) - no dice - right version?
Button remains washed out no option to submit

In the screenshot there is one field that is empty and made not visible by a knack display rule and set to required in ktl
Notes:

I tried clearing my cache
I tried alternate browser
Nothing jumping out in the console for me
The knack button code looks like this on render :

<button class="kn-button is-primary" type="submit" disabled="true">
Update Lead


Teams Memory Issues

Reading through this article, I either have a serious issue with my laptop, or Teams is not functioning as described.
When I start Teams clean there are anywhere between 7 and 9 sub processes running at anyone time and the memory consumption is just under 600 MB. but as I start to run my development tools, the memory usage drops. but not significantly.
Teams initial start up

Teams with Intellij

Teams with Intellij and Docker Desktop

So yes, the Teams memory usage did drop by 26.5 MB but I would not consider that enough to keep me from hitting out of memory issues.
My system has 16 GB of memory installed with 15.8 usable

So is this an issue with Teams or my system?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fc21902c-d522-3851-8587-177f01bc085c
Version Independent ID: 590bcc64-a86d-b61e-7d94-4e4322c4e71d
Content: How Microsoft Teams uses memory - Microsoft Teams
Content Source: Teams/teams-memory-usage-perf.md
Service: msteams
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hello @PStoner3 Paul,
Here, we are limited to documentation issues and fixes, for your inquiry, the best would be to open a support request from your tenant.
Thanks,

@scanum


Enhancement: add descriptions to keybindings

Hi again! Would it be possible to add descriptions to the keybindings?
Here's an example of what I currently see when viewing the Telescope mappings for diff_commit_file.

Showing something like the below would be more helpful:

<CR> -> Open file diff from commit
<C-e> -> Open entire commit diff
<C-o> -> Open commit in browser

I'm not sure if there are any limitations on this on Telescope's end, though.

I'm doing a big refactor in https://github.com/aaronhallaert/advanced-git-search.nvim/pull/27 and actually implementing this 😅

Thanks again!


[pre-ll] Initialize Device and Factory from existing context

Short info header:

GFX version: gfx 0.18.0

I'm wondering how receptive we'd be to adding functions to create a Device and Factory from existing backend-specific contexts, similar to how the hal DX11 backend has a new function that takes an existing ID3D11DeviceContext:
https://github.com/gfx-rs/gfx/blob/fcc3806aba14e4c0f54adb51dd34057e192800d3/src/backend/dx11/src/device.rs#L68-L72
I imagine for all backends, it will be adding a backend-specific method to the Device type. For DX11 I imagine it involves just passing the immediate context in and for GL there might not need to be any work done (just need to be careful to call the creation on a gl thread?).
The use case for this is to allow non-gfx/winit entrypoints to call my gfx code as a library.
Cheers!

That would be fine by me. If you are the first (and only to date) client of that potential API, would you mind providing the PR with the version that works for you?

@kvark The PR was merged, so I'm going to close this out. I'm also using the new create_from_existing to make a headless (i.e. swapchain-less) instance of GFX for testing.


Fixed #32610 -- Fixed get_git_changeset() on Linux.

ticket-32610

shell=True is required on Windows. Unfortunately passing a sequence to subprocess.run() behaves differently on Linux, i.e. the first item specifies the command string, and any additional items are treated as additional arguments to the shell itself.

buildbot, test this please.

buildbot, test this please.


Crash when trying to use mining planner with "Rail deconstruction planner" mod

I got this error when tried to use mining patch planner:
Mod Rail Deconstruction Planner (1.0.0) got an error.
Error while running event rail-decon-planner::on_player_selected_area (ID 51)
Entity is not rail.
stack traceback:
	[C]: in function 'get_rail_segment_rails'
	__rail-decon-planner__/control.lua:142: in function 'get_rail_segments'
	__rail-decon-planner__/control.lua:243: in function 'mark_segments'
	__rail-decon-planner__/control.lua:333: in function <__rail-decon-planner__/control.lua:330>

I tried to mark an ore patch for mining, but somehow got an error in "Rail Deconstruction Planner". I think both mods used the same functions and maybe the same locals (function names or smth), so using one mod also tried to call a function from another mod or something like that.
I'll also duplicate this error to "Rail Deconstruction Planner" author.

Closing because crash is not on my end. The other mod is not properly filtering the on_player_selected_area event. (I had the same bug at first).

Yeah that was entirely on my end.
if not event.item == "my-tool" then return end

was not properly checking the tool while
if event.item ~= "my-tool" then return end

does check it correctly.


[clojure] clojurify function names in image.clj namespace

Description
The image namespace is using some functions that are not named the clojure way. It is an attempt to clojurify these functions.
The namespaces are supposed to be imported qualified and having the suffix -image in the following functions is redundant

resize-image
decode-image
read-image

One should be able to call image/resize, image/decode, image/read instead.
The function to-image is misleading as we dont know what is turned into an image. I suggest to name it ndarray->image instead.

deprecated is added in metadata
deprecated is added in docstrings

@Chouffe : you need to fix some conflicts because i merged your other PR

lgtm! let me merge this.
as an aside, are there other places in examples where *-image functions are used? if yes, can you replace those usages as well?

Will do! Thanks for reviewing so promptly @kedarbellare

Should be ready to :ship: now @kedarbellare


[BUG] Entitlement setup sometimes uses wrong amount

Is there an existing issue for this?

[X] I have searched the existing issues

Which area is mainly impacted
Cloud Foundry setups
Current Behavior
Regarding entitlements – it seems that if the automator falls back to using “amount”, it takes the wrong amount sometimes. See the below logs, I double checked, the amount for cloud logging is set to 1. Maybe it wrongfully takes the amount of the previous service?
[2022-04-07 10:36:32] WARNING    : this entitlement wasn't sucesssfull. Trying to entitle with amount parameter instead.
[2022-04-07 10:36:32] INFO       : Try again to assign entitlement for >auditlog< and plan >oauth2< with amount parameter set to 1.
[2022-04-07 10:36:32] RUN COMMAND: btp --format json assign accounts/entitlement     --to-subaccount "2d2dfaf0-0227-4d7d-b89d-9fa262f3488d"     --for-service "auditlog"     --plan "oauth2" --auto-distribute-amount 2 --amount 2
[2022-04-07 10:36:34] INFO       : Assign entitlement for >cloud-logging< and plan >standard<
[2022-04-07 10:36:34] RUN COMMAND: btp --format json assign accounts/entitlement     --to-subaccount "2d2dfaf0-0227-4d7d-b89d-9fa262f3488d"     --for-service "cloud-logging"     --plan "standard" --distribute --enable
[2022-04-07 10:36:35] WARNING    : this entitlement wasn't sucesssfull. Trying to entitle with amount parameter instead.
[2022-04-07 10:36:35] INFO       : Try again to assign entitlement for >cloud-logging< and plan >standard< with amount parameter set to 1.
[2022-04-07 10:36:35] RUN COMMAND: btp --format json assign accounts/entitlement     --to-subaccount "2d2dfaf0-0227-4d7d-b89d-9fa262f3488d"     --for-service "cloud-logging"     --plan "standard" --auto-distribute-amount 2 --amount 2
Expected Behavior
No response
Steps To Reproduce
No response
Logs available?
No response
Anything else?
No response

Can you please share your usecase.json and parameters.json file?

Found a copy-and-paste error in my code... Fixed now and is available in the new docker image.
Can you confirm @madevr ?

Closing the issue for now until hearing back. If issue is still there, just let us know and we'll re-open the issue again.

Can confirm this works now for me. Thanks a lot!


Fix credentials logging

Temporarily fix before https://github.com/RedHatQE/widgetastic.core/pull/227 will be merged.

@dhlavac this requires your care

blocked by https://issues.redhat.com/browse/IQE-2070


Audio is garbled

I'm having trouble sending audio. When I am listening and someone else is send me audio everything is fine. When I send audio however it sounds garbled to listeners.
For now I am just using the loopback.js example so I can send and receive audio myself. I've tried the demo on both windows and linux so far and both are having the same issue. I'm now wondering if the issue is now a server configuration issue?
When I connect the real mumble client to my server I get this message:

Server maximum network bandwidth is only 12 kbit/s. Audio quality auto-adjusted to 8 kbit/s (40 ms)

I'm wondering if node-mumble is simply trying to send too high of bandwidth streams to the server and thus having problems. I tried setting the sampleRate on the input options but it didn't seem to have an effect. I tried to patch node mumble to use a default of 8000 instead of 48000 for the SAMPLING_RATE but it gives me this: warning: Sampling rate must be between 32 kHz and 96 kHz
So i have two questions:

Do you think it's likely that the audio issues I'm encountering are just server bandwidth / quality configuration problems?
How do I downgrade the audio quality in node-mumble so that it's only sending 8kbit/s ?

Upping the quality on my server fixed the issue completely. I would still to know how to lower the quality here and then possibly create a PR to dynamically downgrade based on the server options like the official mumble client does. We will have a variety of users with various quality computers, supporting lower quality streams coudl be very useful.

Sample rate is quite a bit different when it comes to compressed audio. Even 8kHz sample rate with 16 bit samples would equal 128kbit/s bitrate uncompressed - and given opus/celt use fixed bitrate that wouldn't reduce the bandwith at all.
MumbleConnection should have setBitrate exposed which . One of the Mumble server messages contains the capped bitrate.
The server's max bitrate is part of the ServerConfig message. Should be a simple case of calling the this.setBitrate in MumbleConnection when receiving new ServerConfig.
I'd do this, but I don't have a low bitrate murmur server currently. If you got one, you could make the change and confirm it fixes the issue?

Cool, I will give it a shot and let you know. Thanks.

Reopening. Waiting for confirmation.

We reconfigured our server up to 48000 to resolve this but I will lower it again and test this soon. Thanks again.

Also I have a related question for you. We upped the quality on the server and now audio is going through it fine, except that the sent voice sounds high pitched, chipmunk-like. The incoming audio sounds fine however.
I think that the browsers getUserMedia api is grabbing mic data at a sample rate of 44.1khz. I'm thinking what I need to do is to up-sample to 48khz, then let node-mumble do the rest. Does that sound right?
I'm looking at this for example:
http://stackoverflow.com/questions/27411835/web-audio-api-downsample-44-1-khz-in-javascript

The input stream constructor should take in options that allow specifying sample rate or something...
I know I wrote code to quickly resample audio somewhere.

Maybe take a look at: https://github.com/Prior99/node-samplerate
It seems to be pretty stable since many weeks.

:+1:

@Prior99 I'm noticing that libsamplerate is GPL licensed... that could be a problem. I'm happy to use your node-samplerate addon as is but I'm not sure if consuming it would force my electron application to also become GPL licensed? We're looking into it.

As I mentioned earlier, the MumbleInputStream constructor accepts the expected sample rate as an option. These options can be passed in when calling inputStream().
The actual resampling implementation is quite naive but it should do the trick unless you really require high fidelity audio.
The options are somewhat documented in the Wiki as well, although the connection between inputStream() parameters and MumbleInputStream constructor options isn't really spelled out.

Yeah, I'm going to use that. Thanks @Rantanen

@justinmchase yes, that is a problem. It uses libsamplerate which is gpl licensed so there is no way to change it :/

I'll close this and reopen a new one for improving the bitrate limiting logic.

Actually, sorry for not following up but using the inputStream trick like you suggested worked for me. I ended up going with the openal approach, which lets me just set it right to 48000, but when I was in the browser it was necessary to set it to 41000.


AttributeError: 'list' object has no attribute 'values' (LIKELY: CoreNLP issue)

I am running the giveme5w1h-rest command. I had followed what #30 @abhimanyuNitSri had mentioned, I had moved the cache into the local package folder and I had replaced the '_' inside the cache folder. But I am still unable to get the library to be working.
Output at  giveme5w1h-rest console
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 166, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff3af333c18>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff3af333c18>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pycorenlp/corenlp.py", line 19, in annotate
    requests.get(self.server_url)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff3af333c18>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/examples/extracting/server.py", line 101, in extract
    extractor.parse(document)
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/extractor/extractor.py", line 104, in parse
    self.preprocess(doc)
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/extractor/extractor.py", line 87, in preprocess
    self.preprocessor.preprocess(doc)
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/extractor/preprocessors/preprocessor_core_nlp.py", line 112, in preprocess
    annotation = self.cnlp.annotate(document.get_full_text(), actual_config)
  File "/usr/local/lib/python3.6/dist-packages/pycorenlp/corenlp.py", line 21, in annotate
    raise Exception('Check whether you have started the CoreNLP server e.g.\n'
Exception: Check whether you have started the CoreNLP server e.g.
$ cd stanford-corenlp-full-2015-12-09/
$ java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer
<IP_ADDRESS> - - [05/Mar/2019 17:35:48] "POST /extract HTTP/1.1" 500 -
edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/extractor/extractor.py", line 20, in run
    extractor.process(document)
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/extractor/extractors/abs_extractor.py", line 41, in process
    self._evaluate_candidates(document)
  File "/usr/local/lib/python3.6/dist-packages/Giveme5W1H/extractor/extractors/action_extractor.py", line 104, in _evaluate_candidates
    if any(doc_coref.values()):
AttributeError: 'list' object has no attribute 'values'

Output at giveme5w1h-corenlp console
[pool-1-thread-3] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator tokenize
[pool-1-thread-3] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator ssplit
[pool-1-thread-3] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator pos
[pool-1-thread-3] INFO edu.stanford.nlp.tagger.maxent.MaxentTagger - Loading POS tagger from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger ... done [0.7 sec].
[pool-1-thread-3] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator lemma
[pool-1-thread-3] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator parse
[pool-1-thread-3] INFO edu.stanford.nlp.parser.common.ParserGrammar - Loading parser from serialized file edu/stanford/nlp/models/srparser/englishSR.ser.gz ... done [4.7 sec].
[pool-1-thread-3] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator ner
[pool-1-thread-3] INFO edu.stanford.nlp.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz ... done [0.9 sec].
[pool-1-thread-3] INFO edu.stanford.nlp.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/ner/english.muc.7class.distsim.crf.ser.gz ... done [0.6 sec].
[pool-1-thread-3] INFO edu.stanford.nlp.ie.AbstractSequenceClassifier - Loading classifier from edu/stanford/nlp/models/ner/english.conll.4class.distsim.crf.ser.gz ... done [0.7 sec].
[pool-1-thread-3] INFO edu.stanford.nlp.time.JollyDayHolidays - Initializing JollyDayHoliday for SUTime from classpath edu/stanford/nlp/models/sutime/jollyday/Holidays_sutime.xml as sutime.binder.1.
edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl
	at edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:40)
	at edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:57)
	at edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:38)
	at edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
	at edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:136)
	at edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:91)
	at edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:70)
	at edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$44(StanfordCoreNLP.java:498)
	at edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getDefaultAnnotatorPool$65(StanfordCoreNLP.java:533)
	at edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:118)
	at edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
	at edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:146)
	at edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:447)
	at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:150)
	at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:146)
	at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:133)
	at edu.stanford.nlp.pipeline.StanfordCoreNLPServer.mkStanfordCoreNLP(StanfordCoreNLPServer.java:319)
	at edu.stanford.nlp.pipeline.StanfordCoreNLPServer.access$500(StanfordCoreNLPServer.java:50)
	at edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:642)
	at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
	at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)
	at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)
	at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:691)
	at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
	at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:663)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: edu.stanford.nlp.util.MetaClass$ClassCreationException: MetaClass couldn't create public edu.stanford.nlp.time.TimeExpressionExtractorImpl(java.lang.String,java.util.Properties) with args [sutime, {}]
	at edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:237)
	at edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
	at edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:38)
	... 27 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
	at edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
	... 29 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
	at de.jollyday.util.CalendarUtil.<init>(CalendarUtil.java:42)
	at de.jollyday.HolidayManager.<init>(HolidayManager.java:66)
	at de.jollyday.impl.DefaultHolidayManager.<init>(DefaultHolidayManager.java:46)
	at edu.stanford.nlp.time.JollyDayHolidays$MyXMLManager.<init>(JollyDayHolidays.java:148)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
	at java.base/java.lang.Class.newInstance(Class.java:560)
	at de.jollyday.caching.HolidayManagerValueHandler.instantiateManagerImpl(HolidayManagerValueHandler.java:60)
	at de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:41)
	at de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
	at de.jollyday.util.Cache.get(Cache.java:51)
	at de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
	at de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
	at edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
	at edu.stanford.nlp.time.Options.<init>(Options.java:90)
	at edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
	at edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
	... 34 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
	... 53 more

OS: Ubuntu 18.04
Python Version 3.6.7
Giveme5W1H Version 1.0.13
Stanford CoreNLP Version 2017-06-09

I'm getting the same error from the ActionExtractor when running python3 -m Giveme5W1H.examples.extracting.parse_single_from_code on a similar setup. It appears _evaluate_candidates() is trying to call .values() on the corefs list as if it's a dictionary.

As can be seen in the CoreNLP Server logs, this seems to be an issue of CoreNLP, not Giveme5W1H, i.e., edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl. Could you please open an issue on their repository and let us know here, too?

Yup done. Thanks @fhamborg!

Just Giveme5W1H's default.
Closing the issue since it seems to be a 3rd party issue. Feel free to reopen it in case there are any news indicating that it's an internal issue.

So, this library is working now? What should I pass an argument to a function for it to work? I passed str(date_publish) and get the same error. I'm use this example:
https://github.com/fhamborg/Giveme5W1H/blob/master/Giveme5W1H/examples/extracting/parse_from_newsplease.py

I've found solution in installing java8 instead 11 install openjdk-8-jdk openjdk-8-jre

There is a question on Stack Overflow that describes in detail how to resolve the issue. It seems that in the latest Java versions java.se.ee has been removed. You can simply install JDK 9 or 10 and add --add-modules java.se.ee to start the CoreNLP service.

I had this same issue and it seems to be related to the higher java version on my MacOS. After downgrading it to java 8 it works.

As of the 3.9.2 release of CoreNLP (rather old at this point) there is a jaxb implementation included in our releases.  If that's included in the classpath, this error should not occur, hopefully.


fix: remove component in csr

Codecov Report

Merging #486 (40ac127) into release-next (9f6c17e) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@               Coverage Diff                @@
##           release-next     #486      +/-   ##
================================================
+ Coverage         81.97%   81.98%   +0.01%
================================================
  Files                89       89
  Lines              7643     7643
  Branches            965      965
================================================
+ Hits               6265     6266       +1
+ Misses             1371     1370       -1
  Partials              7        7

Impacted Files
Coverage Δ

packages/ice/src/commands/start.ts
88.00% <100.00%> (+0.57%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


i can't run bundle install

i can't run bundle install i have installed the latest ruby on rails on windows 10 x64 pc
erro screen below
Rails error.txt

Apologies for the late reply. Please see https://github.com/rubygems/bundler/issues/5501#issuecomment-284525933 which has some information on how to resolve your bundler issue


nginx template whitespace cleanup

Fix a bit of whitespace in the default nginx template. Totally trivial commit, but I'll likely expand on this a bit down the road to allow running nginx as a different user and whatnot in followup PRs.

lgtm. Thanks!


Conditional value prevents setting mongodb ENV variables necessary for external DB configuration

https://github.com/sorry-cypress/charts/blob/5290c43bf70a9be46bcfe340deb03b1ea7851289/charts/sorry-cypress/templates/deployment-api.yml#L38
When the helm chart value mongodb.enabled == false  the conditional on Line 38 prevents the MONGODB_DATABASE && MONGODB_URI ENV variables from being set to the sorry-cypress--api deployment object which prevents Helm Chart usage for users wanting to configure an external DB.

Should be resolved in release 1.0.1


Updating Zephyr to fix Work Queue Problems

Issue #27356 identified a host of race conditions in the Zephyr work queue implementation through release 2.5, and in the way that the API has been used.  https://github.com/zephyrproject-rtos/zephyr/pull/28579#issuecomment-700991966 provides a summary of the problems in the original implementation.
The replacement implementation in #29618 that will be in 2.6 eliminated the gaps in being able to precisely determine the state of a work item at the point an operation on it is performed.  A summary of work item states is presented in the documentation.
However: fixing the implementation does not eliminate the problems that result from the ways the API is being used.
With the new implementation it is still necessary to take into account:

TOCTOU races
The fact that operations like cancel can fail to complete immediately

This issue serves as a short description of the remaining problems and how to address them, and as a place to hold pointers to PRs where those problems are addressed:

https://github.com/zephyrproject-rtos/zephyr/issues/33104#issuecomment-792366232 has an updated list of relevant PRs
https://github.com/zephyrproject-rtos/zephyr/issues/33104#issuecomment-792782428 summarizes changes to this description made after it was first posted

Anti-Patterns
Checking whether work is pending before deciding whether to submit/schedule
Instantaneous check of work item state is truly instantaneous.  Application and subsystem logic that interprets and acts on that state can be incorrect if the animating thread is preempted, or an interrupt occurs, or another core is simulatenously operating on work items.
In the original implementation k_work_pending could return false even though the work item was still in use.  Some in-tree code uses the false return as an indication the work item is available, potentially resetting the structure content while it's being used by another thread (see 4817a41484c37cbddd977db5dc961f0dc7f2113c from #32890).
While this specific failure mode is no longer possible ("not pending" does mean the work item is, at that instant, not in use), the other direction remains: that a work item is still in use does not mean that it's unnecessary to submit it again so that newly available work will be processed.  The work item may have all but finished, and without a second submit there will be a potentially unbounded delay in processing new work.
Presence of any of these in a conditional operation before invoking a work queue operation should be reviewed:

Any use of k_work_pending(), k_work_is_pending(), k_delayable_work_pending() except:

in diagnostic messages; or
when used to confirm that the work item is not busy (so its state is available for reconfiguration);

The comparison of k_delayable_work_remaining() to zero;
Interpretation of specific states as indicated by k_{,delayable_}work_busy_get()

Please note that merely changing the legacy API in these uses to the new API does not fix the problem.  As an example, although 7b8bce898fd983595ae7043d68c05d884f0348d1 was merged in #32890, the openthread code may still misbehave, especially in SMP systems or when preemption is involved.  See the description of that commit for details.
Unchecked Return Values
The vast majority of uses of k_delayed_work_cancel() in Zephyr currently assume that this operation will never fail, and so that after requesting a cancel the work item could be re-scheduled or reconfigured, or that there was a guarantee that the work item would not be invoked.
This was never true, and it is even more true as a result of adding support to synchronize with work items, because a work item will still be pending for a small window after its handler function has returned.
Best Practices
The best way to avoid the race conditions in these anti-patterns is to push the checks into the work handler.  This will likely require code and data changes.
Specifically: when new work comes in, just submit it.  Do not attempt to determine whether the submission is necessary.  Have the handler determine whether there is more work to be done, and exit quickly if there isn't.  If the handler does some work, then sees there is more, either loop until all work is done or have it resubmit itself to ensure nothing gets lost.
For delayed work there are two common use cases, depending on whether a deadline should be extended if a new event occurs.  An example is collecting data that comes in asynchronously, e.g. characters from a UART associated with a keyboard.  The desired behavior might be to wait for 100 ms after the last character was received before processing, in which case you want k_work_reschedule(), or to process all available data 100 ms after the first character was received, in which case you want k_work_schedule().  More information is in the documentation.
If you need to be sure that potentially submitted work is not executed then set a flag in state that's exposed to the work handler, and have the handler detect it and do the cleanup.Then if necessary synchronize with the work item, first resubmitting it if necessary so that the handler can perform state cleanup.
A rare case where you could safely use k_work_is_pending() is as a check to avoid invoking k_work_flush() or k_work_cancel_sync(), if you are certain that nothing else might submit the work while you're checking, but it's probably best to just issue the command and have the state checked under lock, especially if you need to synchronize anyway.

The following PRs provide examples of updating work API to avoid the problematic idioms identified above.

#33109 uses DNS query state to coordinate release of the query structure with a timeout and received query responses.

NB: This comment will be updated as things change
Changes to original description:
2021-03-08

Sanction use of k_work_is_pending() to assess that the work item is not being used, so state that the handler may reference should be available for an update and resubmission.  (This idiom was a bug in the previous k_work implementation, where changes to data associated with a "not pending" work item could cause read/write conflicts with in-progress access of that data from the work handler.)

Specifically: when new work comes in, just submit it. Do not attempt to determine whether the submission is necessary. Have the handler determine whether there is more work to be done, and exit quickly if there isn't.

Could you please elaborate on this? I don't see how you can do this in the general case without forcing dynamic allocation of work queue items.
In particular: how can you know if the work queue item is safe to reinitialize?
Can you provide a simple example of what this looks like for a function that wants to have no more than, say, four work queue items outstanding at a time, erroring out any additional requests over said limit?

Specifically: when new work comes in, just submit it. Do not attempt to determine whether the submission is necessary. Have the handler determine whether there is more work to be done, and exit quickly if there isn't.

Could you please elaborate on this? I don't see how you can do this in the general case without forcing dynamic allocation of work queue items.
In particular: how can you know if the work queue item is safe to reinitialize?

The majority of uses of work queue items in zephyr are dedicated to a single handler function, with operation-specific state provided by embedding the work item in a container that holds that state, and the container statically allocated.  k_work_init() is invoked before anything's submitted. Once that's done the item can be submitted at any time, with the submission either having effect (if it's not in a queue, it's added to a queue) or no effect (when it's already in a queue, it stays there).
There may be some cases where a work item is re-initialized after it's already been submitted, but those have tended to be errors, or unnecessary.  If it would be necessary the solution would be to protect submitting the item with a lock, then within the lock confirming the item is not busy (not delayed, queued, or running with or without an in-progress cancellation), which is the state in which it can, if necessary, be reconfigured.

Can you provide a simple example of what this looks like for a function that wants to have no more than, say, four work queue
items outstanding at a time, erroring out any additional requests over said limit?

Not conveniently, no, because I don't understand the question or use case.  Work items aren't pooled, and a work queue can hold as many work items as are submitted to it: the links are part of each work item.


Problems on Recursion !!

Few Important Problems to Revise the Recursion Basics.

Here I've Added few Problems on Recursion to Revise the Concepts.


Sequence Validator

Like the other sequence like validators, but keep the type.
What do we do about str? I guess we have to allow it, but there are regularly scenarios where you want "any sequence other than a string".

I reckon adding a field allow_string: bool with default true ?

I'm amazed by what I wrote. I almost never want to allow str for something like this.
Up to you, but I would suggestion default false.

@caniko can you give an example of what you mean?

I feel like I might not be invested enough to the discussion, but from what I gather the point of using Sequence in the first place is to loosely accept classes that fit the category. Sequence, however, is not designed for pydantic, which is why it doesn't make sense.
Hence my idea to implement a Sequence-like type, and more if it makes sense, for Pydantic.

We could do, that but really that would effectively be a union of list | tool | set or whatever. In which situation, it would be better to be explicit and just use that union.
it's not quite the same as the union because it would be marginally faster to have an "any of these list-like types" type than use the standard union syntax, but I'm not sure, given how much it would be used, that it would be worth ti.

I think those using Sequence would appreciate it :sweat_smile:
FYI: I use it, but not with pydantic

it

I'm not very clear, appreciate what?
I find it hard to imagine many scenarios where I would really want Sequence[T].

I'm not very clear, appreciate what?

Appreciate adding something that homologous to Sequence.

I find it hard to imagine many scenarios where I would really want Sequence[T].

What about those few scenarios?
This is not my fight, I'll let someone with a real problem pick up the Yea side arguments from here.

I'm in favor of this, see https://github.com/pydantic/pydantic/issues/10036


:sparkles: add a version to cloud-config files

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

If a cloud-config is shared between systems, and those systems are running different versions of the agent, they could possibly not match the schema structure. Since we don't fail for any “extra” keys, this could end up in a situation where the configuration seems to work on both different systems, but it doesn't do the same thing.
Describe the solution you'd like

I'd like to see cloud-configs introduce a version and that such version is a requirement for the cloud-config to be valid e.g.
#cloud-config
version: 1.6.0
users:
  - name: kairos

Describe alternatives you've considered

I think the version as part of the config file is just about standard, but open to any other suggestions
Additional context

n/a

This needs some brainstorming. What is the version? The minimum version of kairos-agent you should use with this config? Instruction to kairos-agent to work in "compatibility mode" with that version?

Yup agreed, I think the underlying functionality will need some work. I just wanted to put it on an issue to not forget to work on this at some point


Docusaurus + Node.js 20.6 doesn't work

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[ ] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[ ] I have read the console error message carefully (if applicable).

Description
Docusaurus doesn't work under Node.js 20.6.0
Very likely related to a Node.js bug: https://github.com/nodejs/node/issues/49497
That should be fixed soon.
In the meantime I don't think there's anything we can do apart using a different Node.js version.
Going to close all the other related Docusaurus issues as duplicate. For now we have:

https://github.com/facebook/docusaurus/issues/9286
https://github.com/facebook/docusaurus/issues/9290
https://github.com/facebook/docusaurus/issues/9278

Reproducible demo
No response
Steps to reproduce
Use Node.js 20.6 + Docusaurus
Expected behavior
It works
Actual behavior
It doesn't work
Your environment

Public source code:
Public site URL:
Docusaurus version used:
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

[ ] I'd be willing to fix this bug myself.

Same issue

I'm also on node v20.6 and I am getting the following when I try npx create-docusaurus@latest my-website classic. Output:
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility (node:33254) Warning: Accessing non-existent property 'register' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) [ERROR] TypeError: common.register is not a function

This issue is resolved in Node 20.6.1, can be closed.

Can I get others to confirm? @homotechsual, @alewolf, @milesj?

Looks to be working 👍

Great, let's close unless someone else reports otherwise 👍

I'll have to wait until Homebrew updates its tap to the newest version. I'll let you know once that's done.

All good now on 20.6.1

@alewolf Should try https://moonrepo.dev/proto

Still getting the same error as #9278 in Node v20.15.0

same question

We aren't going to do anything on your comments here unless you open a new dedicated issue with a repro.


Removing proc_macro_hack

The macros using proc_macro_hack like select!, try_join! don't work with Rust Analyzer ( https://github.com/rust-analyzer/rust-analyzer/issues/6835 ).
I don't know what is required to remove proc_macro_hack, but given that it's page says:

Note: As of Rust 1.45 this crate is superseded by native support for #[proc_macro] in expression position. Only consider using this crate if you care about supporting compilers between 1.31 and 1.45.

It could be replaceable with proc_macro, which has better support.

we can't remove proc_macro_hack as we need to support old compilers but can use #[proc_macro] at Rust 1.45+


Can you change your code, let model name as function parameter?

For example:
`@Autowired
private ChatgptService chatgptService;
public void testMultiChat(){
List messages = Arrays.asList(
new MultiChatMessage("system","You are a helpful assistant."),
new MultiChatMessage("user","Who won the world series in 2020?"),
new MultiChatMessage("assistant","The Los Angeles Dodgers won the World Series in 2020."),
new MultiChatMessage("user","Where was it played?"));
String model = "gpt-4";
String responseMessage = chatgptService.multiChat(messages, model);
System.out.print(responseMessage); //The 2020 World Series was played at Globe Life Field in Arlington, Texas.
}`

chatgpt-spring-boot-starter-1.0.4.zip
implementation files('chatgpt-spring-boot-starter-1.0.4.jar')

I have only updated the multichat component for now, but I've built one myself while waiting for the author to update the codes.
Minor adjustments include using ChatRole for defining roles, such as ChatRole.SYSTEM, ChatRole.USER, and ChatRole.ASSISTANT.
    public String generate(String yay) {
        var multiChatRequest = MultiChatRequest.builder()
                .maxTokens(128)
                .model("gpt-3.5-turbo-1106")
                .responseFormat("json_object")
                .build();

        var messages = List.of(
                new MultiChatMessage(ChatRole.SYSTEM, "Return as json, bark"),
                new MultiChatMessage(ChatRole.ASSISTANT, "woof?"),
                new MultiChatMessage(ChatRole.USER, yay));

        return chatgptService.multiChat(messages, multiChatRequest);
    }


How is SessionManager used?

How is SessionManager used? Looking at the code it is supporting support for different client SDK's, but it doesn't seem to be an open source part. If I want to tweak some of the properties in the Session it doesn't seem to be supported.

tg_manager.cp310-win_amd64.pyd
tg_manager.cpython-310-darwin.so
tg_manager.cpython-310-x86_64-linux-gnu.so
None of the session management is open source, which makes one wonder about the motivation.

This library allows you to manage telethon and pyrogram sessions, the source code is hidden to avoid unfair use


Watch-only mode

With remote signing, there's no way to see all your accounts, with their balances, and fiat conversions (and the total balance), because the device with the wallet isn't connected to the internet!
Could an option be added when setting up a wallet: watch-only mode. In this mode you have to manually input all addresses (since there's no seed from which to derive them).

I can investigate how much work this would be. A separate mode sounds like quite a bit of work to adapt all functions since most of the wallet features would not be working and has to be disabled. And the wallet is typically saved by used the seed so not sure how to even store the accounts. That would have to be adapted too.
A workaround for watch-only accounts is to save the account detail page as bookmarks in the browser. Or store them in the address book if you already have a wallet set up. For quick access.

I have been using the address book workaround.
I can't see at a glance, which accounts currently have nano in and how much. And there's also no total balance.

What about if it was possible to add any account to your wallet as a watchable/read-only account from the account explorer and have it show up in your account list? Obviously with some kind of indication that it's watch only. Not sure if this should affect total balance or not though, since there are use cases where this might not be desirable.
It would also be nice if these accounts could then show up in the receive dropdown. It should still be possible to receive transactions to accounts you don't have the keys for. Typical use case would be to receive to offline/paper wallet, or using Nault as a POS device without keys stored on the device.

@aleksre This is an interesting approach. Sounds a lot easier to implement too. Regarding balance, it could be a checkbox next to each watch-only account if it should be included in the total balance, OR one checkbox in the balance panel that would add ALL watch-only to the balance. It makes more sense the more I think about it because then you don't need to reset your normal wallet to add watch-only accounts. Always available and can be used for offline signing as well.

This sounds even better.
Ideally it would work even when there is no wallet configured. Otherwise the use for offline signing would be a bit clunky.

@fallerOfFalls Good point. It would have to be stored in some separate local storage array that is cleared when you reset the wallet or empty the cache.

would it be stored in the wallet if a wallet is configured? And only stored separately if no wallet is configured?

Working on this now. It will be a compromise utilizing the address book to track balances and transactions, resulting in the lowest risk for mistaking them for regular accounts but flexible enough (with or without a wallet set up). The address book can also be exported/imported/bookmarked.

Oh yeah! That sounds like a perfect approach actually (not sure why we didn't think of it). As long as there's that option to include said balance in the total balance.


Support ServerAt directive

(@danyill assisting Maik)
In the attached we cannot see the Communications structure for the control block within the publisher plugin.
This appears to be because it does not support the ServerAt directive.
We were looking to see the communications addressing information (for the GSE) within the publisher communication for the Ctl control block.
Attached is an example file:
SEL-411L-2.zip
And a screenshot of the publisher plugin:

The control block of Ctl is in the S1 AccessPoint, however the GSE is within the P1 ConnectedAP
This plugin needs to following the ServerAt directive to allow finding the GSE within P1:
    <AccessPoint desc="Process Bus" name="P1">
      <ServerAt apName="S1" />
      <Services>
        <ClientServices goose="true" sv="true" />
      </Services>
    </AccessPoint>

@danyill wrote something for this which may be useful but undoubtedly needs careful review.
https://github.com/danyill/oscd-tp-multicast-naming/blob/9daa65ed3e9ab37c9bc23c5d88638ef0f6790af2/oscd-tp-multicast-naming.ts#L339-L372

We can simply swap in: controlBlockGseOrSmv from https://github.com/OpenEnergyTools/scl-lib/blob/main/tControl/controlBlockGseOrSmv.ts into
https://github.com/OpenEnergyTools/oscd-publisher/blob/a765f5ddeaa339d2dfc997bbf18a094961fb1fa0/editors/gsecontrol/gse-control-element-editor.ts#L74-L86
I can do a PR if you would like @JakobVogelsang


Add support of equal cost multipath (ECMP)

Sending List of NSM IPs from slicegateway status filed to slice router sidecar to enable ECMP load balancing

Closing it as it a duplicate of #136


Right click doesn't show problem's context menu

Issue Type: Bug
Hi guys,
I found an annoying UX bug. When I leftclick to a problem in the project's problems panel the background color of the problem will change to blue - the problem is now selected. In that moment I am not able to open context menu by right clicking to it to copy my error message.
Workaround: I can open context menu only if the problem is not selected (problem's background color isn't blue).
I created a reproducing youtube video here:
https://www.youtube.com/watch?v=DsDSlOIIIq8
Steps to reproduce the bug:

Open a project with a TypeScript problem.
Open the bottom panel with Problems, Output and Terminal tabs.
Select the Problems tab.
Select the problem with left mouse button.
Try to open problem's context menu with right mouse button. It shouldn't be possible.

VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (8.24GB free)

Process Argv
C:\WorkSpace\Physter\react-components

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

vscode-eslint
dba
1.9.1

githistory
don
0.4.6

prettier-vscode
esb
2.2.2

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.1.0

debugger-for-chrome
msj
4.12.0

vscode-todo-highlight
way
1.0.4

vscode-import-cost
wix
2.12.0

@joaomoreno Tree is not triggering the onDidChangeFocus event. Please see the following gif, at the end I am doing right click which is not triggering the focus event - https://github.com/microsoft/vscode/blob/master/src/vs/workbench/contrib/markers/browser/markersPanel.ts#L341


"Can't get D3D12SerializeVersionedRootSignature" assert

I just tried latest RenderDoc with bgfx, and I'm getting crash on init. Assert that's getting hit is in d3d12_debug.cpp lines 1541 and 396.
You can reproduce it in bgfx by enabling this line:
https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d12.cpp#L501

Hmm, that error would only happen if the function is missing from d3d12.dll and GetProcAddress returns NULL, and I'm not sure how that's possible.
  PFN_D3D12_SERIALIZE_VERSIONED_ROOT_SIGNATURE serializeRootSig =
      (PFN_D3D12_SERIALIZE_VERSIONED_ROOT_SIGNATURE)GetProcAddress(
          GetModuleHandleA("d3d12.dll"), "D3D12SerializeVersionedRootSignature");

  if(serializeRootSig == NULL)
  {
    RDCERR("Can't get D3D12SerializeVersionedRootSignature");
    return NULL;
  }

Can you check your d3d12.dll, does it have that function export?

This function was released with the Windows 10 Anniversary Update (14393) and supersedes D3D12SerializeRootSignature.
Trying to figure out what my version is (winver it says 10586.679, but not sure if it's referring to the same version as above).

Oh for fuck's sake :angry:. D3D12 is such a mess of an API. Sounds like you should have the function in your version but who knows, I guess there could be a bunch of reasons for it to break :(.
If I can't count on that function being implemented I'll need to have a fallback. The problem is, I need that function for correct replay (since without it there can be root signatures I'm unable to re-create and modify when needed). So essentially you'll get captures that may or may not work depending on whether you have this function with no good way of signalling it.

There has been two major end-user upgrades of Windows 10 thus far. They have a friendly string name for end users, a YYMM version, and an actual version. winver.exe tells you the YYMM code and the actual version.
There is a version history available on the Microsoft website.
RTM was 10240.
The November Update (1511) is 15086.
The Anniversary Update (1607) is 15393.
The next update is some sort of "Creative Update" or something similarly vague, due for February 2017 or something along those lines.
Inbetween all these there are Insider builds every now and then.
When it comes to D3D12 development, you're likely going to see developers tracking the current Insider build, as they break and fix the library continuously judging by the discussions on DirectX-Graphics-Samples.

Right, the bottom line being I can't count on this function being present ever, so I need to try it and then fall back to something else that will be present.

This is enterprise Win10. Actually it's fine that RenderDoc fails to initialize in case this function is not present, I assume at some point my Win10 will updated with new D3D12.

I added a fallback to the function from the original D3D12. I think it should work as long as you don't try and open a capture that uses root signature 1.1 features (although from my limited reading, 1.0 seems strictly more conservative than 1.1, so maybe it'll still work).
I can't test it properly since I didn't have an old win10 to run on, but I tried with deliberately NULL'ing the new function and it seemed to work OK.

This should be fixed with v0.33 (with the caveat above) - let me know if it's still causing problems in the latest version, as I can't test with that particular win10 build.

It works now.


When a table gets dropped elsewhere, analysis fails causing triggers of multiple repetitions of create table

Describe the bug
Hi everyone, currently I am going through an issue with DBT (0.20.1) on production that seems related to some "concurrent updates" when I try to run different queries at the same time, not directly related, from different models. As simplified description, I have my folder models divided in subfolders like this:
models:
  model_1:
  	table_1.sql
  	table_2.sql
  	...
  model_2:
  	table_14.sql
  	...
  ...
  model_25:
  	...
  	table_117.sql

for a total of 117 models.
Then at some point, let's say a Process-A starts the model_7 (dbt run --models model_7 on a Server-A) (that contains the query table_65.sql). What I can see from the beginning of the logs for this process is something like:
2021-09-14 08:43:56.293473 (MainThread): Acquiring new spark connection "model.my_proj.table_1".
2021-09-14 08:43:56.385776 (MainThread): Acquiring new spark connection "model.my_proj.table_2".
....
2021-09-14 08:43:56.390074 (MainThread): Acquiring new spark connection "model.my_proj.table_117".

Meantime a separate Process-B starts the model_9 (dbt run --models model_9 on a Server-B) that requires to drop the table table_82 (table_65 and table_82 are not related).
Back to Process-A, from the log I can read now (caused by the Process-B likely):
2021-09-14 08:44:35.863983 (ThreadPoolExecutor-1_0): Error while running:
/* {"app": "dbt", "dbt_version": "0.20.1", "profile_name": "my_proj_spark", "target_name": "prod", "connection_name": "list_None_my_models"} */
show table extended in my_models like '*'

2021-09-14 08:44:35.864026 (ThreadPoolExecutor-1_0): Database Error
  org.apache.hive.service.cli.HiveSQLException: Error running query: org.apache.spark.sql.catalyst.analysis.NoSuchTableException: Table or view 'table_82' not found in database 'my_models'

This last log message gets repeated 3 times in row. Now for some reason this also triggers the process related to the build of the table_65 3 times (as I can see from the log) for:
2021-09-14 08:44:36.189855 (Thread-1): /* {"app": "dbt", "dbt_version": "0.20.1", "profile_name": "my_proj_spark", "target_name": "prod", "node_id": "model.my_proj.table_65"} */

      create table model_7.table_65

	using parquet

    partitioned by (country,month_selected)

    location 's3://my_data/....'

    as ....

2021-09-14 08:44:36.281855 (Thread-1): /* {"app": "dbt", "dbt_version": "0.20.1", "profile_name": "my_proj_spark", "target_name": "prod", "node_id": "model.my_proj.table_65"} */

      create table model_7.table_65

	using parquet

    partitioned by (country,month_selected)

    location 's3://my_data/....'

    as ....

 2021-09-14 08:44:36.399835 (Thread-1): /* {"app": "dbt", "dbt_version": "0.20.1", "profile_name": "my_proj_spark", "target_name": "prod", "node_id": "model.my_proj.table_65"} */

      create table model_7.table_65

	using parquet

    partitioned by (country,month_selected)

    location 's3://my_data/....'

    as ....

that understandably will make the process fail with this error:
2021-09-14 08:44:36.944890 (Thread-1): Database Error
  org.apache.hive.service.cli.HiveSQLException: Error running query: org.apache.spark.sql.AnalysisException: Table my_proj.table_65 already exists. You need to drop it first.

If I am correctly reading the logs, is there any work around to avoid multiple triggers of the same process if a table disappear not directly related fails to pass the analysis? Or is it a DBT bug? Thank you
Steps To Reproduce
Please look at the bug description. I think the process can be repeated locally following that steps.
Expected behavior
The expected behaviour is avoiding a failure if not related tables get dropped elsewhere.
Screenshots and log output
Please look at the bug description.
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[ ] snowflake
[X] other (specify: AWS/EMR 6.3)

The output of dbt --version:
installed version: 0.20.1
   latest version: 0.20.2

Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation

Plugins:
  - bigquery: 0.19.2
  - snowflake: 0.19.2
  - redshift: 0.19.2
  - postgres: 0.19.2
  - spark: 0.20.1

The operating system you're using:
Ubuntu 20.04 (on AWS/EC2)
The output of python --version:
python --version
Python 3.8.14
Additional context
Running this process on AWS/EMR 6.3 with Glue as "Hive" replacement for Spark.

I found the root of the previous issue (at least I hope). The reason why this is happening is due to the fact that DBT runs via Spark the following command: show table extended in my_glue_schema like '' . In my case the same schema is used by different other processes that can generate tables with "bad" schemas or without "Location" (S3 path) defined (a view for example). This will make fail the highlighted command and so an eventual "drop table" or "insert overwrite" won't happen, and only the create table process will. Why DBT needs to run show table extended in my_glue_schema like '' ? Can it be skipped some how?

I have been pointed to this previous issue: https://github.com/dbt-labs/dbt-spark/issues/93. That seems to create a major issue for my case, as we cannot run separate parts of a potential unique "tree" as they may overlap creation/drop of tables that are expected in one or another tree.
In environments like Glue/Catalog via EMR may be not required tho, as the "layer" is the Catalog service itself. Not sure if I am missing the point here. In that case that command should be "optional"?


Add Daegu Catholic University

Add my college domain https://www.cu.ac.kr/

@PoorMan1225 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host dgc.ac.kr not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Using payment operation with other asset, informing the amout

Hi
I tested the code and worked very well.
I would like to know if is possibile create one payment using um asset instead XLM (in my case called TREEP) and inform the amout to transfer?
I tested using 04-submit-transaction.php
Like this:

Thank you!

I guess that is this block
// Build the payment transaction
$transaction = \ZuluCrypto\StellarSdk\Server::publicNet()
->buildTransaction($sourceKeypair->getPublicKey())
->addOperation(
PaymentOp::newNativePayment($destinationAccountId, 1)
)
;

Good afternoon, I have the same problem, how should I do to inform a payment using TREEP, I am trying as I exercise below but I return error 504
$asset = Asset::newCustomAsset('TREEP', "GAVBWV24PZ6POVQGQO5UEWGO3TO7ERYXRFFI6V5VH3BMTPDZOHVOFA3G");
            $txEnvelope = $server->buildTransaction( $origem_keypar )
                                 ->setTextMemo($data['memorando'])
                                 ->addCustomAssetPaymentOp($asset,  $valor, $destino_keypar )
                                 ->getTransactionEnvelope();

$txEnvelope->sign($origem_keypar);
        $b64Tx = base64_encode($txEnvelope->toXdr());

        $return = $server->submitB64Transaction($b64Tx);


Add 'force-batch-now' command to periodic jobs

Description
During code releases of jobs which are periodic, it may be preferable for operators to execute a run of the job immediately rather than waiting for the scheduled execution. Nomad provides this option via the API, so this would be adding a flag to the deploy command.

I wasn't aware of this option on the API, but it seems really useful for some cases.


AttributeError: 'NoneType' object has no attribute 'api_type' !

When i running python -m examples.aflow.optimize --dataset MATH, it appear AttributeError: 'NoneType' object has no attribute 'api_type'

The models have not been configured. Please follow the instructions at https://github.com/geekan/MetaGPT/tree/main/examples/aflow#quick-start to complete the configuration and then try again.

The merged PR https://github.com/geekan/MetaGPT/pull/1632 raises exceptions more elegantly and introduces the --opt_model_name and --exec_model_name options to allow the passing of custom models.


Queue Transfer

It would be cool to have a way to copy or move a queue from one location / protocol to another.
For example, maybe you are experimenting with fq because it's easier to manage and then want to transfer the results to SQS directly instead of rerunning because the process took forever to compute the right tasks. This is the case for me right now with computing tasks from all the billions labels in a dataset.

This is made possible by tq.tasks() in 3eeedc284b6d4674ca1c1c3221de0aed752a17e9
tq_sqs = TaskQueue('sqs://...')
tq_fq = TaskQueue('fq://...')

tq_sqs.insert(tq_fq.tasks())


Package request: Lix

I think we should even go ahead and set it as the default Nix package in the repo!
Add a :+1: reaction to issues you find important.

lix was packaged as of https://github.com/auxolotl/core/pull/2, you can find it here https://github.com/auxolotl/core/blob/main/pkgs/by-name/li/lix/packages.nix


Does not allow menu access within a group chat.

the collapsible menu does not appear while in a group chat. the default collapse profile behavior is also non-functional while in a group chat, and there is no hover text for the button. tested and works in single member chats, and in servers. not familiar with the source code for this, but a presumed fix for this would be to either change the "show/hide members" button into a "show/hide user profile" button, or ensure behaviors get applied to both buttons.
example:

expected result:

user settings info dump:
Stable 264272 (5d73bfa)
Host 0.0.42 x64
Linux 64-Bit (6.7.1-Artix1-1)

Duplicate of #116


Introducing the interface for features publish command

Builds on https://github.com/devcontainers/cli/pull/94 and https://github.com/devcontainers/cli/pull/99
Introducing the interface for features publish command.

Packs the features
Computes semantic versions for the features
Consumes changes in https://github.com/devcontainers/cli/pull/99
Added tests

As we've seen in the GH action we will likely get rate-limited now and again by container registries. We could either put the retry logic here or in the lower implementation level - not sure what is better 🤔

Added retry logic to the backend OCI push cmd


Safe UTF-8

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
ruby's split is throwing an error invalid byte sequence in UTF-8  for some reason.
I add a safety to make sure incompatible utf-8 bytes will be replaced to prevent the issue.
happened when running xcodebuild test and several test cases printing out an emoji.
Bundler: failed to load command: fastlane (/[REDACTED]/bundle/ruby/2.6.0/bin/fastlane)

[2022-08-09T06:37:11.850Z] /[REDACTED]/bundle/ruby/2.6.0/gems/fastlane-2.208.0/fastlane/lib/fastlane/helper/sh_helper.rb:57:in `strip': [!] invalid byte sequence in UTF-8 (ArgumentError)

@joshdholtz maybe we could merge this?

replacing
UI.command_output(line.strip) if print_command_output
with
UI.command_output(line.encode('UTF-8', invalid: :replace).strip) if print_command_output
in sh_helper.rb file also worked in my case.

This PR would be very welcome!

We are seeing this issue sporadically, too. Merging this PR would help us a lot.

@lacostej really appricate it if you could review this PR

I was facing the same issue.
@martinschinnerl I had to change directly on ruby directory and worked like a charm.
Any chance to merge this PR?
Thanks!

Hello will this fix be merged ?

Hi @lacostej @rogerluan @AliSoftware, really appricate it if you can merge this, as a lot of people encounter this issue.

@wendyliga could you update this branch with the latest master? It's failing in CI otherwise 🙏

@wendyliga could you please update this branch with the latest master? It's failing in CI otherwise 🙏

done

Up! Definitely needed :)

Hi! Any ETA on when this will be merged? We really really would need this


[Feature request] change font color

Title

Regarding your feature request, do you mean a uniform color change like CMD or like a code editor?

Not like visual where everything is a different color depending on the file type. I guess cmd if we're on the same page. So the text could be like a uniform green for example

@soumyamahunt could this feature be implemented? I would like to work on it.

I would actually like to request the same things as the original poster; however differing from his clarification above - To be able to change the font color for individual words/letters/lines.  Also perhaps a highlighting feature like the one in the markdown screenshots on the front page - but just as a basic notepad feature.   I use notepad mostly as a note taking, organizing feature for a project or brainstorming. The addition of font color and highlighting would greatly increase its use for separating titles, subsections, etc.. when scrolling down page after page.

I would actually like to request the same things as the original poster; however differing from his clarification above - To be able to change the font color for individual words/letters/lines. Also perhaps a highlighting feature like the one in the markdown screenshots on the front page - but just as a basic notepad feature. I use notepad mostly as a note taking, organizing feature for a project or brainstorming. The addition of font color and highlighting would greatly increase its use for separating titles, subsections, etc.. when scrolling down page after page.

You are asking for the RichEdit feature here and this is out of the scope of what Notepads is intended to be. Notepads is a plain text editor.

I would actually like to request the same things as the original poster; however differing from his clarification above - To be able to change the font color for individual words/letters/lines. Also perhaps a highlighting feature like the one in the markdown screenshots on the front page - but just as a basic notepad feature. I use notepad mostly as a note taking, organizing feature for a project or brainstorming. The addition of font color and highlighting would greatly increase its use for separating titles, subsections, etc.. when scrolling down page after page.

You are asking for the RichEdit feature here and this is out of the scope of what Notepads is intended to be. Notepads is a plain text editor.

So is that a no to just a uniform text color @JasonStein

I don't care about RichText (multicolor) but I would love an option to change the overall font color for aesthetic purposes.


implementing new push syntax

https://github.com/kitbagjs/router/assets/6098901/a6b43d33-8c6a-4b85-b986-e497dfebc565

replaced by https://github.com/kitbagjs/router/pull/118


3mf file format

Is your feature request related to a problem?
N/A
Is your feature request specific to a data set?
N/A
Describe the solution you'd like.
Be able to read 3mf file inside visit. https://3mf.io/
It is a major format for additive manufacturing (surfacic mesh in addition to STL file, more robust, more efficient)
It also allowed the storage or layer data file (1d polylines) and there is a huge challenge because there is a huge number of data
Describe alternatives you've considered.
N/A
Additional context
File format for additive manufacturing and visualization of huge data set.

@wmondy do you know anything about this format? Do you know if any of the 3D printer workflows you might want to use for the vascular/capillary system would use it?

If you recall the STL files we wanted to create on VisIt are the result of reconstructing two-dimensional image slices captured using Micro-ct scanning of a 3-D object. In this case, vascular corrosion cast. I don't know if 3MF software is capable of that type of 3-D reconstruction.  Maybe you are thinking that VistIt will reconstructive 3-D objects to a 3-D model with an 3MF format?