I have downloaded the data, how to obtain the preprocessed data

Hi Damien:
I have prepared the s3dis dataset and do not know how to obtain the preprocessed data
└── data
└── s3dis                                                     # Structure for S3DIS
├── Stanford3dDataset_v1.2.zip                              # (optional) Downloaded zipped dataset with non-aligned rooms
├── raw                                                     # Raw dataset files
│   └── Area_{{1, 2, 3, 4, 5, 6}}                             # S3DIS's area/room/room.txt structure
│       └── Area_{{1, 2, 3, 4, 5, 6}}alignmentAngle.txt        # Room alignment angles required for entire floor reconstruction
│       └── {{room_name}}
│           └── {{room_name}}.txt
****└── processed                                               # Preprocessed data
└── {{train, val, test}}                                  # Dataset splits
└── {{preprocessing_hash}}                              # Preprocessing folder
└── Area{{1, 2, 3, 4, 5, 6}}.h5                      # Preprocessed Area file****

Hi @mooncakehub, thanks for your interest in the project !
Just place the downloaded Stanford3dDataset_v1.2.zip under data/s3dis/Stanford3dDataset_v1.2.zip in your data directory and SPT should take care of the rest :wink:
PS : if need be, see here for setting up your data path.
Best,
Damien

thanks for your reply! When I execute instructions：python src/train.py experiment=s3dis_11g datamodule.fold=5
I have encountered the following issues：
Traceback (most recent call last):
File "src/train.py", line 49, in
from src import utils
File "/home/fufu/下载/superpoint_transformer-master/src/init.py", line 2, in
import src.data
File "/home/fufu/下载/superpoint_transformer-master/src/data/init.py", line 1, in
from .csr import *
File "/home/fufu/下载/superpoint_transformer-master/src/data/csr.py", line 5, in
from src.utils import tensor_idx, is_sorted, indices_to_pointers,
File "/home/fufu/下载/superpoint_transformer-master/src/utils/init.py", line 11, in
from .neighbors import *
File "/home/fufu/下载/superpoint_transformer-master/src/utils/neighbors.py", line 3, in
from src.dependencies.FRNN import frnn
ModuleNotFoundError: No module named 'src.dependencies.FRNN'
i have already executed  ./install.sh again
⭐ Installing Parallel Cut-Pursuit
正克隆到 'src/dependencies/parallel_cut_pursuit'...
remote: Enumerating objects: 1630, done.
remote: Counting objects: 100% (563/563), done.
remote: Compressing objects: 100% (225/225), done.
remote: Total 1630 (delta 419), reused 446 (delta 335), pack-reused 1067
接收对象中: 100% (1630/1630), 77.79 MiB | 1024.00 KiB/s, 完成.
处理 delta 中: 100% (1151/1151), 完成.
正克隆到 'src/dependencies/grid_graph'...
remote: Enumerating objects: 120, done.
remote: Counting objects: 100% (37/37), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 120 (delta 9), reused 0 (delta 0), pack-reused 83
接收对象中: 100% (120/120), 65.65 KiB | 16.41 MiB/s, 完成.
处理 delta 中: 100% (39/39), 完成.
../src/cut_pursuit_d0.cpp:255:5: warning: multi-line comment [-Wcomment]
255 |     // #pragma omp parallel for schedule(static)
|     ^
🚀 Successfully installed SPT

Hi, your initial issue seems resolved. Please close the issue when it is solved, to keep issue topics consistent. This  makes it easier for other users using the closed issues as reference for debugging their own problems. Besides, please open an issue only after you have investigated the problem and are stuck. Clearly, your initial issue and your off-topic comment here prove you have not even taken the time to read the REAMDE.md nor the provided docs/ before opening an issue.
That being said, I will reply to your latest comment here.
ModuleNotFoundError: No module named 'src.dependencies.FRNN'

indicates you are missing the FRNN library. If you have a look at the install.sh, you will find the lines in charge of installing FRNN. Please try to manually re-run these lines in your environment and see if it causes any error. If so, a quick search among the already-existing issues would lead you to this FRNN-related issue, which might be of help...

Hi Damien:
When I try to run the code on windows, I get the following error：
from cp_d0_dist import cp_d0_dist
ModuleNotFoundError: No module named 'cp_d0_dist'
I can't find a model named 'cp_d0_dist' in the code. How do I solve this problem?


Grid mode layout is not responsive

Current Behavior
Place two groups, each 6 wide (50% screen width).
With or without data on them, or with a simple text node on each, when viewed on a laptop/PC the layout looks fine.

But when viewed on Android or iPhone, the grid does not resize or move in a useful way:

Expected Behavior
I expected one of the groups to slide above or below the other group and thus resize in a useful way.
It would also be useful if a horizontal sider was placed under each group so that the user had some chance to view the data that is off screen
Steps To Reproduce
Place two groups with a grid of 6 (50% screen width) on a page.
Environment

Dashboard version: 1.7.1
Node-RED version: 3.1.7
Node.js version: 20.11.1
npm version: 10.2.4
Platform/OS: Windows 11
Browser: Chrome 123.0.6312.106 (Official Build) (64-bit), Firefox 124.0.1, Android current and slightly older, iPhone current and slightly older (tested on about 8 different devices).

Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

I'll add that at an in-between width, the two groups end up being unevenly sized, and some elements end up getting hidden instead of scaled and/or wrapped.

Thanks for raising this @thebaldgeek - very odd as I know I'd explicitly defined the behaviour to be as you've expected it to be, I even have it documents as such. Will investigate as to what's going on there.

Perhaps related or not, I'm not sure, but I have found that changing the theme sizing does nothing.

These values do not make any visual difference at all.

These values do not make any visual difference at all.

They're working for me locally and in the production environments I have that I test in. I have seen this as an issue when deploying "Modified Nodes/Flows" only, rather than a Full Deploy - reported here

