I want aac to be configurable

As an AaC power-user, I want aac to be configurable so that I can use the tool exactly how I want to.
AC:

[ ] ...

Notes

For *nix-style systems, we can store user-level configuration files following Freedesktop.org's base directory spec.

Per our discussion this morning, this is the workspace configuration consideration:
Workspace discussion
Workspace issue


Create a new satellite site for Dudgeon

We are going to move (most of) the content from this site https://dudgeonoffshorewind.co.uk/ into our system.
At this point we don't know who owns the domain, but will leave that for the stakeholder to clarify for now.
It will be in English only.

@meols Should this satellite have news ?

@padms - yes, please include news - thanks for reminding me :smile:

Preprod environment is ready

@padms  - can you please share the link?

@meols https://studio-dudgeon-equinor-web-sites-preprod.c2.radix.equinor.com/dudgeon/desk/topicContent

Thanks @padms - the site looks good and is approved :smile:
We will add data when we have agreed upon it from the stakeholder, so I assume this site will be deployed at a later stage, but that it now is ready to add content.


Camera produce !is_inside_tree() error

Godot version:
3.0 5463b5e3489ab2c43279447b66d22b4b35f92e9b
OS/device including version:
linux x64
Issue description:
Simply adding a Camera outputs in debug:
ERROR: get_global_transform: Condition ' !is_inside_tree() ' is true. returned: Transform()
   At: scene/3d/spatial.cpp:265.
ERROR: get_global_transform: Condition ' !is_inside_tree() ' is true. returned: Transform()
   At: scene/3d/spatial.cpp:265.

Steps to reproduce:

Create Spatial
Add Camera
Run

The problem is _set_tree isn't called for Camera.
I'm on it.

I get that bug too on my
Windows 7 64-bit.

pushed PR #14977 for this issue.

fixed via #14977


chore(main): release 0.20.0

:robot: I have created a release beep boop
0.20.0 (2024-09-14)
Features

完善菜单设置功能，初步完成权限到按钮功能 (3b47ff9)
新增修改密码功能，重新格式化部分代码 (49735b5)
新增用户管理——用户状态的设置 (76ad45d)
新增菜单编辑加载动画 (ef402d8)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.20.0
:sunflower:


Grafana Login Disabled

How do I enable granana dashboard login by default. I've tried setting the environment variable GF_AUTH_ANONYMOUS_ENABLED=false but doesn't seem to disable anonymous access

these settings are changed - and should be reverted to their original state: https://github.com/grafana/docker-otel-lgtm/blob/main/docker/run-grafana.sh#L5-L6
See https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/grafana/#anonymous-authentication

What I did is access the container, open run-grafana.sh, modify de env var to false and the kill the grafana process and run sh run-grafana.sh to start grafana again. That worked for me!

great!


Create issue from file usage?

Hi
I wonder how to use the issues from file in the cronjob. It looks like the example in the README is broken.
name: Links

on:
  repository_dispatch:
  workflow_dispatch:
  schedule:
    - cron: "00 18 * * *"

jobs:
  linkChecker:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Link Checker
        uses<EMAIL_ADDRESS>        with:
          args: --verbose --no-progress **/*.md **/*.html
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

      - name: Create Issue From File
        uses: peter-evans/create-issue-from-file@v2
        with:
          title: Link Checker Report
          content-filepath: ./lychee/out.md
          labels: report, automated issue

--output out.md isn't defined and thus we will never create any issue.
My understanding of https://github.com/peter-evans/create-issue-from-file is that it will create a issue with the data from the file no matter what it says in it.
lychee don't have any flag where you only create a file if you get an error, or have I missed something?
So we need to add some small script to first check if the output file generate only have 0 Errors in it.
If errors is 0 remove the file.
I will write a small script for this and create a PR for the README.
If i missed something please point me in the correct direction.

I see now that the action handels this logic already.

LYCHEE_OUT=lychee/out.md

Sorry about that  :)

No worries. Thanks for using lychee. 😊


Using callbacks in squadron

'Squadron' uses 'Future/Stream' as method return type. Right? What about using callbacks for responses?

By default, service methods cannot take callbacks as arguments, because methods/functions cannot cross thread boundaries on the Web. But if you want callbacks on native platforms, it should work.


gtk4: Many traits with a realize() function in the prelude

 --> foo/src/main.rs:9:12
  |
9 |     window.realize();
  |            ^^^^^^^ multiple `realize` found
  |
  = note: candidate #1 is defined in an impl of the trait `gtk4::prelude::GskRendererExt` for the type `O`
  = note: candidate #2 is defined in an impl of the trait `gtk4::prelude::GLContextExt` for the type `O`
  = note: candidate #3 is defined in an impl of the trait `gtk4::prelude::MediaStreamExt` for the type `O`
  = note: candidate #4 is defined in an impl of the trait `gtk4::prelude::NativeExt` for the type `O`
  = note: candidate #5 is defined in an impl of the trait `gtk4::prelude::WidgetExt` for the type `O`
help: disambiguate the associated function for candidate #1
  |
9 |     gtk4::prelude::GskRendererExt::realize(&window);
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
  |
9 |     gtk4::prelude::GLContextExt::realize(&window);
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #3
  |
9 |     gtk4::prelude::MediaStreamExt::realize(&window);
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #4
  |
9 |     gtk4::prelude::NativeExt::realize(&window);
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #5
  |
9 |     gtk4::prelude::WidgetExt::realize(&window);
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

i don't see what we can do here...

Me neither. Usually you'd call the "less important" ones realize_something() but not sure what to do in this case. Bad C API.

Won't this cause issues for every other binding too that has an OOP system? Python or Javascript can't differentiate between obj.realize either.

Yes if they're in the same path on the class hierarchy tree (i.e. two times the same method name in a parent/child class). Here the ones listed by rustc are all in distinct parts of the tree.

As we can't do much here, I will just close this issue unless someone has an idea then feel free to reopen


Fix module address symbolization

Currently module addresses get resolved after the module has been unloaded, leading to incorrect address resolution.

Partially fixed by bde26d870c6ffc0bce84b83d1e522ac1f1394fec. Doesn't work for functions marked __init since the module loading code unmaps the inittext section after initialization.
Could probably get the raw symbol information from struct module::kallsyms in the module load tracepoint, throw it in a map, and parse/relocate it in userspace, but that feels a little too hacky + dependent on module internals...


Fix release notes XML para closing tag

Motivation for this change
master can't build release notes after this morning's merge:
building '/nix/store/p21i185hrck1q1gn3xlhqy8q9gi4il4q-nixos-manual-combined.drv'...
release-notes/rl-1903.xml:25: parser error : Opening and ending tag mismatch: para line 22 and listitem
   </listitem>
              ^
release-notes/rl-1903.xml:26: parser error : Opening and ending tag mismatch: listitem line 21 and itemizedlist
  </itemizedlist>
                 ^
release-notes/rl-1903.xml:27: parser error : Opening and ending tag mismatch: itemizedlist line 20 and section

           ^
release-notes/rl-1903.xml:268: parser error : Premature end of data in tag section line 1

^
release-notes/release-notes.xml:11: element include: XInclude error : could not load release-notes/rl-1903.xml, and no fallback was found

manual-combined.xml:62283: element para: Relax-NG validity error : Did not expect element para there
 62279              </filename></member></simplelist></listitem></varlistentry></variablelist>
 62280   </appendix>
 62281   <appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="ch-release-notes" xml:base="release-notes/release-notes.xml">
 62282   <title>Release Notes</title>
 62283   <para>
 62284    This section lists the release notes for each stable version of NixOS and
 62285    current unstable revision.

manual-combined.xml:62287: element include: Relax-NG validity error : Did not expect element include there
 62283   <para>
 62284    This section lists the release notes for each stable version of NixOS and
 62285    current unstable revision.
 62286   </para>
 62287   <xi:include href="rl-1903.xml"/>
 62288

 62289   <title>Release 18.09 (“Jellyfish”, 2018/10/05)</title>

manual-combined.xml:62287: element include: Relax-NG validity error : Element appendix has extra content: include
 62283   <para>
 62284    This section lists the release notes for each stable version of NixOS and
 62285    current unstable revision.
 62286   </para>
 62287   <xi:include href="rl-1903.xml"/>
 62288

 62289   <title>Release 18.09 (“Jellyfish”, 2018/10/05)</title>

manual-combined.xml:3: element info: Relax-NG validity error : Element book has extra content: info
     1  <?xml version="1.0"?>
     2  <book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="book-nixos-manual">
     3   <info>
     4    <title>NixOS Manual</title>
     5    <subtitle>Version 19.03
     6    </subtitle>
     7   </info>

manual-combined.xml fails to validate

Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@FRidh


Loading embeddings into the graph fails with: libprotobuf ERROR google/protobuf/io/zero_copy_stream_impl_lite.cc 164 Cannot allocate buffer larger than kint32max for StringOutputStream

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
MacOS 10.14
TensorFlow installed from (source or binary):
Binary
TensorFlow version (use command below):
1.13.1
Python version:
Python 3.6.7 |Anaconda

Describe the current behavior
Loading 1.4mil 100dim embeddings into the graph
words:1457657; dim:100
Describe the expected behavior
Want to be able to use TFRecord data set with words and graph to lookup indexes via TF table
and then parallel lookup imbedding vectors; compute using 3 dim tensor.
This used to work with smaller set of embeddings.
Anyway to overcome this problem without rewriting data feed?
Code to reproduce the issue
w_embedding_vocab = tf.constant(embDic.vocab, dtype=tf.string, shape=[embDic.vocab_size], name="w_embedding_vocab")
        w_embedding_vocab_table = lookup_ops.index_table_from_tensor(w_embedding_vocab, default_value=0, name="word_embidx_tbl")

        w_embeddings = tf.get_variable(name="word_embeddings", shape=[embDic.vocab_size, embDic.dim],
                                       initializer=tf.constant_initializer(np.asmatrix(embDic.embeddings)),
                                       dtype=tf.float32, trainable=False)

Other info / logs
No other logs, just one ERROR message
[libprotobuf ERROR google/protobuf/io/zero_copy_stream_impl_lite.cc:164] Cannot allocate buffer larger than kint32max for StringOutputStream.

Work around so far was to reduce phrase vocabulary, which reduced graph size from 1.G to 500Mb and above error doesn't appear, but it's not really scalable solution.

@vitalyli, Provide us the full minimal code snippet. It will indeed help us to move faster.

