Multiple possible XSS vulnerabilities

Hello,
I would like to report for some XSS vulnerabilities.
For example,
'telefone' is saved in the DB, then it is retrieved and printed in the view.
In file mapos-master\application\controllers\Clientes.php
$data = [
    //...
    'telefone' => $this->input->post('telefone'),
    //...
];
if ($this->clientes_model->edit('clientes', $data, 'idClientes', $this->input->post('idClientes')) == true) {
      //....
  }

    public function edit($table, $data, $fieldID, $ID)
    {
        $this->db->where($fieldID, $ID);
        $this->db->update($table, $data);

        if ($this->db->affected_rows() >= 0) {
            return true;
        }

        return false;
    }

In file mapos-master\application\controllers\Relatorios.php
$data['clientes'] = $this->Relatorios_model->clientesCustom($dataInicial, $dataFinal, $this->input->get('tipocliente'));
//...
$data['topo'] = $this->load->view('relatorios/imprimir/imprimirTopo', $data, true);

public function clientesCustom($dataInicial = null, $dataFinal = null, $tipo = null)
{
    $whereData = '';
    if ($dataInicial != null) {
        $whereData .= "AND dataCadastro >= " . $this->db->escape($dataInicial);
    }
    if ($dataFinal != null) {
        $whereData .= "AND dataCadastro <= " . $this->db->escape($dataFinal);
    }
    if ($tipo != null) {
        $whereData .= "AND fornecedor = " . $this->db->escape($tipo);
    }
    $query = "SELECT * FROM clientes WHERE dataCadastro $whereData ORDER BY nomeCliente";

    return $this->db->query($query, [$dataInicial, $dataFinal])->result();
}

In file
 <?php foreach ($clientes as $c) : ?>
 <?= $c->telefone ?>

Another example,
In file mapos-master\application\views\arquivos\arquivos.php
<input type="text" name="pesquisa" id="pesquisa" placeholder="Digite o nome do documento para pesquisar" class="span12" value="<?= $this->input->get('pesquisa') ?>">

If you agree with the vulnerabilities, I will report the other vulnerabilities.

Hello.
Thank you for the warning.
The sanitization is done by the framework.
Were you able to inject a script?

Thank you for your response.
The default configuration in CodeIgniter after running the composer doesn't do the sanitization.
So after running the command composer install --no-dev, I checked the configuration and I found.
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
| WARNING: This feature is DEPRECATED and currently available only
|          for backwards compatibility purposes!
|
*/
$config['global_xss_filtering'] = FALSE;

Thus, if the developer run the composer then use the application without changing the configuration, he will face many XSS vulnerabilities in the application.
The other option is to confirm that the sanitization should be applied at the input. Post in CI
$this->input->post('key', TRUE); // XSS Clean
$this->input->post('key', FALSE); // No XSS filter

Finally, CodeIgniter mention that Global XSS Filtering is DEPRECATED and it is better to apply the sanitization at the output not the input. XSS filtering in CI

Important: The ‘global_xss_filtering’ setting is DEPRECATED and kept solely for backwards-compatibility purposes. XSS escaping should be performed on output, not input!

@RamonSilva20
Hello,
If you agree with me that if the user will run the composer then the xss filer configuration will be FALSE.
For this reason, I provide the current pull request which will sanitize all the input even if global_xss_filtering is FALSE.


Add automatic crash detection and restarts

Automatic crash detection and restarts
; Enable the option to restart the server after a crash is detected.
; 0 - Restart after crash (default).
; 1 - Do not restart after crash.
# mscs-enable-restart-after-crash=0

This is a preliminary PR for #225 that enables the option to restart worlds after a crash is detected using the mscs-enable-restart-after-crash flag (via mscs.defaults). I set the default to be 0 (true), but we can change the default to be 1 (false) if you think that's better. Additionally, we could add the functionality for it to be available on a per world basis via mscs.properties if you think that's a good idea as well.
How it works:

When a world is started, the startServerMonitor() function is called. This checks if the mscs-enable-restart-after-crash flag is enabled. If so, it checks if there is another instance of the server monitor already running (which would occur if the server was restarted after a crash). To do this check, it uses flock. I tried for several hours to use the createLockFile() function, but it didn't work for me for whatever reason--not sure if it was because I was doing something wrong or if it was just an issue with the function itself. @sandain  If you're able to get the createLockFile() function working instead of using flock, that'd be good so we don't have to use flock as a dependency.

If the monitor is not running, the startServerMonitor() function essentially calls the nohup command on the serverMonitor() function and runs it in the background, so you can close the terminal and the crash monitor will keep running. nohup doesn't allow you to pass functions, but I managed to recreate the functionality through some research. The PID of the monitor is stored in $WORLD_DIR/monitor.pid.

The serverMonitor() function is essentially a loop that detects if the server has crashed by a combination of the a) the existence of the $WORLD.pid file and b) whether the server is running via the serverRunning() function. If the PID file exists but the server isn't running, then this means the server probably crashed (since MSCS hasn't removed the PID file).
Additionally, I had to modify the serverRunning() function to use echo instead of return to return values so I could call the function in the test condition of the until loop and check the return value using $() (I didn't think I could do this the way the function was, but maybe I'm wrong). I subsequently modified all of the references in the script to call serverRunning using $().
There is also a log for the monitor written to $WORLD_DIR/logs/mscs.monitor.log. This log is deleted after $LOG_DURATION to make sure it doesn't get too large. This check occurs in the startServerMonitor() function. There is also a log created called last-start-status.log that stores a message to be displayed later in the mscs status command.

When the mscs stop command is called, it sends a request to kill the server monitor using the stopServerMonitor() function. At this point the monitor should be killed.

When a user runs the mscs status for the first time after a server has crashed, they will see a notice that the world has crashed:
$ mscs status
Minecraft Server Status:
  alex: running version 1.16.2 (0 of 20 users online).
    Port: 25567.
    Memory used: 1.04GB (2GB allocated).
    Server PID: 3351.
    Crash Monitor PID: 19569
    alex automatically restarted from a crash (or in-game stop command)
    on 2020-08-15_22-49-13. See
    /opt/mscs/worlds/alex/logs/mscs.monitor.log and
    /opt/mscs/worlds/alex/crash_reports/ and
    /opt/mscs/worlds/alex/logs/ for more information.

This notice goes away after the first time. The code behind this is simply a check if whether or not the last-start-status.log file exists and is not empty. If this is true, the message is displayed and the file is deleted afterwards (so the message is only displayed once).
P.S.: I tested crashes on the code by doing the /stop command in-game, I believe it should replicate what happens with an actual crash.
Please let me know of any questions or recommendations you have or bugs you find. Thanks!!
Summary of TODO:

Remove flock dependency
Test more
Question: add functionality to enable it on a per-world basis?
Question: make the default setting true or false?

0 should be disabled and 1 should be enabled

I agree with @zanix, 0 should be disabled and 1 enabled. It would be confusing otherwise. A per world option in addition to the global option would be best. Default should be disabled I think.
Sorry about the slow review. I've been busy.

I'm going to close this PR and re-open one that is up-to-date with the current code.


Remove security flag

This conflicts (with code and substance) with #134 - we need to choose.

Let's go with the proposal introduced in #134.


delete module

How i can delete my Modules after create?

You have to delete module/crud related files manually.
Also you can remove the menu from resources/laravel-admin/menus.json file

if you add button for autodelete it will super:)

Okay I'll implement it soon.


Remove unused dev dependancies

Fixes #(issue) https://github.com/codu-code/codu/issues/1026
Pruning unused dev dependancies
Pull Request details
Remove these dev
@svgr/webpack     package.json
@types/dompurify  package.json
aws-cdk-lib       package.json
constructs        package.json
lint-staged       package.json

Hey @DarrachBarneveld looks like some of these are needed. Check out https://github.com/codu-code/codu/actions/runs/11600933537/job/32302551603?pr=1201 to see the E2E tests failing

Most likely failing due to the unused components still requiring them, I will check now


[RFC]: Sharded Targets

Overview
Currently, there are some tools in the market (especially jest) that maintain their own workers to handle scheduling of work. This presents a particular challenge if tests are interweaved in a higher level scheduler that also put work into some workers consuming the same resources like CPU, Memory, I/O, etc.
It is no secret that jest had hit this problem before - they have created a standard way to specify "shards" of tests to be run per machine so that the work can be distributed more efficiently with more compute power.
lage can further this idea of sharding and incorporate it as a unit of work instead of a full package's worth of work as the unit. This kind of division can lead to more evenly distributed use of resources.
A (very realistic) example of the problem of mixing lage and jest workers
As a repository grew in size, it was determined that having both lage AND jest to create their own worker pools quickly causes lots of CPU contention and context switching makes the machine completely unresponsive. So, the repo now operates with a --runInBand strategy for jest. This makes ALL tests to run in serial which can lead to this kind of scenario:
With 2 packages A & B. If A had 1000 tests & B only had 20 tests, lage would only have 2 workers in a pool running those tests. A can spend an evenly long time to run those tests while there are plenty of compute resources available to finish the job sooner if done in parallel.
Proposal
The proposal here is the allow a configuration to deliberately "chop up" a target into a set of "sharded targets". These targets will inherit all the same dependencies and dependents from its "parent target". The sharded targets are then executed and participate in the normal scheduling of executing in a lage worker-threads-pool.
The advantage here is that we can retain using --runInBand from jest while gaining the ability to chunk the task up into small bits for the scheduler to choose when best to execute the work. This way, even tests tasks can be mixed with other build tasks.
The disadvantage here is that we need to turn off the built-in capabilities of jest's own worker (like memory leak detection, restart, etc.) in favor of the simpler worker-threads-pool implementation present in lage.
Example configuration
module.exports = {
  pipeline: {
    build: ["^build"],
    test: {
      type: "worker",
      options: {
        maxWorkers: 4,
        worker: "./jest-worker.js",
        shards: 4,
      }
    }
  }
}

We now have this functionality - but it is called "weight" instead.


boards: acrn: Update documentation and remove outdated configurations

Current documentation refer to the very old ACRN release and it makes it almost impossible to reproduce steps.
Update documentation to simplify steps and remove old outdated configuration.
https://builds.zephyrproject.io/zephyr/pr/65681/docs/boards/x86/acrn/doc/index.html

@jhedberg please take a look

@finikorg does this need any updating before merging? I'll at least re-trigger CI since it was run almost two months ago the last time.

@finikorg strangely, I don't see the usual options to re-run the tests. Could you rebase and do it that way? Thanks.

@finikorg strangely, I don't see the usual options to re-run the tests. Could you rebase and do it that way? Thanks.

rebased

@najumon1980 @nashif @tbursztyka Could you review this PR, before moving to HWM v2.


[Feature]: Productionize SaaS app

Is there an existing issue for this?

[X] I have searched the existing issues