Gotcha.
Yes, I normally use modified nodes to save resetting counters etc in the flow.
Im finding that working with dash2.0 requires many more pm2 restart node-red than I am used to.
I will look into the 'persist' nodes to try and make that restart less painful (many sqlite db's in memory (for speed), the largest takes 48 hours to fully populate, so need to figure out how to save it between starts so I can build the dash pages with real data).

It shouldn't be requiring any 😬

Another responsive issue I am fighting with a lot.

I cant make the two groups 'slide' or be placed next to each other when they have tables in them.
Both groups are set to 6 x 1.
The tables are set to 'auto'. (But it does not matter if you set the size).

A responsive issue update that does not really provide any hard data (sorry). But after spending north of 10 hours fighting with the layout of gadgets on dash 2.0, I feel its worth a mention....
Lay out 5 groups, each 3 x 1 in size.
On a laptop or larger screen they look as expected.

When on a mobile screen, they look and respond to screen size changes as expected.

Adding a text gadget also works as expected. The text gracefully resizes to fit the screen. So far so good...

But as soon as you add msg.payload data.... The responsiveness breaks.
The issue of a corner locked in place and opening up dead space returns.
The timestamp value is cut off rather than wrapped.

This breakage gets much much worse when a ui_table, template or tabulator node is added.

Im guessing, but it seems that the groups are not 'reporting' back to the UI elements placed in them their size.
Any msg.payload data is simply fixed in place / length and will not budge.
Here is my very simple example of how adding a timestamp to a text gadget breaks the responsiveness breaks.
[     {         "id": "f5f4165d9d8b42dc",         "type": "ui-text",         "z": "dc7b8977e9ee8f3c",         "group": "fd115d40b993923d",         "order": 0,         "width": 0,         "height": 0,         "name": "test text",         "label": "some text text",         "format": "{{msg.payload}}",         "layout": "row-spread",         "style": false,         "font": "",         "fontSize": 16,         "color": "#717171",         "className": "",         "x": 1300,         "y": 900,         "wires": []     },     {         "id": "d86d466e0f580d0f",         "type": "ui-text",         "z": "dc7b8977e9ee8f3c",         "group": "2bc43f249cbb7c9f",         "order": 0,         "width": 0,         "height": 0,         "name": "test text",         "label": "timestamp: ",         "format": "{{msg.payload}}",         "layout": "row-left",         "style": false,         "font": "",         "fontSize": 16,         "color": "#717171",         "className": "",         "x": 1300,         "y": 960,         "wires": []     },     {         "id": "cc00ce2433342156",         "type": "ui-text",         "z": "dc7b8977e9ee8f3c",         "group": "5bdc3d4f03c1cfcc",         "order": 0,         "width": 0,         "height": 0,         "name": "test text",         "label": "the quick brown fox jumped over the lazy dog",         "format": "{{msg.payload}}",         "layout": "row-spread",         "style": false,         "font": "",         "fontSize": 16,         "color": "#717171",         "className": "",         "x": 1300,         "y": 1020,         "wires": []     },     {         "id": "2ad65fa13ec62795",         "type": "inject",         "z": "dc7b8977e9ee8f3c",         "name": "",         "props": [             {                 "p": "payload"             },             {                 "p": "topic",                 "vt": "str"             }         ],         "repeat": "1",         "crontab": "",         "once": false,         "onceDelay": 0.1,         "topic": "",         "payload": "",         "payloadType": "date",         "x": 1110,         "y": 960,         "wires": [             [                 "d86d466e0f580d0f"             ]         ]     },     {         "id": "627e67fbae844f8b",         "type": "ui-text",         "z": "dc7b8977e9ee8f3c",         "group": "d73cbddcc7c86bdb",         "order": 0,         "width": 0,         "height": 0,         "name": "test text",         "label": "group 5 test text",         "format": "{{msg.payload}}",         "layout": "row-spread",         "style": false,         "font": "",         "fontSize": 16,         "color": "#717171",         "className": "",         "x": 1300,         "y": 1080,         "wires": []     },     {         "id": "fd115d40b993923d",         "type": "ui-group",         "name": "test group 1",         "page": "0e440842ebb5e483",         "width": "3",         "height": "1",         "order": -1,         "showTitle": true,         "className": "",         "visible": "true",         "disabled": "false"     },     {         "id": "2bc43f249cbb7c9f",         "type": "ui-group",         "name": "test group 3",         "page": "0e440842ebb5e483",         "width": "3",         "height": "1",         "order": -1,         "showTitle": true,         "className": "",         "visible": "true",         "disabled": "false"     },     {         "id": "5bdc3d4f03c1cfcc",         "type": "ui-group",         "name": "test group 4",         "page": "0e440842ebb5e483",         "width": "3",         "height": "1",         "order": -1,         "showTitle": true,         "className": "",         "visible": "true",         "disabled": "false"     },     {         "id": "d73cbddcc7c86bdb",         "type": "ui-group",         "name": "test group 5",         "page": "0e440842ebb5e483",         "width": "3",         "height": "1",         "order": -1,         "showTitle": true,         "className": "",         "visible": "true",         "disabled": "false"     },     {         "id": "0e440842ebb5e483",         "type": "ui-page",         "name": "test",         "ui": "5863c9e6fbc90679",         "path": "/test",         "icon": "ab-testing",         "layout": "grid",         "theme": "263ddbacb04aa20c",         "order": -1,         "className": "",         "visible": "true",         "disabled": "false"     },     {         "id": "5863c9e6fbc90679",         "type": "ui-base",         "name": "tbgHome",         "path": "/dashboard",         "showPathInSidebar": false,         "navigationStyle": "icon"     },     {         "id": "263ddbacb04aa20c",         "type": "ui-theme",         "name": "home",         "colors": {             "surface": "#520000",             "primary": "#0094ce",             "bgPage": "#454545",             "groupBg": "#003200",             "groupOutline": "#520000"         },         "sizes": {             "pagePadding": "12px",             "groupGap": "12px",             "groupBorderRadius": "4px",             "widgetGap": "12px"         }     } ]

Sorry to hear how long you're working on this, does seem constrained to the ui-template node as a sizing issue?

Every node that has a msg.payload (dynamic) aspect to it has a sizing issue it seems.
Note this issue here: https://github.com/FlowFuse/node-red-dashboard/issues/769
Thanks for the tip about the CSS, I was not aware of that.
I need, in light of this, to see about trying to force all my tables and data fields to be constrained to a given set size for all the website pages to bring some order and yet give some responsiveness.

I need, in light of this, to see about trying to force all my tables and data fields to be constrained to a given set size for all the website pages to bring some order and yet give some responsiveness

You may be interested to read about the difficulty we have on this here: https://discourse.nodered.org/t/dashboard-2-not-handling-item-sizing-or-custom-labels-as-expected/87499/5?u=joepavitt
It's definitely something we want to improve, but the balance of making it responsiveness and predictable is very hard, especially with the tables, markdown, etc. Which generally users will want to have grow with their content.
One idea I've got is the sizing widget we have allows for auto in a single direction, so, something auto x 4 would auto fill horizontal space but constrain vertically to 4 rows.
Something 4 x auto would be 4 columns wide, but vertically fit to its content, no matter what.
Currently, auto is only possible to set in both dimensions at the same time - as was the case with Dashboard 1.0

Is it possible to just get the group to report its size to the object on the group? (Just this fix alone might improve a lot of other issues?)
Tabulator has the responsive card view I badly need, but it never gets invoked because dash2.0 does not tell it that its right hand columns have been hidden from view.
https://tabulator.info/docs/6.2/layout#responsive-collapse

The idea of "reporting" doesn't exist within Dashboard 2.0 currently - layout is entirely driven by CSS, no JavaScript involved at all.
The action here is to fix the CSS for the contents of the grid on a more generalised behaviour, ensuring responsiveness for wider content. It is a priority, but I'm also working on a lot of other pieces, not just constrained to Dashboard 2.0 at the moment.

Have opened https://github.com/FlowFuse/node-red-dashboard/issues/827 to specifically track the ui-text overlap/sizing issues

https://github.com/FlowFuse/node-red-dashboard/pull/829 also covers improvements in a ui-table responsiveness. This issue claims issues with the grid layout, but actually it's more appropriate to flag concern with the underlying widgets.
Going to close this out with the fixes in for table and text, if there are particular widgets that don't render properly, please do raise them separately and link. back to here.


Add support for CoAP Block1 write while sending large registration an…

…d update strings
Signed-off-by: Sushain Razdan<EMAIL_ADDRESS>

Overall I'm glad to see this. I may be needing it soon.

:)

There have been some issues with my ECA, Hence closing this pull request


Lands compatibility

Will you be adding compatibility for Lands?

@badbones69

Yes

Yes

Is that a "Yes, I've done it" or "Yes, I will eventually"?

Yes

Is that a "Yes, I've done it" or "Yes, I will eventually"? lol

@badbones69 @RyderBelserion

It's not forgotten. its just there more then one plugin to maintain. I am currently focused only on CrazyCrates

It's not forgotten. its just there more then one plugin to maintain. I am currently focused only on CrazyCrates

Wouldn't you want to keep the issue open though as it isn't resolved/done yet?


