src/reactions_for_owl/datamodel/__init__.py keeps getting deleted?

from .reactions_for_owl import *

by rm -fr $(PYMODEL)/* in clean target


Defining functions in block code tutorial hints without showing the function block

I’m working on a block code tutorial in Norwegian for the “chase the dot” game on the Micro:Bit.
I’ve run into a slight problem.
In one of my hints, I’m calling for a function that isn’t defined in the hint itself, making the rendered block show as a gray JavaScript block.
I know that the function has to be defined in the hint code to counter this, but apparently (according to the always helpful @shakao) there isn't any way to do this without including and rendering a whole function block at the moment.
It’s fairly straight forward to do this with variables in the tutorial tool. Could it be implemented for functions as well?
I'd like to be able define an empty function for hint code, similarly to how I can define an empty variable, just so blocks that include a function call can render in the appropriate block colour without having to include an empty function block in the hint.
The ability to include empty function blocks will need to be preserved, of course, as this is a crucial step when introducing functions the first time.
I'm no programmer and I'm not sure how this could be done.
Perhaps a function that contained a specific piece of code could be automatically flagged by the block renderer as a ghost block?
Or perhaps the function could be defined similarly to how a variable is defined by "set" in JavaScript, but with a function switch that tells the block renderer to render blocks referring to this "variable" in function colours?
Or maybe the function could be wrapped in a namespace (I'm on thin ice here, I'm not entirey sure how namespace works) that helps the block renderer to render blocks calling for it?
This is the JavaScript for the blocks I’m trying to render:
let bytte: game.LedSprite = null
bytte = game.createSprite(2, 2)
let jeger = game.createSprite(0, 0)
bytte.set(LedSpriteProperty.Blink, 3)
jeger.set(LedSpriteProperty.Brightness, 5)
NyRunde()
game.startCountdown(10000)
NyRunde is the function that starts a new round (ny runde = new round).
I could include the whole function:
function NyRunde () {
bytte.set(LedSpriteProperty.X, randint(0, 4))
bytte.set(LedSpriteProperty.Y, randint(0, 4))
if (!(bytte.isTouchingEdge())) {
NyRunde()

}
}
But that would include a lot more code than I’d like to show as a hint. Adding an empty function block looks even worse, in my opinion, since the followers of this tutorial will already have built the function before this step.
I hope you'll consider this suggestion.
And keep up the good work!
MakeCode is by far the best and most fun way to learn coding that's out there.
Kind regards
Yngve (Yngel72)

@jwunderl any workaround exists here?

I can't think of any existing ways to trick it - with variables we're lucky because empty or 0 declarations get elided when text->blocks anyways, but it's bery possible you'd want to include an empty function in a hint.
To support this we'd probably want to add another special comment like // @hidden (in the same way that highlight is implemented) and have that remove the following block from the snippet during rendering

Does ghost blocks help here?


re-export vk_method::Method and params

https://github.com/Kinetus/fast_vk/commit/4b78b47d458c79a44a78faa2cee23f11eff02d1b


How do i fix this lime windows error

i keep getting this message everytime:
C:\Users\willi\OneDrive\Desktop\kade>lime test windows
source/DiffOverview.hx:65: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
source/PlayState.hx:411: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
C:\Users\willi\OneDrive\Desktop\kade\export\release\windows\obj>setlocal enabledelayedexpansion
Warning: Could not find Visual Studio 2017 VsDevCmd
Missing HXCPP_VARS
Error: Could not automatically setup MSVC

also i did use the set default draw target command but it doesnt work

i keeping  C:/HaxeToolkit/haxe/lib/extension-webm/git/ndll/Windows64/extension-webm.ndll bug how do i fix it

thats a different discussion

anyways kade engine is fixed for me this is now closed!


Integrate Yode into Oni

Yode allows you to edit parts of a JS file, at the moment functions. It allows the user to stay focused on the important parts of a task. Past discussion started here
There is a guide to integrate Yode in an editor with a reference implementation: https://github.com/hoschi/yode/blob/master/docs/integration.md
Last comment is here

It's actually great timing, as I'm going to start working a bit on some new IEditor implementations - a file explorer window, and a markdown previewer. So I think those will be good test cases - and maybe we can implement Yode in parallel as an IEditor?

I looked into the Code I found but there wasn't much. As I understand it an IEditor renders its contents on its own and doesn't use NeoVim? @bryphe
I think, in Oni terms, Yode would use a normal NeovimEditor enhanced with stuff a plugin API would give a Oni-Yode-Plugin, so I can use NeoVim editing capabilities.
Yode integrates with "text changed" hooks at the moment. I need a way to get notified about text changes of the user to refresh Yodes state.
Also it needs to set text to e.g. change the file when the user changed a function in its own function buffer.
So this can be done with hooks/callbacks in JS which translates to native NeoVim events/autocomands? I'm not sure if this is the job of an IEditor because NeovimEditor implements already that interface.
This was just a short version or big picture, the integration docs have more events listed/linked to code.
Additional things the referencen implementation misses and would be needed in Oni:

a save hook for function buffers, because they can't be written as they are not a file, so the file should be written instead.
buffer deletion is implemented in core, but not in the demo UI ... this "should" work

Will this be provided as an optional plugin for Oni?
I am not sure I would like this be enabled by default.

I took a look on Yode's into video and got really excited - It looks AWESOME!
It's at the top of my Oni wish list!
I hope to have a chance helping with it (right after #49).

Thanks for moving this to another issue, @hoschi !
Yes, Yode looks really cool! The intro video was very well done - I need to do something like that for Oni 😄

I looked into the Code I found but there wasn't much. As I understand it an IEditor renders its contents on its own and doesn't use NeoVim? @bryphe

I realized this is something that has changed a bit so I wanted to give some ideas here. There's really two levels - the concept of an IEditor and an IWindowSplit.
The IWindowSplit is super simple - it's just an element that takes up space in the window layout. Right now, it only has a render method that returns a React component. Later, we'll need to add some sort of focus or enter/leave events, but other stuff like rendering and input handling is up to them at the moment.
The idea is you can create a split very easily with the Oni API, like:
class MyWindowSplit {
       public render(): JSX.Element {
            return
Hello World

       }
}

const myWindowSplit = new MyWindowSplit()

Oni.windows.split(SplitDirection.Right, myWindowSplit)

That kind of split would be super boring though and not too useful.
We can implement a few things with the split though:

A split for rendering Markdown based on the active buffer
A split for a file explorer
A split for a browser window
etc

Even the status bar could be refactored to a fixed height 'split' at the bottom.
These ones wouldn't necessarily need to even be integrated with Neovim, although for stuff like the file explorer it would make sense to do this, because we want to have a consistent navigation and input model.
And beyond that, the core of Oni is the IEditor, which also has a render method, but handles a bunch of stuff - input, notifying when buffers have changed, notifying when the mode has changed, integration with language servers, etc. NeovimEditor is the main one that we have today and has an associated NeovimInstance.
The model we have at the moment is somewhat busted in that NeovimEditor is essentially an IWindowSplit with a bunch of extra things. The main difference between it and a pane is that it is registered with Oni.editors and so plugins can interact with it that way. An example of where this abstraction is somewhat broken is that the INeovimEditor is responsible for rendering the tab bar.
What I'd like to do is basically have some special splits for working with editors - an TabbedEditorCollectionSplit that manages a collection of IEditors. You could imagine that the TabbedEditorCollectionSplit could have a bunch of IEditors, and it could take the responsibility of rendering the tab bar, as well as rendering the active editor for the selected the tab.
The nice thing about this abstraction is that the yode model fits in pretty easily - it would still manage a collection of IEditors, but instead of having a model of tab + only one editor shown, it could show them in whatever layout made sense.
There's still some work left to get there:

There's a bunch of assumptions in the code right now that there is only ever one NeovimEditor (and one NeovimInstance), we'll have to break those assumptions.
Need to factor out the tab bar functionality from NeovimEditor to something more general like the TabbedEditorCollectionSplit
The window split logic still has a bunch of  //TODOs (in WindowManager.ts 😄 )

Here's some ideas for getting started prototyping:

We could start by creating a YodeWindowSplit that implements a render - just a hello world render to make sure it's working OK
Add a single NeovimEditor to that split with a fixed height / width, and see if it works
Bring in the Yode API and hook it up to the positioning logic for that component

Will this be provided as an optional plugin for Oni?

It might be jarring when people come into Oni having an expectation of a Neovim or VSCode experience. Having it is a plugin seems reasonable - I can see some really cool cases for bringing it in by default for a few cases, like for Find all References, or Go to Definition, or Go to test case, etc. So it might not be the default strategy when you open Oni, but perhaps we surface it in some of those places?
Sorry for the wall of text, I hope that made sense! On my end, I'm starting to look at the file explorer + integrated browser window, so I hope as I drill into those it might help clarify some of the unknowns (and have more examples in place).

So it might not be the default strategy when you open Oni, but perhaps we surface it in some of those places?

I agree in general. I also really think we need to use this in day to day editing in a "beta phase" and see how things work, because I think it feel really different in some places. One example I already thought of is editing functional React components where I think want to focus on the render function instantly. Not

open that file
move to render function body with vim movement
hit keybinding to "open function under cursor" in a new split
close the file

Which no one does then, because the outcome for the three additional steps are not worth in every situation. Instead an action for "open render function of that component" make 100% more sense here. There are problems like "how to generalize this logic and not focus on React", but I just wanted to give an example of that new use cases arise when it is there. On the other side "Go to definition" is a "no brainer" for me, opens a function buffer here saves you a good amount of space. If we don't want this as default, there can still be two binding for the "open file and jump to position" and the "open function which contains this definition, or if this thing is a function just open it" without much additional logic I think. With the command palette it is now even easier to recognize these things for new users as both commands show when you type "Go to def" :grin:
I repeat some things in my words to make sure I got it right, tell me if I don't @bryphe :wink:

There's a bunch of assumptions in the code right now that there is only ever one NeovimEditor (and one NeovimInstance), we'll have to break those assumptions.

At the moment there is one IEditor on the screen, NeovimEditor, which renders the "text editing" part like buffers and splits. Splits of the editing space are rendered by NeoVim at the moment, not by Oni.

An example of where this abstraction is somewhat broken is that the INeovimEditor is responsible for rendering the tab bar.

Tabs are rendered by Oni, but the state is still in that one NeoVim instance, here

What I'd like to do is basically have some special splits for working with editors - an TabbedEditorCollectionSplit that manages a collection of IEditors. You could imagine that the TabbedEditorCollectionSplit could have a bunch of IEditors, and it could take the responsibility of rendering the tab bar, as well as rendering the active editor for the selected the tab.

Here we have more IEditors, one for each tab, and only render the IEditor which is responsible for that tab content. Tab state is now not only rendered by Oni, state is also managed by Oni and not by NeoVim anymore.

The nice thing about this abstraction is that the yode model fits in pretty easily - it would still manage a collection of IEditors, but instead of having a model of tab + only one editor shown, it could show them in whatever layout made sense.

At this point even the splits are managed by Oni, not by NeoVim anymore?
So the implementation of the IEditor interface which enables the user to edit text, what is now NeovimEditor, manages only one "vim window" instead of "tabs + splits + windows (aka splits)" by that time?
For me IWindowSplit is confusing ... does this stand for Oni splits like tab bar, status line, main content area or does it stand for splits which are managed by the NeoVim instance at the moment? Also in combination with WindowManager which manages at the moment one split, the NeovimEditor instance.

Sorry for the wall of text, I hope that made sense! On my end, I'm starting to look at the file explorer + integrated browser window, so I hope as I drill into those it might help clarify some of the unknowns (and have more examples in place).

That would be great, just wanted to ask some big questions to get a picture of that future in my head :wink:
For what I can tell by now, the plan for prototyping sounds good to me. Hook me up when we can work on this :grinning:

(FYI I started to put the stuff from my notes to issues, here is the project which tracks the tasks I work on next https://github.com/hoschi/yode/projects/2)

@bryphe Can you have a look at my questions above?
I hope I can finish the last tasks in the GH project linked above and/or start on the Oni integration in my upcoming holidays :grin:

Hi @hoschi !
Sorry I missed your questions, taking a look now.

I hope I can finish the last tasks in the GH project linked above and/or start on the Oni integration in my upcoming holidays 😁

Sounds awesome! 😄

I also really think we need to use this in day to day editing in a "beta phase" and see how things work, because I think it feel really different in some places.

Definitely. We've been pushing on getting features in early, backed by an experimental feature flag, so that we can test them out, as well as ensure they stay up-to-date with other changes on master. We could hook up something like an experimental.yode.enabled that would let us add this as the default for go-to definition, or for adding other commands, like opening up the react component as you mentioned.

With the command palette it is now even easier to recognize these things for new users as both commands show when you type "Go to def" 😁

For sure. It's easy to have multiple commands exposed in the command palette. Ideally, we'd have better discoverability here too by showing when a command is bound to a key.

There is still only one IEditor - the NeovimEditor highlighted in green here

@bryphe "here"? Probably forget to upload a screenshot?

I would like to split that up and have the ability to have side-by-side or vertically-split NeovimEditor, so that we could have separate tab lines.

Like Atoms tab-split logic? Never understood what the benefit is compared to vims tab-split logic where tabs act as container and splits used for window management.

we'd just have to think about how we'd handle the Neovim piece of the integration

For the integration prototype I would go with the first one and create a bunch of NeovimEditors, because I find it really unusable without language integration.
The overall picture is clearer now, thanks for the explanations. I think I have enough to start it. I finish the tests for Yode and then tackle the integration. If I get stuck I can work on some Yode tasks.


Refactor for multiple landing zone installs - Currently only 1 LZ can be installed per org until we refactor org level collisions

Currently only 1 LZ can be installed per org until we refactor org level collisions
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/main/docs/google-cloud-security-controls.md#security---access-context-manager
Access Context Manager - Access Level and VPC Service Control - Access Policy
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/main/docs/google-cloud-security-controls.md#security---vpc-service-controls
common
module.net-private-perimeter-firewall.google_compute_firewall.custom["allow-egress-internet-pr"]: Creation complete after 13s [id=projects/tzpe-tlz-tlz-perim/global/firewalls/tzpefwl-allow-egress-internet-pr-fwr]
module.net-private-perimeter-firewall.google_compute_firewall.custom["allow-ssh-ingress"]: Creation complete after 13s [id=projects/tzpe-tlz-tlz-perim/global/firewalls/tzpefwl-allow-ssh-ingress-fwr]
╷
│ Warning: Experimental feature "module_variable_optional_attrs" is active
│
│   on terraform.tf line 19, in terraform:
│   19:   experiments = [module_variable_optional_attrs]
│
│ Experimental features are subject to breaking changes in future minor or
│ patch releases, based on feedback.
│
│ If you have feedback on the design of this feature, please open a GitHub
│ issue to discuss it.
│
│ (and 23 more similar warnings elsewhere)
╵
╷
│ Error: Error creating AccessPolicy: googleapi: Error 409: Policy already exists with parent organizations/131880894992
│
│   with module.access-context-manager.google_access_context_manager_access_policy.access_policy[0],
│   on ../../modules/vpc-service-controls/main.tf line 19, in resource "google_access_context_manager_access_policy" "access_policy":
│   19: resource "google_access_context_manager_access_policy" "access_policy" {
│

Actually it is an access policy not an access level

A VPC Service Control - access policy

https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/main/docs/google-cloud-security-controls.md#security---vpc-service-controls

delete vpc sc

add IAM role
https://cloud.google.com/access-context-manager/docs/manage-access-policy#delete
get ID from asset inventory under identity.AccessPolicy
Display name
[tspevsc_tlsacm_vsc](https://console.cloud.google.com/#)
Resource type
identity.accesscontextmanager.googleapis.com/AccessPolicy
Name
[//accesscontextmanager.googleapis.com/accessPolicies/1021375921638](https://console.cloud.google.com/#)
Organization
[organizations/131880894992](https://console.cloud.google.com/#)
Parent asset type
[cloudresourcemanager.googleapis.com/Organization](https://console.cloud.google.com/#)
Parent full resource name
[//cloudresourcemanager.googleapis.com/organizations/131880894992](https://console.cloud.google.com/#)

enable role, delete vpc sc

root_@cloudshell:~ (lz-tls)$ gcloud access-context-manager policies delete accessPolicies/1021375921638
You are about to delete policy [1021375921638]

Do you want to continue (Y/n)?  y
API [accesscontextmanager.googleapis.com] not enabled on project [308673020059]. Would you like to enable and retry (this will take a few minutes)? (y/N)?  y

Enabling service [accesscontextmanager.googleapis.com] on project [308673020059]...
Operation "operations/acat.p2-308673020059-bb01eee4-4f53-469f-987f-5179f0c8f6c6" finished successfully.
Deleted policy [1021375921638].

common ok

rerunning non-prod (2_folders is up now)
prod ok

prod - need to rename project - as deleted 30 day project still up after billing quota error earlier
Step #4 - "tf apply": │ Error: error creating project tzpe-tlz-tlzprod-host2 (TzPe-tlz-tlzprod-host2): googleapi: Error 409: Requested entity already exists, alreadyExists. If you received a 403 error, make sure you have the `roles/resourcemanager.projectCreator` permission
Step #4 - "tf apply": │
Step #4 - "tf apply": │   with module.net-host-prj.module.project.google_project.project,
Step #4 - "tf apply": │   on ../../modules/project/main.tf line 19, in resource "google_project" "project":
Step #4 - "tf apply": │   19: resource "google_project" "project" {

fix

prod_host_net = {
  user_defined_string            = "tlzprod" # Must be globally unique. Used to create project name
  additional_user_defined_string = "host3"#"host2"

root_@cloudshell:~/lz-tls/_lz2/pbmm-on-gcp-onboarding (lz-tls)$ git status
On branch main
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   environments/prod/prod-network.auto.tfvars

no changes added to commit (use "git add" and/or "git commit -a")
root_@cloudshell:~/lz-tls/_lz2/pbmm-on-gcp-onboarding (lz-tls)$ git add environments/
root_@cloudshell:~/lz-tls/_lz2/pbmm-on-gcp-onboarding (lz-tls)$ git commit -m "new proj name for prod"
[main 6da67af] new proj name for prod
 1 file changed, 1 insertion(+), 1 deletion(-)
root_@cloudshell:~/lz-tls/_lz2/pbmm-on-gcp-onboarding (lz-tls)$ git push csr main


Added some documentation for Spline curves.

This PR

Updates the Documentation
Added some documentation for Spline curves and fixed the constructor admitted types.

👍


Linux bots dying for no reason

Linux bots are dying for not reason at the beginning of a task:
https://chromium-swarm.appspot.com/task?id=5399245a54ca6010
We'll need to check the bot's logs to identify the reason they failed.

swarming bot logs do not show an entry with "internal_failure=True" for the expected time window, or any other apparent cause of the bot dying.
Looking at sys logs, there does not seem to be any event causing the bot process to die/be killed.

Filed another bug to escalate helping debug this issue with the swarming team: https://bugs.chromium.org/p/chromium/issues/detail?id=1210970

Moving this bug out of the queue as it seems like a swarming issue.

Still seeing this occasionally: https://chromium-swarm.appspot.com/task?id=54de2f85e46afc10&o=true&w=true
Updated chromium bug as well.

@yusuf-goog can we close this one?

Closing as obsolete.


Zabbix v3.4.12 - No sending data for detecting CPU anomaly

Operating System: Ubuntu 16.04.5 LTS (incl. all latest updates until today)
Zabbix Server, Agent and Frontend: v3.4.14
I would like to detect and show notifications about unusual CPU anomalies on the Zabbix dashboard.
Therefore, I've created these items in the "Template OS Linux":
1) Name: CPU Anomaly Check
Type: External check
Key: zabbix_anomaly["-url","https://zabbix.example.com/api_jsonrpc.php","-i","10010","-user","anomaly.api","-pass","s3crEtP4ssw0rD","-interval","60"]
Type of information: Character
Update interval: 60s
Applications: CPU
2) Name: CPU Anomaly Score
Type: Zabbix trapper
Key: anomaly.system.cpu.load[percpu,avg1]
Type of information: Numeric (float)
Applications: CPU
The item ID of the "Processor load (1 min average per core)" is 10010 from the "Template OS Linux". Due to this, I've set this ID at the item 1) above.
My problem is, that I'm only getting the message [INFO]: No sending data. I've already check issue #2 , but as you can see above, my values are already set to 60s - also in the mentioned CPU load item 10011.
As soon as I'm getting correct values, I could add the required trigger, but right now, I don't get any values.
How can I solve this issue?
Note: I would like to have this anomaly check for all hosts - not only one. The URL and credentials are correct.

Any idea? Anyone?

Sorry for late reply..
I have fixed this bug (for over Zabbix 3.4.0).
Please check this release version.
Only you should replace zabbix_anomaly binary file. (and set parmission)
https://github.com/ike-dai/zabbix_anomaly/releases/tag/0.0.7

Thanks for the update, but it's still not working. :(
root@linux:/usr/lib/zabbix/externalscripts# stat zabbix_anomaly
  File: 'zabbix_anomaly'
  Size: 6095028         Blocks: 11912      IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 525239      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-11-05 10:38:59.703991868 +0100
Modify: 2018-11-01 22:37:28.000000000 +0100
Change: 2018-11-05 10:38:58.684046548 +0100
 Birth: -

root@linux:/usr/lib/zabbix/externalscripts# ./zabbix_anomaly -url "https://zabbix.example.com/api_jsonrpc.php" -user 'anomaly.api' -pass 's3crEtP4ssw0rD' -i 10010 -interval 60; echo
[INFO]: No sending data

Item 10010 (Processor load (1 min average per core)) has the type of information "Numeric (float)".

Thank you for your reply.
I think item 10010 is "Template" Item.
So, item id 10010 doesn't have any monitoring data.
Please check "Host" item id.
[Configuration]->[Hosts]->->[Template OS Linux: Processor load (1 min average per core)]
My environment screen shot

Yes, it was the ID of the template as I want and need an anomaly check on all hosts and not only on the Zabbix server.
I've tried to the item ID from the Zabbix servers specific item: 23296.
But even with this it returned "No sending data".

Yes, it was the ID of the template as I want and need an anomaly check on all hosts and not only on the Zabbix server.

Sorry, you must set each host item id in now specification...
I will consider that getting monitoring history data based on item name.
I fixed to convert suffix 's' at monitoring interval setting.
Please try again with v0.0.9.
https://github.com/ike-dai/zabbix_anomaly/releases/tag/0.0.9
If you get same error, please show your item latest history data (item ID 23296).

I've used the new version 0.0.9:
# ./zabbix_anomaly -url "https://zabbix.example.com/api_jsonrpc.php" -user 'anomaly.api' -pass 's3crEtP4ssw0rD' -i 23296 -interval 60
[INFO]: No sending data

I've used your parameters and values - same result.
The anomaly.api user has full admin permissions while testing. At the end - when it's working - I'll restrict the permissions.

I have not reproduced you situation yet..
I implemented some debug messages to this zabbix_anomaly binary
Please check your output by using this binary.
debug_bin.zip
$ zabbix_anomaly-linux-amd64_debug -h localhost -p 10051 -url http://localhost/zabbix/api_jsonrpc.php -i 23296 -user Admin -pass zabbix -interval 60

[DEBUG] from_time:<PHONE_NUMBER>
[DEBUG] delay: 60
[DEBUG] history.get response: {2.0 <nil> [map[itemid:23296 clock:1542030640 value:0.2150 ns:482444385] map[itemid:23296 clock:1542030676 value:0.1600 ns:414666737] map[itemid:23296 clock:1542030736 value:0.0550 ns:860127521] map[itemid:23296 clock:1542030796 value:0.0600 ns:302243800] map[itemid:23296 clock:1542030856 value:0.0200 ns:901410064] map[itemid:23296 clock:1542032263 value:0.0150 ns:691726274] map[itemid:23296 clock:1542032296 value:0.0050 ns:34075646] map[ns:152895586 itemid:23296 clock:1542032757 value:0.4450] map[clock:1542032776 value:1.6500 ns:464986649 itemid:23296] map[itemid:23296 clock:1542032836 value:0.7700 ns:832458273] map[itemid:23296 clock:1542032896 value:0.3800 ns:301644610] map[itemid:23296 clock:1542032956 value:0.2200 ns:829365705] map[itemid:23296 clock:1542033016 value:0.1000 ns:163982830] map[value:0.0350 ns:638663498 itemid:23296 clock:1542033076] map[itemid:23296 clock:1542033136 value:0.0100 ns:866063805] map[itemid:23296 clock:1542033196 value:0.0550 ns:579381442] map[itemid:23296 clock:1542033256 value:0.0200 ns:199260731] map[itemid:23296 clock:1542033316 value:0.0450 ns:529418346] map[ns:474308763 itemid:23296 clock:1542033376 value:0.0150] map[itemid:23296 clock:1542033436 value:0.0050 ns:434583042]] 3}
[DEBUG] history: map[ns:482444385 itemid:23296 clock:1542030640 value:0.2150]
[DEBUG] history['clock']:<PHONE_NUMBER>
[DEBUG] history clock:<PHONE_NUMBER>, check clock:<PHONE_NUMBER>
1542030640	0.2150	27.052036
[DEBUG] history: map[itemid:23296 clock:1542030676 value:0.1600 ns:414666737]
[DEBUG] history['clock']:<PHONE_NUMBER>
[DEBUG] history clock:<PHONE_NUMBER>, check clock:<PHONE_NUMBER>
1542030676	0.1600	7.766502
[DEBUG] history: map[ns:860127521 itemid:23296 clock:1542030736 value:0.0550]
[DEBUG] history['clock']:<PHONE_NUMBER>
[DEBUG] history clock:<PHONE_NUMBER>, check clock:<PHONE_NUMBER>
...
...


The new Selection Mode sometimes eat my CPU

The new Selection Mode where you can draw a Rectangle on the Screen sometimes make my PC unusable while dragging the Borders of the Rectangle to select the Record Area. Per Move it gets slower and slower until the Computer freezes and Screen2Gif chrashes.

Do you have multiple screens or are you running the app on a laptop/notebook?
I'm starting the design of that window from the scratch again, with a better support for multiple screens.

Hi Nicke, it is Multiple Screens on a Desktop PC.

Thanks for the update

The recorder was fully reworked.
I also disabled by default the marching-ants animation that could cause slowdowns during the selection mode (but it can be turned back in).

Thanks a lot! It seems the Portable Version didn't get this Update.

It's not yet available, it's due to next weekend.


Assess impact of adding access to broadband as an indicator

Source: Census ACS
Add to: Training and Workforce Development

Deprioritized relative to other indicators.


config_clear() not recognized on Debian

config_clear() seems to not be recognized on Debian. This leads to a warning while building (-Wimplicit-function-declaration) and symbol lookup error when using recess without a valid config file
Steps to reproduce: make install, the rename or delete the ~/.config/recess.cfg

Cause: Debian uses a very outdated version of libconfig in the apt repos. This old version did not have config_clear()

Notice: when trying to fix this, keep in mind with the old Debian version config_parse_file() does not check if a file exists and will segfault if it doesn't

hopefully fixed with bfd5703b84d9ad68a30bfa8a3af2f4999cf0abcc


Fixed issue causing docker build to fail in WSL

ROS dependencies are now required to be added to docker/Dockerfile

The changes look good. If the build worked for @MeenakshiMcNamara, I'm good to merge


adding context to handler

For using the log handlers to create complete network dumps for wireshark the connection context is necessary to have source and destination IPs and ports.

Thanks!


Github Webhook smee-client implementation

I am working on DevOps POC, everything is new for me.I have installed all the software on my office windows machine and trying to create a DevOps pipeline.
My machine is in office network so i am not able to use Github Webhook functionality to trigger Jenkins.
I found that smee-client can help but I am not able to configure it on my windows machine. Will you please help me with this?
Thanks,
Shyam Shinde

👋 can you provide some more details and information about what is not working? What have you tried, what error messages are you seeing?

Actually I am not getting how to configure it on windows machine. Not
getting error because I am not sure how to configure it.
Thanks,
Shyam Shinde
On Fri 28 Feb, 2020, 8:52 PM Jason Etcovitch<EMAIL_ADDRESS>wrote:

👋 can you provide some more details and information about what is not
working? What have you tried, what error messages are you seeing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/probot/smee-client/issues/142?email_source=notifications&email_token=AMJBHDFMSRZ24GSQRZFUX2DRFET3LA5CNFSM4K5SHWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENI4DOA#issuecomment-592560568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJBHDHH3OVBKC6D2R6Y66TRFET3LANCNFSM4K5SHWUQ
.

What have you tried so far?

Nothing because instructions provided on the page look like they are for
linux system.
Thanks,
Shyam Shinde
On Fri 28 Feb, 2020, 11:09 PM Jason Etcovitch<EMAIL_ADDRESS>wrote:

What have you tried so far?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/probot/smee-client/issues/142?email_source=notifications&email_token=AMJBHDCWDZ3FAU4K5O5X3P3RFFD4DA5CNFSM4K5SHWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJQFVQ#issuecomment-592642774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJBHDC6F3TMOFE5BUA3RD3RFFD4DANCNFSM4K5SHWUQ
.

The Smee CLI should work as-is on Windows. Please follow the steps in the README and report back with any issues or errors. If you haven't already, you can install Node.js here, which gives you the npm command.

Hi Jason,
I installed Node.js and triggered the "npm install -g smee-client" but that
is not running successfully.
Please find attached log file.
Thanks,
Shyam Shinde
On Sat, Feb 29, 2020 at 11:15 AM Jason Etcovitch<EMAIL_ADDRESS>wrote:

The Smee CLI should work as-is on Windows. Please follow the steps in the
README and report back with any issues or errors. If you haven't already,
you can install Node.js here https://nodejs.org/en/, which gives you
the npm command.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/probot/smee-client/issues/142?email_source=notifications&email_token=AMJBHDGII3PZUUGCLWRNLB3RFCQJLA5CNFSM4K5SHWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENLNAGI#issuecomment-592891929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJBHDD5TMLH6224FIPKLZ3RFCQJLANCNFSM4K5SHWUQ
.

@shyamshinde008 there is no attached log file 😄 what happens when you run the following in your terminal:
smee -u https://smee.io/LSa3tRc0k1xbU8nw

Attachment is there I can see it 🤔...
Anyways please find below details...
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Program
Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'smee-client'
1 verbose cli ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose npm-session 0c612d9871600ac2
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for smee-client@latest request to
https://registry.npmjs.org/smee-client failed, reason: getaddrinfo
EAI_AGAIN registry.npmjs.org
8 timing stage:rollbackFailedOptional Completed in 3ms
9 timing stage:runTopLevelLifecycles Completed in 3123ms
10 verbose type system
11 verbose stack FetchError: request to
https://registry.npmjs.org/smee-client failed, reason: getaddrinfo
EAI_AGAIN registry.npmjs.org
11 verbose stack     at ClientRequest. (C:\Program
Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
11 verbose stack     at ClientRequest.emit (events.js:311:20)
11 verbose stack     at TLSSocket.socketErrorListener
(_http_client.js:426:9)
11 verbose stack     at TLSSocket.emit (events.js:311:20)
11 verbose stack     at emitErrorNT (internal/streams/destroy.js:92:8)
11 verbose stack     at emitErrorAndCloseNT
(internal/streams/destroy.js:60:3)
11 verbose stack     at processTicksAndRejections
(internal/process/task_queues.js:84:21)
12 verbose cwd C:\Windows\system32
13 verbose Windows_NT 6.1.7601
14 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program
Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g"
"smee-client"
15 verbose node v12.16.1
16 verbose npm  v6.13.4
17 error code EAI_AGAIN
18 error errno EAI_AGAIN
19 error request to https://registry.npmjs.org/smee-client failed, reason:
getaddrinfo EAI_AGAIN registry.npmjs.org
20 verbose exit [ 1, true ]
Thanks,
Shyam Shinde
On Mon 2 Mar, 2020, 9:35 PM Jason Etcovitch<EMAIL_ADDRESS>wrote:

@shyamshinde008 https://github.com/shyamshinde008 there is no attached
log file 😄 what happens when you run the following in your terminal:
smee -u https://smee.io/LSa3tRc0k1xbU8nw
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/probot/smee-client/issues/142?email_source=notifications&email_token=AMJBHDB76K3DUF3ANXAC6H3RFPKOHA5CNFSM4K5SHWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENP4C6Y#issuecomment-593478011,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJBHDCMK3XJE6U6JVNBH4LRFPKOHANCNFSM4K5SHWUQ
.


Rename Dimension2 flipped to swapped

In https://github.com/phetsims/dot/commit/185b786e204dc35a00bed39085141aea97acc9a6, @zepumph added Dimension2 flip, later renamed flipped.   Dimensions are typically "swapped", not "flipped".   "Flip" can apply to a rectangle (described by width and height), but it's an operation that is typically done either horizontally or vertically, and it does not result in a swap of width and height.  So... I'm going to rename flipped to swapped.

flipped was added to support VSlider.  Here's more proof that it should be named swapped.  In VSlider.js, the comment says "Swap dimensions because...".
    // Swap dimensions because Slider.js expects these set up as dimensions for a horizontal slider.
    // These aren't specified in options above, because we want to check against undefined and to use Slider.js defaults.
    if ( options.trackSize !== undefined ) {
      options.trackSize = options.trackSize.swapped();
    }
    if ( options.thumbSize !== undefined ) {
      options.thumbSize = options.thumbSize.swapped();
    }

The only usages were in VSlider and fourier-making-waves, so this was a trivial change, and I'm not going to request a review. Closing.


Not working with latest netlify-cli

Hello 👋,
I know this example application is quite old now but since there is not a great deal of info out there regarding advanced middleware except for this repo and the tutorial here, I thought it was worth mentioning two fairly major issues I encountered when trying to reproduce:

Using the latest netlify-cli package results in an error: Reading or writing files with Edge Functions is not supported yet
Using an older version of netlify-cli (netlify-cli/12.2.9, although I don't know when this changed) this project runs on Next@12 only. On updating to Next@13, the middleware.ts file was ignored.

Repro:

Pull fresh from this repo
Globally install latest (at time of writing) netlify-cli npm i -g<EMAIL_ADDRESS>or npm i -g netlify-cli@latest
Run netlify dev

Notes
I was super confused by the mention of Deno in the tutorial. In another project, I'm using Netlify edge functions another documented way 😏 (via a netlify.toml file; funcs are in netlify/edge-functions) and these DO use Deno, and you can't use npm imports like we have here but use imports like import type {Context} from "https://edge.netlify.com";
If you had any up to date intel about advanced middleware (specifically dom/prop editing) with Next@13, I would overjoyed to hear it! If not, please feel free to tell me to jog on (or maybe even point me in a direction 🙏 )
Ta!

Looking into this for you!

The next-runtime used in this project (4.17) is too old and uses the filesystem in local development — this was a hangover from when we were developing the feature!
We removed filesystem access in edge functions from the CLI in one of the latest major versions, because it is also not available in production. Updating the next-runtime to 4.32 or newer should fix the problem.
Let me know how you get on!

We definitely want to support Next.js 13 as fully as we can. The repo for Netlify's Next Runtime is open source, so feel free to submit an issue per your particular use case.


[NEW ALGORITHM] (Find Lower Bound in Sorted Array using Binary Search)

Description:

I would like to add a new algorithm that implements binary search to find the lower bound in a sorted array.
The lower bound problem  is about efficiently locating the first position of an element in the array that is greater than or equal to the given target value.
This functionality is about finding the first place in a sorted array where you can insert a number without messing up the order.

Proposed Changes:

Algorithm Implementation: Add code for Lower Bound Implementation .

Add README.md : Include a comprehensive README.md file that outlines:
   (1)  An explanation of the lower bound concept.
   (2)  A step-by-step guide on how to use the algorithm.

CheckList:

[x] Contributor in GSSoC-ext
[x] Want to work on it

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

@VahantSharma assign me this issue


NFR 6: Scalability

NFR 6: Scalability

Estimate: 8

Priority: Must have

Story: As a user,  if I want to run multiple instances of pywhat, I should be able to without the program crashing .

Acceptance criteria:

1.The app can support multiple instances.

2.The app can support 100 instances simultaneously.

The user can initiate multiple instances as long as the user's machine can support it.


Document request: futureEmitAssets

Feature to document
output.futureEmitAssets

Author(s)
@sokra

Additional information
https://github.com/webpack/webpack/releases/tag/v4.29.0
This is a new feature that helps a lot the performance of the incremental builds. It should be documented.
I looked for closed issues but couldn't find anything

Will do, thanks for reporting. Wonder why bot didnt pick it up from here: https://github.com/webpack/webpack/pull/8642


Add packages needed for rpm-based systems

Tested only on my local fedora 21, but probably general.

@ppannuto thanks!


Unreliable Dragging & Pressing [android]

I demo'd this lib via the included example app (1.0.0-alpha.17) on a physical Pixel XL (android@8.0.0):
Issue: Dragging and Pressing draggable-objects (aka pink boxes) is not reliable.
Behavior: The pink draggable boxes in the example app do not consistently respond to being single-tapped or dragged. Attempting to tap or drag a box requires multiple attempts (which often fail to be recognized) and is an overall frustrating experience. The non-native javascript PanResponder behaves significantly better (see Note below).
Steps to Reproduce:

Load the example app onto a physical device
Navigate to one of the following screens: Draggable or Combo with RN's ScrollView
Attempt to drag or single-press a pink draggable box
Notice that attempts to drag or tap these boxes fail more often than they succeed.

Expected Behavior: Dragging and tapping draggable-objects should be a fluid/seamless experience.
Note: If you navigate to the example app's PanResponder screen, you can see that the non-native javascript PanResponder is (for some unknown reason) more reliable/smooth than this libs native implementation.

@dk0r thanks for trying it out and taking your time to report the issue!
Regarding the issues you might be experiencing in "Combo" screen I think those might be caused by the fact the draggable box has minDist={100} (see it here: combo/index.js#L134). That I added there to test the scenario when one may not want the "pannable" view to get triggered when you scroll. So in order to activate it you need to drag your finger to the left or right (to avoid triggering scroll) as far as 100DP (android pixel independent units) to initiate the "pan".
As for the "PanResponder" or "Draggable" screens this property is not set and a default value for the minimal distance is being used (which is set to 10px at the moment: PanGestureHandler.java#L11). I wonder if setting minDist={0} for you would fix the issue for you. Another idea that I have would be to use android "platform default" constant instead which can be retrieved from ViewConfiguration#getScaledTouchSlop (at leats thats what android's ScrollView uses to determine when you move your finger far enough to start scrolling)
Anyhow: I'd appreciate if you get back and try the things I listed above, otherwise would very much like to see this issue recorded. If you have time of course I'd be glad if you could enable touch visualization on your test phone (instructions on this youtube video), then you can use this "adb" command to  start recording (stop with Ctr-C)
adb shell screenrecord --size 620x1080 /sdcard/demo.mp4

And to pull the recorded video from sdcard you can use the following command:
adb pull /sdcard/demo.mp4 demo.mp4

@dk0r I hope my sugestions may help you with resolving the issue. I'm going to close it for now until you have time to provide some more input on your problem. Please feel free to reopen


HELP ME FIX THIS ERROR PLS

Describe your problem here.
source/Alphabet.hx:200: characters 20-28 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/ChartingState.hx:143: characters 13-21 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Main.hx:78: characters 61-65 : Float should be Int
source/Main.hx:78: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:78: characters 61-65 : ... For function argument 'child'
source/FreeplayState.hx:242: characters 28-36 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PauseSubState.hx:27: characters 17-25 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FunkinLua.hx:1370: characters 18-26 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FunkinLua.hx:1404: characters 18-26 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PauseSubState.hx:64: characters 20-28 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FreeplayState.hx:339: characters 19-27 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FreeplayState.hx:341: characters 19-27 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/ChartingState.hx:1275: characters 16-24 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/EditorPlayState.hx:39: characters 13-21 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/EditorPlayState.hx:109: characters 17-25 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/EditorPlayState.hx:111: characters 17-25 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/TitleState.hx:653: characters 15-23 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions

how do i change those versions, can you give me an example?

non-git: haxelib install (library) (ver)
git: haxelib git (library) (link)

source/Main.hx:78: characters 61-65 : Float should be Int
source/Main.hx:78: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:78: characters 61-65 : ... For function argument 'child'
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/text/FlxTypeText.hx:8: characters 8-29 : Type not found : flixel.sound.FlxSound
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/text/FlxTypeText.hx:78: characters 26-34 : Type not found : FlxSound
source/Achievements.hx:30: lines 30-216 : ... Defined in this class
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/effects/chainable/FlxEffectSprite.hx:137: characters 49-58 : flixel.animation.FlxAnimationController has no field numFrames
source/PlayState.hx:1348: characters 9-17 : Type not found : FlxVideo
source/DialogueBox.hx:145: characters 16-22 : flixel.addons.text.FlxTypeText has no field sounds
source/DialogueBox.hx:250: characters 16-25 : flixel.addons.text.FlxTypeText has no field resetText
source/DialogueBox.hx:251: characters 16-21 : flixel.addons.text.FlxTypeText has no field start
source/DialogueBox.hx:252: characters 16-32 : flixel.addons.text.FlxTypeText has no field completeCallback
source/DialogueBox.hx:229: characters 18-22 : flixel.addons.text.FlxTypeText has no field skip
source/MusicBeatState.hx:43: characters 3-11 : Type not found : FlxVideo
source/MusicBeatState.hx:49: characters 3-11 : Type not found : FlxVideo
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/transition/FlxTransitionableState.hx:81: characters 20-30 : Field startOutro is declared 'override' but doesn't override any field

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions

how do i change those versions, can you give me an example?

non-git: haxelib install (library) (ver) git: haxelib git (library) (link)

it keeps getting me this error

Try running these in a terminal:
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc.git
haxelib install flixel-addons 3.0.2
haxelib install flixel-tools 1.5.1
haxelib install flixel-ui 2.5.0
haxelib install flixel 5.2.2
haxelib install sscript 4.0.1
haxelib install tjson 1.4.0
haxelib git hxCodec https://github.com/polybiusproxy/hxCodec.git
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit.git
haxelib install openfl 9.2.1
haxelib install lime 8.0.1

(Terminal as in cmd)


Excellent work. Are you using GitOps to sync code with running infrastructure??

This is very similar to what we have built and deploy for NASA Earth Information System.
Great work.! Are you using GitOps approach to maintain the deployment? We are now deploying Flux and Crossplane to sync code<-->deployment
We are building additional Jlab extensions (to be open sourced) for the scientists that connect
Jupyterhub to multiple public datasets in AWS, Azure, and Google Cloud,
Turn any Notebook into a API endpoint (so you can public a NetCDF to Zarr endpoint, etc )
and connection of Notebooks to NLP AI
Very exciting and beneficial for the science community

Thanks for the comment. We are not using GitOps currently. I'll take a look at some of those tools though. Thanks.
Your work in JupyterHub sounds really great! I'll have to check it out.


update Debian install-kubeadm docs to latest version

Fixes https://github.com/kubernetes/website/issues/6113
I also found this guide about installing Docker CE on Debian, and the add-apt-repository command felt more natural than using cat directly, so I threw that in here.
Tested the installation steps on a Ubuntu Xenial VM, which isn't quite Debian but should be Good Enough™.

This change is

Versions 17.06+ might work, but have not yet been tested and verified by the Kubernetes node team.

Is there a way to find out if later versions of k8s have been tested and verified?


Added in neopaeds logic to all scripts and subsequently changed the s…

…tructure a bit

Added neopaeds logic to NRLS LFPSE and StEIS scripts, the flow has been changed a bit to accommodate the logic

Amended logic and corrected based on comments above


AsyncSubstrateInterface Overhaul (with Sync AsyncSubstrate)

DO NOT MERGE YET. There's a handful of methods in py=substrate=itnerface that are not in this
Changes Subtensor (not AsyncSubtensor) to use AsyncSubstrateInterface through a wrapper. Adjusts the rest of Subtensor to handle this (including tests). Also improves the handling of reconnection in AsyncSubstrateInterface, which directly improves the sync version of it.
Removes all our ensure_connected wrappers, because we are now able to do the reconnection logic directly in the (Async)SubstrateInterface
TODO:

[ ] Port all methods of py-substrate-interface to async substrate interface
[ ] Port all methods of subtensor to async_subtensor
[x] Improve connection logic
[x] Make SubstrateInterface use AsyncSubstrateInterface
[x] Remove all non-AsyncSubstrateInterface-level reconnection handling/logic
[x] Speed

https://github.com/opentensor/bittensor/pull/2550


force option

I use rmrdir in my tests, however tests may fail and directories are not created, thus a force option would be a real benefit over manually catching errors.

Hi @schnittstabil, I'm no longer working in PHP or actively maintaining this repo. I am more than happy to accept pull requests though.
(And I've updated my mail filters so the alerts for this report don't get lost again!).
Regards
Alastair


Feature/home page text

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: zdenkoimrek sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


How can the viewer support scale when embedded in an iframe?

I embed the viewer of PDFjs in an iframe and it works OK. The only problem is that I can not scale the viewer.

Closing since none of the requested information from the issue template is provided. In particular, we cannot do anything without a runnable example online. The viewer should be zoomable/scalable within an iframe, so this is most likely an integration/browser-specific issue.


Add USDGLO as recurring donation token

We should add USDGLO as an option to donate for recurring donations made on Optimism
They have already added their Super Token which can be found here:
https://optimistic.etherscan.io/address/0x9f41d0aa24e599fd8d0c180ee3c0f609dc41c622
We have also added USDGLO into the dapp so the token icon should be ready. Here is the underlying token address
https://optimistic.etherscan.io/address/0x4f604735c1cf31399c6e711d5962b2b3e0225ad3
Since there is no testnet version we will need to test this in production
AC:

Users can choose to deposit USDGLO into their stream balance
user can create recurring donation using USDGLO
users can end recurring donation in USDGLO
users can deposit and withdraw USDGLO from stream balance while it has an active stream
user can modify recurring donation made in USDGLO
recurring donations with USDGLO are GIVbacks eligible

@HrithikSampson - want to try this one out
Recurring donations use Superfluid in the background https://www.superfluid.finance/ - this feature is ONLY deployed on Optimism on Giveth atm.
how it works is we have an underlying token which is a regular ERC-20 token such as USDGLO in this case, the underlying token needs to get wrapped in the super token contract, converting it to USDGLOx - this allows the token to be "streamed" from one address to another
We'll need to configure setting up USDGLO as an elegible token to deposit and stream using the recurring donations feature
Check out how we handle other eligible ERC20 tokens such as USDC, DAI, GIV and OP

is it possible to get a very small amount of USDGLO to test it

@divine-comedian , I had a small doubt is it coming sometimes or all the time. I couldnt duplicate the error.

working now on production! https://optimistic.etherscan.io/tx/0x233ab8872a0925ca45a114656c0bef5ba97894ec032fb0b74e94cdc9b1836a32


Base tray icon animation off syncing status, rather than transfer rates?

Currently, we animate the tray icon if data is going in or out of Syncthing. This might not be the best option: it doesn't correlate to any of the 'syncing' statuses, and may mislead users.
Instead, it may be better to based it off whether any folders are currently syncing. This would have the advantage of meaning that we won't have to poll for Syncthing's connection status unless the FileTransfers window is open...

After watching the icon a lot, it's useful to be able to see when Syncthing is uploading data. Therefore I'm keeping it as it is.


Create wireframe for Vino to build

Full search version
needed by #61

@avielbassalian-freeukgen  to send Vino link to Figma

Shall nudge Allan/Barrie for their input.

Barrie has provided feedback over on the FreeBMD2 channel on Slack.

Following those discussions, I would like us to lockdown a current wireframe and proceed with it for this iteration. We will not be using any dynamic updating of the form initially (Barrie doesn't seem to be a big fan in terms of some users finding such things confusing).

@avielbassalian-freeukgen any final changes/updates before passing over to @Vino-S?

@richpomfret @Vino-S
No, I think we should go ahead with option 4 (I believe this was the option we decided on). I've also updated according to some of @PatReynolds feedback.
https://drive.google.com/open?id=1omxtCfNVypHN9wL0QXgZb2JjChOyWKjS


add traits for inscriptions

This is very similar to https://github.com/casey/ord/pull/1899...

Could you elaborate what specific use case you have in mind for this?

This is a large feature which has many implications that I haven't yet considered, so closing for now.


Support of elastic found's Transport Module

Hello,
I try to use this tool with Elastic's Found (hosted elasticsearch) and they require additional authorization.
Details here:
https://www.elastic.co/guide/en/found/current/java-transport.html
Do you pls to support that as well?
Thanks for a short feedback!
C

Yes.
See https://github.com/jprante/elasticsearch-jdbc/issues/536

Wow, that was quick! Thanks!


Positional syntax for property definition – generated ctor does not use explicitly declared property automatically

If the generated auto-implemented property definition isn't what you want, you can define your own property of the same name. If you do that, the generated constructor and deconstructor will use your property definition.

No, it will not be used by generated .ctor.
> record Rec(int Int, string String, double Double)
. {
.     public int Int { get; } = int.Parse(String);
.     public string String { get; } = Int.ToString();
.     public double Double { get; }
. }
> new Rec(1, "3", 4.4).ToString()
"Rec { Int = 3, String = 1, Double = 0 }"

It also gets some kind of formula few words later.

You must add the explicit assignment of the declared property to its corresponding positional parameter.

This sentence is also of course wrong since source-destination dependency is exactly opposite.
This whole paragraph deservers rewording. For instance

For instance, the following example declares the FirstName and LastName properties of a positional record public, but restricts the Id positional parameter to internal.

becomes little esoteric.

Example bellow is also little beside point when showing some output and Main not relevant to explicit property declarations.
Part with deconstructor is correct.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 20818c64-4ad8-fb15-5d79-e7f98614e9c4
Version Independent ID: de1f383b-ef20-4776-57a8-04edae892166
Content: Records - C# reference
Content Source: docs/csharp/language-reference/builtin-types/record.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for noting this @Uzivatel919 The language here can be tightened up on what code the compiler synthesizes.


When changing a field, update other fields

I am working on an app that at some point shows a user's location on a map.
It should go like this:

the user enters his zipcode
the app sends a google geocoder api request and brings back the city, state and neighborhood. This will later be changed to another service, but this is just for testing
with these values I want to populate some fields (city, state and neighborhood)

Currently, I am doing this using jQuery:
this.onZipChange = (modelValue, form) => {
            let address = {
                address: modelValue + ', Mexico'
            };

            this.geoCodeSubmit(address, (action, state, res) => {
                const contentType = res.headers.get('Content-Type');
                if (contentType && ~contentType.indexOf('json')) {
                    return res.json().then((json) => {
                        let address = json[0];
                        if (address.city) {
                            $('#city').val(address.city);
                        }
                        if (address.extra.neighborhood) {
                            $('#colonia').val(address.extra.neighborhood);
                        }
                        if (address.country) {
                            $('#state').val(address.country);
                        }
                    });
                }
            });
        };

But this way, the fields are not validated instantly. Is there any way to do this without using jQuery?

@laura-h Is there a reason you don't just update the model directly as the data returns?

@Anthropic because I always tend to not see the obvious solution :) Thank you.
But now I am facing another issue. I turned the neighborhood field into a select, which should be empty at first, until the user enters a zipcode. Do you know know how I can add options to the select dynamically?  Should I open a separate ticket for this question?

@laura-h there are a few add-ons designed for handling this, angular-schema-form-external-options angular-schema-form-dynamic-select the later is better supported, the Material design decorator has it built in but only very basicly.
Please re-open if you do not feel the question has been answered sufficiently :)


GEN-4: Updating Wiki pages related to the former group members

What's up?
Since the group members list has changed this semester, the content of some Wiki pages and the README.md file have to be changed.
To Do

[x] Updating Group Members on the Wiki page
[x] Updating Timesheets on the Wiki page
[x] Updating Group Members on README.md

Deadline
11.10.2022 @14.00
Additional Information

A "Former Group Members" section should be added on these pages.

Reviewers
@simsekhebun

All necessary updates are done. Now, a review of a team member is requested.

It is complete. No further action required.


[SPARK-22191] [SQL] Add hive serde example with serde properties

What changes were proposed in this pull request?
Added an example for, specifying serde with serde properties for hive tables using OPTIONS.
How was this patch tested?
Verified manually by running examples with run-example.sh. Verified in Scala, java and python.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ping @crlalam for @holdenk's comment.


Burn Book: Missing recorder examples

We should add more comprehensive examples and documentation on how to load and save weights.

I agree


New version: SPIRV_LLVM_Translator_jll v8.0.0+4

Autogenerated JLL package registration

Registering JLL package SPIRV_LLVM_Translator_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/SPIRV_LLVM_Translator_jll.jl
Version: v8.0.0+4
Commit: 90fa856590f133e7cf3d52cfe3bd666ef6fa05c1
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/55777a3d0eecb57e7f1362cef33da805c20c9aa2
Created by: @maleadt

Let's start with this one. The failure here is expected, since this artifact is only for an old version of Julia, so this should be good to go.


Dad battle spotlight

What is your question?
Okay so I have this problem where the game crashes when I try to add the dad battle spotlight event. The game never crashed before for me only when I try to put this specific event into a custom song/stage. I'm doing everything correctly as far as I know. any ideas how I could possibly fix this?

It’s hardcoded into week1, that’s why

And is there a way to add the event to custom songs with lua or something?

And is there a way to add the event to custom songs with lua or something?

no


1.7 Unexpected character "&" in Page

When using the following code (simplified) in my default.md using process.twig: true it fails:
[schreibe uns einfach eine Email.]({{ '/kontakt' }})

This worked with 1.6

Content of the parsed markdown is:

schreibe uns einfach eine Email.

Content of the parsed markdown is:

schreibe uns einfach eine Email.

This is actually the expected result in the new parsedown library. It escapes the links.
However... This is something we may want to detect and prevent from happening, content inside {{ ... }}, {% ... %} and {# ... #} should not be parsed if twig parsing is enabled and happens after Markdown has been converted to HTML.

This is actually the expected result in the new parsedown library. It escapes the links.
However... This is something we may want to detect and prevent from happening, content inside {{ ... }}, {% ... %} and {# ... #} should not be parsed if twig parsing is enabled and happens after Markdown has been converted to HTML.

@NicoHood Can you try out the fix?

@NicoHood Can you try out the fix?

The fix works. It looks a bit hacky with the base64 though.

The fix works. It looks a bit hacky with the base64 though.

Well, the purpose was to hide the content from the Markdown parser. I thought first about just replacing certain characters, but then I thought that nothing inside twig should be seen as Markdown code:
{{ 'This is *My* text.'|markdown }}

as it could have crazy side effects. So I thought if I just make it to look text, there shouldn't be any issues. You can still use conditional statements and loops as only twig tags are being hidden.

Well, the purpose was to hide the content from the Markdown parser. I thought first about just replacing certain characters, but then I thought that nothing inside twig should be seen as Markdown code:
{{ 'This is *My* text.'|markdown }}

as it could have crazy side effects. So I thought if I just make it to look text, there shouldn't be any issues. You can still use conditional statements and loops as only twig tags are being hidden.

Alright, yeah I dont have any better idea.

Alright, yeah I dont have any better idea.


It's possible to subscribe to list of topics?

Versions
Sarama Version:1.16.0
Kafka Version:1.1.0
Go Version:10.1
Configuration
Standard Configs
Problem Description
Apache Kafka docs tells me:
 KafkaConsumer<String, String> consumer = new KafkaConsumer<>(props);
     consumer.subscribe(Arrays.asList("foo", "bar"));

but how to use it in sarama?
topic := "Payments" // wanna to use array of topics
consumer, err := master.ConsumePartition(topic, 0, sarama.OffsetNewest)

You probably want https://github.com/bsm/sarama-cluster.

THX!


Diagnostic Logs Level set in Azure does not work

We are running an ASP.NET Core 2.1 app in Azure App Service with logging set in appsettings.Development.json and apnetcore_environment set to development. We have noticed that when we make a change to the Diagnostic Logs Level it does not make a difference in the logging output. We’ve tested this looking at the Log Stream output and with/without application restarts. Is this supposed to be the preferred behavior? In the documentation it seems to imply this should work ok without any code changes in .NET Core (https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-2.1&tabs=aspnetcore2x#azure-app-service-provider).
From the docs:
“If targeting .NET Core, don't install the provider package or explicitly call AddAzureWebAppDiagnostics. The provider is automatically available to the app when the app is deployed to Azure App Service.
When you deploy to an App Service app, the app honors the settings in the Diagnostic Logs section of the App Service page of the Azure portal. When these settings are updated, the changes take effect immediately without requiring a restart or redeployment of the app.”

@justinchizer sorry you're running into this issue. Can you provide more info about what your log settings look like, and what settings you've set in the Azure Portal?

In one case I just tested we have the following, but log streaming still shows debug even after Application Logs is set to Error. Is this expected?
{
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Trace",
      "System": "Information",
      "Microsoft": "Information",
      "NewDotNet": "Trace"
    }
  },
  "Console": {
    "IncludeScopes": true,
    "LogLevel": {
      "Microsoft.AspNetCore": "Error",
      "Default": "Debug"
    }
  }
}

Still yields output like
2018-07-20T05:51:13  Welcome, you are now connected to log-streaming service.
2018-07-20 05:51:30.931 +00:00 [Debug] Microsoft.AspNetCore.Server.Kestrel: Connection id "0HLFE0E9P5B5A" started.
2018-07-20 05:51:30.938 +00:00 [Information] Microsoft.AspNetCore.Hosting.Internal.WebHost: Request starting HTTP/1.1 POST http://mysite-hidden/Project/

@pakrym - any ideas on how the filtering is supposed to work in Azure? Are these the wrong settings?
@adamtuliper - are you sure that those are the settings used at deployment time? Maybe different config files are being used in dev vs. prod?

Diagnostic Logs Level is only used for Log streaming output. It doesn't apply to any other logging providers.

I’m experiencing this issue right now and have not found a solution. See question my post on stack overflow: https://stackoverflow.com/questions/56190165/iloggingbuilder-logging-loglevel-in-appsettings-json-doesnt-seem-to-be-acknowle


Change order of login parameters

Fixes #21
I don't have a real client to test with, but I made a small app to print the args, here's the output:
D:\blah\CLA.exe
-t:asdfa
jkljk
1sak1

Sry am new to rust, if there's a better way let me know.

Just as reminder, i needed to change this to make SSO login work, because it was sending the "commas" to the emulator, at least it was happening to me, you need to test it :

Interesting, the program I tested with did not receive any quotes. It's a c++ program that loops through argv printing each arg on a new line. Later I'll set up a client and try.

Maybe the problem it's mine, that's why if someone can check it ;p

Thanks for the PR! 😁
I'll try to test this out if you can't, when I find the time.

In my case if i don't pass the "server" argument the client crash, so... yes i guess it gonna be needed 👍

After all the changes, here's a packet dump:
[Debug]: --- 00-01-02-03-04-05-06-07-08-09-0A-0B-0C-0D-0E-0F<PHONE_NUMBER>ABCDEF
[Debug]: 000 25 08 64 00 2E 00 00 00 00 6D 79 75 73 65 72 31   %.d......myuser1
[Debug]: 001 00 80 00 00 E3 84 6D 82 AC F0 19 00 9C DC FD 76   .�..�m���..���v
[Debug]: 002 FF FF FF FF A4 F0 19 00 4B DD FD 76 90 3B 06 10   ������..K��v�;..
[Debug]: 003 43 52 65 73 E0 30 22 10 00 00 00 00 41 41 2D 41   CRes�0".....AA-A
[Debug]: 004 41 2D 41 41 2D 41 41 2D 41 41 2D 41 41 31 37 32   A-AA-AA-AA-AA172
[Debug]: 005 2E 32 36 2E 31 34 34 2E 31 00 81 07 50 61 53 73   .26.144.1.�.PaSs
[Debug]: 006 57 6F 52 64                                       WoRd
[Status]: Request for connection of myuser1 (ip: <IP_ADDRESS>)

Alright, thanks a lot for testing this, I'm merging 👍


Machinepool RBAC for RKE2 clusters is incorrect for 2 use cases (standard user as a cluster member) & (userbase as a custom manage nodes role)

Rancher Server Setup

Rancher version:v2.6-head - b8a44fa

Information about the Cluster

Kubernetes version: v1.21.3-rc6+rke2r2
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): DO cluster running RKE2

Describe the bug

When trying to view the machine pools of a RKE2 cluster, 2 different use cases do not have the ability to view the machine pools so nodes are grouped as "not in a pool"
To Reproduce

Use Case 1 - Standard user added to RKE2 cluster as cluster member

Create a standard user
Create a RKE2 cluster
Add a standard user as a cluster member
log in as standard user
Go to cluster management.
Click on the cluster name to view the cluster detail

Use Case 2 - Userbase user added to a RKE2 cluster with custom role of "Manage Nodes"

Create a user with only userbase global permissions
Create a RKE2 cluster
Add a userbase user with a custom role of "Manage Nodes"
Log in as userbase user
Go to cluster management.
Click on the cluster name to view the cluster detail

Result
The nodes are viewable but they are not grouped in a pool, which is due to the user not having access to machine pools.
Expected Result

For both use cases, the nodes should be grouped in a machine pool, so both uses cases should have ability to list/get machine pools.
Use Case 1 - Cluster members are not allowed to manage nodes, so they should only be able to view them.
Use Case 2 - Userbase users added with custom role to manage nodes should be able to scale up/down, delete and SSH into the nodes.
Screenshots

Additional context

Validated with v2.6-head 70f024e
Both use cases above can see machines in machine pools on the cluster detail page.

BUT a user base with manage nodes role is unable to scale up or down the machine pool. They have the ability to SSH. Scaling up and down is part of machine pool.
A user with manage nodes role should have the ability to update the machine pools.
Note: There is another issue around machine pools that are filed separately:
User base with manage nodes doesn't see the cluster config: https://github.com/rancher/dashboard/issues/4000
Cluster owners/cluster members needing to be able to list cloud credentials: https://github.com/rancher/rancher/issues/34442 & https://github.com/rancher/rancher/issues/34443


Os error when running with async execution policy

The error is OS error: [Errno 39] Directory not empty and it seems to be related to the removal of directories.

@teojgo Can you please comment how to reproduce and on which system?

It fails consistently also for me on Dom:
./reframe.py -C config/cscs.py -c cscs-checks/libraries/magma/magma_checks.py --exec-policy=async -r

As already discussed, @vkarak you can close this issue since we cannot reproduce and we have not observed it happening again.

I can't reproduce it either. Seems like a transient system issue. Closing it.

I am reopening this, cos this is still happening from time to time.

This issue seems to be related to the network file system. They had the same problem in Easybuild, https://github.com/easybuilders/easybuild-framework/pull/353.

Perhaps we can replace rmtree with our more persistent version as Easybuild does.


fix: rosalinet

resolve #1039

I think I just accidentally did it twice. Sorry!
On Fri, Mar 4, 2022 at 3:14 PM Cₒdᵢₙgₛₚₑcᵢₑₛ @.***>
wrote:

@.**** commented on this pull request.
@rosalinet https://github.com/rosalinet do you need any help? This pr
has been open for a while. Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/EddieHubCommunity/awesome-github-profiles/pull/1040#pullrequestreview-900726491,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWABU5XRA4ERYRIXNIKCBSLU6J4KRANCNFSM5ONO66DQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
<EddieHubCommunity/awesome-github-profiles/pull/1040/review/900726491@
github.com>


Fix discord_components not in the correct version.

Is there any particular reason of why you think this is a needed change?

Since discord_components in the necessary version is not available by installing it with pip and that version also not in the official repository, I was able to get the necesarry version and upload it to my discord_components froked repository. Lobbybot only works on that version, you can check it.

Thank you, just for security can you change the fork repo to https://github.com/BayGamerYT/discord.py-components


Error on onmt/utils/Cuda.lua, getKernelPeerToPeerAccess

Can't seem to get passed this, any ideas?
/home/ubuntu/torch/install/bin/luajit: ./onmt/utils/Cuda.lua:31: ./onmt/utils/Cuda.lua:17: attempt to call field 'getKernelPeerToPeerAccess' (a nil value)
stack traceback:
[C]: in function 'error'
./onmt/utils/Cuda.lua:31: in function 'init'
train.lua:427: in function 'main'
train.lua:543: in main chunk
[C]: in function 'dofile'
...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x00406670
Using public AWS AMI Deep learning Torch7 and Caffe v3 (ami-3f77b354)
Thanks!

hey,
we got the same error.
any tips for us?
thanks:)


Fix issue caused by new script cache in 1.23.1

Fixes #46

Set script_path to absolute script path, as this seems to be more consistent with that is done normally in streamlit (and is needed for the sourcewatcher to register it correctly?)
re-register the scriptwatcher that the scriptcache uses, to pick up the pages added by st_pages

@blackary  - I am not sure how correct it is to directly interact with the runtime like this. But it seems to fix the issue :)

Hi @blackary any chance you can look at this?

@mfriedy Yes, sorry it's taken a while, but I will take a look at this. I've been doing some work to get tests fixed in #45

@mfriedy I had trouble getting the fix to work without adding a tiny sleep. After that it seemed to work fine. Now making sure it still works with different versions.

I can get the tests to pass locally, but am having trouble getting them to pass on github actions so far :/

That's really weird re the sleep, no idea. Is it something to do with accessing the runtime directly?


chore: Add "database_version" with the default

Since by default DB is created with database_version = "POSTGRES_14" it makes sense to set the default to POSTGRES_14. At the same time being able to customize the param is beneficial
Resolves https://github.com/GoogleCloudPlatform/terraform-google-alloy-db/issues/66

Closed in favour of https://github.com/GoogleCloudPlatform/terraform-google-alloy-db/pull/65


Async JSON reader

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

like https://github.com/apache/arrow-rs/issues/78, async reader for JSON files is also useful sometimes.
Describe the solution you'd like

Add async Read support to arrow_json crate.
Describe alternatives you've considered

Additional context

We encountered a situation where only an asynchronous reader was available recently. It is difficult to bridge between synchronous and asynchronous interfaces, causing inconvenience.

This was added in https://github.com/apache/arrow-rs/pull/3479
In particular https://docs.rs/arrow-json/latest/arrow_json/struct.RawDecoder.html

I've created https://github.com/apache/arrow-rs/pull/4046 to better document this functionality, PTAL

label_issue.py automatically added labels {'arrow'} from #4046


Where can I assign a static IP to vpn users?

I want to set up like this: PC1,PC2,PC3 -> SEVPNserver(<IP_ADDRESS>/wan IP)
I don't want to connect SEVPNserver's network(lan IP 10.10.50.X range)
but I want to connect to SEVPNserver itself / VPN users.
ex.
SEVSERVER <IP_ADDRESS>
PC1(vpn connected) <IP_ADDRESS>
PC1(vpn connected) <IP_ADDRESS>
[ALLOW]
<IP_ADDRESS> -> <IP_ADDRESS>:8080 = <IP_ADDRESS>:8080(in server side)
<IP_ADDRESS> -> <IP_ADDRESS>:465 = <IP_ADDRESS>:465(in server side)
<IP_ADDRESS> -> <IP_ADDRESS> (pc-to-pc)
<IP_ADDRESS> -> <IP_ADDRESS> (to internet, just like a router)
[DENY]
<IP_ADDRESS> -> <IP_ADDRESS>
The question is,

Where can I set a static IP for each VPN user? (ex. 10.10.20.x range for VPN)
If can't, should I use SecureNAT's DHCP instead?

server has 2 NIC card.
one is <IP_ADDRESS> WAN(Global IP: <IP_ADDRESS>)
second is <IP_ADDRESS> LAN

The question was answered correctly. The user does not exist anymore on github. I'd like to close this issue.


ssh authentication and host key errors are unrecoverable

Perhaps this should re-raise because the transport can never become available in this condition.

Closing this; #295 filed to track the grace period.


Feature/docs rss

What are your changes?
Added a button to follow docs RSS feeds. This would work a lot better if every doc .md file would have a date value in the frontmatter, but it works as is as well.
What is the urgency level of this change?

[ ] Blocker
[ ] High
[ ] Medium

I have completed these items:

[ ] I have built locally and tested for broken links and formatting.
[ ] If appropriate, I have added redirects.

@daveyheuser looks good, but can we make this RSS button and the one used on the blog match?  The styling seems different.

Done.


FloatOrd newtype

Possible implementation for https://github.com/jamiebrynes7/spatialos-sdk-rs/pull/153#issuecomment-602252163 wherein we try to use a wrapper newtype to make f32/f64 implement Ord.
This code was adapted from https://github.com/notriddle/rust-float-ord with a set of trait implementations added to aid usability: Deref, DerefMut, +-/*, and the assign variants thereof.

As unfortunate as it is to not be able to use f32/f64 directly, this is probably the most reasonable solution for now. I'm in favor of getting this merged in 👍


Inference on a single video

Hi,
I would like to run vognet on a single video input for inference. Is there an example code that works for a single video/folder of videos? for instance, what code to get the features from a single video, then run inference on the features to get final captions
thanks

@nikky4D thank you for your interest.
Getting it to work with single videos is a bit tricky. You would need to use the same feature extraction pipeline as used in (https://github.com/facebookresearch/grounded-video-description).
The steps would be (also see https://github.com/facebookresearch/grounded-video-description/issues/12):

Extract Video Frames (using say FFmpeg)
Extract video features (both rgb and flow features) to get rgb_motion_1d
Sample 10 frames for each video clip, and pass them through object detector like faster-rcnn trained on visual genome fc6_feat_100rois (the directory contains features) and anet_detection_vg_fc6_feat_100rois.h5 (the h5 file contains the bounding box proposals)

For (2), see https://github.com/LuoweiZhou/anet2016-cuhk-feature and for (3), see https://github.com/facebookresearch/grounded-video-description/issues/5
For this project (and paper), we used the extracted features directly (which can be downloaded).
At the moment, there are no plans to reproduce the whole pipeline, but pull requests are more than welcome!

I actually have the 1) and 3) done. The author of VLP was very helpful in sorting out those issues for me. I only have 2 left and I believe I can figure out 2 quickly.
After that, what do I use as input commands? For example, I already have the fc6_feat_100rois, and the anet_detection_vg_fc6...f features. Once I have the rgb_motion_1d, what is the next step for generating captions without running evaluations on the results? Would it be the same as:
python code/main_dist.py "spat_vog_gt5_valid" --train.resume=True --train.resume_path='./tmp/models/spat_vog_gt5.pth' --mdl.name='vog' --mdl.obj_tx.use_rel=True --mdl.mul_tx.use_rel=True --only_val=True --train.prob_thresh=0.2
Also, do I need to have rgb_motion_1d (just in case I don't get it working)?
Thanks

@nikky4D I am not sure if I follow, "what is the next step for generating captions without running evaluations on the results"
Note that the task here is to ground objects using a given query, so the captions should already be provided (there is no caption generation step). Given captions for video segments, they are passed through a semantic role labeling system, which is further used for contrastive sampling.
It is great that you have 1,3 done. While you could skip 2, you wouldn't be able to use the pre-trained models. So you would need to re-train the models by removing the temporal features. It would need some changes to the code as well, basically, you would need to comment out the concatenation of proposal features and segment features (https://github.com/TheShadow29/vognet-pytorch/blob/master/code/mdl_conc_single.py#L100).

Thanks @TheShadow29 . I do have sample videos with their initial captions.  I also have video features (1, and 3). I will also get video features (2) soon.
 I'm trying to figure out the input commands for generating model predictions/inference and where to store my own videos, captions and features.
So,  using the pretrained model checkpoints, and with my video features, what is the code to get out model predictions? I am assuming it is something like the 2 stage process described in readme:

Get the valid_0.pkl files
python code/main_dist.py "spat_vog_gt5_valid" --train.resume=True --train.resume_path='./tmp/models/spat_vog_gt5.pth' --mdl.name='vog' --mdl.obj_tx.use_rel=True --mdl.mul_tx.use_rel=True --only_val=True --train.prob_thresh=0.2

Evaluate the pkl files
python code/eval_fn_corr.py --pred_file='./tmp/predictions/spat_vog_gt5_valid/valid_0.pkl' --split_type='valid' --train.prob_thresh=0.2

But where do I describe the path to my own videos, captions, and features so that I can evaluate the model on them?
I hope this makes more sense.

@nikky4D All paths are defined in config.yml files (https://github.com/TheShadow29/vognet-pytorch/blob/master/configs/anet_srl_cfg.yml)
The easiest way would be to simply create symlinks though. So you could create data and provide a symlink to anet/rgb_motion1d in data.
Alternatively, you could pass them as arguments as well which would look like:
python code/main_dist.py "spat_vog_gt5_valid" --train.resume=True \
 --train.resume_path='./tmp/models/spat_vog_gt5.pth' --mdl.name='vog' \
--mdl.obj_tx.use_rel=True --mdl.mul_tx.use_rel=True --only_val=True --train.prob_thresh=0.2 \
--ds.seg_feature_root=/path/to/segfeat

Does that make sense?

That does. Thank you very much. I'll get to work on that.


Drag and drop report JSON conversion error in production environment

There is no problem with using it in the development environment.
But I will report Error when I pack and deploy to the production environment.
Converting circular structure to JSON
--> starting at object with constructor 'Object'

But the function is good.

Due to the fact that your object structure does not support JSON serialization, you can pass a custom cloning function to implement your own cloning functionality.
import { cloneDeep } from 'lodash-es'

useDraggable(el, list, {
  clone: cloneDeep
})

In my case, I had stored my list on a Pinia store, so it was enough for me to use toRaw():
import { toRaw } from 'vue'

useDraggable(el, list, {
  clone: toRaw
})


Made changes to libbpf version

Changes to the relevant files (bpfWrapper and dockerfile) have been made.

BTW there's also a branch that supports libxdp in the project


calendar prototype usage page

Hey! Going to close this until we know what we want to do with these pages. The Netlify links will stay active and we can re-open this in the future if needed.


Not working on windows.

This plugin is not working on windows.

I don't use the plugin on windows, PRs are welcome though!

Pull request made: https://github.com/loganhenson/tlint-plugin/pull/12


Safety concerns ccd changes ex

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

This PR is no longer required. Changes for safety concern are done as a part of other PR and kept in Release-3-1.


Game freezes when exiting the ship log in map mode

When I enter the ship log in map mode and immediately exit without looking at any of the entries, the game freezes.
I'm on game version <IP_ADDRESS>.
The mod manager also gives me this error:
NullReferenceException: Object reference not set to an instance of an object Stacktrace: ShipLogSlideReelPlayer.ShipLogSlideReelPlayer.UnloadStreamingTextures (ShipLogMapMode mapMode, System.Int32 index, System.Collections.Generic.List`1[T] wantedStreamingAssetIDs) (at :0) ShipLogSlideReelPlayer.ShipLogSlideReelPlayer.CloseEntryMenu (ShipLogMapMode __instance) (at :0) (wrapper dynamic-method) ShipLogMapMode.DMDShipLogMapMode::CloseEntryMenu(ShipLogMapMode) ShipLogMapMode.ExitMode () (at <6981773f82a4486a9b48d7b04937b6e2>:0) ShipLogController.ExitShipComputer () (at <6981773f82a4486a9b48d7b04937b6e2>:0) ShipLogController.Update () (at <6981773f82a4486a9b48d7b04937b6e2>:0)

Thank you @ZAFloatie for reporting this important bug and giving all the details! This is now fixed in 1.0.5, you can update now in the mod manager :)


Passing null to strpos is deprecated

🐞 Bug Report
Required Information

?
!

Operating system
Fedora 36

PHP Telegram Bot version
0.75.0

PHP version
8.1.7

MySQL version
MariaDb Podman Container Image Hash ea81af801379

Update Method
Webhook

Self-signed certificate
no

RAW update (if available)
{...}

Summary
Passing null to strpos is deprecated
Current behaviour
Laravel 9.18.0 Reports:
Version: 0.75.0
Channel: deprecations
Level: WARNING
Message: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in vendor/longman/telegram-bot/src/Entities/Message.php on line 140

How to reproduce
I did not record the raw update or say cannot connect this issue to which update to log files.
Expected behaviour

maybe replace with str_start_with

Please update to the latest version of PHP Telegram Bot, since earlier versions may not compatible with PHP 8.1.
The latest version should afaik.

Ok, Thank you. i ll close first, if it continuing reports, i ll reopen here.


Base branch was modified review and try again

Related: https://github.community/t5/GitHub-API-Development-and/Merging-via-REST-API-returns-405-Base-branch-was-modified-Review/td-p/19281

Should be fixed by just retrying. Still needs some testing though.


Minimal APIs support

Description
added AddDapr extension method for DaprEndpointRouteBuilderExtensions to support minimal APIs. And added tests for this, but I only tested invocation manually, I'm not sure the other features are working.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #695
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

See my comment, I don't think any of this is required.

Closing in favor of #738


Domainmodel example: refactor qualified name provider

The current implementation of the domainmodel example extends the NameProvider with an additional method to handle qualified names, which leads to type casting of the service in other classes (see https://github.com/langium/langium/pull/229#discussion_r712983533). A simple solution would be to move that method to a new custom service QualifiedNameProvider. But we should consider whether generalizing this case makes sense. Xtext does this with a QualifiedName type; I'm not sure whether we want to go down that path.

I personally don't like how extending the default API works at the moment.
There is no way to use the additional API inside a custom service implementation except of casting things. Adding a new service interface is an alternative, but imagine a case where an additional function belongs to one special service and is used in only one other service. Creating a new service in that case is a bit to much overhead.
I would love to see a simpler way to achieve what is requested in this issue description.

Our current DI solution is more restrictive than Guice / Inversify, but it's also type-safe, which is great.

Creating a new service in that case is a bit too much overhead.

It's not that much: one line for declaring the new service and one line for assigning the constructor call to it.

but it's also type-safe, which is great.

I don't propose to change nameProvider field to Object. I'm rather looking for a more extensible alternative on how our default implementations are implemented.

Maybe something like this?
Default service implementation:
export class DefaultScopeComputation<ST extends LangiumServices> implements ScopeComputation {
    protected readonly services: ST;

    constructor(services: ST) {
        this.services = services;
    }

    protected nameProvider(): NameProvider {
        return this.services.references.NameProvider;
    }

    protected descriptions(): AstNodeDescriptionProvider {
        return this.services.index.AstNodeDescriptionProvider;
    }
}

User implementation:
export class DomainModelScopeComputation extends DefaultScopeComputation<DomainModelServices> {
    protected nameProvider(): DomainModelNameProvider {
        return this.services.references.NameProvider;
    }
    // can use DomainModelNameProvider with this.nameProvider().getQualifiedName()
}

Domain Module:
export type DomainModelAddedServices = {
    validation: {
        DomainModelValidator: DomainModelValidator
    },
    references: {
        NameProvider:  DomainModelNameProvider
    }
}


Package using msbuild

Replace nuspec with project attributes

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

GitHub Release
NuGet Package


Allow php 8.2

Description
This change introduces:

CI testing for PHP 8.2
Drop abandoned twig/extensions (Seems unused)

@tpatartmajeur : thank you. I have just tagged a new release https://github.com/jbouzekri/PhumborBundle/releases/tag/3.1.0 with this change


Point locking_resource to Bloomberg's repo

The cbaenziger and bloomberg repos are not currently in sync

Should be good now with https://github.com/bloomberg/locking_resource-cookbook/pull/3

They should be happy after https://github.com/bloomberg/locking_resource-cookbook/pull/3


Extremely Low FPS on DeX-Capable Samsung Phone After Restart

Low FPS Issue on Galaxy S9 with scrcpy After Restart
Device: Samsung Galaxy S9
OS: Android 10
Setup: Samsung DeX, scrcpy (USB/TCP), USB debugging, rooted device
Issue:
After restarting or shutting down the phone, scrcpy exhibits extremely low FPS (1-3 max) when connected via USB or TCP. Despite this, the phone itself doesn't seem laggy (e.g., I get instant feedback from the home button vibration).
Workaround:
Connecting the phone to an external display via a USB-to-HDMI hub (with charging, USB, and HDMI ports) and seeing the DeX desktop resolves the low FPS issue. After this, scrcpy works smoothly when reconnected to the PC (USB or TCP).
Additional Info:
Disabling DeX and using normal Android mirroring over HDMI does not seem to fix the FPS issue (have to verify this again).
The issue is not PC-related, as the same behavior occurs on multiple machines
Other Samsung phones without DeX, such as the Galaxy Note 4 or my Poco F3, do not experience this problem after phone shutdown or restart maybe due to them not having DeX feature. Anyone else with similar issue or is it my device? I can provide pre and post work around scrcpy display lists and further debugging if you provide me instructions on how to get to the information why is this happening.
TL;DR:
Low FPS on scrcpy after restarting Galaxy S9. Running DeX once fixes the issue.

Here is more about this.

I have no idea, it looks like the problem on the device system itself (which captures at low fps in some conditions).
If you record (scrcpy --record=file.mp4), the resulting file is also at 1~3 fps I guess?

I have no idea, it looks like the problem on the device system itself (which captures at low fps in some conditions).
If you record (scrcpy --record=file.mp4), the resulting file is also at 1~3 fps I guess?

I will try to record to a file. But yes on restart it seems the dex display is not initialized, when it does scrcpy works fine with display 0. I never had samsung phone with dex support they always worked fine no matter the restart. Would be good if someone with samsung dex phone( newer or similar age as mine)can chime in and report similar thing or is it just specific to this model.


Remove non-operational ran variable and parameter.

https://github.com/digitalbazaar/bedrock/blob/master/lib/bedrock.js#L218
This variable is declared, but never changed, and therefore the feature it was intended to provide is  not and has not been working.  Rather than fix the deprecated implementation, the ran variable should just be removed.

@mattcollier actually, let's not remove it, it is functional and could be used in the old version. You could check it for ran === false vs. ran === undefined. Let's just deprecate the old version and leave it be.


Markdown Headers with different colors

This issue is to propose setting headers colors in markdown documents based on the heading level. I have found that this can improve the readability of the documents as it allows for quickly being able to tell the sibling headings apart from the children headings.
I currently do this via manual adding textmaterules to change the colors in my settings, but I think that including this in the theme (and having it map to the color pallet of a given theme) would add to the already amazing theme.
Bellow is an example of applying these texmate rules in the vivid black theme:

"textMateRules": [
      {
        "scope": "heading.1.markdown entity.name.section.markdown, heading.1.markdown punctuation.definition.heading.markdown",
        "settings": {
          "foreground": "#9cecfb"
        }
      },
      {
        "scope": "heading.2.markdown entity.name.section.markdown, heading.2.markdown punctuation.definition.heading.markdown",
        "settings": {
          "foreground": "#83a4d4"
        }
      },
      {
        "scope": "heading.3.markdown entity.name.section.markdown, heading.3.markdown punctuation.definition.heading.markdown",
        "settings": {
          "foreground": "#009f78"
        }
      },
      {
        "scope": "heading.4.markdown entity.name.section.markdown, heading.4.markdown punctuation.definition.heading.markdown",
        "settings": {
          "foreground": "#d57300"
        }
      },
      {
        "scope": "heading.5.markdown entity.name.section.markdown, heading.5.markdown punctuation.definition.heading.markdown",
        "settings": {
          "foreground": "#ff4647"
        }
      },
      {
        "scope": "heading.6.markdown entity.name.section.markdown, heading.6.markdown punctuation.definition.heading.markdown",
        "settings": {
          "foreground": "#ff3b8d"
        }
      }
    ]

Hello! Thanks for suggesting this, I found it very interesting! However, I tried it on my own and didn't really like the result, I think it adds too many different colors that lose legibility when mixed with the rest of the markdown content, but good idea though!