Summary

[ ] Connect to prod db
[ ] Create another app in release with exported app config
[ ] QC Airtable in production

Why should this be worked on?
We need to have these in place to accept contributions from external contributors

Fixed #9680

Fixed #9697


Investigate missing front faces in CX-20's example

Investigate missing frontfaces in http://jsdo.it/cx20/ApVP

xeoengine.min.js v0.1.0 (Built on 2015-09-24)

xeoengine.min.js v0.1.0 (Built on 2016-03-04)

I tried the code below.
var modes = new XEO.Modes(object.scene);
object.modes = modes;
modes.backfaces = true;

I was able to revise a problem :)
However, I do not know whether it was a right way :(
Please tell me the correct use of the library.

Try this geometry - here's a gist of a XEO.Geometry that works OK. That's the same array structure as used for the SceneJS example.
In xeoEngine, backfaces are hidden by default, and the vertex winding order for frontfaces is counter-clockwise. So the geometry arrays in that gist will work with those defaults.
In the meantime, I'm going to try to find why the array layouts you were using before don't work for xeoEngine. It's strange, I'm not sure why. Since they are the same as you've used for BabylongJS, it would be good to be able to use those for xeoEngine also.

Thank you for advice :)
I understood  the same array structure as used for the SceneJS example worked correctly.
However, I want to use the same layout because I want to do the comparison with following samples.

A Comparison of WebGL Libraries in the World through Displaying Basic Primitives.
http://qiita.com/cx20/items/0fa19c96aa6470d98807

The array layout uses a thing same as the basically following sample.
(But the scale of the vertex array changes 1.0 to 0.5.)

WebGL Lesson 4 – some real 3D objects | Learning WebGL.html
http://learningwebgl.com/blog/?p=370

I modified it once so that a sample worked.

http://jsdo.it/cx20/ApVP
http://jsdo.it/cx20/cwdH

modes.backfaces = true;

Please tell me if you have discovered something.
Thanks.

I'll have to work on this issue in about two weeks - I'll come back to it then.

The array layout uses a thing same as the basically following sample.

WebGL Lesson 4 – some real 3D objects | Learning WebGL.html

I'm sorry. The layout was not same when I reconfirmed.
The backfaces flag was unnecessary when I made a layout the same.
modes.backfaces = true;

The below are Buffer View of WebGL Inspector.

Before

http://jsdo.it/cx20/ApVP

After

http://jsdo.it/cx20/2cvR

Oh cool, so no bug?

Yes. I think that it is not a bug.
This is a problem of the culling.

Maybe, in the previous version  (Built on 2015-09-24) , I think the back side of the polygon was displayed.
I think that it is correct that the back side of the polygon is not displayed by default.

Excellent, thanks.


ENH: optimize: release the GIL while computing the LSAP solution

What does this implement/fix?
The LSAP (linear sum assignment problem) routine does the bulk of its work in solve_rectangular_linear_sum_assignment() using C-style pointers for data access after unwrapping the numpy arrays, so we can release the GIL during this computation. This permits threading the computation of independent LSAP problems.
The first commit is the change to the C-code to drop the GIL, and the second commit adds a timing benchmark test for computing the solution to independent LSAPs. I don't mind dropping the second commit if it is deemed to be unnecessary.
The timing results on my machine without the first commit are:
$ python dev.py bench -t optimize_lap.ParallelLinearAssignment

[  0.00%] ·· Benchmarking existing-py_node_bud213_shared_envs_scipy_20230706_bin_python
[ 50.00%] ··· Running (optimize_lap.ParallelLinearAssignment.time_evaluation--).
[100.00%] ··· optimize_lap.ParallelLinearAssignment.time_evaluation                                                                                ok
[100.00%] ··· ========= =============
               threads
              --------- -------------
                  1      8.22±0.04ms
                  2       8.44±0.1ms
                  4      8.68±0.09ms
              ========= =============

And with the first commit, this becomes:
$ python dev.py bench -t optimize_lap.ParallelLinearAssignment

[  0.00%] ·· Benchmarking existing-py_node_bud213_shared_envs_scipy_20230706_bin_python
[ 50.00%] ··· Running (optimize_lap.ParallelLinearAssignment.time_evaluation--).
[100.00%] ··· optimize_lap.ParallelLinearAssignment.time_evaluation                                                                                ok
[100.00%] ··· ========= =============
               threads
              --------- -------------
                  1      7.77±0.07ms
                  2       4.14±0.1ms
                  4       2.86±0.4ms
              ========= =============

I don't mind dropping the second commit if it is deemed to be unnecessary.

Thanks for asking, I think it's good to keep - it's pretty fast to run, and makes it easy to check the performance gain if needed in the future.


Explicit connection reuse

It would be convenient to be able to re-use specific database connections for explicitly sequential tasks. For instance, declare a temporary table, insert some rows from an Arrow table, and join against that session table in a subsequent select.
Things I have tried unsucessfully:

enable_odbc_connection_pooling(), as mentioned in #43
decorate connect.py:connect_to_database() with @functools.cache()

(yes I knew it was a bad idea, thought it was worth a try)

I assume there are Rust ownership issues that make this difficult, but it would be amazing for ETL jobs which compute intermediate data sets. Right now I'm creating tables dynamically and dropping them after.

Hello @timrburnham ,

It would be convenient to be able to re-use specific database connections for explicitly sequential tasks. For instance, declare a temporary table, insert some rows from an Arrow table, and join against that session table in a subsequent select.

If it is about the saving the time to reconnect to the database, connection pooling does enable this. This sounds more like you want everything happening in the same transaction? Also, while declaring temporary tables is currently possible in arrow-odbc because it does execute arbitrary SQL statements the scope and intention of the package is currently only data insertion in and out of tables. With my current day-job I am a bit anxious if I could tackle the scope of another pyodbc.  I am already maintaining the odbc-api bindings for Rust.
So I would need to understand very precisely why you want these commands on the same connection. Maybe there is something here which still fits in the scope of the arrow-odbc Python bindings. It could very well be.
Alternatively you could also try:

Using arrow-odbc directly from Rust. You can do everything you want in conjunction with odbc-api. Even fancier stuff like reusing Connection and Statement handles.
Switching to turbodbc it is potentially harder to install and behaves differently in some situations, but it does allow fast bulk fetch into arrow arrays and it is broader in scope, including explicit connections in Python code.

I assume there are Rust ownership issues that make this difficult

As I see it every piece of Software has ownership issues. It is just in Rust the compiler tells you about them.

Thank for the quick analysis! I don't think I need transaction control, just the same session--I really thought it might work with connection pooling. I'm not clear what's being reset.
In this test case, I'm using the DuckDB driver under UnixODBC, since it's simple to setup and use. For reference, my ~/.odbc.ini contains:
[DuckDB]
Driver=DuckDB Driver
Database=:memory:

and my ~/.odbcinst.ini:
[DuckDB Driver]
driver = /home/tim/libduckdb_odbc.so

Here's a non-working case, using arrow-odbc:
arrow_odbc.enable_odbc_connection_pooling()

# create temp table, DuckDB syntax
sql = """\
create temporary table temp_keys (
  k varchar(128)
)
on commit preserve rows
;"""
arrow_odbc.read_arrow_batches_from_odbc(sql, 'DSN=DuckDB;')

# insert a bunch of rows from Arrow Table
filter = pa.Table.from_pydict({"k": ["key1", "key2", "key3"]})
reader = pa.RecordBatchReader.from_batches(filter.schema, filter.to_batches())
arrow_odbc.insert_into_table(
    reader=reader,
    chunk_size=1000,
    table="temp_keys",
    connection_string='DSN=DuckDB;',
)

sql = """\
select v from
  values ('key1', 1), ('key6', 6) as fake_big_table(k, v)
inner join temp_keys
  using (k)
;"""
results = arrow_odbc.read_arrow_batches_from_odbc(sql, 'DSN=DuckDB;')

Results:
>>> results = arrow_odbc.read_arrow_batches_from_odbc(sql, 'DSN=DuckDB;')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/tim/venv/lib64/python3.11/site-packages/arrow_odbc/reader.py", line 493, in read_arrow_batches_from_odbc
    reader.query(
  File "/home/tim/venv/lib64/python3.11/site-packages/arrow_odbc/reader.py", line 127, in query
    raise_on_error(error)
  File "/home/tim/venv/lib64/python3.11/site-packages/arrow_odbc/error.py", line 30, in raise_on_error
    raise Error(error_out)
arrow_odbc.error.Error: ODBC emitted an error calling 'SQLExecDirect':
State: 42000, Native error: 0, Message: ODBC_DuckDB->PrepareStmt
Catalog Error: Table with name temp_keys does not exist!
Did you mean "pg_views"?
LINE 3: inner join temp_keys
                   ^

And after pip installing the native DuckDB driver, here's a working version where we explicitly reuse same connection:
duck = duckdb.connect(':memory:')
sql = """\
create temporary table temp_keys (
  k varchar(128)
)
on commit preserve rows
;"""
duck.sql(sql)

filter = pa.Table.from_pydict({"k": ["key1", "key2", "key3"]})
duck.sql("insert into temp_keys(k) select k from filter;")

sql = """\
select *
from values ('key1', 1), ('key6', 6) as fake_big_table(k, v)
inner join temp_keys
  using (k)
;"""
results = duck.sql(sql).to_arrow_table()

Results:
>>> results
pyarrow.Table
k: string
v: int32
----
k: [["key1"]]
v: [[1]]

The general idea is, if I have a million rows in a table, and I only want a thousand of them, if I already know the keys it's easy to upload them into a temp table and join against my big table. You can get pretty far binding parameters to where clauses, but joins are better in some cases.

Hello @timrburnham ,
thanks for the detailed response and sorry for the delayed answer. The use case is legit, however it is quite removed from there arrow-odbc is currently in terms of interface. Your first statement already illustrates this well:
# create temp table, DuckDB syntax
sql = """\
create temporary table temp_keys (
  k varchar(128)
)
on commit preserve rows
;"""
arrow_odbc.read_arrow_batches_from_odbc(sql, 'DSN=DuckDB;')

Although working, this is of course not the intended use of read_arrow_batches_from, as you are only interessted in the "side effect" of temporary table creation.
I'll give it some thought. However please not that, at least during the month of May, I won't have any time to act on this, so please be aware that you will need a workaround / different solution in the meanwhile.
Best, Markus

Thanks very much, Markus! Using permanent tables is fine as a workaround, of course, I'm only thinking of the ergonomics. I really really like using arrow-odbc, thanks for a fantastic package!

This is mostly a note to myself:
I have not decided yet, whether to take this into the scope of the arrow-odbc Python bindings. If so however I can see two designs working.

Connections are explicitly instantiated by the user. They have their own representation in Python code and could be passed explicitly in the creation of readers and writers. On the Rust side this would imply storing them in an Arc<Mutext<_>> instead of taking full ownership of them. Mutex would be required explicitly to ensure error messages end up correctly on the thread that caused them. This design would not only allow to use the same connection for multiple statements in succession, but multiple statements might be active at the same time utilizing the same connection. This is supported according to ODBC, but I am fearful this would create hard to debug errors with some drivers.

Connections are not represented explicitly in user code. Instead there is only one handle to an object representing all the possible states of arrow-odbc. On the Rust side this would imply unifying the Reader and Writer into a single enum. In additon we must not close the Connection as soon as the Reader is consumed, but rather would only fall back to Connected state.
On the Python side the user would interact with an object offering all the high level functionality and returning errors if they are called from an invalid state.

Approach 1 like requires upstream support from odbc-api allowing StatementConnection to own e.g. Arc connection types.
Approach 2 requires some careful thinking about the schema member

Approach 1: Supporting Arc would likely imply relying more on the native thread safety of the drivers. At least if we want to keep concurrent fetching, we would need to also implement Send for StatementConnection<Arc<_>>. See also: https://docs.rs/odbc-api/latest/odbc_api/struct.StatementConnection.html#impl-Send-for-StatementConnection<'c>

Approach 2: Schema member can likely be updated on state changes. I dislike that writer and reader would have a "merged" interface.

Note to myself:

Followed down approach 2. Yet this would lead to many repetition in the signatures of the Python interface. This would be cumbersome to maintain and unintuitive to the user.

Going forward we aim to combine the 1. and 2. I.e. We offer an explicit connection object. However internally it would be modeled as Arc<Mutex<Option<Connection>>> instead of Arc<Mutex<Connection>> allowing the reader or writer to take full ownership of the connection. The reusing of the connection would be implemented by giving it back to the original Arc pointer.

This sounds ideal! Would it be practical for the Python Connection object to directly offer an execute() method, for performing DDL or other 0-result statements? As you pointed out above, I was abusing read_arrow_batches_from_odbc() for side-effects, without reading any Arrow data.


ImportError: cannot import name 'psd_inv_cholesky' from 'kfac_jax._src.utils'

when I install deepqmc, kfac-jac is included. Then I type deepqmc --version to installation, at this time, it say ImportError: cannot import name 'psd_inv_cholesky' from 'kfac_jax._src.utils'. I want to know what should I do to solve the problem or it is not a problem?

kfac_jax does not have psd_inv_cholesky in utils. It might be that deepqmc is somehow having a wrong import?


Proxy mode - API Service endpoints incorrect scheme

Hi,
We noticed that the API service endpoint from the discovered proxies use the "http" scheme instead of "https".
Example :

When we look at the API Proxy configuration we can see that the deployed environment uses an https endpoint

In the HTTP Proxy connection, we can see that a "secure" virtual endpoint is referenced

We can also see that the "secure" virtual host is defined and uses tls

In the agent logs, we didn't see any http request reference to the "secure" virtual host, only the "default" one using http.
Could you please help ?
Thanks,

@gwandwingor considering we require the spec to be attached, could we trust that the spec has the desired URL in it?
At the moment there is no way to get that URL from the API calls. For instance the proxy and revision tells me that the TargetEndpoint is "default". Until now we took default and got the virtual host by the same name, the virtual host with the name of default is the insecure url.
If the URL will be in the spec, since we are already parsing the spec, we could use the URL/URLs from there. Really take a host config from the spec and create a url from it.

Here is a sample of what the API returns with some things removed for brevity.
{
  "basepaths": [
    "/gwa-coinbit"
  ],
  "description": "View the Coinbit Price Index (BPI) in real-time.",
  "displayName": "GWA-Coinbit",
  "name": "GWA-Coinbit",
  "proxies": [
    "default"
  ],
  "proxyEndpoints": [
    "default"
  ],
  "resources": [
    "openapi://association.json"
  ],
  "revision": "3",
  "sharedFlows": [],
  "spec": "",
  "targetEndpoints": [
    "default"
  ],
  "targetServers": [],
  "targets": [
    "default"
  ],
  "type": "Application"
}

It seems apigee has a BFF (backend for frontend) that has more capabilities than what the API data returns.

Spoke with @gwandwingor. Will pull the config XML file from the Proxy bundle to find the HTTPProxyConnection details and assemble the URL from it.

Will be fixed in APIGOV-26363


[RHCLOUD-18127] Refactor status system

This is part of a larger effort to get the status system factored-out into a library. I'm using this draft PR to do testing.

This can be closed. We're not going to merge this. I just used this draft during development.


Spot market - Cross chain/Isolated, slider

Description
Spot market issues:

[x] Crosschain and isolated visible on spot market
[ ] Slider only works for buying in the quote asset not for selling
[ ] The asset below in console, highlights the quoteasset of the market you have chosen but it should also highlight the base asset.

To clarify 3. doesn’t matter much for derivatives since you basically have 1 settlement asset but if we end up having 50 spot markets then it would be nice to see what you have in both assets highlighted.


Don't re-look-up tables to avoid dots problem

If a links value has a . in the name Cargo would previously panic, but this
alters the code to be more principled about lookup in tables to ensure that we
don't misinterpret the names.
Closes #2786

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

r? @brson

@bors r+

:pushpin: Commit 53b7422 has been approved by brson

:hourglass: Testing commit 53b7422 with merge 1d6b639...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


upgrade yurt-manager helm chart version to 1.4.3

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

/kind enhancement
What this PR does / why we need it:
The following two pull requests have update helm charts of yurt-manager component, so we need to upgrade yurt-manager helm chart to a new version: 1.4.3
https://github.com/openyurtio/openyurt/pull/1884
https://github.com/openyurtio/openyurt/pull/1897
by the way, we don't need to upgrade appversion because of the code of yurt-manager component has not been modified.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/rerun


A question about rendering quality

Dear author,
Hello. I have been using your run_nerf.py program to examine the rendering results. However, I have noticed that the images generated by the render_virtual_imgs function for new viewpoints appear somewhat blurry. Could you please advise on how to generate clearer images for new viewpoints?
Thank you！

Dear author, many images generated by random_view_synthesis appear to be somewhat blurry. Will this affect the model's performance? How can the parameters be adjusted to generate clearer images?

Hi, from the look of it, it might render the views with a camera position that is lower than the ground. Maybe consider reducing --rvs_trans values or set a lower threshold in the height of the camera position reduce the "blurry images".

Hi, from the look of it, it might render the views with camera positions that are lower than the ground. To ensure "clear images" are rendered, please consider reducing --rvs_trans values or setting a lower bound for the height of the camera position to reduce the "blurry images."
Overall, nerf only encodes scene details available in the training views. It is normal that if the camera position is "too out of range," the artifacts will appear. Currently, there are several papers on reducing this phenomenon.

Thank you！


Getting Mathjax to work

I'm trying to get Mathjax and the hugo learn theme to work together on a new site I'm building.  For a .md file, inline math equations are not rendering.  I have tried

$formula$
\( formula \)
  ( formula)

none of which render inline.  As you can see in the screenshot of the page,

I currently have placed the mathjax script
    <script type="text/javascript" async   src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML"> </script>
in \themes\hugo-theme-learn\layouts\partials\header.html and the snippit shows up in the header of the page.
Any idea what I should try next?

Please could you share a block of markdown text where you try and render an equation? It's difficult to investigate this without any sample code.

Hi @matalo33 - This would also be of interest to those using blogdown in R, which often makes heavy use of mathjax.  I can provide example markdown from one of blogdown's stock example posts:
---
title: "A Plain Markdown Post"
date: "2016-12-30T21:49:57-07:00"
---

This is a post written in plain Markdown (`*.md`) instead of R Markdown (`*.Rmd`). The major differences are:

1. You cannot run any R code in a plain Markdown document, whereas in an R Markdown document, you can embed R code chunks (```` ```{r} ````);
2. A plain Markdown post is rendered through [Blackfriday](https://gohugo.io/overview/configuration/), and an R Markdown document is compiled by [**rmarkdown**](http://rmarkdown.rstudio.com) and [Pandoc](http://pandoc.org).

There are many differences in syntax between Blackfriday's Markdown and Pandoc's Markdown. For example, you can write a task list with Blackfriday but not with Pandoc:

- [x] Write an R package.
- [ ] Write a book.
- [ ] ...
- [ ] Profit!

Similarly, Blackfriday does not support LaTeX math and Pandoc does. I have added the MathJax support to this theme ([hugo-lithium](https://github.com/yihui/hugo-lithium)) but there is a caveat for plain Markdown posts: you have to include math expressions in a pair of backticks (inline: `` `$ $` ``; display style: `` `$$ $$` ``), e.g., `$S_n = \sum_{i=1}^n X_i$`.^[This is because we have to protect the math expressions from being interpreted as Markdown. You may not need the backticks if your math expression does not contain any special Markdown syntax such as underscores or asterisks, but it is always a safer choice to use backticks. When you happen to have a pair of literal dollar signs inside the same element, you can escape one dollar sign, e.g., `\$50 and $100` renders "\$50 and $100".] For R Markdown posts, you do not need the backticks, because Pandoc can identify and process math expressions.

When creating a new post, you have to decide whether the post format is Markdown or R Markdown, and this can be done via the `ext` argument of the function `blogdown::new_post()`, e.g.

Since I was experiencing the same issue with the Hugo mainroad theme, I had a look: the mathjax config seems to be missing. If you add it to the partial where you load the mathjax js file from the CDN, simply add this below your script element:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]} })
</script>

Something like $\mathcal{N}(0,\,1)$ should be working with this change.

I've placed the above scrip into header.html as suggested by @albi3ro and it's working for .Rmd files.

I put both scripts mentioned by @thomasweitzel and @albi3ro below the  element in header.html, and it's working for .md files. Thanks!


clarification on wg public and private keys

On https://lnvpn.net/ you say that "Your private keys are only generated within the browser!". It's unclear to me about public keys. Do you generate a public key from my private key and then send that to your server in the background? Also, where is the public key for your end coming from? Is that constant, or fetched in the background from your server?
Also, https://lnvpn.net/api/documentation/ doesn't mention anything about the my public key. How are you getting my public key when the API is used?

Here is the file which is responsible for the key generation:
wireguard.js
As you see the public key is generated from the private key. This public key is send to our server as you said.
The key generation for the API is different. Here it is a kind of custodial solution. You can't provide your own public key. But this will be possible in the future.

Yes, please add it to the API query as an option to submit the public key. Then, the same query could be used to renew an existing connection (https://github.com/LightRider5/lnvpn/issues/22).


⚠ Samsung has degraded performance

In 0bd3579, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1952 ms

Resolved: Samsung performance has improved in 70885d7.


[RCTNetworking] Received data was invalid.

Hi,
since v0.7.0-rc.2, I get the following error:
  [error][tid:com.facebook.React.RCTNetworkingQueue][RCTNetworking.m:384] Received data was invalid.

When trying to fetch() something as follows:
    fetch('https://ssl.google-analytics.com/collect', {
      method: 'post',
      body: hit.toQueryString()
    });

This code was working in prior versions of RN. The return from google seems to be an empty gif (1x1px).
P.S. this is from react-native-google-analytics.

@brentvatne Do you have any idea here? I was now debugging for some hours but had no luck until now.

@nicklockwood I just figured it was your commit in RCTNetworking.m that introduced this check (https://github.com/facebook/react-native/commit/f88bc3eb73107d0df25c660f159eac8197474d7e) - do you have any idea as to why this might happen?

We currently only support XHR requests that return text responses. Support for images is planned, but not currently implemented. It probably worked before because we didn't report the error and just returned null as the response.

@nicklockwood Thanks for the answer. Would it make sense to add it to the breaking changes section then? Moreover, wouldnt it be better to log the error but not create a redbox? Sometimes, you might just want to open an URL without parsing the result (as it is the case for google analytics sometimes).
@Iwansbrough This might be of interest for you in terms of react-native-google-analytics

Yes, on both counts.

@brentvatne I've seen that you have been active concerning "breaking changes" recently IIRC. Are you able to add stuff there? Concerning the other point of changing:
 if (!responseText && data.length) {
    RCTLogError(@"Received data was invalid.");
    return;
   }

in RCTNetworking.m to something that does not result in a Redbox: could you gimme some guidance as to how this should be done in RN? I would like to add a PR then (have never done that before, so a little more guidance is highly appreciated :))

Hi Philipp, I'm just investigating what would be involved. If it was a normal method call you'd just return an error callback, but in this case it's slightly more complicated as you'd need to cancel the request to prevent multiple errors being sent.

@nicklockwood OK, I've just created a pull request to work with, feel free to give feedback in there if thats better.
https://github.com/facebook/react-native/pull/1860

Thanks for the heads up @PhilippKrone, I updated the breaking changes section of the release notes: https://github.com/facebook/react-native/releases/tag/v0.7.0-rc

Thanks for looking into this guys, as @PhilippKrone said, this is affecting my GA module.

Can we not just check the Content-Type of the response for any of text, json, xml, html? If one of those is contained in it, assume it's text, if it isn't then return the response as binary?

I just updated to 0.7.0-rc.2 and started getting some response errors on the app that I'm creating. I submitted a pull request at #1917 that fixes a bug in the way response headers are looked up (values were supposed to be lowercased but ended up not being lowercased which caused looking up things like Content-Type to return null).
I'm not sure if this is going to fix your problem but since you said it was working prior to 0.7.0-rc.2 and my change fixes a bug introduced in this commit (https://github.com/facebook/react-native/commit/e00b9ac8f38fb1b7968c4bc5253a47656362fc5b) that was introduced in 0.7.0-rc.2, I figured you could try it out!

FYI, I'ver merged the RCTWarn solution internally for now. It's not thr right fix, but it will do as a workaround for the time being.
@negativetwelve the lowercase content-type bug is a separate issue, which has also now been fixed. Should be in the next update.

I'm also experiencing "Received data was invalid." on a response with Content-Type "text/html" and response.text() yields empty string ""
Any ideas?

Might be malformed utf8 - can you paste in the url you're trying to download?

http://www.yad2.co.il/Nadlan/ViewImage.php?CatID=2&SubCatID=1&RecordID=57624352f8c449d90827b9dd4b576ac9ee3

I've been seeing this same issue with text/html content type. I'm querying amazon.com to download some books data and while it works for most cases, I consistently get Received data was invalid. for certain books. It works perfectly if I try those requests in the browser. It's not clear why it would error out for some requests when all the requests are almost identical.

@nicklockwood I dug more into this, and, the reason in my case is that data coming in here was actually ASCII instead of UTF-8. It's not uncommon to have wrong content-type, so relying on that alone isn't the best for fetch api IMO. Should let client handle whatever response data comes in.

Ascii is a subset of UTF8, so that shouldn't be a problem. I suspect the issue here is that the text includes some characters that mean is doesn't conform to any valid encoding, and Apple's string parsing is super-strict about bad encoding.
I'll see if I can find a way to make it more robust/tolerant.

@guaravmc can you include some examples of pages that it won't download properly so I can test?

@nicklockwood Since the pages I was requesting are behind my login session, here's a super tiny server you can test this against: https://github.com/gauravmc/encoding_test_server

I've added a fix, but it relies on an iOS 8-only API I'm afraid: https://github.com/facebook/react-native/commit/0044b3c2c34127de65208f2f366b1f41ef043f3a
Feel free to keep this issue open if iOS 7 support is critical for you.

@nicklockwood awesome, thanks! I'd imagine iOS 7 support being important for people; what do you think?

It's not that it isn't important, but it's going to be very complex to fix if Apple don't provide an API for it, and we'll probably be dropping iOS 7 support within a year or so now that iOS 9 is out (assuming it's adopted quickly).

Closing this since it's already fixed for ios 8+. Feel free to submit a PR with ios 7 support.

@chirag04 can you reopen this? It appears people are still having an issue with this. https://github.com/lwansbrough/react-native-google-analytics/issues/19#issuecomment-162602098

Still having this issue on iOS 9.1 from a Google Analytics request as @lwansbrough mentioned above.

+1

My team is having an issue with running PouchDB in React Native and retrieving images from CouchDB.
Error message:
Received data was not a string, or was not a recognised encoding
react-native 0.26
pouchdb 5.3.2
iOS 9.3.2

@PaulMest if you want to retrieve images via a network request, you'll have to do this via the Image.prefetch() API, or do it with native code. Retrieving image data on the JS side is not supported in RN (it would be a bad idea since you'd have to base64-encode the data to send it to the native side for display, so it's better just to keep the image on the native side to begin with).

@nicklockwood The reason why this is affecting me is actually out of my control. I'm sending Google Analytics data to Google's collect URL, and they send back a 1x1 image. Is there anyway we can "dangerously allow" binary content?

@nicklockwood This is helpful guidance. I'll chat with my team about it. Thanks.
For more context: we're building an offline-first app that can do bi-directional syncing when the device comes online. We're trying to leverage PouchDB/CouchDB for this. The performance is acceptable now with hundreds of images and we have resorted to base64 encoding images and syncing the strings. Not a very elegant solution by any means, but it's functional. If we had more time, we could probably figure out a way to build our own offline-to-online bi-directional sync provider for images while keeping them native. But I agree with @lwansbrough that there should be a way to "dangerously allow" binary content.

@lwansbrough I'll look into it.

@nicklockwood I suppose I could use the aforementioned image pre fetching API? All my data is being passed as query parameters anyway.

@lwansbrough note that unless you actually need to prefetch the image, you can simply store the URL and pass it directly to <Image source={{uri: ...}}/>, then RN will download and cache the image on demand.

@nicklockwood Unfortunately the current API doesn't make use of the rendering context (nor do I think it should, particularly). In fact it doesn't require anything from React Native. I still think optionally delegating control of the response binary to the user might be the best solution in my case.

@nicklockwood How long do images stay in the prefetch cache for? Would it be a bad choice to use that for downloading 1px images from GA?

@nicklockwood on iOS it's an LRU cache with a fixed size limit (200MB on disk, 5MB in memory). Images will stay in the cache indefinitely until they're pushed out by a new image.

Thanks for the info!

2018 and the yellow box warning continues to pop up when using Google Analytics.  It's "just" a warning, but when multiple warnings consistently stack up, developers start to ignore all warnings and it lessens the value of warnings in general.
Image.prefetch isn't an option for us because our app can't waste cache space on these empty pixels.  Would like to see an option in the config object (second param to fetch) such as allowBinaryResponse.  For example:
fetch('https://mywebsite.com/endpoint?v=1&t=abcd', {
  method: 'GET',
  allowBinaryResponse: true,
});


acorn install does not remove projects.

acorn version v0.5.0-rc3-48-g7e333e6+7e333e6f
Steps to reproduce the problem:
Create few projects.
acorn uninstall or acorn uninstall --all
acorn install
acorn projects lists all the existing projects before uninstall.
Namespaces associated with the project continues to be present. All apps and other resources from the projects gets deleted , only the project is left behind.

This is inline with the previous behavior around the acorn namespace (or any other namespace used to create apps). We don't need to fix for this release. When I triage this, I may close it

I'm going to close this. behaving as expected


copy review on JS SDK integration guide w/queries marked

copy review on JS SDK integration guide w/queries marked (4)

Looks good to me :) merging as requested.


Update the report parsing in Quark integration

Description
Please refer to #1289
This PR aims to:

make the parsing logic compatible with both versions of Quark reports.
show the additional information defined in the old format if possible.

Tested with Quark-Engine v21.8.1, v21.10.2, and v21.11.*.

@haeter525 thanks! 👍🏽


Setup reverse proxy for remote users

closes #107, closes #82, closes #9
Needs --api to create the reverse proxy.

Maybe should detect whether the webui is launched with a reverse proxy to automatically toggle the comfyui reverse proxy

does this implementation require the --api arg?

Title should be ##, not just #.


Update 2018-06-30 ~ Add graphQL 3D ~ yet another pivot

@opentecture/the-brains
Story
graphQL 3D R4
graphQL 3D Read Me

The priority must be for you to be able to grab and organize quantities of existing data for you more than you adding data one node at a time.
Concept
You want to

Visualize and query various remote static data sets on the web in 3D
'Tween' the data into various before and after positions
View associated text data and be able to click on any available links in that data
Add, edit and save overrides and/or additional data alongside the given data
Any remote data is refreshed at with a page reload

Augmented Reality and Augmented 3D

You want to be able to look at any component in a building or its model and visualize many its aspects such as

Building codes
Warrantees for the photovoltaic
Catalog numbers of the windows
Design intents
CAD parameters
Repair records
Kilowatt hours require in December
The music currently be streamed to adjacent space

You want to be able to see the output by pointing your mobile device at the building and/or clicking on a 3D model of the building.
Textual data represented in 3D
There's a multitude of static text data on the web - goodly portions of which offer greats insights when graphed in 2D or 3D
Assemblies and components
The assembly and disassembly of a number of components into a finished assembly as visualized in 3D is a relatively unexplored territory
The traditional methods - large sheets of paper with numerous numbered drawings - requires expert drawing capabilities and extensive project management in order to produce
Problems associated traditional methods
The 'traditional' approach is to grab all the data and suck it into a database. This very often requires a person knowledgeable in setting up databases. This may also require setting up a server and initiating processes that cost money and are not open source.
Data may be comprised of small data sets from a variety of sources. Massaging the data so that it all mixes nicly may be more trouble than it's worth.
Features

Reads and parses for data a static remote HTML page full of data
Scrapes data for data and links to use as nodes
Sources favicons for each node to use as visual node identifier
Displays nodes in alphabetic 3D order using a sparse matrix
Supplies textual data for each node upon a mouseover

text may contain clickable links

Road Map

Add data to existing from here

https://en.wikipedia.org/wiki/Comparison_of_computer-aided_design_editors

Build 3D Periodic Table

Issues
Not working on mobile devices
Possible fixes here:

https://discourse.threejs.org/t/drag-and-drop-on-touch-devices-not-working-three-dragcontrols/671/5
https://github.com/PiusNyakoojo/SwipeControls/blob/master/SwipeControls.js

Links of Interest / Graphing Knowledge
What's out there that we want to meet or exceed?
Mind Maps

https://en.wikipedia.org/wiki/Mind_map

A mind map is a diagram used to visually organize information. A mind map is hierarchical and shows relationships among pieces of the whole.[1] It is often created around a single concept, drawn as an image in the center of a blank page, to which associated representations of ideas such as images, words and parts of words are added. Major ideas are connected directly to the central concept, and other ideas branch out from those.

https://www.mindmeister.com/content/features
http://www.mindmapping.com/
https://www.mindjet.com/blog/2009/05/the-10-basic-parts-to-a-mind-map/
https://imindmap.com/software/features/
http://mindmappingsoftwareblog.com/5-essential-features-you-should-look-for-when-buying-mind-mapping-software/
https://www.mindmup.com/tutorials/index.html
https://www.google.com/search?q=mind+map+features&rlz=1C1GCEA_enUS752US752&tbm=isch&tbo=u

Note: Examples mostly always show a single central node. Can we have fun with multiple node groups?
GraphQL
Mind maps expressed in a different way

https://graphql.org/

GraphQL provides a complete and understandable description of the data in your API,

https://en.wikipedia.org/wiki/GraphQL

GraphQL is a data query language developed internally by Facebook in 2012 before being publicly released in 2015. It provides an alternative to REST and ad-hoc web service architectures. It allows clients to define the structure of the data required, and exactly the same structure of the data is returned from the server. It is a strongly typed runtime which allows clients to dictate what data is needed, therefore preventing excessively large amounts of data being returned.

https://github.com/facebook/graphql
https://github.com/APIs-guru/graphql-apis
https://dev-blog.apollodata.com/the-concepts-of-graphql-bc68bd819be3

Have you ever noticed that you very rarely see a graph when you read about GraphQL. Can we change that?
Xanadu / Ted Nelson

https://en.wikipedia.org/wiki/Ted_Nelson
https://en.wikipedia.org/wiki/Project_Xanadu

Original 17 rules

Every Xanadu server is uniquely and securely identified.
Every Xanadu server can be operated independently or in a network.
Every user is uniquely and securely identified.
Every user can search, retrieve, create and store documents.
Every document can consist of any number of parts each of which may be of any data type.
Every document can contain links of any type including virtual copies ("transclusions") to any other document in the system accessible to its owner.
Links are visible and can be followed from all endpoints.
Permission to link to a document is explicitly granted by the act of publication.
Every document can contain a royalty mechanism at any desired degree of granularity to ensure payment on any portion accessed, including virtual copies ("transclusions") of all or part of the document.
Every document is uniquely and securely identified.
Every document can have secure access controls.
Every document can be rapidly searched, stored and retrieved without user knowledge of where it is physically stored.
Every document is automatically moved to physical storage appropriate to its frequency of access from any given location.
Every document is automatically stored redundantly to maintain availability even in case of a disaster.
Every Xanadu service provider can charge their users at any rate they choose for the storage, retrieval and publishing of documents.
Every transaction is secure and auditable only by the parties to that transaction.
The Xanadu client–server communication protocol is an openly published standard. Third-party software development and integration is encouraged.

http://ted.hyperland.com/

More

https://en.wikipedia.org/wiki/Ontology_(information_science)

Test Applications
If our effort is to be useful then it should be able to display existing data sets in newly meaningful and informative ways.
The following are links to possible test case ideas
gbXML Product List
In the beginning we should probably be kicking this one around

http://gbxml.org/Software_Tools_that_Support_GreenBuildingXML_gbXML
https://github.com/opentecture/mindmapping/blob/master/data/mindmap-3d-3.json

Wardley Maps
Is there data for Wardley map in reproducible digital format

http://wardleypedia.org/mediawiki/index.php/Wardleypedia
https://medium.com/wardleymaps/on-being-lost-2ef5f05eb1ec
https://medium.com/wardleymaps
https://github.com/LeadingEdgeForum/atlas2

https://atlas2.wardleymaps.com/

A Pattern Language
The book includes 253 patterns along with their links to each other, diagrams and more

https://en.wikipedia.org/wiki/A_Pattern_Language
https://www.amazon.com/Pattern-Language-Buildings-Construction-Environmental/dp/0195019199
http://library.uniteddiversity.coop/Ecological_Building/A_Pattern_Language.pdf
https://archive.org/details/APatternLanguage
http://caper.ws/patterns/

Periodic Table
Might be a good place to start

https://en.wikipedia.org/wiki/Periodic_table

A variety of versions available apart from Mendelev's version

https://www.google.com/search?q=periodic+table&rlz=1C1GCEA_enUS752US752&source=lnms&tbm=isch&sa=X
3D: https://www.google.com/search?q=periodic+table+3d&rlz=1C1GCEA_enUS752US752&tbm=isch&tbo=u&source=univ&sa=X

Russell's version

https://en.wikipedia.org/wiki/Walter_Russell
https://www.google.com/search?q=walter+russell+periodic+table&rlz=1C1GCEA_enUS752US752&tbm=isch&tbo=u&source=univ&sa=X

Wow, so many versions

https://www.quora.com/Why-was-Walter-Russells-version-of-the-periodic-table-not-adopted-by-chemists

Lego Projects

http://www.instructables.com/id/3D-Pacman-ghosts/
https://www.lego.com/biassets/bi/6146259.pdf

Ikea Product Assembly / Moving Manual Projects

https://jaanga.github.io/moving-manuals/

Opentecture Projects

Coming soon

Data used in demos sourced from

http://gbxml.org/Software_Tools_that_Support_GreenBuildingXML_gbXML

@theo-armour - there's a lot here. Thanks!
While loading a set of data makes sense, it is not a priority. Adding one node at a time to build up a map is sufficient at this time.

I'd also expect GitHub Issues represent work to be done, rather than communicate what has already been done -otherwise, when is an Issue closed?
Issues communicate work to be done.
Pull Requests communicate work that has been done.
Issues should refer to a coherent set of work that delivers value for a User. Ideally, the smaller scope of an Issue, the better, so discussion can stay focused around a specific topic, rather than devolve into an exploration - which is better done in other channels.

Loading data drives out the question about what types of formats to support.
If any .json file is taken in, it needs to at least be an array.
If any .json file is taken in, then an interface needs to be created to map the fields. This can/should be done later.
Starting at the 2nd bullet point, about tweening - those all seem like discrete Feature Ideas that should be created as GitHub Issues. I would not want to leave them open in this Issue and parse them out over time.

There are many other references included in this Issue as well. I'd expect those to go in the wiki (which is also a GitHub repo) - or in https://github.com/opentecture/open-resources/tree/master/resources.
Overall, not specifically sure what to do with this Issue. I appreciate that nodes are loading as cubes, from a file, and the cubes are textured. Associated data is also displaying on mouseover which is nice. These features are already included in /build.

@theo-armour - I copy pasted things to be parsed from this Issue into https://github.com/opentecture/mindmapping/wiki.
I'm closing this Issue as it does not represent work to be done at this time.

@afomi
Reopening. ;-)
Notices of Updates
The title of this issues starts with the words 'Update 2018-06-30'
One of the tags to this issue is 'update'
The purpose of issues with this type of title and tag is to inform members of this organization that there has been some update somewhere that may be of interest to the general membership.
I find that using the GitHub issue feature is a fast, simple and easy way to inform peeps of what is going on. If you can propose a better war way, I would be delighted to follow up.
In the meantime, we currently have three members and it would be nice to be able to attract more members. So I think this issue should remain open for at least a few days or until the next update is posted.
Possible Test Applications
The list of items is intended to be guidance more than specific tasks.
For example. the concept of developing the Xanadu effort as Xanadu is currently specified might be more like creating an archaeology than creating a future. But I'm happy to organize a meetup with Ted Nelson if you are really interested.

@theo-armour
To communicate with collaborators about work through GitHub typically goes
like this:
Member creates an Issue with some work to be done. Members can discuss it,
before the work happens.  There is typically some planning that happens to
establish what Issues the team will work toward in a given amount of time.
When code is written, it is written to satisfy an Issue, and submitted as a
Pull Request. Members see Pull Request activity and have a chance to review
the code and respond BEFORE code is merged to master.   Reviewing after
master is too late.
I created an Issue for Xanadu as a place to discuss it. It looks cool, but
a nth story to a building yet to have a foundation.
Members can review code changes via the commit log. Code represents the
what. Issues represent the why.
Issues drive Pull Requests. Visible communication happens as a byproduct.
Please close this Issue when you feel appropriate.
On Sun, Jul 1, 2018, 00:45 Theo Armour<EMAIL_ADDRESS>wrote:

@afomi https://github.com/afomi
Reopening. ;-)
Notices of Updates
The title of this issues starts with the words 'Update 2018-06-30'
One of the tags to this issue is 'update'
The purpose of issues with this type of title and tag is to inform members
of this organization that there has been some update somewhere that may be
of interest to the general membership.
I find that using the GitHub issue feature is a fast, simple and easy way
to inform peeps of what is going on. If you can propose a better war way, I
would be delighted to follow up.
In the meantime, we currently have three members and it would be nice to
be able to attract more members. So I think this issue should remain open
for at least a few days or until the next update is posted.
Possible Test Applications
The list of items is intended to be guidance more than specific tasks.
For example. the concept of developing the Xanadu effort as Xanadu is
currently specified might be more like creating an archaeology than
creating a future. But I'm happy to organize a meetup with Ted Nelson if
you are really interested.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opentecture/mindmapping/issues/31#issuecomment-401590400,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJkO1Wq7oEOZ__5s2lNNqqWi6SS2p_ks5uCH4ogaJpZM4U-Lj4
.

@opentecture/the-brains
Full Screen: graphQL 3D R5

This is a first pass. Note new icons ( indicating Wikipedia data ) displayed behind gbXML BIM apps

Icons not shared yet
Dull acquired text data is still not yet displayed in context menu

Change Log
R5

Acquire, parse and display data from Wikipedia entry Comparison of computer-aided design editors
Display and share Wikipedia data alongside gbXML.org data
Update Read Me


Docs: function parameters

The docs builder simplifies the headings here:
https://github.com/lovell/sharp/blob/95635683acf698728f589e9e6e8544b1aa13622e/docs/build.js#L32
I'm assuming this is because you previously used documentation.js and wanted to keep the anchors the same.
The issue with that is that it's not really clear that for example in the following screenshot [angle] and [options] are the first and the second parameter of rotate():

Took me a while to understand that I'm not supposed to pass an object with angle and options keys.
I took a look at how documentation.js deals with this and while it's also not great IMO, the indentation does make it more clear:

Anyway, maybe you could add the full method signature as a code block right below the header? That would be easily doable just by extending the regex replace.

Thanks for reporting this, commit https://github.com/lovell/sharp/commit/67e927bdb621e5a7254e2c971670c43ee76fe102 ensures method signatures are included below headings.


improve the accessibility of the website

The feedback on neurostars included multiple people suggesting to move away from thewhite-on-black, and  @emdupre specifically mentioned accessibility at https://neurostars.org/t/request-for-feedback-reorganizing-bids-website/5476/3
For me personally a11y was a new term, but I figured it out by now.

I think this is still valid but needs to be made more specific to be actionable

OK closing for now


Removing trailing spaces in field names

Hi and thanks for your attention in advance.
In a situation where a field was created with a trailing space (I know this is incorrect but happened by mistake), the tool is removing the trailing space.
To avoid the problem, the developer needs to disable the tool, obsolete the field, create a new one with a better name, and migrate the data across.
In my honest opinion the tool should not change field names in any way.
Thank you.

Hi,
I would like to second this.
I understand from a new field or object point of view this can be useful tool to 'tidy up' unintentional mistakes, however it's dangerous when modifying existing deployed code where the result will be that a live data structure will potentially be modified.
Many thanks.


Add server routing

Fixes #2

Just found a bug in index.prod.pug. content is rendered incorrectly.


Liquidity Module Application

Application Description
TODO: making an issue so that this is tracked. Need to eventually write something down. If you see this then feel free to propose a spec / edit this yourself to match the other app spec's
Features
.

Closed as no one knows what this was supposed to be and no one is working on it.


[flutter_releases] un-block release

A beta hotfix release is currently blocked by https://github.com/flutter/flutter/issues/81837. This is a plan to land the release as soon as is safe.

[ ] Wait for engine tree to re-open. Get OK from engine sheriff to merge.
[ ] Merge Beta hotfix engine PR.
[ ] Wait for binaries to build. If builds fail, escalate to engine sheriff.
[ ] Once builds succeed, codesign, roll to framework.
[ ] Receive OK from infra-oncall to merge framework PR.
[ ] Barring regression-test failure (i.e. not TLS failure on Windows), merge framework PR.
[ ] Validate CI.
[ ] Before actually publishing, trigger a test windows packaging build, to see verify the bot that would run it can talk to pub.dev. If it cannot, escalate to infra on-call.
[ ] If test packaging build succeeds, publish.

cc @kf6gpe, @godofredoc, @cbracken


Where is the neo-cli error log stored?

I am using neo-cli v2.10,1 in windows10.
Before I went to sleep at night, I started neo-cli and left the node running.
When I checked neo-cli the next morning, neo-cli was not running.
I want to check if neo-cli has an error,
Where is the neo-cli error log stored?

You need to install a plugin for save the logs, for example https://github.com/neo-project/neo-plugins/blob/master/SimplePolicy/SimplePolicyPlugin.cs

@shargon
Thank you for reply!
I try install SimplePolicyPkugin.
By the way, what can be considered as a cause of neo-cli crashing?
Is it due to lack of specifications of the machine that is running the node?

I can't know it without any information

HI @skashitam, I'm closing this issue due to inactivity, ok?
Please create another issue if you think this is a mistake.
Thanks


AOT compilation doesn't work on MacOS

I was trying to reproduce this example on how to use AOT compilation. My graph is made by calling make_test_graphs.py and I used test_graph_tfmatmul.config.pbtxt as my config file. I failed at 'Step 2: Use tf_library build macro to compile the subgraph'.
Here is the error message:
error:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/local-opt/genfiles/test_aot/test_graph_tfmatmul.o is not an object file (not allowed in a library)
However, if I bazel build the same tf_library on a GCE instance, it compiles successfully. The only difference is that the Tensorflow on my GCE instance is cuda enabled. I think there may be a bug in AOT compilation in CPU-only mode.
Environment info
Operating System: macOS 10.12
Processor: intel 'haswell'.
Tensorflow version: 1.0.1 stable release
bazel version: 0.4.4

@xuehanxiongsc Instead of writing your own bazel file, perhaps you can try using one of the existing tests.  E.g.:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/aot/tests/BUILD#L118
So try something like this:
$ bazel test tensorflow/compiler/aot/tests:tfcompile_test
Can you report back what results you get from this?  If there is a problem, I'm suspecting it's more likely to be a Mac vs. linux issue, rather than a CPU vs. GPU issue.

@tatatodd Here is the log:
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
Running main() from test_main.cc
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from TFCompileTest
[ RUN      ] TFCompileTest.Add
dyld: lazy symbol binding failed: Symbol not found: ___tensorflow_compiler_aot_tests__test_graph_tfadd
Referenced from: /private/var/tmp/_bazel_xuehan.xiong/4f4d45e6f5aaa2c03c85228dc2ff01af/execroot/tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/aot/tests/tfcompile_test.runfiles/org_tensorflow/tensorflow/compiler/aot/tests/tfcompile_test
Expected in: flat namespace
dyld: Symbol not found: ___tensorflow_compiler_aot_tests__test_graph_tfadd
Referenced from: /private/var/tmp/_bazel_xuehan.xiong/4f4d45e6f5aaa2c03c85228dc2ff01af/execroot/tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/aot/tests/tfcompile_test.runfiles/org_tensorflow/tensorflow/compiler/aot/tests/tfcompile_test
Expected in: flat namespace
external/bazel_tools/tools/test/test-setup.sh: line 123: 58107 Abort trap: 6           "${TEST_PATH}" "$@"

@xuehanxiongsc I'm assuming that's when run on your Mac?
Now that I think about it, AOT won't work at all.  At a minimum we'll need to add the appropriate LLVM target triple for mac; the default is x86_64-pc-linux which won't work:
https://github.com/tensorflow/tensorflow/blob/882e75db49f09afac6aee5cd38798a82f80f5419/tensorflow/compiler/aot/tfcompile.bzl#L277
I seem to recall a few other problems wrt Mac builds too.  I don't actually have a Mac, but contributions to get this working are definitely welcome!

@tatatodd You are right. It is related to macOS. I just compiled successfully on Linux without cuda support.

XLA isn't yet supported beyond Linux.  Hopefully this will work eventually, but closing to reduce bug tracker clutter.


Options passed to toggle() are not set

I’ve set default options for Zen Mode in my lua config, and a special call to require("zen-mode").toggle() for a special prose writing mode. However, when I use this mode, it seems that the only options set are the default ones.
Here’s an extract of my config:
map("n", "<leader>z", [[ <Cmd> ZenMode<CR>]], opt)
-- Writing mode
local writing_mode = false

function toggle_writing_mode()
  require("zen-mode").toggle({
    window = {width = 100},
    options = {signcolumn = "no", linebreak = true, cursorline = false, colorcolumn = false, spell=true},
  })
  if writing_mode then
    base16(base16.themes["solarized-dark"], true)
    set_highlights()
    writing_mode = false
  else
    base16(base16.themes["solarized-light"], true)
    writing_mode = true
  end
end

map("n", "<leader>Z", [[ <Cmd> lua toggle_writing_mode()<CR>]], opt)

-- Zenmode
require("zen-mode").setup {
  plugins = {
    kitty =  {
      enabled = true,
      font = "+2"
    }
  },
}

When using the toggle_writing_mode function, the colorscheme is correctly applied, but none of the options in the toggle() call. However, the custom width is applied.

options should be under window. Please check the docs.

Thanks, i missed that >_<


⚠ Fortnite has degraded performance

In 831998d, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1713 ms

Resolved: Fortnite performance has improved in cba3a97.


Parse fastp log instead of NF countFastq() to filter empty FastQ files after trimming

This is a much more efficient way of doing the same thing because we no longer have to parse the entire FastQ file to determine the total number of reads remaining after trimming. We are just parsing the JSON file dumped by fastp instead.


Possibility to mount without indexing?

Heya,
Is there any possibility to mount the image without indexing it first? I have about 4TB of images to go through for a friend to recover files and stored those files on my NAS meanwhile. I only have a Gigabit connection, so far indexing the first 1TB image is already taking quite a lot of time (after 15 minutes it's only at about 4%).
Thanks already for your help and this project in general! :)

Ah, yeah makes sense then.
I finished indexing one of the archives yesterday and sadly it's not really usable afterwards, it's often slow and throws errors in a loop in the console about some filesize not being allowe to be 0 (if I remember correctly). Tho the slowness is most likely due to me using 8 as compression.


append trailing slash?

I did a tcpdump when calling my model through pry and I see it tries to: GET /api/clusters/2 but I get 301.
Trying to curl api/clusters/2/  works fine.
It seems my API requires a trailing slash. How can I add this with HER?
Thank you!

I edited:
/usr/local/opt/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/her-0.8.1/lib/her/api.rb
96           request.url path.concat("/"), opts


Prepare to building third-party middleware

We've released v2.0.x with pleasure. Then, let's go to the next step.
With v2.0.x, it became that we make the third-party middleware more easily. For Deno, separating main mod.ts and middleware.ts is good. And removed the graphql-server and mustache middleware. It's time to make third-party middleware.
I'm making the template project github.com/honojs/middleware-template and planning to make graphql-server middleware after the template repository is completed.
If you ( @Code-Hex or @metrue or others? )  want to make other third-party middleware, please wait a minute until they are built. And after that, let you make the middleware by yourself or with my help.

Hi @metrue @Code-Hex !
Can you see this message?
I've written the contribution guide. It includes how to make a third-party middleware:
https://github.com/honojs/hono/blob/main/docs/CONTRIBUTING.md#third-party-middleware
If you want to make the middleware such as "graphql-server" or "firebase-auth", please refer to this article. This may still be not enough, so improve the documents together.

@yusukebe Thanks for preparing the guide!
I've read it. I have question about this.

Tell us your username of the npm repository.

Where should we do it? Maybe case by case?

Hi @Code-Hex!
Yes "case by case". I think it's better to do it on the issues.

@yusukebe Thanks!
Could you invite me to your organization to develop firebase-auth middleware if you feel free?
My npm account is here
https://www.npmjs.com/~codehex
Thank you!

@Code-Hex
I've sent the invitation to you!

@yusukebe Thank you so much!
I accepted the invitation.
So... my next action is develop the middleware. Can I join also honojs organizations in GitHub?

Hey  @Code-Hex
I've made the repository from the template and sent you the invitation to maintain it.
https://github.com/honojs/firebase-auth
Note: Now, we don't add you to the organization, make you a collaborator.

@yusukebe Amazing!
Thank you again. I understand current permission. It's suitable to me for now!
Thanks!

@Code-Hex
Thank you too, happy coding!

We did it!


When placing order, regionId is a required field error.

error: API call failed: Please check the shipping address information. regionId is a required field.
2018-06-03T21:04:06.555Z - error: Error placing an order Please check the shipping address information. regionId is a required field. string
When placing an order the regionId is set to 0 which the api is not accepting.

OK, so I've added a region mapper:

https://github.com/DivanteLtd/vue-storefront-api/commit/0bf0f2effe146f1641da9bc7a62b42e0703f2e52

... and added support for region_code/region_id fields in the Checkout:

https://github.com/DivanteLtd/vue-storefront/commit/e5dd7e1fffc6256fe0a92150bbf35d9b07dcd7c8

Now You can:

set in the theme: Checkout/ShippingInformation and Checkout/BillingInformation the fields "regiod_id" and "region_code"
OR - not changing anything in the theme - but just to validate the "region" field (which is now open text) to be a valid one -> for example "region" => "CA" will be mapped to California etc.  -> order_2_magento will map this region code to the valid region

List of the valid regions:
CA, WA, ... - two letter ISO codes as set in Magento
Please be sure that magento2-rest-client has been updated prior to running npm run o2m by executing npm install magento2-rest-client

I am getting permission denied when trying to...
sudo npm install github:DivanteLtd/magento2-rest-client
or
sudo npm install magento2-rest-client

I have never been able to get region or regionId to pass to the api.  Had something been changed to make this not work?

I was able to get this working


[FR] Make "confirm" buttons a user-configurable option

Some complaints from users that the "confirm" buttons on some dialogs are too "onerous"
Might be worth making this a simple user-configurable option (default=on)

While I cannot see me disabling this an option cannot hurt.

I assume this is referring to the confirm slider on some dialogs not the entire confirm dialog in general?

I mean a default that does not change the current behavior should be fine. Hobbyists probably do not need the extra check.


Change order of fixtures in example

From my testing it appears that the order in which objects are declared in fixture files is important. If you want to reference another object in the same fixture file it needs to be declared before the referencing object. One of the example fixture files in the documentation would not work because it contains references to objects that have not yet been declared. I've switched the order of the fixtured objects to resolve this.

Thanks. You're right, order is important. It shouldn't be, though... Something to fix one day... :(


[Event Hubs Client] Integrate v5.3.0-beta.1 Release Branch (#15162)

Summary
The focus of these changes is to integrate the release branch for Event Hubs v5.3.0-beta.1.
The release introduces an option for the various event consumers allowing the prefetch cache to be filled based on a size-based heuristic rather than a count of events.  This feature is considered a special case, helpful in scenarios where the size of events being read is not able to be known or predicted upfront and limiting resource use is valued over consistent and predictable performance.
Note: These API changes are part of a preview feature. The design and API surface were informally reviewed with the language architect but have not yet undergone formal review with the architecture board. I expect some changes, particularly around naming.
Last Upstream Rebase
Tuesday, September 15, 4:42pm (EDT)
References and Related Issues

Integrate PrefetchSizeInBytes Option (#15098)
[Event Hubs Client] Prefetch Size In Bytes Option (#15141)

/azp run net - eventhub - tests


1.25 releases

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change

Alternate Designs

Why Should This Be In Core?

Benefits

Possible Drawbacks

Verification Process

Applicable Issues

I love to try.


Chart breaks when upgrading from k8s 1.24 to 1.25

Describe the bug
Currently the chart doesnt survive an upgrade of k8s 1.24.x to 1.25 due to PodSecurityPolicies
Helm upgrade failed: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "tridentoperatorpods" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first

Environment
Provide accurate information about the environment to help us reproduce the issue.

Trident version: [e.g. 19.10] 22.10
Trident installation flags used: [e.g. -d -n trident --use-custom-yaml]
Container runtime: [e.g. Docker 19.03.1-CE]
Kubernetes version: [e.g. 1.15.1]
Kubernetes orchestrator: [e.g. OpenShift v3.11, Rancher v2.3.3]
Kubernetes enabled feature gates: [e.g. CSINodeInfo]
OS: [e.g. RHEL 7.6, Ubuntu 16.04]
NetApp backend types: [e.g. CVS for AWS, ONTAP AFF 9.5, HCI 1.7]
Other:

To Reproduce
Have the chart installed in an 1.24.x cluster
upgrade K8s
try to upgrade/change the chart
Expected behavior
Chart doesnt break
Additional context
The root cause is
https://github.com/NetApp/trident/blob/ee233f996b854b3ce2aee995467d1ab2519265cd/helm/trident-operator/templates/podsecuritypolicy.yaml#L1
Basically helm keeps track of the PSP and wants to remove it after this evaluates to false. But K8s doesnt know anything about that resource, thus helm fails.
The only way to prevent this is to manually prevent PSPs from being created while being on 1.24 (which is bad and most people will forget) or to automatically drop PSPs in 1.24 unless manually enabled, making sure the resource is deleted when the api still knows it

yes, we've ran into the same problem. PSPs are deprecated long time now, trident should remove them completely from upstream manifests.

something else to note that 1.25 needs the latest trident version 23.01.
https://github.com/NetApp/trident/releases/download/v23.01.0/trident-installer-23.01.0.tar.gz

According to Helm upgrade error after Kubernetes Upgrade to 1.25 with Trident installed the upgrade to trident version 23.01 removes PodSecurityPolicies.
Solution
* The upgrade to Trident 23.01 will fix, i.e. remove the Trident's PodSecurityPolicies.
* Another way to fix the issue, staying with Trident 22.10.0  is to uninstall Trident with Help and reinstall it with or without operator using tridentctl.

A few months ago I ran k8s 1.23 with trident 22.7.0
I first upgraded trident from 22.7.0 to 23.01.0
Next k8s from 1.23 => 1.24 => 1.25 => 1.26 without a hitch.
Now I'm trying to deploy trident 23.04.0 prior to k8s 1.27 but I'm still getting the same error as you :thinking:
$ helm list -n trident
NAME                    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                           APP VERSION
trident-operator        trident         2               2023-03-06 16:16:29.842913588 +0100 CET deployed        trident-operator-23.01.0        23.01.0

$ helm upgrade -n trident trident-operator netapp-trident/trident-operator --version 23.04.0
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "tridentoperatorpods" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first

On the helm upgrade line for Trident, add the parameter: --set excludePodSecurityPolicy=true

I was able to fix it by editing the sh.helm.release.v1.trident-operator.v# secret's data.release contents.
More specifically, I think I removed these parts from it:
{"name":"templates/podsecuritypolicy.yaml","data":"e3st...IH19Cg=="},

as well as
# Source: trident-operator/templates/podsecuritypolicy.yaml\napiVersion: policy/v1beta1\nkind: PodSecurityPolicy\nmetadata:\n  name: tridentoperatorpods\n  labels:\n    app: operator.trident.netapp.io\nspec:\n  privileged: false\n  seLinux:\n    rule: RunAsAny\n  supplementalGroups:\n    rule: RunAsAny\n  runAsUser:\n    rule: RunAsAny\n  fsGroup:\n    rule: RunAsAny\n  volumes:\n    - projected\n---\n

Perhaps the latter one would have been enough.
After replacing data.release in the secret with the updated version (i.e. after applying gzip -c | base64 | base64 -w0 to the data again) I could upgrade successfully.
$ helm upgrade --set kubeletDir=/var/lib/k0s/kubelet --set excludePodSecurityPolicy=true -n trident trident-operator netapp-trident/trident-operator --version 23.04.0

Do we have any update on this? We are seeing the similar issue.  I believe we have a bug ticket for this issue. https://github.com/NetApp/trident/issues/819

It would be nice to have any update or a bugfixrelease. Its nice that the operator will delete the psps during update, but unfortunately K8s distribution like OpenShift and RKE will not let you start an update to a version with K8s > 1.25.

Trident is updating the documentation to use the "exclude PodSecurityPolicy=true" flag in Helm when upgrading.
Kubernetes 1.25 will be the minimum supported version for the 24.10 release of Trident.
Closing the issue.


Prepare release v0.12.0

Update kserve/kserve dependency to v0.12.0
Update KServe CRDs to the ones in KServe v0.12.0
Code adaptations for controller-runtime upgrade.

@rafvasq @ckadner This is now ready.


Test Error with RetinaNet, RuntimeError: shape '[-1, 8]' is invalid for input of size 60

❓ Questions and Help
Train on my datasets, class_num = 2
0%|                                                                          | 0/2659 [00:03<?, ?it/s]
Traceback (most recent call last):
File "tools/test_net.py", line 115, in
main()
File "tools/test_net.py", line 109, in main
output_folder=output_folder,
File "/data/yzy/maskrcnn_install/maskrcnn-benchmark/maskrcnn_benchmark/engine/inference.py", line 84, in inference
predictions = compute_on_dataset(model, data_loader, device, bbox_aug, inference_timer)
File "/data/yzy/maskrcnn_install/maskrcnn-benchmark/maskrcnn_benchmark/engine/inference.py", line 27, in compute_on_dataset
output = im_detect_bbox_aug(model, images, device)
File "/data/yzy/maskrcnn_install/maskrcnn-benchmark/maskrcnn_benchmark/engine/bbox_aug.py", line 66, in im_detect_bbox_aug
results.append(post_processor.filter_results(boxlist, cfg.MODEL.ROI_BOX_HEAD.NUM_CLASSES))
File "/data/yzy/maskrcnn_install/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/box_head/inference.py", line 120, in filter_results
boxes = boxlist.bbox.reshape(-1, num_classes * 4)
RuntimeError: shape '[-1, 8]' is invalid for input of size 60
I want to know if anyone has successfully trained on their own dataset with RetinaNet？？
Thanks for any help！！

I rebuild again. It works well.
Don't know why there was a problem before. But I think no problem with the code.


Errors when using e.shap_values() on networks with BatchNormalization OR GlobalMaxPooling

Dear all,
I am finding two different errors when computing SHAP values on networks with a BatchNormalization OR a GlobalMaxPooling layer. To test this, you can take your notebook "Front Page DeepExplainer MNIST Example" at https://github.com/slundberg/shap/blob/master/notebooks/image_examples/image_classification/Front Page DeepExplainer MNIST Example.ipynb, and insert one BatchNormalization() or one GlobalMaxPooling2D() layer (substituting the Dropout(0.25) layer, for example).
Then, errors appear when computing
shap_values = e.shap_values(x_test[1:5])
and they are:
--- BATCH NORMALIZATION:
LookupError: gradient registry has no entry for: shap_FusedBatchNormV3
NOTE: this issue reminds of the previous issue #1110
--- GLOBALMAXPOOLING:
ValueError: Dimensions must be equal, but are 10 and 12 for '{{node gradient_tape/sequential/global_max_pooling2d/truediv_1}} = RealDiv[T=DT_FLOAT](gradient_tape/sequential/global_max_pooling2d/sub_1, gradient_tape/sequential/global_max_pooling2d/sub)' with input shapes: [10,64], [10,12,12,64].
NOTE: the two mismathcing dimensions (12 and 12) are precisely the dimensions that disappear after applying the GlobalMaxPooling2D layer.
Thank you for any suggestion and/or help!
Tensorflow version: 2.3.0
shap version: 0.37.0

Older issue but maybe it helps someone. I have the same problem with BatchNormalization. Similar to this comment on #1110  I added the following line before using DeepExplainer:
shap.explainers._deep.deep_tf.op_handlers["FusedBatchNormV3"] = shap.explainers._deep.deep_tf.linearity_1d(0)

This is the same entry as FusedBatchNorm (without 'V3') so I assume it is correct:
https://github.com/slundberg/shap/blob/05e6cb046ff7e82fa395e80a840c96065df38c8c/shap/explainers/_deep/deep_tf.py#L726


what is quickhealthshot

I read the code and tested it, but I don't know what it does

Looks like it's for the health shot that was added to DM, and for danger zone where on key press it'll quickly use it for you. Haven't tested it ingame/looked at it on the menu, just looked at the commit code.


[Bug] [iOS] Expander + CollectionView: expanding wrong cells.

Description
Expanding several other cells during expanding any "cell".
If then you try to scroll collection a little, the bug will go.
I assume there is a bug somewhere in TemplatedCell of iOS-specific code.
iOS Only.
Steps to Reproduce

Download sample
Run it on iOS simulator
Try to expand any cell

Works fine on Android.
Expected Behavior
Expanding only one "cell" like on Android that was pressed.
Actual Behavior
Expanding several "cells".
Basic Information

Version with issue:
Last known good version: none
IDE: VS for Mac
Platform Target Frameworks:

iOS:  latest

Affected Devices: iPhone 11 Simulator

Screenshots

Reproduction Link
https://github.com/xamarin/Xamarin.Forms/files/4440579/ExpanderTest.zip

We've added to the Docs: Expander and CollectionView/ListView should not be used together. I'd love to have a solution for this but it’s one of those controls that don’t exist on the native platform. Because of that you will be fighting the OS on getting it right. Closing this one since there won't be any solution on the short-term unless someone contributes it.


Logging

This PR converts all output into logger entries.
It also adds a call logger to record all function calls on the main workflow functions in the processor class

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

262 of 299 (87.63%)  changed or added relevant lines in 12 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.02%) to 92.707%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sed/calibrator/delay.py
23
24
95.83%

sed/core/logging.py
33
34
97.06%

sed/loader/flash/loader.py
8
9
88.89%

sed/loader/sxp/loader.py
8
9
88.89%

sed/calibrator/momentum.py
34
36
94.44%

sed/calibrator/energy.py
34
40
85.0%

sed/core/processor.py
84
95
88.42%

sed/loader/mpes/loader.py
22
36
61.11%

Files with Coverage Reduction
New Missed Lines
%

sed/calibrator/energy.py
1
92.79%

Totals

Change from base Build<PHONE_NUMBER>9:
0.02%

Covered Lines:
7157

Relevant Lines:
7720

💛  - Coveralls


Truncate the slice when merging the caches

CC @jwilder for review. @goller has reported that this fixed the panic. I put your name as the author of the commit since I just copied what you wrote and committed it for you.

LGTM 👍


Create type field in testplan

Just like we now have version properties not just in the TestRunTranscript, a type property should be always there in parallel to the version properties, and it should be checked.

Done in #252.


Failed to open map archive

I am having problems running replays using the replay_actions.py file.
I have StarCraft build B55958 and the replays work when I use replays from the replay pack you've provided. However, when I try a custom replay I get this error:
https://pastebin.com/XNW8Mgax
The replay is this one (saved to Replays folder):
http://ggtracker.com/matches/7139489
(this is not the only problematic one, I obtained many and none of them work)
Contents of my Maps folder shows that I have map Abyssal Reef LE installed:
ls -1R Maps/ Ladder2017Season1 Ladder2017Season2 Ladder2017Season3 Melee mini_games
./Ladder2017Season1:
AbyssalReefLE.SC2Map
BelShirVestigeLE.SC2Map
CactusValleyLE.SC2Map
HonorgroundsLE.SC2Map
NewkirkPrecinctTE.SC2Map
PaladinoTerminalLE.SC2Map
ProximaStationLE.SC2Map
Can I somehow force the map name and manually find the required map file? (since I have this information)
EDIT: it didn't work because I deleted "Cache" folder from the "Battle.net" folder. Now that I've extracted again the replay packs provided by you, the problematic replay on Abyssal Reef works.
So does the Battle.net folder contain some map/replay information? What if I have a custom map? How to generate this information?

A replay may depend on either a local map or a battlenet published map.
When you play a game locally with the API, you usually use one of your local .SC2Map files.
When you play a game online, it always uses maps that were published to the battlenet service. The game downloads and caches these maps in the Battle.net/Cache folder. These types of maps are a slightly different ".s2ma" file format.
A custom map may require either depending on how you played on it. To play back a replay, you need the same version of the map that the game was played on. If you made a custom map with the editor and played a game using the .SC2Map file, then you just need that .SC2Map file to watch the replay. However if you made a custom map, published it to battlenet, and then played a game on it online, then you will need a Battle.Net/Cache folder containing that map to watch that replay.
If you've played the replay manually in the game client, it the require map should be in the Battle.Net/Cache folder. There is also a command line too built into the game to generate the cache for a set of replays:
https://github.com/Blizzard/s2client-proto/issues/12#issuecomment-321687678

If you run replay_info on the replay it'll tell you the expected map path. If there is no map_path, then it expects to find the map in the battle.net cache.


SSL off in postgresql

Trying to write the inputs to PostgreSQL using this plugin. While starting logstash, getting an error like SSL off. The same error occurred while connecting Postgres to NodeJS too. Fixed it by adding SSL true in NodeJS.
Feels like the PostgreSQL service needs SSL true to connect. Here is my logstash config

input
{
stdin { }
}
output {
jdbc {
connection_string => 'jdbc:postgresql://tsdb-xxxxxxx-xxxxxxx-xxxx.x.timescaledb.io:27659/xxxxxx?user=xxxxx&password=xxxxxxx'
statement => [ "INSERT INTO timtest (name, value, data) VALUES(?, ?, ?)", "name", "value", "data" ]
}
}

Did any of you face this issue? Really appreciate your help!

Found the solution:
jdbc_connection_string => "jdbc:postgresql://xx.xx.xx.xx:5432/postgres?ssl=true&sslmode=require"


Rename landing page buttons and branding?

In working on the ICESat-2 website I noticed a few things that might be good to modify:

Upper left corner title 'Hackweek' --> 'UW eScience Hackweek'?
'Event Details coming Soon' --> Just remove this button?
'More info' --> Relabel as 'JupyterBook' or 'Event JupyterBook'.. something else?

thoughts @lsetiawan @JessicaS11 @jomey ?

Agreed on all 3 (with a vote for "Event JupyterBook" over "JupyterBook" for # 3).

+1 for "Event Jupyter Book" (or JupterBook, whenever we pick one over the other)
I am wondering about the acronym for "UW". It is obvious for US based participants and I am wondering about international folks who are not familiar with US colleges. Too long to write this out?

I agree with all 3 also and the "Event Jupyter Book".

Too long to write this out?

Spelled out is too long.

Attaching another navigation/button experience improvement
https://github.com/ICESAT-2HackWeek/website2022/pull/11/commits/99044aadc2b8dbf8f7e2bef040dec9c36aacfe24
When using a '#' as the href, the homepage will open a new tab each time you click on it. This commit is a small user experience improvement.

Logging another small change to the website template for social links:
https://github.com/ICESAT-2HackWeek/website2022/pull/15
The 'if' condition was not correct to only show social links when present on a team member

closed by #97


Solomon ochepa update blade view layout

Update the view blade to use the modern slot method.

instead of loading a global layout component a module one should be loaded ie in the module have a App\View\Components folder with AppLayout.php then the master.blade.php should be renamed to app.layout.php
The `index.blade.php can then use the module layout:
would need to be stupified of course.
<x-demo::app-layout>

Hello World

Module: {!! config('demo.name') !!}

</x-demo::app-layout>

instead of loading a global layout component a module one should be loaded ie in the module have a App\View\Components folder with AppLayout.php then the master.blade.php should be renamed to app.layout.php
The `index.blade.php can then use the module layout:
would need to be stupified of course.
<x-demo::app-layout>

Hello World

Module: {!! config('demo.name') !!}

</x-demo::app-layout>

That makes sense!
Nevertheless, it's very rare to have a module with a dedicated layout. The app layout is the base layout for major Laravel projects.
For convenience, I'll update the PR to include its dedicated layout.
Thank you.

I use a central layout for my modules but to keep it in line with the default now it makes sense to have it module-specific. Also I you don't get a layout component out of the box with Laravel, you do with starter kits like Breeze.

For convenience, I'll update the PR to include its dedicated layout.

thank you.

I use a central layout for my modules but to keep it in line with the default now it makes sense to have it module-specific. Also I you don't get a layout component out of the box with Laravel, you do with starter kits like Breeze.

For convenience, I'll update the PR to include its dedicated layout.

Thank you.

That is correct 👍

closing this, this is a starting point, views / layouts will always need changing based on the needs of the project being used.


Update docs from build #1427 to #1502

Update docs from build #1427 to #1502
Let's hope I don't majorly break something 💀
To-do:

[ ] Found that all tool configs are currently missing from the config (axe strippables/waxables/weatherables and hoe tillables/replant)

[ ]  Found that all tool configs are currently missing from the config (axe strippables/waxables/weatherables and hoe tillables/replant)

Yeah that's on purpose (minus the recent replant option); I thought it'd take some effort adding those options but taking a look again it shouldn't be too difficult.


Call to async

This PR encompasses the refactor of the my-markets selector’s call to augur.getMarketCreatorFeesCollected such that it’s now async.

Coverage increased (+0.2%) to 68.805% when pulling 4aa0389216173c55cc7d838cd560b9384c8874b2 on call-to-async into 78e216f4ef4368c918cff24235466f3e873a7b70 on master.


Can't get the information from FeatureLayer after add my basemap

@wuhongsheng Please provide the sample you are trying to use and the code you are using so we can assist.  If this is a general SDK question, try posting your question to GeoNet.