[bug]: clipboard copy not working in unified canvas

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
10GB
What happened?
pressing CTRL+C in the Unified Canvas results in this error in the console and nothing is saved in the clipboard even if the "Image Copied" notification appears:
index.d864890e.js:618
Uncaught TypeError: Cannot read properties of undefined (reading 'write')
at index.d864890e.js:618:30194
that is:
i.toBlob(a=>{a && navigator.clipboard.write([new ClipboardItem({
[a.type]: a
})])
}
Screenshots

Additional context
No response
Contact Details
No response

The issue happens because on http, for security reasons, there is no navigator.clipboard object.
Instead of a console error, would be better a graceful message, maybe even a window.isSecureContext check.


Convert old nwb to new nwb format

[x] Convert Dataset 2 --> Dataset 1 here https://github.com/AllenNeuralDynamics/aind-foraging-behavior-bonsai-trigger-pipeline?tab=readme-ov-file#accessing-foraging-nwbs-for-off-pipeline-analysis
[x] Handle all video and ephys, if exist
[ ] Populate the behavioral pipeline to the converted nwbs
AllenNeuralDynamics/foraging-behavior-browser#56

See a weird bug:

nwb is generated successfully and can be loaded locally

after uploading to S3 (by "registering an external data asset" from the result folder of Run 2450362), the file can still be opened if downloaded from S3

however, nwb cannot be loaded if I attached a data aasset that is a LINK to S3.

ConstructError: (root/acquisition/bpod_backup_BehavioralEvents/choice GroupBuilder {'attributes': {'comments': 'no comments', 'description': 'time (second) relative to the first trial start (aligned with ephys)', 'namespace': 'core', 'neurodata_type': 'TimeSeries', 'object_id': 'dbfd1c57-8e24-4177-8943-5e5ba8d8933f'}, 'groups': {}, 'datasets': {}, 'links': {}}, "Could not construct TimeSeries object due to: either 'timestamps' or 'rate' must be specified")

I'm trying to registering Run 2450362 as an CO internal asset directly...

Seems like some problem with nwb and attached data asset:

If the nwb is in /data/foraging_nwb_bpod, it doesn't work
If I copy the same file to /scratch, it works!

But other nwbs in /data/foraging_nwb_bonsai always work...
Has something to do with the total size of a folder?

This does not work
fileN = '473360_2021-08-12_16-52-05.nwb'
nwb_file = '/root/capsule/data/foraging_nwb_bpod/' + fileN

with NWBHDF5IO(nwb_file, mode='r') as io:
    nwb = io.read()

This works
import shutil

nwb_file_copy = '/root/capsule/scratch/' + fileN
shutil.copy(nwb_file, nwb_file_copy)

io = NWBHDF5IO(nwb_file_copy, mode='r')
nwb = io.read()

Well, the workaround that copying to scratch DOES NOT WORK for multiprocessing...

Seems like the nwb behaves differently when loaded from VS Code cloud workstation and from "Reproducible Run"???


Subsequent #r nuget invocations for the same package id do not update the requested version (C#)

@jonsequitur, this is by design.  Once an assembly has been loaded we can't really go fetch another one with a different version.  At some point in the future we may well surface a loadcontext in scripting environments, but certainly for now, neither CSI or FSJ really enable that.
In order to specify a load a different version of a dll thats already loaded, will require a Kernel restart.


Programmable API createDatabase arguments are overridden

I'm submitting a...

[X] Bug report
[ ] Feature request
[ ] Question

Current behavior
Command line parameters override createDatabase parameters in Programable API.
$ DATABASE_URL=postgres://localhost/postgres node index.js
[INFO] Created database "expected"
$ DATABASE_URL=postgres://localhost/postgres node index.js unexpected
[INFO] Created database "unexpected"

Expected behavior
I would expect parameters provided to createDatabase always override possible command line arguments.
$ DATABASE_URL=postgres://localhost/postgres node index.js
[INFO] Created database "expected"
$ DATABASE_URL=postgres://localhost/postgres node index.js unexpected
[INFO] Created database "expected"

Minimal reproduction of the problem with instructions
$ cat index.js
var dbmigrate = require('db-migrate');
var dbm = dbmigrate.getInstance(true);
dbm.createDatabase('expected')
.then(function() {
  process.exit(0);
});

What is the motivation / use case for changing the behavior?
Using createDatabase through Programable API in an program that has command line args is not possible at the moment.
Environment
db-migrate version: 0.11.1
db-migrate-pg version: 0.4.0

Additional information:
- Node version: v10.6.0
- Platform:  Mac

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

This issue still exists.

I am problably missing something but, shouldn't you just pass the desired configuration ?
This should be the  way to handle db-migrate programmatically:
var dbmigrate = require('db-migrate');
var dbm = dbmigrate.getInstance(true, {
  env: 'dev',
  ... all the other options you desire ...
  config: {
   dev: {
     host: 'foo.com',
     user: 'Foo',
     password: 'FooPass',
     database: 'FooMysql',
     driver: 'mysql',
     multipleStatements: true
   }
  }
});
dbm.createDatabase('expected')
.then(function() {
  process.exit(0);
});

Otherwise it correctly looks for configuration used by command line.

@KingRial Did you try running your example with node index.js and node index.js unexpected? I get the same problem if I pass the configuration directly to getInstance. Command line parameters override parameters provided for createDatabase.
For example with the following script:
var dbmigrate = require('db-migrate');
var config = {
  dev: {
    host: 'localhost',
    user: 'postgres',
    password: 'password',
    database: 'postgres',
    driver: 'pg'
  }
};
var dbm = dbmigrate.getInstance(true, { env: 'dev', config });
dbm.createDatabase('expected')
.then(function() {
  process.exit(0);
});

Running node index.js will create database expected but running node index.js unexpected will create database unexpected.

Now I understand what happens :) My bad!
I can confirm the problem (it doesn't matter what driver you use; even on mongo and MySQL it occurs)

This issue still exists.

Faced this bug right now. Found the exact line where it happening
https://github.com/db-migrate/node-db-migrate/blob/3c4bd779dead6075509fbc155566b36dc08e94a5/lib/commands/db.js#L10

Quick note: This bug is affecting both createDatabase and dropDatabase since both rely on the executeDB function, as mentioned by @trubachev.

You can work around it by manually reaching into internals:
dbmigrate.internals.argv._[0] = "test";
await dbmigrateCreate.createDatabase("test");

just ran into the same problem. in my case, it came up when trying to run jest tests. i have a package script like this:
{
  "scripts": {
    "test": "NODE_ENV=test jest"
  }
}

and then i have a jest setup script like this:
require('dotenv').config();

const DBMigrate = require('db-migrate');

const dbCreator = DBMigrate.getInstance(true, { env: 'test_no_db' });
const migrator = DBMigrate.getInstance(true, { env: 'test' });

module.exports = async () => {
  console.log('Setting up test database...');
  await dbCreator.createDatabase('heimdall_test')
  await migrator.up();
};

it works fine if i just run yarn test, but if i try to run a specific test like yarn test src/some_test.ts, then the script tries to create a database called "src/some_test.ts." i don't think we should assume argv is empty.

i don't know if this would be acceptable, but you could do something like:
// api.js
  createDatabase: function (dbname, callback) {
    var executeDB = load('db');
    this.internals.argvOffset = this.internals.argv._.length;
    this.internals.argv._.push(dbname);
    // etc.

and then
// lib/commands/db.js
function executeDB (internals, config, callback) {
  var index = require('../../connect');

  if (internals.argv._.length > 0) {
    var argvOffset = internals.argvOffset || 0;
    for(var i = 0; i < argvOffset; i++) {
      internals.argv._.shift();
    }
    internals.argv.dbname = internals.argv._.shift().toString()
    // etc.


Serialize and deserialize Enum values as strings (merged from jasonmead/issue-15)

For https://github.com/Scooletz/NGitLab/issues/21 (Error on deserialization server response)

Thank you for pushing this out! Will build and test it till the end of the week.


Possibility to run without plugins

I try to keep my setup minimal, including the numbers of plugins.
Currently hardtime depends on nui and plenary. Would it be possible to remove them or make them optional?
For plenary, it is used only for ensuring that the log directory exists.
https://github.com/m4xshen/hardtime.nvim/blob/main/lua/hardtime/log.lua#L172
This can be easily replaced with the builtin functions, like:
local outfile_parent_path = vim.fs.dirname(outfile)
vim.fn.mkdir(outfile_parent_path, "p")

Or maybe this is not needed at all if neovim ensures that it exists (haven't checked but e.g. shada is stored there).
For nui, I'd make it optional and fall back to a full-screen buffer if it cannot be loaded.
This is not as critical as plenary, in the worst case I can roll my own command to parse the log.

Of course I can submit a PR if this would be accepted.

@mliszcz Thanks for the feedback. It would be great if you can submit a PR to replace plenary with builtin funciton!


Cache not writable

Return Error
Cache not writable

Create a directory called /cache/ and CHMOD that so that it's writable.


kubernetes version upgrade failed

Hi together,
we have upgraded our kubermatic kubernetes cluster from version 1.19.3 to 1.20.14. The controlplane was updated successful to version 1.20.14, but we cant update the machine control deployment. We get this error:
time="13:23:52 UTC" level=warning msg="Task failed, error was: failed to update MachineDeployment prod-kubermatic-worker: Internal error occurred: failed calling webhook "machine-controller.kubermatic.io-machinedeployments": converting (v1.AdmissionReview) to (v1beta1.AdmissionReview): unknown conversion"
time="13:23:57 UTC" level=warning msg="Retrying task..."
time="13:23:57 UTC" level=info msg="Upgrade MachineDeployments..."
our worker nodes are on kubernetes version 1.19.13 and the master controlplane on 1.20.14. Kubermatic works, but we cant create new kubernetes cluster.
Could it be that kubernetes API allows only v1 API Version and not v1beta1 ? But we have tested this on our dev stage and their works the upgrade and after that we did the update on prod stage.

@dbagarozza What KubeOne version are you using?

@xmudrii  version 1.3.3. We updated kubeone to version 1.1.0 to 1.3.3.
On prod stage we have now two MutatingWebhookConfiguration :
machine-controller.kubermatic.io and machinedeployments.machine-controller.kubermatic.io. Can i delete one or how can i fix this :)?

@xmudrii  ok thanks. I need to use the force (--force ) flag at kubeone to update ?

 To do that, first get all MachineDeployments (kubectl get -n kube-system machinedeployment), and then edit each MachineDeployment (using kubectl edit). You need to edit the version field and set it to the current control plane version (e.g. 1.20.14).

@xmudrii thanks update works now. We still have the problem that the Kube client certificates have not been renewed? Shouldn't this happen with an update? For us, it's about to expire.

@xmudrii ok just checked with kubeadm command certificates have been renewed, only prometheus still shows it as alerting. We will look at that. Thank you for your help. Ticket can be closed :)

Thank you for reporting back. I'll keep the ticket open, so we can check about that MutatingWebhookConfiguration that should be removed.

@xmudrii ok thanks.
we have now after the update a strange behavior that we get from time to time a connection reset from our kubernetes cluster when we run a kubectl command.
Do you have a suggestion what it can be?
Thanks.

That indeed is a little bit strange. I recommend checking the kube-apiserver and etcd logs as a starting point. This can be caused by many things. It can also be temporary due to network or general performance issues. It might also be useful to check the resource consumption on the control plane nodes (i.e. free RAM, CPU usage, etc.).

really strange. Resources everything looks normal and before that it worked fine. I will check the logs.

logs from apiserver k8s cluster:
E0220 13:32:43.143250       1 writers.go:130] apiserver was unable to write a fallback JSON response: http: Handler timeout
E0220 13:32:43.144280       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"http: Handler timeout"}: http: Handler timeout

I see very many messages at etcd log:
I0220 14:28:36.319700       1 passthrough.go:48] ccResolverWrapper: sending update to cc: {[{https://etcd-1.etcd.cluster-flqvxjm8p5.svc.cluster.local.:2379   0 }]  }
I0220 14:28:36.319708       1 clientconn.go:948] ClientConn switching balancer to "pick_first"

Just to clarify -- are you seeing issues with the kube-apiserver running on the KubeOne cluster or are you seeing issues with KKP user clusters? The etcd logs you shared look like logs from one of the KKP user clusters.

@xmudrii  Issues  with the kkp user Clusters.

@xmudrii we have detected that the apiserver still has the old certificate and therefore alerted Prometheus.
On the node via kubeadm is the new certificate.

@dbagarozza Can you try restarting the affected kube-apiserver pods manually (by SSH-ing to the node and using docker stop and docker rm)?

@xmudrii We have tried that. Certificate now looks right. We get a lot timeout at user cluster:
E0221 12:15:40.951592       1 available_controller.go:508] v1beta1.metrics.k8s.io failed with: failing or missing response from https://metrics-server.cluster-9n8b6vdqfl.svc.cluster.local:443/apis/metrics.k8s.io/v1beta1: Get "https://metrics-server.cluster-9n8b6vdqfl.svc.cluster.local:443/apis/metrics.k8s.io/v1beta1": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
E0221 12:15:45.950402       1 available_controller.go:508] v1beta1.metrics.k8s.io failed with: Operation cannot be fulfilled on apiservices.apiregistration.k8s.io "v1beta1.metrics.k8s.io": the object has been modified; please apply your changes to the latest version and try again

@xmudrii somehow the communication to the apiserver is very slow, as soon as we restart the apiserver it runs fast for a short time.
Maybe the apiserver or etcd has problem, but we nothing at the logs.