I can't share embeddings file, but the core issue is it's too large for the graph; The file is about 1.5G in size with words and word vectors of dim 100.
My guess is some phrase words may have ended up lengthly and would take more space.
The error prints while loading w_embeddings matrix. I don't remember seeing this in the past, but that could be because I have not crossed this limit.
So my question is what if there is a better way to do this as to avoid this graph size limit or if there is a way to upgrade something and relax this limit.
It's definitely not machine memory problem as there is enough of memory to load many times that size.
The way I could solve this is by removing all phrase vectors, which prevented error from happening,
however I'm looking for more general solution to this issue and not by dropping pre-trained embeddings.
Below embDic.embeddings is array of 100dim numpy vectors loaded from Word2Vec file.
And embDic.vocab is corresponding vocab as array of words also loaded from Word2Vec file.
{code}
with graph.as_default():
    with tf.name_scope("EmbLoadScope"):

        w_embedding_vocab = tf.constant(embDic.vocab, dtype=tf.string, shape=[embDic.vocab_size], name="w_embedding_vocab")

        w_embedding_vocab_table = lookup_ops.index_table_from_tensor(w_embedding_vocab, default_value=0, name="word_embidx_tbl")

        w_embeddings = tf.get_variable(name="word_embeddings", shape=[embDic.vocab_size, embDic.dim],
                                       initializer=tf.constant_initializer(np.asmatrix(embDic.embeddings)),
                                       dtype=tf.float32, trainable=False)

with tf.name_scope("InitVar"):
# Add variable initializer.
init_variables = tf.group(tf.local_variables_initializer(),tf.global_variables_initializer(),tf.tables_initializer(), name='init_var_op')
config = tf.ConfigProto(allow_soft_placement=True)

with graph.as_default() as gg:

    with tf.Session(graph=gg, config=config) as sess:

        init_variables.run()

        #etc. training loop here
        while True:
                    _, g_step = sess.run([train_op, global_step],
                             feed_dict={ds_handle: train_handle,
                                        x_learning_rate: learn_rate,
                                        x_pkeep: training_dropout})

{code}

This issue is not related to tf.data.

Never mind solution to this is to avoid constant initializer and load vectors via placeholder, that keeps protobuf size small.


Implemented feature to hide the rack of all player's except the current one.

Overview
This feature implements the functionality to hide all player's racks except the current one.

LGTM!


Problem with time rail and jQuery 1.8.0 and newer

Hi,
I've a problem with jQuery version 1.8.0 and newer.
With these versions the time rail is setted to 0px by the js function and the progress bar remains blocked at 00:00.
With jQuery version 1.7.2 I haven't this problem.

Thank you in advance

@nscnm87 Closing old issues. If you'd like to reopen this, let us know. Thanks!


Create swift cordova-ios plugin documentation

Motivation and Context
Currently there is no official documentation for creating  swift ios plugins.
It would be very helpful to include such guide for ios swift developers.
Description

Create a complete guide similar to the existing objective c example

@kchrs You want to create an issue here, not a Pull Request. PRs are for actually doing the work and then giving it back to the project.

Sorry my bad.


Can't exit deployment created in emberUI

To reproduce:

create deployment in emberUI (nginx:alpine), default project
go to dashboard -> deployments -> edit config
change image to nginx

Current result:
Error message, deployment is not updated
Deployment.apps "nginx" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"workload.user.cattle.io/workloadselector":"apps.deployment-default-nginx"}: `selector` does not match template `labels`

Works fine on 2.5.8-rc10


Feature Request: Make template.targetsWithingShape always avaialble.

In previous versions of walled templates, template.targetsWithinShape was available even if auto targeting was disabled. Currently it seems to only be available if auto targeting is enabled.
In midi I call this directly to juggle between different template targeting strategies, some using walled templates and some not, which means generally having walled templates auto targeting disabled.
It would be great if that was available again.
Thanks

Added in v0.7.7.


How to import modules from root path?

TypeScript Version:  2.12 / nightly (2.2.0-dev.201xxxxx)
Code
//////////////////////// entry.ts ////////////////////////
import { Main } from './src/Main';
new Main;

//////////////////////// adsad.ts ////////////////////////
export const A = 0;

//////////////////////// src/Main.ts ////////////////////////
import { A } from '/adsad';

export class Main {

    constructor() {
        console.log(A);
    }
}

Expected behavior: Compile without errors.
Actual behavior: Resulting Cannot find module '/adsad'.

Sounds like you want https://www.typescriptlang.org/docs/handbook/module-resolution.html#base-url

@jwbay That's what I was looking for, but unfortunately it doesn't work yet.
tsconfig.json file
{
    "compilerOptions": {
        "baseUrl": ".",
        "module": "commonjs",
        "noImplicitReturns": true,
        "noImplicitThis": true,
        "noUnusedLocals": true,
        "paths": {
            "*": [
                "*", "src/*"
            ]
        },
        "preserveConstEnums": true,
        "removeComments": true,
        "sourceMap": true,
        "strictNullChecks": true,
        "target": "ES6"
    },

    "include": [
        "./src/**/*.ts",
        "./src/**/*.d.ts"
    ]
}

It's still saying the module doesn't exist. :(

@jwbay  THANK YOU!

@jwbay Thanks! But when I import the module, the compiler says the module is not found, but my editor doesn't warn me.

That's an error from webpack, not typescript. It doesn't know or care about your tsconfig. You need to tell webpack to resolve modules against your root directory.

@jwbay Do you know how can I tell it? I've tried with { ... context: __dirname ... } and { ... context: path.join(__dirname, './src') ... }, but nothing changed.

@jwbay Thank you! I've checked the webpack documentation and got it working. THANK YOU!!!


Update the Forum "planners" group

Add organizers of the upcoming Council.

@bmann, the current set of organizers in Forum "planners" are from the Council of Prague. There is perhaps one or two discussions appertaining to that Council.
Should we create add/remove from this group ahead of each Council, which would change who can view older discussions?
My current thinking is to leave current participants for a time period, enabling them to advise the next Council planners.

Another question is about access to Google Docs related to 2018 Council of Prague. Should the 2019 Council of Paris planners have access to that?

This link is "View only" top level folder for all EthMagicians stuff that I've touched -- https://drive.google.com/drive/u/0/folders/1s4yqkN41DCow5jcG7KjhoZGxH_nIs5Y3
There are sub folders per council.
I would suggest GDoc stuff follow the pattern here. I can give edit control of a 2019-03 Council of Paris to Tomislav, Eternian, others as needed.
I have updated the Infrastructure page with these details https://github.com/ethereum-magicians/scrolls/wiki/Infrastructure
Back to the original question: there is the Council Volunteers group https://ethereum-magicians.org/groups/council-volunteers -- which anyone can join or leave, and it controls access to the members only Council Volunteers topic https://ethereum-magicians.org/c/fellowship-gatherings/council-volunteers
The above bit might be best put into a wiki page as well. I'm already getting DMs rather than public posts about Paris 2019.
Planners is effectively un-used, don't think we need it. A Sponsors group might be more helpful.


fuse constant padding into conv kernels

cc @masahi @csullivan
Currently supports conv1d/2d/3d. I can probably do the same thing for conv transpose and pooling, but this is getting a little long, what do you guys think?

Note that given the layout inference of the implementation, users should consider running SimplifyExpr prior to layout transformations via ConvertLayout or otherwise. Else it may be the case that a layout_transform will block the fusion.

Thanks @mbrookhart @csullivan


Add s390x back into the CI matrix

Linux Z (s390x) has returned back and should now be able to run in the full CI.
Previously we had an issue with spidermonkey on in. Let's see if it still there.

It turns out s390x running is one of our fastest workers: 17m to build everything vs 20-23m on others.


add yaml loader and node exceptions to fix errors in dll building

The node.js runtime expections and file-type loaders from the webpack.base.config are not inherited to the webpack.dll.config so they need to be redeclared. (Or possibly seperated out?) Not sure what the solve is.

Why do we need them for the DLL?

This is no longer relevant I'm afraid, we're extending webpack.dll.babel.js from webpack.base.babel.js, so those are inherited now.
Sorry for letting this sit for so long, and thanks for taking the time to submit this PR!


Canvas

We want to build a canvas where we can freely place outputs. This can be useful for data exploration (for example, the canvas can run in a separate monitor) and also for deployed apps (we can deploy the canvas). This is explorer in the B2 paper and some projects, such as Count, rely heavily on this idea.

The canvas view mode could be visualizing a complete notebook, so there are two main modes: "notebook" and "canvas".
Notebook mode has its own subviews (Normal, Code Zen and Presentation).
Canvas has Normal and App-UI.
Each section is a saved view port where you can easily zoom into.
When declaring new variables in a cell, they are outputs and are connected to each cell where the variable is used.
When selecting App-UI the outputs of the cells are shown in the foreground and can be moved to the wanted location.
This are just some thoughts which came to my mind while on vacation. Is this something worth exploring?

Maybe but I think we need to go with baby steps. The important is to have the canvas for visualization and app-UI. Maybe other needs will arise in the future, but we need to use the basic versions first, otherwise we may end up cluttering the UI for features that no one needs or use. So I would remain focused on the current proof of concept.

I wouldn't make the notebook itself non-linear. The linearity of cells gives an intuition about the evaluation order, and I think spreading cells across the screen would easily lead to confusion.

Closing in favor of #2109.


Upgrade for compatibility with Ember-CLI 2.13

Currently ember-cli-showdown uses ember-cli-htmlbars-inline-precompile 0.3.8, which does not support Babel 6. This causes projects using this addon and wanting to upgrade to ember-cli 2.13 to break

Published as 3.1.0

@jasonmit thanks!


Linked list

hi!
I am sai ritish and I am a registered participant in hacktoberfest 2021.
I would like to create a file linked list which consist of the operations such as creation , insertion, deletion ,count ,search ,display.
Please assign me this issue.

assigned


Improvement for Browser Limitations

As i read on http://nexts.github.io/Clusterize.js/
there are some browser limitations:

Browsers limitations !

Although Clusterize allows to use unlimited amount of rows all browsers have height limitations so be aware of that, use wisely and don't go crazy with it.

Webkit/Blink 134,217,726 px
Gecko 10,737,418 px
Trident 17,895,697 px

I also found out, that the limitations for IE seem to be much smaller than in Firefox:

If a DOM node is too high, browsers can not show it correctly. In FireFox, this limitation is 17895697px, in WebKit, 134217726px, both are big enough to contain tens of thousands of rows. But in IE, this limitation is as small as 1342177px. If there are 30000 rows and each row is 50px high, the browser won't be able to show it.

Source: https://github.com/oria/gridx/wiki/How-to-Create-a-Virtually-Scrolling-Gridx
So if one has 50k rows with each of a assumed height of 50px we are very fast at 2.500.000px for the whole height and we might unable to show it.
To solve this, I'd recommend to calculate a full height using top_space and bottom_space and to check if they exceed the maximum available size of around one million pixels.
If they exceed the maximum available height the calculation defines one million pixels as maximum height and uses only a percentual share of the max height for the top_space and the bottom_space.
I think about something like that:
// line 222
var items_start = // ...
top_space = items_start * opts.item_height,
bottom_space = (rows_len - items_end) * opts.item_height,
// ...

// patch to compensate browser limitations
fullHeight = top_space + bottom_space
maxHeight = 1000000; // maximum height for IE
if(fullHeight > maxHeight) {
    top_space = Math.round(top_space / fullHeight * maxHeight);
    bottom_space = Math.round(bottom_space / fullHeight * maxHeight);
}
// end patch

// and here the normal code line 228:
if(top_space > 0) {
// ...

I am not sure what happens if one has more than one Clusterize Object on a single page with each around one million px height. Would they sum up? Is the height limitation a limitation of rendered dom structures (e.g. for overflow:scroll) or a limitation of the html/body element?
Do you agree with my solution or do you see any problems with this?
Thank you for developing such a great lib. :-)

Hi
Thank you for your research, this is good idea in theory, but in practice unfortunately it wouldn't work.
Long story short: because of the large scroll step that will skip clusters.
In details:
We need to know top offset to determine cluster number for current scroll position.
scrollEv = function() {
  if (last_cluster != (last_cluster = self.getClusterNum()))
      self.insertToDOM(rows, cache);
}

...

getClusterNum: function () {
  return Math.floor(
    this.scroll_elem.scrollTop / (this.options.cluster_height - this.options.block_height)
  ) || 0;
}

Decreasing height of top space will break this logic. This may be solved by adding additional scroll_coefficient variable. Let's have 1.000.000px as maximum-height constant.
var total_height = row_height * rows.length;
this.scroll_coefficient = Math.max(total_height / 1e+6, 1);

Then use it to determine correct cluster number.
getClusterNum: function () {
  return Math.floor(
    (
       this.scroll_elem.scrollTop / (this.options.cluster_height - this.options.block_height)
    ) / this.scroll_coefficient
  ) || 0;
}

...

top_space = items_start * opts.item_height * this.scroll_coefficient,
bottom_space = (rows_len - items_end) * opts.item_height  * this.scroll_coefficient,

This will allow us to correctly determine the cluster number even with changed top space.
But look what happens when we deal with huge list. For example 10.000.000 rows 50px each. That's 5e+8 px
scroll_coefficient = 5e+8 / 1e+6 = 500!
Sensitivity of my mousewheel is pretty small, by one step it scrolls in average 50px. And it may vary.
Multiplying 50px * 500 we get 25000px for only one step of mousewheel.
It's more than height of 2 full clusters (with default settings), which means we'll miss every second cluster by only one step of mouse wheel.
¯\_(ツ)_/¯

Thanks for your reply.
I understand your considerations.
So i think we need to extend our approach:
As i understand correct, the current implementation scrolls "natively", so each mouse scroll event scrolls as much as it is defined by the browser / operating system (e.g. 10px per event).
What do you think about emulating this behaviour? When one step natively would scroll 25000px we could interrupt the event and prevent it, instead we could manually calculate a step and define the offset.
Please consider the following pseudo code:
$elementWithScrollbar.on('mousewheel',function(e, delta) {
  // avoid default event handling and bubbling
  e.preventDefault();
  e.stopPropagation();

  // delta should be negative when scrolling downwards
  $elementWithScrollbar.scrollTop += delta;
});

Using this the current scroll offset should have the size of the mousewheel delta and there should be no other problems.
What do you think?

¯\_(ツ)_/¯

Btw.: I like this smiley :-)

