OS.window_per_pixel_transparency_enabled strange behaviour

When running OS.window_per_pixel_transparency_enabled  gets changed it causes some strange behaviour, I discovered this while making a state machine, when running the method the rest of the code was executed out of order, instead of executing when it should. This means that if I move the method on top of label label might not be set when the next _process call comes in, causing it to be null.
		main_ui.pregame_ui.hide()
		main_ui.ingame_ui.show()
		countdown_time = GameManager.currentGameTimer
		._enter()
		label = main_ui.ingame_timer
		OS.set_window_always_on_top(true)

@EIREXE Can you (or anyone else) still reproduce this bug in Godot 3.2.2 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

Closing due to lack of response. Please comment if you can still reproduce this bug.
PS: If no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.


chore: Update CI version and add workflow_dispatch event too

@broofa I suggest that you enable the repo option for branches to be up to date so that you can do it via the web interface and then squash :)
The PR is ready but I was waiting for the other PRs to be merged first.
I should be able to update it tomorrow unless you beat me to it.

enable the repo option for branches to be up to date

@XhmikosR: Can you point me at the instructions for this?  I'm not sure what you're referring to here.


Add attribute header_hash to update client event

The header has been removed from the update client event, but we can add a new attribute with the header hash.

@mattverse I checked with the relayers and at least the hermes relayer is depending at the moment on this attribute to perform misbehaviour detection, but they can change the relayer to fetch the header from the /header RPC endpoint. So we can merge this change, but we will not back port it and release it only in the next major release (v9).
And adding a different attribute with the hash of the header is a good idea, so feel free to go ahead and add that. Thank you!

Originally posted by @crodriguezvega in https://github.com/cosmos/ibc-go/issues/5110#issuecomment-1820489042
cc @mattverse

I will close the issue for now, since calculating the hash of a Tendermint header is not as simple as doing SHA 256 of the bytes. Also because we now support wasm clients and we cannot assume in 02-client that the header is of type Tendermint. It seems like relayers will be able to manage without this attribute, but we can revisit this decision in the future if needed.


强烈怀疑作者是为了玩这个梗才做了这篇工作

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

I am a fan of Kobe. Kobe didn't have the best talent, but he achieved greatness with the Mamba Mentality.

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

I am a fan of Kobe. Kobe didn't have the best talent, but he achieved greatness with the Mamba Mentality.

好的，你也是曼巴门徒

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

I am a fan of Kobe. Kobe didn't have the best talent, but he achieved greatness with the Mamba Mentality.

Man, press F to pay respect. Respect to you.

Man！

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

I am a fan of Kobe. Kobe didn't have the best talent, but he achieved greatness with the Mamba Mentality.

To be honest,  the compatibility level between "Mambaout" and this work is better than the compatibility between "Mamba" and the original work.  The author has real Mamba Mentality. Respect

Respect Bro

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

I am a fan of Kobe. Kobe didn't have the best talent, but he achieved greatness with the Mamba Mentality.

Man, press F to pay respect. Respect to you.

F

Man!

That's not true, haha. I enjoy thinking about the nature of neural architectures. It's just very fitting to name the built model 'MambaOut'.

原来是小黑子

I am a fan of Kobe. Kobe didn't have the best talent, but he achieved greatness with the Mamba Mentality.

Man, press F to pay respect. Respect to you.

F

孩子，你无敌了


New at_template package - Extension to mason package

- What I did

Created a generic app generator with no lib/test/example folders
Can be used to dynamically generate flutter apps.
Will be integrating it into the at_app library.
Also see #62

- How I did it
Local changes.
- How to verify it
Run the example/example.dart file.
- Description for the changelog
Added the at_template package

Please note: lots of file changes because this includes templates for the android and ios folder for a flutter app.


Starting Superset with clickhouse fails

Make sure these boxes are checked before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if any
[X] I have reproduced the issue with at least the latest released version of superset
[X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.18.5
Expected results
Start Superset connected Clickhouse and it should work
Actual results
2017-07-14 00:01:49,644:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 43 (line 3, col 13): NOT NULL,
	name VARCHAR(100) NOT NULL,
	PRIMARY KEY (id),
	UNIQUE (name)
)

Steps to reproduce
Run the Docker Compose setup from here
https://github.com/amancevice/superset/tree/master/examples/postgres
But change the connection string to connect to a Clickhouse DB instance with default username and password.
Connection string we used is
clickhouse://default:@clickhouse-1.clickhouse.dev.svc.dev-cluster:8123/default
It seems like the setup is running create table which is incompatible with Clickhouse

You can query clickhouse you cannot use it as storage for superset itself. Please close.


Improve Docs Readability

Signed-off-by: Ryan Russell<EMAIL_ADDRESS>

Merged. Thanks a lot, @ryanrussell. It may take a bit until we've regenerated it and published it to GH pages. Please bear with us.

@all-contributors please add @ryanrussell for doc


Getting height of Gridster instance

I made gridster responsive for one of my projects (kinda like the way gristack does it). But i have one problem. I have to wipe the height when i go into responsive mode. when i comeback into unresponsive mode my ul has no height anymore. I assume gridster is calculating the height by himself based upon the widgets it contains and then sets it with javascript. i would like to get the javascript height and set it back to the ul manually. any ideas? i tried out the following commands, and sometimes he did reinitialize and sometimes not. i need a more sophisticated method to actually give the ul back its size. dragging one element is also resetting the height of gridster but also not suitable for me.
grid.enable();
grid.enable_resize();
grid.disable();
grid.disable_resize();

Found it: set_dom_grid_height() is the function i was searching. This issue can be closed then.


feat: termination_by structurally

This implements the termination_by structurally syntax proposed in #3909.
I went with termination_by structurally over, say,
termination_by (config := {method := .structural}) mainly because it was
easier to get going (otherwise I’d have to look into how to define recursive
parsers, as Parser.config depends on term and termination_by is part of
term. But also because I find it more ergonomic and aesthetic as a user.
But syntax can still change.
The termination_by? syntax will no no longer force well-founded recursion,
and instead the inferred termination_by structurally annotation will be shown
if structural termination is possible.
Involves a bit of shuffling around TerinationHints (now validated for a
clique already by PreDefinition.main) and TerminationArguments (now lifted
out of the WF namespace, and a bit simplified).

Closes #0000 (RFC or bug issue number fixed by this PR, if any)

More on my preferrence of termination_by structurally over termination_by (config := {method := .structural}):
As a user, these “record terms syntax as part of tactic syntax” feels very clumsy and heavy (not helped by the rather verbose (config :=  and )). This gives me the impression that setting options is meant for advanced users, for corner cases, not for “idiomatic lean”.
I get this impression for example from the fact the simp syntax offers simp only rather than simp (config := {onlyGivenTheorems := true), because simp only is a common, basic use case , while other simp options (memoize, failIfUnchanged) are clearly more advanced, and appear to be more aimed at users wrapping up the simp tactic within other user-facing tactic, or maybe even only intended for use from the MetaM level.
Maybe if the concrete syntax was a bit less heavy (no config :=, no need for := true for boolean flags) I’d come to a different conclusion.


[TASK] Create example event listeners for finality events on different chains

Overview
We should extend event listeners with more examples. Lower level listeners for blocks/etc.
Do not change the API unless you have explicit blueprint services that would benefit from these examples. Moreover, just demonstrate the experience of using the EventListener trait to build new extensions.

[ ] [TASK] Event listener hook into Reth Extensions (https://github.com/paradigmxyz/reth-exex-examples/blob/main/in-memory-state/src/main.rs) and extend with many examples.
[ ] [TASK] Event listener for Ethereum finality events
[ ] [TASK] Event listener for Tangle (Substrate) finalized blocks
[ ] [TASK] Event listener for L2 finalized state / blocks (Arbitrum, Optimism).

@tbraun96 This task might be on the wrong repo, might need to transfer it 👀


fix(provider): keep the command in manifest (#ENG-647)

PR for 0.16.8
have tested this on my provider using image: docker.io/andrey01/akash:0.16.8-eng-647 (digest: fab698b418849).

SDL with command and args;
command is now present in the manifest file;
akash-provider restart did not cause the deployment change (as previously it was removing the command);
hence, no additional replicaset with CrashLoopBackOff pod;

The lease-shell issue (#ENG-538) is still present though and it is easy to trigger by restarting the akash-provider.

@troian  this should go to provider-services, let me know if that PR looks okay so I can open it there

superseded by https://github.com/ovrclk/provider-services/pull/50


How to use multiple handler components for the same jetty-server?

I have two handler-components, a & b, and I like to expose both on the same jetty-server (something similar to how you combine two or more handlers in vanilla compojure using (routes some-handler some-other-handler)). Is this possible?

The reason I want to do this is because I'd like to combine one handler that is protected by basic auth and another handler that is not protected by basic auth in the same jetty-server instance

@johanhaleby It's pretty straightforward. Here's an incomplete, but hopefully sufficient example:
(defn endpoint-1 [_]
  (-> (GET ...)
      (wrap-stuff)
      (routes)))

(defn endpoint-2 [_]
  (-> (GET ...)
      (wrap-other-stuff)
      (routes)))

(defn new-system [config]
  (-> (c/system-map
        ...
        :endpoint-1 (endpoint-component endpoint-1)
        :endpoint-2 (endpoint-component endpoint-2))
      (c/system-using
        {:http [:app]
         :app [:endpoint-1 :endpoint-2]
         :endpoint-1 []
         :endpoint-2 []})))

@kendagriff has it right. You can read more about the handler component on the wiki. The handler component is designed to combine the handlers from multiple endpoints into one.

Thanks a lot, exactly what I need! Sorry I didn't see the wiki, the new github layout confuse me. I'm going to close this.


probe-run: 0.3.0 -> 0.3.1

Motivation for this change
Update probe-run, a tool for running embedded rust binaries.
Changelog: https://github.com/knurling-rs/probe-run/blob/v0.3.1/CHANGELOG.md
I also changed from fetchFromGitHub to fetchCrate because Cargo.lock is out of sync with Cargo.toml for the 0.3.1 release on github, and the build fails.  The Cargo.lock file is up to date for the crates.io release.
Things done

Tested with a STM32WL5x microcontroller.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Thanks! This works for me.


Initial commit for test_client.py:

Add 2 tests (test_get_all_tickers() and test_failed_get_all_tickers())

Hey, I've added a new test file. My plan is to add two test methods (a valid call and a failed one) for each method in client.py


mtm: 1.2.0 -> 1.2.1

Motivation for this change
https://github.com/deadpixi/mtm/releases/tag/1.2.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Upstream diff lgtm https://github.com/deadpixi/mtm/compare/1.2.0...1.2.1


fix: this makes the full table scan issue go away

This fixes the full table scan issue and prevents it from happening when calling readRowStream with a row range as described in buganizer using the emulator.

Please mark incomplete PRs as drafts


drivers: sensors: Fix log module registration

All sensors were using legacy log module registeration method
where LOG_LEVEL was defined before registeration. This method
was error prone as it requires preserving includes order.
Replaced with LOG_MODULE_REGISTER(foo, level).
Misuse in many sensors lead to the situation where default log level was used instead of CONFIG_SENSOR_LOG_LEVEL.
Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

Thanks @nordic-krch. This looks good to me.


tf.contrib.copy_graph.copy_variable_to_graph does not set the shape of copied variable

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Archlinux
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.10
Python version: 3.6
CUDA/cuDNN version: cuda 9.0, cudnn 7.1
GPU model and memory: GeForce GTX 1060

Describe the current behavior
Variables copied using tf.contrib.copy_graph.copy_variable_to_graph have unknown shape. This make this function unusable and useless.
Describe the expected behavior
Variables copied using tf.contrib.copy_graph.copy_variable_to_graph should have the same shape of original variables in order to make possible restoring from a checkpoint.
Code to reproduce the issue
import tensorflow as tf

x = tf.Variable((), name="x")

g = tf.get_default_graph()

g2 = tf.Graph()

with g2.as_default():
    x2 = tf.contrib.copy_graph.copy_variable_to_graph(x, g2)

print(x.get_shape()) # (0,)
print(x2.get_shape()) # <unknown>

Fixing
This issue is simply solved by changing lines:
https://github.com/tensorflow/tensorflow/blob/a6d8ffae097d0132989ae4688d224121ec6d8f35/tensorflow/contrib/copy_graph/python/util/copy_elements.py#L89-L96
to:
  #Initialize the new variable
  with to_graph.as_default():
    new_var = Variable(
        init_value,
        trainable,
        name=new_name,
        collections=collections,
        validate_shape=True)

In my opinion there's no reason to set the field validate_shape to False, since in order to create the new variable we need to evaluate the old variable to get the init_value, so we have the actual shape of variables.

Can you send a pull request?

Yes, I'll send a pull request in the next days.

Hi, Is this issue fixed in any recent releases?

Contrib has been depreciated here in Tensorflow repo and moved to tensorflow/addons , please reopen the issue in https://github.com/tensorflow/addons/issues if this exists in latest version. Thank you


Personal Assistant

🛠 Fixes Issue #697

👨💻 Changes proposed and Brief Description

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

This content copied from codepen https://codepen.io/tacosontitan/pen/LYEYBxe
Kindly Remove Labels
cc: @swapnilsparsh


Configure docker-machine executable

Thanks for a cool package.
An application I develop is sometimes started from an environment where /usr/local/bin has not been added to the path. Since this is where docker-machine executable resides, this plugin doesn't work.
I'd like to see a way to configure where the executable is if it is not in a location specified by PATH.

Set the path of docker-machine is currently not supported. I will create the new function for set path of docker-machine.
Thanks for advice.

Awesome! :+1:

It looks like this is not enough. It appears to really have to be in the PATH since it uses other stuff (such as drivers) from there too:
-> % PATH=/usr/bin:/bin:/usr/sbin:/sbin /usr/local/bin/docker-machine ls
error getting state for host default: Driver "virtualbox" not found. Do you have the plugin binary accessible in your PATH?
error getting URL for host default: Driver "virtualbox" not found. Do you have the plugin binary accessible in your PATH?
NAME      ACTIVE   DRIVER      STATE   URL   SWARM
default   -        not-found   Error

Would it be possible to also add a configuration which can be passed to exec ? Preferrably just pass along the options object to as the second argument to child_process.exec
https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback

Good idea. How about add reserved keyword to existing options object for pass it to exec?
For example:
dm.ls({
  cmd: {
    env: {
      PATH: '/home/abc'
    }
  }
});

I think it would be better suited to the constructor of DockerMachine, any command may or may not require the drivers.
Suggestion:
const dm = new DockerMachine(`docker-machine`, {
  execOptions: {
    env: { PATH: '/home/abc' }
  }
});

I think your solution would be better.

The unit test passed on Windows 10.
I will publish package to NPM if you tested OK.

Yes, now everything works as expected! Great! Thanks for the quick feedback!

Version 0.2.2 already published.


Benchmark cloning, and commit processing on a few largeish repositories

Benchmark repos:

work repo 1 fsp
work repo 2 hlc
work repo 3 meta
linux
git
?? - something with chaotic or non-standard history

Single, simple rule

Repository
Achievements
Commits
Time

git
9
72814
1.19s

linux
3
1265307
51.69s

work - fsp
Cell
Cell

work - hlc
Cell
Cell

work - mta
Cell
Cell

100 simple rules

Repository
Achievements
Commits
Time

git

linux

work - fsp

work - hlc

work - mta


Update TrainRevenue to allow up to 30 Diesel Stops to collect all revenues

The current Diesel Trains are suppose to allow unlimited stops. However the Train Revenue Frame limits this to 15 Stops.

Update to have the Train Revenue Frame when a Diesel to present two rows of Revenue Frames (15 fields in each) to increase the Diesel to 30 Stops. If this needs to be increased further, consider adding a "Add New Row" feature to automatically add a new row. Not likely to happen, but who knows?


PIXI.Graphic changes lineStyle on its own.

The line thickness changes without me changing it.. I find that very odd...
I have made an example:
http://jsfiddle.net/11mysh26/
I also don't understand why I have to set the thickness for every line, wouldn't it be more "canvas like" to safe those parameters?
There are some "debugging" circles added to the example because I am trying to figure out why the lines don't start at the start positions (green circles) but rather at the first update position (red circles).

The lineStyle isnt changing. you're drawing half of the outer line outside of your canvas.
change the first set of coordinates to:
{ x: 5, y: 5, start: true },
{ x: 395, y: 5 },
{ x: 395, y: 395 },
{ x: 5, y:  395 },
{ x: 5, y: 5, end: true },
And you'll see :)

and about the update bit.. you have 2 functions
onStart() which draws nothing..
onUpdate() which draws stuff
so the first time onStart gets called, (not onUpdate)  afterwards  onUpdate gets called
you need to draw something in your onStart()  or call onStart AND on onUpdate when you begin.
I added this to your onStart() and it works like you were expecting:
blueprint.lineStyle(10, 0xffffff);
blueprint.lineTo( this.x, this.y );
So, no pixi errors here :)

wow that first one is a real groaner! Thank you so much for fixing that for me hahaha :)
And thanks for the second one too. I knew that wasnt a pixi error, I was kinda hoping someone more skilled would help me out there tho :D thank you!

No problem :)


Instructions and UI do not align; very common with Security and Compliance centers

The section "How to create an eDiscovery hold" does not align with what is experience in the UI at the address https://compliance.microsoft.com/
This is very common with any of the Security and Compliance or Security or Compliance admin centers. Microsoft 365 team seems to change things in those interfaces so often that no one can keep up. Update suggested.
Thanks as always!

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

ID: 7263ba97-4e79-7144-a9d4-5138fe228fa2
Version Independent ID: 316e242e-7f37-592e-9c8f-e754b23a29ca
Content: Create eDiscovery holds in a Core eDiscovery case - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/create-ediscovery-holds.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@ckssaas Thank you for your feedback. I was able to follow the instructions and the UI is aligned. Could you please verify if you have the matching Licenses and Permissions?
You can check - https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-core-ediscovery?view=o365-worldwide for more information.
Thanks
Sri

Hi Sri,
Since eDiscovery search & export was available in the Security & Compliance center, and since this page doesn't mention licensing requirements, I moved forward with the instructions as if there weren't any licensing requirements. I suggest adding a "requirements" section/link at the top of the page.
This would not have been as confusing if there weren't multiple eDiscovery tools and compliance admin centers named the same things, all performing the same functions but with different licensing requirements. Please close.
Thanks

@ckssaas Thank you for your feedback. The licensing requirements are added to the previous page - (Get started with Core eDiscovery) -  as this page is exclusively created to highlight steps to create an eDiscovery hold.
https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-core-ediscovery?view=o365-worldwide
Hope this helps!
@yogkumgit There are no changes required in the document. Please close the issue.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @ckssaas Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Linked list contribution

This is the access, insert, search and delete operation of the linked list data structure and their time complexities.

Check your code on line 38, remove the ">"

on it

do another pull request


Speedups during inferencing & Performance Improvements

Hey @Rudrabha & @prajwalkr
Kudos on doing such awesome work!
I had some questions regarding general improvments

Do you think if we train on more datasets like - LRW(has pauses in speech), LR2, LR3 can improve accuracy and might also fix issues with regards to pausing?

Any thoughts on improving prediction time - like using something else instead of dlib(maybe use some better and faster face detection? or more etc? Since CPU prediction time is quite slow. Any more ideas on this would be really helpful :)

How much time it took you to train on LRS2 & 4. Nvidia Titan X Pascal?

Do you think if we train on more datasets like - LRW(has pauses in speech), LR2, LR3 can improve accuracy and might also fix issues with regards to pausing?

Hello, we have trained on LRS2, which does have pauses. We have also trained on LRS3 and we observed similar results as the model released in this repo. We are currently working on fixing the issue of pauses. We will post updates on the README of this repo when we release the new model with fixes.

Any thoughts on improving prediction time - like using something else instead of dlib(maybe use some better and faster face detection? or more etc? Since CPU prediction time is quite slow. Any more ideas on this would be really helpful :)

You can look at this repo, part of which has a face detection pipeline that supports batch inference on GPU. It is adapted from this repo.

How much time it took you to train on LRS2 & 4. Nvidia Titan X Pascal?

We estimate it to be around a day to train on the LRS2 train set.

Closing due to inactivity. Please re-open again, if necessary.


feat: Update apps for latest pint-abi changes. Update flake pint input and pint-abi cargo package version.

This updates the Rust apps to take advantage of the new keys() builder and ADDRESS constants introduced in the recent pint-abi changes.

Ah dam apparently rust-analyzer has some lint built in for CamelCase that is being triggered by the pint abi gen. Makes all the files have warnings. Are you not using rust-analyzer @mitchmindtree ? Seems to not be clippy but actually built into rust-analyzer. I can probably disable it on mine but it's going to show up on anyone who uses rust-analyzer.

I wonder if we should just change the names to the correct rust case even if it doesn't match pint?


Fix JSX syntax error

@JedWatson I was wondering why build is broken...

Thanks @nkbt, I missed that!


Add shim for devices with serial connection

There are still devices which are not connected to a network, but can be controlled with a serial connection -- a video projector for example.
I've created a generic accessory shim those devices.
All you need is a serial port or usb-to-serial adapter.
The config values are pretty straight forward.
You set the name, id (a unique string), baud rate, manufacturer, model_name, the two commands for on and off for your device.
Set a Siri-name (e.g. Home Cinema) in your HomeKit app (Eve, Insteon+, ..) and you are good to go.
For example:
{
  "accessory": "GenericRS232Device",
  "name": "Projector",
  "id": "TYDYMU044UVNP",
  "baudrate": 9600,
  "device": "/dev/tty.usbserial",
  "manufacturer": "Acer",
  "model_name": "H6510BD",
  "on_command": "* 0 IR 001\r",
  "off_command": "* 0 IR 002\r"
}

Oh this is great!

Sure thing!

Awesome thanks!


Add version 2 of the font to frontend

Note: Moving these details over from PR 357 on govuk_template.
Now that the new font loading strategy is live in govuk_template and GOV.UK we can now move onto the next iteration of improving frontend performance.
Issue
The first version of the custom font wasn't 100% optimised for the web. This has created four main issues:

the filesize for all versions of the font is larger than it needs to be
we require a separate font for the tabular numbers used in data tables
the glyphs sit too high in the fonts bounding box which leads to the need for correction in the CSS
hinting requirement for oldIE (EOT) increases the filesize even further

Version 2 of the font has been created to solve three of these issues. See below for information around each of the issues listed. I've also proposed a solution to issue 4.
Filesize
The filesize of the current font is bigger than it needs to be. The new font has been optimised to fix this issue. See the table below comparing the unhinted version of the font.

Font
v1
v2
Difference

Bold WOFF2
55KB
32KB
-42%

Bold WOFF
73KB
41KB
-44%

Bold EOT
72KB
57KB
-21%

Light WOFF2
68KB
33KB
-51%

Light WOFF
96KB
43KB
-55%

Light EOT
92KB
57KB
-38%

The new fonts will reduce the download requirement by 58KB for browsers that support WOFF2 and by 85KB for WOFF browsers. For EOT usage see below.
Tabular numbers
Version 1 of the font was missing the details required to enable embedded tabular numbers. Version 2 now allows us to control this tablular number setting using CSS, thus removing the need for two other fonts (tabular-light, tabular-bold). This tabular setting can be enabled using the following example CSS:
.tabular {
    font-feature-settings: "tnum" 1;
}

@supports(font-variant-numeric: tabular-nums) {
    .tabular {
        font-feature-settings: normal;
        font-variant-numeric: tabular-nums;
    }
}

The difference this setting makes can be seen in the screenshot below. Older browser will fallback to font-feature-settings, where as newer browser will see the @supports rule and use font-variant-numeric.

Glyph position
The position of the the glyphs sits slightly too high in version 1 of the font which causes the need to compensate with uneven vertical padding in some areas then building frontend components. This positioning has been rectified in version 2 but it also means this compensation will need to be removed. The positioning change is most noticeable in the following areas:

GOV.UK Logo
Headings
Buttons

An example of each component with before / after can be seen below:
Logo

Headings

Buttons

The positioning also causes problems when rendering between the custom font and the fallback (Arial). There is a significant difference between the positioning so CSS that works for 'nta' will look broken when using Arial. The new positioning change will fix this. Example GIF's below show the difference between the two versions.
Version 1 fallback to Arial

Version 2 fallback to Arial

Hinting requirement and EOT usage
Some older browsers on old operating systems require font hinting to make the font look more legible on these systems. This font hinting can increase the fontsize quite dramatically. The table below shows the size of the hinted version of the font and the effect GZipping will have when used:

Font
Size
GZipped
Difference

Bold WOFF2
104KB
104KB
0%

Bold WOFF
145KB
141KB
-3%

Bold EOT
296KB
118KB
-60%

Light WOFF2
119KB
119KB
0%

Light WOFF
190KB
182KB
-4%

Light EOT
445KB
163KB
-63%

I investigated which operating systems and browser required font hinting and compared them against analytics data from GOV.UK. The full spreadsheet can be seen here. From the data I can see that there are only a small number of users that require font hinting, it works out to be around 0.72% of monthly users across GOV.UK.
Of those browsers that require hinting even fewer only support EOT format font files. Many hinted browsers also support the WOFF file format. As can be seen by the file sizes in the table above for us to deliver a hinted EOT version to these older browsers would be around 281KB (gzipped) for both font files (bold + light). This is a huge download for browsers and devices that are the least equipped to deal with it.
The solution I am proposing is that we don't serve an EOT version of the version 2 font. Most browsers will receive the WOFF / WOFF2 versions of the font. The lowest spec browsers and devices will simply get the fallback font (Arial). There are two main advantages to this solution:

These older devices won't have the huge 281KB of font files to download
In using the fallback font Arial they will be using a fully hinted system font so the text will render smoothly

The disadvantage is that 0.72% of GOV.UK traffic per month won't receive the custom font. This is a small disadvantage compared to the performance overhead required to supply the custom font to these browsers.
Multiple font versions
We are now including version 1 and version 2 of the font in the same fonts.css.erb file.  These two sets of @font-face references can co-exist without adding additional font requests.
When it comes to usage in a live application you should only choose one version of the font, either version 1 or version 2. Referencing both versions in your CSS font stack will trigger multiple font requests and add additional page load for your users.
Font-display: swap
After some research I have changed the font-display CSS property from fallback to swap. To quote from Addy Osmani:

...self-hosted Web Fonts have a zero second block period and an infinite swap period. Browsers would draw text immediately with a fallback used if the font face isn't loaded, but swap as soon as it does load.

More discussion about this change can be seen here, here and here.
Implications
This is a simple PR but it has many implications for other repo's that depend on govuk_template. The following repositories have been identified and will require modifications to make use of this font:

govuk_frontend_toolkit
govuk_elements

This work will need to be done concurrently before this PR can be merged.

Closing this issue as the new fonts will be part of v3


Code Editor doesn't follow theme on refresh

Describe the bug
Upon refresh or when I open the code editor from the My Games page, the editor page changes to dark theme but the code editor doesn't. I can only get the code editor to switch to dark theme when I click the "Dark" button at the top of the editor page.
To Reproduce
Steps to reproduce the behavior:

Go to 'My Games' page
Click on a game
Switch to dark theme
Refresh
Notice code editor is light theme

Expected behavior
I expected the code editor to always be dark theme when I have dark theme set.
Actual behavior
The code editor switches to light theme on refresh.
Screenshots

@JosiasAurel please investigate.


(Suggestion) Add Turbo Mode

Turbowarp works well with raytracers, raymarchers, etc. But then I wanted to try one on leopard, and to my surprise, it was pretty slow, probably because the fps was locked to 60, could a turbo mode be added that unlocks the fps?

That's an interesting idea. First I would have to figure out what Scratch is doing differently that Leopard isn't. (I don't know why setting the frameRate to some massive number in a Leopard project doesn't make it run as fast as turbo mode on Scratch,)

if the framerate controls a timer, why not remove the timer entirely and let the code run as fast as it wants to?

Turbo mode basically works by skipping screen refreshes and running as much code as possible until hitting the interval of 1/30th of a second (or whatever the specified frame rate is; at which point the current state of the project is rendered). It has some other additional quirks, so an in-depth investigation is required to make sure we implement this correctly if it's a desired feature.


Shows invalid checkpoint error

Hello. I was trying to running the code as per instructed but got this error while running the code. Is there anything I am missing to add during the run? Please look into the errors.
main.py: error: invalid checkpoint: results/resnet50_w8a8/resnet.absorb_bn.measure_perC
error: argument -e/--evaluate: expected one argument

same problem!
Do you solve this?

Same problem here, also confused about how to solve this.


Added the Vuecidity component library

Updated README.md by adding the Vuecidity component library for Vue.js

Hey there,
I see, I will add the repo soon.
Thanks,
Martin
On 25 March 2018 at 08:31, kazuya kawaguchi<EMAIL_ADDRESS>wrote:

@kazupon requested changes on this pull request.
Thank you for your PR!
However, I could not find GItHub repo. 😞
The link provided should be the link of the github repository, not the
demo.
https://github.com/vuejs/awesome-vue/blob/master/CONTRIBUTING.md
CONTRIBUTING.md have a rule in the above.
Could you fix the it please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/awesome-vue/pull/1982#pullrequestreview-106720263,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZhjpTIwd1Pg-wdFVIhp8pcCpVnpbBKsks5thzm5gaJpZM4S53TB
.

--
This email and the information it contains is confidential and may be
legally privileged and intended solely for the use of the individual or
entity to whom it is addressed. If you have received this email in error
please notify me immediately. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company. You should not copy it for any
purpose, or disclose its contents to any other person. Internet
communications are not secure and, therefore, Catena Operations Ltd does
not accept legal responsibility for the contents of this message as it has
been transmitted over a public network. If you suspect the message may have
been intercepted or amended please notify me. Finally, the recipient should
check this email and any attachments for the presence of viruses. Catena
Operations Ltd accepts no liability for any damage caused by any virus
transmitted by this email. Thank you.


Follow the XDG Base Directory Specification

Currently, triton uses ~/.triton as a temporary directory for cache files by default. Putting stuff directly in the user's home directory is considered bad practice and is not compliant with the XDG Base Directory Specification. It's possible to change this location by setting the TRITON_CACHE_DIR environment variable, however

it appears that TRITON_CACHE_DIR only affects the location of ~/.triton/cache, not ~/.triton/dump and ~/.triton/override and there is no way to configure the other two locations

expecting the user to manually configure each program/library to use the correct locations for config/data/cache/runtime directories isn't very nice

Ideally, triton should support the XDG Base Directory Specification. In practice, this means doing something like
def default_cache_dir():
    default_xdg_cache = os.path.join(Path.home(), ".cache")
    xdg_cache = os.getenv("XDG_CACHE_HOME", default_xdg_cache)
    return os.path.join(xdg_cache, "triton")

I got bit by this when building triton in a virtual environment, which kept failing with out of disk space errors in ~/.triton.
I found TRITON_HOME in the source code for get_home_dir() which I used to work around this. I don't believe this is documented.
I would second the use of XDG_CACHE_HOME.
Can supply patches + doc fixes if that's the way to go.

I added the TRITON_HOME variable a few weeks ago.
Feel free to add it to the Tips for building section in README


Is it possible to provide record with images?

I am curious is it possible to provide a record that with camera images (compressed maybe) and maybe point cloud? Thank you.

Please check dataset in  http://data.apollo.auto/help?locale=en-us&lang=en, which contains multiple bags.

@techoe Thank you!


In superGAN for contest, training loss LG = Lpercep + λLRa G + ηL1,What is the value of λ and η?

The values for ESRGAN appear to be in the training options file at https://github.com/xinntao/BasicSR/blob/master/codes/options/train/train_ESRGAN.yml (see near the bottom of the file)

The values for ESRGAN appear to be in the training options file at https://github.com/xinntao/BasicSR/blob/master/codes/options/train/train_ESRGAN.yml (see near the bottom of the file)
I have tried that. but it is not best for PI .  Did you use these  loss functions weight in your contest in PIRM?
Thanks for your reply!


New function for assigning aliases to the nodes

First part is based on user's input.
Aliases are needed for referencing the nodes in scenation files.
In next steps, we'll like to have some logic to assign aliases automatically.

Still WIP, but marked by a label now.

Won't that somehow conflict with the code setting the dashboard alias for the horizon node?

Do we need that dashboard alias? Maybe it could be removed.
dasboard alias is set at the end of proposal step, so currently it means, that some node will get its alias change again. This should not affect the batch step, which is not supposed to be used together with proposal

In the HA case, the dashboard alias is somewhat broken, since it just points to the first node in the cluster running Horizon.  Also the dashboard.[cgh]X.cloud.suse.de A record is not guaranteed to point to the same node which has the dashboard alias.  So I think we can probably drop it.  Here's some context:
2015-08-10 11:56:04     aspiers dirk_: any reason why I shouldn't drop the qa_crowbarsetup.sh code which aliases one node to 'dashboard'? it doesn't really make any sense
2015-08-10 11:56:19     aspiers that alias makes it look like it's a dedicated dashboard node
2015-08-10 11:56:42     aspiers when in reality it could be running everything, or might not be the only dashboard node
2015-08-10 11:57:16     dirk_   aspiers: its the one node available via dashboard.[cgh]X.cloud.suse.de
2015-08-10 11:57:27     dirk_   its not the "dashboard" node.
2015-08-10 11:57:36     dirk_   I agree that with HA it would ideally be the cluster vip
2015-08-10 11:58:41     aspiers are we talking about the same thing?
2015-08-10 11:59:37     aspiers how can external DNS point to the right IP when it's dynamically allocated?
2015-08-10 12:01:20     dirk_   magic
2015-08-10 12:01:23     dirk_   :-)
2015-08-10 12:01:42     Magic   At your service!
2015-08-10 12:01:46     aspiers lol
2015-08-10 12:01:56     aspiers Magic: please explain how you work :)
2015-08-10 12:02:07     Magic   By magic
2015-08-10 12:02:18     aspiers bah, you're as helpful as dirk_
2015-08-10 12:02:26     Magic   lol
2015-08-10 12:02:27     aspiers :)
2015-08-10 12:03:05     aspiers dirk_: explain the magic or it doesn't exist ;-p
2015-08-10 12:03:38     dirk_   aspiers: there is nat'ing in between, that is being resolved to the ndoe that has the dashboard name
2015-08-10 12:05:29     dirk_   aspiers: I agree that it doesn't make a lot of sense to preserve that right now with HA in mind, but it also doesn't hurt to keep it for now, and that way we could focus on the other open things..
2015-08-10 12:05:53     dirk_   its really from the times when there was only one controller node..
2015-08-10 12:07:27     aspiers ok
2015-08-10 12:08:27     aspiers I still have no idea how NAT can work on a dynamically allocated IP though, without querying crowbar
2015-08-10 12:08:45     aspiers or crowbar's DNS
2015-08-10 12:09:09     aspiers last time I checked, NAT was an L3 function
2015-08-10 12:11:49     aspiers dirk_: also btw hX.cloud.suse.de is completely missing from DNS anyway
2015-08-10 12:12:15     dirk_   aspiers: the Ip address is predictable
2015-08-10 12:12:35     dirk_   aspiers: yes, thats a known bug. now that jdsn is back, perhaps he could fix it ;-)
2015-08-10 12:14:04     jdsn    dirk_: yes I can
2015-08-10 12:14:48     jdsn    dirk_: I still need to see what has been changed during the last weeks .... then I hopefully find the new ranges
2015-08-10 12:14:52     aspiers dirk_: only predictable in the non-HA case when one of the allocated [cgh]X.cloud.suse.de networks is used. but I'll leave it for now anyway
2015-08-10 12:16:15     aspiers dirk_: no, this still doesn't make any sense. if the NAT hack is just relying on a predictable IP, then the dashboard alias in crowbar is totally redundant
2015-08-10 12:18:08     aspiers dirk_: redundant from that PoV at least. I can sort of see how it could be convenient for manual testing
2015-08-10 12:19:11     aspiers so AFAICS your statement "there is nat'ing in between, that is being resolved to the node that has the dashboard name" cannot be right
2015-08-10 12:21:47     dirk_   aspiers: ok. lets reword it to "the node which gets the dashboard alias is the one that gets the dashboard.cX nating assigned"
2015-08-10 12:21:59     dirk_   aspiers: as such it is convenient for a non-HA setup
2015-08-10 12:22:18     dirk_   aspiers: and 99.99999999999999% of all successful mkcloud runs are non-HA ;-)
2015-08-10 12:31:42     aspiers dirk_: actually 100% :-/
2015-08-10 12:33:12     aspiers dirk_: but that is still not an argument to keep the alias in crowbar, since the alias is irrelevant for that forwarding
2015-08-10 12:38:37     aspiers dirk_: anyway, I'll leave it there for now but it's good to understand why it's there and it sounds like nothing actually needs it ...

This was tested with explicit setting of want_node_aliases, and also without it (both HA and non-HA case)

There are many additions in the first commits that are removed or changed in the later commits. I recommend to squash changes at the same location if possible (but still maintain the one logical change per commit rule).

Here are two squash candidates: https://github.com/jsuchome/automation/commit/3c0c62204f3f7607590b7eed4ec5613bc3aa668a

Still 2 hunks in here
https://github.com/jsuchome/automation/commit/821c4da14cd8d5469ae070f7a3fd5f598578e21d
that should be squashed to the first commit.

This is how it looks like right after the split:
https://github.com/jdsn/SUSE-Cloud--automation/commits/jdsn/pr/566
And this is the expected outcome (after merging the new commit to the first one):
https://github.com/jdsn/SUSE-Cloud--automation/commits/jdsn/pr/566-squashed

@jdsn thanks for help

:+1:

+1

+1


Factory reset

How do I factory reset the unit ?
I gave the wrong password during setup and now I am told to factory reset.
I (84610) wifi:state: init -> auth (b0)
I (84610) wifi:state: auth -> assoc (0)
I (84620) wifi:state: assoc -> run (10)
I (87640) wifi:state: run -> init (2a0)
I (87640) wifi:new:<7,0>, old:<7,2>, ap:<255,255>, sta:<7,2>, prof:1
I (87640) wifi:new:<7,0>, old:<7,0>, ap:<255,255>, sta:<7,2>, prof:1
␛[0;32mI (87640) app_wifi: Disconnected. Connecting to the AP again...␛[0m
␛[0;32mI (89700) app_wifi: Disconnected. Connecting to the AP again...␛[0m
I (89820) wifi:new:<7,2>, old:<7,0>, ap:<255,255>, sta:<7,2>, prof:1
I (89830) wifi:state: init -> auth (b0)
I (90830) wifi:state: auth -> init (200)
I (90830) wifi:new:<7,0>, old:<7,2>, ap:<255,255>, sta:<7,2>, prof:1
␛[0;32mI (90830) app_wifi: Disconnected. Connecting to the AP again...␛[0m
␛[0;32mI (92890) app_wifi: Disconnected. Connecting to the AP again...␛[0m
I (93010) wifi:new:<7,2>, old:<7,0>, ap:<255,255>, sta:<7,2>, prof:1

So here's the dilemma... the more steps and instructions I include, the more that humans tend to skim and skip. If you look at the section you were in about setting the Wi-Fi credentials, there is a "Info" block at the bottom that gives the solution to your very problem: https://edukit.workshop.aws/en/getting-started/run-rainmaker.html#claiming-and-provisioning-the-device


Segmentation fault with caps lock active (default example bar)

Describe the issue
The example bar initialises normally when I launch it. However, there is a segmentation fault if either:

CAPS lock is ON before launching
CAPS lock is turned ON after launching polybar

After disabling the num lock black list, the same behaviour is noticed for that key status as well.
Expected behavior:
It should not crash.
Was it working before?
Did not try an older version. Installed using the AUR.
To Reproduce
Use the example bar config. Set numlock/capslock as active, and try launching the bar.
Polybar Log
➜ polybar example
warn: No monitor specified, using "DP-4"
error: Disabling module "bspwm" (reason: Could not find socket: /tmp/bspwm_0_0-socket)
error: module/xbacklight: Could not get data (err: XCB_NAME (15))
error: Disabling module "xbacklight" (reason: Not supported for "DP-4")
warn: pulseaudio: using default sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra2
error: Disabling module "wlan" (reason: Invalid network interface "net1")
error: Disabling module "battery" (reason: No suitable way to get current charge state)
error: Disabling module "temperature" (reason: The file '/sys/class/thermal/thermal_zone0/temp' does not exist)
[1]    5360 segmentation fault (core dumped)  polybar example

Environment:

WM: i3 gaps
Output of polybar -vvv:

➜ polybar -vvv
polybar 3.3.0-35-gdb9a83a8

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) -render -damage -sync +composite +xkb +xrm +xcursor

Build type: RelWithDebInfo
Compiler: /bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Duplicate of #1660

Fixed in #1661


Python Client side record validation using pydantic.validators

Is your feature request related to a problem? Please describe.
Errors only get detected after having tried to log the data.
Describe the solution you'd like
Detect errors from the python client when creating the record, instead of doing so only after trying to log.
Describe alternatives you've considered
N.A.
Additional context
https://docs.pydantic.dev/usage/validators/

class BaseModel(PydanticBaseModel):
    def check(self):
        *_, validation_error = validate_model(self.__class__, self.__dict__)
        if validation_error:
            raise validation_error

https://github.com/pydantic/pydantic/issues/1864

rec = rec.__class__(**rec.dict())

https://github.com/argilla-io/argilla/blob/7adfb6a701020db3b3de8b751bda1fa4680d2817/src/argilla/client/models.py#L141
Here you can find some @validators

import argilla as rg

record = rg.TextClassificationRecord(
    text="Hello world, this is me!",
    prediction=[("LABEL1", 0.8), ("LABEL2", 0.2)],
    annotation="LABEL1",
    multi_label=False,
)
rg.log(record, "test_item_assignment")
record.prediction = "rubish"
try:
    rg.log(record, "test_item_assignment")
except Exception:
    print("Failed as expected")


retored deleted shop  by changing their status from "temporary" to "active"

restore the deleted shop by changing the status from temporary to active

restored deleted shop by changing their status
Description
This endpoint allows super admin 1 to restore the deleted shop account by changing their status from temporary to active
a shop status can be deleted and this endpoint is to undo that
#HTTP Method : PATCH
Parameters:
shop_id(string): unique iodentifier of the shop!--- Describe your changes in detail -->
Related Issue (Link to linear ticket)
https://linear.app/zuri-project-backend/issue/SUP-19/develop-api-endpoints-to-restore-deleted-vendor-accounts
Motivation and Context

How Has This Been Tested?
testing on going with postman
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[ ] New feature (non-breaking change which adds functionality)
Checklist:
Go over all the following points, and put an x in all the boxes that apply.
If you're unsure about any of these, don't hesitate to ask. We're here to help!

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


Grouping rules: line shifts

Explains grouping behavior when the line an error occurs on shifts.

Thanks for the review 👍.


pypi doesn't have the latest version 0.3.1

🐛 Bug

I'm trying to use the Lightning "BoringModel" Notebook to report an issue. However, it failed due to cannot import name 'PY3' from 'torch._six'. This issue is fixed in https://github.com/PyTorchLightning/lightning-bolts/pull/579 and released in 0.3.1. However, pypi only has 0.3.0
To Reproduce
Steps to reproduce the behavior:
Run: https://colab.research.google.com/drive/1LS4inSzLWWoBnS-v2pHe3Aq0XFp-IjEy?usp=sharing
See error: cannot import name 'PY3' from 'torch._six'
Expected behavior

pip install should get the latest version 0.3.1 installed. Or the official notebook should install bolts from source if you don't plan to update pypi

@hudeven pls use lightning-bolts==0.3.2rc1

@Borda it works, thanks! Is "pytorch-lightning-bolts" going to be deprecated? If so, could you update the "BoringModel" Notebook with "lightning-bolts"?

If so, could you update the "BoringModel" Notebook with "lightning-bolts"?

great point, would you send a PR with this fix? :]


Refactored event checkKey to use pre-compiled regex pattern. refactored RandomStringSource

Signed-off-by: Taylor Gray<EMAIL_ADDRESS>Description

The checkKey function of JacksonEvent no longer compiles the regex pattern containing valid key characters. This compilation is now done one time at first instantiation of JacksonEvent.
Test for RandomStringSource failed after the Event change, because the test was timing out before it could add a string to the buffer (because it makes an Event, and since it was the first Event the regex pattern was compiled, which is slow. Refactored RandomStringSource to not use ExecutorService, as it was only using it to make testing easier.

Issues Resolved
Check List

[x] New functionality includes testing.
[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #706 (925861a) into main (6d597af) will increase coverage by 0.16%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##               main     #706      +/-   ##
============================================
+ Coverage     91.54%   91.71%   +0.16%
+ Complexity      603      601       -2
============================================
  Files            75       75
  Lines          1834     1822      -12
  Branches        152      151       -1
============================================
- Hits           1679     1671       -8
+ Misses          117      115       -2
+ Partials         38       36       -2

Impacted Files
Coverage Δ

...dataprepper/plugins/source/RandomStringSource.java
81.81% <66.66%> (+5.34%)
:arrow_up:

...m/amazon/dataprepper/model/event/JacksonEvent.java
99.09% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d597af...925861a. Read the comment docs.


Shared sources are not resolved correctly depending on their precedence

Description

Currently shared source can be filtered out in certain cases:

n (n>1) Sources contain a interface with the same name under the same package
those sources are not dependent on each other
those sources have a different precedence

Done with release 0.2.0-rc01


Issue 401 by Ubuntu Server

I have already tried with an Amazon AWS EC2 server and also with an IONOS dedicated root server no matter what I do I get the error code 401 but if I also install VirtualBox Ubuntu Server it works therefore the question what is the reason or which server or provider I can use best?

Closing these as duplicate of #2011 – no need to track the 401 problem in several different issue threads.


Netlify: select a new build image

Notice from Netlify

After November 15, 2022, builds for this site will fail unless you update the build image.

test deploy: https://app.netlify.com/sites/trickstercache/deploys/637d137e28b4a90a4126dcf6
I've updated the image, but we should make sure that folks from the trickestercache project also have access in case changes need to be made in future :)


Add a project-specific "compress_video" option

While standardising the format of the movies we should offer a project-specific option to compress the videos or not.
The "standarise_movie_format" function within the "movies.utils" uses a hard-coded option to compress the videos if it's not the Spyfish Aotearoa project.
Ideally, the "projects_list.csv" should have a column with the "compress_video" set to True or False

Kind of related to this, we should research the current ffmpeg compression options as the quality of the clips at the moment is quite low for some videos (specially on busy videos with lots of things moving)


failed to create instance: IncompatibleDriver on MacOs

Version of vulkano: 0.30.0
OS: MacOS Monterey 12.4
GPU (the selected PhysicalDevice): Intel UHD Graphics 630 1536 Mo
GPU Driver: from vulkansdk-macos-<IP_ADDRESS>.dmg with "global install" checkbox selected

use vulkano::instance::{Instance, InstanceCreateInfo};

fn main() {
    println!("Hello, vulkan!");
    let info = InstanceCreateInfo::default();
    let instance = Instance::new(info).expect("failed to create instance");
}

Issue
When run the program panic with message : failed to create instance: IncompatibleDriver
I have no idea how to further investigate the problem.
vulkaninfo tools work correctly
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.216

Instance Extensions: count = 13
===============================
	VK_EXT_debug_report                    : extension revision 10
	VK_EXT_debug_utils                     : extension revision 2
	VK_EXT_metal_surface                   : extension revision 1
	VK_EXT_swapchain_colorspace            : extension revision 4
	VK_KHR_device_group_creation           : extension revision 1
	VK_KHR_external_fence_capabilities     : extension revision 1
	VK_KHR_external_memory_capabilities    : extension revision 1
	VK_KHR_external_semaphore_capabilities : extension revision 1
	VK_KHR_get_physical_device_properties2 : extension revision 2
	VK_KHR_get_surface_capabilities2       : extension revision 1
	VK_KHR_portability_enumeration         : extension revision 1
	VK_KHR_surface                         : extension revision 25
	VK_MVK_macos_surface                   : extension revision 3
...

In your InstanceCreateInfo you need to enable enumerate_portability, as shown in the triangle example.

I was in the process of grabbing the relevant lines from the triangle example when Rua posted, so here's what that looks like for the next person reading this:
// Now creating the instance.
    let instance = Instance::new(InstanceCreateInfo {
        enabled_extensions: required_extensions,
        // Enable enumerating devices that use non-conformant vulkan implementations. (ex. MoltenVK)
        enumerate_portability: true,
        ..Default::default()
    })
    .unwrap();

Thanks a lot for the quick response. May be a note on the page https://vulkano.rs/guide/initialization could help others.

Vulkano 0.30 released only two days ago, and the website hasn't been updated yet for the new version. In the introduction to the guide, version 0.29 is still used.


Bashar/functions

Implementation of Sphere, Rosenbrock, and Rastrigin functions along with their respective tests.
Note** includes some edits to the makefile, poetry.lock, and pyproject.toml that were required to get things running on my end. I included this just to show how these prereqs may need to be installed differently across different devices. You may not want to commit these changes to main.

All looks good.


fix(text-input): update text input colors

Closes https://github.com/IBM/carbon-components/issues/1231
Preview Link: http://carbon-dev-environment-tippiest-dialer.mybluemix.net/?nav=text-input
Updates Text Input based on new designs to closer align with Select/Dropdown and other form elements.
Changelog
New

$hover-field, to be used for all hover interactions on form elements.
$disabled-bg, to go along with the $disabled variable.
Transitions

Changed

Colors in different states

Removed

Extraneous code

Testing / Reviewing
Ensure the components match the new specs

Looks good, couple changes:

disabled state wouldn't have the line:

and the Field titles for all of the active states are the Gray 70 (565656) not the Gray 100.


In the bootloader, deinitialise all activated peripherals before jumping to main app

Following on from this mailing list thread, any peripherals turned on in the bootloader remain on after the main app has started executed, causing unexpectedly high power consumption. I think it would be a good idea for the bootloader to de-initialise any initialised peripherals before jumping the main app. This would allow the main app to start from a blank slate and removes the need to add any de-initialisation code to it (which would require knowing what the bootloader has initialised).

Since we deleted bootloader from core and moved to mcuboot I think this can be closed (and tracked in mcuboot instead if relevant)


[SPARK-45345][BUILD] Clean Scala version change leftovers in  release-build.sh

What changes were proposed in this pull request?
This PR proposes to clean Scala version change leftovers in  release-build.shean
Why are the changes needed?
For the proper releases.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
Manually tested the changes.
Was this patch authored or co-authored using generative AI tooling?
No,

cc @LuciferYang @dongjoon-hyun

https://github.com/apache/spark/blob/cc4ecb5104e37d5e530d44b41fc1d8f8116e37d8/dev/create-release/release-build.sh#L332-L350
Doesn't the logic above need to be fixed?

https://github.com/apache/spark/blob/cc4ecb5104e37d5e530d44b41fc1d8f8116e37d8/dev/create-release/release-build.sh#L199-L203
This logic is unrelated to Scala, but it seems necessary to add a Java version check for 4.0+, as it will be released by Java 17. Maybe in a separate pr?

Manually tested.
Merged to master.


${file} and ${fileDirname} don't work for me

${fileBasename} works fine
If my config is this
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\.ts$",
"cmd": "echo 'I am ${fileBasename}.'"
}
]
}
It echos in the footer of VS Code
***cmd start: echo 'I am filename.ts'
but if I change the cmd line to
"cmd": "echo 'I am ${file}.'"
Nothing happens on save.
I'm using VS Code 1.3 on Windows 7 64 bit

@kev23777 Can you verify what version of the RunOnSave extension is installed?

v0.0.14 is what installed from the extension manager in VS Code 1.3

Just noticed that this has been fixed. Thank you very much!


Blobs can't travel independently

As of today, has the ability for multiple blobs to travel independently by the bot been patched or is it a problem with the bot?

It looks like individual cell control was removed.

:(

Why was it removed?

I assume it was only an experimental feature in the first place? At least I'm glad that the new protocol is backward compatible because it would take a little while to remove the individual cell control from the bot.

Did you not implement the functionality yourself?

Cell movement is validated server side, not client side. It's no longer possible to send each cell in it's own separate direction.

 Now I can't jack as much score...

still works (mostly) on Ogar servers though...


added close checks to async client exit

Codecov Report

Merging #17 (af1fe48) into master (fee5029) will decrease coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   98.18%   98.04%   -0.15%
==========================================
  Files          13       13
  Lines         717      716       -1
==========================================
- Hits          704      702       -2
- Misses         13       14       +1

Flag
Coverage Δ

unittests
98.04% <100.00%> (-0.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

heksher/clients/async_client.py
98.34% <100.00%> (-0.77%)
:arrow_down:

heksher/heksher_client.py
90.90% <0.00%> (-0.76%)
:arrow_down:

heksher/clients/subclasses.py
96.61% <0.00%> (-0.12%)
:arrow_down:

heksher/setting_type.py
96.59% <0.00%> (-0.08%)
:arrow_down:

heksher/clients/util.py
98.46% <0.00%> (-0.03%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fee5029...af1fe48. Read the comment docs.


MT Baseline Score

Can someone provide the baseline bleu score obtained when you ran mBART

bleu on the valid set should be 11.71


[Input, Textfield, Checkbox, Switch] Use palette.primary colors for focus states

Close #6532

didn't realize there were tests for this 😨 , I'll fix those

Posted in gitter about this but in retrospect it probably makes more sense to keep everything in this thread.
So the tests that are failing are the visual regression tests, which makes sense, because this changes the way elements look. Not sure what to do about that.
What's the best way to proceed here?

@peteratticusberg https://github.com/callemall/material-ui/tree/next/test#browser-api-level

Ah, should've been able to figure that out. Thanks for the tip. Updated the baseline here.

@peteratticusberg Thanks!


Hogs and zombies on overview page do not reflect data

Looking at the dashboard right now, there are no hogs for any host but the data in the cpuhog database say that there are recent hogs on ml1, ml4 and ml8.  Since the report should only filter those data, there's probably something wrong with the filter.

... or maybe I'm confused about what the columns mean and I should define that more carefully.  The filter uses FirstViolation, ie, it wants new hogs or zombies for these columns, not existing hogs or zombies (LastSeen within the last 24h).  This seems like important information to expose.
There is an additional confusion in that the "First seen" field in the tables is not the FirstViolation field but the StartedOnOrBefore field.


Upgrade to latest python-twitter

The data in zerver/lib/bugdown/testing_mocks.py is now inaccurate, because it uses the AsDict format of the old python-twitter. However, we don't use all fields so it doesn't matter much. I think urls is the only field which we use whose format has changed. I have updated that field, which was necessary and sufficient for tests to pass.
Should we update the fields in the test data to the new format? Should we let them stay as they are? Or should we remove the fields we don't use so that we don't have to change our test data in the future if those fields change?

Automated message from Dropbox CLA bot
@sharmaeklavya2, it looks like you've already signed the Dropbox CLA. Thanks!

It's probably best to update the test data to match the new version completely, if it isn't much work.  Format changes like this are fairly rare.

The test data was somewhat incorrect even before my PR. I tried to fix it. I can't say for sure that now it's correct, but it's much better than before and almost completely matches the output from python-twitter's AsDict.

The twitter backend tests had some very long lines and it was difficult for me to debug a few test failures. So I fixed the line lengths by splitting the strings. The tests look much cleaner now. They don't strictly follow Zulip's style guidelines, but I think they look better this way.

Cool, thanks for cleaning up the test strings!  They're definitely more readable now.  Merged.


Improve pluggability and testability across pion modules though Interfaces

Summary
This is a pion/webrtc v4 item.  We'd like to use interfaces between pion modules as much as possible to provide users with true pluggability. To achieve this, we'd also need to introduce customizable factories.
Motivation
Pion WebRTC is comprised of many modules (a poly-repo solution) with pluggability in mind. This has allowed us to manage each WebRTC sub-components with independent versions. It is, however, not flexible enough to achieve intended pluggability because a module depends on another via direct struct pointers rather than via interfaces.
By converting struct pointer to an interface, we can achieve the following:

Testing a module much easier by mocking the dependencies
It allows us to dynamically swap multiple versions of a module on the fly (e.g. A/B testing in benching marking and/or in production environment)
It allows us to use custom implementation of a module along with stock pion modules.

Proposal: New Interfaces and CustomFactories
classDiagram
    `webrtc.API` --> `webrtc.CustomFactories` : newXxx()
    `webrtc.API` --> `webrtc.CustomFactories` : Replace factory
    `webrtc.CustomFactories` --> `ice.Agent` : &lt&ltcreate&gt&gt
    `ice.Agent` --> `ice.Conn` : &lt&ltcreate&gt&gt
    `webrtc.CustomFactories` --> `dtls.StreamRTP` : &lt&ltcreate&gt&gt
    `dtls.StreamRTP` --> `dtls.ReadStreamRTP` : &lt&ltcreate&gt&gt
    `dtls.StreamRTP` --> `dtls.WriteStreamRTP` : &lt&ltcreate&gt&gt
    `dtls.StreamRTCP` --> `dtls.ReadStreamRTCP` : &lt&ltcreate&gt&gt
    `dtls.StreamRTCP` --> `dtls.WriteStreamRTCP` : &lt&ltcreate&gt&gt
    `webrtc.CustomFactories` --> `dtls.StreamRTCP` : &lt&ltcreate&gt&gt
    `webrtc.CustomFactories` --> `sctp.Association` : &lt&ltcreate&gt&gt
    `sctp.Association` --> `sctp.Stream` : &lt&ltcreate&gt&gt
    `webrtc.CustomFactories` --> `datachannel.DataChannel` : &lt&ltcreate&gt&gt
    <<interface>>`ice.Agent`
    <<interface>>`ice.Conn`
    <<interface>>`dtls.StreamRTP`
    <<interface>>`dtls.ReadStreamRTP`
    <<interface>>`dtls.WriteStreamRTP`
    <<interface>>`dtls.StreamRTCP`
    <<interface>>`dtls.ReadStreamRTCP`
    <<interface>>`dtls.WriteStreamRTCP`
    <<interface>>`sctp.Association`
    <<interface>>`sctp.Stream`
    <<interface>>`datachannel.DataChannel`

Plan (high level)

Use this issue as an umbrella for individual issues/pull-requests related to this work. Detailed plan will follow.
Create a quick migration guide (e.g. *sctp.Assocation => sctp.Association)

These are current candidates for converting to an interface:
https://docs.google.com/spreadsheets/d/1uXNQQ0Qn3NfBXBgsXFSVgXmCpsYwtZrdQOGCQoAl-bA
I have once locally tested based on this earlier.
Please feel free to leave any comments.


[ENH] Conform to PEP8 and clarify its use

Goal
Clarify the use of PEP8 in the project, and conform to this guide.
Why this is useful
Following PEP8 recommendations allows better readability of the code.
Timeline
No response
More specifically

tools : stick to one tool (currently pylint) for linting inside the project
conformity : most of the errors raised by PEP8 checks on the project are due to non refactored pipelines (this is quite understandable as these files are the largest in the project, hence more prone to errors) : these files have to be refactored before working on the following item.
continuous integration : for now the code_quality Actions workflow is too permissive, it does not actually set a condition for which the code quality is low enough to trigger a workflow failure. This can
contributions : complete the contribution guide by writing guidelines to indicate which code linter to use, how to use it, and which rules to stick to inside the project, when PEP8 does not define any (naming, use of " or ', docstrings, indentation).
automatic linting : define rules on how to use automatic linting programs (such as black) to avoid useless large amount of changes inside files.

Open questions
No response

Some information about ignoring files from the pylint command line :
https://pylint.readthedocs.io/en/stable/user_guide/configuration/all-options.html#disable
https://pylint.readthedocs.io/en/stable/user_guide/configuration/all-options.html#ignore
Some information about ignoring files from the file content
https://stackoverflow.com/questions/10238473/disable-all-pylint-warnings-for-a-file


String updates

Fix String#force_encoding to pass specs
Fix String#initialize to pass specs
Add String methods #casecmp, #casecmp? and specs.  Worth noting that these may not be the most efficient implementations for non-worst case scenarios.
Add String methods #capitalize and #capitalize! and specs.  Patterned off of upcase/downcase.  Similar to upcase/downcase it  only works for the ascii ranges, we would need to improve the EncodingObjects to handle non-ASCII case-swapping.

Fwiw, I had intended to leverage the abandoned #835 but it seems like the related code in that PR had since been removed and I found it pretty straightforward to leverage the code in the existing upcase/downcase methods.

Ho hum. Appears that in refactoring some code, it has exposed otherwise identical MRI error messages differ in their use of (or lack of) double-quotes. 😞


removing style attribute on input field

Closing because of outdated config. Will include the change in https://github.com/Textalk/angular-schema-form-datepicker/pull/39


Deploy on Azure

Hi everyone, Has anyone ever had a problem deploying in the azure? I'm doing deploy and the following error is returned:
Invalid start-up command "cross-env NODE_ENV=development node server" in package.json. Please use the format "node

Hi @thiagoalmedeiros, we deploy to Azure at work, but I wasn't involved with any of the setup as I just started recently, so not sure how much help I can offer, but from my understanding, we use Visual Studio Team System (VSTS) for CI, which is essentially running npm run build to generate the build directory and this static content is pushed up to the cloud.
What is your setup? What Azure product are you using? What triggers the error? Keen to know as I might be able to try and replicate the issue with a fresh copy of the boilerplate.

Invalid start-up command "cross-env NODE_ENV=development node server" in package.json. Please use the format "node

It's difficult to say what the issue is, are you able to share more detailed information like boilerplate version? Azure product you are using? Any specific setup details you have done, so we could try and replicate?

Hi samit4me, thanks for trying to help me.
The boilerplate version I am using is the "version": "3.1.0".
In relation to azure I am using an application service "web application" in the "F1 free" plan.
I added some new routes to the example "/ dashboard".

Okay thanks, I am assuming your using:

This product https://azure.microsoft.com/en-au/services/app-service/web/?
You selected the Node stack?
Which deployment method did you use? Cloud, local source etc

Yes, that's right.
The method was local git.

Thanks for confirming. Wow, it feels as if I've gone down the rabbit hole 😳 So at work our front-end is bundled in with a .NET app, so that does not help with this problem at all 😞
I created an Azure account and setup a web app using the node stack with cloud deployment. You'll be happy to know I got the exact same error Invalid start-up command "cross-env NODE_ENV=development node server" in package.json. Please use the format "node <script relative path>"..
It would seem this method expects a Node application that is ready to go via npm start. I have literally spent the last 4 hours trying to make to happen with react-boilerplate but I could only get it to work by checking in the build directory and using another express server setup.
Website
http://react-boilerplate.azurewebsites.net/
Configuration
// package.json
"start": "node ./www"

// www

var express = require('express');
var path = require('path');

var buildDir = path.join(__dirname, 'build');

var server = express();
server.use('/build', express.static(buildDir));

// All files
server.get(/\..+$/, function (req, res) {
  let filename = req.path;
  res.sendFile(buildDir + filename);
});

// Everything else
server.get('*', function (req, res) {
  res.sendFile(buildDir + '/index.html');
});

var port = process.env.PORT || '3000';
server.listen(port, function () {
  console.log('server listening on port ' + port);
});

https://github.com/samit4me/react-boilerplate/tree/azure
Moving forward
So, I'm not sure what else to do at the moment, but if you are using local git setup, maybe you could push the build directory along with an express server up to Azure.
If anyone else more experienced with Node / Azure could help with this, that would be fantastic.

I'm also starting out with this project, and had trouble deploying this app to Azure App Service as well. The setup: Azure App Service with Deployment Options set to a Bitbucket repo. All I got was a empty page with the message: You not have permission to view this directory or page.
Strangely I can run the server using npm start on the Kudu console though. But when trying to open .azurewebsites.net:3000 nothing happened as well.

I solved the problem using the solution for angularjs
http://stackoverflow.com/questions/12614072/how-do-i-configure-iis-for-url-rewriting-an-angularjs-application-in-html5-mode

@thiagoalmedeiros What changes from default did you make to launch to azure?

Basically I needed to change the web.config for the react router to work.

I'm now using the following configuration, which also adds support for the manifest.json-file loading. My azure web app was by default not configured to handle json files.
<?xml version="1.0"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="React Routes" stopProcessing="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/" />
                </rule>
            </rules>
        </rewrite>
        <staticContent>
            <mimeMap fileExtension=".json" mimeType="application/json" />
        </staticContent>
    </system.webServer>
</configuration>

I was trying to deploy to azure, and even following these directions, I was unable to make the boilerplate working as is in azure.
Right now I have the error "You do not have permission to view this directory or page." even adding manually the web.config (because it was not autogenerated because of there was no server.js or app.js).
What did you do differently to make this work?
My steps:

Cloning the react boilerplate
added the web.config to the root of the project
Pushing it to my Azure Git Repository (I've configured local repository as deployment option)

I have been having issues on deploying this for azure too. Could add someone who has managed to get it working from git deployment please update the deployment docs with their steps? @timbrand @thiagoalmedeiros

Hi guys, I'm no expert in javascript environment but as I had been struggling to deploy react-boilerplate app to Azure Webapp Service, I thought it would be worth sharing here.
There are few things I had to tweak since I could not find a workaround (kept getting HTTP 500 internal server error)

Make sure the root directory is site/wwwroot
take server/index.js file out to root folder and modify the start script to "start": "node index.js"
make sure you set the NODE_ENV variable in App Service Settings to 'production'
Azure Web App Service runs node on iisnode, which requires web.config file. The reason why I took the index.js file was because issnode will look for the entry js file and package.json file in the same folder for some reason.
Below is the web.config file I used. Placed web.config, package.json, and index.jsin the root directory.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.webServer>
        <webSocket enabled="false" />
        <handlers>
            <add name="iisnode" path="index.js" verb="*" modules="iisnode"/>
        </handlers>
        <rewrite>
          <rules>
            <!-- Do not interfere with requests for node-inspector debugging -->
            <rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
              <match url="^index.js\/debug[\/]?" />
            </rule>

            <!-- First we consider whether the incoming URL matches a physical file in the /public folder -->
            <rule name="StaticContent">
              <action type="Rewrite" url="public{REQUEST_URI}"/>
            </rule>

            <!-- All other URLs are mapped to the node.js site entry point -->
            <rule name="DynamicContent">
              <conditions>
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/>
              </conditions>
              <action type="Rewrite" url="index.js"/>
            </rule>
          </rules>
        </rewrite>
        <httpErrors existingResponse="PassThrough" />
    </system.webServer>
</configuration>

React Router and API calls are all working correctly for me.


correct import statement to run examples/RDSM on PBC Dataset.ipynb

Hi!
I had to modify line 224 of dsm/__init__.py to run the examples/RDSM on PBC Dataset.ipynb notebook:
from dsm.dsm_api import DeepSurvivalMachines to from auton_survival.models.dsm import DeepSurvivalMachines
Also, I see in the documentation (auton-survival/docs/models/dsm/index.html) that DeepConvolutionalSurvivalMachines are not implemented yet, but the code is there. Is the documentation outdated, or is there a good reason not to use this class?
Best,
Georges

We're going to get rid of dsm/ module and only let access to dsm from auton_survival/ in the future release... but thanks for pointing this out.. I'm going to close this for now .. :)


Connect md with past jam pages

[] Modify md metadata
[] Create a jam md template
[] Connect past jam pages with md file

#48


Evaluating the Waymo dataset is slow

I use 8 TITAN V to train centerpoint on Waymo but the AP calculation is very slow (about 10 hours), the log message is below
2022-10-09 03:18:44,060   INFO  **********************Start evaluation waymo_models/centerpoint(default)**********************
2022-10-09 03:18:44,064   INFO  Loading Waymo dataset
2022-10-09 03:19:11,705   INFO  Total skipped info 0
2022-10-09 03:19:11,706   INFO  Total samples for Waymo dataset: 39987
2022-10-09 03:19:11,728   INFO  ==> Loading parameters from checkpoint /***/checkpoint_epoch_30.pth to CPU
2022-10-09 03:19:11,803   INFO  ==> Checkpoint trained from version: pcdet+0.5.2+7e8bbe2+pyb345b08
2022-10-09 03:19:11,864   INFO  ==> Done (loaded 279/279)
2022-10-09 03:19:11,869   INFO  *************** EPOCH 30 EVALUATION *****************
2022-10-09 03:37:01,190   INFO  *************** Performance of EPOCH 30 *****************
2022-10-09 03:37:01,190   INFO  Generate label finished(sec_per_example: 0.0267 second).
2022-10-09 03:37:01,190   INFO  recall_roi_0.3: 0.000000
2022-10-09 03:37:01,191   INFO  recall_rcnn_0.3: 0.862386                                                                                2022-10-09 03:37:01,191   INFO  recall_roi_0.5: 0.000000
2022-10-09 03:37:01,191   INFO  recall_rcnn_0.5: 0.795258                                                                                2022-10-09 03:37:01,191   INFO  recall_roi_0.7: 0.000000
2022-10-09 03:37:01,191   INFO  recall_rcnn_0.7: 0.521872                                                                                2022-10-09 03:37:01,219   INFO  Average predicted number of objects(39987 samples): 212.770
2022-10-09 13:47:24,393   INFO
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/AP: 0.7258
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/APH: 0.7204
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/APL: 0.7258
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/AP: 0.6446
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/APH: 0.6397
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/APL: 0.6446
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_1/AP: 0.7357
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_1/APH: 0.6724
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_1/APL: 0.7357
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/AP: 0.6565                                                                                OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/APH: 0.5986
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/APL: 0.6565
OBJECT_TYPE_TYPE_SIGN_LEVEL_1/AP: 0.0000                                                                                OBJECT_TYPE_TYPE_SIGN_LEVEL_1/APH: 0.0000
OBJECT_TYPE_TYPE_SIGN_LEVEL_1/APL: 0.0000                                                                                OBJECT_TYPE_TYPE_SIGN_LEVEL_2/AP: 0.0000
OBJECT_TYPE_TYPE_SIGN_LEVEL_2/APH: 0.0000
OBJECT_TYPE_TYPE_SIGN_LEVEL_2/APL: 0.0000
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_1/AP: 0.7042
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_1/APH: 0.6926
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_1/APL: 0.7042
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/AP: 0.6783
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/APH: 0.6671
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/APL: 0.6783

2022-10-09 13:47:24,415   INFO  Result is save to /***/OpenPCDet/output/waymo_models/centerpoint/default/eval/eval_with_train/epoch_30/val
2022-10-09 13:47:24,415   INFO  ****************Evaluation done.*****************                                                                                2022-10-09 13:47:24,567   INFO  Epoch 30 has been evaluated
2022-10-09 13:47:54,599   INFO  **********************End evaluation waymo_models/centerpoint(default)**********************

Is this speed normal? Are there any ways to accelerate it? In addition, my results are about 0.5% worse than the results in README.md (consistently), is it normal?

Try install tensorflow-gpu instead, that costs about 30 minutes to evaluate AP.

hello, when i run evaluation, i get some bug like this one , could u give me some help
Traceback (most recent call last):
File "eval.py", line 207, in
main()
File "eval.py", line 203, in main
eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
File "eval.py", line 65, in eval_single_ckpt
eval_result.eval_one_epoch(
File "/root/MSF/tools/eval_utils/eval_result.py", line 62, in eval_one_epoch
result_str, result_dict = dataset.evaluation(
File "/root/MSF/tools/../pcdet/datasets/waymo/waymo_dataset.py", line 476, in evaluation
ap_result_str, ap_dict = waymo_eval(eval_det_annos, eval_gt_annos)
File "/root/MSF/tools/../pcdet/datasets/waymo/waymo_dataset.py", line 459, in waymo_eval
ap_dict = eval.waymo_evaluation(
File "/root/MSF/tools/../pcdet/datasets/waymo/waymo_eval.py", line 211, in waymo_evaluation
metrics = self.build_graph(graph)
File "/root/MSF/tools/../pcdet/datasets/waymo/waymo_eval.py", line 127, in build_graph
metrics = detection_metrics.get_detection_metric_ops(
File "/root/.local/lib/python3.8/site-packages/waymo_open_dataset/metrics/python/detection_metrics.py", line 134, in get_detection_metric_ops
ground_truth_speed = tf.zeros((num_gt_boxes, 2), tf.float32)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper
return target(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/array_ops.py", line 2912, in wrapped
tensor = fun(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/array_ops.py", line 2962, in zeros
output = _constant_if_small(zero, shape, dtype, name)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/array_ops.py", line 2897, in _constant_if_small
if np.prod(shape) < 1000:
File "<array_function internals>", line 200, in prod
File "/usr/local/lib/python3.8/dist-packages/numpy/core/fromnumeric.py", line 3076, in prod
return _wrapreduction(a, np.multiply, 'prod', axis, dtype, out,
File "/usr/local/lib/python3.8/dist-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 867, in array
raise NotImplementedError(
NotImplementedError: Cannot convert a symbolic Tensor (strided_slice:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported
eval:   0%|          | 0/4931 [02:31<?, ?it/s]


initial commit checking for duplicate sample names

Description
Provide a summary of your changes including motivation and context.
If these changes fix a bug or resolves a feature request, be sure to link to that issue.
Type of change
What type of changes does your code introduce? Put an x in boxes that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[ ] FEATURE (non-breaking change which adds functionality)
[ ] BUGFIX (non-breaking change which fixes an issue)
[x] ENHANCEMENT (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have updated relevant documentation

Changelog entry
Please add a one-line changelog entry below. This will be copied to the changelog file during the release process.

Verify sample names do not already exist  when adding new VCFs to datasets

Also looks like your changes are breaking the Integration Test.


syz-manager, executor: fix out-of-bound access

There is an out-of-bound array access when cov filter enabled.
1 byte less is allocated

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

CC @Bins94


feat : add hostname as WiFi SSID when available

I have several ESPSomfyRTS modules, this PR allows me to avoid having several "ESPSomfyRTS" networks and not knowing who is who?

That is a great idea.  I will manually merge in your changes as I have a couple of other items that are critical on the network file related to how it drops the SoftAP when a network is not available.


Tweak cannot build for simulator

➜ dragon b sim
[DragonGen] Targeting Simulator + simject
[DragonGen] Generating build scripts
[DragonGen] Creating build script for Aeolus
[Dragon] Building Tweak
[Dragon] [4/8] (0.272) Linking .dragon/build/arm64/Aeolus.xm.mm.o with clang++ [arm64]
FAILED: .dragon/build/Aeolus.arm64
clang++ -arch arm64  -I$DRAGONBUILD/include -I$DRAGONBUILD/vendor/include -I$DRAGONBUILD/include/_fallback -I/headers/ -I. -fcolor-diagnostics -F$DRAGONBUILD/sdks/iPhoneOS.sdk/System/Library/PrivateFrameworks/ -F$DRAGONBUILD/frameworks   -O0   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk  -fobjc-arc -target x86_64-apple-darwin20.2.0   -Wall -fmodules -fcxx-modules -fmodule-name=Aeolus -fbuild-session-file=.dragon/modules/ -fmodules-validate-once-per-build-session -fmodules-prune-after=345600 -fmodules-prune-interval=86400  -framework UIKit -framework Foundation   -dynamiclib -ggdb -Xlinker -segalign -Xlinker 4000 -framework CydiaSubstrate -L$DRAGONBUILD/lib -L.   -o .dragon/build/Aeolus.arm64 .dragon/build/arm64/Aeolus.xm.mm.o -lobjc -lc++
ld: in '/Users/me/.dragonbuild/sdks/iPhoneOS.sdk/System/Library/PrivateFrameworks//DocumentManager.framework/DocumentManager.tbd', building for iOS Simulator, but linking in .tbd built for iOS, for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Dragon] [5/8] (0.272) Linking .dragon/build/arm64e/Aeolus.xm.mm.o with clang++ [arm64e]
FAILED: .dragon/build/Aeolus.arm64e
clang++ -arch arm64e  -I$DRAGONBUILD/include -I$DRAGONBUILD/vendor/include -I$DRAGONBUILD/include/_fallback -I/headers/ -I. -fcolor-diagnostics -F$DRAGONBUILD/sdks/iPhoneOS.sdk/System/Library/PrivateFrameworks/ -F$DRAGONBUILD/frameworks   -O0   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk  -fobjc-arc -target x86_64-apple-darwin20.2.0   -Wall -fmodules -fcxx-modules -fmodule-name=Aeolus -fbuild-session-file=.dragon/modules/ -fmodules-validate-once-per-build-session -fmodules-prune-after=345600 -fmodules-prune-interval=86400  -framework UIKit -framework Foundation   -dynamiclib -ggdb -Xlinker -segalign -Xlinker 4000 -framework CydiaSubstrate -L$DRAGONBUILD/lib -L.   -o .dragon/build/Aeolus.arm64e .dragon/build/arm64e/Aeolus.xm.mm.o -lobjc -lc++
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.iossim.a, missing required architecture arm64e in file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.iossim.a (3 slices)
ld: in '/Users/me/.dragonbuild/sdks/iPhoneOS.sdk/System/Library/PrivateFrameworks//DocumentManager.framework/DocumentManager.tbd', building for iOS Simulator, but linking in .tbd built for iOS, for architecture arm64e
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
[Dragon] Build failed
[Dragon] Cleaning Up
This is the output I get from "dragon b sim"

There's an issue with the updated sdk module; I was able to fix it, but an issue in ld causes it to spam console heavily with warnings.
Working on a clean way to fix this.

Alright, thanks, krit!

Alright, thanks, krit!

There's an issue with the updated sdk module; I was able to fix it, but an issue in ld causes it to spam console heavily with warnings.
Working on a clean way to fix this.

Would you mind telling me how you fixed it?

We fixed this on monotrix's machine by adding the following to the sim target in defaults.yml. Pushing this fix as soon as I can.
      fw_dirs:
        - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
        - $dragondir/frameworks


Android Remote Debug & Scene Sync not working

Godot version:
3.1.1
OS/device including version:
Ubuntu 18.04 Laptop(development)
Android 7.0 Huawei GR5 (running the app)
Issue description:
Remote debug  and scene sync do not work. The service tries to connect to 'localhost' (which is the phone itself when it should connect to my laptop instead).
I have set Editor Settings -> Network -> Debug -> Remote Host to <IP_ADDRESS> which is my laptop IP. But when deploying for android over Wifi Adb the debug & sync service chooses "localhost" as Remote Host instead of <IP_ADDRESS>. Since this service runs on the app the localhost becomes the phone instead of the laptop.
I installed a TCP listener app on my phone and listened to localhost:{Remote Port}. I got requests from the app to phone itself's remote port.
Reason:
editor/editor_export.cpp:EditorExportPlatform::gen_export_flags() method contains this line.
if (p_flags & DEBUG_FLAG_REMOTE_DEBUG_LOCALHOST)
		host = "localhost";

This makes the method return "localhost" instead of the IP I chose ("<IP_ADDRESS>") as the Remote Host.
Deleting the line solved the problem.
This PR deletes the buggy line.
Someone who knows the purpose of this line just delete it or handle it properly.
https://github.com/godotengine/godot/pull/32774

hm... well...
I'm using 3.1.2-alpha 5acb21dd7b and also using Wifi Adb also on Linux Mint 19.1 with Galaxy s8+.
and it works as expected for me.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

CC @godotengine/android (note that there was a proposed fix in #32774 but it hasn't been merged).

Version: v3.4.stable.official [206ba70f4]
OS: Pop!_OS 21.04
still valid...
Installing to device (please wait...): Samsung SM-G900F
--- Device API >= 21; debugging over USB ---
--- DEVICE API >= 21; DEBUGGING OVER USB ---
Reverse result: 1

deployed via wifi connection, meanwhile debugger tries to connect with usb

Just tried and I works. How did you enable ADB over WiFi?

@RandomShaper due the physical damage my device very badly connect to PC, but it can charge with usb. So i managed to connect with instruction in this topic
# run on rooted device terminal
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd

after that you can connect via
adb connect <device ip>

logcat also works
adb logcat -s godot

Maybe that's the issue? For me, enabling ADB-over-WiFi via USB and then unpluggin works. So, maybe that workflow where you set it up via a loval shell needs some adjustment to match the standard, non-rooted one.
Based on a StackOverflow answer, this is what I do (with the phone connected via USB to the PC and with WiFi enabled):
adb tcpip 5555
adb connect <phone_Wifi_IP>:5555

@RandomShaper I've tried to force PC to use that commands, but it didn't work. I guess you have to plug with cable first, there is no workaround.

The host = "localhost lines are still present in both master and 3.x:
master
https://github.com/godotengine/godot/blob/191c8ed12f624ec97b650b2726fed4e8c4bcf04c/editor/export/editor_export_platform.cpp#L142-L144
https://github.com/godotengine/godot/blob/191c8ed12f624ec97b650b2726fed4e8c4bcf04c/editor/export/editor_export_platform.cpp#L1575-L1577
3.x
https://github.com/godotengine/godot/blob/92aedd506375356d3323d8896a02d6c9bc11661e/editor/editor_export.cpp#L1228-L1230
https://github.com/godotengine/godot/blob/92aedd506375356d3323d8896a02d6c9bc11661e/editor/editor_export.cpp#L307-L309

Closing as nobody could reproduce this.