@xmudrii  We see at apiserver from all customer user a lot of logs:
I0223 08:25:54.073168 1 passthrough.go:48] ccResolverWrapper: sending update to cc: {[{https://etcd-0.etcd.cluster-j7hj7dd9n7.svc.cluster.local.:2379 0 }] }
I0223 08:25:54.073177 1 clientconn.go:948] ClientConn switching balancer to "pick_first"
I0223 08:25:59.810019 1 client.go:360] parsed scheme: "passthrough"
I0223 08:25:59.810115 1 passthrough.go:48] ccResolverWrapper: sending update to cc: {[{https://etcd-1.etcd.cluster-j7hj7dd9n7.svc.cluster.local.:2379 0 }] }
I0223 08:25:59.810131 1 clientconn.go:948] ClientConn switching balancer to "pick_first"
We think that the apiserver /etcd are overloaded from this and they responds very slowly.. . We see this issue:
https://github.com/kubernetes/kubernetes/issues/98720
Do we need to update Kubermatic to use etcd version 3.5? We use kubermatic version 2.17.2.


Sharding of the block store

This PR makes it possible to store chain data (ethereum_blocks, eth_call_cache, eth_call_meta) in different database shards. Placement of the blocks for a chain/network into a shard is controlled through the configuration file that is also used for sharding subgraph data.
The chain data tables might still contain data for several chains, which is only a problem if it is ever necessary to completely remove a chain, as the blocks and call cache table can easily contain tens of millions of rows and become very large; removing a chain requires deleting some of the data in those tables, which is much slower than dropping a dedicated per-chain table would be, and can wreak havoc on the organisation of the data on disk and in indexes. Essentially, with the current schema, deleting a chain is not advisable.
This PR is on top of PR #2120 since it requires some of the changes made there, but is otherwise ready for review.

Rebased to latest master

Rebased to latest master


Fix color encoding in material-extras

Describe the bug
Color encoding in material-extras no longer works.

Is this related to the threejs color encoding deprecation? is it fixed now that the refactor fixed that bug?

This should be resolved as cd1ec91 since three.js changed colorEncoding to colorSpace


Add a member to hide option description in GridSection.

Show option description in modal but hide in GridSection table.

Or we can show description as html title, not a single line

fixed in 7585e5c95adc69a6e86ae19dda5dfb60557cefdb


🍒 Cherry pick PR #9346 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/9346 to staging 🍒

🚀 Cherry-picked to staging by @yuwenmemon in version: 1.1.74-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @yuwenmemon in version: 1.1.74-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


You should add the .gitattributes file before committing

While following the instructions in the README made my first commit and then realized I hadn't added the .gitattributes file. I think the instructions should be explicit about this step.

I'd have put it on the same line :)

I'd have put it on the same line :)

I did that and then changed it to a two liner, but I can change it back :+1:


Add a cooldown for a door deny sounds and visuals & log access denies

About the PR
Add a 30-second cooldown for the access denied sound and visuals.
Add denied access attempts to the log probe PDA cartridge.
Why / Balance
In my opinion, players are heavily abusing the access denied sound as an annoying doorbell when they want to enter somewhere. The introduced 30 second cooldown should push players into more IC way of asking for access to the areas they aren't allowed to.
It should also help to address an issue when you may not be able to open a door even when you have the right access, just because someone locks the door into a constant cycle of deny animation by rapidly clicking it.
Technical details
Add denied access logging into the access reader system, plus subscribe it to the BeforeDoorDeniedEvent, cancelling the event if the user had been denied from accessing the door recently.
Media
https://github.com/space-wizards/space-station-14/assets/1192090/93534a64-04c7-43b7-ac69-de31e91a288c

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added a 30-second cooldown for the access denied sound to prevent crew members from using it as a doorbell.

30 seconds seems like a lot of time, maybe 10-15 seconds would be better?

30 seconds is way way to long.

30 seconds is a very long time, i feel like 1-2 seconds is long enough

This is intentional and should not have a delay.

Guys, I can be any number, and I'd prefer a maintainer to pick the value, well, if the PR would get accepted, ofc.
From my experience playing the game, I never had a situation where I'd need to bump into an airlock twice in a row. Usually, I am mostly aware of what access I have, only bumping into something like botany or kitchen airlock just because it looks like a general access one.

This is intentional and should not have a delay.

I think that a short delay prevents it from being too annoying. 3-5 seconds since it's an intentional feature.

If you're going to claim that the current state of obnoxious access denied alarms is acceptable, then I'm going to reserve the right to crit anyone abusing it instead of using things like the department intercom or desk bell.

If you're going to claim that the current state of obnoxious access denied alarms is acceptable, then I'm going to reserve the right to crit anyone abusing it instead of using things like the department intercom or desk bell.

marathon

core

do you see a desk bell/intercom here

The logging is also intrusive on fingerprint scanning. Instead of needing security or someone to come scan the door to see who used it, this just tells you outright.
If logging is kept in and the delay is shortened, it's still also extremely easy to spam the log.

Knocking for urgency by repeatedly using the access denied thing is honestly peak emergent gameplay, if someone is rude about it it's an IC issue really.

30 seconds is way too long i agree.

30 seconds way too long
It would also be better to make an 'access denied' message popping up for player feedback, similar to that of trying to open a secure crate or locker without access

tbh i don't really see an issue with the way it's currently done. The sound effect and red flash are plenty effective for communicating the lack of access. The popup would just be visual noise.

5 seconds seems too long imo maybe 3
also datafield is already vv rw dont need it

Reduced the cooldown to 2.5 seconds
https://github.com/space-wizards/space-station-14/assets/1192090/f4d10fea-0257-4f74-a9f8-cdec96965c1f

Reduced the cooldown to 2.5 seconds
Screen.Recording.2024-02-03.at.17.46.25.mp4

You'll still want an 'access denied' popup message for better readability, much better now though

Reduced the cooldown to 2.5 seconds

to be fair i still am not a fan of the cooldown. I understand it’s annoying, but I’ve been playing a bit of ss13 recently and i loved it when i could tap the doors even faster than we currently do in 14. As a compromise, can you make it so that the sound is a lot quieter and duller instead of making the time between each beep a lot longer? At least maybe give my idea a try, even if you don’t commit it.


Using Linux or Windows for this project?

Which platform is best for this project? I'm using Linux and I found I need to install  wine to run Starcraft, which is so complex for me? Could you please remind me is Windows more suitable for this project then Linux?

I also find it difficult. Author said that you need linux to train your model.
refer to:https://torchcraft.github.io/TorchCraftAI/docs/install-windows.html

Hi there! The wine setup is indeed not trivial and I'd recommend using either sc-docker (for playing against other bots) or OpenBW (for ML development or model training) as described at https://torchcraft.github.io/TorchCraftAI/docs/play-games.html. TorchCraftAI includes launchers for OpenBW (GameMultiPlayer) and wine (GameVsBotInWine) which let you start games from within your code, although the latter requires some extra setup


install in python has got some error (m1 mbp)

Expected Behavior

Hi, I was installing dlib on python 3.9.5 with pip but I got some errors. I just typed
pip install dlib

but got errors like below one. plz tell me why this happen and how to solve this problem. thanks.
Current Behavior

Collecting dlib
  Downloading dlib-19.22.1.tar.gz (7.4 MB)
     |████████████████████████████████| 7.4 MB 7.8 MB/s
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py'"'"'; __file__='"'"'/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-wheel-vhwhz22x
       cwd: /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/
  Complete output (74 lines):
  running bdist_wheel
  running build
  running build_py
  package init file 'tools/python/dlib/__init__.py' not found (or not a regular file)
  running build_ext
  Building extension for Python 3.9.5 | packaged by conda-forge | (default, Jun 19 2021, 00:24:55)
  Invoking CMake setup: 'cmake /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/lib.macosx-11.0-arm64-3.9 -DPYTHON_EXECUTABLE=/Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9 -DCMAKE_BUILD_TYPE=Release'
  -- The C compiler identification is AppleClang <IP_ADDRESS>00029
  -- The CXX compiler identification is AppleClang <IP_ADDRESS>00029
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - broken
  CMake Error at /opt/homebrew/Cellar/cmake/3.21.3/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
    The C compiler

      "/Library/Developer/CommandLineTools/usr/bin/cc"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeTmp

      Run Build Command(s):/usr/bin/make -f Makefile cmTC_7c218/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_7c218.dir/build.make CMakeFiles/cmTC_7c218.dir/build
      Building C object CMakeFiles/cmTC_7c218.dir/testCCompiler.c.o
      /Library/Developer/CommandLineTools/usr/bin/cc   -falign-functions=8 -falign-functions=8  CFLAGS  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -MD -MT CMakeFiles/cmTC_7c218.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_7c218.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_7c218.dir/testCCompiler.c.o -c /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeTmp/testCCompiler.c
      clang: error: no such file or directory: 'CFLAGS'
      make[1]: *** [CMakeFiles/cmTC_7c218.dir/testCCompiler.c.o] Error 1
      make: *** [cmTC_7c218/fast] Error 2

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:14 (project)

  -- Configuring incomplete, errors occurred!
  See also "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeOutput.log".
  See also "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py", line 222, in <module>
      setup(
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py", line 134, in run
      self.build_extension(ext)
    File "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py", line 171, in build_extension
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/lib.macosx-11.0-arm64-3.9', '-DPYTHON_EXECUTABLE=/Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for dlib
  Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
    Running setup.py install for dlib ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py'"'"'; __file__='"'"'/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-record-n_sno30n/install-record.txt --single-version-externally-managed --compile --install-headers /Users/bahk_insung/miniforge3/envs/pycv/include/python3.9/dlib
         cwd: /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/
    Complete output (76 lines):
    running install
    running build
    running build_py
    package init file 'tools/python/dlib/__init__.py' not found (or not a regular file)
    running build_ext
    Building extension for Python 3.9.5 | packaged by conda-forge | (default, Jun 19 2021, 00:24:55)
    Invoking CMake setup: 'cmake /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/lib.macosx-11.0-arm64-3.9 -DPYTHON_EXECUTABLE=/Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9 -DCMAKE_BUILD_TYPE=Release'
    -- The C compiler identification is AppleClang <IP_ADDRESS>00029
    -- The CXX compiler identification is AppleClang <IP_ADDRESS>00029
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - failed
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - broken
    CMake Error at /opt/homebrew/Cellar/cmake/3.21.3/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
      The C compiler

        "/Library/Developer/CommandLineTools/usr/bin/cc"

      is not able to compile a simple test program.

      It fails with the following output:

        Change Dir: /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeTmp

        Run Build Command(s):/usr/bin/make -f Makefile cmTC_0d525/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_0d525.dir/build.make CMakeFiles/cmTC_0d525.dir/build
        Building C object CMakeFiles/cmTC_0d525.dir/testCCompiler.c.o
        /Library/Developer/CommandLineTools/usr/bin/cc   -falign-functions=8 -falign-functions=8  CFLAGS  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -MD -MT CMakeFiles/cmTC_0d525.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_0d525.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_0d525.dir/testCCompiler.c.o -c /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeTmp/testCCompiler.c
        clang: error: no such file or directory: 'CFLAGS'
        make[1]: *** [CMakeFiles/cmTC_0d525.dir/testCCompiler.c.o] Error 1
        make: *** [cmTC_0d525/fast] Error 2

      CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
      CMakeLists.txt:14 (project)

    -- Configuring incomplete, errors occurred!
    See also "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeOutput.log".
    See also "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/temp.macosx-11.0-arm64-3.9/CMakeFiles/CMakeError.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py", line 222, in <module>
        setup(
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/command/install.py", line 546, in run
        self.run_command('build')
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py", line 134, in run
        self.build_extension(ext)
      File "/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py", line 171, in build_extension
        subprocess.check_call(cmake_setup, cwd=build_folder)
      File "/Users/bahk_insung/miniforge3/envs/pycv/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/build/lib.macosx-11.0-arm64-3.9', '-DPYTHON_EXECUTABLE=/Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/bahk_insung/miniforge3/envs/pycv/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py'"'"'; __file__='"'"'/private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-install-llvjacr6/dlib_8e79c2196717444e9f4e68dabf193ded/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/01/5f5ftlvn2w7c9prxbs4410780000gn/T/pip-record-n_sno30n/install-record.txt --single-version-externally-managed --compile --install-headers /Users/bahk_insung/miniforge3/envs/pycv/include/python3.9/dlib Check the logs for full command output.

Steps to Reproduce

Nothing. just I typed pip install dlib thats it.

Version: python==3.9.5 / pip==21.2.4
Where did you get dlib: by pip command
Platform: M1 arm64
Compiler: I don't have it. but I'm using clang==13.0.0

I think we got some problem that build something. I'm still researching to solve it. I hope u too

I didn't managed to solve my problem with the instalation on windows, but i managed to pass by it (after quite a long effort) by using a WSL, wich i don't think will help in your case considering the platform you are running it on.
What i sugest is that you try the manual instalation if you already haven't already, and check if you have an available C/C++ compiler, as this problem is problably related to this.


Return distinct items from GetMany and SourceMany (#4353)

This commit fixes a bug where a GetMany or SourceMany API call
with a repeated id would return a cartesian product of id and documents.

enumerate only distinct ids when retrieving hits
or source from GetMany and SourceMany, so that the same id input
to either will return only a single document per target index.

fix a bug in the MultiGetRequestFormatter whereby
the document index is removed when a request index is specified,
without checking whether the document index matches the request index.

Fixes #4342
(cherry-picked from commit 8cbc1fe35d1d3fe618115219e9394ae0f3adc27a)

this is a backport of #4353 to 6.x


Hollow markers are not transparent

Hello,
When I tried to plot hollow markers on the map, the marker is actually filled, not transparent. See this map below:

Below is the code to reproduce this map:
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap

lon_ll = -124.5  # lower left corner, longitude
lon_ur = -105.2  # upper right corner, longitude
lat_ll = 32.0    # lower left corner, latitude
lat_ur = 42.0    # upper right corner, latitude

f = plt.figure(dpi=100)
ax = plt.axes()

m = Basemap(llcrnrlon=lon_ll,llcrnrlat=lat_ll,
            urcrnrlon=lon_ur,urcrnrlat=lat_ur,\
            rsphere=(6378137.00,6356752.3142),\
            resolution='c',projection='merc',\
            lat_0=(lat_ll+lat_ur)/2,\
            lon_0=(lon_ll+lon_ur)/2,lat_ts=20.,
            epsg = 3310)

m.arcgisimage(service='World_Physical_Map', xpixels=120, epsg=3310, verbose=False)

m.drawstates()

LA = (34.05, -118.25)
LV = (36.175, -115.136389)
SF = (37.783333, -122.416667)
PH = (33.45, -112.066667)

ms = 15
alpha = 0.75

m.plot(*m(LV[1], LV[0]), marker='s', ms=ms,
       ls='none', mew=1.25,c='blue', fillstyle='none', alpha=alpha)
m.plot(*m(LA[1], LA[0]), marker='o', ms=ms,
       ls='none', mew=1.25,c='red', fillstyle='right', alpha=alpha)
m.plot(*m(PH[1], PH[0]), marker='o', ms=ms,
       ls='none', mew=1.25,c='green', fillstyle='full', alpha=alpha)
m.plot(*m(SF[1], SF[0]), marker='o', ms=ms,
       ls='none', mew=1.25,c='cyan', fillstyle='left', alpha=alpha,
       markerfacecoloralt='white')

horiz_offset = 0.6  # unit: degrees
plt.text(*m(LA[1] + horiz_offset, LA[0]), 'Los Angeles')
plt.text(*m(LV[1] + horiz_offset, LV[0]), 'Las Vegas')
plt.text(*m(SF[1] + horiz_offset, SF[0]), 'San Francisco')
plt.text(*m(PH[1] + horiz_offset, PH[0]), 'Phoenix')

The markers for Los Angeles and Las Vegas should have been hollow (on the left side for LA, and fully for LV), but they are not. For half-full markers, such as the marker for San Francisco, I can set the markerfacecoloralt to other colors, but not for fully open markers.

Operating system: Windows 10
Python version: 3.6.6
Basemap version: both 1.1.0 and 1.2.0 have this issue
matplotlib version: 2.2.2

Note that I used to not have this issue some time ago, with older versions of matplotlib (I don't remember which).

most likely, this is an issue with matplotlib rather than basemap itself. I
also suspect that this has something to do with the style change work for
matplotlib v2.0.
On Tue, Mar 19, 2019 at 6:25 PM Jian Shi<EMAIL_ADDRESS>wrote:

Hello,
When I tried to plot hollow markers on the map, the marker is actually
filled, not transparent. See this map below:
[image: image]
https://user-images.githubusercontent.com/25124332/54645888-a3f89480-4a5a-11e9-8345-dec0ccb351c1.png
Below is the code to reproduce this map:
import matplotlib.pyplot as pltfrom mpl_toolkits.basemap import Basemap
lon_ll = -124.5  # lower left corner, longitude
lon_ur = -105.2  # upper right corner, longitude
lat_ll = 32.0    # lower left corner, latitude
lat_ur = 42.0    # upper right corner, latitude
f = plt.figure(dpi=100)
ax = plt.axes()
m = Basemap(llcrnrlon=lon_ll,llcrnrlat=lat_ll,
urcrnrlon=lon_ur,urcrnrlat=lat_ur,
rsphere=(6378137.00,6356752.3142),
resolution='c',projection='merc',
lat_0=(lat_ll+lat_ur)/2,
lon_0=(lon_ll+lon_ur)/2,lat_ts=20.,
epsg = 3310)
m.arcgisimage(service='World_Physical_Map', xpixels=120, epsg=3310, verbose=False)
m.drawstates()
LA = (34.05, -118.25)LV = (36.175, -115.136389)SF = (37.783333, -122.416667)PH = (33.45, -112.066667)
ms = 15
alpha = 0.75
m.plot(*m(LV[1], LV[0]), marker='s', ms=ms,
ls='none', mew=1.25,c='blue', fillstyle='none', alpha=alpha)
m.plot(*m(LA[1], LA[0]), marker='o', ms=ms,
ls='none', mew=1.25,c='red', fillstyle='right', alpha=alpha)
m.plot(*m(PH[1], PH[0]), marker='o', ms=ms,
ls='none', mew=1.25,c='green', fillstyle='full', alpha=alpha)
m.plot(*m(SF[1], SF[0]), marker='o', ms=ms,
ls='none', mew=1.25,c='cyan', fillstyle='left', alpha=alpha,
markerfacecoloralt='white')
horiz_offset = 0.6  # unit: degrees
plt.text(*m(LA[1] + horiz_offset, LA[0]), 'Los Angeles')
plt.text(*m(LV[1] + horiz_offset, LV[0]), 'Las Vegas')
plt.text(*m(SF[1] + horiz_offset, SF[0]), 'San Francisco')
plt.text(*m(PH[1] + horiz_offset, PH[0]), 'Phoenix')
The markers for Los Angeles and Las Vegas should have been hollow (on the
left side for LA, and fully for LV), but they are not. For half-full
markers, such as the marker for San Francisco, I can set the
markerfacecoloralt to other colors, but not for fully open markers.

Operating system: Windows 10
Python version: 3.6.6
Basemap version: both 1.1.0 and 1.2.0 have this issue
matplotlib version: 2.2.2

Note that I used to not have this issue some time ago, with older
versions of matplotlib (I don't remember which).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/matplotlib/basemap/issues/455, or mute the thread
https://github.com/notifications/unsubscribe-auth/AARy-Ai_7uLKFvfeMdwx7-UdaElM_dV6ks5vYWPegaJpZM4b9Pe4
.

I was able to reproduce the result here: https://matplotlib.org/gallery/lines_bars_and_markers/marker_fillstyle_reference.html
For "fill style" equal to "none", the markers are transparent.  So it seems that matplotlib is normal.
I am pretty sure the issue didn't come from matplotlib upgrading to v2.0, because when I was able to get proper hollow markers, the matplotlib version I was using was already v2.0+.
Should I open an issue over at matplotlib?

As shown in https://github.com/matplotlib/matplotlib/issues/13725 this seems to be an issue in matplotlib 2.2.2, which has been fixed in matplotlib 2.2.3.


mene.com false positive

Hi,
mene.com is simply a jewelry website and they sell gold rings and jewelry etc.

/move to Ultimate-Hosts-Blacklist/whitelist


Need access to destination ip from socket recv

Today there is no way to retrieve destination ip address while receiving a packet thru a socket.
This is particularly useful when the interface has multiple ip addresses (for instance multicast).
A possible solution, compliant with POSIX, would be a combination of recvmsg and IP_PKTINFO socket option but recvmsg is not implemented yet in Zephyr.
Another option would be to add a dedicated function, something like recvfromto(socket, buf, len, flags, src_addr, src_addrlen, dest_addr, dest_addrlen).

A possible solution, compliant with POSIX, would be a combination of recvmsg and IP_PKTINFO socket option but recvmsg is not implemented yet in Zephyr.

IMHO this would be a better solution than adding a new and non-compliant function for this. Both functions would need to dig out the destination IP address anyway so it would not make sense to implement new function for this purpose.

IMHO this would be a better solution than adding a new and non-compliant function for this. Both functions would need to dig out the destination IP address anyway so it would not make sense to implement new function for this purpose.

I totally agree, however this is also a bit harder to implement. Because recvmsg is more complex with all the msghdr / iovec / control ancillary structures.
So implementing something like recvfromto would probably be easier to do, and also recvfrom could be inlined to recvfromto with NULL src_addr, maybe leading to overall smaller code footprint.


fix context3D.present() double call bug

There should be code here to mark as cleared:
https://github.com/openfl/openfl/blob/a09f3579e074ac6a61322457c280ec3d3b3a6bf5/src/openfl/display3D/Context3D.hx#L236-L240
The idea is that we need to clear the color for it to count
Perhaps we need to ignore present if it hasn't been rendered yet? Is that how Flash works? (calling present fives times still looks the same?)


Bugfix/micro seconds label in plots

Which issue(s) are closed by this pull request?
Plotting with time unit µs as axis label (e.g., in time, group_delay) raises an "Unknown symbol" error:
s = pf.signals.impulse(10, sampling_rate=44100)
pf.plot.time(s)

Changes proposed in this pull request:

exchanged  r'$\mathrm{\mu s}$' with unicode 'µs' in private function _deal_time_units
added test

Both versions work for me, i.e., I do not get the error. I always thought using Tex would be the safer way. Should we look a bit more into detail why the error is thrown?

Thanks for noting. I realized that the error is thrown only with the space between \mu and s inside the \mathrm command, so I moved the s outside the $...$ and it works :)


False positive for Style/ArgumentsForwarding when only a block argument can be forwarded anonymously

In the new RuboCop version 1.60.0, the Style/ArgumentsForwarding cop now autocorrects argument lists with only a single block argument, or positional arguments combined with a block argument, to use ... instead of the block argument. While this does not change things when the method is called in the original way, it does change the arity and will now forward (additional) positional and keyword arguments.
Expected behavior
Given the following methods:
def foo(&block)
  bar(&block)
end

def baz(qux, quuz, &block)
  bar(qux, quuz, &block)
end

I expect RuboCop not to autocorrect when targeting Ruby before 3.1.
When targeting 3.1+, I expect it to autocorrect to:
def foo(&)
  bar(&)
end

def baz(qux, quuz, &)
  bar(qux, quuz, &)
end

Actual behavior
RuboCop autocorrects as follows, regardless of whether Ruby 3.0 or 3.1 is targeted.
def foo(...)
  bar(...)
end

def baz(qux, quuz, ...)
  bar(qux, quuz, ...)
end

Steps to reproduce the problem

Create a file foo.rb with the content given in the first code block above.
Run rubocop -A

RuboCop version
$ bundle exec rubocop -V
1.60.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.30.0, running on ruby 3.3.0) [x86_64-linux]
  - rubocop-performance 1.20.2
  - rubocop-rspec 2.26.1

I cannot reproduce the issue. Can you provide an executable repro step?
$ cat example.rb
def foo(&block)
  bar(&block)
end

def baz(qux, quuz, &block)
  bar(qux, quuz, &block)
end

$ cat .rubocop.yml
AllCops:
  TargetRubyVersion: 3.2

$ bundle exec rubocop --only Style/ArgumentsForwarding
(snip)

Inspecting 1 file
.

1 file inspected, no offenses detected

Hi @koic, thanks for looking into this. Here's an executable reproduction:
$ cat example.rb
def foo(&block)
  bar(&block)
end

def baz(qux, quuz, &block)
  bar(qux, quuz, &block)
end

$ cat .rubocop.yml
AllCops:
  TargetRubyVersion: 3.1

$ rubocop example.rb --only Style/ArgumentsForwarding
[...]
Inspecting 1 file
C

Offenses:

example.rb:1:9: C: [Correctable] Style/ArgumentsForwarding: Use shorthand syntax ... for arguments forwarding.
def foo(&block)
        ^^^^^^
example.rb:2:7: C: [Correctable] Style/ArgumentsForwarding: Use shorthand syntax ... for arguments forwarding.
  bar(&block)
      ^^^^^^
example.rb:5:20: C: [Correctable] Style/ArgumentsForwarding: Use shorthand syntax ... for arguments forwarding.
def baz(qux, quuz, &block)
                   ^^^^^^
example.rb:6:18: C: [Correctable] Style/ArgumentsForwarding: Use shorthand syntax ... for arguments forwarding.
  bar(qux, quuz, &block)
                 ^^^^^^

I think the changes that result in this behavior were introduced in #12541, where some RuboCop code was also (wrongly, I think) autocorrected.

@mvz I see what you're saying but I think it is actually the case prior to my change as well - certain autocorrects will change the arity of the method.
For example (this example converts *args, & to ... which means kwargs are now accepted):
https://github.com/rubocop/rubocop/blob/f0c62ef587e8cef80ddf5345648d15ad92768902/spec/rubocop/cop/style/arguments_forwarding_spec.rb#L759-L773
Similarly - converting just **kwargs to ... means that args are now accepted:
https://github.com/rubocop/rubocop/blob/f0c62ef587e8cef80ddf5345648d15ad92768902/spec/rubocop/cop/style/arguments_forwarding_spec.rb#L397-L411
Am I correct that these are the same issue?

Am I correct that these are the same issue?

I think the first one is the same or else very similar. The second one is behind a non-default setting (AllowOnlyRestArgument: false), so that would be a conscious choice to allow a potential change in behavior.

Thanks, @koic!

Not sure it's okay, just tried with 1.60.1 and
  def parse_file(file, parse_method = determine_parse_method(file.path), &)
    parse_method, args = Array.wrap(parse_method)
    send(parse_method, file, args, &)
  end

gives
...: C: [Correctable] Style/ArgumentsForwarding: Use anonymous block arguments forwarding (&).
  def parse_file(file, parse_method = determine_parse_method(file.path), &)
                                                                         ^
...: C: [Correctable] Style/ArgumentsForwarding: Use anonymous block arguments forwarding (&).
    send(parse_method, file, args, &)
                                   ^

@stanley90 Oops! This is a bug. I've opened #12626 to solve the false positive.

Hmm .. I think I'm still seeing this with RuboCop 1.60.1: https://github.com/troessner/reek/actions/runs/7559358324/job/20582995886?pr=1764.

@mvz Thank you for the feedback. I've opened #12628 to solve the false positive.


Ctrl-Shift-X doesnt work 100%, yet Logs, Clear Log does

Not long ago we were talking about Ctrl-X vs Ctrl-Shift-X. On the latest 64 bit build (.98), Ctrl-Shift-X appears to perform a ctrl-X (clearing the log display), but I dont see the memory load (lower right corner) change. If I then go to Log, Clear Log on the menu, the memory load immediately drops. Is there a delay in the update of that value, or is this a bug?

yes, must be a gui-update delay bug, because, that menu-item and its shortcut key refer to the same method. I will look into it, thanks for reporting!

https://www.screencast.com/t/aRV6NLmXnscj  Saw it this am, a bit more obvious since the log was 11 meg before clearing and 2 meg after clicking log, clear log.

and pressing ctrl shift x multiple times has no effect?
On Jul 28, 2017 4:31 PM, "mriffey"<EMAIL_ADDRESS>wrote:

https://www.screencast.com/t/aRV6NLmXnscj Saw it this am, a bit more
obvious since the log was 11 meg before clearing and 2 meg after clicking
log, clear log.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/djeedjay/DebugViewPP/issues/286#issuecomment-318667566,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFqJhHIdp3nIjy4q4z3pNINF2XpIh6EIks5sSfDBgaJpZM4Ol7BU
.

Ctrl-Shift-x no working on all os's ?

New info...  Works on Win10, doesnt work on Win2012 Server. Specifically, the ctrl-shift-X causes no change in view, log or memory display on Server 2012. When I use the menu "Clear log" function, the log and display are cleared as expected.
WMIC info follows:

On a whim, I tried the on screen keyboard (OSK.exe) to press Ctrl-Shift-X and the log cleared. This one is on MSFT:)


"Layers needed" progress should show in bootc status

The progress meter resets for each layer, making it tough for me to see overall progress.
# bootc switch ghcr.io/ublue-os/bluefin-dx:latest
layers already present: 6; layers needed: 62 (4.1 GB)
 12.91 MiB [████████████░░░░░░░░] (0s) Fetching ostree chunk sha256:b3f76892abb7 (22.1 MB)

I know that each layer will be different but maybe a [1/62] and so on would at least show the completion of each layer.

Seconding that and adding:

pulling the layers accounts for around 1/3 of update time (fast connection)
therefore, installation part needs a progress bar too
There should be an overall progress bar, with say nesting

Overall installation progress bar should have a percentage dedicated to pulling layers (e.g., x=40%) and one to installing (e.g., y=60%)
The program is aware of the layer sizes, therefore it can do the following:
DL_WEIGHT = 0.4

def progress():
    total_size = sum([l.size() for l in layers if not l.downloaded()])
    if step == "pulling":
        return DL_WEIGHT * curr_layer.progress() * (curr_layer.size() / total_size)
    else:
        completed = sum([l.size() for l in layers if l.applied()])
        return DL_WEIGHT + (1 - DL_WEIGHT) * (completed / total_size)

In addition, while its nice to view in a tty, programs should be able to take advantage of this too. Therefore, there should be a --guided option that 1) disables the progress bars 2) redirects progress to stderr such as with:
TOTAL_WEIGHT = 10000

def progress_stderr():
    p = progress()
    return f"{int(p*TOTAL_WEIGHT)}/{TOTAL_WEIGHT}\n"

Stdout should only have the logs, so they can 1) be logged for transparency and 2) optionally shown to the user. Also, current version eats the update log. It needs to say Chunk sha256:x (x/N) downloaded/applied without erasing it once it progresses (see docker logs).
The cherry on top would be if there is an estimated time in this too. It is easy to do for the download, perhaps not so much for application. Perhaps assuming the user has a 10gbit SSD and returning a constant time left based on update size during application?
I also saw the current backend essentially marshals libostree and unlike rpm-ostree implements the libostree progress listener. So there's a chance this needs to be triaged with libostree but maybe not.