Well, emulating scroll behaviour will bring a lot of headaches in trying to make the same behavior in all browsers. You know.
For example all known jquery.mousewheel plugin consist almost of 200 lines of code without comments, which would almost double the size of clusterize.js. Despite mouse wheel we have to consider also scroll bar dragging, mobile touch events, etc...
I am sorry but I think that it's not worth the effort. Native scroll event covers all possible cases.
I'd like to keep it simple.
JFF made demo with 10m rows. 1 mousewheel step affetc few clusters. Craziness :)
https://jsfiddle.net/nexts/mc756rtL/

Ok, sorry, i didn't know about the evolution of the mousewheel handling, code if jquery.mousewheel seems to handle very very deprecated events in very very old browsers. :D
You are right, we should stop here and close the issue, it was just an idea to improve browser limitations, but if we are ending up on fixing several browser limitations in several browsers there is no win-win situation.
And if one will process such huge data structures in the browser one might better go with an in-browser database implementation and give the user the ability to query a local data store.
But i am still impressed that handling of 10m rows in the browser is possible - and also fast! :-)


Sign up form in inconsistent language

With @damianooldoni's computer (browser configured with Dutch as a preferred language), the "sign up" page is shown as half English / half Dutch. It would be good if everything in the UI (except Admin site, I think) stays in English, as long as the website is not really multilanguage.

screenshot here below for reference:


Autocomplete with common SQL keywords

I love using DBeaver, but one of the things that frustrates me a lot is that autocomplete doesn't know SQL keywords like "and" and "or" and tries to replace them with table or fieldnames starting with "and" or "or".
Can keywords like "and" and "or" be added to the TOP of the autocomplete list, so that pressing enter after these keywords simply results in using the keyword (but you still have the option to pick an actual table of fieldname from the list)?

Thank you for the request.


default application does not link with dub test

Hi,
I am using
vibe-d 0.7.28
dmd-2.071.0
dub-0.9.25
Executing the steps to setup a new vibe-d project
 $ dub init test -n -t vibe.d
 $ cd test
 $ dub test

