Network.disconnect_peer() will terminate client connectivity before any rpc() calls can happen.

Tested versions

This is reproducible in v4.2.stable.official [46dc27791]

System information
Godot v4.2.stable - macOS 14.2.0 - Vulkan (Forward+) - integrated Apple M2 Pro - Apple M2 Pro (10 Threads)
Issue description
When building a dedicated server (in this case a gateway) you will typically send an RPC call to a client with some response, such as a login response, and then disconnect the client. If you perform this function in Godot, the rpc_id call to the client will never be sent as the network.disconnect_peer() will terminate the client before the rpc call happens
Steps to reproduce
Create a method where an rpc_id(client_id) is sent to a client followed immediately by a network.disconnect_peer(client_id). The disconnected peer will never receive the rpc call.
@rpc("any_peer", "call_local", "reliable")
func return_login_response( player_id, result ):
print("Sending login response to client %d" % player_id )
rpc_id(player_id, "return_login_response", player_id, result )
network.disconnect_peer(player_id)
Minimal reproduction project (MRP)
The reproduction steps are not project dependent (e.g. the bug is visible in a brand new project)
N/A

this issue is really annoying, hopefully will be fixed soon

@kurayamiblackheart Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.

Can confirm that using the await keyword on the rpc call does not resolve this. Additionally, the issue persists with regular rpc calls, not just rpc_id.

Maybe my problem is related
I subscribe to client disconnections on the server.
peer.peer_disconnected.connect(server_connection.on_peer_disconnected

When peer_disconnected is triggered I want to updae all other clients about the new state of connected clients.
func on_peer_disconnected(peer_id: int) -> void:
	print("Server - Peer disconnected %s done" % peer_id)
	await get_tree().create_timer(5).timeout # <- Without this error below
	rpc_player.rpc("players_changed", ConnectedPlayers.serialize_connected_players())

Without the timeout I always get the error in the rpc call
E 0:00:07:0172   ServerConnection.gd:22 @ on_peer_disconnected(): Parameter "peer" is null.
  <C++ Source>   modules/enet/enet_packet_peer.cpp:60 @ send()
  <Stack Trace>  ServerConnection.gd:22 @ on_peer_disconnected()


[VS Code] connect ENOENT /tmp/CoreFxPipe_c54c1c2122ed4397b51dd94e72760814

Error:
connect ENOENT /tmp/CoreFxPipe_c54c1c2122ed4397b51dd94e72760814
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.472

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.25.1

platformName
Linux

platformVersion
4.15.0-29-generic

@dexiouz Thanks for reporting this issue. Can you please get the logs by running the Live Share: Export Logs command from VS Code command palette. The command will ask you for the zip file location, and will save the logs into that file. You can then attach the file to the issue.


Add regression test for ink! issue #364

We should add a regression test for https://github.com/paritytech/ink/issues/364 to the waterfall.

I'm closing this since Alex added the regression test to the Rust compiler itself in https://github.com/rust-lang/rust/pull/88482.


Is it possible to add a custom layer without much change in the whole app?

Hello.
I'm looking foward to develop a spark-powered backend for greater data analysis that will work together with the awesome kepler.gl visualization facilities.
Since a documentation that fullfil this kind of question could be huge, I'm opening this issue (sorry if isn't the right place) to ask if it's possible to make a custom layer that will fetch the data from the backend without much impact in the rest of the app...
Thanks

Maybe if you have interest in cooperation, I think a powerful backend is a nice improvement on kepler.gl...

The layer is intended to be independent, each of them is a subclass of the base-layer class. It should n't be that hard to add a custom layer. We will create an example. But creating a custom layer requires basic understanding of how layer cycle works, at the time, we don't have the band-width to document it.
May  I ask what type of custom layer do you want to create. Also why it has anything to do with a spark-powered backend?

Thanks for the answer. Is these layer cycle related to the deck.gl API?
Sure you may. The layer will probably be simple, it will just need to gather the data from backend instead. One of the first will probably get the kmeans data and plot the clusters/dots to the map. Just a test.
Further, we will add more resource intensive algorithms. Spark will probably be neede when aiming for big datasets. We choose Kepler because it does a good job when visualizing the data, it's fast and beautiful.


when using outputModule library entry files may export additional names

Bug report

What is the current behavior?
The ModuleChunkFormatPlugin may create arbitrary file-level names when formatting an ESM chunk.
https://github.com/webpack/webpack/blob/31bd6a2d26308c63dfda8d0744139e6211a02fd2/lib/esm/ModuleChunkFormatPlugin.js#L58-L74
In all cases this has the potential to cause some name shadowing issues because the names are common words.
When a chunk is a library entrypoint and also uses a separate runtime chunk, this can cause a SyntaxError due to name collision.
Export statements in the user's code attempting to export the names id, ids, or modules will collide with the formatter's names at the file level.
If the current behavior is a bug, please provide the steps to reproduce.
input files
// webpack.config.js
import path from "node:path";
export default {
  experiments: { outputModule: true },
  entry: "./src/index.js",
  output: {
    library: { type: "module" },
    path: path.resolve(import.meta.dirname, "dist"),
  },
  optimization: {
    runtimeChunk: 'single', // any value other than `false`
    minimize: false, // for legibility. no effect
  },
};

// src/index.js
export const id = "collision";

output file
// dist/main.mjs
export const id = 792; // this is the template's generated export of id
export const ids = [792];
export const modules = {

/***/ 173:
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   id: () => (/* binding */ id)
/* harmony export */ });
const id = "collision";

/***/ })

};
;

// load runtime
import __webpack_require__ from "./runtime.mjs";
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
import * as __webpack_chunk_0__ from "./main.mjs";
__webpack_require__.C(__webpack_chunk_0__);
var __webpack_exports__ = __webpack_exec__(173);
var __webpack_exports__id = __webpack_exports__.id;
export { __webpack_exports__id as id }; // this duplicated export of `id` is a `SyntaxError`

What is the expected behavior?

ModuleChunkFormatPlugin should not use names that are at high risk of collision
Emitted library entry files should not export names unless requested by the developer

Additionally, it seems strange that the output file imports itself, but that doesn't seem to cause a problem.
The example given is a minimal reproduction. I encountered this while working on some complex codesplitting for a browser extension. Maybe the runtime chunk feature is not intended to be combined with the library feature, but i didn't see that suggested anywhere.
Other relevant information:
webpack version:  5.96.1
Node.js version: 23

Could you please assign this issue to me?

Yeah, let's fix and use __webpack_id__ and __webpack_ids__

Yeah, let's fix and use __webpack_id__ and __webpack_ids__

this is simple to change but it would definitely break chunk consumption across versions
questions,
am i correct in understanding that, chunk formats are/should be capable of consuming each other? is this related to the __esModule name i see in some places?
presently the names may be created even when a chunk is not consumed by another chunk or a runtime. such as when a file

represents a 'side-effectful import' that defines no exports, and runs immediately at the top level of the file
is an application entry file
is a library entry file for use by non-webpack importers

it seems like some other chunk formats only emit things conditionally, but i don't understand all the requirements. are there any docs on this?

this is simple to change but it would definitely break chunk consumption across versions

yes, because es modules are all experimental and we recommend using them [cotententhash] (for applications), it should not be a problem to change.

am i correct in understanding that, chunk formats are/should be capable of consuming each other? is this related to the __esModule name i see in some places?

technically yes, chunks in ESM format are able to consume each other of different builds (within one version of webpack, which is guaranteed, it will work for different versions in most cases, but we can change the runtime logic and it may break, but this happens extremely rarely), the minimizer will delete these things if they were not used, but to be honest I don't think it is used by many and I don't think we should really support this
We should add more tests for such cases...
In any case, use the prefix __webpack_id__ and __webpack_ids__ is worth using because technically we avoid IIFE using scope analyzer and try to concatenate modules, but it analyzes only your code and doesn't analyze runtime generated code (we assume that it will never have collisions) and if you have id variable in entry modules, we will have collision.
So I would say there are two problems here:

collisions, let's fix it using webpack prefix, because this may happen not only for the initial chunk
avoid generation id and ids for initial chunks

Also we have type: "modern-module" - https://webpack.js.org/configuration/output/#type-modern-module

@turbocrime looks like we already fixed it https://github.com/webpack/webpack/pull/18937

Just not released

Additionally, it seems strange that the output file imports itself, but that doesn't seem to cause a problem.

This is expected because this is how optimization.runtimeChunk works. We need to put modules in runtime __webpack_modules__ and mark a chunk was loaded.

Emitted library entry files should not export names unless requested by the developer

This is a library if you wrote top level export it will be exported.


Add documentation about interceptNetwork

Related to: https://github.com/waldoapp/webapp/issues/5438#issuecomment-2455107591

Also missing: the capabilities are a type inside the repository and should have the new field added and documented there too.


Improve compatibility with non-linux systems

There were a few instances where sed was used with patterns that are incompatible with non-gnu sed. The whitespace character classes \s and \S were changed to   and [^ ] respectively. This could use [[:space:]] and [^[:space:]] instead to be even more robust, but I saw no need.
Input to sed was being piped in with echo, which isn't necessarily a problem, as in bash and zsh echo is a shell builtin, BUT there was one instance where echo was hardcoded as /usr/bin/echo, which uses the external command. This is not present on some systems or in a different location. As a solution, I just changed all the usages of echo to use a here-string which removes the need for the pipe and negates any concern with cross-compatibility.

Thanks!


realize setAttributes on ActiveRecord

When I used yii2 to create my website, I used gii to create CRUD. And I found that setAttributes would be called when calling $model->load(), but setAttributes had not been realized in yii\db\ActiveRecord.
I don't know if it is necessary to realize setAttributes by myself like this:
public function setAttributes($values) {
	foreach ($values as $key => $value) {
		$this->setAttribute($key, $value);
	}
}

Or should I provide this realization in a pull request for this?

It uses setAttributes from base class \yii\base\Model: https://github.com/yiisoft/yii2/blob/master/framework/base/Model.php#L656

I misunderstood the structure before. lol


Very good project, hope to continue to improve the documentation.

Very good project, hope to continue to improve the documentation.

The document is being perfected, but only chinese are supported for the time being
http://ikende.com/doc/


1.0 First Release

Waiting for 1.7 release for
https://github.com/Carleslc/Simple-YAML

@rultor release tag is 1.0

@rultor release tag is 1.0

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 1.0

@portlek Done! FYI, the full log is here (took me 7min)


Separate API/service from plugin

I suggest separating the pure API/PlaceholderSercive from the real plugin. Then the dependency would look like this: com.github.rojo8399.PlaceholderAPI:api:SNAPSHOT or com.github.rojo8399.PlaceholderAPI:api:v4.0. I can do this in a PR if you want to.

As in, split it into two branches, two package subsystems, or two separate projects? If you could do a simple PR so I can see what you want to see I will try to match all parts of the API that need to be visible to it.

Ok so I have tried testing what you did with Holograms, the com.github.randombyte-debeloper.holograms:holograms-api:v2.1.1, and several different iterations of that, and none of them worked. As far as I am concerned, splitting this API into two projects is not worth the time; splitting into two branches goes against how branches should work (as separate versions of the same project); and splitting into two package subsystems offers little to no change. I will likely move the API part of the plugin to its own package, but beyond that I don't believe is necessary nor supported by Jitpack.


More robust support for revision ranges

This is the first step in adding greater support for revision ranges (see #561). Currently, only log supports revision ranges, it only supports specific kinds (single tip includes and excludes), and only in very limited formats ("git log include" or "git log include ^exclude"). With this PR, log now supports any number of single tip includes or excludes, in any order, as real git does.
This PR also introduces support for the "rev-list" command, which uses the same revision range capability. In addition to increased git compatibility, the rev-list command also provides much simpler output with which to test the output ordering of revision ranges.
Compatibility Note: this PR changes the output ordering of the log command. The previous ordering was essentially a breadth-first search. The new ordering follows the git default, which is based on commit date.

Pushed the site with these changes, it should be live :)


Use new list format in the GTN

As preparation for GCC this training is updated to explain the usage of the new tool_status.tsv format as in:  https://github.com/galaxyproject/galaxy_tool_metadata_extractor/blob/main/data/communities/microgalaxy/tool_status.tsv

ping @bebatut

Can we merge this before GCC, any comments @bebatut ?


Use the stdlib instead of atty

https://github.com/apollographql/router/issues/3809
The apollo-router-scaffold crate currently depends on clap version 2.34.0 which depends on the atty crate which has potential unsoundness and is unmaintained. Upgrading clap to version 4.4.2 (same as the apollo-router depends on) would remove atty from the workspace entirely.

@o0Ignition0o : In my local fork, I quickly tried using clap version 4.4.x, it seems to work fine. Related: When we move to clap version 4.x, we may need to get rid of the structopt. Does that make sense?
I can take a shot at this.

Yes it would make sens to get rid of the structopt since it's included in clap now


Replace Admin Page Collapsible Sections with Tabs?

I think we should replace the collapsible sections on the admin page with tabs at the top so that admins don't have to scroll around so much to go from, for example, suggestions, to activity.
┆Issue is synchronized with this Trello card by Unito

Sounds great!

I'm going to do this as part of introducing new models to admin.

Done with #128


Update the outdated file ja/docs/concepts/scheduling-eviction/assign-pod-node.md

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Update the outdated file ja/docs/concepts/scheduling-eviction/assign-pod-node.md
Which issue(s) this PR fixes:
Fixes #26879
Special notes for your reviewer:
The following had already been updated
https://gist.github.com/inductor/e755e6f71da41da0c8a78ee65d20f72c#file-en-diff-L28-31
Does this PR introduce a user-facing change?:
NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/assign @inductor

/lgtm


Update packaging to use flit with pyproject.toml

Update packaging to use flit with pyproject.toml as setup.py is deprecated
Package can be built and pushed to pypi using the command:

flit publish

Requires:
pip3.9 install flit

how does project.toml work with creating venvs? I got used to doing -r requirements.txt for when I need a venv for FIM development.

Virtual environment can be created as below by passing the path to the project.
Usage:
 -a project_path

    Provide a full path to a project directory to associate withthe new environment.

Example for CF:
mkvirtualenv -a . cf-env


prediction time goes up gradually

I followed this tutorial to retrain Mobilenet and i am calling the Predict() function in a loop. I printed out the how much time it takes one prediction to happen and it starts around 0.6 seconds and goes up gradually. My PC specs are i7 4790, GTX 1070, 16 GB RAM.
Here's the python script using the model.
def load_graph(model_file):
  graph = tf.Graph()
  graph_def = tf.GraphDef()

  with open(model_file, "rb") as f:
    graph_def.ParseFromString(f.read())
  with graph.as_default():
    tf.import_graph_def(graph_def)

  return graph

def read_tensor_from_image_file(file_name, input_height=299, input_width=299,
                input_mean=0, input_std=255):
  input_name = "file_reader"
  output_name = "normalized"
  file_reader = tf.read_file(file_name, input_name)

  image_reader = tf.image.decode_jpeg(file_reader, channels = 3,
                                        name='jpeg_reader')
  float_caster = tf.cast(image_reader, tf.float32)
  dims_expander = tf.expand_dims(float_caster, 0)
  resized = tf.image.resize_bilinear(dims_expander, [input_height, input_width])
  normalized = tf.divide(tf.subtract(resized, [input_mean]), [input_std])
  sess = tf.Session()
  result = sess.run(normalized)

  return result

def load_labels(label_file):
  label = []
  proto_as_ascii_lines = tf.gfile.GFile(label_file).readlines()
  for l in proto_as_ascii_lines:
    label.append(l.rstrip())
  return label

model_file = "tactic-model//retrained_graph.pb"
label_file = "tactic-model//retrained_labels.txt"

graph = load_graph(model_file)
labels = load_labels(label_file)

def Predict(file_name):

  input_height = 224
  input_width = 224
  input_mean = 128
  input_std = 128
  input_layer = "input"
  output_layer = "final_result"

  t = read_tensor_from_image_file(file_name,
                                  input_height=input_height,
                                  input_width=input_width,
                                  input_mean=input_mean,
                                  input_std=input_std)

  input_name = "import/" + input_layer
  output_name = "import/" + output_layer
  input_operation = graph.get_operation_by_name(input_name);
  output_operation = graph.get_operation_by_name(output_name);

  with tf.Session(graph=graph) as sess:
    results = sess.run(output_operation.outputs[0],
                      {input_operation.outputs[0]: t})
  results = np.squeeze(results)

  index, Value = max(enumerate(results), key = operator.itemgetter(1))

  return labels[index]

@Zehaos Hi i get the same issue above @br3ach3r  mentioned. could you please correct us if we are doing something wrong ?

I'm having this issue too. I think it's related to a growing graph every time the 'read_tensor_from_image_file' function is called. I found this question on StackOverflow. The posted solution there doesn't work for me, but may help someone else.

@pjjml i fixed the issue. Follow my instructions.

Remove with tf.Graph().as_default(): and replace it with tf.reset_default_graph()
Again add tf.reset_default_graph() right before the return result

this worked for me :) good luck mate


Refactoring stabilization

Description of the problem

In the current version of Lethe, the solver hard-codes the stabilization mechanism. The GD solver uses a grad-div stabilization and LBB stable elements while the GLS solver uses PSPG/SUPG stabilization. This PR introduces a mechanism which allows  more freedom in that respect

Description of the solution

Introduce a stabilization parameter and introduce also a real GLS stabilization. The default stabilization is still the old PSPG/SUPG, but the full GLS can also be used. It seems to be pretty good for order 2 and +. Not sure, but still.

How Has This Been Tested?

I added a unit test for this.

Documentation

[x] Still needs to be done

Future changes

As some projects move forward, we may introduce additional (or different) stabilized solvers. With this PR,  it is easy to do.

Comments
One issue I have found is that the PSPG/SUPG and GLS are currently not coherent with the block solver, that is they just don't converge. I don't know why. Clearly a rework of the block solver will be in order this summer. I am also not very happy about the code duplication for the GLS and the PSPG/SUPG solvers, but I felt like this was pretty much the only place where they could be seperated.
I also need to do more work on assembly, maybe again this summer.

Very nice PR. I don't see any specific modification to bring. On a more general note, would it be interesting to put the stabilization terms in their own assembler and avoid duplication of code for the Navier-Stokes equations in each assembler?

Yeah, I would love to do that eventually. Just not sure exactly on how to do it. Maybe templace the core assembler with the stabilization type? Right now the idea is that we could have really messed up stabilization that require different shenanigans, hence the duplication. I'm not a fan of it...

I added the documentation for the stabilization :)!. Thanks for the reviews folks


(feat): Adding Crd validation for components.runner ( minProperties =2)

Signed-off-by: shubhamchaudhary<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Checklist:

[ ] Fixes #
[ ] Labelled this PR & related issue with documentation tag
[ ] PR messages has document related information
[ ] Labelled this PR & related issue with breaking-changes tag
[ ] PR messages has breaking changes related information
[ ] Labelled this PR & related issue with requires-upgrade tag
[ ] PR messages has upgrade related information
[ ] Commit has unit tests
[ ] Commit has integration tests

Was more of a CR level validation, but this change is harmless too.

Not needed, specifying "go" without this PR, will also spawn chaos-runner

Additional (combinatorial) validation will be handled by the validation admission controller.


Add story with list row demo

Griddle major version
1.x
Changes proposed in this pull request
Adds story from GriddleList in the Griddle docs.
Why these changes are made
Trying to prove https://github.com/GriddleGriddle/Griddle/issues/668

This is a good thing to have a story for and nice to not have to rely on docs to see this in action. Thanks!


Support Sentry 2.x with the new Monolog Handler