Initial start in https://github.com/containers/bootc/pull/472 (needs rework)

https://github.com/containers/bootc/pull/524 will add the layer counts to progress.

I think https://github.com/containers/bootc/pull/524 fixes the initial request here.

therefore, installation part needs a progress bar too

Yes, I'd agree, though there's a good bit more involved there at a technical level right now, and I think it's going to need to slot behind other things.  For now, closing the original bug here as fixed, but we will clearly revisit progress bars after more infra work has landed.
(In particular I actually want to focus on making "installation" more efficient, not just showing progress, which is more in the domain of https://github.com/containers/bootc/pull/215 and https://github.com/ostreedev/ostree-rs-ext/issues/11 )


feat: polars + bun js runtime

The new zig-based runtime for JS looks extremely promising:
Specifically, FFI appears much more performant: https://github.com/oven-sh/bun#bunffi-foreign-functions-interface
@ritchie46 @universalmind303  -- has this made your radar yet?
I was considering giving it a run on my side; but figured it made sense to ask you guys first.
If this is of interest, do you have any guidance on how you would like to see it in the project structurally?
Best,
Ryan

Moving this to the nodejs-polars repo. Not sure if it is still relevant.

@stinodego
As much as I'd love to help on this, I do not foresee having the bandwidth in the near future.
Feel free to close for housekeeping unless someone else has the cycles. It can always be recreated if someone steps forward to take it on.

All right, I'll close this for now. Thank you!


Pod pid limit

Follow-up from https://github.com/kubernetes/website/pull/13006
Had got lost in a sea of github notifications.
This is for 1.14.

/language en
@derekmahar any chance you can address the comments please?
looking at what @PatrickLang wrote in the issue i think is pretty important missing info from the docs which should get in asap.

/language en
@derekmahar any chance you can address the comments please?
looking at what @PatrickLang wrote in the issue i think is pretty important missing info from the docs which should get in asap.

I think you may be confusing me with someone else.  I haven't contributed any code or documentation to this project.

@derekwaynecarr any chance you can address the comments please?
looking at what @PatrickLang wrote in the issue i think is pretty important missing info from the docs which should get in asap.

/language en
@derekmahar any chance you can address the comments please?
looking at what @PatrickLang wrote in the issue i think is pretty important missing info from the docs which should get in asap.

I think you may be confusing me with someone else. I haven't contributed any code or documentation to this project.

sorry, made a typo in tagging the right person.

Hi @derekwaynecarr will there be any progress on this soon? Otherwise I plan to close this. you can always let us know and we can reopen. But if I dont hear from you soon Im closing it.  Thanks

Hi, @derekwaynecarr. Closing this PR due to inactivity. Feel free to reopen.
/close


Addition of remaining binary sensors

Hello,
Thank you, this little app is just what I need!
Is it possible to have a sensor setup for mute? e.g binary_sensor.teams_mute

Sure I can add it 🙂

I would like to expand on this a bit to include all sensors that are returned by the API.
Thoughts? The use case would be simply for more monitoring options.

I had told myself I would add them when someone wants them, I guess this is it! 😂

Changes done in v0.3.0!
Let me know if you run into any issues, the MQTT has not been tested as I am not currently set up for it.
I have been using the HA portion all day though and it has been working pretty well.
There does seem to be an issue with the background-blur on the Teams side, it does seem to report all changes but there is nothing I can do for that.
Commit: https://github.com/AntoineGS/teams-status-rs/commit/9a0ce6ed534392f6e8143199e35d3b5c736c9aae

Thank you, I won't have a chance to test it until work tomorrow.

Confirmed, I can see the rest of the sensors in HA. Thank you.

Thanks for the feedback!


is there any method to train the spatial layer in SVD-v2 only?

Thanks for your interests!
Certainly, you can directly freeze parameters containing 'temporal' in their key name.


Add Smart Rollup addresses to network information page

I was looking for the Smart Rollup addresses and couldn't find them on the pages I expected to find them on, so this PR adds them to the network information page:

:+1:


Issue with custom rawpy installation in a venv for Apple M1 (arm64)

Environment data

VS Code version: 1.52.1
Extension version (available under the Extensions sidebar): Python 2020.12.424452561
OS and version: Darwin x64 20.2.0
Python version (& distribution if applicable, e.g. Anaconda): 3.8.2, Xcode
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: rawpy 0.16.0
Relevant/affected Python-related VS Code extensions and their versions: Python 2020.12.424452561

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
import rawpy should give no error
Actual behaviour
import rawpy throws the following error in VSCode but works fine from a terminal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/dpadmana/.virtualenvs/tf_m1_env/lib/python3.8/site-packages/rawpy/__init__.py", line 5, in <module>
    import rawpy._rawpy
ImportError: dlopen(/Users/dpadmana/.virtualenvs/tf_m1_env/lib/python3.8/site-packages/rawpy/_rawpy.cpython-38-darwin.so, 2): Symbol not found: __ZN6LibRaw11open_bufferEPvm
  Referenced from: /Users/dpadmana/.virtualenvs/tf_m1_env/lib/python3.8/site-packages/rawpy/_rawpy.cpython-38-darwin.so
  Expected in: flat namespace
 in /Users/dpadmana/.virtualenvs/tf_m1_env/lib/python3.8/site-packages/rawpy/_rawpy.cpython-38-darwin.so

Steps to reproduce:

Setup tensorflow_macos virtualenv as per instructions in https://github.com/apple/tensorflow_macos/releases/tag/v0.1alpha1
Do the following steps in the resulting virtualenvpip install numpy cython
git clone https://github.com/letmaik/rawpy.git
cd rawpy
sudo TMPDIR=. pip install --verbose --no-clean .

Create a file test.py with one line import rawpy and run it in VSCode with the virtualenv from step 1

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'AlwaysDisplayTestExplorer - experiment'
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'AA_testing - control'
User belongs to experiment group 'LocalZMQKernel - experiment'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'RunByLine - experiment'
User belongs to experiment group 'CustomEditorSupport - control'
User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJoinMailingListVar3'
User belongs to experiment group 'pythonSendEntireLineToREPL'
> conda --version
> conda info --json
> pyenv root
> python3.7 ~/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/.virtualenvs/tf_m1_env/bin/python ~/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2020-12-25 21:51:35: Failed to get interpreter information for '/usr/local/bin/python3.8' [Error: Command failed: "/usr/local/bin/python3.8" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3.8: No such file or directory

	at ChildProcess.exithandler (child_process.js:304:12)
	at ChildProcess.emit (events.js:223:5)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:430:11)
	at Socket.emit (events.js:223:5)
	at Pipe.<anonymous> (net.js:664:12)] {
  killed: false,
  code: 127,
  signal: null,
  cmd: '"/usr/local/bin/python3.8" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"'
}
Error 2020-12-25 21:51:35: Failed to get interpreter information for '/usr/local/bin/python3' [Error: Command failed: "/usr/local/bin/python3" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3: No such file or directory

	at ChildProcess.exithandler (child_process.js:304:12)
	at ChildProcess.emit (events.js:223:5)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:430:11)
	at Socket.emit (events.js:223:5)
	at Pipe.<anonymous> (net.js:664:12)] {
  killed: false,
  code: 127,
  signal: null,
  cmd: '"/usr/local/bin/python3" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"'
}
Error 2020-12-25 21:51:35: Failed to get interpreter information for '/usr/local/bin/python3.8' [Error: Command failed: "/usr/local/bin/python3.8" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3.8: No such file or directory

	at ChildProcess.exithandler (child_process.js:304:12)
	at ChildProcess.emit (events.js:223:5)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:430:11)
	at Socket.emit (events.js:223:5)
	at Pipe.<anonymous> (net.js:664:12)] {
  killed: false,
  code: 127,
  signal: null,
  cmd: '"/usr/local/bin/python3.8" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"'
}
Error 2020-12-25 21:51:35: Failed to get interpreter information for '/usr/local/bin/python3.7' [Error: Command failed: "/usr/local/bin/python3.7" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3.7: No such file or directory

	at ChildProcess.exithandler (child_process.js:304:12)
	at ChildProcess.emit (events.js:223:5)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:430:11)
	at Socket.emit (events.js:223:5)
	at Pipe.<anonymous> (net.js:664:12)] {
  killed: false,
  code: 127,
  signal: null,
  cmd: '"/usr/local/bin/python3.7" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"'
}
Error 2020-12-25 21:51:35: Failed to get interpreter information for '/usr/local/bin/python3' [Error: Command failed: "/usr/local/bin/python3" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3: No such file or directory

	at ChildProcess.exithandler (child_process.js:304:12)
	at ChildProcess.emit (events.js:223:5)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:430:11)
	at Socket.emit (events.js:223:5)
	at Pipe.<anonymous> (net.js:664:12)] {
  killed: false,
  code: 127,
  signal: null,
  cmd: '"/usr/local/bin/python3" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"'
}
Error 2020-12-25 21:51:35: Failed to get interpreter information for '/usr/local/bin/python3.7' [Error: Command failed: "/usr/local/bin/python3.7" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3.7: No such file or directory

	at ChildProcess.exithandler (child_process.js:304:12)
	at ChildProcess.emit (events.js:223:5)
	at maybeClose (internal/child_process.js:1021:16)
	at Socket.<anonymous> (internal/child_process.js:430:11)
	at Socket.emit (events.js:223:5)
	at Pipe.<anonymous> (net.js:664:12)] {
  killed: false,
  code: 127,
  signal: null,
  cmd: '"/usr/local/bin/python3.7" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/pyvsc-run-isolated.py" "/Users/dpadmana/.vscode/extensions/ms-python.python-2020.12.424452561/pythonFiles/interpreterInfo.py"'
}
Python interpreter path: ~/.virtualenvs/tf_m1_env/bin/python
Starting Pylance language server.
> conda --version