I get the following error:
Linking...
.dub/build/application-unittest-linux.posix-x86_64-dmd_2071-B7D1B9BF22DA358F2F54D0033CAE17B7/unitestmultimain.o:(.data._D49TypeInfo_S3std8typecons15__T8NullableTiZ8Nullable6__initZ+0x28): undefined reference to `_D3std8typecons15__T8NullableTiZ8Nullable6__initZ'
collect2: ld returned 1 exit status
running:
 $ dub build

or
 $ dub run

Works fine
On another sample project dub test also failed with an error for duplicate main methods.
I was able to fix the build error of it by defining CustomMain version on that one.
This is happening on linux.

This appears to be fixed in latest version of vibe.d

Sorry, but what's the "latest" version? Seems to still happen to me with vibe-d-0.7.28, logs attached: https://travis-ci.org/codingteam/codingteam.org.ru/builds/137167918#L206

Aha, it really was fixed by updating vibe.d to the latest published 0.7.30-alpha.2. Thanks for the info!


Generate type field for enums

Is your feature request related to a problem? Please describe.
I am using Orval to generate TypeScript. There is currently an issue there where enums without type specified are generated as unknown: https://github.com/anymaniax/orval/issues/605
Even though this could be fixed in Orval, it would also be nice if kompendium inferred the type and generated the type field.
Describe the solution you'd like
Currently enums are generated like this:
accessLevel: {
  enum: [
    "Public",
    "Internal",
    "Restricted"
  ]
}

It would be nice if they could be generated with type:
accessLevel: {
  enum: [
    "Public",
    "Internal",
    "Restricted"
  ],
  type: "string"
}

Describe alternatives you've considered

An aspect-oriented approach that added type for all enums: not sure if this is possible?
Specifying type explicitly for every enum type: quite time consuming

Actually not sure this change will fix my problem. Looking some more into it.

Closing this issue and creating a new one.


0.0.2.dev7

Current coverage is 100% (diff: 100%)

Merging #65 into master will not change coverage

@@           master   #65   diff @@
===================================
  Files           7     7
  Lines         129   129
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits          129   129
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 10e22b5...e6a7c4b


Toggle ESP/Chams/Glow to key, for fast toggle on and off

This would allow better "legit play" when using Osiris in matches so that you don't have constant info, but pings of info to assist with play rather than guide it completely

This is interesting; I would love to see this implemented.

Added


Running odo registry from a directory containing invalid devfile errors out

/kind bug

What versions of software are you using?
Operating System:
Linux
Output of odo version:
odo v3.12.0 (a1204660c)

Server: https://<IP_ADDRESS>:6443
Kubernetes: v1.26.6+k3s1
Podman Client: 4.4.4

How did you run odo exactly?

Get a directory containing devfile.
Modify the devfile to be invalid.
Run odo registry

Actual behavior
➜  express-sample git:(main) ✗ odo registry
 ✗  failed to parse the devfile /home/pvala/code/docs.rancherdesktop.io/assets/express-sample/devfile.yaml: failed to populateAndParseDevfile: invalid devfile schema. errors :
- commands.6.composite.group.kind: commands.6.composite.group.kind must be one of the following: "build", "run", "test", "debug"
- components.1: Must validate one and only one schema (oneOf)
- components.1: container is required
- components.1: Additional property image is not allowed

Expected behavior
odo registry is not dependent on the current devfile.yaml, it should not fail.
Any logs, error output, etc?
$ odo registry -v 9
I0717 14:50:17.462503   23856 implem.go:114] The path for preference file is /home/pvala/.odo/preference.yaml
I0717 14:50:17.462552   23856 segment.go:264] Checking telemetry enable status
I0717 14:50:17.462555   23856 segment.go:294] Sending telemetry enabled by preference
I0717 14:50:17.462595   23856 util.go:780] HTTPGetRequest: https://raw.githubusercontent.com/redhat-developer/odo/main/build/VERSION
I0717 14:50:17.462677   23856 util.go:801] Response will be cached in /tmp/odohttpcache for 1h0m0s
I0717 14:50:17.462794   23856 util.go:814] Cached response used.
I0717 14:50:17.463494   23856 implem.go:114] The path for preference file is /home/pvala/.odo/preference.yaml
I0717 14:50:17.463541   23856 context.go:172] absolute devfile path: '/home/pvala/code/docs.rancherdesktop.io/assets/express-sample/devfile.yaml'
I0717 14:50:17.463545   23856 context.go:113] absolute devfile path: '/home/pvala/code/docs.rancherdesktop.io/assets/express-sample/devfile.yaml'
I0717 14:50:17.463734   23856 content.go:48] converted devfile YAML to JSON
I0717 14:50:17.463773   23856 apiVersion.go:60] devfile schemaVersion: '2.1.0'
I0717 14:50:17.463779   23856 helper.go:56] devfile apiVersion '2.1.0' is supported
I0717 14:50:17.464927   23856 implem.go:114] The path for preference file is /home/pvala/.odo/preference.yaml
I0717 14:50:17.464960   23856 segment.go:264] Checking telemetry enable status
I0717 14:50:17.464963   23856 segment.go:294] Sending telemetry enabled by preference
 ✗  failed to parse the devfile /home/pvala/code/docs.rancherdesktop.io/assets/express-sample/devfile.yaml: failed to populateAndParseDevfile: invalid devfile schema. errors :
- commands.6.composite.group.kind: commands.6.composite.group.kind must be one of the following: "build", "run", "test", "debug"
- components.1: Must validate one and only one schema (oneOf)
- components.1: container is required
- components.1: Additional property image is not allowed

Thanks for reporting this issue.
This seems related to https://github.com/redhat-developer/odo/issues/6683
We need to be consistent and review places where a valid Devfile is not mandatory.


fix: js-sdsl tree shaking not work

What is the current behavior?
Configure webpack.config.js to  make js-sdsl tree shaking work.

What is the new behavior?
Configure webpack.config.js to  make js-sdsl tree shaking work.

Why did you make this change?
Configure webpack.config.js to  make js-sdsl tree shaking work.

Checklist

[x] I'm not PR to the main branch.
[x] Commit message was checked by commitlint.

Additional information

Codecov Report

Merging #55 (680f832) into dev (55c61b2) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev      #55      +/-   ##
==========================================
- Coverage   41.35%   41.34%   -0.02%
==========================================
  Files         113      113
  Lines        9602     9605       +3
  Branches     1466     1468       +2
==========================================
  Hits         3971     3971
- Misses       5203     5206       +3
  Partials      428      428

Impacted Files
Coverage Δ

src/engine/script/render/DuckThreeCamera.ts
8.47% <0.00%> (-0.46%)
:arrow_down:

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

OK, I've found the reason.
See this issue.

Thank you for the PR.
This problem will be solved by adding the "side effects false" option to the js-sdsl package soon, so I will just close this PR.
then, I will update package when js-sdsl is released, which has fixed this problem.


Scaling and Cropping Capabilities for EDUX Image Augmentation

Summary: Develop scaling and cropping capabilities for the EDUX image augmentation library.
Details:

Scaling: Methods to scale images with options for smooth scaling.
Cropping: Functions to crop to a region or to a specific size.

Java Features: Utilize java.awt.Image for quality scaling.
Documentation: Update Javadoc and README with usage samples.
Tests: Create unit tests for boundary conditions and typical use cases.

Need research about "smooth". Do we lose to many details of an image?

[ ] research


Is there plan to support AAC or other codecs?

Thanks very much for your excellent work of this project! I'm wondering if there is plan to support MP3/AAC or other codecs, such as aptX?

https://github.com/pschatzmann/ESP32-A2DP/discussions/216


Do release at each commit (but not the upload)

Fix part of #1122 . I believe the first step is to enable running EVERYTHING at each commit, and then, with other pull requests, we can reduce code duplication in the yaml and make the tests faster.

I'll close that, the running time is not reasonable.


"Enable wallet" button still shows for payment receiver even after payment is cancelled after 30 days

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: Needs Reproduction (Unable to reproduce as "I don't have any pending report with over 30 days")
Reproducible in production?: Needs Reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1720018780579139
Action Performed:

As user B without wallet enabled  submit expense to user A
As user A Approve the report and pay

Expected Result:
For User B the payment auto cancelled after 30 days  and no option to enable the wallet
Actual Result:
"Enable wallet" button still shows for payment receiver on the report
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Asked for clarification here: https://expensify.slack.com/archives/C049HHMV9SM/p1720476086833019?thread_ts=1720018780.579139&cid=C049HHMV9SM

Working on figuring out how to repro this.

I'm thinking we should just close this for now as we're not focused on #vip-split and there's not really anyone to experience this. We can/should fix it when we re-prioritize #vip-split.
@shawnborton reopen if you disagree!

I think that's fair. My DM with this user is in a weird state because I basically can't get rid of the failed "Send money" - each time I try to delete the expense, I get an error. Anyways, I recognize no one is running into this right now so we can definitely keep it closed, just noting that we definitely have even more problems and issues we need to address with the failed Send money flow here.

Oh interesting. Is the cause of the error the same issue as what's reported here? If so, I can see the argument for fixing it.

I'm not sure if the cause is the same... though I guess they are both related in that they are bugs related to the expired Send money case?
So the two bugs:
Sender: if you send someone money, and they don't enable a wallet after 30 days, the payment technically cancels but you can't actually delete the expense. What's even weirder is that we then show a "Pay with Expensify" button to the Sender after the 30 days pass...

Here's what happens when you delete: you get an infinite loading loop, which after I refresh the page manually, you can see the RBR error show up:
https://github.com/user-attachments/assets/3f07a0ff-e135-4329-9200-0a166c96e9f4

Receiver: the IOU is stuck with a GBR to enable the wallet:

But it is past the 30 days and the money request has been cancelled:


Method to get weight

Hello, I am a student of master. I work for my research project deepfake detection. I wanted to test your code with other deepfake dataset. I used your code Meso4 and MesoInception to test other deepfake dataset. It doesn't work as better as writed in the papier. I think it's problem of weight. Can I know what kind of method that you used to get your weight, please.  Did you use backpropagation to get your weight and save them as file ?

Backpropagation would give you the gradient of the weight, not their value. It was trained in a very standard way that is described in the paper. And saved using tf.keras.Model.save_weights() to the H5 format, available on this repo.
And yes, the method was one of the first paper on deepfake detection, the scope was simply to train on a one of the first existing deepfake dataset. It was never claimed that it works out-of-distribution or out-of-task, though this is an important aspect that has been studied by subsequent papers.


Forge Release?

Hi there! Could you please release the current version of master to the Puppet forge? There's some goodies (including IAM role support) we're using from a few months back that isn't available in 1.2.0. Thanks!
https://github.com/justindowning/puppet-awscli/compare/1.2.0...master

Sorry it took me so long to release here, but 1.3.0 is available now. Thanks for your patience!


Docblock return type

Hi,
In these lines
https://github.com/jkoudys/immutable.php/blob/master/src/Collection/ImmArray.php#L84
Shouldn't it be:
 * @return static

It can be either static, self, or ImmArray. Each will have the same effect on IDEs like PhpStorm and static analysis tools like PHPStan.

Well not if you extend the ImmArray class though.

You're right. You can submit a PR to fix this 🙂


Close buffer automatically after completion

tern_for_vim opens a buffer to give a definition of a function whenever I scroll through the omnicompletion list using YouCompleteMe. Is there a way to have to buffer automatically close after completing? As of now, once I choose a function to complete I have to manually close the buffer.

I don't know what the customary behavior in vim is in this case (I must admit I know very little about vim in general). The plugin aims to act according to vim conventions, but since I still haven't found a maintainer who actually uses vim, I'm sure it often gets that wrong. If you want to submit a PR to make this configurable, or can make a case that closing the buffer should be the default behavior, I'd be interested in that.

@ianks, I used this to disable it completely, a better solution than constantly closing them.


PickByGlobalNode (and PickByGlobalZone) does not work with point meshes

Describe the bug
When using the python interface, neither PickByGlobalNode nor PickByGlobalZone returns anything for a mesh defined via DBPutPointMesh, but PickByNode works fine.  Also, PickByGlobalNode/Zone work fine for meshes defined by DBPutUcdmesh.
Helpful additional information

Did VisIt crash: No
Did you get wrong results: Yes

Expected behavior
I expected one of PickByGlobalNode/Zone to return the node information from a point mesh.
Attachments
I can give files as necessary.
Desktop

OS and version: toss4
VisIt Version: 3.3.3
Server info (if applicable): rzwhippet

Yes, same behavior, in that both commands don't work with point meshes.  Indeed, the ambiguity between nodes and zones in the context of a point mesh was why I tried both commands . . .  I would have guessed one or the other would work (based on the conventions of you all), but neither did.
I tried the analogous operation with the GUI, and got a slightly ambiguous response . . .  Even when I select the "Global nodes/zones" checkbox, the result just says "Node", when in other cases, it says "Node ... (global)", screenshots attached.  This could just be overlooked screen output, tho.

@nDimensionalSpace is it ok to attach the silo file(s) here (where things are world readable)? If so, please do. Otherwise, please feel free to give to me on RZ.

@markcmiller86: Attaching a tar file to this comment.
PointMeshPicking.tgz

@markcmiller86: I was just messing around with some of the queries, when run against an ostensible point mesh.  In particular, when I do "Grid Information" (in the GUI and the python interface), I get the following result, for a dataset that was run on np=4:

which seems . . . strange.  I will also note that when looking at the result of GetMetaData() directly, I see:

so it definitely seems like there are some inconsistencies hanging out with respect to mesh type.

Interesting. The Grid Information query is using the passed-in dataset's type to determine the result for meshType. I would have expected it to use the information stored in MetaData.
Point meshes are usually stored internally in VisIt in either a vtkPolyData or vtkUnstructuredGrid dataset. There are other places in VisIt where the types of cells are queried (eg does it only contain vertex cells) when it is important to know whether or not the dataset should be considered a point mesh.
Given the logic in the Grid Information query, it is understandable that it doesn't match the MetaData results for meshType.

@markcmiller86
I created a global_nodeid expression: global_nodeid(DBC1)
I then tried creating a Pseudocolor plot of that expression, and stepped though code with the VS debugger in an attempt to understand why VisIt thinks there are no global ids defined.
I noticed that when avtSiloFileFormat creates the AUXILIARY_DATA_GLOBAL_NODE_IDS cache var in avtSiloFileFormat::GetPointMesh, the mesh name used is Proc0000/DBC1/mesh. But that mesh name isn't a user-facing mesh name, so DBC1 is the mesh name that avtGenericDatabase::GetAuxiliaryData uses (from my expression), and the retrieval fails.

I noticed that when avtSiloFileFormat creates the AUXILIARY_DATA_GLOBAL_NODE_IDS cache var in avtSiloFileFormat::GetPointMesh, the mesh name used is Proc0000/DBC1/mesh. But that mesh name isn't a user-facing mesh name, so DBC1 is the mesh name that avtGenericDatabase::GetAuxiliaryData uses (from my expression), and the retrieval fails.

Hmmm...the plugin should cache AUXILIARY_DATA_GLOBAL_NODE_IDS for every mesh for which they are defined and found. If the meshes foo, bar and baz exist and foo and baz have global node ids defined on the Silo mesh objects in the file, then both meshes should get the associated item cached and associated with their names.
The name Proc0000/DBC1/mesh suggests a couple of things. First, it appears to be the name for one block of a multiblock mesh. There is probably one named Proc0001/DBC1/mesh, etc. Were you just looking at one block in the debugger? If so, that might be just fine. The expression system should be operating on the names of the full meshes (e.g. multi-block meshes) served up in the metadata and unqualified by any specific block. It is those names that are user facing. Next, DBC1/mesh seems like it is one of several things served up related to  DBC1 which might also be just fine.

@nDimensionalSpace, we talked about your queries related to this and we think you should maybe be doing things entirely differently.
In effect, you are performing a dense query...one which is aiming to tease out numerical values equal in number to the size of the mesh in terms of node or zone count and/or time step count. That is not really what pick/query are designed to handle well. I mean, it would be great I guess if they did, but each is a round-trip from client to server, etc.
We think you should be doing something that results in a large .csv file output, either one for each timestep or perhaps one for all timestep and the rows represent nodes and/or zones and the columns represent variables. We call this flattening a databse, and here is some python code from our test suite that shows how to do it.
Can you take a quick look and let us know if this might be a better path?

Hmmm...the plugin should cache AUXILIARY_DATA_GLOBAL_NODE_IDS for every mesh for which they are defined and found. If the meshes foo, bar and baz exist and foo and baz have global node ids defined on the Silo mesh objects in the file, then both meshes should get the associated item cached and associated with their names

@markcmiller86 , the silo plugin did cache AUXILIARY_DATA_GLOBAL_NODE_IDS, for mesh Proc0000/DBC1/mesh.
But the call to GetAuxiliaryData that checks the cache for data corresponding to mesh DBC1 fails.
Do you think that perhaps the shortened nature of this sample is causing this problem retrieving global node ids? The naming seems to be set up for multiple domains, but we have only 1.  Perhaps we need at least a second domain for this sample dataset to work?
I'm only digging into this aspect because I cannot diagnose a bug with PickByGlobalNode if VisIt isn't even recognizing that the global node ids exist, so I was trying to figure out why retrieval of the global node ids is failing even though they exist in the file.

@markcmiller86 I just noticed another interesting thing. When avtGenericDatabase fails to get the global node ids from the cache, it allows the interface to attempt retrieval by calling GetGlobalNodeIds.
 avtSiloFormat::GetGlobalNodeIds only considers UCD meshes, not Point meshes.

@markcmiller86:
Just to be clear . . .  This:

In effect, you are performing a dense query...one which is aiming to tease out numerical values equal in number to the size of the mesh in terms of node or zone count and/or time step count ...

is not quite correct.  This script I am creating is meant to test Silo output as intended for interpretation by Visit.  The way we usually use such a thing in our test suite is to probe a few spatial locations (nodes/elements/faces) over all time.  In particular, a few is typically in the single digits, but I have seen up to 20 or so mesh entities having their field values queried.  Otoh, we do usually just do the time histories over all time states, probably because the solver itself has controls to do output decimation.  I will likely add the start/stop/stride controls to my python script, in order to allow more decimation, but iah, the majority of our test problems are "short-ish" in terms of the number of plot states (mean is maybe 100, median is more like 25).

@markcmiller86: One other comment . . .  We are just starting to add/clean up our Silo output of boundary physics.  When I say "few" spatial locations, maybe that ends up being a few for the bulk mesh, and a few for each boundary mesh.  We have never represented boundary meshes/fields before, so I don't have a good feeling about how the performance might change if one specifies 10 nodes for the bulk mesh, and in addition, 10 nodes for each of seven or eight boundary meshes.  I guess that wouldn't be catastrophic, but it is a nearly order of magnitude change in the number of space-time-field queries.

is not quite correct. This script I am creating is meant to test Silo output as intended for interpretation by Visit. The way we usually use such a thing in our test suite is to probe a few spatial locations (nodes/elements/faces) over all time.

Well, ok, but now if feels like you are testing this feature in VisIt to a more significant level of capability than you intend to use in practice and that even VisIt tests test it.
I think reasonable arguments could be made for testing <100 queries over time (depending on numbers of time steps) but not thousands or more or with thousands of time steps. Its concievable we have memory leaks in that part of VisIt that could cause issues.
All that said, I think 20ish queries over time of a database with ~100 states should work and we need to get to the bottom of why it isn't.

I mean, I am just testing the Silo output to make sure that work elsewhere in the code has not mucked with the results.  In the context of end-to-end testing of a feature that I would generally expect to not be too sensitive to things going on in other parts of the code, sampling a few spatial points at some/all of the plot states seems like a sensible thing to do.  If you think this is . . . excessive in some way, or maybe open to some optimization that I haven't considered, lets discuss offline.
I do agree that >100 spatial points at >100 plot states seems like the boundary of reasonableness.  I will note that not all problems test the Silo output, and I personally tend to be sensitive about minimizing test I/O and runtimes.  But it is also true that I am not the only dev . . .  Anyway, I will appreciate whatever you all can do to fix up the point mesh queries.

Thanks to @biagas sleuthing, I think I found the issue and its a one line fix. Testing now.

Ok, I think this is working now. @biagas investigation was the key to finding the problem. The call to cache global node ids in one place was using the incorrect mesh name. In the image below, I am looking at the modified data where I set node 11 to global id 1372 and that is what appears in the pick results too.

I cannot explain the problem reported with meshType reported by File-File Information (which correctly shows type AVT_POINT_MESH) and the Grid Information query which shows AVT_UNSTRUCTURED_MESH. For sure the input database is using a point mesh and has properly indicated that even in the multimesh object.

I confirm that the CLI routines PickByGlobalNode and PickByGlobalZone work for this data too.

Ok, while I believe I did find and fix an issue with the meshname used to cache global node ids, that logic is not in play here. So, this is now working because of other changes made since 3.3.3. I confirm bad behavior on 3.3.1 and working behavior on 3.4RC. Because of this, I believe the issue reported is indeed already fixed by other work...which I've yet to identify where the fix might have happened. I am going to unnassign but close this issue as completed in 3.4.2 as I am getting correct behavior now.


Added 'request'

request is the most popular library in npm and it makes http requests super simple. Hope it helps.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

We are marking this PR invalid for Hactoberfest as it does not follow the recommended guidelines below:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove white space / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details
This seems to be taken directly from https://www.npmjs.com/package/request/v/2.11.4 with no changes. Please note that plagiarism isn't allowed.


PCF DEV was working and now not starting

Both on my windows and Linux installations on the same box; PCF DEV was working and now fails. I see the following failure:
Process '''syslog_drain_binder'''       Execution failed
It is consistently this process on both os's - is there anything I can do to remediate this? Note I dual boot my SSD for this and, originally, it worked on both but now doesn't.  Any help appreciated.
Thanks,
Piero
cf version 6.34.1+bbdf81482.2018-01-17
PCF Dev version 0.28.0 (CLI: 5cda315, OVA: 0.547.0)

I'm seeing this issue too. It looks like the certificate expired 2018-02-15.
$ head -n 7 /var/vcap/sys/log/syslog_drain_binder/syslog_drain_binder.log
panic: x509: certificate has expired or is not yet valid

goroutine 1 [running]:
panic(0xa34b80, 0xc4201d6180)
	/var/vcap/data/packages/golang1.7/c5de560ab1578122cd22032249fb7f1f287768d4/src/runtime/panic.go:500 +0x1a1
main.main()
	/var/vcap/data/compile/syslog_drain_binder/loggregator/src/syslog_drain_binder/main.go:55 +0xbd5

$ openssl x509 -in /var/vcap/jobs/syslog_drain_binder/config/certs/syslogdrainbinder.crt -text -noout
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:<PHONE_NUMBER>9211907925 (0xe3c51513322b6755)
    Signature Algorithm: sha1WithRSAEncryption
        Issuer: CN=*.service.cf.internal, C=US, ST=New-York, L=New York, O=Pivotal, OU=PCF<EMAIL_ADDRESS>        Validity
            Not Before: Feb 15 22:35:39 2017 GMT
            Not After : Feb 15 22:35:39 2018 GMT
        Subject: CN=*.service.cf.internal, C=US, ST=New-York, L=New York, O=Pivotal, OU=PCF<EMAIL_ADDRESS>...

Fixed in v0.29


Scrap json metrics from nginx vts module when enabled

This change is

Coverage decreased (-3.02%) to 43.241% when pulling 4d0e1a31c02dd33f71adfc4df124103e82e87e6c on aledbf:ngx-vts-prometheus into dd7f8b4a972d9c7346da2b37419ff3529d3b38d0 on kubernetes:master.

Coverage decreased (-3.02%) to 43.241% when pulling e702c558200ab7877a4b73b8b9183eed11abb37a on aledbf:ngx-vts-prometheus into dd7f8b4a972d9c7346da2b37419ff3529d3b38d0 on kubernetes:master.

Coverage decreased (-3.02%) to 43.241% when pulling e702c558200ab7877a4b73b8b9183eed11abb37a on aledbf:ngx-vts-prometheus into dd7f8b4a972d9c7346da2b37419ff3529d3b38d0 on kubernetes:master.


Overlay - Additional Details

We collect a range of data within the audit logs that can provide further, detailed information about each of the endpoints i.e. what tests are accessing them, who the owners are and what SIGs they belong to.
In addition for the E2E tests we can present more detailed information about each of the tests that are running against the endpoint and their purpose.
All of this information can be presented back to the user when they click on an endpoint from within the sunburst visualisation and to do this we would present an overlay that loads as required. Depending on the available data we can structure the screen in a number of ways - which is being explored.
Illustration below:

This was helpful as a conversation topic, but we may need to revisit when we have and global endpoint+test site that we can tie back to sigs.


Improved tutorials for trialwise and cropped decoding

Improved tutorials for trialwise and cropped decoding, copied some parts from previous versions of braindecode.
Closes #112

Codecov Report

Merging #115 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #115   +/-   ##
=======================================
  Coverage   58.42%   58.42%
=======================================
  Files          37       37
  Lines        2148     2148
=======================================
  Hits         1255     1255
  Misses        893      893

super will have a look

no idea why always timing out on circleci :( will attempt a merge anyways


[OCM/Sandro] Reva is not compiling on Mac computers with Apple Silicon architecture

This issue makes running OCM scripts locally on Sandro's Macbook impossible.
The current solution is to comment out Reva in the test script. my solution is:

Get rid of compiling Reva each time, use the Reva binary from the docker image, and use a flag to force compile and mount the Reva binary into the docker container when working on a separate Reva branch.
Determine OS/CPU from inside the script and automatically enable/disable compiling Reva based on that.

Since I don't have any M1/M2/M3 MacBooks, I'm not able to debug this issue on my own and it seems I cannot use KVM/VirtualBox/VMWare either since they are going to be run on my x64 hypervisor anyway!


Create texture from canvas

A naïve and incomplete attempt at #3211
I've never explored this part of the codebase so I'd like to hear your thoughts, particularly about using the canvas dataURL as the gltfImage uri, before I proceed any further.
Todo:

[x] Add a sister method alongside Image.setURI which accepts canvas input
[ ] Add example to docs

Is this still a draft? Would you like to re-request review? I don't get pinged for commits, so I miss things sometimes...

@elalish Still a draft, sorry. I'd like to add tests and an example to the docs and before requesting review.
Time I would've liked to spend on this PR went into creating a custom build based on v1.8 to work around issue #3193 :(

@elalish Still a draft, sorry. I'd like to add tests and an example to the docs before requesting review.
Time I would've liked to spend on this PR went into creating a custom build based on v1.8 to work around issue #3193 :(

Did you ever find the source of #3193? I'd like to get that fixed upstream. In any case, no rush and thanks for the contributions!

I believe this has been addressed by #3886.


Make PeakFlow so you can login with google or github SSO

Completed you can now login with github or google sso


How are files encoded in multipart form data?

Hey all,
Thanks for your great work on FilePond! Really enjoying it so far.
One quick question about the library internals that seems like it might be more appropriate for GitHub than SO:
I'm trying to write a custom processor backend following the docs in order to upload files to Google Drive. However, I'm running into some strange behavior related to the file encoding that I don't quite understand.
How are files encoded in multipart form data? I'm parsing the form data in a Lambda function with busboy and raw-body like so:
const parse = (event) => {
  return new Promise((resolve, reject) => {
    const contentType = event.headers['Content-Type'] || event.headers['content-type'];
    const bb = new busboy({headers: {'content-type': contentType}});
    const filePromises = []
    let data = {fields: {}, files: {}}

    bb.on('file', (fieldname, file, filename, encoding, mimetype) => {
      data.files[fieldname] = {filename, encoding, mimetype}
      filePromises.push(
        getRawBody(file).then(rawFile => {data.files[fieldname].content = rawFile})
      )
    })
    .on('field', (fieldname, val) => {
      data.fields[fieldname] = val
    })
    .on('finish', () => {
      resolve(Promise.all(filePromises).then(() => data))
    })
    .on('error', err => {
      reject(err)
    })

    bb.end(event.body)
  })
}

Then, I pass the file data along to the Google Drive API using the buffer stored on data.files[fieldname].content. When I test this with a jpeg and retrieve the file from Google Drive, however, it appears to be encoded improperly, and I can't open it as an image. The same behavior happens if I write data.files[fieldname].content to the filesystem with fs.writeFileSync and then open it locally, so the encoding problem isn't happening with the Drive API.
How should I expect to handle the file data in the multipart form? Is it encoded in any particular way?

Hi, If you're not using the file encode plugin then files are posted to the server as any other form. What could be causing the issue is that FilePond posts both the file metadata and the file object itself using the same field name. So you'll probably have to check if you're dealing with the file or with the metadata JSON string.

Thanks for the reply @rikschennink! I feel pretty confident that I'm dealing with the file, since the output of my processing with busboy and raw-body matches what I would expect:
{ fields: { filepond: '{"color":null}' },
  files:
    { filepond:
       { filename: 'image001.jpg',
         encoding: '7bit',
         mimetype: 'image/jpeg',
         content:
          <Buffer ef bf ... > } } }

But maybe I'm misinterpreting the format of the multipart/form-data request? Here's what the raw request object looks like:
------WebKitFormBoundarye37yFUAx7qVo4BAa
Content-Disposition: form-data; name="filepond"

{"color":null}
------WebKitFormBoundarye37yFUAx7qVo4BAa
Content-Disposition: form-data; name="filepond"; filename="image001.jpg"
Content-Type: image/jpeg

����JFIF``��C <more image data here>

The head of the image data body (����JFIF``��) matches what I see when I cat | head the image on my local filesystem, so it seems like the form data is being parsed correctly.
It's totally possible that the problem here is coming from my browser or from the way I'm handling the file stream with busboy and raw-body. I'll continue trying to debug from those angles but if anything jumps out to you here as unusual it'd be helpful!

No problem! :-) It's submitted as any other file, default multipart form submit, no shenanigans.

Thanks for letting me leave this open while I investigated further @rikschennink! After a lot of debugging I'm pretty confident that the problem is actually that Lambda functions don't fully support file uploads for form data (for mysterious and AFAIK undocumented reasons).  See: https://stackoverflow.com/a/42414142/7781189 There seem to be hints of ways to get around it, but I'm deploying my functions via Netlify Functions so customizing API Gateway configs isn't an option.
The recommended alternative path here seems to be to encode the image as base64 before shipping it to the server. It seems like I can accomplish this by customizing the server.process function in my FilePond config. I pulled together a quick spike and confirmed that this workflow would save the image correctly.
Before I close this, however, I wanted to ask: is there a recommended way of accomplishing a base64 encoding before shipping the file to a custom backend? filepond-plugin-file-encode seemed promising, but based on your comment here it seems like it's tightly integrated with the traditional HTML form submission flow. Since I'm handling the image upload with a custom backend API I couldn't figure out a way to get filepond-plugin-file-encode to expose the base64-encoded string in my server.process function. I'm comfortable writing my own custom base64 transformation into the server.process function, I just wanted to check first to see if there was a better-supported way of doing this.

Yes the file encode plugin is mainly there to allow for plain form submits. I think copy pasting the code inside the file encode plugin to your custom process method would be the best way to go.
I’m not sure if this is an option but maybe the remote service accepts array buffers?

Great, thanks! I'll check whether Lamdba supports array buffers before copying the code from the file encode plugin.
Closing this since there was no underlying issue with the library. Thanks again for your support, I really appreciate it.


[ci] Update checkout path for nightly build

The main build scripts prefer a checkout path of s/xamarin-android,
and the nightly job should do the same (at least for now).

Other test failures look like https://github.com/dotnet/android/pull/9035, this should be good and fix up the nightly job.


Add field import_url to Project

Field is available in the API, but missing from the api docs.
https://gitlab.com/gitlab-org/gitlab/-/blob/b93c0cf331413309e44695dac7a3bc63f5bf1b5d/lib/api/entities/project.rb#L98-100

I'm a bit reluctant to support an undocumented field as we do not know if the field is actually part of the public API and might still change before it gets (if at all) added to the docs... So in the past we declined adding undocumented fields and I think I want to stick to that for now.

I thought about it a little more, but decided that for now I want to stick to only supporting things that are documented... Sorry!

I thought about it a little more, but decided that for now I want to stick to only supporting things that are documented... Sorry!

Makes sense for the project! No problem :)

@apricote I went ahead and documented the field https://gitlab.com/gitlab-org/gitlab/-/merge_requests/111933
@svanharmelen any chance to re-open and merge this once the aforementioned MR is merged?

Sure thing 👍🏻

@svanharmelen The MR has been merged. Can we merge and release this?

Tagged v0.80.2


Update renaming-a-branch.md

Why:
The following intermeditery step:
$ git push origin NEW-BRANCH-NAME
generated the following error messages:
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):
Proposing the following command to be removed from the steps:
``$ git push origin NEW-BRANCH-NAME`

