feat: aztec-network helm chart

Initial definition of the helm chart for an "aztec-network".
Currently not part of CI (that is https://github.com/AztecProtocol/aztec-packages/issues/8000).
However, a meaningful smoke test is included that can be run with:
./yarn-project/end-to-end/scripts/setup_local_k8s.sh
earthly ./yarn-project/end-to-end/+network-smoke

Benchmark results
Metrics with a significant change:

protocol_circuit_simulation_time_in_ms (private-kernel-reset-tiny): 457 (+48%)
protocol_circuit_simulation_time_in_ms (base-rollup): 2,748 (-21%)
protocol_circuit_simulation_time_in_ms (public-kernel-tail): 556 (-36%)
protocol_circuit_simulation_time_in_ms (private-kernel-reset-small): 463 (+51%)
protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 1,366 (+108%)
avm_simulation_time_ms (Benchmarking:increment_balance): 933 (-23%)
protocol_circuit_witness_generation_time_in_ms (private-kernel-reset-tiny): 879 (+22%)
l2_block_building_time_in_ms (4): 8,960 (-21%)
l2_block_building_time_in_ms (8): 17,482 (-22%)
l2_block_building_time_in_ms (16): 34,916 (-21%)
l2_block_rollup_simulation_time_in_ms (4): 8,959 (-21%)
l2_block_rollup_simulation_time_in_ms (8): 17,482 (-22%)
l2_block_rollup_simulation_time_in_ms (16): 34,916 (-21%)
l2_block_public_tx_process_time_in_ms (4): 7,531 (-22%)
l2_block_public_tx_process_time_in_ms (8): 15,968 (-23%)
l2_block_public_tx_process_time_in_ms (16): 33,335 (-21%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,750
1,559
713 (+1%)
749 (+1%)
774

proof_construction_time_sha256_30_ms
11,461
3,095
1,380 (+1%)
1,436
1,462

proof_construction_time_sha256_100_ms
44,085
11,818
5,438
5,516 (+1%)
5,693 (+1%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0 (+2%)
88.0 (+1%)

proof_construction_time_poseidon_hash_30_ms
1,526
422 (+1%)
202
226
277 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,639
1,511
680 (+1%)
757 (+2%)
746

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
4,356
7,876
14,884

l1_rollup_calldata_gas
50,232
92,972
178,324

l1_rollup_execution_gas
1,396,483
2,130,119
3,915,527

l2_block_processing_time_in_ms
255 (+3%)
448 (+2%)
814 (-1%)

l2_block_building_time_in_ms
:warning: 8,960 (-21%)
:warning: 17,482 (-22%)
:warning: 34,916 (-21%)

l2_block_rollup_simulation_time_in_ms
:warning: 8,959 (-21%)
:warning: 17,482 (-22%)
:warning: 34,916 (-21%)

l2_block_public_tx_process_time_in_ms
:warning: 7,531 (-22%)
:warning: 15,968 (-23%)
:warning: 33,335 (-21%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
2,878 (-1%)
3,885 (+2%)

node_database_size_in_bytes
12,656,720
16,695,376

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit
simulation_time_in_ms
witness_generation_time_in_ms
input_size_in_bytes
output_size_in_bytes
proving_time_in_ms

private-kernel-init
89.3 (+6%)
405 (+2%)
21,755
44,860
N/A

private-kernel-inner
166 (-2%)
722 (+2%)
72,566
45,007
N/A

private-kernel-reset-tiny
:warning: 457 (+48%)
:warning: 879 (+22%)
65,675
44,846
N/A

private-kernel-tail
195 (+20%)
159 (+14%)
50,686
52,257
N/A

base-parity
5.65
N/A
160
96.0
N/A

root-parity
35.5
N/A
73,948
96.0
N/A

base-rollup
:warning: 2,748 (-21%)
N/A
189,136
664
N/A

block-root-rollup
41.5
N/A
58,205
2,448
N/A

public-kernel-setup
84.1 (-1%)
N/A
105,085
71,222
N/A

public-kernel-app-logic
95.5
N/A
104,911
71,222
N/A

public-kernel-tail
:warning: 556 (-36%)
N/A
410,534 (+5%)
16,414
N/A

private-kernel-reset-small
:warning: 463 (+51%)
N/A
66,341
45,629
N/A

private-kernel-tail-to-public
:warning: 1,366 (+108%)
659 (+7%)
460,796 (+1%)
1,825
N/A

public-kernel-teardown
82.8
N/A
105,349
71,222
N/A

merge-rollup
20.1 (-3%)
N/A
38,174
664
N/A

undefined
N/A
N/A
N/A
N/A
77,438

Stats on running time collected for app circuits

Function
input_size_in_bytes
output_size_in_bytes
witness_generation_time_in_ms

ContractClassRegisterer:register
1,344
11,731
346 (+1%)

ContractInstanceDeployer:deploy
1,408
11,731
18.4

MultiCallEntrypoint:entrypoint
1,920
11,731
410

FeeJuice:deploy
1,376
11,731
391

SchnorrAccount:constructor
1,312
11,731
74.4 (-1%)

SchnorrAccount:entrypoint
2,304
11,731
400

Token:privately_mint_private_note
1,280
11,731
106 (+6%)

FPC:fee_entrypoint_public
1,344
11,731
28.0 (+1%)

Token:transfer
1,312
11,731
230 (+2%)

Benchmarking:create_note
1,344
11,731
89.3

SchnorrAccount:verify_private_authwit
1,280
11,731
27.5 (-3%)

Token:unshield
1,376
11,731
531 (+1%)

FPC:fee_entrypoint_private
1,376
11,731
707 (+1%)

AVM Simulation
Time to simulate various public functions in the AVM.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
54.7 (-1%)
7,739

FeeJuice:set_portal
11.5 (+7%)
2,354

Token:constructor
79.5 (+2%)
26,051

FPC:constructor
52.9 (-1%)
18,001

FeeJuice:mint_public
39.1 (-1%)
5,877

Token:mint_public
45.0 (+1%)
10,917

Token:assert_minter_and_mint
66.9 (+2%)
7,512

AuthRegistry:set_authorized
47.2 (+27%)
4,391

FPC:prepare_fee
236
7,043

Token:transfer_public
33.0 (+6%)
39,426

FPC:pay_refund
54.1 (+6%)
10,234

Benchmarking:increment_balance
:warning: 933 (-23%)
6,563

Token:_increase_public_balance
39.4 (-2%)
8,433

FPC:pay_refund_with_shielded_rebate
64.9 (+3%)
10,783

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.158

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.19 (-1%)
3.97 (+3%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.114 (-1%)
0.113 (+3%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.4 (+1%)
17.5 (-1%)
30.7 (-1%)
64.0 (+9%)
113 (-1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.110 (+1%)
0.101
0.0995 (-1%)
0.110 (+9%)
0.0996 (-2%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.4
25.8 (-1%)
43.5 (-1%)
84.8 (+2%)
161

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.109 (+1%)
0.104 (-1%)
0.105 (-1%)
0.104 (+2%)
0.101

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.4 (-1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.105 (-1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
64,779
668,997

Transaction size based on fee payment method
| Metric |  |
| - |  |


Compiler: bare splat and required named arguments

This PR changes the way arguments, splats and named arguments work. It's mostly backwards compatible except for the case where you had a method with a splat and other arguments following it.
It basically implements PEP 3102 as suggested by @BlaXpirit here, although there is a big difference: Crystal has method overloading.
I'll briefly explain how arguments will work, without comparing it to how they work now.
The components of a method definition
A method definition consist of:

required and optional positional arguments
an optional splat argument, whose name can be empty
required and optional named arguments
an optional double splat argument

For example:
def foo(
  # These are positional arguments:
  x, y, z = 1,
  # This is the splat argument:
  *args,
  # These are the named arguments:
  a, b, c = 2,
  # This is the double splat argument:
  **options
)
end

Each one of them is optional, so I can have a method without the double splat, or without the splat, or without positional arguments.
The components of a method call
A method call also has some parts:
foo(
  # These are positional arguments
  1, 2,
  # These are named arguments
  a: 1, b: 2
)

Additionally, a call argument can have a splat (*) or double splat (**). A splat expands a tuple into positional arguments, while a double splat expands a named tuple into named arguments. Multiple argument splats and double splats are allowed.
How call arguments are matched to method arguments
When invoking a method, the algorithm to match call arguments to method arguments is:

First positional arguments are matched with positional method arguments. The number of these must be at least the number of positional arguments without a default value. If there's a splat method argument  with a name (the case without a name is explained below), more positional arguments are allowed and they are captured as a tuple. Positional arguments never match past the splat method argument.
Then named arguments are matched, by name, with any argument in the method (it can be before or after the splat method argument). If an argument was already filled by a positional argument then it's an error.
Extra named arguments are placed in the double splat method argument, as a named tuple, if it exists, otherwise it's an error.

When a splat method argument has no name, it means no more positional arguments can be passed, and next arguments must be passed as named arguments. For example:
# Only one positional argument allowed, y must be passed as a named argument
def foo(x, *, y)
end

foo 1 # Error, missing argument: y
foo 1, 2 # Error: wrong number of arguments (given 2, expected 1)
foo 1, y: 10 # OK

But even if a splat method argument has a name, arguments that follow it must be passed as named arguments:
# One or more positional argument allowed, y must be passed as a named argument
def foo(x, *args, y)
end

foo 1 # Error, missing argument: y
foo 1, 2 # Error: missing argument; y
foo 1, 2, 3 # Error: missing argument: y
foo 1, y: 10 # OK
foo 1, 2, 3, y: 4 # OK

There's also the possibility of making a method only receive named arguments (and list them), by placing the star at the beginning:
# A method with two required named arguments: x and y
def foo(*, x, y)
end

foo # Error: missing arguments: x, y
foo x: 1 # Error: missing argument: y
foo x: 1, y: 2 # OK

Arguments past the star can also have default values. It means: they must be passed as named arguments, but they aren't required (so: optional named arguments):
# A method with two required named arguments: x and y
def foo(*, x, y = 2)
end

foo # Error: missing argument: x
foo x: 1 # OK, y is 2
foo x: 1, y: 3 # OK, y is 3

Because arguments (without a default value) after the splat method argument must be passed by name, two methods with different required named arguments overload:
def foo(*, x)
  puts "Passed with x: #{x}"
end

def foo(*, y)
  puts "Passed with y: #{y}"
end

foo x: 1 # => Passed with x: 1
foo y: 2 # => Passed with y: 2

This last bit is the difference between this and Python's PEP.
As a note (maybe it's not clear from the above), positional arguments can still be matched with named arguments:
def foo(x, *, y)
end

foo 1, y: 2 # OK
foo y: 2, x: 3 # OK

Recap
So, let's recap all the things we can do with this:

Required positional arguments: ✓
Optional positional arguments: ✓
Variadic positional arguments (splat): ✓
Required named arguments: ✓
Optional named arguments: ✓
Variadic named arguments (double splat): ✓
Overloading based on named arguments: ✓
Positional arguments past the splat argument : ✗
Disallowing matching a positional argument with a named argument: ✗

The last point can be achieved if we allow external and internal names (#2583) for method arguments, by using an underscore as the external name (so it can't match with a named argument).
About positional arguments past the splat argument: it'll be impossible (this is the breaking change), but I don't think it's that useful, or else it can be written with required named arguments past the splat argument, or put the splat argument at the end.
With this we can craft APIs in any way we want. I can already imagine using this in many parts of the standard library. For example, String.new has several overloads, and they are all based on the number and types of arguments (because that's the only way we can overload right now). We have this:
class String
  # Pointer and bytesize, default (UTF-8) encoding
  def self.new(chars : UInt8*, bytesize : Int, size = 0)
    # ...
  end

  # Slice of bytes and encoding, we decode from the slice
  def self.new(bytes : Slice(UInt8), encoding : String, invalid : Symbol? = nil) : String
  end
end

In the above example, I believe it's much better to have the second overload require encoding as a named argument:
bytes = ...
chars = ...
String.new(bytes, 10) # create from bytes and bytesize
String.new(chars, "UTF-8") # Probably good
String.new(chars, encoding: "UTF-8") # Better

We can also use this in File.new and File.open. Right now it's like this:
class File
  def initialize(filename : String, mode = "r", perm = DEFAULT_CREATE_MODE, encoding = nil, invalid = nil)
  end
end

It's fine for the filename and mode arguments to be positional, because that's the most common way to open a file (give the filename, specify if we want to read or write to it). However, perm, encoding and invalid have an arbitrary order and I'd say that passing them positionally can be bug prone and it's probably not very clear. Forcing them to be passed as named arguments (even if they are optional named arguments) forces better readability on the caller side, and also allows us to reorder arguments without fear or breaking code (because they can never be matched positionally).
Ruby (and I guess Python) allows for great APIs and DSLs because  it's so flexible in the way arguments can be passed and matched. I believe this PR, for Crystal, will allow the same, and probably more, because argument matching is type-safe.
(I think some of you might have suggested this before and I might have ignored it or disliked it: if that was the case it was only because we didn't have named tuples nor double splats and I imagined the task to be huge/impossible at that moment)

Named argument overloads: :heart: :heart: :heart:

@ysbaddaden I believe this will be a killer feature, or at least will allow us to have very expressive and readable APIs. For example, to define many new overloads that obviously construct an object, but where only overloading on arguments size and types is not enough (Array, Hash and Time all exhibit this problem).


Spacing at bottom of Explore page when Community Top Bids are hidden

The Issue
Now that community top bids are at the bottom, the spacing looks like it needs to be adjusted:

System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

Fixed in https://github.com/lbryio/lbry-desktop/pull/1793


Remove the sample app

Remove all the sample project
Remove the redundant version of the sample project
Remove the script build of the sample project in the Circle CI config

Hi @mani-w3w please help me take a look on this PR.

@kaytran2992 apologies for the delay on this, will be my top priority today.


[BEAM-11105] Add timestamp observing watermark estimation

Summary of Changes
This pr is a continuation of building watermark support in the Go Sdk. It builds on the work done in https://github.com/apache/beam/pull/17374 and introduces the ability for watermark estimators to be updated based on the timestamp of emitted elements. It includes the following changes:

Execution (emit/emit.go, exec/pardo.go, sdf/sdf.go)
Code generation (generate/generate.go, **.shims.go, optimized/emitters.tmpl, optimized/emitters.go)
Concrete implementation of a timestamp observing estimator (sdf/watermark_estimator.go)

This is built according to the design specified here - https://docs.google.com/document/d/1DqCYJ-J1YGNelCRIcN5v6BQsZxJB2l5uWBmN4ti--Ew/edit?usp=sharing
Next Steps
The following work remains to be implemented after this is completed

Manual estimators (PR in progress - https://github.com/apache/beam/pull/17475)
Doc changes

Manual Testing
On top of all the unit tests introduced, I hacked the existing textio sdf doFn and added the following function:
func (fn *readSdfFn) CreateWatermarkEstimator(t time.Time) *sdf.TimestampObservingWatermarkEstimator {
	return &sdf.TimestampObservingWatermarkEstimator{State: t}
}

func (fn *readSdfFn) InitialWatermarkEstimatorState(_ beam.EventTime, _ offsetrange.Restriction, _ string, _ int64) time.Time {
	return time.Now().AddDate(-1, 0, 0)
}

func (fn *readSdfFn) WatermarkEstimatorState(e *sdf.TimestampObservingWatermarkEstimator) time.Time {
	return e.State
}

and emitted elements 10 years in the future from processElement. Then I ran wordCount (with the textio sdf version) on dataflow so that I could observe the output watermark was getting correctly updated to the current wall clock time + 1 month:

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Didn't look at the generated, .tmpl code but rest looks readable and good to me

R: @lostluck for final review

Will merge once the conflict is resolved.

Run GoPortable PreCommit

It failed again, FWIW it is also failing in this pr with none of the same changes - https://github.com/apache/beam/pull/17522

Run GoPortable PreCommit

Agreed that it's unrelated. Running one more time, but will still merge after.

Agreed that it's unrelated. Running one more time, but will still merge after.

Oh nice, that did it!


Look for dead links

Find tools to find dead links in articles.

A library such as https://github.com/cgiffard/node-simplecrawler with a little bit of code can produce a crawler that can find articles with no references.


Introduction of Navbar

Placing the navbar on the top of the page will help the users to go through a lot of options that the website has to provide. All well having all the required features in front of the eyes will help the user to have a good experience.

Can you please assign me the role to work on this issue?

already done


Unexpected token 'export' when importing a custom package

What version of Turborepo are you using?
1.4.3
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
I'm trying to import a custom package into a workspace in my /apps folder. Typescript doesn't complain, but when attempting to run my code I get the following error:
api:dev: export * from './user.dao';
api:dev: ^^^^^^
api:dev:
api:dev: SyntaxError: Unexpected token 'export'
api:dev:     at Object.compileFunction (node:vm:352:18)
api:dev:     at wrapSafe (node:internal/modules/cjs/loader:1032:15)
api:dev:     at Module._compile (node:internal/modules/cjs/loader:1067:27)
api:dev:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
api:dev:     at Module.load (node:internal/modules/cjs/loader:981:32)
api:dev:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
api:dev:     at Module.require (node:internal/modules/cjs/loader:1005:19)
api:dev:     at require (node:internal/modules/cjs/helpers:102:18)
api:dev:     at Object.<anonymous> (/Users/d/GitHub/test/apps/api/src/users/users.service.ts:8:1)
api:dev:     at Module._compile (node:internal/modules/cjs/loader:1103:14)

This is the package.json on the custom package:
{
    "name": "@test/user-dao",
    "version": "0.0.0",
    "private": true,
    "main": "src/index.ts",
    "types": "src/index.ts",
    "files": [
        "src/**"
    ],
    "dependencies": {
        "mongoose": "^6.5.2",
        "@test/shared": "*"
    }
}

And the index.ts file on the custom package:
export * from './user.dao';
export * from './user.schema';
export * from './dto';

And this is how I'm importing it in the workspace:
import { User, UserDao, UserDocument } from '@test/user-dao';

I actually see the typings on the workspace that I'm importing the package to, so Typescript seems to understand where the imports come from, but I keep seeing that error on runtime.
Expected Behavior
The application should run and the imports from the custom package should be made available.
To Reproduce

Create a custom package, have the index.ts of that package be just exports, so

export * from './someFile'

Make that package available to another workspace. Run the workspace (I'm my case my workspace is a nestJS app).

Hey @DLesage25, this is because you're not building your package - you'll need to transpile it at some point in the build as your nestJS app is looking for cjs it looks like. Typically the package will have a build step, but can you also configure your app to build it as a dependency as well. How exactly to do this depends on your setup (rollup, webpack, etc.) and is out of scope for turbo. If you'd like to see some common methods for this you can take a look at how packages are bundled in our examples!

@tknickman super helpful. That got it working. Thank you!

@DLesage25 how did you solved it with a NestJS app ?


⚠ Bofrost.de has degraded performance

In 0f5b531, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 746 ms

Resolved: Bofrost.de performance has improved in 8aac57a.


luacat: rewrite in Go

It's a bit cumbersome to have multiple languages in play in one repository, as it increases load on contributors.  Since Lua is the only hard dependency that needs C, then this could be a viable candidate for using cgo.  I haven't tried using Bazel's cgo support yet, so doing this may require a bit of experimentation.

Should be easier with: https://github.com/yuin/gopher-lua


share cookies with browser

Hello, I am using the browser and I would like to know if I can send cookies through the open options header. The url which I want to open I want to pass the session to it to avoid logging back in, I need this in particular for a mobile OAuth flow.

Hello sorry for the long delay, i'm not sure honestly, the best way would be to try


Combined callback and promise implementations

Moved the promise implementation into a separate file: lib/phantom-html2pdf-promise.js.
If a callback function is not provided to convert(), a Promise is returned instead. E.g.:

pdf.convert({}, function(err, result){}); // same behavior as before

pdf.convert({}) // returns Promise

@dustin-H: let me know if you think this is a reasonable way to offer both callbacks and promises. If not, we can discuss which changes you'd like to see made.

Hi @OccamsCat,
sorry for late reply. Had a lot to do last weeks.
This looks good! I will have a closer look tomorrow. Thanks for your PR!
Cheers
Dustin

Hi @OccamsCat,
I just released v4.0.0. Sorry I just forgot it the last weeks.
Thanks for your great work.
Cheers
Dustin


ENH: add simple converter w/o FEI4

The change was applied to branch development (simple_interperter.py)


Error with Tempcoding_main

'tempcoding_main' is not recognized as an internal or external command,
operable program or batch file.

Hello. How are you running the command?

Hello, Thank you for replying…this has been causing me much stress trying to get this to run.  I am running it literally word for word as per the build commands provided on the GitHub page on a Windows 10 environment. When I enter the command : tempcoding/tempcoding_main -problem=mnist -n_train=54000 -n_validation=6000 -n_test=10000  -batch_size=32 -clip_derivative=539.69973904211679 -decay_rate=0.18176949150701854 -fire_threshold=1.1673205005788956 -learning_rate=0.0010186407877494507 -learning_rate_pulses=0.09537534860701444 -n_hidden=340 -n_pulses=10 -nonpulse_weight_mean_multiplier=-0.2754188425913906 -penalty_no_spike=48.374830659132556 -pulse_weight_mean_multiplier=7.8391245503824578 -update_all_datapoints=true -use_adam=true -n_epochs=100 -mnist_data_path=C:\Users\alane\ihmehimmeli\data I get the response: 'tempcoding' is not recognized as an internal or external command,operable program or batch file. I have the directory named Tempcoding and I have the file tempcoding_main.vcxproj Have you gotten this to run?  If so, did you do anything different that the suggested build instructions. Thanks again for your reply.Andrew   From: Luca VersariSent: Friday, September 25, 2020 2:36 PMTo: google/ihmehimmeliCc: TheAwesomeAndy; AuthorSubject: Re: [google/ihmehimmeli] Error with Tempcoding_main (#4) Hello. How are you running the command?—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

The instructions we provided are for a Linux environment, we never run the code on Windows. Would it be possible for you to run this on a Linux machine?
I am not very familiar with Windows.

Thank you for the information.  Yes, I will try on Linux and let you know – thank you for contacting me -Andrew From: Luca VersariSent: Friday, October 2, 2020 3:11 PMTo: google/ihmehimmeliCc: TheAwesomeAndy; AuthorSubject: Re: [google/ihmehimmeli] Error with Tempcoding_main (#4) The instructions we provided are for a Linux environment, we never run the code on Windows. Would it be possible for you to run this on a Linux machine?I am not very familiar with Windows.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.


Add loader from vscode packages

You can call load() from the added module and that will do the work, I tested it with rafamadriz/friendly-snippets and it works fine.

Looks pretty good. Could you add an example for using load() to Examples/snippets.lua?

Nice, thanks a lot for contributing :)


A way to reload the cards?

Is there any way I could reload the SwipeCards such as you can reload a CollectionViewController?

No, but you could add some reset method which you would call before addCards. In that method you probably just have to do the following for it to work:
for cv in loadedCards {
  cv.removeFromSuperview()
}
loadedCards.removeAll()

Perfect Thank you!

What is cv and loadedCards? I can't seem to get it working.

Really the one problem I'm having is locating loadedCards Are they in an array of some sort?

cv is a variable. You can use what ever you want, it's just some sample code I wrote for you. loadedCards is the array of cards. It's inside the class DMSwipeCardsView which is located inside DMSwipeCardsView.swift. They're literally only two classes in this library...

Thank you, but I can't access loadedCards in my ViewController as it is a fileprivate var . How can I change this

You should be adding this new method to DMSwipeCardsView.swift. Of course you can also make the var public, and do it from the outside.

Great! It works Thank you


Shift click not changing to eat/wield/etc anymore, defaults to "deposit-1".

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
Shift click from bank interface changing to "deposit-1" instead of eat/wield/etc. Randomly stopped working, have double checked that the option selected is right.
Expected behavior
Option to equip the item.
Screenshots
https://imgur.com/a/UlKr216
Shift is pressed down here.
Environment (please complete the following information):

OS: Windows
RuneLite version: Not sure how to check, probably latest?

This works ok for me. You probably don't have the inventory item options on

Thank you I'll try that, I just found it weird that it randomly stopped working, maybe I missclicked the option or something


App customization feature doc - copyedits, screenshot, use cases [2453890]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/enable-app-customization.md
90
6
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 5c53852:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/dev-portal-app-customization-settings.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/enable-app-customization.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@surbhigupta12  and @v-habibaumme , kindly review.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/enable-app-customization.md
100
0
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit ca674e2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/dev-portal-app-customization-settings.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/enable-app-customization.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@surbhigupta12 , please review and merge.

@ashishguptaiitb , can we please get an SME approval as well. We can then merge the PR.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/enable-app-customization.md
97
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit f788047:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/dev-portal-app-customization-settings.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/enable-app-customization.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/enable-app-customization.md
96
2
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/enable-app-customization.md
96
2
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/enable-app-customization.md
96
2
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Unable to parse .tfrecord with dataset_pb2.Frame()

Hello,
I am running into issues attempting to read in a .tfrecord using the dataset_pb2.Frame() method (i.e., the script under "Read one frame" in your tutorial.ipynb notebook):
example_set = tf.data.TFRecordDataset(FILE_PATHS_LIST, compression_type=''):
for i, data in enumerate(example_set):
    frame = waymo_open_dataset.dataset_pb2.Frame()
    frame.ParseFromString(bytearray(data.numpy()))
    break

The resulting output of frame is:
context {
  name: "\n\026image/object/bbox/xmin\022\342\001\022\337\001\n\334\001x\212g?|w\314=\333\267\010?\323\0008?|wL?\305\252\337<9L,>^\031\371>\003\tO?\365\201\010?s\360\t>p\217\t?)1\222>\033\3339?,\270H?\352\020\246=\"\363\006?\207\026X?\265\242\344>\000\000\000\000V\373!?Y)O>\036\240\373=\327\227\320>\304\204!>5)/>-\270P?\303\262J?\350>\317>/\320\031?)w\204>\361^\213>\300A\360>\320\257\021>\316\227H>\313\214\224=\336lp?;\353\257>\360Y\341=\261a\030?\220\325\227>\256dY?\000\000\000\000\000\000\000\000\022\3331=B\177\007?\000\000\000\000\373\204Q>\n\273u>=\235R?\203\177?>\031\006\036?+Gv?.\021b?\007<&>"
}

I believe this is related to the specific .tfrecord files I am using; I assume that some of their fields have been intentionally omitted (e.g., LiDAR data) from their original Waymo segment record counterparts.
I bring this to your attention to ask for further information on the dataset_pb2.py file (can't find it here), the Frame() method and to raise awareness that its functionality appears to be broken when using .tfrecord files with incomplete attribute fields.
This issue is also cross-referenced here. Thank you.

Hi Vincent — thanks for clarifying this issue. Can you point me to the proto config file you are referring to?

I'm specifically referring to the Frame proto definition in https://github.com/waymo-research/waymo-open-dataset/blob/master/waymo_open_dataset/dataset.proto. Alternatively, you may be able to download the corresponding run segment from our page directly, and that should be valid.

Thanks for that, @VincentCa. Just to note, I do not experience any issues with parsing the segments that have been fetched directly from the Waymo GCS bucket — only with the presumably modified records from Udacity.


code open source

Thank you very much for your wonderful work, is there any code open source please?

The code will be released shortly~

I just uploaded the code


Event after npm run build page look for the resource/css/app.css but not to the public/build/assets

Fresh Laravel project (here is the repository - https://github.com/GrytsenkoAndrey/mytest-vite.local)
Laravel 9.23
php 8.1
package.json
{
    "private": true,
    "scripts": {
        "dev": "vite",
        "build": "vite build"
    },
    "devDependencies": {
        "@popperjs/core": "^2.10.2",
        "@vitejs/plugin-vue": "^3.0.1",
        "autoprefixer": "^10.4.8",
        "axios": "^0.27",
        "bootstrap": "^5.1.3",
        "laravel-vite-plugin": "^0.5.0",
        "lodash": "^4.17.19",
        "postcss": "^8.4.16",
        "sass": "^1.32.11",
        "tailwindcss": "^3.1.8",
        "vite": "^3.0.0",
        "vue": "^3.2.37"
    }
}

vite.config.js
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
            ],
            refresh: true,
        }),
        vue({
            template: {
                transformAssetUrls: {
                    base: null,
                    includeAbsolute: false,
                },
            },
        }),
    ],
    resolve: {
        alias: {
            vue: 'vue/dist/vue.esm-bundler.js',
        },
    },
});

and the problem is - when I run
npm run dev

the styles & scripts work properly!
But when I run npm run build and load the page - it's awful

Hey, seems like you're confused. You are not using this package, you are using the official Laravel integration. See here: https://github.com/laravel/vite-plugin


Completion for jedi isn't showing

Continued from https://github.com/Shougo/deoplete.nvim/issues/197
python-client is neovim-0.1.3.
log_68422.txt
# freebsd-version -ku; uname -apKU
11.0-CURRENT
11.0-CURRENT
FreeBSD z600 11.0-CURRENT FreeBSD 11.0-CURRENT #56: Tue Mar  1 18:52:01 CST 2016     root@z600:/usr/obj/usr/src/sys/MYKERNEL  amd64 amd64 1100100 1100099

# nvim --version
NVIM 0.1.2
Build type: Release
Compilation: /usr/bin/cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wconversion -O2 -pipe -fstack-protector -fno-strict-aliasing -DDISABLE_LOG -Wall -We
xtra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/wrkdirs/usr/ports/editors/neovim/work/neovim-b33c777/config -I/wrkdirs/usr/ports/editors/neovim/work/neovim-b33c777/src -I/usr/local/include -I/usr/local/include -I/usr/local/include/luajit-2.0 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/wrkdirs/usr/ports/editors/neovim/work/neovim-b33c777/src/nvim/auto -I/wrkdirs/usr/ports/editors/neovim/work/neovim-b33c777/include                                  Compiled by root@head-amd64-default-job-19

Optional features included (+) or not (-): +acl   +iconv    -jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

minimal vim config:
" Your minimal init.vim

set runtimepath+=~/.vim/bundle/deoplete.nvim/
set runtimepath+=~/.vim/bundle/deoplete-jedi/

" deoplete.vim
" credit: https://gist.github.com/zchee/c314e63ae8b6bea50bb4
let g:deoplete#enable_at_startup = 1
set completeopt+=noinsert
set completeopt-=preview
let g:deoplete#enable_ignore_case = 'ignorecase'
let g:deoplete#auto_completion_start_length = 0
let g:min_pattern_length = 0
" https://github.com/Shougo/deoplete.nvim/issues/117

let g:deoplete#ignore_sources = {}
let g:deoplete#ignore_sources._ = ['buffer', 'vim', 'member']
let g:deoplete#sources#go = 'vim-go'

inoremap <expr><C-n> deoplete#mappings#manual_complete()

if exists(':DeopleteEnable')
  let g:jedi#completions_enabled = 0
  let g:jedi#auto_vim_configuration = 0
  let g:jedi#smart_auto_mappings = 0
  let g:jedi#show_call_signatures = 0
endif

@tony Please upload the reproduce ways from starting.
  let g:jedi#completions_enabled = 0
  let g:jedi#auto_vim_configuration = 0
  let g:jedi#smart_auto_mappings = 0
  let g:jedi#show_call_signatures = 0
endif

Not needed lines.

let g:deoplete#enable_ignore_case = 'ignorecase'

let g:deoplete#enable_ignore_case = 1 is correct.

let g:min_pattern_length = 0

Invalid option.
And normal deoplete completions works?

No output at all for jedi.
For normal files, with the following config you won't get any completion since it ignores buffer, vim and member sources.
deoplete.nvim is  51f3b0d9ed2100ac3f9a9df35ac22b4fd2feeefd
" Your minimal init.vim

set runtimepath+=~/.vim/bundle/deoplete.nvim/
set runtimepath+=~/.vim/bundle/deoplete-jedi/

" deoplete.vim
let g:deoplete#enable_at_startup = 1
let g:deoplete#enable_ignore_case = 1
let g:deoplete#auto_completion_start_length = 0

let g:deoplete#ignore_sources = {}
let g:deoplete#ignore_sources._ = ['buffer', 'vim', 'member']

inoremap <expr><C-n> deoplete#mappings#manual_complete()

log_7667.txt
So to be sure I created a bare bones configuration:
" Your minimal init.vim

set runtimepath+=~/.vim/bundle/deoplete.nvim/
set runtimepath+=~/.vim/bundle/deoplete-jedi/

" deoplete.vim
let g:deoplete#enable_at_startup = 1

inoremap <expr><C-n> deoplete#mappings#manual_complete()

This does show deoplete on regular files.
It does not show jedi-powered completions for python, only members. [m]
log_9111.txt

To be sure I updated to  https://github.com/Shougo/deoplete.nvim/commit/43823d522f2d54ac196a5a7628da0a3c271d6712, same config:
" Your minimal init.vim

set runtimepath+=~/.vim/bundle/deoplete.nvim/
set runtimepath+=~/.vim/bundle/deoplete-jedi/

" deoplete.vim
let g:deoplete#enable_at_startup = 1

inoremap <expr><C-n> deoplete#mappings#manual_complete()

log_11625.txt
No jedi completion :(

@tony
I cannot reproduce the problem.
set rtp+=~/work/deoplete.nvim/
set rtp+=~/work/deoplete-jedi/

let g:deoplete#enable_at_startup = 1
let g:deoplete#max_list = 10
let g:deoplete#enable_refresh_always = 1

I think your Python environments is something wrong.
Can you test it in other environments?

Please update neovim, deoplete, deoplete-jedi to the latest version.
neovim 0.12 is not latest version.

please update neovim

build from git master?

Yes.

How do you clone deoplete-jedi?
It uses submodule feature.  Simple git clone does not work.
You must use git clone --recursive.

I use plug.  Also, I'm having the same behavior happen for deoplete-go. I will make a seperate issue for that.
Updated neovim:
# vim --version
NVIM v0.1.3-312-g0e9f7a7
Build type: Debug
Compilation: /usr/bin/cc -Wconversion -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wno-c11-extensions -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/usr/home/tony/study/vim/neovim/build/config -I/usr/home/tony/study/vim/neovim/src -I/usr/home/tony/study/vim/neovim/.deps/usr/include -I/usr/home/tony/study/vim/neovim/.deps/usr/include -I/usr/home/tony/study/vim/neovim/.deps/usr/include/luajit-2.0 -I/usr/home/tony/study/vim/neovim/.deps/usr/include -I/usr/home/tony/study/vim/neovim/.deps/usr/include -I/usr/home/tony/study/vim/neovim/.deps/usr/include -I/usr/home/tony/study/vim/neovim/.deps/usr/include -I/usr/local/include -I/usr/include -I/usr/home/tony/study/vim/neovim/build/src/nvim/auto -I/usr/home/tony/study/vim/neovim/build/include
Compiled by root@z600

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Using neovim 0.1.3 client.

set runtimepath+=~/.vim/bundle/deoplete.nvim/
set runtimepath+=~/.vim/bundle/deoplete-jedi/

let g:deoplete#enable_at_startup = 1
let g:deoplete#max_list = 10
let g:deoplete#enable_refresh_always = 1

This time there was no virtual environment. Both neovim for python 2 and 3 are updated to 0.1.3, and I'm just doing import os and import sys and trying to get completion.
log_12887.txt

All above posts, including https://github.com/zchee/deoplete-jedi/issues/13#issuecomment-192564929 were on FreeBSD CURRENT. I also get the same results on Ubuntu.
Tested on Ubuntu:
tony@ubuntu:~/.vim/bundle$ uname -a
Linux ubuntu 4.2.0-30-generic #36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
tony@ubuntu:~/.vim/bundle$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily
[log_14907.txt](https://github.com/zchee/deoplete-jedi/files/159667/log_14907.txt)

tony@ubuntu:~/.vim/bundle$ nvim --version
NVIM 0.1.3-dev
Build type: RelWithDebInfo
Compilation: /usr/bin/x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/build/config -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/src -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/.deps/usr/include -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/.deps/usr/include -I/usr/include/luajit-2.0 -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/.deps/usr/include -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/.deps/usr/include -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/.deps/usr/include -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/.deps/usr/include -I/usr/include -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/build/src/nvim/auto -I/build/neovim-037Ah7/neovim-0.1.2ubuntu1+git201603011706+2338+17~ubuntu15.10.1/build/include
Compiled by buildd@lgw01-15

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

log_15043.txt
No virtualenv.  Just opening a file, for example hi.py and trying to do stand library completion.
tony@ubuntu:~/.vim/bundle$ python3 -c "import neovim"
tony@ubuntu:~/.vim/bundle$ python2 -c "import neovim"
tony@ubuntu:~/.vim/bundle$ python3 --version; python --version
Python 3.4.3+
Python 2.7.10

Even golang isn't giving me anything. :[
Is anyone else here having a problem with completion in deoplete? If you do, please provide some information on your environment setup.

@tony I'm having a similar issue using virtualenvs, but not sure if it's related to yours.
There seems to be a problem with Jedi and virtualenvs where performance degrades each time Jedi completions are evaluated.  The first time starting up nvim and completing os., it takes about 1 second to list completions.  After repeating, it takes about 1 second longer than the last time it was completed.  Repeating this after a while, the delay is so long that it will seem like it's not doing any completions at all.
Without using a different virtualenv, the completions for os. no longer have this delay.  But, if I use the jedi-vim plugin with a different virtualenv, I don't have any delays when completing os..  So, I'm confused about where to report this issue.
As for my environment, I'm using PyEnv to keep neovim packages separate using Python 2.7.9 and 3.4.3.  The completions were for a script that was using a Python 3.4.4 virtualenv.
let g:python_host_prog = '/home/tallen/.pyenv/versions/neovim2/bin/python'
let g:python3_host_prog = '/home/tallen/.pyenv/versions/neovim3/bin/python'

There are a couple of possible solutions I explored:

Add an option to not evaluate Jedi completions.  Here is what I did to get nearly instant completions: https://github.com/tweekmonster/deoplete-jedi/commit/68bdbf0bf83f2881e7c47cf0d928ec17c08138d1  The problem is there's no nice formatting :sob:
Downgrade Jedi to v0.8.1.  The completions take about 500ms to do completions for os. and it doesn't suffer from the degradation over time.  I don't know Jedi well enough to now what the drawbacks to this is.  Got this idea from this issue that hasn't been updated since 12/2015: https://github.com/davidhalter/jedi/issues/591
Make the Jedi completions an external script that's called via subprocess and prints each completion on a line.  This resets Jedi on each call, but not ideal since there's overhead in starting a Python instance and parsing the lines.

@tony Sorry late reply :(
I'll comment and support later.

I am also experiencing the same issue as @tweekmonster.

@tony @tcuthbert I can't fully understand your environment in this issue thread, this problem may not be resolved easily.
If you don't mind, Let's talk in gitter. https://gitter.im/zchee/deoplete-jedi
If we are both online, resolve of the problem is likely to be soon.
@tweekmonster

There seems to be a problem with Jedi and virtualenvs where performance degrades each time Jedi completions are evaluated.....

I have also developed completion of clang and go, but Jedi is certainly slow as compared to those.
(Jedi and my code, I do not know either is wrong.)

Without using a different virtualenv, the completions for os. no longer have this delay. But, if I use the jedi-vim plugin with a different virtualenv, I don't have any delays when completing os.. So, I'm confused about where to report this issue.

I do not use virtualenv, so I do not understand the reason for why such behavior :(
I will try virtualenv environment later.

Add an option to not evaluate Jedi completions. Here is what I did to get nearly instant completions: tweekmonster@68bdbf0 The problem is there's no nice formatting.

Jedi returns too many information than to completion engine in other languages.
I've format because did not like the long completion, but would have been slowed by it.

Downgrade Jedi to v0.8.1. The completions take about 500ms to do completions for os. and it doesn't suffer from the degradation over time. I don't know Jedi well enough to now what the drawbacks to this is. Got this idea from this issue that hasn't been updated since 12/2015: davidhalter/jedi#591

It is very interesting information for me.
I will test downgraded Jedi.

Incidentally, I wrote the first python for deoplete source, So implementation of the python does not yet understand :(

@zchee No problem, it works fairly well :)
I actually found a way to speed up the completions.  Here's what I did to get faster completions: https://github.com/tweekmonster/deoplete-jedi/commit/5078396a238868702aa0de12cd90287b0eef0ef0
The problem is with Jedi's recursions, but I don't know exactly why it's a problem specifically with virtualenvs.  When a completion begins for a partial word, such as os the max recursion limit of 250 causes this completion to take about 1+ second.  If you continue to type osc (I was developing with django-oscar which encourages a * import), you will now have a completion that's waiting for the previous one to finish.  If you type out oscar fast enough, you will end up with 5 queued completions taking about 1+ second each.  I think the slowness here is because Jedi is searching for matches in the source file and all of its imports for a partial word match.
If you do an attribute completion with . it's reasonably fast even with the default max recursion of 250 since the search scope is less broad.
I think it can become faster if https://github.com/Shougo/deoplete.nvim/issues/204 gets added to deoplete since the completions will trigger once when the user stops typing instead of triggering on each key press.

@zchee I created a docker image to reproduce the issue.  Maybe you will have a better idea of how to resolve it once you see the issue.  It's setup to be similar to the environment I'm using: Neovim using pyenv installations, but the shell using a Python version that has a lot of modules installed, and a different version from what Neovim is usinig.  Run it with:
docker run -it --rm tweekmonster/deoplete-jedi-issue

It will auto-start neovim with a Python script that will cause the issue.  The script has instructions on how to reproduce.  After you quit, you will have an option to display the debug logs.
The image takes a while to build, but if you prefer to build it yourself, you can inspect it here: https://github.com/tweekmonster/deoplete-jedi/tree/issue-reproduction/docker-testing
I think the main issue is that this plugin is getting completions for global variables.  It looks like jedi-vim is providing completions for modules and only displays buffer tags for everything else.

@tweekmonster Thanks! That good idea and I'm familiar with the Docker :)
I check it, and will consider to resolve way.

@tweekmonster FYI, I tried downgrade Jedi, but There was not much change is a simple profiler :(
I again try to find the cause of the problems that occur in the difference between the Jedi version.

Yeah the downgrade only improved the global scope completions.  The new deoplete option to delay completion helps to keep the problem from piling up.  I set it 100ms and it has been working pretty well but still has a 1s+ delay.  It's mainly the global scope completions that's slow.  If you set jedi.settings.max_executions to 1, the results are instant, but the descriptions aren't accurate.  I didn't submit a PR for it because I wasn't sure if I was only fixing my specific situation.

@tweekmonster I understand.
I'll try to reproduce your situation.
And if this setting is useful workaround, I adding jedi.config and describe to README.md.

@tweekmonster I have tested a little bit, this is a very, very! slow :scream:
CPU is rampage now lol
issue-reproduction is tested, I'll try to faster-jedi-completion or faster-completion branch also test comparison continues.
BTW, As I wrote before, because I usually do not write a python, it installed directly to site-packages without using the virtualenv.
In this case, jedi will be a little faster rather than sample docker container.
It would like to check if as well in your environment.
===
FYI, I use OS X, so not native docker.
but use OS X Kernel Hypervisor,  I think there is no impact.
Use it https://github.com/zchee/docker-machine-driver-xhyve.

@zchee I don't think using docker-machine changes the results since it takes more than 500ms to do completions even on a native machine.
I'm finally getting a better understanding of deoplete's completion calls.  We can cache module resluts to get significant speed improvements since Jedi doesn't filter those.  It'll probably need to check for project files that have changed, but that can be something to look at later.  I'll submit a PR later tomorrow.

@tweekmonster Ok, Thanks. and looks forward to your PR.
BTW, Sorry for not good at English. I would like to confirm just in case, are you going to send the PR to Jedi? or deoplete-jedi or deoplete.nvim?

Sorry, I'll be submitting to deoplete-jedi.  Jedi is too confusing to figure out in my spare time :sweat_smile:
Some improvements I'll be making:

Don't complete input that doesn't match \w\._.  Things like # comment lines were being passed to Jedi.  I don't know if this is a deoplete.nvim bug, but still should guard against it.
Truncate module completions such as os.pa to os, os.path.exi to os.path, etc. to use as cache keys since Jedi doesn't filter module completions.  This means we don't need to call jedi.Script() for modules in site-packages more than once.

@tweekmonster Thanks for the detail.

Don't complete input that doesn't match \w._. Things like # comment lines were being passed to Jedi. I don't know if this is a deoplete.nvim bug, but still should guard against it.

Yes, It's known bug. but I was allowed to stand :sweat:

Truncate module completions such as os.pa to os, os.path.exi to os.path, etc. to use as cache keys since Jedi doesn't filter module completions. This means we don't need to call jedi.Script() for modules in site-packages more than once.

Behavior and reason were I understand :)
but How do you implement? Already Will there has been such API is to Jedi?

Already Will there has been such API is to Jedi?

I looked through Jedi's cache source and docs a few days ago.  It looks like the cache is validated after a short period.  I don't think site-packages modules need to be revalidated at all.  I'm not sure if that's the problem or if it's the mixed virtualenvs.  From my tests, it seems like it's not using a cache at all.  I can test some more and verify if using a system installed Python version produces the same results as in the Docker image.
My other motivation for caching is because deoplete.nvim is async.  deoplete-jedi calls Jedi and then formats the results.  If the formatted results are cached, there will be less overhead for completion results.
Another possibility with keeping a local cache is returning stale results immediately and updating the cache in a thread if a project file has been changed.  That way, you get something instead of a delay.
I'll submit a WIP PR shortly so you can see inspect it.

@tweekmonster Thanks PR :)
Move discussion to this PR.

@tony Now merged @tweekmonster caching feature.
Could you test it?

I just installed jedi, youCompleteMe, nothing I can see in vim. Do I have to do something? I mean, how is this supposed to work? No documentation, alas!

@sudip06
You should provide more info, e.g. your (minimal) vimrc.
Also, please create a new issue, instead of commenting on an existing one.

I just installed jedi, youCompleteMe, nothing I can see in vim. Do I have to do something?

You should create the issue for YouCompleteMe.
deoplete-jedi is not for YouCompleteMe extension.


Clarify Telsa "Application Access Request" process

Few suggestions on how to improve documentation. Happy to help with a PR, just need to clarify some things.

Application Name / Application Usage / Purpose of Usage -- should we suggest what users should enter? Or will they work it out themselves.
OAuth grant type -- should users choose Authorization Code and Machine-to-Machine, or Machine-to-Machine only
What API & Scopes are necessary?
Does the app need to be approved before it can be used? It says 4-5 days I think, but mine was approved in a couple of hours

As per other issue, just discovered DOCS.MD: https://github.com/llamafilm/tesla-http-proxy-addon/blob/be81799790be118f5b16af3b6f111333013be7b4/tesla_http_proxy/DOCS.md

Good point, one thing I forgot to mention is you need to request Authorization Code and Machine-to-Machine


Request's URL isn't correct when using port forwarding

Suppose our server is running behind a router,
the service is accessed via a router by the outside.
The service program is listening on port 80,
and mapped to port 8080 by the router to the outside.
When a request comes in,
the client's request URL would be http://domain.name:8080/path,
but the cooked URL in PHTTP_REQUEST is http://domain.name/path,
which uses the default 80 port that is currently listening on.
The problem is when we build some URLs to send to the client,
we cannot find the correct 8080 port in HTTPMessage or other places.
I think we should consider the Host header when parsing the request URL,
instead of trust the Cooked URL in PHTTP_REQUEST.

Hmmm……
That depends on what you want to use it for.
It may be better to isolate the internal knowledge of the server completely from things like routers, load-balancers or proxies, and not knowing anything about them.
You might get hooked-up in all sorts of dependencies.
And if you really want to know, you can always get the host header from the HTTPMessage,
or other headers like the "X-Forwarded-For" header for this purpose.
For now, I would not consider messing up the URL as given by the Microsoft framework….
If I am listening on port 80, that's what I want to get from the operating system....

That's OK for me.
I'll use request headers to construct the response.
Thanks.


add respects_vtree

Add the ability to verify structured decomposability.

Also this is relevant https://github.com/Juice-jl/LogicCircuits.jl/issues/8 (inferring the vtree if not given)

Added the ability to ask respects_vtree(circuit,vtree) and respects_vtree(struct_circuit).


Use typing in all classes

We should use typing everywhere and avoid any-Objects.

### List of remaining instances where type is specified as any

qc-atlas-ui\src\app\components\generics\chip-collection\chip-collection.component.ts
From generics folder (11)
qc-atlas-ui\src\app\components\generics\data-list\data-list.component.ts
From generics folder (18)
qc-atlas-ui\src\app\components\generics\dialogs\confirm-dialog.component.ts
From generics folder - Cannot remove this any since used for deleteion of different types of data (1)
qc-atlas-ui\src\app\components\generics\dialogs\link-item-list-dialog.component.ts
From generics folder - // Could not remove any type of selectedItems and pagingInfo(content?: T[]) used for different
types (3)
qc-atlas-ui\src\app\components\generics\link-input\link-input.component.ts
From generics folder (3)
qc-atlas-ui\src\app\components\generics\navigation-breadcrumb\navigation-breadcrumb.component.ts
EventEmitter  (2)
qc-atlas-ui\src\app\components\generics\property-input\abstract-value-accessor.ts
From generics folder (8)
qc-atlas-ui\src\app\http-interceptors\auth-interceptor.ts
HttpEvent(1) and HttpRequest (4)
qc-atlas-ui\src\app\util\show-on-feature.direct.ts
TemplateRef line 18 (1)
qc-atlas-ui\src\app\util\util.service.ts
Used in multiple components for diffrent data types (10)
line 67 method getColorOfSelectedButton() - No usages found
qc-atlas-ui\src\app\util\latex-renderer-service-constants.ts and qc-atlas-ui\src\app\util\util.service.ts
line 50: The renderedData (response from util service) looks similiar to a blob but couldnot assign type Blob,So directly
assigned the response to latexBlob in utilService
const latexBlob = this.latexRendererServiceConstants.createBlobFromRenderedResult(response); in line 200 replaced with
const latexBlob = response;


Generation of DOSDP matches is broken

Trying to find matches for the DOSDP patterns yields the following error when processing the cellPartOfAnatomicalEntity pattern:
dosdp-tools query --ontology=tmp/edit-merged.owl --catalog=catalog-v001.xml --reasoner=elk --obo-prefixes=true --batch-patterns="cellBearerOfQuality cellCapableOfBiologicalProcess cellHasPlasmaMembranePartX cellPartOfAnatomicalEntity cyclingCellStates taxonSpecific" --template="../patterns/dosdp-patterns" --outfile="../patterns/data/matches/"
log4j:WARN No appenders could be found for logger (org.semanticweb.elk.config.ConfigurationFactory).
log4j:WARN Please initialize the log4j system properly.
2024-10-10 19:21:24.232Z error [] [context: command=query;pattern=../patterns/dosdp-patterns/cellPartOfAnatomicalEntity.yaml;output=../patterns/data/matches//cellPartOfAnatomicalEntity.tsv] Failed to parse class expression: :
Encountered |EOF| at line 1 column 1. Expected one of:
	Class name
	Object property name
	Data property name
	inverse
	not
	(
	{

2024-10-10 19:21:24.331Z error [] [context: ] Failed to parse class expression:
make: *** [cl.Makefile:194: matches] Error 1

Unclear what the cause of the error is since the error message is not really helpful (it does not give the actual expression it is failing to parse). AFAICT I don’t see anything obviously wrong in the cellPartOfAnatomicalEntity pattern, and neither does dosdp validate.

Try removing this line: https://github.com/obophenotype/cell-ontology/blob/7abc8231c7a3181cd89b3f380710b781913534fe/src/patterns/dosdp-patterns/cellPartOfAnatomicalEntity.yaml#L31

Thanks, that was it indeed.


the Notification and the Message and so on cannot set the property id

What problem does this feature solve?
when I use the Notification.html create a  <a (click)="gotoarmpage()"> link to the arm route ,at the same time I want to close the Notification,but I can't find the prop "id" anywhere
What does the proposed API look like?
Notification(html: string, id:string, options?: Object)

please read the doc carefully


Make Pod/Container requests configurable

Bug Description
It would be nice if we could configure the cpu and mem requests of each container via juju (where the default for each charm would be defined in the manifest of the charm itself)
To Reproduce
N/A
Environment
N/A
Relevant Log Output
N/A

Additional Context
No response

This would be great to have for something like Istio where the charm has the deployment manifest


Regression test for bsg_print_int

Related to PR #342
Adds regression test for bsg_print_int
Also changed deprecated test_packet into test_tile_info that uses bsg_printf
Should be merged in with PR # 100 on bsg_manycore.

At a glance it all looks reasonable. I wonder if you we should also have one that tests this with vanilla SPMD programs? CUDA is complex enough that if one of these tests fails to print it won't be 100% clear if the problem is in CUDA, the manycore side, or the packet responder module. Having an additional vanilla SPMD test could help with this.
Actually testing this feature is a little hard to formulate in the existing infrastructure (wrt tracking if the test failed).

Not sure I understand - but we have a vanilla SPMD test

On Jul 18, 2019, at 9:01 PM, max-ruttenberg<EMAIL_ADDRESS>wrote:
At a glance it all looks reasonable. I wonder if you we should also have one that tests this with vanilla SPMD programs? CUDA is complex enough that if one of these tests fails to print it won't be 100% clear if the problem is in CUDA, the manycore side, or the packet responder module. Having an additional vanilla SPMD test could help with this.
Actually testing this feature is a little hard to formulate in the existing infrastructure (wrt tracking if the test failed).
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

@drichmond I don't see it in this PR. These all look like CUDA. Are they already in the repo?
WRT evaluating if the test has passed or failed: what if nothing gets printed but everything else goes right? Does the test fail? I don't think it does and that's my point.

@max-ruttenberg @drichmond  You are right, the cuda is too complicated, and as I don't (or shouldn't) have access to the underlying API functions I couldn't check for a fail. I added a SPMD regression test for the scalar printing in PR #347. Let me know what you guys think!

Should this still be merged (with #100 in bsg_manycore?)


C++ Code generation support for Mac

Support real-time code generatio for Mac
Sync composite-structure and other constraints with the latest model
updates

Appveyor failed, but this was on a time-sensitive test. I suspect it will be OK I just reran appveyor


Allow change base_url

allow base_url to be set ...just not that but all other OpenAI config params.
This would make it flexible to switch and work as client for non-OpenAI local LLM servers that support OpenAI interface(s).
Adding more details:
I have a local LLM server LiteLLM running that honors OpenAPI calls.
I had to find out a round-about way of doing things like:
o = OpenAI.OpenAIProvider("junk", "http://localhost:8000", "")
and then passing this to the second create_chat(...) method to make it work.
would be great if the API is a bit more cleaner.

Yes, this is a good idea - there's another issue with the same idea.
By cleaner API, are you referring to the base_url problem, or something more general?

Thank you, my comment on the cleaner api just meant that the Azure Provider ( it doesn't have to be part of the main src, but can be provided as an example of override ).

That seems like a reasonable refactor

Here is the example code for a local LLM that I run using OpenAI.jl :
https://github.com/rcherukuri12/ollama_julia_code_generator/blob/main/LiteLLM_Ollama_client.jl

Sorry to revive a dead issue -- was there a good way to set the OpenAI organization key for requests?

There isn't a canonical way implemented, I think


Basic styling for the index and room pages

Added basic styling to the client pages. This is an enhancement, fixing #7 . I made the styling very minimalistic, as there is little content available. As new content is added, I'll be glad to contribute more styling. If there is anything you'd like me to fix or improve, please let me know.
Thank you!

Thank you so much for this! I'll review it in this Friday's show

Deploy request for build-a-thing-video accepted.
Accepted with commit 67e5e2c
https://app.netlify.com/sites/build-a-thing-video/deploys/5f7c9be6a624fc0007d8433a

You're welcome, and thank you too.

Thanks - looks good! I really appreciate the contribution and I'll merge this in.
I'm curious why you chose to make the publisher area so much bigger than the subscribers - in most other video conferencing applications, the subscribers (ie. everyone except you) is bigger. I'd encourage you to submit a further PR at some point in the near future to change this.

I've opened a new pull request for the additional change #14

Oh, I understand now. That was a mistake, and I'll work on fixing it as soon as I can. Thank you!


Tests occasionally failing in Travis

The tests in https://github.com/theodi/comma-chameleon/blob/master/test/renderer/file_actions_spec.js are failing ocassionally in Travis. I thought this was down to a lack of callbacks, but it still seems to be happening.

Having thought about this a bit, I think this is a race condition.
In the test, we call file_actions.save() then immediately call fs.readFile(), but save() is asyncronous so it may or may not have actually finished saving by the time fs.readFile() is executed.
What we actually need to do here is (scruffy pseudo-code):
file.js
fs.writeFile(fileName, data, function (err) {
  if (err) throw err;
  // fire 'someEvent'..
});

..and then in the unit test:
file_actions_spec.js
// ....
file_actions.save(hot, os.tmpdir() + '/mycsv.csv');

on('someEvent', function() {
  fs.readFile(os.tmpdir() + '/mycsv.csv' //bla bla bla...
});

That way, os.tmpdir() + '/mycsv.csv' is gauranteed to exist before you try to read from it.

Not seen this failure occur since #132 so closing


Add ASP.DotNet Core developer roadmap and a study path for becoming a game developer

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

Thanks a lot! 😸


Release <IP_ADDRESS>

:+1: you always catch me on vacations! I'm in Greece, will return tomorrow and do release!

Released, thanks @vanniktech!


Crash when launching game

Forge Version:

36.2.2

Mod Version:

1.4.1

Crash Reports/Logs:
2021-08-20-7.log

Have you noticed, that the log you sent actually contains the word MythicBotany exactly 0 times? Why do you think, this is a MythicBiotany problem.
And if you think so, please see https://git.io/weirdmods , test without the mods listed there and create a new issue where you explain why you think, MythicBotany is responsible.

I uploaded the wrong log, but yeah MythicBotany wasn't the problem, Enhanced Celestials was. Sorry for bothering you!


Fix dual_cert_select test to run with older openssl binary

Should make the CI 9.0.x version of this test work.

Cherry-picked to v9.0.x branch.


Regression: DOM signal injector does not follow spec

Your DOM signal injector is still using the old implementation that I fixed in #142.
Consent managers may expect a correct implementation to properly heed the GPC signal.

Thanks, @eligrey! We are currently doing a major refactoring, and I could imagine that change fell through the cracks. We will look into it ...

Thanks for the heads up, @eligrey! You're right, our last release, v1.1.4, does have the bad DOM signal injector. I'm not sure how this slipped through, but we do have the correct injector implementation on our latest commit.
As @SebastianZimmeck mentioned, we are refactoring our code and are actually planning on releasing this new version later this week, this should resolve the issue you mentioned!

Thanks, glad to hear that this isn't slipping through the cracks

Closing this issue as the change is in the main branch and the release will come later this week.


MRG, MAINT: NumpyDoc validation in sphinx build

For testing and eventually using https://github.com/numpy/numpydoc/pull/302 to improve our docstrings. Our tests/test_docstring_parameters catch some but not all of the same errors.

This one is ready to go

thanks @larsoner


https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection - Left column lists incorrect properties and methods.

Request type

[] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

On the referenced page, the left "quick navigation" column incorrectly lists:
Properties
item
The correct list would be:
Properties
length
Methods
item()
namedItem()

https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection

Issue moved to mdn/kuma #7531 via ZenHub


Accounts, extensions lists should be full-width (or plain), not inset

The Table Views section of the macOS HIG states:

The full-width style works best for tables that already have a visual margin around them, such as a table embedded in a preferences pane.

In the accounts tabs of the preferences, the table view is inset, as visible on the screenshot below. Same goes for the extensions table view.

Compare to similar table in System Preferences, Mail account prefs, etc. See below the example from the same macOS HIG section mentioned above.

Since, I assume, these table views are those from Preferences.storyboard, the fix is as easy as selecting "Full-width" from the style property in the inspector in IB.

Unless I'm misreading the changes in #3184, you also need to do this for the extensions table view.

Good catch. I was just validating that, and yes, the change also has to be done to the Extensions table.


Wrong Height Value of the root_link to World Transform from the FKsolver for ergoCubGazeboV1

Expected Behavior
The root_link height in respect of the world frame should always match the height of the root_link with the sole in contact with the ground (i.e. r_sole or l_sole).
In stickBot for example:

Actual Behavior
Premise: the robot walks and navigates correctly, this is only a strange deviation.
The transform of the Forward Kinematic solver compenetrates the ground, like in figure:

The calculations on the transform are expressed in the Code Snippet section.
Using the stickBot model in simulation we have the expected behavior.
Transform value:
- header:
    stamp:
      sec: 3653
      nanosec: 741000000
    frame_id: odom
  child_frame_id: root_link
  transform:
    translation:
      x: -0.03845819101269138
      y: -0.00029803977206156046
      z: 0.76088412317419
    rotation:
      x: 0.0015298974928377215
      y: -0.03812475686240274
      z: 0.00010598504987431123
      w: 0.9992718104174725

Code snippet
In the walking-controllers Module.cpp the transform is exposed on a separate dedicated thread as follow:
root_linkTransform = m_FKSolver->getRootLinkToWorldTransform();

auto& transform = data.addList();
auto& data = m_unicyclePort.prepare();
transform.addFloat64(root_linkTransform.getPosition()(0));
transform.addFloat64(root_linkTransform.getPosition()(1));
transform.addFloat64(root_linkTransform.getPosition()(2));
transform.addFloat64(root_linkTransform.getRotation().asRPY()(0));
transform.addFloat64(root_linkTransform.getRotation().asRPY()(1));
transform.addFloat64(root_linkTransform.getRotation().asRPY()(2));

The ROS2 Node publishing the TF:
geometry_msgs::msg::TransformStamped odomTf;
odomTf.header.frame_id = "odom";
odomTf.child_frame_id = "root_link";
odomTf.header.stamp = tf.header.stamp;
odomTf.transform.translation.x = data.get(3).asList()->get(0).asFloat64();
odomTf.transform.translation.y = data.get(3).asList()->get(1).asFloat64();
odomTf.transform.translation.z = data.get(3).asList()->get(2).asFloat64();

tf2::Quaternion qOdom;
qOdom.setRPY(data.get(3).asList()->get(3).asFloat64(), data.get(3).asList()->get(4).asFloat64(), data.get(3).asList()->get(5).asFloat64());
odomTf.transform.rotation.x = qOdom.x();
odomTf.transform.rotation.y = qOdom.y();
odomTf.transform.rotation.z = qOdom.z();
odomTf.transform.rotation.w = qOdom.w();
tfBuffer.push_back(odomTf);

Specifications

I am using a custom walking-controller version for the unicycle planner, forked from master commit<PHONE_NUMBER>bf6d1c0b6bc84568f266cd32882900 Date:   Wed Sep 28 19:06:25 2022 +0200
I am using the walking controller config files from the actual branch ergoCubSN000 of ergoCubGazeboV1 with the additional files for using INVERSE_KINEMATICS_BLF_QP_SOLVER from ergoCubSN000
egoCub model from ergocub-software commit 3b629f1d566bc89bb6d81adcda9f4694237ab6

Conclusions
Since the navigation is in 2D, the impact of this situation should be minimal. However I am wondering if this could hinder the walking-controller stability/behavior.
It would be enough to know which files could impact this root_link height, so that I can check them.
Thanks!

Hi @SimoneMic, could you share the link to the code?
Also, I think I am not understanding the test you are running. The numeric value has a positive z (that is reasonable considering the world frame on the ground), but then why in the visualization it compenetrates the ground?

Also, why you first add the list and then prepare data?
auto& transform = data.addList();
auto& data = m_unicyclePort.prepare();

Shouldn't it be the opposite?

Also, why you first add the list and then prepare data?
auto& transform = data.addList();
auto& data = m_unicyclePort.prepare();

Shouldn't it be the opposite?

Yep, My bad copy paste, since it was other code in between.

Hi @SimoneMic, could you share the link to the code?
Also, I think I am not understanding the test you are running. The numeric value has a positive z (that is reasonable considering the world frame on the ground), but then why in the visualization it compenetrates the ground?

Basically what I am doing is to have the odom frame in the ROS2 environment (TF2 to be specific) to use that for the robot localization with AMCL.
In displaying the TF frames, I've noticed that there's an height mismatch, just this.

Meanwhile with stickBot this issue was not present

Hi @SimoneMic, could you share the link to the code?
Also, I think I am not understanding the test you are running. The numeric value has a positive z (that is reasonable considering the world frame on the ground), but then why in the visualization it compenetrates the ground?

Basically what I am doing is to have the odom frame in the ROS2 environment (TF2 to be specific) to use that for the robot localization with AMCL. In displaying the TF frames, I've noticed that there's an height mismatch, just this.

Sorry I am lost, how did you notice this mismatch? The numeric data above seemed somehow reasonable

Hi @SimoneMic, could you share the link to the code?
Also, I think I am not understanding the test you are running. The numeric value has a positive z (that is reasonable considering the world frame on the ground), but then why in the visualization it compenetrates the ground?

Basically what I am doing is to have the odom frame in the ROS2 environment (TF2 to be specific) to use that for the robot localization with AMCL. In displaying the TF frames, I've noticed that there's an height mismatch, just this.

Sorry I am lost, how did you notice this mismatch? The numeric data above seemed somehow reasonable

Actually I found an error in the robot_state_publisher in ROS2, was still using a wrong file path. So now it's solved. My bad.

Hi @SimoneMic, could you share the link to the code?
Also, I think I am not understanding the test you are running. The numeric value has a positive z (that is reasonable considering the world frame on the ground), but then why in the visualization it compenetrates the ground?

Basically what I am doing is to have the odom frame in the ROS2 environment (TF2 to be specific) to use that for the robot localization with AMCL. In displaying the TF frames, I've noticed that there's an height mismatch, just this.

Sorry I am lost, how did you notice this mismatch? The numeric data above seemed somehow reasonable

Actually I found an error in the robot_state_publisher in ROS2, was still using a wrong file path. So now it's solved. My bad.

Thanks a lot for reporting any how :wink:


[Bug] quoting database not working after upgrade to dbt-oracle >= 1.8.0

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Hello,
With dbt-oracle 1.7.x I was using this flag in my dbt_project.yml
quoting:
  database: false

However, with the release of version 1.8.x, it seems that we now need to specify the "database" value in the profiles.yml file. I have attempted to provide the value in both lowercase and uppercase, but so far, I haven't achieved the desired result.
Additionally, I have tried various combinations of quoting properties, as shown below:
quoting:
  database: false/true
  identifier: false/true
  schema: false/true

When attempting to build a model, DBT raised the following error:
Compilation Error in model my_model (models/my_model.sql)
  When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete MY_SCHEMA.MY_MODEL, or rename it to be less ambiguous.
  Searched for: MY_SCHEMA.MY_MODEL
  Found: MY_SCHEMA.MY_MODEL

Despite this error, the model was successfully built in the database.
Furthermore, I noticed that if I do not provide the "database" value in the profiles.yml file, I receive a warning during each run, but no error on run.
Has anyone else encountered this issue? Any insights or suggestions would be greatly appreciated.
Expected Behavior
No response
Steps To Reproduce
No response
Relevant log output using --debug flag enabled
No response
Environment
- dbt-core: 1.8.1
- dbt-oracle: 1.8.1

What Oracle database version are you using dbt with?
19c
Additional Context
select SYS_CONTEXT('userenv', 'DB_NAME') from dual;
Return my database name in lowercase.

@Joul1285
Could you enable quoting only for the database and let me know how it goes ?
quoting:
  database: true

@Joul1285
Could you enable quoting only for the database and let me know how it goes ?
quoting:
  database: true

Hello @aosingh ,
With the configuration you mentioned I still have the same warning or error messages.
If a don't reference my database target in profile.yml, I have this warning message, but no error at the end:
oracle adapter: [WARNING]: database key is missing from the target profile in the file profiles.yml
 Starting with dbt-oracle 1.8  database name is needed for catalog generation
 Without database key in the target profile the generated catalog will be empty
 i.e. `dbt docs generate` command will generate an empty catalog json
 Make the following entry in dbt profile.yml file for the target profile
 database: mydatabasename

If a reference my database target in lowercase in profile.yml, I have this error:
When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete MYSCHEMA.mymodel, or rename it to be less ambiguous.
  Searched for: MYSCHEMA.MYMODEL
  Found: MYSCHEMA.mymodel

Another try, if a reference my database target in uppercase in profile.yml, I have this error:
When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete MYSCHEMA.MYMODEL, or rename it to be less ambiguous.
  Searched for: MYSCHEMA.MYMODEL
  Found: MYSCHEMA.MYMODEL

Thank you for your help.

I want to confirm, have you tried the 2 together i.e. ?

Enable quoting only for database
Reference database in lowercase in profile.yml ?

@Joul1285
I want to confirm, have you tried the 2 together i.e. ?

Enable quoting only for database
Reference database in lowercase in profile.yml ?

Yes I did, I have the same error as mentioned before.

@Joul1285
Could you test with the release candidate dbt-oracle==1.8.3rc1 ?
I am unable to reproduce the problem but based on my understanding I have added a fix. To test the fix, please follow the below steps:

Install dbt-oracle==1.8.3rc1

pip install dbt-oracle==1.8.3rc1

Added database entry in profile.yml in lowercase

Use quoting configuration which you had with dbt 1.7.

quoting:
  database: false

FYI - By default, quoting is disabled so you don't have to explicitly disable it.
Let me know how this goes and we will release version 1.8.3

Hello @aosingh,
I apologize, but I'm unable to install the release candidate in my company's environment as we only have access to an internal artifact repository.
However, I have reviewed the changes for this release, and it appears that it could potentially resolve the issue I'm facing. I will keep you updated if I find a way to test it or once the release is available.
Thank you for your time and assistance.

@aosingh ,
I tested version 1.8.3rc1 in my environment, and I can confirm that it fixed my problem!
I will wait for the stable release before proceeding with the upgrade.
Thank again for your time and assistance.

@Joul1285
dbt-oracle==1.8.3 is released


routesDisabled does not property bypass CSRF

Using the "routesDisabled" property in the CSRF config doesn't seem to work in testing. I'm guessing it's some sort of bug.

Hm, it passes our test...what's your CSRF config look like?

module.exports.csrf = {
protectionEnabled: 'true',
routesDisabled: '/api/link/imageCallback'
}
Essentially imageCallback is an action in my LinkController that is called from an external source via a POST. However even with this config, i'll get a CSRF Mismatch when this route is hit by the source.

Works For Me™.  Check that your route configuration is correct, and that your external source is hitting the right URL?  The CSRF Mismatch response will show up in place of 404 when CSRF is on, so you might not realize you're hitting the wrong page (or have the route misconfigured).

Ah, knowing that is interesting. Maybe it's not a CSRF Mismatch but everything works with CSRF off so that's what makes me think it's a CSRF issue.

routesDisabled just matches realpath (e.g. /users, /upload)
routesDisabled does not match  /users/:id.
@sgress454  Please improve this.

+1

@sgress454 is there a way to set a prefix like "/api" where csrf will be disabled?

@bvallelunga You could disable the built-in csrf hook and create a user hook (copy/paste/hack) that does the same job, but performs a prefix match on routesDisabled instead of full match.

this is what I have working currently
   csrfChecker: function(req, res, next) {
      var routesDisabled = sails.config.csrf.routesDisabled

      if(req.path.indexOf("/api") > -1 && routesDisabled.indexOf(req.path) == -1) {
        if(routesDisabled == "-")
          routesDisabled = req.path
        else
          routesDisabled += ("," + req.path)

        sails.config.csrf.routesDisabled = routesDisabled
      }

      next()
    },

routesDisabled does not match /users/:id.
+1

@JerryC8080 @bvallelunga @adamcoomes @fundon if one of you would like to submit a PR to the roadmap, wildcard settings is something that I could merge and publish in future version of Sails.


More good looking version of gr.html

The accentuation made the previous file look bad, because you had set uppercase for all letters in css and I had not notice it. Now looks good. You can safely merge. Thank you

thank you :)


[terra-list] Fixed focus issue when clicked on selectable item in draggable list item example

Summary
Previously, when clicking on a selectable list item in the draggable list item example, the focus was not moving to the clicked item. With this fix, the issue has been resolved, and now we are able to focus on the selected item.
What was changed:
Fixed the issue where focus is not moving to the selected item when clicked.
Why it was changed:
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-10247

Thank you for contributing to Terra.
@cerner/terra

This change should be at the component level not in an example

This change should be at the component level not in an example

Updated.


Abstractive Summarization using Deep Learning

Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific. Use keyword research to gain your article higher ranking.
Abstractive Summarization using Deep Learning
Introduction paragraph (2-3 paragraphs):
Text summarization aims at generating accurate and concise summaries from input documents. In contrast, abstractive summarization may generate novel words. A good abstractive summary covers principal information in the input and is linguistically fluent.
The Pegasus model is built using a Transformer Encoder-Decoder architecture and is ridiculously powerful when it comes to summarizing big blocks of text. In Pegasus, important sentences are removed/masked from an input document and are generated together as one output sequence from the remaining sentences. This tutorial will walk you through how use the Pegasus model to perform abstract summarization from start to finish. We will perform abstractive summarization on some Wikipedia, News and Scientific Journals documents.
Key takeaways:
What are the 3-5 most important things the reader should understand or be able to do after reading this article? Use this area to get your ideas down on the bulk of your article or tutorial.
By the end of this article, a reader should be able to:

Install Dependencies for Transformers in Python
Import and Configure the Pegasus Model
Perform abstractive summarization on Wikipedia, News and Scientific Journals

References:
Please list links to any published content/research that you intend to use to support/guide this article.

PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization

Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

I loved the topic! please @ me when we publish it. @smkinyan 🚀
Make sure it matches the following:

Adds value beyond what is in the official docs and what is covered in other blog sites.
To avoid any potential article closure, it should not overlap with any existing EngEd articles or incoming topic suggestions.

Please reference any relevant EngEd articles in yours and build a unique project - Approved.


remove offset

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Type of Change

[ ] Examples / docs / tutorials / contributors update
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Improvement (non-breaking change which improves an existing feature)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Proposed Changes

Related Issue

Closing issues

Codecov Report

Merging #111 (a235fbd) into master (1073870) will increase coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
+ Coverage   87.94%   88.03%   +0.09%
==========================================
  Files          55       55
  Lines        2521     2541      +20
==========================================
+ Hits         2217     2237      +20
  Misses        304      304

Impacted Files
Coverage Δ

etna/transforms/statistics.py
98.80% <ø> (-0.02%)
:arrow_down:

etna/models/nn/tft.py
100.00% <0.00%> (ø)

etna/models/nn/deepar.py
100.00% <0.00%> (ø)

etna/transforms/pytorch_forecasting.py
100.00% <0.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 1073870...a235fbd. Read the comment docs.

Add closes #98 to Closing issues block in PR description; it allows to close the corresponding issue automatically with PR merge


How do we unregister an Azure AD Password Protection Proxy

We recently upgraded our AAD Connect server to v2.x.  This upgrade required a swing migration because our v1.6 AAD Connect was running on Windows Server 2012.  Earlier this week, I installed the AAD PP Proxy on the new AAD Connect server and would like to unregister the old server before we decommission it.  Thus far, all of my attempts to search for a way to unregister an AAD PP Proxy have come up empty.  Oddly, several return content about the AAD Application Proxy.  Could you please add a section to this document that explains how to remove the AAD PP Proxy?
Thank you!

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

ID: 23e000f0-84ce-7ec7-e5ed-4bd9c49f5d49
Version Independent ID: e636b9d1-be81-0f00-97c4-ff4fa9078be3
Content: Deploy on-premises Azure AD Password Protection - Microsoft Entra
Content Source: articles/active-directory/authentication/howto-password-ban-bad-on-premises-deploy.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@s-gratz
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


Move FirebaseAppCheckInterop to interop-ios-for-google-sdks repo

Updated Package.swift to depend on FirebaseAppCheckInterop in interop-ios-for-google-sdks.
TODO:

Merge https://github.com/google/interop-ios-for-google-sdks/pull/10 into main.
Update CocoaPods dependencies and stage them.
Update Package.swift dependency on interop-ios-for-google-sdks to use a version range.
Remove FirebaseAppCheckInterop sources from firebase-ios-sdk.

#no-changelog

We're no longer planning to move FirebaseAppCheckInterop to a new repo; see #13263 for more details.


See Also Section has 404 Page Not Found link -

404 Page Not Found link in See Also section
Link Text: Developer documentation: table relationship eligibility
Link: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/table-relationship-eligibility

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

ID: 84a3a442-7dd0-3da9-66c8-e616a1e0e86b
Version Independent ID: bb757754-a61d-e231-f48f-f1cfbadf616a
Content: Create many-to-many table relationships in Microsoft Dataverse overview - Power Apps
Content Source: powerapps-docs/maker/data-platform/create-edit-nn-relationships.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @Mattp123
Microsoft Alias: matp

@piperk - Thank you for bringing this to our attention. The link has been fixed and will be published live today.
Closing issue.


mask_for_loop_tail produces scalar code

I think that mask_for_loop_tail calculates the mask via scalar code, which is then assembled into a mask vector. (I checked with AVX2.) Using iota() instead of calculating the mask element-by-element should prevent this.

The Python that generates this operator is:
def mask_for_loop_tail(simd_ext, typ):
    if typ == 'f16':
        fill_n = '''n.v0 = {pre}set1_ps((f32)({in1} - {in0}));
                    n.v1 = n.v0;'''.format(**fmtspec)
    else:
        fill_n = 'n = nsimd_set1_{simd_ext}_{typ}(({typ})({in1} - {in0}));'. \
                 format(**fmtspec)
    return '''if ({in0} >= {in1}) {{
                return nsimd_set1l_{simd_ext}_{typ}(0);
              }}
              if ({in1} - {in0} < {le}) {{
                nsimd_{simd_ext}_v{typ} n;
                {fill_n}
                return nsimd_lt_{simd_ext}_{typ}(
                         nsimd_iota_{simd_ext}_{typ}(), n);
              }} else {{
                return nsimd_set1l_{simd_ext}_{typ}(1);
              }}'''.format(fill_n=fill_n, **fmtspec)

So it should use iota, but iota is done with a load on AVX2 as we did not found a more clever way but it does not seem to use a for loop with scalar code: https://godbolt.org/z/5a9K8Wf99
Godbolt assembly:
foo(int, int):
        vxorps  xmm0, xmm0, xmm0
        cmp     edi, esi
        jge     .L1
        sub     esi, edi
        cmp     esi, 7
        jg      .L3
        vxorps  xmm0, xmm0, xmm0
        vcvtsi2ss       xmm0, xmm0, esi
        vbroadcastss    ymm0, xmm0
        vcmpps  ymm0, ymm0, YMMWORD PTR .LC0[rip], 30
        ret
.L3:
        vxorpd  xmm0, xmm0, xmm0
        vcmppd  ymm0, ymm0, ymm0, 0
.L1:
        ret
.LC0:
        .long   0
        .long<PHONE_NUMBER>
        .long<PHONE_NUMBER>
        .long<PHONE_NUMBER>
        .long<PHONE_NUMBER>
        .long<PHONE_NUMBER>
        .long<PHONE_NUMBER>
        .long<PHONE_NUMBER>

I cannot reproduce the original problem any more. I changed my code in the mean time, and I always end up with vectorized code as you show above.