From my understanding, you need launch terminal instances either with or without x64 compatibility. My guess this is what's breaking for you as the linker can't/won't find the missing symbol while loading the extension module.
Otherwise we don't tweak your terminal setup so I don't see how we would play into this. I also don't know what that shell script you ran does to make things work. We also unfortunately don't have an M1 to even reproduce this on.

From my understanding, you need launch terminal instances either with or without x64 compatibility. My guess this is what's breaking for you as the linker can't/won't find the missing symbol while loading the extension module.
Otherwise we don't tweak your terminal setup so I don't see how we would play into this. I also don't know what that shell script you ran does to make things work. We also unfortunately don't have an M1 to even reproduce this on.


Add sourcemap, catalog_assets and parse to OptionBuilder

Fixes #808
This PR do not contains the version bump to 2.1.0

Could you also please add an entry to the change log? :)

I implemented the changes.

Thank you!
Sorry for the delay. I am not as fast in reviewing as I’d like to be.

Thank you for merging this. No worry about the delay.
The pace of reviews in the Asciidoctor(J) project is great.


MKV video files don't download

After clicking download on a MKV file it takes you to a page that shows this

Maybe the file you're trying to play is invalid MKV or your system doesn't support playing MKV files.


Try to bring custom params to changset but get argument not injected exception

Sorry, I was new in mongo.
I was try to create a changeset method with custom params (my mongo property class), but when run will get (Method [method name] using argument [custom mongo property class] not injected) exception.
May I know how to inject my property class?
(using 3.2.4 version)

Hello @lorschtan , could you provide a bit more information:

MongockSpring?
Can you provide the code of the changeSet, or at least the signature
anything you feel relevant

Thanks

yes, mongock spring.
<dependency>
	<groupId>com.github.cloudyrock.mongock</groupId>
	<artifactId>mongock-spring</artifactId>
	<version>3.2.4</version>
</dependency>

<dependency>
	<groupId>org.springframework.data</groupId>
	<artifactId>spring-data-mongodb</artifactId>
</dependency>

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>

the maven for mongo

@Bean
	public SpringMongock mongock() {
		MongoClient mongoClient = new MongoClient(new MongoClientURI(this.mongodbUri));
		return new SpringMongockBuilder(mongoClient, this.mongoDb, this.packageNameToScan)
				.setLockQuickConfig()
				.build();
	}

this is the mongock config
@ChangeSet(order = "000", id = "init_setup", author = "lorsch")
	public void initSetup(MongoTemplate template, MongoConfig config) {
		(haven't start write anything yet)
	}

this is my changeset
he mongoconfig is my custom mongo config. i'm actually try to create a changeset that able to do create database, create collection, create user and set up db auth

i tried to bring params (mongo template, spring framework core environment), but the environment also having the same issue (not injected), is it required anthing else?

Hello @lorschtan , you are not injecting the Spring Application context as you can see here .
Please try this an let me know how it goes ;)

@dieppa , Yea, It works. Thank you so much.

Great @lorschtan , I am glad it worked :)


Price-sensitives receive equal shares of excess/dispatchables

Price-sensitive users now receive equal shares of excess.
Price-sensitive users now receive equal shares of available dispatchable energy.

The performance penalty is hard to quantify. On my laptop, three interconnectors with the dispatchables toggle turned on, compared with one interconnector and the toggle off, costs maybe 100ms. I think these changes are responsible for roughly half of that. I expect you'll want to merge this, but I feel like I have to reiterate that our use of Ruby for hourly calculations is becoming more ridiculous with every new feature.
P.S. My brain is broken from writing while loops in Ruby.

Excess energy

One interconnector
Two interconnectors

Dispatchables toggle on

Two interconnectors
Three interconnectors

Closes #1129

P.S. My brain is broken from writing while loops in Ruby.

😩

P.S. My brain is broken from writing while loops in Ruby.

😅

I expect you'll want to merge this, but I feel like I have to reiterate that our use of Ruby for hourly calculations is becoming more ridiculous with every new feature.

Sounds wise to have a good look at our use of Ruby for hourly calculations. But maybe not now since your brain is broken and you're maybe to deep in it now to have a good look.
I would propose to merge this and add a new to-do to the developer sprint for reiterating the hourly calculations. What do you think @ChaelKruip @antw ?


Support for React Native

is atellier supported on React Native? if not do you have any plans for the same?

Hi, any update on the raised request?

Hi, Can anyone please update on the raised request. Do you have any plans for supporting ReactNative??


Can't add Azure Widget to Dashboard

Dev Home version
0.701.323.0
Windows build number
10.0.22631.2715
Other software
No response
Steps to reproduce the bug

Installed the extension for Azure
In Settings -> Accounts, my Azure account is listed as signed in

Clicked on Dashboard
Clicked on Add Widget
Clicked on Pull Requests
Selected the account (which is correctly listed), added the repo url and Assigned to me.
VS30063: You are not authorized to access.

I did check and I can access the repos in Edge, Chrome and Visual Studio.
Tested with three different Azure Devops and all of them have the same error.
I also tried signing out and signing in again in Settings->Accounts.
Expected result
Expected the widget to be added successfully
Actual result
VS30063: You are not authorized to access https://
Included System Information
No response
Included Extensions Information
No response

I can only add widgets to my own personal azure devops account, not to any other repos that I regularly work or access. And I do have access to the other Azure Devops in every possible way (VS, Edge, Chrome, etc).

Those errors are coming from the the devops server response to our queries. Assigning to Sarah as this appears to be an authentication issue.

Hi @luislhg. Thanks for the logs. We're doing some investigation internally and will update here when we have something.

Update: this has been moving along internally. We've been pointed to the correct team and next step is to get them an internal repro.

Any updates on this? I have just tried to use Dev Home again, but the Azure Extension is never able to add any widget, and I pretty much only work on Azure Devops projects


365 account app-password creation-

When signed in to an account using an Exchange Online Plan 1 license- we have set up MFA to sign in and are requiring to use the account from a series of scanners that are used remotely via 4G wireless dongles (unable to add 365 connectors to a static external IP) and would like to set up an app-password for the account to have the scanners use to send emails-
However when in the MFA page the only options are for Email or Phone- there is no App Password option for the "Add method"
To further clarify- When under the "Security info" page while signed in to the account, we go to click "Add method" and only Phone and Email are options, not "app password"
But we would like to add an app password for the scanner.

@zroxlol Thanks for the question! We will review and get back to you!

@zroxlol Make sure that you have enabled Creation of App Passwords using via MFA Service Settings.

Go to https://account.activedirectory.windowsazure.com/UserManagement/MfaSettings.aspx
Sign in with Global Admin account.
Make sure "Allow users to create app passwords to sign in to non-browser apps" option is selected, as shown below:

Hi amanmcse, thanks for the quick response!
I've just logged in and checked to find that unfortunately that option is already enabled, is there another location I could check that could be preventing me from creating an app password for the account?
Kind regards

Oh, brilliant. I've just reset/removed all MFA devices/methods and re-added them, now it has the app-password option when adding new method!
I'm not sure exactly what changed or if reset/re-add did the trick but I've got what I wanted from now!
Thanks team :)


How to handle size of text?

Here, the text will scale with whole background area. how to keep text size medium and not out of shape?

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

ID: 91d37d68-041e-34c3-5777-2927714012b5
Version Independent ID: 211e9a60-c38c-86bd-0c84-36c1a819896d
Content: How to: Draw Text to a Control's Background
Content Source: docs/framework/wpf/advanced/how-to-draw-text-to-a-control-background.md
Product: dotnet-framework
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Hi, thank you for the question. This article doesn't really go into that much depth. It would be better if you asked on a support forum stackoverflow.


Fix tests path

Codecov Report

Merging #41 (fd46312) into main (62204f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   86.41%   86.41%
=======================================
  Files          46       46
  Lines        6866     6866
=======================================
  Hits         5933     5933
  Misses        933      933

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


add tf backend to 3d-unet

WIP

looks good to me! Thanks

@kahmed10 , can you sign the cla ?

Refer to #627