Check off the following:

[ ✓] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ✓] For content changes, I have completed the self-review checklist.

@yohannes Thanks so much for opening a PR! And welcome to the community 🎉
I'll get this triaged for review :zap:


"The virtual network for the AKS cluster must allow outbound internet connectivity."

I appreciate that this feedback is very close in nature to that raised in https://github.com/MicrosoftDocs/azure-docs/issues/18882, however, I feel that it's also sufficiently different in nature to warrant a new ticket.
In the discussion in https://github.com/MicrosoftDocs/azure-docs/issues/18882, the opening point is that "Our network security team will not allow open access to the Internet for AKS nodes, or anything else."
We do not have that exact issue - we have deployed an AKS into an existing subnet, which has an NSG that does permit all outbound connections via TCP, to ports 80 and 443, to the NSG service tag of "Internet".
However, our NSG does not then permit any other form of outbound traffic.
Nevertheless, in our view, our subnet meets the requirement stated in the documentation that "The virtual network for the AKS cluster must allow outbound internet connectivity."
However, we find that our AKS does not work correctly - specifically, once deployed, we cannot seem to connect to the cluster as expected.
If we then remove the "deny-by-default" NSG rule that blocks other forms of outbound traffic (other than outbound internet connectivity, which is permitted), the AKS will start to work.
This seems to suggest, therefore, that the requirement that the "virtual network for the AKS cluster must allow outbound internet connectivity" is not the complete story - there must be some other outbound connectivity requirements.
Based on the comment in https://github.com/MicrosoftDocs/azure-docs/issues/18882 that "AKS builds new and upgraded nodes by pulling components from various Microsoft and 3rd party locations", perhaps some of the Microsoft locations means Azure services, rather than public Microsoft websites?
If so, would it be possible to understand what Azure services an AKS needs outbound connectivity to?
Thanks.

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