RavenHandler has been deprecated on Monolog, in favor of Sentry's own Monolog Handler that is shipped with sentry/sentry.
So we should support this handler for sentry 2.x.

See https://github.com/getsentry/sentry-php/pull/808
I'll try to work on that when I get a bit of time (you're welcome to pick it up before though :joy: )


TILA-565 Add admin info to application round.

I'll leave this open here, if something more is needed, let's close this and implement more stuff.

👍


[BACKLOG-38412] Added Chinese

:white_check_mark: Build finished in 7m 33s
Build command:
mvn clean verify -B -e -Daudit -amd -pl pentaho-mongodb-plugin

:ok_hand: All tests passed!
Tests run: 135, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Same word repeated twice

[Enter feedback here]
The word Primary was repeated twice in the question What is a primary key?

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

ID: 75154d08-47ff-fa53-1dab-73f67208a864
Version Independent ID: dcb50b3c-b00b-cee8-3dfe-7f5636483f0b
Content: Frequently asked questions on different APIs in Azure Cosmos DB
Content Source: articles/cosmos-db/faq.md
Service: cosmos-db
GitHub Login: @SnehaGunda
Microsoft Alias: sngun

@komandurikc Thank you for closing the issue. Please let us know if you have any questions.


Parse exception when using %

Describe the bug:
Using a percent sign (%) anywhere in the prompt produces a parse exception. It appears related to a (new?) wrap command. I cannot find any documentation for the wrap command and this exception now prevents any other extensions or scripts from using the percent sign without breaking Dynamic Prompts. This has always been the case for the dollar sign ($).
*** Error running process: X:\Automatic1111\webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
Traceback (most recent call last):
File "X:\Automatic1111\webui\modules\scripts.py", line 784, in process
script.process(p, *script_args)
File "X:\Automatic1111\webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 481, in process
all_prompts, all_negative_prompts = generate_prompts(
File "X:\Automatic1111\webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\helpers.py", line 93, in generate_prompts
all_prompts = prompt_generator.generate(prompt, num_prompts, seeds=seeds) or [""]
File "X:\Automatic1111\webui\venv\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 67, in generate
gen = self._context.sample_prompts(template, num_images)
File "X:\Automatic1111\webui\venv\lib\site-packages\dynamicprompts\sampling_context.py", line 119, in sample_prompts
command = parse(prompt, parser_config=self.parser_config)
File "X:\Automatic1111\webui\venv\lib\site-packages\dynamicprompts\parser\parse.py", line 557, in parse
tokens = get_cached_parser(parser_config).parse_string(
File "X:\Automatic1111\webui\venv\lib\site-packages\pyparsing\core.py", line 1197, in parse_string
raise exc.with_traceback(None)
pyparsing.exceptions.ParseException: Expected end of text, found '%'  (at char 0), (line:1, col:1)
Local Install, Version 2.17.1 of the WebUI extension, dynamicprompts library Version 0.31.0
Expected behavior:
Parsing of percent and dollar signs not conforming to Dynamic Prompts syntax should be handled gracefully, leaving them in place, and allowing Dynamic Prompts to continue without the exception

Please show the prompt you're using.
You're right the wrap command is new; it's documented here.


⚠ Bofrost.de has degraded performance

In 457e615, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1074 ms

Resolved: Bofrost.de performance has improved in c98cddd after 13 minutes.


Drug term search-ahead not acting as expected

In the add EID and add AID forms, putting in the text for Trastuzumab does not get to the desired drug Trastuzumab as it does in v1.5 seen below:

In V1.5

This was already reported in #338 and fixed in #339


Enter key does not accept the suggestion.

Type: Bug
I am working on nextjs project. This happened with me since last few updates that I can't accept the top suggestion from intellisense. It shows me suggestions among which I can select the one using mouse or the arrow keys (including top suggestion). But Before last few updates I did not need to use the arrow key to first select the suggestion and then press enter to put it into my code.
I have seen this happening with some other developers using react, nextjs or other javascript stuff.
I am also working with python but this problem does not seem to be there.
Thanks & Regards
Qurashi Akeel
Hope you will solve the issue in next update (soon).
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T09:55:48.214Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.08GB free)

Process Argv
--crash-reporter-id 152d0b81-8abf-4c4c-953f-9172f0fd1b11

Screen Reader
no

VM
0%

Extensions (28)

Extension
Author (truncated)
Version

better-comments
aar
3.0.2

codesnap
adp
1.3.4

astro-vscode
ast
0.28.2

blackbox
Bla
0.10.19

vscode-tailwindcss
bra
0.9.7

postcss
css
1.0.9

vscode-mysql-client2
cwe
6.3.1

vscode-eslint
dba
2.4.0

es7-react-js-snippets
dsz
4.4.3

prettier-vscode
esb
9.10.4

auto-rename-tag
for
0.1.10

fluent-icons
mig
0.0.18

vscode-docker
ms-
1.24.0

isort
ms-
2022.8.0

python
ms-
2023.4.1

vscode-pylance
ms-
2023.3.40

jupyter
ms-
2023.2.1200692131

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.282.0

indent-rainbow
ode
8.3.1

material-icon-theme
PKi
4.23.1

vscode-data-table
Ran
1.12.0

vscode-rapidapi-client
Rap
1.9.3

html-to-jsx
ria
0.0.1

LiveServer
rit
5.7.9

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
vsctsb:30677850
pythonb192:30669360
azdwalk:30687957
pythonms35:30701012

Enter does not accept the suggestion instead moves to next line in my nextjs, react, js projects.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Inconsistent apiVersion comments in two nginx Deployment yaml files.

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
PR #5920 updated a nginx deployment yaml file w/ 1.8 version, but did not override the comment for the same entry in another file using 1.7 version.
Proposed Solution:
Update the file mentioned below, and check if there are other possible inconsistencies in the repo.
Page to Update:
https://github.com/kubernetes/website/blob/master/docs/concepts/overview/working-with-objects/nginx-deployment.yaml#L1

Closed by #6187.


How to unit test code that uses IsDefined() when the local instance throws Exception?

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Try to use IsDefined() in a unit test.
Expected behavior
A clear and concise description of what you expected to happen.
IsDefined() to not be internal or default to return true when on the client
Actual behavior
IsDefined throws " throw new NotImplementedException();"
Environment summary
SDK Version:
OS Version (e.g. Windows, Linux, MacOSX)
Additional context
Once again the lack of exposing classes and stuff to be testable.
https://github.com/Azure/azure-cosmos-dotnet-v3/blob/7c6a2c0829de17dbf8102050d8dc6b36cfbe8f2e/Microsoft.Azure.Cosmos/src/TypeCheckFunctionsExtensions.cs

@d1820 can you provide an example scenario you are trying to test so we can better understand the scenario? We've done a lot to make the v3 unit testable.

ill try and get some time tonight to send over a test.. thanks

@d1820 any chance this is in the v2 SDK? I just noticed that this is internal for v3.

Ugh, correct it was v2 sorry i thought we had completed our upgrade.

How to overwrite the TypeCheckFunctionsExtensions so they can be used in Unit Tests (with in memory "storage")?


Replace Goerli network with Sepolia in the test TestBlockTransactionCount

This PR is fixing the issue #1792, includes making a copy of necessary testdata used from the goerli directory to the sepolia directory.

Ok, I will do that for both PR\s, thanks for the links and the feedback!


Have buildkite-agent install a systemd template for instances.

I comment on this in buildkite/docs#46 as well, but this is a change which would have buildkite-agent install a systemd 'template' unit, which would allow users to start additional agents by simply running:
sudo systemctl start buildkite-agent@2
sudo systemctl start buildkite-agent@3
sudo systemctl start buildkite-agent@arbitrary-string
...

Note how the user doesn't have to copy the unit file in order to spawn multiple workers.
Note that they can be stopped or monitored en-masse by using (for example):
sudo systemctl status 'buildkite-agent@*'
This also has the advantage that the<EMAIL_ADDRESS>file can be version controlled/package managed by buildkite-agent, which the currently suggested ad-hoc copies (buildkite-agent-2.service, etc.) cannot.
In this pull request I leave the original 'buildkite-agent.service' around for compatibility reasons.

If someone has more time than me, note that systemd substitutes the string %i for the arbitrary string after the @ sign in the instance name, so that could be used to name the buildkite-agent instances for display purposes on buildkite.com.
(i.e. systemctl start buildkite-agent@cheesecake => %i == 'cheesecake' inside of<EMAIL_ADDRESS>

Thanks for the PR @tekacs! @sj26 is our local systemd expert, so I'll let him review this one :)

Related: https://github.com/buildkite/docs/pull/46 and https://github.com/buildkite/docs/pull/40

Thanks for the contribution @tekacs! Sorry for the late response.
We're already doing something very similar for our ops agents: https://gist.github.com/sj26/bccfac9142bf804113b4c1f4026d105a
I'd love to do as you say and make this the recommended way to do things, i.e. add an /etc/systemd/buildkite-agent.service like this one to override the default which has dependencies on instances of a packaged template.
We'll need to add some docs here before we merge. I'll take a look when I can and keep you updated.

@sj26 do these docs suffice for us to be able to merge this in? https://github.com/buildkite/docs/pull/40 and https://github.com/buildkite/docs/pull/46

Not quite. I think we should include a service instance template with the agent, but not enable it by default, then recommend overriding the main service in /etc/ with something invoking the service instances if you wish. I'll draft up a PR.

Thanks, I've rebased and merged this with some additions! 💖


Link broken

[Enter feedback here]
External link to Commvault gives a 404.
Commvault Azure Architecture Guide
Not sure what link it should be now.

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

ID: 98bcd1cc-d7ac-25e9-f5b6-681369601a07
Version Independent ID: 888b5290-587b-f9cd-342d-15255acef291
Content: Back up your data to Azure with Commvault - Azure Storage
Content Source: articles/storage/solution-integration/validated-partners/backup-archive-disaster-recovery/commvault/commvault-solution-guide.md
Service: azure-storage
Sub-service: storage-partner-integration
GitHub Login: @karauten
Microsoft Alias: karauten

@briansaxbergMSFT
Thanks for your feedback! We will investigate and update as appropriate.

@briansaxbergMSFT
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Migrated to Travis Matrix for 2.X

Filed issue with travis here:
https://github.com/travis-ci/travis-ci/issues/4904


google charts - not working with turbolinks

Hello,
Thanks a lot for your help..
I am trying to understand the problem with the following jquery library, google charts - Region GeoCharts
https://developers.google.com/chart/interactive/docs/gallery/geochart
Basically I have 2 js file which do not run on turbolinks load (the google charts work on browser refresh).
The problems is from the following files and I am trying to find out the jquery event handler to replace with turbolinks.
https://www.gstatic.com/charts/loader.js
and the following js script. I am also investigating .setOnLoadCallback()
google.charts.load('current', {'packages':['geochart']});
google.charts.setOnLoadCallback(drawRegionsMap);

function drawRegionsMap() {

  var data = google.visualization.arrayToDataTable([
    ['Country', 'Popularity'],
    ['Germany', 200],
    ['United States', 300],
    ['Brazil', 400],
    ['Canada', 500],
    ['France', 600],
    ['RU', 700]
  ]);

  var options = {};

  var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));

  chart.draw(data, options);
}

https://github.com/kossnocorp/jquery.turbolinks/issues/56


Question: can this be used for cropping images?

If so, what is needed to be done?

Whether this library is suitable as the basis for an image cropping tool is dependant on how you want it to work. I'd imagine it will help in some cases, but you will need to decide for yourself. I can fix bugs but can't help developers build their apps, sorry!

I was just wondering if I can use it somehow.
Maybe take the current content of what's shown..
Anyway, thank you .


Tracked shapes returned by rest api are not interpolated

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour
I expect the rest api endpoint GET /jobs/{id}/annotations to return all tracked shapes, both the ones with keyframe=True and keyframe=False (interpolated).
Current Behaviour
The rest api endpoint GET /jobs/{id}/annotations currently only returns tracked shapes that have keyframe=True and not the interpolated shapes with keyframe=False.
Possible Solution
Call the get_interpolated_shapes() function before returning results in the rest API.
Steps to Reproduce (for bugs)

Create a task with a few images.
Create a track, with a keyframe in the first and last frame (but not the inbetween frames).
Call the GET /jobs/{id}/annotations endpoint and look at the results.

Context
I'm working on a tool to keep track of our training samples. The tool can create new annotation tasks, and import the annotations when the annotator is done with the task. I use the rest API to interact with CVAT.
My temporary solution is that I have copy pasted the get_interpolated_shapes() function from the cvat source code into my own project and I call it myself on the results of the rest api.

@ErikOrjehag
You are right, CVAT doesn't store interpolated shapes, they are computed when necessary (for example when dumping annotations or exporting a dataset). It is not a bug.
Storing all in the database would be overkill as well as if CVAT computed them during any server request /jobs/{id}/annotations, job loading would be extremely slow.

@ErikOrjehag
You are right, CVAT doesn't store interpolated shapes, they are computed when necessary (for example when dumping annotations or exporting a dataset). It is not a bug.
Storing all in the database would be overkill as well as if CVAT computed them during any server request /jobs/{id}/annotations, job loading would be extremely slow.

@bsekachev Thanks for the reply :) I see, so it's not a bug. Do you think it's valid as a feature request to have an endpoint (or flag on this endpoint) that does interpolate the tracks? It would be really great for my use case, and I imagine that others might have a similar use case. Basically exporting the dataset annotations but not to a file.

@bsekachev Thanks for the reply :) I see, so it's not a bug. Do you think it's valid as a feature request to have an endpoint (or flag on this endpoint) that does interpolate the tracks? It would be really great for my use case, and I imagine that others might have a similar use case. Basically exporting the dataset annotations but not to a file.

Awesome 🙂

Awesome 🙂

Just export annotations in one of formats to get interpolated frames. I do not think we need to have a boolean flag in API methods used internally.


doc: add documentation for pci_device tool

Coverage remained the same at 76.167% when pulling 447832fd050c3db10f83df9e4aa3df294aaa70cc on rrojo/pci_device_doc into 321c8027d56f236fb9f42af5d26de4c84fdedb81 on master.

Coverage remained the same at 76.167% when pulling 447832fd050c3db10f83df9e4aa3df294aaa70cc on rrojo/pci_device_doc into 321c8027d56f236fb9f42af5d26de4c84fdedb81 on master.


Hold onto the GIL in dealloc functions

When a child thread triggers __dealloc__ as part of a thread being
joined, the thread is already considered to be "joined", and so
releasing the GIL can allow the main thread to proceed to exit,
which introduces shutdown race conditions/memory leaks.
This fixes #7090.

Woah wat. I guess I'm okay with this approach, but does this kind of nonsense happen even if the relevant non-main Python thread is not marked daemon?

(LGTM in any case - just curious)

@soltanmm
Yes, this occurs for non daemon threads.  The issue is that the Python thread is considered to be "inactive" (from a threading.py perspective) before the underlying pthread has actually finished all the python memory cleanup.
If the thread is still active when the interpreter exits, then we get the nice behavior of non daemon threads because the python memory cleanup for that thread ends up occurring on the main thread.

... wow. I guess it makes sense that it'd deinit the Python thread state and then there'd be some time between then and thread shutdown, but... having any kind clean-up without then re-acquiring the GIL sounds insane. And the GIL shouldn't get reacquired without having an initialized thread state (at least from the C API - I'unno if CPython goes cheaty-face internally e.g. in PyThreadState_Delete), so the only sane thing that's occurring to me isn't consistent here...
Or maybe __dealloc__ isn't always called within __del__? But that also sounds weird.
I can reiterate that I don't mind the change - it looks safe, I just wish I knew what the heck was going on underneath the hood.


python3 setup.py install --yes USE_AVX_INSTRUCTIONS error

face_recognition version:
Python version:3.6
Operating System: ubuntu linux
hello
i followed this commands in this link
but when it comes to the command :  python3 setup.py install --yes USE_AVX_INSTRUCTIONS
rawan@rawan:~/dlib$ python3 setup.py install --yes USE_AVX_INSTRUCTIONS

it gives me this error
running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/test-easy-install-3065.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/local/lib/python3.6/dist-packages/

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

  https://setuptools.readthedocs.io/en/latest/easy_install.html

Please make the appropriate changes for your system and try again.

what is the problem ?? any solutions ?

The error message exactly decribes the problem and how to solve it :-)
Try this to run the command as root:
sudo python3 setup.py install --yes USE_AVX_INSTRUCTIONS rawan@rawan:~/dlib$ python3 setup.py install --yes USE_AVX_INSTRUCTIONS


print swift version

Codecov Report

Merging #115 (d3f8568) into main (cc02c72) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #115   +/-   ##
=======================================
  Coverage   87.03%   87.03%
=======================================
  Files         240      240
  Lines        5977     5977
=======================================
  Hits         5202     5202
  Misses        775      775

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 cc02c72...d3f8568. Read the comment docs.


code needs documentation

For the code to be automatically documented it needs to be well documented.(duh, I know)
Some files in the repository do currently not follow the common doxygen guidelines.
https://www.doxygen.nl/manual/starting.html

correct, the first few lines of code that were published is mostly placeholder, hence no documentation. the UML needs to be worked out to a certain degree first before i can continue putting code down. documentation will come at that stage as well.

fair point, I mostly ported finished code into args which was tbf already documented. I will go over the files later to find anything that can be documented by me or the author(s)


Contains docker file for Ubuntu 20.04 to support the latest CMake refactoring

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

Thank you for your contribution @fordth !


CI broken - cannot compile plug

Travis CI output:
==> plug
warning: the dependency :plug requires Elixir "~> 1.2.3 or ~> 1.3" but you are running on v1.1.1
Compiled lib/plug/mime.ex
Compiled lib/plug/html.ex
Compiled lib/plug/conn/adapter.ex
Compiled lib/plug.ex
Compiled lib/plug/crypto.ex
Compiled lib/plug/conn/unfetched.ex
Compiled lib/plug/logger.ex
Compiled lib/plug/supervisor.ex
Compiled lib/plug/request_id.ex
Compiled lib/plug/crypto/key_generator.ex
Compiled lib/plug/session/store.ex
Compiled lib/plug/conn/wrapper_error.ex
Compiled lib/plug/error_handler.ex
Compiled lib/plug/session.ex
Compiled lib/plug/session/ets.ex

== Compilation error on file lib/plug/crypto/message_verifier.ex ==
** (CompileError) lib/plug/crypto/message_verifier.ex:105: function '<-'/2 undefined
    (stdlib) lists.erl:1336: :lists.foreach/2
    (stdlib) erl_eval.erl:657: :erl_eval.do_apply/6

could not compile dependency :plug, "mix compile" failed. You can recompile this dependency with "mix deps.compile plug", update it with "mix deps.update plug" or clean it with "mix deps.clean plug"

Would moving to elixir v1.3 from v1.1.1 in .travis.yml do the trick?

Thank you for bringing this to my attention. I have fixed it!


VS code Python wraps last argument with quotes

My launch.json args setting is:
"args": [
"--cfg",
"experiments/mpii/hrnet/w32_256x256_adam_lr1e-3.yaml",
"TEST.MODEL_FILE models/pytorch/pose_mpii/pose_hrnet_w32_256x256.pth"
]
the result is:
tools/test.py --cfg experiments/mpii/hrnet/w32_256x256_adam_lr1e-3.yaml "TEST.MODEL_FILE models/pytorch/pose_mpii/pose_hrnet_w32_256x256.pth"
The quotes on the 3rd argument fails the run.  do not understand why it is only added on the third option.
Tnx

/extPython

Hi,
Found the issue, it was due to the space between "TEST.MODEL_FILE" & "models/pytorch/pose_mpii/pose_hrnet_w32_256x256.pth"
Changed it to 4 arguments, and all is good.
Tnx


how do I turn on logging?

Hi,
First off: compliments for Gitbucket. Really great job! Yesterday we were configuring LDAP so we wanted to turn on logging (and possibly set the logging level). How can this be done, and where are the logs written?
Thanks a lot!
Albert-Jan
Netherlands

Close all questions. If you have any questions about GitBucket, please send them to the gitter room instead of issue according to the Guideline for Issues.


Interfaces fail to export as default under ES6 module syntax

The following snippet is valid, as far as I know:
export interface User {
	wpUserID: string;
}

The following snippet is also valid, but does not compile, but probably should be:
export default interface User {
	wpUserID: string;
}

I get errors thrown at me when using TypeScript 1.5-beta:
Error: /Models/User.ts(1,26): Error TS1005: ';' expected.
Error: /Models/User.ts(1,31): Error TS1005: ';' expected.

You can get around this with
interface I {

}

export default I;

I admit this is a somewhat strange inconsistency, but this is a duplicate of #3194 and is by design in accordance with a decision made on https://github.com/Microsoft/TypeScript/issues/3095#issuecomment-100913384.

Interesting. Any chance there could be a warning about the behavior?

Linking to https://github.com/Microsoft/TypeScript/issues/3792 because they're very similar. We should just allow this kind of thing. There's no good reason to require you to write it in 2 statements instead of one.

:+1:

:+1:  Any kind of error would be welcome, it took a StackOverflow question to understand.

closing in favor of https://github.com/Microsoft/TypeScript/issues/3792


Fix loading molecules serialized with older openff-toolkit versions (<=0.11)

A KeyError: 'hierarchy_schemes' is raised when reading json molecules that were serialized using older versions of the openff-toolkit (<=0.11).
These changes aim to catch this error and add the missing key when espaloma is being used in environments that use the newer openff-toolkit versions (>=0.11) which is what we now officially support since the changes in #155
TODOs

[ ] Add tests

Codecov Report

Merging #166 (fb6452a) into master (0b15808) will not change coverage.
The diff coverage is 0.00%.

I'm fixing a previous test that was incorrect as well in this same set of changes.
@yuanqing-wang @kntkb If the CI test pass this one should be ready to go, can you please take a look when you have the chance? Thanks!


Add CSS to Docs

Add CSS to Docs

@ericspring08

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@devarshishimpi

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@MrKrishnaAgarwal
Hi, Sure, will make PR

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@MrKrishnaAgarwal
Hi, Sure, will make PR

Thanks a lot
I'll merge as soon as possible, in my repo.

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@MrKrishnaAgarwal
Hi, Sure, will make PR

Thanks a lot I'll merge as soon as possible, in my repo.

Hey, please don't copy other peoples code and call your own. Please give credit to the original creator of the code.

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@MrKrishnaAgarwal
Hi, Sure, will make PR

Thanks a lot I'll merge as soon as possible, in my repo.

Hey, please don't copy other peoples code and call your own. Please give credit to the original creator of the code.

Makes sense.
@MrKrishnaAgarwal Hey, I won't contribute to yours since you have actually copied @ericspring08 project and that too without forking it.
Thank You

Also, @ericspring08 Can You please merge this PR as well?

Also, @ericspring08 Can You please merge this PR as well?
Working on It.

Looks good

Your welcome again 😊 Happy to Contribute. Will be adding more languages!!!

Thanks!

Also @MrKrishnaAgarwal Stealing Codes and creating duplicates is hurtful, Kindly learn to give credits to the original creators.

Please share this repo if possible and give it a ⭐ !

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@MrKrishnaAgarwal
Hi, Sure, will make PR

Thanks a lot I'll merge as soon as possible, in my repo.

@ericspring08 I am extremely sorry that I almost saw it as a genuine project and contribute it, But yes, the projects is your and supported by the community!!! Such Code Stealers should be stopped, making original code and taking efforts in Issues and PRs is a big task.

Also, @ericspring08 Is It Alright in CSS.md file that I have added Stone CSS??? https://github.com/devarshishimpi/Stone-CSS-Website

Yeah thats fine its a genuine project.

Can you contribute this to mine
https://github.com/MrKrishnaAgarwal/Awesome-Programming-Languages

@MrKrishnaAgarwal
Hi, Sure, will make PR

Thanks a lot I'll merge as soon as possible, in my repo.

@ericspring08 I am extremely sorry that I almost saw it as a genuine project and contribute it, But yes, the projects is your and supported by the community!!! Such Code Stealers should be stopped, making original code and taking efforts in Issues and PRs is a big task.

Thanks!

Also, @ericspring08 Is It Alright in CSS.md file that I have added Stone CSS??? https://github.com/devarshishimpi/Stone-CSS-Website

Yeah thats fine its a genuine project.

Thanks

@ericspring08 sent you an email as well

@devarshishimpi My discord is GreekGodOfComputerScience#6804

@devarshishimpi My discord is GreekGodOfComputerScience#6804

@ericspring08  Alright!! You will get an friend request from lil.dev ( I don't remember the # but I will send you friend request )

@devarshishimpi and @ericspring08
I didn't completely copied your project, I just stole your idea, I wrote the contributing.md on my own and I also added workflows and templates for pr and issues,
but due to your request I have deleted my repo and If you wish I'll contribute my work and improvements I did in mine to your repo.
My apologies , all my other projects are genuine, you can check them.

@devarshishimpi and @ericspring08
I didn't completely copied your project, I just stole your idea, I wrote the contributing.md on my own and I also added workflows and templates for pr and issues, my Jekyll theme was different too.
but due to your request I have deleted my repo and If you wish I'll contribute my work and improvements I did in mine to your repo.
My apologies , all my other projects are genuine, you can check them.

Thank You!

@devarshishimpi and @ericspring08
I didn't completely copied your project, I just stole your idea, I wrote the contributing.md on my own and I also added workflows and templates for pr and issues, my Jekyll theme was different too.
but due to your request I have deleted my repo and If you wish I'll contribute my work and improvements I did in mine to your repo.
My apologies , all my other projects are genuine, you can check them.

Thank You!

No worries!
Instead let's work together on another project, you got good skills.

@devarshishimpi and @ericspring08
My Discord: KrishnaAgarwal#3748

@devarshishimpi and @ericspring08
I didn't completely copied your project, I just stole your idea, I wrote the contributing.md on my own and I also added workflows and templates for pr and issues, my Jekyll theme was different too.
but due to your request I have deleted my repo and If you wish I'll contribute my work and improvements I did in mine to your repo.
My apologies , all my other projects are genuine, you can check them.

Alright

@devarshishimpi My discord is GreekGodOfComputerScience#6804

@ericspring08 Have sent friend req

@ericspring08 Have sent friend req

KrishnaAgarwal#3748


Load shading reference images from folder

It’s not possible to specify a folder from which all images should be processed. In the current version one has to give a path to an image.
Error message: from Error Log 09:42:07 (07.10.2022)
ERROR
CloudTaskRunner
IsADirectoryError: [Errno 21] Is a directory: '/tungstenfs/scratch/gmicro/reitsabi/CV7000/Flatfield_correction_tests/Düsseldorf/Raw_Data_20x/To_be_eicnm_processed'
(

We can probably achieve this by having a "meta" flow that calls the current flow via StartFlowRun and accepts either a single file or a directory input, allowing flexible use with both individual files and directories.


Convert JSON to RON format

RON format is much more Rusty, would be nice to use it instead. Thanks to /u/Boietheos for pointing this out.

You can copy mine: https://github.com/smokku/rust_roguelike_tutorial/blob/master/prefabs/spawns.ron


NLog causing failure when remoting to server

NLog version: NLog 4.6.5
Platform: .Net 4.7
Hi,
When using Remoting NLog requires the remoting server to have a reference to NLog or else it will throw an exception.
System.Runtime.Serialization.SerializationException: Unable to find assembly 'NLog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5120e14c03d0593c'.

Server stack trace:
   at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryPar
ser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage r
etMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at RemotingInterface.Foo.GetBar()
   at RemotingClient.Controllers.FooController.GetBar() in C:\\Users\\oso\\Desktop\\lixo\\SimpleSample_Src\\RemotingClient\\Controllers\\FooController.cs:line 23
   at lambda_method(Closure , Object , Object[] )
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()

This happens because NLog uses System.Runtime.Remoting.Messaging.CallContext instead of System.Threading.AsyncLocal<INestedContext> for .NET 4.7 applications (there is no target framework > net45 built).
I created a sample application  that shows this issue:

Start the server;
Start the Client
Access http://localhost:5000/Foo

Strange that NLog affects what is sent together with remoting. Thought it would only transport objects that what wrapped in something that implemented ILogicalThreadAffinative Interface :
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.remoting.messaging.ilogicalthreadaffinative

I guess a workaround is to setup your AspNetCore-application to have IncludeScopes=false until a better version of NLog arrives that can use AsyncLocal on net472:
https://github.com/NLog/NLog.Extensions.Logging/wiki/NLog-LoggerProvider-Options

I assume your question has been answered, if not, please let us know!

Sorry for the late reply. It was was thanks!

Wow thanks for this! I just wasted couple of hours troubleshooting this and couldn't figure out how NLog is needed for an object that doesn't even reference NLog and why I would need it in the server as, I only meant to use NLog in the client side, which is also a server for a different product.

@ogielee NLog 5.0 will fix this issue, so using NLog on client-side will cause error on the server-side.


[feature] Ability to reset drawing settings?

It would be useful if there was a reset function that resets my customised drawing settings back to the default.
For example, if I arbitrarily decrease the size, increase the thickness, increase the streamline, and change the easing to something else, I want the ability to reset these settings back to the default in one shot, rather than having to manually adjust them back one-by-one.
Thanks!

This is for the example project, right?
If I understand correctly, then this button should reset everything in the example project.

You can also reset individual settings by double-clicking on the setting's label.


Hamiltonian Cycle

Please Wait for the PA to assign the issues, this project follows a certain methodology.


Add RKE2 images to airgap

This PR refactors the existing k3s image code to be generic, and then adds RKE2 images for airgap. Since RKE2 and k3s use the same KDM scheme and versioning scheme, the code can be interchangeable.
 Now, a minimum Kubernetes version can be fed into the function called. This also slims the k3s execution as well.
In addition, there was an architecture check added since arm64 validation fails with RKE2. This is to be expected since RKE2 is amd64-only, so a check as been added.

Will still need to squash these commits, but I wanted to illustrate the drone runs with and without the ARCH check included.

Without GOARCH check: https://drone-pr.rancher.io/rancher/rancher/15872/2/2
With GOARCH check: https://drone-pr.rancher.io/rancher/rancher/15885/3/2

The arm64 flow fails unless the GOARCH check is added for RKE2.

This PR is now dependent on https://github.com/rancher/rancher/issues/32403#issuecomment-850687534

An explanation for amd64 and arm64 results were not only varying in this PR's CI runs, but also on master: https://github.com/rancher/rancher/issues/32403#issuecomment-853366109

Removing the has-dependency label since we only need a new RKE2 tag for Rancher tags. Commits to master are fine.


⚠ UdeS website (prod) has degraded performance

In 3576f6c, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2053 ms

Resolved: UdeS website (prod) performance has improved in 159ea2e.


Only works for NA/JP server

For NA/JP server, this software works pretty good.

But for Chinese version, the animation lock time can not be adjusted by latency

Is it related with game version? (International version: 5.45, Chinese verstion: 5.35) But since Koren version is also different with international version so I think it should also work with Chinese version.
Thanks for your software which saves my high-latency life.

Probelm solved. My initial setting "RequestUseAction" is wrong.


Expand macros in ruleRemoveTargetByMsg & ruleRemoveTargetByTag

Expand macros in ruleRemoveTargetByMsg & ruleRemoveTargetByTag

It seems I made the PR on the wrong branch. Deleting and recreating. Sorry


Temporary remove function type deduction in normalizer.

This PR temporary removes the function type deduction in normalizer
to unblock some of the followup passes that needs to check function
type equality.
Function's checked_type_ are left as nullptr for now.
We should followup to add function type deduction from annotations.

Ths is a short term fix to unblock #113 and other passes before we formally enforce func->checked_type_ in other PRs following https://github.com/tlc-pack/relax/pull/118


Add realpath to disk_usage to allow incomplete path

Address issue #1690.
_check_disk_space fails when only provided with incomplete paths like checkpoints/stabilityai/stable-diffusion-xl-base-1.0 and then tries to asses exactly this "path".
It seems to be a regular case when snapshot_download and hence hf_hub_download is being called without the parameter local_dir.
snapshot_download.py (248:250) only performs os.path.realpath() when local_dir is not None:
    if local_dir is not None:
        return str(os.path.realpath(local_dir))
    return snapshot_folder

My change in this PR now addresses this case and ensures that the real complete path is being used in shutil.disk_usage().free within _check_disk_space().

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Hi @martinbrose thanks for looking into this! I think the problem is not with the confusion between absolute or relative paths. In theory shutil.disk_usage() is supposed to handle that correctly for us (I tried locally and  shutil.disk_usage("path/to/folder") has the same output as shutil.disk_usage(os.path.realpath("path/to/folder")) for me). It seems that the issue is more coming from the fact that the folder does not exist yet.
Here is what I think we should do:

If target_dir does not exist, we check its parent directories recursively. If no parent folder exists, let's not raise a warning or exception. Not sure if this is possible but in any case the core "download logic" will take care of either creating the path or raise a proper exception
Make sure that _check_disk_space never fails, no matter what. This method is supposed to help users but we don't want it to be a blocking in case something happens.

This would give an implementation looking like this:
    target_dir = Path(target_dir)                         # format as `Path`
    for path in [target_dir] + list(target_dir.parents):  # first check target_dir, then each parents one by one
        try:
            target_dir_free = shutil.disk_usage(path).free
            if target_dir_free < expected_size:
                warnings.warn(
                    "Not enough free disk space to download the file. "
                    f"The expected file size is: {expected_size / 1e6:.2f} MB. "
                    f"The target location {target_dir} only has {target_dir_free / 1e6:.2f} MB free disk space."
                )
            return
        except OSError:                                   # raise on anything: file does not exist or space disk cannot be checked
            pass                                          # never raise. It's best to check parent folder instead

Corresponding tests could be extended (1 for missing folder, 1 for relative path). Do you want to take care of it @martinbrose ? Thanks in advance!

HI @Wauplin,
thanks for your reply. You seem to be right... just double checked myself.
I was convinced that this is the root problem. Weird.
I'll have a look tonight and update the PR tonight.

Hi @Wauplin,
your code recommendation makes sense... implemented and tested it.
I also added the two additional test cases. While I'm kind of confident with the test case for the non-existent path, I'm not sure I understand exactly the ask for a test case for relative path. Maybe I addressed it, maybe not. Please let me know.

This should fix the following issues:

#1690
https://github.com/llm-efficiency-challenge/neurips_llm_efficiency_challenge/issues/26
https://github.com/Lightning-AI/lit-gpt/issues/537


Is String name correct?

In admobadapter/admobadapter/src/main/res/values/strings.xml
I think name of 'test_admob_unit_id' should be 'test_admob_app_id'
What u say? if it is correct then which one is being used to display test ads?
<resources>     <string name="app_name">admobadapter</string>     <string name="test_admob_unit_id">ca-app-pub-3940256099942544/2247696110</string>     <string name="test_admob_express_unit_id">ca-app-pub-3940256099942544/1072772517</string> </resources>

This paragraph which is bottom paragraph of https://github.com/clockbyte/admobadapter/wiki/Installation solved the issue! Thanks 👍
Also please don't forget to copy the string resource test_admob_unit_id from admobadapter/admobadapter/src/main/res/values/strings.xml to your strings.xml file. Then kindly use it as demonstrated in the sampleapp demo. When you'll be ready to deploy your app to Release you'll have to register in the Admob and create Ad unit ID there. Then you'd kindly replace the test_admob_unit_id with your real Ad unit ID. And please don't forget to use the test ID instead of real one when you're debugging/testing your app otherwise Admob can ban your account (artificial inflating of impressions and so on).


RViz cannot display the STL format model file in the noetic version of ROS under Ubuntu20.04

Windows Version
Windows 10 Home 22H2  Insider: 19045.2006
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu20.04.5 LTS
Other Software
Nvidia-smi = 530.41.03
CUDA Version = 11.7
OpneGL under WSL use D3D12 = 3.1 Mesa 21.2.6
GLSL =1.4
ROS = noetic 1.16.0
RViz = 1.14.20
Repro Steps

Install Ubuntu20.04

wsl --set-default-version 2

Install the xfce4 GUI

sudo apt install ros-noetic-desktop-full

Run RViz and import the STL model into it

Expected Behavior
In the case of using D3D12 as the renderer of OpenGL, I used my GPU for the rendering task and achieved the following effects:

My question:
1.Is there a way I can use GPU-accelerated OpenGL to render STL models in RViz without upgrading Ubuntu branch or Windows?
2.If so, do I need to upgrade OpenGL? What should I do if I need to upgrade? (I have tried to upgrade OpenGL using sudo add-apt-repository ppa:kisak/kisak-mesa and sudo apt update && sudo apt upgrade)
Actual Behavior

When I used the default D3D12 as the renderer for OpenGL, it ran as follows：

The STL model is not visualized, and no errors are reported.
According to ros-visualization/rviz#1748, this problem should be caused by D3D12 and can be resolved by modifying D3D12 to llvmpipe. The modified result is as follows:
When I type export LIBGL_ALWAYS_SOFTWARE=true in the terminal

At this point, I run the previous code again, and the result is as follows：

Although RViz can render STL models normally, this function is achieved through the CPU. This results in a very low framerate, which is not what I want. After all, the competitiveness of WSL is that I can use my GPU without reservation.
Diagnostic Logs
No response

Thanks for reporting this @PiBigStar5712.
@iourit: Can you help diagnosing the issue ?


[SP-4624] Backport of PDI-17328 - Excel Output:Not able to create Dyn…

…amically new worksheets (7.1 Suite)
@pentaho-lmartins @cravobranco @ricardosilva88

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelField.java
  engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelOutput.java
  engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelOutputMeta.java
  engine/test-src/org/pentaho/di/trans/steps/exceloutput/ExcelOutputTest.java
  engine/test-src/org/pentaho/di/trans/steps/exceloutput/excel-template-withSheet1.xls
  engine/test-src/org/pentaho/di/trans/steps/exceloutput/excel-template.xls

Newly Fixed Tests:
org.pentaho.di.core.row.ValueDataUtilTest.testDivisionBigNumbers:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<123456789012345678901.1234567890123456789> but was:<1.234567890123457E+20>
	at org.pentaho.di.core.row.ValueDataUtilTest.testDivisionBigNumbers(ValueDataUtilTest.java:348)

org.pentaho.di.core.row.ValueDataUtilTest.testMulitplyBigNumbers:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<123456789012345678901.1234567890123456789> but was:<1.234567890123457E+20>
	at org.pentaho.di.core.row.ValueDataUtilTest.testMulitplyBigNumbers(ValueDataUtilTest.java:333)

org.pentaho.di.core.row.ValueDataUtilTest.testPercent2:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<8.0> but was:<8.00>
	at org.pentaho.di.core.row.ValueDataUtilTest.testPercent2(ValueDataUtilTest.java:428)

org.pentaho.di.core.row.ValueDataUtilTest.testRemainderBigNumbers:
:large_blue_circle: java.lang.ArithmeticException
java.lang.ArithmeticException: Division impossible
	at java.math.BigDecimal.divideToIntegralValue(BigDecimal.java:1854)
	at java.math.BigDecimal.divideAndRemainder(BigDecimal.java:1986)
	at java.math.BigDecimal.remainder(BigDecimal.java:1920)
	at org.pentaho.di.core.row.ValueDataUtil.remainder(ValueDataUtil.java:1113)
	at org.pentaho.di.core.row.ValueDataUtilTest.testRemainderBigNumbers(ValueDataUtilTest.java:361)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: +0.1% (click to expand)
org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.3% :small_red_triangle_down:
Line Change: -3.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -3.1% :small_red_triangle_down:
Complexity Change: -3.1% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:
Line Change: -0.7% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -3.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelField.java
  engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelOutput.java
  engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelOutputMeta.java
  engine/test-src/org/pentaho/di/trans/steps/exceloutput/ExcelOutputTest.java
  engine/test-src/org/pentaho/di/trans/steps/exceloutput/excel-template-withSheet1.xls
  engine/test-src/org/pentaho/di/trans/steps/exceloutput/excel-template.xls

Newly Fixed Tests:
org.pentaho.di.core.row.ValueDataUtilTest.testDivisionBigNumbers:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<123456789012345678901.1234567890123456789> but was:<1.234567890123457E+20>
	at org.pentaho.di.core.row.ValueDataUtilTest.testDivisionBigNumbers(ValueDataUtilTest.java:348)

org.pentaho.di.core.row.ValueDataUtilTest.testMulitplyBigNumbers:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<123456789012345678901.1234567890123456789> but was:<1.234567890123457E+20>
	at org.pentaho.di.core.row.ValueDataUtilTest.testMulitplyBigNumbers(ValueDataUtilTest.java:333)

org.pentaho.di.core.row.ValueDataUtilTest.testPercent2:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<8.0> but was:<8.00>
	at org.pentaho.di.core.row.ValueDataUtilTest.testPercent2(ValueDataUtilTest.java:428)

org.pentaho.di.core.row.ValueDataUtilTest.testRemainderBigNumbers:
:large_blue_circle: java.lang.ArithmeticException
java.lang.ArithmeticException: Division impossible
	at java.math.BigDecimal.divideToIntegralValue(BigDecimal.java:1854)
	at java.math.BigDecimal.divideAndRemainder(BigDecimal.java:1986)
	at java.math.BigDecimal.remainder(BigDecimal.java:1920)
	at org.pentaho.di.core.row.ValueDataUtil.remainder(ValueDataUtil.java:1113)
	at org.pentaho.di.core.row.ValueDataUtilTest.testRemainderBigNumbers(ValueDataUtilTest.java:361)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes.


How to display a dot of red color on different dates .

How to  display dots on  dates.How can i do it with green and red color.

I would suggest you to use daysConfig array and apply a css class to desired dates. Afterwards you could use css styles to show a red or geen dot.

Any Update?

Any Update?

Hi, any update?


Connlimit

As an a10-neutron-lbaas user, I want to be able to create members with connection limits.

check

check

As mentioned above, closing/opening to poke test infrastructure.

check

I thought intended functionality was setting the server port connection limit as opposed to the member server itself.
If so, we need to set the right one. If not, this works as expected and can be merged. Waiting to find out before I vote up or down.

:+1:
Setting conn-limit to -1 results in AXAPI default
Setting conn-limit to 0 results in AXAPI default
Setting conn-limit to<PHONE_NUMBER> (8 billion, not 8 million) results in AXAPI default
Setting conn-limit to value between 1-8000000 results in that value being set on the server connection limit properties.


Address TODOs in code

Predominately by deletion.
Fixing #15451

[ ] documentation is added or updated
[x] tests are added or updated

Did you look and see if any merit creating a new issue?

I didn't think any were worthy of issue status.  Some were probably in the grey area.  However, if the person who put the to do in never got back to it, I don't expect an issue to ever get done either...

Not sure the "kill everything" approach is a good idea here. Does this need looking at by OTC?

@DDvO please raise issues if you need to keep track of any TODO's here

Happy to have an OTC discussion about this.
Not everything was killed, some comments remain after a little rewording.

Rebased after resolving trivial conflicts.


Bump npm version to 0.1.0 for publishing [phab:D1798]

Created by djrenren at 2017-07-24 22:53:28:

zarko accepted this revision at 2017-07-24 22:54:10

djrenren closed via commit 78752fb43c18111f03f0c8571d2607d8aa0d94a6 at 2017-07-25 21:14:35


View book details

As a user, I should be able to view book details.

Details include:

book front page image
title and subtitle
description
book price
information such as: page count, category, rating

Sub-story of #87. #40

resolved and updated


ValueError: At least two variables have the same name: conv2d_1/kernel/Adam

When I test the model using a trained model I get the error below. My TensorFlow Version: 1.2.1
this error changes when I rerun the kernel into ValueError: At least two variables have the same name: weight and into ValueError: At least two variables have the same name: fully_connected/biases
`ModelBase::Loading ckpt ...
INFO:tensorflow:Restoring parameters from outputs/checkpoints/c1nf_16_c2d_0.7_lr_0.0001_c1s_5_rs_1_c1vl_16_c1n_256_c2s_6_c2n_64_c2vl_32_c1s_9--TrafficSign--1513264580.046234
Restoring parameters from outputs/checkpoints/c1nf_16_c2d_0.7_lr_0.0001_c1s_5_rs_1_c1vl_16_c1n_256_c2s_6_c2n_64_c2vl_32_c1s_9--TrafficSign--1513264580.046234
ModelBase::Ckpt ready
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-10-e5003bd16d6a> in <module>()
     89 skpt = "outputs/checkpoints/c1nf_16_c2d_0.7_lr_0.0001_c1s_5_rs_1_c1vl_16_c1n_256_c2s_6_c2n_64_c2vl_32_c1s_9--TrafficSign--1513264580.046234"
     90 testing_file = "dataset/"
---> 91 test(testing_file, skpt)

<ipython-input-10-e5003bd16d6a> in test(dataset, ckpt)
     66     model = ModelTrafficSign("TrafficSign", output_folder=None)
     67     # Load the model
---> 68     model.load(ckpt)
     69
     70     # Evaluate all the dataset

/home/a/WA/CapsNet/capsnet-traffic-sign-classifier/model_base.py in load(self, ckpt)
    345
    346         self.model_name = ckpt.split("/")[-1]
--> 347         self.saver = tf.train.Saver()
    348
    349

/home/a/anaconda3/envs/keras/lib/python3.5/site-packages/tensorflow/python/training/saver.py in __init__(self, var_list, reshape, sharded, max_to_keep, keep_checkpoint_every_n_hours, name, restore_sequentially, saver_def, builder, defer_build, allow_empty, write_version, pad_step_number, save_relative_paths)
   1137     self._pad_step_number = pad_step_number
   1138     if not defer_build:
-> 1139       self.build()
   1140     if self.saver_def:
   1141       self._check_saver_def()

/home/a/anaconda3/envs/keras/lib/python3.5/site-packages/tensorflow/python/training/saver.py in build(self)
   1168           keep_checkpoint_every_n_hours=self._keep_checkpoint_every_n_hours,
   1169           name=self._name,
-> 1170           restore_sequentially=self._restore_sequentially)
   1171     elif self.saver_def and self._name:
   1172       # Since self._name is used as a name_scope by builder(), we are

/home/a/anaconda3/envs/keras/lib/python3.5/site-packages/tensorflow/python/training/saver.py in build(self, names_to_saveables, reshape, sharded, max_to_keep, keep_checkpoint_every_n_hours, name, restore_sequentially, filename)
    671         unique.
    672     """
--> 673     saveables = self._ValidateAndSliceInputs(names_to_saveables)
    674     if max_to_keep is None:
    675       max_to_keep = 0

/home/a/anaconda3/envs/keras/lib/python3.5/site-packages/tensorflow/python/training/saver.py in _ValidateAndSliceInputs(self, names_to_saveables)
    555     """
    556     if not isinstance(names_to_saveables, dict):
--> 557       names_to_saveables = BaseSaverBuilder.OpListToDict(names_to_saveables)
    558
    559     saveables = []

/home/a/anaconda3/envs/keras/lib/python3.5/site-packages/tensorflow/python/training/saver.py in OpListToDict(op_list)
    533         if name in names_to_saveables:
    534           raise ValueError("At least two variables have the same name: %s" %
--> 535                            name)
    536         names_to_saveables[name] = var
    537       # pylint: enable=protected-access

ValueError: At least two variables have the same name: conv2d_1/kernel/Adam`

I fixed it! Apparently memory leak between kernels. I solved it by making sure only the influencing (testing) run on a fresh start.


Add functions to modify text properties

Fixes #2
Demo:
https://github.com/Cedar-81/paginate/assets/123486589/3aa8689b-3ec6-4134-939d-cb55657569a5

Hey, just checked out ur code... It looks fine but it seems you didn't run tsc after modifying the typescript file cause the javascript file in the dist folder currently doesn't have your changes.
Please fix that.
Thanks for the good work 💪

Oh, right, sure, I'll do that.

Hey, just checked out ur code... It looks fine but it seems you didn't run tsc after modifying the typescript file cause the javascript file in the dist folder currently doesn't have your changes.

Since the code has been refactored and the dist folder is not longer part of the code, do I still need to make this change?

@Cedar-81 I updated the styles to match the current colours, let me know if it's all right


feat: Add feature to search by college in allcontributors page

Solves #512

Good job @its-ayush-07
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.
Note that this repo is excluded from Hacktoberfest but this PR is still eligible for ClueLess Swags.

Star this repository. ⭐

SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

Good job @its-ayush-07
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.
Note that this repo is excluded from Hacktoberfest but this PR is still eligible for ClueLess Swags.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

@Rajdip019 https://www.clueless.tech/profile/admin/110535490894696020512


Add alchemy value tooltips when high alching

Convenient feature from osb, while you're casting high or low alchemy it adds how much gold you'll get to the tooltip.

Fixed in https://github.com/runelite/runelite/pull/7915 , sort of


Scrolling erro

Description
When searching by pressing a single letter or a few letters, the first folder disappears behind the headings, and the same happens when you raise the button one by one. After several raises, the same error occurs
Steps To Reproduce
.
Requirements

e.g. Fix crash that occurs when...

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3155
Log File

Can you provide step by step instructions, based on Windows folder contents?
I can reproduce this general problem with this:

Open the Windows system folder
Select bottom entry shown in this (do not scroll)
Press Down key twice - the top entry "addins" should be scrolled out of view, the top entry should probably be "apppatch"
Press Up key until the second entry from the top has been reached ("AppReadiness" for me)
Press Up key once more:

Press Up key once more:

Thanks for the report, I've added this to the project board.


What this

What this
Originally posted by @Tinar58 in - [ ] https://github.com/google/open-location-code/issues/363#issuecomment-1177098512

What's.wrong with


Account Query Services

We have to provide a way to query data.
We have to prepare at least one view for accounts and a way to query the view:

[X] Account View (id, name, email, itp.)

[X] Find by id
[ ] Find by name
we may need to store a normalized copy of the title for faster comparisons
when querying for multiple results we should add support for pageable result
https://www.baeldung.com/spring-data-webflux-pagination
[ ] ...

What could we add?

Maybe we could provide a separate view for security requirements:

[ ] Administrator View (id, name, ...)
[ ] Account OAuth2 Data View (id, name, token / oauth id?, ...)

[ ] Find by name

From my side, I need a query that checks if account with given accountId is an administator.


StorageLoader: convert stl_load_errors into bad rows / Snowplow events

Basic idea is: after a load, we extract the errors from stl_load_errors for this load.
Let count be the number of error rows returned.
Let maxerror be the number of errors required to trigger a load failure in Redshift.
If count == 0, then do nothing.
If count >= maxerror, then these load errors are explanations of why the load failed - so these errors should be reported in a Snowplow event.
If count <= maxerror, then these load errors are actual rows missing from a successful load - so these error rows should be stored in a new bad bucket.
/cc @yalisassoon
Need to check SQL perms on stl_load_errors.

migrated to snowplow/snowplow-rdb-loader#121, closing


SSO Integration for Entra ID is broken

Existing documentation URL(s)

https://github.com/cloudflare/cloudflare-docs/blob/production/src/content/docs/cloudflare-one/identity/idp-integration/entra-id.mdx
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/cloudflare-integration

What changes are you suggesting?
Following the steps do not work. It fails at Step 3. This is blocking our Zero Trust POC:
Support Ticket: 01309167
@kennyj42 Feel free to contact me directly. Carl Agers is my account rep
Additional information
No response

Closing this issue because we don't handle Support cases in this repo. Once the support case is resolved, we'll follow up with doc updates if needed.

tracked internally in PCX-15023

The doc screenshots should be updated to reflect the new portal appearance.
Please explicitly state to not use Beta features.
@ranbel


⚠ Bofrost.ch has degraded performance

In bbbfef8, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2157 ms

Resolved: Bofrost.ch performance has improved in 3a6c814 after 10 minutes.


Bug in hemisphere option in 3D shapes calculator

Describe the bug
Hemisphere option is not showing the output when the radius is entered.
Please assign this to me.

Go ahead
Deadline 15 April,2021 11:59 PM IST


Fixes #1343 Tooltips do not include signature

Fixes #1343 Tooltips do not include signature
Adds rich description protocol and improves content of descriptions.

:shipit:


CONTRIBUTING.md

Since we are have so many new issues marked with good-first-issue, I think we should add contribution guidelines to make it easier for prospective contributors to get started, ensure that contributions are consistent and follow good practice, and clear up any potential confusion they may have.

I was talking with theki about that too, although that feels like yet another thing that's dependent on #22 (we probably want to cover preferred ways to inject things and do config and stuff, which will hopefully be changed by that issue)

Now that #22 is closed we can start working on this. I'll see if I can head this starting tomorrow.


feat: introduce list/watch (informer) behavior + cache revalidation

Just tested this for 2 hours on two different clusters and it all works out really well. There are of course times when the events are not sent but the cache/list mitigates this by eventually consistency

amazing!! Run this for 18 hours on two clusters. Great work!


foldlevel-like functionality

I really like the default vim's zr and zm mappings, that have the semantic of "fold less" and "fold more".
This is useful if say, I have foldlevel set to 2, and then want to expand a bunch of the folds, instead of doing :se foldlevel=3 (which makes me have to remember the foldlevel that I have set currently), I can just do zr and express my intent more directly.
As far as I know, ufo doesn't have this kind of functionality. And because it's advised to keep foldlevel at a high value, I can't use the default zr & zm mappings.
It would be convenient to keep track of ufo's "foldlevel", whenever functions like closeFoldsWith() / openFoldsExceptKinds() are used, so that ufo's own zr & zm-like functionality can be implemented.
The idea for the implementation of that that I have, is to just have a map-like table that stores the buffer numbers as keys, and the current "foldlevel" as values. Then, when the closeFoldsWith() / openFoldsExceptKinds() functions are used, they would update that foldlevel value in the buffer.
Is this kind of functionality in-scope for the project? I would love to have it :)

https://github.com/kevinhwang91/nvim-ufo/issues/150


Friday the 13th and Holidays

In this article you discuss using this data to calculate the percent change.  You say that you remove the data from months that have major holidays.

It excludes any months in which the 6th, 13th or 20th day fell on a major holiday.

I can't quite get my numbers to match, and it is the Mondays that are the numbers that are way off.  I am guessing that my major holiday list is different.  Could you provide a list of the holidays you used for your filtering?

Hello.

I want to try this issue please guide me as I am new

It has been a long time since I looked at this.  What guidance do you want?
Here is how I started.
pacman::p_load(lubridate, timeDate, stringr, tidyverse, chron, ggthemes)

ssa <- read_csv("https://github.com/fivethirtyeight/data/raw/master/births/US_births_2000-2014_SSA.csv") %>% mutate(data = "ssa")
cdc <- read_csv("https://github.com/fivethirtyeight/data/raw/master/births/US_births_1994-2003_CDC_NCHS.csv") %>% mutate(data = "cdc")

byears <- sort(unique(c(ssa$year, cdc$year)))
hdays <- holidayNYSE(byears)
#hdays <- holiday(byears,c("USNewYearsDay", 1"USInaugurationDay", "USMLKingsBirthday", "USLincolnsBirthday", "USWashingtonsBirthday", "USMemorialDay", "USIndependenceDay", "USLaborDay", "USColumbusDay", "USElectionDay", "USVeteransDay", "USThanksgivingDay", "USChristmasDay", "USCPulaskisBirthday", "USGoodFriday") )

hdays <- tibble(year = year(slot(hdays, "Data")), month = month(slot(hdays, "Data")), date_of_month = mday(slot(hdays, "Data")), day_of_week = wday(slot(hdays, "Data"), week_start = 1, label = FALSE), holiday = TRUE)

dat <- bind_rows(ssa,cdc) %>%
  left_join(hdays) %>%
  mutate(holiday = ifelse(is.na(holiday), FALSE, TRUE))

Their article says,

Births on the 13th of the month are lower than you’d expect, but especially on Fridays; the effect is smallest when the 13th falls on a weekend, when delivery wards are staffed more thinly and tend to schedule fewer births.x

This calculation is based on births data from the National Center for Health Statistics for 1994 through 2003, and for 2000 through 2014 from the Social Security Administration. It excludes any months in which the 6th, 13th or 20th day fell on a major holiday. It averages the data from both sources, which differ by a percentage point or two on total number of births and by less on the 13th-of-the-month effect, for the years in which they overlap.

pdat <- dat %>%
  filter(date_of_month %in% c(6, 13, 20)) %>%
  group_by(year, month, date_of_month, day_of_week, holiday) %>%
  # It averages the data from both sources,
  summarize(births = mean(births)) %>%
  # exclude months that have a holiday on 6th, 13th, or 20th
  mutate(ym = str_c(year,"_", date_of_month)) %>%
  filter(ym %in% ym[holiday == FALSE]) %>%
  group_by(date_of_month) %>%
  summarize(n = sum(births), Monday = sum(births[day_of_week == 1]), Tuesday = sum(births[day_of_week == 2]),
            Wednesday = sum(births[day_of_week == 3]), Thursday = sum(births[day_of_week == 4]),
            Friday = sum(births[day_of_week == 5]), Saturday = sum(births[day_of_week == 6]),
            Sunday = sum(births[day_of_week == 7])) %>%
  ungroup() %>%
  mutate(thirteenth = ifelse(date_of_month == 13, "Thirteenth", "Not")) %>%
  group_by(thirteenth) %>%
  summarise_at(vars(n:Sunday),"mean") %>%
  gather(key = "weekday", value = "value", -n, -thirteenth) %>%
  select(-n) %>%
  spread(key = thirteenth, value = value) %>%
  mutate(pdiff = (Thirteenth - Not)/Not, weekday = factor(weekday, levels = c("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday")))

pdat %>%
  ggplot(aes(x = weekday, y = pdiff)) +
  geom_col(fill = "hotpink") +
  theme_gray()


SignMeUp being really slow!

Stuck on this screen for a while when loading signmeup. It does load eventually but only after waiting for a while.

Thanks for reporting, Max! I'm investigating the issue and think I might have a fix for it. I'll keep this issue updated with progress.

@maxluzuriaga — this should be fixed with release v3.0.9. The issue was that I was publishing all user documents (~1000 of them) to that page. This took a while to load and setup, causing the page to slow down. I no longer do that, and publish only the users that need to be shown on that page.
Please let me know if you continue seeing this issue!


Adding Vagrantfile

Set up an environment to build goaccess from github

Merged. Thanks!

@allinurl  Wow, It seems I've failed my second commit message :/ I fixed it on my fork, is it possible to update the PR or do I have to create a new one? I'm sorry for that, we can let it as it stands if you prefer...

Please submit another PR. Thanks.