bug?: reading decimal output string

Thanks for reporting an issue!
Steps to reproduce
'use strict';
const chai = require('chai');
const assert = chai.assert;
const parquet = require('../parquet');
const path = require('path');

describe('decimal encoding', async function() {
  it('should works', async function() {
    let reader =  await parquet.ParquetReader.openFile(path.resolve(__dirname,'test-files/decimal.parquet'));
    let cursor = reader.getCursor(['age', 'id', 'full_name']);
    let records = [];
    let record = null

    while (record = await cursor.next()) {
      records.push(record);
    }
    assert.deepEqual(records,[{
      id: '10',
      age: 42,
      full_name: 'Jonathan Cohen'
    },
    {
      id: '11',
      age: 3,
      full_name: 'Joseph Hazan'
    }]);
  });
});

Schema:

File:
e2e_datasources.bigquery_test_c40ff3c5-03f4-4213-9d52-fc62e71af0ed_1710089629994_file-000000000000.parquet.gz
Expected behaviour
We should decode age as number or at least as a buffer
Actual behaviour
AssertionError: expected [ { id: '10', …(2) }, …(1) ] to deeply equal [ { id: '10', age: 42, …(1) }, …(1) ]
      + expected - actual

       [
         {
      -    "age": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\t�e$\u0000"
      +    "age": 42
           "full_name": "Jonathan Cohen"
           "id": "10"
         }
         {
      -    "age": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000��^\u0000"
      +    "age": 3
           "full_name": "Joseph Hazan"
           "id": "11"
         }
       ]

Any other comments?
I'm not familiar with parquet encodings, actually started working with it this afternoon so i might be doing something wrong. I would expect to have the number decoded from decimal however i've seen in other tests that since decimal are encoded as a FIXED_LEN_BYTE_ARRAY in my case it should be decoded as a buffer but that's not the case either.

First off, thanks for the test and including the file!
I would expect those to come out as buffers as well right now. They are FIXED_LEN_BYTE_ARRAY under the hood.
The other output option would be strings as JS only supports up to 53 bit numbers.
Looks like the issue is because this file uses a dictionary and dictionaries get a "toString" (wrongly) applied: https://github.com/LibertyDSNP/parquetjs/blame/91fc71f262c699fdb5be50df2e0b18da8acf8e19/lib/reader.ts#L948
However removing that looks like it causes some other tests to fail, so some version of that is needed for some values.
All the failing tests however are in the test-files.js test, so perhaps some of them are wrong? I might be able to take a deeper look in a few weeks, but perhaps that is enough that you can find the deeper issue faster than I will be able to.

I've started to have a look into the FIXED_LEN_BYTE_ARRAY handling as I've been looking into using this library and found the same issue with decimal parsing.
If you remove that toString call on the dictionary decoding the test failures seem to be just in the test-files.js:

mr_parq: Returns the INT96 timestamps as integers (previously they were strings)
RLE tests: The binary_field now gets returned as a buffer, and the long_field as a BigInt. Both were previously strings.

I'm not familiar with the parquet format details and what the distinction is between the DATA_PAGE, DATA_PAGE_V2 and DICTIONARY_PAGE pagetypes, so I'm not sure whether the other routes were returning non-string data. I'd imagine it's a breaking change to update how the data is returned for this dictionary page case though, and what the wider impacts would be to any of the sample file parsing.
If getting rid of the toString conversion seems like the way to go, I'm happy to raise a PR that updates some of these tests to use the underlying type to see the change.
It could be worth adding an equivalent test like the test.parquet that checks the data gets returned as the expected types, but I'd need to figure out how to make a parquet file that uses a dictionary for that.

Did a bit more digging, and saw the parquet-testing files. It looks like this library is decoding parquet files with dictionary pages differently to non-dictionary pages.
If you compare alltypes_tiny_pages_plain.parquet and alltypes_tiny_pages.parquet, one gets returned with string values and the other gets returned with non-string values.
I just added a console.log(record) to the read-all.test.ts after filtering down to these two files:
The first record from alltypes_tiny_pages.parquet
{
  id: 122,
  bool_col: true,
  tinyint_col: '2',
  smallint_col: '2',
  int_col: '2',
  bigint_col: '20',
  float_col: '2.200000047683716',
  double_col: '20.2',
  date_string_col: '01/13/09',
  string_col: '2',
  timestamp_col: '3725410000000',
  year: '2009',
  month: '1'
}

The first record from alltypes_tiny_pages_plain.parquet
{
  id: 122,
  bool_col: true,
  tinyint_col: 2,
  smallint_col: 2,
  int_col: 2,
  bigint_col: 20n,
  float_col: 2.200000047683716,
  double_col: 20.2,
  date_string_col: '01/13/09',
  string_col: '2',
  timestamp_col:<PHONE_NUMBER>000,
  year: 2009,
  month: 1
}

And looks like the former included a dictionary page and the latter did not.
And then re-running it without that toString mapping makes them give the same result.

Should be fixed in https://github.com/LibertyDSNP/parquetjs/releases/tag/v1.8.0


Chips/Autocomplete Lazy Load of Suggested Items

Feature Request
Add the possibility to lazy load suggested items for the chips/autocomplete component.
https://teradata.github.io/covalent/#/components/chips
What is the motivation / use case for changing the behavior?
Currently the component needs all data beforehand and there is no possibilty to hook in to user inputs and refetch data based on the input.
Possible use case:
User Form where the user has to select multiple items out of a large dataset.
The data can't be loaded before as the browser memory would blow up.

So, we need to externalize the inputs events somehow... now, with the way md-autocomplete will work in @angular/material, this might change a little bit so lets start by discussing things in this issue.

I think that we can create a method to get to the input element:
e.g.
@ViewChild(TdChipsComponent) chips: TdChipsComponent;

ngOnInit(): void {
  this.chips.getInputElement().onChange((event) => {
    // do your loading here
  });
}

OR
<td-chips #chips (keydown)="loadItems(chips.getInputElement().value)">
</td-chips>

That way people can get to the internal element and its event hooks without having to create n number of EventEmitters.
Although, its nice if we can at least handle 2 or 3 general events.
<td-chips (inputChange)="loadItems($event)">
</td-chips>

And so, just thinking out loud.
Which we might have to start creating methods to access the underlying component for most implementations either way, since there are cases where you want that.

This PR https://github.com/Teradata/covalent/pull/459 will be the base for this feature.

https://github.com/Teradata/covalent/pull/626 will take care of this 😄 .


Enum is not initialized correctly

From ddk=> D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE           = 0x01
The public version of this above implies that D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE           = 0x0

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

ID: 4a035656-26c9-aa19-5c64-8ff1703a1e66
Version Independent ID: e8fe6a4b-37df-0fd1-1976-b53d4ec26db9
Content: D3DWDDM2_0DDI_VIDEO_DECODER_CAPS
Content Source: wdk-ddi-src/content/d3d10umddi/ne-d3d10umddi-d3dwddm2_0ddi_video_decoder_caps.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Oops. Thanks, @nadircazi for pointing this out. @mimisasouvanh, can you look into this and make sure the doc is correct? Thanks.

A gentle reminder to make this quick change, before I forget this as well.
Thanks!

Hi @nadircazi,
I truly apologize for taking so long to respond. I can't seem to see where the incorrect initialization is. Are you looking at the Syntax section of the doc page?
Thanks,
Mimi

Hi Mimi,
From msdn page:
typedef enum D3DWDDM2_0DDI_VIDEO_DECODER_CAPS {
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE           ,
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_NON_REAL_TIME        ,
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE_REQUIRED  ,
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_UNSUPPORTED
} ;
...which implies, D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE = 0x0
BUT, looking at the specs/ddk:
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE = 0x01
So looks like we need to correct the msdn reference page

Ahh I see now. Thanks for clarifying! Hopefully I can get a fix in by tomorrow. It looks as though many other enumeration pages are affected as well.

Hi @nadircazi
I've inserted a new syntax. It should be published in the next 24 hours.
Thanks!
Mimi

Thanks a lot, Mimi!


Update CMake with a more readable configuration for adding source files.

This resolves https://github.com/novelrt/NovelRT/issues/37.
This updates the CMakeLists.txt to use cmake variables to track the lists of files used by various portions of the build. This makes it easier to see what flows where, what is included where, and makes diffs much smaller/easier to review.

I need to quickly test how CLion handles auto updating the build targets with this. I don't think it's really a big deal myself but if this stops working and someone else objects then they need to speak up before it's merged.


Should "Allowable costs" be without losses in the CapitalGainsReport?

The report from the "Second pass" shows a line "Allowable costs". I presume that this is calculated to fill the "Capital Gains Tax 38 - Allowable costs (including purchase price)" field in the tax return. But from the result it seems to include losses in the year.
From my understanding of https://www.gov.uk/hmrc-internal-manuals/capital-gains-manual/cg15250 this is wrong and "Allowable costs" shouldn't include losses. It should be:
"Disposal proceeds" = "Allowable costs" + "Gains in the year, before losses"
Can anyone confirm if this is really wrong?

I think this is the code that calculates the allowable costs printout: https://github.com/KapJI/capital-gains-calculator/blob/main/cgt_calc/main.py#L729-L731

Code is fine except maybe for issue discussed in #573. It should be:
Disposal proceeds = Allowable costs + Gains - Losses
Where:

Disposal Proceeds = Sale price or value of the asset when it is sold or otherwise disposed of.
Allowable Costs = Costs incurred in acquiring, improving, or selling the asset, such as purchase price, legal fees, and improvement costs.

This gets added for all the transactions.


How can I use container queries with StyleX?

Hi, I'm trying to use container queries (https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries) with styleX, but it not seems to work at all.
Can you add a support for them?

Container queries are fully supported.
You have to set containerType: "inline-size" on a container, and then you can use @container queries just like @media queries on a child element.
If something is not working as expected, please provide an example of what is not working. Ideally with a small project (perhaps on StackBlitz?) that shows the error.


DEBUG log messages emitted on imports

Environment

Qiskit Terra version: main (but previous release likely also have the issues
Python version:  3.10
Operating system:  Linux

What is happening?
When importing some modules, including the root qiskit namespace, DEBUG log messages get emitted. For example
import qiskit emits:
DEBUG:qiskit.quantum_info.synthesis.two_qubit_decompose:Requested fidelity: None calculated fidelity: 1.0 actual fidelity 0.9999999999999997

and import qiskit.test emits:
DEBUG:qiskit.test.testing_options:{'skip_online': False, 'mock_online': False, 'run_slow': False, 'rec': False}

How can we reproduce the issue?
import logging
logging.basicConfig(level="DEBUG")
import qiskit

What should happen?
We shouldn't be emitting runtime log messages during an import. This is primarily a side effect of code being executed at the module level on import, normally to setup global objects, but emitting these log messages on import is missing the context and really serves no useful purpose.
Any suggestions?
First we need to find all the places this is happening in the tree (I only tested these two paths there might be others). Then we either remove the logging if it serves no purpose (arguable the qiskit.test example falls in this category )or filter the logs from code that is executed on import (the decomposition falls in this example because normally logging the decomposition fidelity can be useful when code is explicitly calling the synthesis routines).

For the record, I imported every single component of Terra, and this is the full set of log messages:
In [1]: import logging
   ...: logging.basicConfig(level=logging.NOTSET)
   ...: logging.getLogger("matplotlib").setLevel(logging.WARNING)
   ...: logging.getLogger("asyncio").setLevel(logging.WARNING)
   ...: import importlib
   ...: import pathlib
   ...: for path in pathlib.Path("qiskit").glob("**/*.py"):
   ...:     parents = list(path.parents)[-2::-1]
   ...:     mod = ".".join(str(x.name) for x in parents)
   ...:     if path.name != "__init__.py":
   ...:         mod += "." + path.name[:-3]
   ...:     importlib.import_module(mod)
   ...: import qiskit

DEBUG:qiskit.quantum_info.synthesis.two_qubit_decompose:Requested fidelity: None calculated fidelity: 1.0 actual fidelity 0.9999999999999997
INFO:SKQ.SnobFit:
------------------------------------------------------------------------
W. Huyer and A. Neumaier, "Snobfit - Stable Noisy Optimization by Branch and Fit",
 ACM Trans. Math. Software 35 (2008), Article 9.
Software available at www.mat.univie.ac.at/~neum/software/snobfit
------------------------------------------------------------------------
DEBUG:qiskit.test.testing_options:{'skip_online': False, 'mock_online': False, 'run_slow': False, 'rec': False}
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.30208 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.09584 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.07391 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.05817 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.05412 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.05102 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.04506 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.05293 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.06604 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.06390 (ms)
INFO:qiskit.compiler.assembler:Total Assembly Time - 0.06199 (ms)

I think the qiskit.compiler.assembler messages are coming from outside Terra (they appear when the version table is loaded, which loads up the other modules), but I didn't check too deeply where.

The test one is something we should just get rid of it's parsing a weird environment variable that sets key value pairs as a single string. Those aren't really used anywhere anymore (except for the caveats related to #862 and something else might be using it) except for the slow test execution piece.
The assembler calls are probably from aer on import. It runs some circuits to determine the capabilities of the binary executable: https://github.com/Qiskit/qiskit-aer/blob/24c51a675b8653c8ad2af587d40b795ac94c07c7/qiskit/providers/aer/backends/backend_utils.py#L119-L153 we probably should switch that to some metadata we set to the binary that can be read and avoid doing that on import.

The synthesis log message is being caused by this global: https://github.com/Qiskit/qiskit-terra/blob/main/qiskit/quantum_info/synthesis/two_qubit_decompose.py#L1405 which gets used by most of the transpiler and is part of the default set of what gets pulled in on import qiskit.


UWP platform

Can you migrate this API to UWP platform? It will be great!

I can't see why not .. I'll try to figure out what the moniker for UWP is.

@Tar4s could you check out <IP_ADDRESS>-alpha on Nuget?

@LordMike course! one moment

@LordMike Everything connects perfectly! But unfortunately, I use bindings. So, i must working with classes and fields marked as [DataMember] and [DataContract]. JsonProperty does not work with bindings. My program in XAML doesn't see necessary classes, and i can't compile the code :(

This is if you're sending the TMDbLib objects over your WCF channels as just that - objects, right?
I could mark everything with DataMember and DataContract - but is this a good idea?

@LordMike I can't say for sure, because I'm not familiar with all the subtleties. For the experiment, can you mark SearchMovie class only, which I need.

But is it because of WCF? For an experiment, you could fetch the code and compile yourself - adding the attributes as needed.

Should not matter for us. It does not affect our flow
Get Outlook for Android
On Thu, Aug 11, 2016 at 8:30 PM +0200, "Michael Bisbjerg"<EMAIL_ADDRESS>wrote:
But is it because of WCF? For an experiment, you could fetch the code and compile yourself - adding the attributes as needed.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/LordMike/TMDbLib/issues/198#issuecomment-239249184

I'm worried about referencing the Serialization primitives. From what I gather, they're not even available on all platforms, so in the worst case we end up with a huge bunch of #ifdef's.. And then I'd just rather not.

Valid point, @Tar4s I sugest wrapping the objects in your own dto's where needed and use something like automapper to transition between the 2 domains. This would also allow you to add things like INotifyPropertyChanged and such

@LordMike now I see. support
@Naliath understood. will look for
thanks to all

Or, if you don't want to use AutoMapper, use the existing Newtonsoft.Json and simply Serialize what we give you, and then deserialize into your own DTO's.
Closing.


[AI] [Projects] Add OpenApi and fabric skill to Agents SDK

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

@johanste could you please also review?


momentDate set timezone

Hi,
is there a way to set timezone for the momentDate? I'm in GMT+5.30.
Thanks

Yes, to set "literally" a timezone, you need the "tz" method (additional) from moment,js.
Documentation: https://momentjs.com/timezone/docs/


Sharing _build/deps with main project causes significant system slowdowns when running alongside Phoenix with auto reload

Environment

Elixir & Erlang versions (elixir --version):

Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Elixir 1.9.4 (compiled with Erlang/OTP 22)

Operating system: macOS Catalina 10.15.4
Editor or IDE name (e.g. Emacs/VSCode):  VSCode Version: 1.44.0
LSP Client name:  ElixirLS Fork: Elixir support and debugger v0.3.1

Troubleshooting

[x] Restart your editor (which will restart ElixirLS) sometimes fixes issues
[x] Stop your editor, remove the entire .elixir_ls directory, then restart your editor

NOTE: This will cause you to have to re-run the entire dialyzer build

Since elixir_ls shares _build/deps with the main project for a bunch of things, whenever it decides to recompile the code (if running alongside Phoenix with autoreload) - it causes a race condition between the compiler inside Phoenix auto reload and the elixir_ls compiler. This causes significant slowdowns and sometimes warnings and errors while waiting for both to finish.
We should be able to configure it to NEVER re-use the deps or _build directory with the main project to avoid conflicts like these

Since elixir_ls shares _build/deps with the main project for a bunch of things, whenever it decides to recompile the code (if running alongside Phoenix with autoreload) - it causes a race condition between the compiler inside Phoenix auto reload and the elixir_ls compiler. This causes significant slowdowns and sometimes warnings and errors while waiting for both to finish.

Hmm, the _build is definitely not shared. For ElixirLS it is in your repository_root/.elixir_ls/_build directory (whereas your main build dir is repository_root/_build). While the deps are shared, I wouldn't expect that to cause a slowdown or problems since they are basically read-only except for the case where you've edited your mix.exs to add or update a dependency and ElixirLS starts to download the deps, potentially at the same time as you are downloading the deps yourself, but that doesn't sound like the issue that you are running into.
But with that said I want to better understand the issue that you're running into. What kind of warnings and errors are you seeing? Can you reproduce it on a fresh mix phx.new project? Specific reproduction steps or a sample project would be extremely helpful.

Sorry, it seems like the _build sharing is no longer happening (I was using the old non-forked version).
However, the deps sharing is still very much happening as you described. It's way less disrupting than sharing _build as the old version did, but it can still be annoying when you trigger a deps fetch / compile in the terminal and ElixirLS interferes.
Thanks !

@cblage FYI, I opened an issue for a broader discussion on deps handling #201

@axelson thanks! Should I close this ticket?

Yeah I think we can close this.


Add instructions to use the latest development version

Maybe we can add to the readme that if you want to use the latest development version you can replace
https://github.com/concrete5/composer/blob/d019cb550d45f27664e4aa8c78fdf4fecf0f69db/composer.json#L9
with
"concrete5/core": "8.x-dev"

Yeah, a pull request would be great. We also have the 8.x-dev option of this project:
composer create-project concrete5/composer:8.x-dev path/

https://github.com/concrete5/composer/commit/6900046ce6f53cbdd5daa6cf5ab01cc8386c8395


@click event handle doesn't work in IE 11

Environment
System:
OS: Linux 5.15 Ubuntu 20.04 LTS (Focal Fossa)
CPU: (6) x64 Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz
Memory: 4.40 GB / 7.76 GB
Container: Yes
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
Browsers:
Chrome: 119.0.6045.105
npmPackages:
@nuxt/http: ^0.6.4 => 0.6.4
@nuxt/types: ^2.15.8 => 2.17.3
@nuxt/typescript-build: ^2.1.0 => 2.1.0
nuxt: ^2.15.8 => 2.17.3
Reproduction
create a nuxt2 application following https://v2.nuxt.com/examples/data-fetching/async-data .
copy souces from  https://github.com/nuxtlabs/examples/blob/master/data-fetching/async-data-hook/pages/mountains/_slug.vue
This page uses a Back button to return to the previous page, and specifies the goBack function using @click. when the user clicks the button, it should return to the previous page.
Describe the bug
the example work fine in Chome.
But in IE 11, clicking on the "Back" button doesn't work, and no errors are reported in the Console.
Additional context
No response
Logs
No response

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏


mongorestore error:don't know what to do with file

Hi @timvaillancourt：
os version:centos 7.2
mongodb version: 3.4.7
when we  mongorestore after use mongodb-consistent-backup, we have some problem?
mongorestore --host <IP_ADDRESS> --port 27021 -u admin -p admin --oplogReplay --dir /tmp/test/latest/rs2/dump
2017-09-13T14:25:07.416+0800    preparing collections to restore from
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/admin/system.profile.bson.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/admin/system.profile.metadata.json.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/admin/system.users.bson.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/admin/system.users.metadata.json.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/admin/system.version.bson.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/admin/system.version.metadata.json.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/sku/sku.bson.gz", skipping...
2017-09-13T14:25:07.416+0800    don't know what to do with file "/tmp/test/latest/rs2/dump/sku/sku.metadata.json.gz", skipping...
2017-09-13T14:25:07.417+0800    replaying oplog
2017-09-13T14:25:07.417+0800    done

Hello @supersujj, because your files end in ".gz" this backup must have used gzip.
Please add the --gzip flag to your mongorestore command.

ok,it can do it ,thank you!

No problem @supersujj


Android Build Deployment

Describe the task

If the task will only make sense to a dev, add a :zap: to the title.

Update the current workflows for building on android devices
Value Add

Opens up testing surfaces to other devices
Can access sensors on devices instead of only in browser
Can ensure capacitor features will work on both devices without having to later do a refactor for a 1 OS solution

Acceptance Criteria

[x] Can build .apk for Android
[x] Can run on an Android device
[ ] Documentation written for running the android build workflow

Additional Context

Builds and runs ok. Still tracking down a memory leak.


string '0' treated not treated as falsey

javascript treats a string '0' as falsey, but it doesnt appear that mustache js treats a string 0 a falsey
mydata = '0'
{{mydata}} {{^mydata}} Parentmydatafalsey{{/mydata}} {{#mydata}} mydata truthy{{/mydata}}

JavaScript doesn't treat string '0' as falsey:

thanks might be a moodle implementation  thing I'll look harder...

oh oops misread...  i only tried
'0' == false
thanks

@BenKelada You should probably close this issue then.


Discord account not starting

Summary
i think that it is a bug of library
Reproduction Steps
The account does not start, an error will appear, although the token is entered correctly. Everything was working yesterday :)
Code
Traceback (most recent call last):
  File "D:\PyCharm Projects\discord_farm\main.py", line 479, in <module>
    loop.run_until_complete(start_bot())
  File "D:\Apps\Anaconda\envs\discord_farm\lib\asyncio\base_events.py", line 642, in run_until_complete
    return future.result()
  File "D:\PyCharm Projects\discord_farm\main.py", line 459, in start_bot
    await client.login(client_token)  # Пытаемся залогиниться по токену
  File "D:\Apps\Anaconda\envs\discord_farm\lib\site-packages\discord\client.py", line 425, in login
    await self.http.static_login(token.strip())
  File "D:\Apps\Anaconda\envs\discord_farm\lib\site-packages\discord\http.py", line 371, in static_login
    await self.startup()
  File "D:\Apps\Anaconda\envs\discord_farm\lib\site-packages\discord\http.py", line 140, in startup
    self.client_build_number = bn = await utils._get_build_number(self.__session)
  File "D:\Apps\Anaconda\envs\discord_farm\lib\site-packages\discord\utils.py", line 754, in _get_build_number
    return int(build_file[build_index:build_index + 6])
ValueError: invalid literal for int() with base 10: 'ull!=='

Expected Results
The account should have started.
Actual Results
i think that it is a bug of library
System Information
I tried on Windows 10 and Ubuntu 20.04
Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
The account does not start, an error will appear, although the token is entered correctly. Everything was working yesterday.

Same issue for me

Same

SOLVED!!!
file \lib\site-packages\discord\utils.py
line 753, in _get_build_number
build_index = build_file.find('buildNumber') + 14
should be replace with
build_index = build_file.find('buildNumber') + 24

SOLVED!!!
file \lib\site-packages\discord\utils.py line 753, in _get_build_number build_index = build_file.find('buildNumber') + 14 should be replace with build_index = build_file.find('buildNumber') + 24

It doesn't change anything for me...

I'll push out an emergency fix tonight.
Rebate (2.0) uses my API to fetch the info, so such issues can be fixed without a new release.

I'll push out an emergency fix tonight.
Rebate (2.0) uses my API to fetch the info, so such issues can be fixed without a new release.

Thanks for your answer! ;-)

24
it works for me, thanks ;)


dark skin

It would be nice having dark WaveDrom color scheme for the black or dark-grey page backgrounds like:
http://hackaday.com or http://www.windytan.com
I would also like to simulate phosphor persistence oscilloscope effect that looks steampunkishly appropriate.
Something like northern lights:

From wikipedia
Or old-school oscilloscope:

By mikael altemark

Color scheme draft:
:green_heart: green -- valid data 0/1
cyan -- multibit data
:yellow_heart: yellow -- ???
:red_circle: red -- X value
:blue_heart: -- Z value


One Horcrux signer node and multiple chains

Can one Horcrux signer node work with multiple chains at the same time? Or do I need to use containers for this purpose, such as Docker?

This work will be complete as a side effect/special case of #45 .


Handle windows url callback

Description

What is the purpose of this pull request?

[ ] New feature
[ ] Documentation update
[X] Bug fix
[ ] Refactor
[ ] Release
[ ] Other

Addressing problems in https://github.com/onlook-dev/onlook/issues/428


Support multiple media types for JAX-RS @Produces on methods

Currently only the first media type is added to the @Produces annotation when an operation specifies multiple responses with different media types

This works as expected, it seems the lenient nature of parsing (see #103) caused confusion on how this worked


[T2A4][T01-T2]Akankshita Dash

Ready for review

@akd13 Some comments added. Please close the PR after reading comments.


benchmarking — create a notebook showing how to work with the single gpu benchmarks

The notebook should

show how to understand what the benchmark's options are
show how to programmatically run the benchmark
show how to create the callable that the benchmark is invoking
show how to acquire the input generator the benchmark is using to create the inputs to the callable

This way practitioners will be able to run the benchmark callable in their own contexts, which should support profiling.
fyi @kevinstephano — is this what you were thinking of when talking about extracting a callable from a benchmark?
cc @borda @apaz-cli @crcrpar

This sounds good!
This might already be in mind with these bullet points but it would be helpful to show explicitly how to:

Show the trace
Execute specific fusions
Dump the debug for specific fusions

Regarding the debug for a specific fusion I've created #387. If that goes through I will show in this notebook how to use that information to dump it for specific fusions so that then it's just a matter of reading the output and creating the repro script


[price-feeder] Add handling for jaield validator in oracle tick

Describe your changes and provide context
This adds a check for whether the validator is jailed, and if so, doesn't allow submission of oracle votes, and instead logs error output
Testing performed to validate your change
Verified with personal cluster

Apart from adding block height based stale, we should probably add time based staleness check. This would cover the case where the node halted and become jailed, where the curr height doesn't move any more, but we should still stop sending any request right?


Provide a unified emulator for both IP and subsystem.

This will be blocked by the offline diff tests.


integrate with websocket / grpc ASR

hi, I find a open source ASR system Wenet, which expose websocket & grpc API for streaming ASR (this repo have pretrained English/Chinese model, stream issue), I want to integrate it with streamlit-webRTC, but I'm not familiar with asyncio tornado ... etc yet, so it's a little difficult for me to implement it. (btw, I want to integrate with streaming TTS too)
it would be nice if you could implement a example, or maybe I will take a few days learning asyncio/tornado... and hopefully I could make a pull request

not needed


Timeout in setting FGS params

We had an issue where Hyperion hit the 10 minute timeout that GDA is expecting from it. The logs showed:

From looking at the code this seems to be that we correctly set the FGS params (as confirmed by the epics log) but we did not get to waiting for them to be valid. This implies that we're stuck waiting for the put callback.

Split the parameter set into individual sets, waiting on logs to see which one might have caused the failure

Caused by https://github.com/DiamondLightSource/hyperion/issues/895 so closing this in favour of that.


Add download data for August 2021

Downloads are up 9.9% from July, to 7,900,883. The Typelevel organization was up 11.7% to 14,796,429.
Scala 3 adoption seems to be moving very slowly. For example, cats-core was downloaded 19,838 times for Scala 3 in August, which was 1.2% of all cats-core downloads. The story for Circe is even worse, with 10,130 circe-core downloads for Scala 3, which is well under 1% (0.86%).
Scala 2.13 alone had over 28 times as many circe-core downloads as Scala 3 in August, and 2.13 is still far behind 2.12 (released in November 2016) and 2.11 (April 2014).

Codecov Report

Merging #1828 (7cde084) into master (7befdfc) will increase coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1828      +/-   ##
==========================================
+ Coverage   85.98%   86.10%   +0.11%
==========================================
  Files          73       73
  Lines        2526     2526
  Branches      135      135
==========================================
+ Hits         2172     2175       +3
+ Misses        354      351       -3

Impacted Files
Coverage Δ

.../core/shared/src/main/scala/io/circe/Decoder.scala
83.63% <0.00%> (+0.25%)
:arrow_up:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
88.30% <0.00%> (+1.16%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7befdfc...7cde084. Read the comment docs.


Fixes OverviewBoard's update bug + Refactored OverviewBoard

Update member-dashboard when delete user
Updated email-check when user want to change their email
Allow search for first, name, and email
Added search parameter for different membership-status

New search options and input box

Search options

On click update the entire board:

I wrote my component already.
After looking at your components. My used the same technique I also have queryType and queryOption
Furthermore for improvement: this function allows you to search for either First Name, Last Name, or Email without having to specify it on the drop-down. In another word, in the same input you can enter any of the First Name, Last Name, or Email and they user can still be found.
The sole-purpose of the drop down is to filter for Membership Types

the input work normally with any of the First Name, Last Name, or Email
So yeah, they are essentially the same component that you recommended me awhile back and now.


[Proposal] Option to create a default fallback route for SPA (pre-filled depending of build preset)

Is your feature request related to a problem? Please describe.
When creating and deploying a new app using any modern JS Framework like Angular, Vue, React, etc if you don't create a routing configuration with a fallback route, you're getting a 404 error whenever the browser is refreshed.
Creating this file is not too difficult, but may be prone to errors (see for example https://github.com/Azure/static-web-apps/issues/438), and having a default created for you may help newcomers avoiding issues and streamline the experience.
Describe the solution you'd like
Since there's already the possibility to choose build presets for popular frameworks, you may include an option to generate a default config with a fallback route if no config file is detected, or if a config file exists without a fallback route? The fallback path could be overridable like the source code path, api path, etc.
Describe alternatives you've considered
Other possible option, but less straightforward / user-friendly:

Add a SWA CLI command to generate the default config file: swa init --config
The VS Code extension could also generate this file, but it would be better to keep the extension having the same behavior as portal (ie both have this option or none)

This is a good suggestion and @johnpapa has mentioned it in the past as well.
Sounds like you're looking for something like this in the UX:

For framework presets where fallback is recommended, we could default the setting to enabled. It would generate a config file with fallback route in app_location.
And there would be an equivalent option when creating the app in AZ CLI and ARM.
Need to figure out what to do if the file already exists. It's tricky because there could be a file in a subfolder and generating a new one at the root of app_location would hide it.
There could also be a file there that doesn't have a fallback route. Should one be added to the existing file?

Need to figure out what to do if the file already exists. It's tricky because there could be a file in a subfolder and generating a new one at the root of app_location would hide it.

I think the safe approach here would be to glob search for **/staticwebapp.json. Since this search is only performed once anyways, it's better to wait a bit rather than creating a duplicate at the root.

There could also be a file there that doesn't have a fallback route. Should one be added to the existing file?

My take is that we can see this from 2 angles:

If there's already a config file already, that probably means that the user knows a bit about SWA and its routing config. If he used a template, we could also argue that it's the template job to provide a proper working config. Then you can simply do nothing and issue a warning that a config already exists, and do not attempt to change it.

There might be config file, but the user deploying the app might not be the one who created it and have no specific prior knowledge of SWA. Since the goal of adding this navigation fallback is to streamline the SWA experience and prevent the "papercuts", then it would be a good idea to check if has a fallback route already, and if not add one.

Both angles aren't compatible, and my developer experience tells me that it's always better to start with the simpler solution (that would be 1), put some tracking stats to see how many deployed repos have an existing config and among them, how many are failing their 1st deployment. And then look at the numbers and decide whether it's worth it to go with 2 or not.


Support for Mongodb database

Summary of problem or feature request
Type mismatch when extending  QueryDataTable

Type  Illuminate\Contracts\Database\Query\Builder to MongoDB\Laravel\Query\Builder
Code snippet of problem
public function __construct(protected QueryBuilder $query)
{

System details

Operating System
PHP 8.3
Laravel 11
Laravel-Datatables Version

Unfortunately, this is still not yet supported. I don't have a use case for MongoDB and can't find time to work on this. Feel free to submit a PR. Thanks!


Is there a way to add a buffer to the concave?

Hello Lovely People,
As seen in my amazing drawing below, does anyone have an idea of how I can achieve something like it?

I don't think that it's possible to achieve better performance than doing "buffer" operation after the concave hull so you can simply use some other library to calculate "buffer":
https://shapely.readthedocs.io/en/stable/manual.html#object.buffer

Yep.


Tutorial Request: <FwDET 2.1 Flood Water Depth Estimations Tool>

Desscussion
Technical Level
beginner | intermediate | advanced
Length
short (< 250 words) | medium (250-500 words) | long (1000 words )

Hi @zeenatyasmeen, this form is intended for expressing your interest in_writing a new tutorial. For general questions or requests, please consider posting to https://stackoverflow.com/questions/tagged/google-earth-engine or https://groups.google.com/g/google-earth-engine-developers. Thanks!


Feat:Add sticky Navbar

Describe the feature
adding sticky navbar in all pages for better navigation
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@parikhitritgithub Go ahead, but send a demo video while creating the PR. Add a navbar with a color similar to the background.

Don't forget to join our official Discord server so we can discuss more about HelpOps-Hub enhancement.
And also follow us on Linkedin
And please ⭐ our repo


Implement Multi-Object delete?

Are there any plans to implement this feature?

Sure, it'd be nice to have it. Any volunteers? ;-)
If there are no volunteers, I'll try to implement that in the next few weeks.

It seems like easy to implement. Parsing the response might be a bit tricky, but maybe we can just leave the response without parsing.

@qoobaa hi. Is that features available now?

@haanhduclinh no, it's not implemented. The repository isn't actively maintained anymore.


Reformat

This PR contains #119, the results of running that script and fixes the minor mypy hiccups that were caused by that. (mainly these were due to the fact that various type: ignore comments ended up on the wrong line.) IOW, this PR contains no functional changes.
after this is merged, we can run the reformat script as part of the CI pipeline and make the CI fail if the reformat script results in any changes.
Andreas Lauser<EMAIL_ADDRESS>on behalf of MBition GmbH.
Provider Information

@kayoub5: I'd like your opinion on that matter: Do you agree with the style enforced by black and should we run the reformatter as part of the CI pipeline?

@kayoub5: I'd like your opinion on that matter: Do you agree with the style enforced by black and should we run the reformatter as part of the CI pipeline?

Does not really matter what style to use as long as I can integrate it in my IDE
I worked in projects that fail the CI before even running the tests if the code format check fails
Yes, you want this enforced format in CI to avoid merge conflict/diff caused by auto formatting

Does not really matter what style to use as long as I can integrate it in my IDE

I agree: I also do not care too much about the coding style which people use. That said, I consider enforcing consistency to be somewhat important: If a contributor's IDE decides to automatically "fix" the style of the files which are modified, reviewing the actual changes becomes pretty challenging and the PR becomes very prone to merge conflicts which in turn tend to demotivate contributors (example: #97)

I worked in projects that fail the CI before even running the tests if the code format check fails

I think we shouldn't be that strict. IMO we should let the tests run in the CI besides the formatter and let the run fail if either fails of these. This should reduce the number of necessary round trips...

Yes, you want this enforced format in CI to avoid merge conflict/diff caused by auto formatting

+1

just a heads-up: If nothing happens, I'll merge this tomorrow...

Two more issues to consider before merging:

yapf and isort influence each other since they define different styles
isort is not properly configured to be supported by the IDE

Currently, the only deterministic way to achieve the desired style is to run the shell script. This is not feasible, if only a single file is touched. The commands defined in the shells script runs over a minute on my Windows machine.

okay. it turns out that there were some issues with IDEs due to the fact that isort changes the formatting of some imports slightly compared to YAPF. We thus decided that isort will not be included in the CI pipeline (but be still part  of the reformatting script) and that the import statement indentation style of yapf is the cannonical. (i.e., isort is run before  yapf in the reformatting script)

Let's get over this!


[usecase] Add more waiting time for feature steps

Impacted tests(approved): new 0, update 2, delete 0
Unit test platform: Crosswalk Project for Android 15.44.365.0
Unit test result summary: pass 2, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-4445

LGTM


Creating properties works but returns error nonetheless

POST http://localhost:8080/weaviate/v1/schema/things/Animals/properties/ with body { cardinality: "atMostOne", dataType: ["boolean"], description: "", keywords: [], name: "name" } returns [{message: "Name 'name' already in use as a property name for class 'Animals'"}] with status code 422 Unprocessable Entity.
The property name is actually created but I would expect the response to return no errors.
Please keep in mind that an OPTIONS call is being made by the browser prior to doing the post.

@dljcollette The class Animals was previously created without any properties?

Yes indeed

The same happens when performing a PUT, which returns no such prop with name 'name' found in class 'Animals' in the schema. Check your schema files for which properties in this class are available

@dljcollette

when performing a PUT

Could you list the whole path? From The error message I assume this would be a PUT on /things/Animals, but from the context it would make more sense if this was a put on /schema/things/Animals/properties/name?

PUT http://localhost:8080/weaviate/v1/schema/things/Animals/properties/name returns { error: [ message: "no such prop with name 'name' found in class 'Animals' in the schema. Check your schema files for which properties in this class are available" ] } with status code 422 Unprocessable Entity

Unfortunately with an empty db, I can't reproduce it, there it works fine:
$ curl -H "Content-Type: application/json" -X POST http://localhost:8080/weaviate/v1/schema/things/Animal/properties/ -d '{ "cardinality": "atMostOne", "dataType": ["boolean"], "description": "", "keywords": [], "name": "name" }'
{"cardinality":"atMostOne","dataType":["boolean"],"name":"name"}

My assumption would be that it is somehow tied to the other classes in the schema. Do you also run into this error when you try the same steps on an empty weaviate?

When I perform it in curl it also works for me. So the only difference I could notice between curl and the browser is the OPTIONS request being made by the browser.

ok, I'll try to reproduce it from the playground instead to see if that changes anything :)

I just tried it through the Playground but - with an otherwise empty db - it also worked fine. So my only other lead would be that it depends on the other classes in the schema.
Could you attach the output of GET /weaviate/v1/schema for the configuration in which the error occurs in this issue? Maybe I can reproduce it if I import the exact same classes you have. Thanks.

I've used the generator for classes, things, actions and links for Weaviate:
{"actions":{"classes":[{"class":"Gururaja","description":"No description on this auto-generated thing","properties":[{"dataType":["boolean"],"description":"No property description, either ;-)","name":"budong"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"moinak"},{"dataType":["string"],"description":"No property description, either ;-)","name":"irdc"},{"dataType":["int"],"description":"No property description, either ;-)","name":"blankenheim"}]},{"class":"Pleter","description":"No description on this auto-generated thing","properties":[{"dataType":["boolean"],"description":"No property description, either ;-)","name":"tpoint"},{"dataType":["number"],"description":"No property description, either ;-)","name":"howry"},{"dataType":["date"],"description":"No property description, either ;-)","name":"ardussi"},{"dataType":["date"],"description":"No property description, either ;-)","name":"simpang"},{"dataType":["date"],"description":"No property description, either ;-)","name":"arlette"},{"dataType":["Jandelsbrunn"],"description":"A reference to the class 'Jandelsbrunn'.","name":"inJandelsbrunn"}]},{"class":"Degarde","description":"No description on this auto-generated thing","properties":[{"dataType":["date"],"description":"No property description, either ;-)","name":"stenderup"},{"dataType":["string"],"description":"No property description, either ;-)","name":"hinuber"},{"dataType":["string"],"description":"No property description, either ;-)","name":"tz"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"lawell"},{"dataType":["Ntai"],"description":"A reference to the class 'Ntai'.","name":"inNtai"},{"dataType":["Yashuko"],"description":"A reference to the class 'Yashuko'.","name":"inYashuko"}]},{"class":"Jandelsbrunn","description":"No description on this auto-generated thing","properties":[{"dataType":["number"],"description":"No property description, either ;-)","name":"daesang"},{"dataType":["string"],"description":"No property description, either ;-)","name":"patission"},{"dataType":["Pleter"],"description":"A reference to the class 'Pleter'.","name":"inPleter"}]},{"class":"Ntai","description":"No description on this auto-generated thing","properties":[{"dataType":["number"],"description":"No property description, either ;-)","name":"ghasa"},{"dataType":["Degarde"],"description":"A reference to the class 'Degarde'.","name":"inDegarde"}]},{"class":"Antimelatoma","description":"No description on this auto-generated thing","properties":[{"dataType":["int"],"description":"No property description, either ;-)","name":"ujung"},{"dataType":["number"],"description":"No property description, either ;-)","name":"varadaraj"},{"dataType":["number"],"description":"No property description, either ;-)","name":"aravantinos"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"kulipirai"},{"dataType":["int"],"description":"No property description, either ;-)","name":"chrostkowo"},{"dataType":["int"],"description":"No property description, either ;-)","name":"satyapramoda"},{"dataType":["string"],"description":"No property description, either ;-)","name":"abdurrachman"},{"dataType":["Ntai"],"description":"A reference to the class 'Ntai'.","name":"inNtai"},{"dataType":["Jandelsbrunn"],"description":"A reference to the class 'Jandelsbrunn'.","name":"inJandelsbrunn"}]},{"class":"Minkend","description":"No description on this auto-generated thing","properties":[{"dataType":["string"],"description":"No property description, either ;-)","name":"gbd"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"reddit"},{"dataType":["number"],"description":"No property description, either ;-)","name":"venkaji"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"heropanti"},{"dataType":["Gururaja"],"description":"A reference to the class 'Gururaja'.","name":"inGururaja"}]},{"class":"Yashuko","description":"No description on this auto-generated thing","properties":[{"dataType":["int"],"description":"No property description, either ;-)","name":"isni"},{"dataType":["string"],"description":"No property description, either ;-)","name":"mufon"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"italtel"},{"dataType":["date"],"description":"No property description, either ;-)","name":"bcpst"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"sheritt"},{"dataType":["int"],"description":"No property description, either ;-)","name":"talkartoons"},{"dataType":["int"],"description":"No property description, either ;-)","name":"chochol"},{"dataType":["Minkend"],"description":"A reference to the class 'Minkend'.","name":"inMinkend"},{"dataType":["Telecomunicacions"],"description":"A reference to the class 'Telecomunicacions'.","name":"inTelecomunicacions"},{"dataType":["Antimelatoma"],"description":"A reference to the class 'Antimelatoma'.","name":"inAntimelatoma"}]},{"class":"Telecomunicacions","description":"No description on this auto-generated thing","properties":[{"dataType":["number"],"description":"No property description, either ;-)","name":"lepidopterous"},{"dataType":["number"],"description":"No property description, either ;-)","name":"hiwing"},{"dataType":["number"],"description":"No property description, either ;-)","name":"butzer"},{"dataType":["Minkend"],"description":"A reference to the class 'Minkend'.","name":"inMinkend"},{"dataType":["Jandelsbrunn"],"description":"A reference to the class 'Jandelsbrunn'.","name":"inJandelsbrunn"}]}],"type":"action"},"things":{"classes":[{"class":"Marinos","description":"No description on this auto-generated thing","properties":[{"dataType":["boolean"],"description":"No property description, either ;-)","name":"bracy"},{"dataType":["date"],"description":"No property description, either ;-)","name":"einion"}]},{"class":"Feith","description":"No description on this auto-generated thing","properties":[{"dataType":["string"],"description":"No property description, either ;-)","name":"vendemmia"}]},{"class":"Eastmond","description":"No description on this auto-generated thing","properties":[{"dataType":["boolean"],"description":"No property description, either ;-)","name":"sahamiyeh"},{"dataType":["Barao"],"description":"A reference to the class 'Barao'.","name":"inBarao"},{"dataType":["Hidehira"],"description":"A reference to the class 'Hidehira'.","name":"inHidehira"}]},{"class":"Ispi","description":"No description on this auto-generated thing","properties":[{"dataType":["number"],"description":"No property description, either ;-)","name":"dellamorte"},{"dataType":["Eastmond"],"description":"A reference to the class 'Eastmond'.","name":"inEastmond"}]},{"class":"Farmans","description":"No description on this auto-generated thing","properties":[{"dataType":["date"],"description":"No property description, either ;-)","name":"morstein"},{"dataType":["int"],"description":"No property description, either ;-)","name":"scheibenschlagen"},{"dataType":["int"],"description":"No property description, either ;-)","name":"pccf"},{"dataType":["number"],"description":"No property description, either ;-)","name":"metcall"},{"dataType":["int"],"description":"No property description, either ;-)","name":"manunulat"},{"dataType":["number"],"description":"No property description, either ;-)","name":"watino"},{"dataType":["Feith"],"description":"A reference to the class 'Feith'.","name":"inFeith"},{"dataType":["Eastmond"],"description":"A reference to the class 'Eastmond'.","name":"inEastmond"},{"dataType":["Ansnes"],"description":"A reference to the class 'Ansnes'.","name":"inAnsnes"},{"dataType":["Hidehira"],"description":"A reference to the class 'Hidehira'.","name":"inHidehira"}]},{"class":"Dialium","description":"No description on this auto-generated thing","properties":[{"dataType":["string"],"description":"No property description, either ;-)","name":"peisistratean"},{"dataType":["number"],"description":"No property description, either ;-)","name":"verbow"},{"dataType":["string"],"description":"No property description, either ;-)","name":"colorizing"},{"dataType":["number"],"description":"No property description, either ;-)","name":"mondrian"},{"dataType":["string"],"description":"No property description, either ;-)","name":"kokatnur"},{"dataType":["Ansnes"],"description":"A reference to the class 'Ansnes'.","name":"inAnsnes"},{"dataType":["Hidehira"],"description":"A reference to the class 'Hidehira'.","name":"inHidehira"}]},{"class":"Ansnes","description":"No description on this auto-generated thing","properties":[{"dataType":["boolean"],"description":"No property description, either ;-)","name":"chumsai"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"garcelle"},{"dataType":["string"],"description":"No property description, either ;-)","name":"stenciled"},{"dataType":["string"],"description":"No property description, either ;-)","name":"thrinacia"},{"dataType":["int"],"description":"No property description, either ;-)","name":"karapatan"},{"dataType":["number"],"description":"No property description, either ;-)","name":"ogygia"},{"dataType":["Dialium"],"description":"A reference to the class 'Dialium'.","name":"inDialium"},{"dataType":["Barao"],"description":"A reference to the class 'Barao'.","name":"inBarao"},{"dataType":["Marinos"],"description":"A reference to the class 'Marinos'.","name":"inMarinos"}]},{"class":"Hidehira","description":"No description on this auto-generated thing","properties":[{"dataType":["int"],"description":"No property description, either ;-)","name":"bitsbox"},{"dataType":["int"],"description":"No property description, either ;-)","name":"limousine"},{"dataType":["int"],"description":"No property description, either ;-)","name":"wuzzlewood"},{"dataType":["boolean"],"description":"No property description, either ;-)","name":"loreta"}]},{"class":"Barao","description":"No description on this auto-generated thing","properties":[{"dataType":["Marinos"],"description":"A reference to the class 'Marinos'.","name":"inMarinos"},{"dataType":["date"],"description":"No property description, either ;-)","name":"tumsa"},{"dataType":["Ispi"],"description":"A reference to the class 'Ispi'.","name":"inIspi"},{"dataType":["date"],"description":"No property description, either ;-)","name":"conasauga"}]},{"class":"Peter","properties":null},{"class":"Companie","description":"This is a company description","keywords":[{"keyword":"shops","weight":1}],"properties":[{"cardinality":"atMostOne","dataType":["string"],"description":"This is a company name","name":"name"},{"cardinality":"atMostOne","dataType":["string"],"name":"shops"},{"cardinality":"atMostOne","dataType":["string"],"name":"what"}]},{"class":"Animals","description":"This is an animal description","keywords":[{"keyword":"shops","weight":1}],"properties":[{"cardinality":"atMostOne","dataType":["string"],"name":"name"},{"cardinality":"atMostOne","dataType":["boolean"],"name":"isMamal"},{"cardinality":"atMostOne","dataType":["string"],"name":"test"},{"cardinality":"atMostOne","dataType":["boolean"],"name":"legs"},{"cardinality":"atMostOne","dataType":["boolean"],"name":"noses"},{"cardinality":"atMostOne","dataType":["boolean"],"name":"dugs"},{"cardinality":"atMostOne","dataType":["boolean"],"name":"hair"}]},{"class":"Fruits","description":"This is a description for fruit","keywords":[{"keyword":"shops","weight":1}],"properties":[{"cardinality":"atMostOne","dataType":["string"],"name":"name"}]}],"type":"thing"}}

Which version of Weaviate are you using?

I've --force-recreateed the Docker instance and the issue seems to be gone.

I think the learning here is that, there is a chance that we can get into a situation where a property is only partially created. What caused that situation is almost impossible to identify, but based on the code I can at least see the reason: The partial split between modiying the schema in the actual db backend and in our own representation of the schema.
While we cannot make these two changes atomic. What we could do is roll-back all changes if one of the changes is not successful. I'll create an issue to do so.

Closing in favor of #846


Pytorch refactor

Refactor pytorch code to improve efficiency, reduce verbosity, and better match conventional styles.

[ ] create a new module FullyCNN.py or similar to house model, and perform updates in this.
[ ] refactor models1.py (and associated code in models/*)
[ ] Note of any dead files or code to be removed later at merge

Cannot close until:

[ ] Check for conflicts with #17 after merged
[ ] Passes tests developed in #6

Fixes #19

Initial work merged in #39 . Remaining bits tracked in #43 . Closing.


Requiring git commit breaks

Component:

LSP (used with other editor)

LSP version: 0.10.0

OS version and name: Void Linux

I am on the latest stable version of the extension/LSP.

I have searched the issues of this repo and believe that this is not a duplicate.

Issue
The latest build includes the git commit-hash as part of the version. This breaks building from release tarballs.
Logs
error: failed to run custom build command for `typst-lsp v0.10.0 (/builddir/typst-lsp-0.10.0)`

Caused by:
  process didn't exit successfully: `/builddir/typst-lsp-0.10.0/target/release/build/typst-lsp-b514d2c952a71ab3/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "command 'git rev-parse HEAD' failed: exit=128 stdout='' stderr='fatal: not a git repository (or any of the parent directories): .git\\n'"', build.rs:81:45
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Should be fixed by https://github.com/nvarner/typst-lsp/pull/303

Fixed in v0.10.1 / 82cfb64.


Using Object::notNull in lambda expressions

[X] Have you followed the guidelines in our Contributing document?
[ ] Have you created a JIRA and used it in the commit message?
[X] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[X] Have you built the project locally prior to submission with mvn clean install?

why no JIRA?

Because it is too trivial. It was part of my investigation on https://issues.jboss.org/browse/SWARM-847 but does not fix it.

Why is it too trivial?
There's clearly a problem with nulls being passed

Nulls are already handled in the original code. This is just to use Objects::nonNull instead of e->e!=null

Then why make the change?
To me this is refactoring for no real purpose.
If we want to go through the entire code based to do this kind of refactoring then its something we should discuss. I'd prefer we don't do it piecemeal

Closing this as it's not related to a fix, or JIRA, and if we're going to look at "cleaning up" the code base we should do it on a larger scale than just a single class


[Feature Request] is show-overflow-tooltip can set the mouse move in hover and

Existing Component
是
Component Name
el-table
Description
is show-overflow-tooltip can set the mouse move in hover and multiline display
是否支持鼠标移入时悬停和多行显示

Sorry, we have no plan to support this.


Issue20 countyfips helper

#20
Check if the county fips identifier is in the format we need (five digits in a character form). The first two digits are state codes. The next three are county codes. If not, we want to build the county fips identifier that combines state code and county code.
Input: county_fips | constructor pieces (state id and county id)
Output: character vector named "cfips" with values all of length 5
arguments: cfips=NULL, state=NULL, county=NULL
location: "scripts/utility_functions"

The main thing to add here are some checks. What happens if all three arguments are null? How will someone know if something didn't work right? Maybe just a check for "if all null, fail"

We should strive to follow the principle of "fail early, and often, and loudly"


Reconcile OSName in source-build with repo usage

An issue with 5.0 building on OSX turned out to be that we were setting OSName incorrectly in the installer build. I think the issue may exist in 3.1 as well.  OSName is checked in some of the repos as "$(OSName)" == "osx" but we're setting it to something like osx.10.14 in this code: https://github.com/dotnet/source-build/blob/05e2a037c5bfcfc718ff2b76494a91bbe24eac68/repos/cli.proj#L5-L7  That same code was in installer.proj in 5.0 (copied over).  This was causing the check to fail in the installer repo and it was setting CreateCrossgenSymbols to true here: https://github.com/dotnet/installer/blob/efcb9c319c41105e769afcafbd6c8860f7411f25/src/redist/targets/Crossgen.targets#L107-L109
The fix in 5.0 was to update this line: https://github.com/dotnet/source-build/blob/05e2a037c5bfcfc718ff2b76494a91bbe24eac68/repos/cli.proj#L7 to the following:
<OSNameOverride>$(OverrideTargetRid.Substring(0, $(OverrideTargetRid.IndexOf("-"))))</OSNameOverride>

[Triage] This code has been refactored some since it was originally opened.  The OSX issue is N/A until https://github.com/dotnet/source-build/issues/3034 is implemented in .NET 8.


Fortus 380

Good morning all
Was anyone able to read out a Fortus 380 chip? I suppose the machine key is "ktype"

Afaik, the machine type is fox2.

HP33 did you manage to read and write the Fortus 380 chip? I have the same machine and no luck yet


Support for Pinia Vue Store

Description
Add support for Pinia like there already is for vuex
Motivation
Pinia is officially recomended by Vue core team

Would you be interested in contributing a PR for a Pinia schematic? It should be very similar to the current vuex schematic in terms of implementation. I've been using Pinia and it would be a great feature to add.

I would love to, but I have 3 kids and don't have time for anything anymore
😑
Btw, you are doing a great job with nx-plus!
On Fri, Apr 1, 2022, 00:49 Zachary Williams @.***>
wrote:

Would you be interested in contributing a PR for a Pinia schematic? It
should be very similar to the current vuex schematic in terms of
implementation. I've been using Pinia and it would be a great feature to
add.
—
Reply to this email directly, view it on GitHub
https://github.com/ZachJW34/nx-plus/issues/230#issuecomment-1085205957,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJJ2AOM6LWEAEZ6DU57Y63VCYTWDANCNFSM5SEJ5Q4A
.
You are receiving this because you authored the thread.Message ID:
@.***>

@ZachJW34  I am new to nx and trying to understand it. If I wanted to use pinia in my app, I could without nx-plus supporting it right? This issue is just talking about having an nx-plus command to add pinia for us right? But i could do it the normal way in each app otherwise?

Yes you should be able to install it normally and follow the docs for getting it setup.


Update composer docs translations

We also need to move any existing translation files over when switching to Composer - these were missed from the original docs.

@all-contributors please add @jonathandhn for userTesting


Just to clarify, does this mean disk space can be reclaimed unlike lmdb / boltdb?

Does it mean the size can be reclaimed?
4. Automatic continuous zero-overhead database compactification.
During each commit libmdbx merges suitable freeing pages into unallocated area at the end of file, and then truncates unused space when a lot enough of.

is the min compaction threshold value is the minimum libmdbx will compact?

See mdbx_env_set_geometry(), the size_lower parameter.
Internally, there is no such threshold, since automatic compactification is always useful.
I.e autocompaction is always performed (unless MDBX_ENABLE_REFUND=0 is defined during build libmdbx), but the database file will not be truncated below the size_lower value.


[dv/chip] Update chip-level testplan

This PR updates chip-level testplan regarding the LPG.
In LPG, we should check both deep and light sleep modes.
Thanks @tjaychen for pointing it out.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

Can you add another clause like
multiple round of sleep mode random between deep sleep and normal sleep.

Can you add another clause like multiple round of sleep mode random between deep sleep and normal sleep.

Done! Thanks Jaedon~


Identify common (sample) metadata values, and replace them with unique integers

@kwcantrell brought this up in this morning's meeting.  Then, when looking up sample metadata info in the BIOM table or something, numeric values would be replaced with their original string value. (This'd work because all metadata is stored as strings in Empress right now.)
An example of what this might look like, by just replacing ten nonunique values I arbitrarily picked:
{"gut": 0, "left palm": 1, "right palm": 2, "tongue": 3, "2008.0": 4, "2009.0": 5, "subject-1": 6, "subject-2": 7, "No": 8, "Yes": 9},
["barcode-sequence", "body-site", "year", "month", "day", "subject", "reported-antibiotic-usage", "days-since-experiment-start"],
[["AGTGCGATGCGT", 0, 5, "3.0", "17.0", 6, 8, "140.0"],
 ["ATGGCAGCTCTA", 0, 4, "10.0", "28.0", 7, 9, "0.0"],
 ["CTGAGATACGCG", 0, 5, "1.0", "20.0", 7, 8, "84.0"],
 ["CCGACTGAGATG", 0, 5, "3.0", "17.0", 7, 8, "140.0"],
 ["CCTCTCGTGATC", 0, 5, "4.0", "14.0", 7, 8, "168.0"],
 ["ACACACTATGGC", 0, 5, "1.0", "20.0", 6, 8, "84.0"],
 ["ACTACGTGTGGT", 0, 5, "2.0", "17.0", 6, 8, "112.0"],
 ["AGCTGACTAGTC", 0, 4, "10.0", "28.0", 6, 9, "0.0"],
 ["ACGATGCGACCA", 1, 5, "1.0", "20.0", 6, 8, "84.0"],
 ["AGCTATCCACGA", 1, 5, "2.0", "17.0", 6, 8, "112.0"],
 ["ATGCAGCTCAGT", 1, 5, "3.0", "17.0", 6, 8, "140.0"],
 ["CACGTGACATGT", 1, 5, "4.0", "14.0", 6, 8, "168.0"],
 ["CATATCGCAGTT", 1, 4, "10.0", "28.0", 7, 9, "0.0"],
 ["CGTGCATTATCA", 1, 5, "1.0", "20.0", 7, 8, "84.0"],
 ["CTAACGCAGTCA", 1, 5, "3.0", "17.0", 7, 8, "140.0"],
 ["CTCAATGACTCA", 1, 5, "4.0", "14.0", 7, 8, "168.0"],
 ["ACAGTTGCGCGA", 2, 4, "10.0", "28.0", 6, 9, "0.0"],
 ["CACGACAGGCTA", 2, 5, "1.0", "20.0", 6, 8, "84.0"],
 ["AGTGTCACGGTG", 2, 5, "2.0", "17.0", 6, 8, "112.0"],
 ["CAAGTGAGAGAG", 2, 5, "3.0", "17.0", 6, 8, "140.0"],
 ["CATCGTATCAAC", 2, 5, "4.0", "14.0", 6, 8, "168.0"],
 ["ATCGATCTGTGG", 2, 4, "10.0", "28.0", 7, 9, "0.0"],
 ["GCGTTACACACA", 2, 5, "3.0", "17.0", 7, 8, "140.0"],
 ["GAACTGTATCTC", 2, 5, "4.0", "14.0", 7, 8, "168.0"],
 ["CTCGTGGAGTAG", 2, 5, "1.0", "20.0", 7, 8, "84.0"],
 ["CAGTGTCAGGAC", 3, 4, "10.0", "28.0", 6, 9, "0.0"],
 ["ATCTTAGACTGC", 3, 5, "1.0", "20.0", 6, 8, "84.0"],
 ["CAGACATTGCGT", 3, 5, "2.0", "17.0", 6, 8, "112.0"],
 ["CGATGCACCAGA", 3, 5, "3.0", "17.0", 6, 8, "140.0"],
 ["CTAGAGACTCTT", 3, 5, "4.0", "14.0", 6, 8, "168.0"],
 ["CTGGACTCATAG", 3, 4, "10.0", "28.0", 7, 9, "0.0"],
 ["GAGGCTCATCAT", 3, 5, "1.0", "20.0", 7, 8, "84.0"],
 ["GATACGTCCTGA", 3, 5, "3.0", "17.0", 7, 8, "140.0"],
 ["GATTAGCACTCT", 3, 5, "4.0", "14.0", 7, 8, "168.0"]]

The metadata looks a lot smaller (and I haven't even replaced nonunique stuff in the month/day/etc. fields). For massive datasets with lots of metadata (e.g. the EMP) this could be really useful.

It might be better to reverse
{"gut": 0, "left palm": 1, "right palm": 2, "tongue": 3, "2008.0": 4, "2009.0": 5, "subject-1": 6, "subject-2": 7, "No": 8, "Yes": 9}
and make it
{0: "gut", 1: "left palm",  2: "right palm", 3: "tongue", 4: "2008.0", 5: "2009.0", 6: "subject-1", 7: "subject-2", 8: "No", 9: "Yes"}
So converting from the number to value would be easier.

Agreed that this'll help a lot. I think we could go even a bit further and just store the encodings in an array, similar to how we handled treeData:
["gut", "left palm", "right palm", "tongue", "2008.0", "2009.0", "subject-1", "subject-2", "No", "yes"]
... which can be accessed the same way (0 -> "gut", etc.) As an added bonus, if we set the encodings so that the first element is the most common value, the second is the next most common value, etc., then it'll be really easy to interpret this line in the HTML and say "what strings are most common throughout this metadata?".

Also, do you think it would be worthwhile to have some condition such as if > 20% of values in a metadata field share a value then encode the field using the above suggested method? The reason being, for example, the majority (or all?) features have a unique barcode-sequence in the above example so encoding them will add additional memory since we will still need to store all the sequence + add an additional number to represent all the sequence.

This is a good question - there's probably a fancy way of determining if it's "worth" encoding a given value or not (probably involves looking at the value's length, and how many times it occurs, versus the added memory / space to encode it). As a first pass, though, I think it makes sense to just encode all values that occur, say, more than once (or maybe more than twice).

in a metadata field

I'm not confident about this, but I think it makes sense to allow "duplicates" across metadata fields. A reason being that if, say, a metadata file has like 5 different Year fields, then it makes sense to lump those all together.
I think this is going to be pretty useful :)

I'm not confident about this, but I think it makes sense to allow "duplicates" across metadata fields. A reason being that if, say, a metadata file has like 5 different Year fields, then it makes sense to lump those all together.

That's a good point. It would make a lot more sense to encode, for example, "gut" the same across all metadata fields.

The more general solution to this issue would be to support data compression
in Python and JS. For example the JSON string representing the mapping file is
Zipped and the byte stream is encoded in base64 for JavaScript to read,
decompress, and load from JSON. Seems like there's a JS library for handling
zipped data:
https://gildas-lormeau.github.io/zip.js/core-api.html
Zipping the EMP mapping file we've been using for testing makes the data go
from 27MB to 2.3 MB.
On (Aug-18-20|18:48), kwcantrell wrote:

I'm not confident about this, but I think it makes sense to allow "duplicates" across metadata fields. A reason being that if, say, a metadata file has like 5 different Year fields, then it makes sense to lump those all together.

That's a good point. It would make a lot more sense to encode, for example, "gut" the same across all metadata fields.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://urldefense.com/v3/__https://github.com/biocore/empress/issues/337*issuecomment-675804585__;Iw!!Mih3wA!U27M2dkxBdKogVlIdwweJYajX59SuIEaxaPO1OFjtLjJY3RK6aFL5HXrIPvaEiY$

@ElDeveloper that is probably the better solution because we wouldn't have to refactoring the js. All we would need to to do is implement the compression/decompression.

I took a bit of time and put together an early version of the python compression code for this. Here's what the code produces on the moving pictures sample metadata, with every non-unique value compressed (compare with the stuff above on the same dataset):
["barcode-sequence", "body-site", "year", "month", "day", "subject", "reported-antibiotic-usage",
 "days-since-experiment-start"],
["2009.0", "No", "subject-1", "subject-2", "17.0", "right palm", "tongue", "gut", "3.0", "140.0",
 "1.0", "20.0", "84.0", "left palm", "2008.0", "10.0", "28.0", "Yes", "0.0", "4.0", "14.0",
 "168.0", "2.0", "112.0"],
[["AGTGCGATGCGT", 7, 0, 8, 4, 2, 1, 9],
 ["ATGGCAGCTCTA", 7, 14, 15, 16, 3, 17, 18],
 ["CTGAGATACGCG", 7, 0, 10, 11, 3, 1, 12],
 ["CCGACTGAGATG", 7, 0, 8, 4, 3, 1, 9],
 ["CCTCTCGTGATC", 7, 0, 19, 20, 3, 1, 21],
 ["ACACACTATGGC", 7, 0, 10, 11, 2, 1, 12],
 ["ACTACGTGTGGT", 7, 0, 22, 4, 2, 1, 23],
 ["AGCTGACTAGTC", 7, 14, 15, 16, 2, 17, 18],
 ["ACGATGCGACCA", 13, 0, 10, 11, 2, 1, 12],
 ["AGCTATCCACGA", 13, 0, 22, 4, 2, 1, 23],
 ["ATGCAGCTCAGT", 13, 0, 8, 4, 2, 1, 9],
 ["CACGTGACATGT", 13, 0, 19, 20, 2, 1, 21],
 ["CATATCGCAGTT", 13, 14, 15, 16, 3, 17, 18],
 ["CGTGCATTATCA", 13, 0, 10, 11, 3, 1, 12],
 ["CTAACGCAGTCA", 13, 0, 8, 4, 3, 1, 9],
 ["CTCAATGACTCA", 13, 0, 19, 20, 3, 1, 21],
 ["ACAGTTGCGCGA", 5, 14, 15, 16, 2, 17, 18],
 ["CACGACAGGCTA", 5, 0, 10, 11, 2, 1, 12],
 ["AGTGTCACGGTG", 5, 0, 22, 4, 2, 1, 23],
 ["CAAGTGAGAGAG", 5, 0, 8, 4, 2, 1, 9],
 ["CATCGTATCAAC", 5, 0, 19, 20, 2, 1, 21],
 ["ATCGATCTGTGG", 5, 14, 15, 16, 3, 17, 18],
 ["GCGTTACACACA", 5, 0, 8, 4, 3, 1, 9],
 ["GAACTGTATCTC", 5, 0, 19, 20, 3, 1, 21],
 ["CTCGTGGAGTAG", 5, 0, 10, 11, 3, 1, 12],
 ["CAGTGTCAGGAC", 6, 14, 15, 16, 2, 17, 18],
 ["ATCTTAGACTGC", 6, 0, 10, 11, 2, 1, 12],
 ["CAGACATTGCGT", 6, 0, 22, 4, 2, 1, 23],
 ["CGATGCACCAGA", 6, 0, 8, 4, 2, 1, 9],
 ["CTAGAGACTCTT", 6, 0, 19, 20, 2, 1, 21],
 ["CTGGACTCATAG", 6, 14, 15, 16, 3, 17, 18],
 ["GAGGCTCATCAT", 6, 0, 10, 11, 3, 1, 12],
 ["GATACGTCCTGA", 6, 0, 8, 4, 3, 1, 9],
 ["GATTAGCACTCT", 6, 0, 19, 20, 3, 1, 21]]

Even on this small dataset, the space saving is pretty clear -- ls -ahlt puts the sample metadata info above at 1.8K and the old sample metadata info at 2.8K. For the EMP empress.html file (without feature metadata since I don't have it), this takes it down from 119 MB to 108 MB.
I think this method may have some merit besides (or in addition to) using zip data compression; with that, as far as I can tell, we'd still need to uncompress the original data -- which would involve loading a lot of redundant strings. Here, even the uncompressed data takes up less space, since it's mostly numbers. (Also, while implementing zip.js might take some careful thinking and refactoring, fumbling my way through this solution has gone pretty quickly ...)
As @kwcantrell mentioned this approach should be applicable to feature metadata, as well (and would likely be even more useful there, since there are gonna be lots of "k__Bacteria"s and so on).


Avoid flickering tooltips on small multiples

closes #586
Prerequisites:

[x] Unless it is a hotfix it should be merged against the dev branch
[x] Branch is up-to-date with the branch to be merged with, i.e. dev
[x] Build is successful
[x] Code is cleaned up and formatted

Summary
This change uses the same debouncedHighlight that works on the Region Details page because it is also needed for the small multiples charts.  The code is moved to small multiples vegaSpec.js where it is reused for both.

I see I broke the cross-chart highlighting.... Working on it...
Also, there is a handy placement option for popper that could avoid most of the problem with the overlap.


How to list licenses from cache

After running licensed cache we had several dozen dependencies whose licenses were classified as "other." As per the recommendation here, we manually reviewed these and updated the cache files accordingly.
With each release, we want to export a Software Bill of Materials (SBOM) for our project. To do this I've been using licensed list -l -f json and piping the output to a file. Unfortunately licensed list seems to ignore the cache and returns "other" for the dependencies that we manually reviewed and corrected. Is there a way to instruct the list command to use the cached dependency files? Or an alternative way to export the dependencies and the license override specified in the cache file?
Thanks in advance.

@jprince :wave what format of data would you like for the SBOM?  Licensed already has a notices command which outputs a single file with dependency name, version, and license contents.  If there's another format you'd prefer I can certainly look into it 👍
*****
<EMAIL_ADDRESS>
Copyright (c) 2012 Brandon Keepers

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Change SWOC entry pass to SSOC entry pass

In the README.md file of the project, replace the old entry pass of SWOC with the new SSOC pass at the start of the file.

please assign me this issue

PLease assign me this issue


Extract workerd logic in mini-oxygen package

This PR moves shared logic related to workerd into @shopify/mini-oxygen. This package used to contain the Node.js sandbox logic and it was soft-deprecated. With these changes, it now contains both Node.js sandbox and workerd runtimes. Some of the benefits:

The CLI does not require installing the runtime anymore, which makes it faster to create projects globally because we are not installing 50-90mb for the runtime.
The future Vite plugin package will also depend on this runtime package instead of copying code.
If a developer wants to deploy to other platforms, they can choose not to install MiniOxygen and still use the CLI for other utilities.
Also, as a side effect, it's possible to run other apps using MiniOxygen standalone without Hydrogen CLI.

I'm seeing these [object Object] console.log's when I dev startup (not preview) the skeleton template:

Fixed 👍


Unable to unmount/detach volume after vmgroup membership change

volume stays as attached even after detaching from container
Test bed setup:

1 ESX (E1) accessing a shared datastore SD1
2 VMs (VM1 & VM2): VM1/VM2 are created on SD1 (registered at E1)

Steps to reproduce:

VM1: create volume (volume is created under _DEFAULT vmgroup)
docker volume create -d vsphere vol1
E1: verify volume is created and Admin CLI shows its entry correctly
vmdkops_admin.py volume ls
VM1/VM2: invoke docker volume ls and docker volume inspect to verify vol1 properties
VM1: attach container and leave it attached
docker run --rm -it -v vol1@sharedVmfs-0:/vol1 --name cnt_abc11 busybox
E1: verify volume is in attached state and docker volume inspect shows the same
E1: create new named vmgroup by adding VM1 ( docker_host where the container is in attached state)
E1: ADMIN CLI volume ls to make sure the volume is still in attached state
VM2: invoke docker volume inspect vol1
Make sure docker volume inspect or Admin CLI still says volume is attached to VM1
VM1: detach/exit container (remove unused containers)
VM2: invoke docker volume inspect vol1 <<< volume is still in attached state

root@photon-xVmYMbyTn [ ~ ]# docker volume inspect vol1@sharedVmfs-0
[
    {
        "Driver": "vsphere:latest",
        "Labels": null,
        "Mountpoint": "/mnt/vmdk/vol1@sharedVmfs-0",
        "Name": "vol1@sharedVmfs-0",
        "Options": {},
        "Scope": "global",
        "Status": {
            "access": "read-write",
            "attach-as": "independent_persistent",
            "attached to VM": "VM_17_SVMFS",
            "capacity": {
                "allocated": "15MB",
                "size": "100MB"
            },
            "clone-from": "None",
            "created": "Tue Apr 25 06:33:46 2017",
            "created by VM": "VM_17_SVMFS",
            "datastore": "sharedVmfs-0",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "attached"
        }
    }
]

12: E1: vmdkops_admin.py volume ls still shows it is attached state
[root@sc2-rdops-vm05-dhcp-160-17:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume  Datastore      VMGroup   Capacity  Used  Filesystem  Policy          Disk Format  Attached-to  Access      Attach-as               Created By   Created Date
------  -------------  --------  --------  ----  ----------  --------------  -----------  -----------  ----------  ----------------------  -----------  ------------------------
vol1    sharedVmfs-0   _DEFAULT  100MB     15MB  ext4        N/A             thin         VM_17_SVMFS  read-write  independent_persistent  VM_17_SVMFS  Tue Apr 25 06:33:46 2017

Expectation: step#11 and step#12 should not show vol1 as attached after detaching container
Note: vmgroup created at step#6 becomes not removable, vm1 is part of named tenant and fail to remove as shown below
vmdkops_admin.py vmgroup rm --name=T2
Cannot complete vmgroup rm. VM 'VM_17_SVMFS' has volumes mounted.

@shuklanirdesh82, can you upload the ESX and plugin logs. Plus the command output for admin CLI vmgroup ls for each vmgroup and list the volumes in each.

If a VM is in a vmgroup with and has volumes attached, then those volumes will be on datastores assigned to the vmgroup.
Hence, if a VM in a vmgroup has volumes attached to it then don't allow the VM to be migrated out of the vmgroup. Else, the VM will end up in a vmgroup with a different default datastore and which won't resolve the VMDK path in vmdk_ops.py:executeRequest(). And hence detach disk won't happen.

@govint Looking at code, detach should have succeeded.
@shuklanirdesh82 Logs please.

Once the VM is attached to the new vmgroup, the next command will use the default datastore of the new vmgroup and will try to resolve the VMDK path with that. That won't work because the VMDK is present on the datastore of the earlier vm groujp that the VM belonged to.

For detach, why do check tenant and DS info? Get VMDK info from VM config and detach. Wasn't #1045 supposed to fix this? @pshahzeb

vmdk_ops.py:executeRequest()  line 906 the path is the dockvols path on the datastore determined as - default datastore for the vmgroup or the datastore mentioned in the volume name. Then we try to get the vmdk path relative to that DS's dockvols path (line 911). The VM in this case however had a volume attached from its earlier vm group where the vmgroup default DS was VM_DS. The detach req is passing the VMDK name but that won't be resolved on the new dockvols path.
Aside from this, the doc clearly says that a VM mustn't be in a vmgroup and using volumes on a DS not assigned to the vmgroup.  In this case there is a mismatch between what was allowed (Vm was allowed to be moved to a new vmgroup with a volume atached) and what the doc is saying.

Any reason why we won't do

For detach, why do check tenant and DS info? Get VMDK info from VM config and detach

Disk is already attached and when container stops, I don't see a reason detach should fail.
I can foresee issues where 2 volumes with same name are created in 2 different datastore before and after vmgroup membership change and detach will have to figure out which volume should be detached.

@pdhamdhere

I can foresee issues where 2 volumes with same name are created in 2 different datastore before and after vmgroup membership change and detach will have to figure out which volume should be detached.

Yes, that's the reason we can't detach a VMDK from a VM based on VM config.
To prevent this, #1060 introduced checks to disallow membership change when VMs have volumes attached.
Hence in the above tests, adding VM to a new vmgroup should have failed.
Checking if VMs have any volumes attached is done in tenant rm, vm rm, replace.
But when VMs from default tenant are moved to a named tenant, we need to do this check in tenant
create and tenant vm add as well. That's the bug.

@pdhamdhere's comment https://github.com/vmware/docker-volume-vsphere/issues/1189#issuecomment-298184689

Here are the logs.
vm1_docker-volume-vsphere.txt
vm2_docker-volume-vsphere.txt
Uploading vmdk_ops.txt…

Docker won't allow two volumes to be created with the same name and if user provides the @datastore format then those are separate volumes as far as Docker is concerned. And when the ESX service gets the volume name as name@datastore we use that datastore to figure the VMDK path. Otherwise its always the default datastore of the vm group thats used to create the volume path.

@govint I have attached the logs (vmdk_ops.txt)

From the plugin and service logs, the user has used vol-name@DS format, which means the service will try to use the DS mentioned in the vol-name.

Once VM is moved to new vm group, the new group has no access rights set for the DS used earlier.
When container exited and unmount was called (as part of detach), the ESX service failed the request with an access error or the DS thats hosting the volume - sharedVmfs-0.

Plugin:
2017-05-01 02:15:04.662495101 +0000 UTC [INFO] Unmounting Volume name="vol1@sharedVmfs-0"
2017-05-01 02:15:04.796778118 +0000 UTC [ERROR] Failed to unmount error="No access privilege exists" name="vol1@sharedVmfs-0"
Service:
2017-05-01 02:15:04.662495101 +0000 UTC [INFO] Unmounting Volume name="vol1@sharedVmfs-0"
2017-05-01 02:15:04.796778118 +0000 UTC [ERROR] Failed to unmount error="No access privilege exists" name="vol1@sharedVmfs-0".
Overall, this issue won't happen if new vmgroup has access rights set for the old DS. But if thats not the case, the service code is handling the condition correctly and flagging the error.
The proposed fix still applies as the correct way where to disallow the membership of VMs to a vmgroup create if volumes attached to the VMs.

@govint I agree with your proposed fix and here is what I can think of that not allows us to directly look at vmdk config and detach vmdk.

We can have same volume names on same DS across different tenants created through different VMs. One of it may migrate from one tenant to another and try to attach another volume with same name.
Since we can't always get fully qualified volume name all the time in detach flow on service side, it is not correct to assume the DS to be default for short volume names due to possibility of membership change.
Hence the fix. I think we should also have it in tenant vm add.

I'll check, I thought this was the only place where the check was missing.

Updated diff and pushed.

Fixed via #1190.


Implement std::Error::source() for errors

ModuleGraphError and ResolutionError did not implement Error::source(), so if a user-provided Resolver or Loader returns an error, its cause chain is lost.
This PR implements source(), but it keeps the existing implementation of Display. Unfortunately, this means that when anyhow prints the cause chain of errors, it might print some error messages multiple times. For example, when we print a ModuleGraphError::LoadingErr(err), then anyhow first prints the ModuleGraphError, which displays err. anyhow then prints the source of the ModuleGraphError, which is err, so err is displayed again!
There are two possible solutions to this problem:

Change implementation of Display, so that ModuleGraphError::LoadingErr(err) displays a fixed error message ("The module could not be loaded"). The disadvantage is that if the caller does not also print the cause chain, the user will not see the actual error!
Change implementation of Error::source(), so that ModuleGraphError::LoadingErr(err) returns err.source() instead of err. This means that err will not be displayed twice, but err will no longer be present in the cause chain.

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


WebSocket app crashes

The ancm test websocket app is crashing currently for 2 reasons. One is the same reason as #1012. However, there's another more subtle issue. A crash occurs randomly right after a few consecutive messages are sent.
The only errors I am seeing in the event viewer is as followed
Application '/LM/W3SVC/2/ROOT' with physical root 'C:\_ANCMTest\DoBasicTest_lsuhp1ag.edi\AspNetCoreApp\' hit unexpected managed background thread exit, ErrorCode = '0x0. Last 4KB characters of captured stdout and stderr logs:
BEGIN Main()
BEGIN Main::Run()

Websocket server
https://github.com/aspnet/AspNetCoreModule/tree/dev/test/AspNetCoreModule.TestSites.Standard
Client
https://github.com/aspnet/AspNetCoreModule/blob/dev/test/AspNetCoreModule.TestSites.Standard/wwwroot/chatplus.html

No repro on the latest release/2.2 branch. Is there a live repro? Can we get a crashdump?

not repoing anymore


Support developer-mode instance types

Currently, attempting to launch machine-image-setup on instances that don't meet scylla's requirements would result in setup failures,
This commit adds support for developer-mode instance types. when users launch these instances, scylla will run on developer-mode, and a WARN message will be displayed in the login message to inform users about the intended usage of these instances.
Fix: #477

Example login with the warn msg

Verified with https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/next-machine-image/189
GCP e2-micro (dev instance)

GCP n1-standard-8 (non dev instance)

AWS i3.xlarge (non dev instance)

@tzach FYI


Get many Errors when compiling

hi
first please write a installation help file to help people like me who wants to compile it .
when i want to compile a project i get this error 5 times and many many warrnings.
[dcc64 Error] AccountRelated.pas(1309): E2250 There is no overloaded version of 'Synchronize' that can be called with these arguments
[dcc64 Error] AccountRelated.pas(1127): E2250 There is no overloaded version of 'Synchronize' that can be called with these arguments
and this error :
[dcc64 Error] AccountRelated.pas(215): E2010 Incompatible types: 'AnsiString' and 'Int64'
an other question
what is these  "private_key.key" and "public_key.key" files used for? and why these are missing ?
i personaly make this files in project root and in both of them i wrote a random number . is that correct or no?
so please help me compile it...

Hello, which version of Delphi did you tried? Please try with 10.3.1

hi
i use this version of RAD:
Embarcadero® Delphi 10.3 Version 26.0.32429.4364
Copyright © 2018 Embarcadero Technologies, Inc. All Rights Reserved.
and running win 7 64 bit

hi
i test it with rad 10.3.2 and win 32 compiler and i receve exact same errors
please give me some hand and help me
"To compile just select platform and press SHIFT+CTRL+F9"  realy does not work at all

I doubt the Team will be able to assist you much further. They are swamped with work on the upcoming release. You have the code, you're the dev - figure it out.

only use of this issues is for testing and results in your opinion
no questions is nececery to be  answered
it means u do not want or like to any body can compile this code
it even have a syntax error and missing files
why?
every open source program have a full help file for compiling and contributing
any way
have a good open source project!!!


which config file and model are the ones with the best score

Hi,
would you please kindly refer me to the configuration which you used to achieve the best performance output? there are several .json files in the config folder as well as several trained models.
thanks

I used all of them as a final ensemble. The best performing single model would be d92_softmax.json


Add RemoveDataValidation method

This PR adds a RemoveDataValidation to the ISheet implementations to allow the removal of a data validation rule.

LGTM