ID: 22ad4873-c73d-4b90-2063-927a1060d2a2
Version Independent ID: 8e6643ad-7333-a786-8712-3d17291e12a7
Content: Configured advanced networking in Azure Kubernetes Service (AKS)
Content Source: articles/aks/configure-advanced-networking.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Ah. FYI, allowing outbound traffic to the "AzureCloud" service tag solves the issue. This would be helpful if it could please be added to the documentation as something else that is required in addition to outbound connectivity to the Internet service tag.
Thanks!

@iainfoulds Any update on this doc? Could you point me to it if possible please

@iainfoulds @seanmck  - any updates here on doc

This feature is currently available in preview - https://docs.microsoft.com/en-us/azure/aks/limit-egress-traffic


k2cli warning on depreciated properties

Task
Per #262, k2 will print warnings whenever a feature is depreciated. k2cli is a user interface for k2 which uses a spinner to indicate progress while hiding k2s intentionally verbose output. This ticket is to print warnings whenever appropriate.

As an aside, we might want to stop using a spinner altogether in favor of something more user friendly. See this article for ideas. Any work on this might be a separate ticket, but keep this in mind during implementation.

blocked by #258


How can I contact you

I need to contact you, please leave a link as I can contact you, Facebook or something. I want to buy a small plugin for Sponge. Thank you!

You either send me a private message on the Sponge Forums or Gitter. There we can discuss further communication options.

Thank you, i send message in Gitter.


ESP32-support

Hello,
I tried to compile this demo-code onto a ESP32-nodeMCU but the display did not show the text
[code]
#include <DebugTxtVar.h>
#include <LEDMatrixDriver.hpp>
// This sketch draw marquee text on your LED matrix using the hardware SPI driver Library by Bartosz Bielawski.
// Example written 16.06.2017 by Marko Oette, www.oette.info
// Define the ChipSelect pin for the led matrix (Dont use the SS or MISO pin of your Arduino!)
// Other pins are Arduino specific SPI pins
// Uno: MOSI Pin 11 = DIN,
//      SCK  Pin 13 = CLK of the LEDMatrix)
//see https://www.arduino.cc/en/Reference/SPI
// ESP32 V-SPI-Pins
// CLK  GPIO-Pin 18 = CLK
// MOSI GPIO-Pin 23 = DIN
// MISO GPIO-Pin 19
const uint8_t LEDMATRIX_CS_PIN = 5;
// Number of 8x8 segments you are connecting
const int LEDMATRIX_SEGMENTS = 12;
const int LEDMATRIX_WIDTH    = LEDMATRIX_SEGMENTS * 8;
// The LEDMatrixDriver class instance
LEDMatrixDriver lmd(LEDMATRIX_SEGMENTS, LEDMATRIX_CS_PIN);
// Marquee text
//char text[] = "** LED MATRIX DEMO! **<PHONE_NUMBER>) ++ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ++ <$%/=?'.@,> --";
char text[] = "* DIE MEDIOTHEK HAT GEOEFFNET * 12 UHR BIS 14 UHR *";
// Marquee speed (lower nubmers = faster)
const int ANIM_DELAY = 40;
void PrintFileNameDateTime() {
Serial.println( F("Code running comes from file ") );
Serial.println(FILE);
Serial.print( F("  compiled ") );
Serial.print(DATE);
Serial.print( F(" ") );
Serial.println(TIME);
}
boolean TimePeriodIsOver (unsigned long &periodStartTime, unsigned long TimePeriod) {
unsigned long currentMillis  = millis();
if ( currentMillis - periodStartTime >= TimePeriod )
{
periodStartTime = currentMillis; // set new expireTime
return true;                // more time than TimePeriod) has elapsed since last time if-condition was true
}
else return false;            // not expired
}
unsigned long MyTestTimer = 0;                   // variables MUST be of type unsigned long
const byte    OnBoard_LED = 2;
void BlinkHeartBeatLED(int IO_Pin, int BlinkPeriod) {
static unsigned long MyBlinkTimer;
pinMode(IO_Pin, OUTPUT);
if ( TimePeriodIsOver(MyBlinkTimer,BlinkPeriod) ) {
digitalWrite(IO_Pin,!digitalRead(IO_Pin) );
}
}
void setup() {
Serial.begin(115200);
Serial.println( F("Setup-Start") );
PrintFileNameDateTime();
lmd.setEnabled(true);
lmd.setIntensity(0);   // 0 = low, 10 = high
}
int x = 0, y = 0;   // start top left
// This is the font definition. You can use http://gurgleapps.com/tools/matrix to create your own font or sprites.
// If you like the font feel free to use it. I created it myself and donate it to the public domain.
byte font[95][8] = { {0,0,0,0,0,0,0,0}, // SPACE
{0x10,0x18,0x18,0x18,0x18,0x00,0x18,0x18}, // EXCL
{0x28,0x28,0x08,0x00,0x00,0x00,0x00,0x00}, // QUOT
{0x00,0x0a,0x7f,0x14,0x28,0xfe,0x50,0x00}, // #
{0x10,0x38,0x54,0x70,0x1c,0x54,0x38,0x10}, // $
{0x00,0x60,0x66,0x08,0x10,0x66,0x06,0x00}, // %
{0,0,0,0,0,0,0,0}, // &
{0x00,0x10,0x18,0x18,0x08,0x00,0x00,0x00}, // '
{0x02,0x04,0x08,0x08,0x08,0x08,0x08,0x04}, // (
{0x40,0x20,0x10,0x10,0x10,0x10,0x10,0x20}, // )
{0x00,0x10,0x54,0x38,0x10,0x38,0x54,0x10}, // *
{0x00,0x08,0x08,0x08,0x7f,0x08,0x08,0x08}, // +
{0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x08}, // COMMA
{0x00,0x00,0x00,0x00,0x7e,0x00,0x00,0x00}, // -
{0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06}, // DOT
{0x00,0x04,0x04,0x08,0x10,0x20,0x40,0x40}, // /
{0x00,0x38,0x44,0x4c,0x54,0x64,0x44,0x38}, // 0
{0x04,0x0c,0x14,0x24,0x04,0x04,0x04,0x04}, // 1
{0x00,0x30,0x48,0x04,0x04,0x38,0x40,0x7c}, // 2
{0x00,0x38,0x04,0x04,0x18,0x04,0x44,0x38}, // 3
{0x00,0x04,0x0c,0x14,0x24,0x7e,0x04,0x04}, // 4
{0x00,0x7c,0x40,0x40,0x78,0x04,0x04,0x38}, // 5
{0x00,0x38,0x40,0x40,0x78,0x44,0x44,0x38}, // 6
{0x00,0x7c,0x04,0x04,0x08,0x08,0x10,0x10}, // 7
{0x00,0x3c,0x44,0x44,0x38,0x44,0x44,0x78}, // 8
{0x00,0x38,0x44,0x44,0x3c,0x04,0x04,0x78}, // 9
{0x00,0x18,0x18,0x00,0x00,0x18,0x18,0x00}, // :
{0x00,0x18,0x18,0x00,0x00,0x18,0x18,0x08}, // ;
{0x00,0x10,0x20,0x40,0x80,0x40,0x20,0x10}, // <
{0x00,0x00,0x7e,0x00,0x00,0xfc,0x00,0x00}, // =
{0x00,0x08,0x04,0x02,0x01,0x02,0x04,0x08}, // >
{0x00,0x38,0x44,0x04,0x08,0x10,0x00,0x10}, // ?
{0x00,0x30,0x48,0xba,0xba,0x84,0x78,0x00}, // @
{0x00,0x1c,0x22,0x42,0x42,0x7e,0x42,0x42}, // A
{0x00,0x78,0x44,0x44,0x78,0x44,0x44,0x7c}, // B
{0x00,0x3c,0x44,0x40,0x40,0x40,0x44,0x7c}, // C
{0x00,0x7c,0x42,0x42,0x42,0x42,0x44,0x78}, // D
{0x00,0x78,0x40,0x40,0x70,0x40,0x40,0x7c}, // E
{0x00,0x7c,0x40,0x40,0x78,0x40,0x40,0x40}, // F
{0x00,0x3c,0x40,0x40,0x5c,0x44,0x44,0x78}, // G
{0x00,0x42,0x42,0x42,0x7e,0x42,0x42,0x42}, // H
{0x00,0x7c,0x10,0x10,0x10,0x10,0x10,0x7e}, // I
{0x00,0x7e,0x02,0x02,0x02,0x02,0x04,0x38}, // J
{0x00,0x44,0x48,0x50,0x60,0x50,0x48,0x44}, // K
{0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x7c}, // L
{0x00,0x82,0xc6,0xaa,0x92,0x82,0x82,0x82}, // M
{0x00,0x42,0x42,0x62,0x52,0x4a,0x46,0x42}, // N
{0x00,0x3c,0x42,0x42,0x42,0x42,0x44,0x38}, // O
{0x00,0x78,0x44,0x44,0x48,0x70,0x40,0x40}, // P
{0x00,0x3c,0x42,0x42,0x52,0x4a,0x44,0x3a}, // Q
{0x00,0x78,0x44,0x44,0x78,0x50,0x48,0x44}, // R
{0x00,0x38,0x40,0x40,0x38,0x04,0x04,0x78}, // S
{0x00,0x7e,0x90,0x10,0x10,0x10,0x10,0x10}, // T
{0x00,0x42,0x42,0x42,0x42,0x42,0x42,0x3e}, // U
{0x00,0x42,0x42,0x42,0x42,0x44,0x28,0x10}, // V
{0x80,0x82,0x82,0x92,0x92,0x92,0x94,0x78}, // W
{0x00,0x42,0x42,0x24,0x18,0x24,0x42,0x42}, // X
{0x00,0x44,0x44,0x28,0x10,0x10,0x10,0x10}, // Y
{0x00,0x7c,0x04,0x08,0x7c,0x20,0x40,0xfe}, // Z
// (the font does not contain any lower case letters. you can add your own.)
};    // {}, //
void loop() {
BlinkHeartBeatLED(OnBoard_LED,100);
if ( TimePeriodIsOver(MyTestTimer,1000) ) {
}
// Draw the text to the current position
int len = strlen(text);
drawString(text, len, x, 0);
// In case you wonder why we don't have to call lmd.clear() in every loop: The font has a opaque (black) background...
// Toggle display of the new framebuffer
lmd.display();
// Wait to let the human read the display
delay(ANIM_DELAY);
// Advance to next coordinate
if( --x < len * -8 ) {
x = LEDMATRIX_WIDTH;
}
}
/**

This function draws a string of the given length to the given position.
/
void drawString(char text, int len, int x, int y )
{
for( int idx = 0; idx < len; idx ++ )
{
int c = text[idx] - 32;
// stop if char is outside visible area
if( x + idx * 8  > LEDMATRIX_WIDTH )
return;
// only draw if char is visible
if( 8 + x + idx * 8 > 0 )
drawSprite( font[c], x + idx * 8, y, 8, 8 );
}
}

/**

This draws a sprite to the given position using the width and height supplied (usually 8x8)
/
void drawSprite( byte sprite, int x, int y, int width, int height )
{
// The mask is used to get the column bit from the sprite row
byte mask = B10000000;

for( int iy = 0; iy < height; iy++ )
{
for( int ix = 0; ix < width; ix++ )
{
lmd.setPixel(x + ix, y + iy, (bool)(sprite[iy] & mask ));
  // shift the mask by one pixel to the right
  mask = mask >> 1;
}

// reset column mask
mask = B10000000;

}
}
[/code]
So I started reading what might be the error and I found that SPI.begin() can be used with optional parameters fpr the used IO-Pins.
SPI.begin(SPI_CLK, SPI_MISO, SPI_MOSI);
So I modified the constructor in the LedMatrixDriver.cpp to
LEDMatrixDriver::LEDMatrixDriver(uint8_t N, uint8_t ssPin, uint8_t flags, uint8_t* fb):
#ifdef USE_ADAFRUIT_GFX
Adafruit_GFX(N8, N),
#endif
N(N),
spiSettings(5000000, MSBFIRST, SPI_MODE0),
flags(flags),
frameBuffer(fb),
selfAllocated(fb == nullptr),
ssPin(ssPin)
{
if (selfAllocated)
frameBuffer = new uint8_t[N8];
clear();	// initally clear the buffer as the memory will not be initialized on reset (old content will be in memory yet)

pinMode(ssPin, OUTPUT);
digitalWrite(ssPin, 1);

#ifdef ESP32
SPI.begin(18,19,23);
#else
SPI.begin();
#endif
`
Which is a simple solution but not the optimal solution because the ESP32 offers two SPI-buses VSPI and HSPI
my code-modification has the VSPI-IO-pins hardcoded.
It would be much better if the LedMatrixDriver.cpp would have options for using VSPI and for HSPI and any other GPIOs that can be used on a ESP32.
best regards Stefan

Hi Stefan,
Your remark is spot on. The way it was coded is slightly wrong, but on the other hand it simplifies users' code.
I'm considering adding (I have already considered it before) a dependency injection via a dedicated constructor: users themselves would be responsible for creating/initializing SPI object. This way any SPI can be used - VSPI, HSPI or software SPI. The begin method will have to be called before passing the object to the constructor. This method differs between implementations so it also simplifies my code!
The new API would be:
LEDMatrixDriver(SPIClass& spi, uint8_t ssPin, uint32_t speed, uint8_t N, uint8_t flags = 0, uint8_t* frameBuffer = nullptr);
Or something similar. I have added speed because it should be configurable as well. We should consider argument order...
I do not have access to the hardware for another two weeks so even if I implement it I won't be able to test it.
On the other hand I accept pull requests! 😎
Cheers,
Bartosz

Okay, I have modified the library to accept the bus object (and frequency). Check the new branch and the new constructor the code contains. I can't test it - still no HW for at least two weeks. I would be grateful if you could try the new code.
Cheers,
Bartosz


follow-up corrections to AWS DMS docs

Addresses further comments in https://github.com/cockroachdb/docs/pull/15098.

This change is

@ajstorm Just checking on whether you wanted to review, or if you already did. Thanks!


bbox is necessary in Test?

Thanks for your great work. It seems that when I  test some targets in a picture, I must provides their bbox information.Is that true?
PS: I hope you can show us a script which can visualize the test result，thank you very much

Yes, most top-down approaches require a 2D detector.

@chenyilun95 Got it,thanks for your reply


Migrate Popup to Lit

[x] Convert JS to Lit
[x] Convert CSS to be extendable
[x] Create description page

Implemented in https://github.com/YuraVolk/Js-Library/commit/21de7c1511ca992a74e0cad3f1f9bc43837a6e93.


type 'Utf8Decoder' is not a subtype of type 'StreamTransformer<Uint8List, String>'

Dart Sass's tests running against Dart dev are currently breaking because of this issue. The proximate cause seems to be something in the test package, but it looks like the underlying issue is with the core library or the type checker.
This is high severity for us; it's blocking all Dart Sass pull requests and releases. Accordingly, I'm marking it as P1.

@tvolkert Is this related to the breaking change?

Is this a dup of https://github.com/dart-lang/test/issues/1059 (closed by https://github.com/dart-lang/test/pull/1060)?

/cc @grouma

What changed? There wasn't any kind of breaking change announcement on any mailing list I follow.

Do you follow<EMAIL_ADDRESS>https://groups.google.com/a/dartlang.org/forum/#!topic/announce/wcy9wW8Lk9A

Ah, my mistake, I must have missed that.

Closing 'working as intended' per comments above.


Fix pre-commit checks failing on fresh checkout of dev

Fixes CO-883 using a type: ignore as suggested by @hanlint.

Hm... I'm not getting this on dev... any ideas why?

@mvpatel2000 I think you can replicate the issue if you try: pip install --upgrade datasets (to >=version 2)

I'm getting several issues with upgrade... @dblalock  are you also seeing these?

@dblalock could you actually just resolve all the lint errors with datasets 2 and then update meta.yaml / setup.py to upgrade to datasets 2?

CC: @moinnadeem do we need any tests for upgrading datasets?

Let's hold off on tests for updating datasets (ie. I can't think of anything that'll go wrong by updating that)
We'll need regression tests for updating tokenizers and transformers because of potential throughput and accuracy degradations respectively. If updating datasets requires updating transformers or tokenizers, then we should hold off and regression test. Otherwise, LGTM!

@dblalock I put a bit on your plate, so if you don't have the bandwidth for this, lmk and I'm happy to help out. I'd rather just do the full upgrade now though given its something we need to get to anyways

@bandish-shah can you approve / review this? You appear to be the only remaining member of "composer-team-admins"


🐛 Feature request: (intermediate value).require is not a function / import.meta is not supported

Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
3.17.1
What version of Node are you using?
No response
What operating system are you using?
Mac
Describe the Bug
[ERROR] service core:user:my-app: Uncaught TypeError: (intermediate value).require is not a function
at index.js:43523:22 in __require2

The problem is that my code / the generated bundle uses:
var __require = id => {
  return import.meta.require(id)
}

And workerd provides an empty object for import.meta, thus import.meta.require is undefined and not a function.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Relabeling this as a feature request. We do not currently implement anything on import.meta.

Just wanted to share my experience with this coming out of conversations in this issue and so hoping / looking forward to at least get support for import.meta.url 🤞


[FEAT] AMP: Scale back grad in on_after_backward.

What does this PR do?

This PR allows gradient study within on_after_backward using AMP.
Fixes #4151
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @tchaton! Thanks for opening this PR.

In the file tests/models/test_amp.py:

Line 215:17: E117 over-indented

Do see the Hitchhiker's guide to code style


Update apollo version

From "graphql-server-express": "^0.4.3" to apollo-server-express, currently at 1.2.0

Here is my diff from upgrading:
diff --git a/.babelrc b/.babelrc
index 9e3d274..f2e3127 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,6 +1,3 @@
 {
-  "presets": [
-    "es2015",
-    "stage-2"
-  ]
+  "presets": ["env", "stage-2"]
 }
diff --git a/package.json b/package.json
index e03aeb8..f68108f 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
     "babel-cli": "6.16.0",
     "babel-core": "6.17.0",
     "babel-eslint": "7.0.0",
-    "babel-preset-es2015": "6.16.0",
+    "babel-preset-env": "^1.6.1",
     "babel-preset-react": "6.16.0",
     "babel-preset-stage-2": "6.17.0",
     "babel-register": "6.16.3",
@@ -30,6 +30,7 @@
     "nodemon": "1.11.0"
   },
   "dependencies": {
+    "apollo-server-express": "^1.2.0",
+    "graphql": "^0.11.7",
+    "graphql-tools": "^2.6.1",
-    "graphql": "0.7.2",
-    "graphql-server": "^0.3.2",
-    "graphql-server-express": "^0.4.3",
-    "graphql-tools": "^0.8.2",
     "bcrypt": "^1.0.2",
     "body-parser": "1.15.2",
diff --git a/server/index.js b/server/index.js
index a722448..5b3c63b 100644
--- a/server/index.js
+++ b/server/index.js
@@ -1,5 +1,5 @@
 import express from 'express'
-import { graphqlExpress, graphiqlExpress } from 'graphql-server-express'
+import { graphqlExpress, graphiqlExpress } from 'apollo-server-express'
 import { createServer } from 'http'
 import { SubscriptionServer } from 'subscriptions-transport-ws'
 import bodyParser from 'body-parser'

It's working, but prints this error:
Name "__placeholder" must not begin with "__", which is reserved by GraphQL introspection. In a future release of graphql this will become a hard error.

Yeah the thing is we need to have some field in the initial schema we create. Although perhaps this restriction has been lifted?

Still the case:
Error: Mutation fields must be an object with field names as keys or a function which returns such an object.
Guess you could, when the first type is added, eg remove type Mutation from index.js, and change eg Type.graphql from extends type Mutation to type Mutation


Question about Patch Embedding in EfficientViT

Hi,
Thanks for your fantastic work!
In the paper on the network architecture of EfficientViT, it mentions: "We introduce overlapping patch embedding to embed 16×16 patches into tokens with C1 dimension." That is, the image is transformed into multiple (H/16, W/16, C1) patches. Generally speaking, a convolutional layer with patch size equal to kernel size equal to stride is used to achieve this. However, in the source code, the patch embedding part seems to only downsample the image to 1/8 of the original image and does not do as mentioned in the paper. Why is this? Is there something wrong with my understanding?
Best wishes,
Yueyi Wang

Hi Yueyi @66Kevin ,
Thanks for your interest in our work. As in https://github.com/microsoft/Cream/blob/19751fe6033f2522f300cd929cbdf0c8df3ef1cd/EfficientViT/classification/model/efficientvit.py#L303C1-L306
four conv-bn layers with stride 2 are applied, which means the input will be downsampled by 2x2x2x2=16. Hope this clarifies.
Thanks,
Xinyu

Hi Yueyi @66Kevin ,
Thanks for your interest in our work. As in https://github.com/microsoft/Cream/blob/19751fe6033f2522f300cd929cbdf0c8df3ef1cd/EfficientViT/classification/model/efficientvit.py#L303C1-L306 four conv-bn layers with stride 2 are applied, which means the input will be downsampled by 2x2x2x2=16. Hope this clarifies.
Thanks, Xinyu

Hi Xinyu @xinyuliu-jeffrey,
Thanks for your reply!
Oops, my mistake. 4 conv2d_bn modules will downsample by a factor of 1/16. So would 4 consecutive conv2d_bn modules be equivalent to a single conv2d_bn module with kernel size = strides = 16? But that wouldn't ensure overlapping. So at what point could we get the overlapping mentioned in the paper?
Thank you for your patience! I appreciate it.
Best wishes,
Yueyi Wang

@66Kevin 3×3conv with stride 2 will have overlap during downsampling while 16×16conv with stride 16 does not. The following is a simple illustration.

Best,
Xinyu

@66Kevin 3×3conv with stride 2 will have overlap during downsampling while 16×16conv with stride 16 does not. The following is a simple illustration.
Best, Xinyu

@xinyuliu-jeffrey
That makes sense. Thank you so much!
Best,
Yueyi


relabel: add keepequal/dropequal relabel action

Fix #11556
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

Looks good :+1:
The only thing I'm unsure about is the name of the relabeling action. keepequal sounds like it could just be an equality-based (vs. regex-based) version of keep, but it works totally differently because it's comparing to a label value, not to a fixed string. But I don't know how to name it better. keeplabel[s]equal would also sound bad and wouldn't be fully clear. So maybe it's fine like this.

Yeah that is why we reject if there is a regex.

Hmhm ok ok... :)
:+1:

Does this need a PR in https://github.com/prometheus/docs ?

@roidelapluie @juliusv does this new feature also solve and close this long-standing issue with many upvotes?
https://github.com/prometheus/prometheus/issues/3756

How do we get the docs page updated with the new options?
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config

It will be updated when this will be released, the docs are versionned

It is pity that it has been decided to add keepequal and dropequal relabeling actions into Prometheus instead of backporting keep_if_equal and drop_if_equal actions with almost identical functionality from VictoriaMetrics according to these docs :(
Historical note: the keep_if_equal and drop_if_equal relabeling actions were supported by VictoriaMetrics since June 2020.

@roidelapluie @juliusv would it be possible to change to the names @valyala mentions?

Hello, sorry, I was not aware that VM also diverges on relabeling.
I'd note that the functionalities are different. Prometheus keepequal/dropequal will compare the concatenation of inputs with the target. Indeed, in Prometheus relabeling, input labels are seen as a whole.
Additionally, the terminology for relabel action in prometheus is that we do not use underscores and instead just concatenate the nouns.


[Fixes #529] Prevent NPE when context map is null

Purpose
Fix the NPE issue when running the unit tests.
(cherry picked from commit c7a831315f8b48cbde6c2fb3564e0f6267303c6e)

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


how to change credential name with own name

i have some problem when i try using Cart::add() with my own name, and it always returning

undefined index id, name, etc

i tried like this :
Cart::add('user_id'=>$data['user_id'], 'book_name'=> $data['book_name'])
how to fix my case, besides changing in the vendor files
hope you guys can help me
thanks btw

Please see the readme on how to use this package.


Servers not displaying attributes correctly

In servers, attributes don't appear to display correctly. Clientside it is perfectly normal- all modifiers display fine and are colored correctly, etc., but on the server I have set up it does not display anything. The NBT tags are there, though- and using /data get, I can even read which modifier is supposed to be displayed. For some reason, the item just does not display the name and attributes; e.g "Dented Iron Chestplate" displays as "Iron Chestplate" with 2 NBT tags. Interestingly, there is a commented out section in the Tiered.java file which calls a method on the client which would apparently write the item's modifier- is this correct, or is there a reason why it's commented out?
Thanks for the help.

Fortunately, opening a world in survival and messing with items appears to fix the issue. Still would likely be a good idea to figure out why it happens in the first place, but at least there's a workaround?


Call sinon.restore() after each test using sinon

sinon.restore() is now called after each test in any test suite that uses sinon for anything. This is recommended by the Sinon docs in their general setup instructions to avoid memory leaks.

This depends upon #788


fix deprecated warnings by upgrading dependencies

Working build

:tada: This PR is included in version 6.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: