[Help] Combine external filters with column header filters

Hello,
First of all thank you for your superb work, i really like Plutogrid!
I have a question about filtering by external code, as I'm using a daterangepicker to filter my data, which as far as i know, is not possible with the column head filters - the corresponding code for my filter is down below.
The issue is, that whenever I'm using my external filter the column header filters are overwritten (obviously, since I'm setting a new one) and vice versa. That brings my to the question: Is there any way of adding this external filter to the already existing ones?
Thank you in advance!
filterByDate(startdate, enddate) {
    var correctedStartdate =
        DateTime(startdate.year, startdate.month, startdate.day);
    var correctedEnddate = DateTime(enddate.year, enddate.month, enddate.day);
    stateManager.setFilter((element) {
      var deliverydate = DateFormat("dd.MM.yyyy")
          .parse(element.cells.entries.elementAt(8).value.value);
      if ((correctedStartdate.isBefore(deliverydate) &&
              correctedEnddate.isAfter(deliverydate)) ||
          correctedStartdate.isAtSameMomentAs(deliverydate) ||
          correctedEnddate.isAtSameMomentAs(deliverydate)) {
        return true;
      } else {
        return false;
      }
    });
  }

hello.
Would you like to know how to add custom filters?
Please refer to the link below.
https://pluto.weblaze.dev/configuration#heading-user-defined-column-filters


[ROCKETMQ-39]  avoid duplicated codes.

ref issue: https://issues.apache.org/jira/browse/ROCKETMQ-39

The extracted shutdown hook misses required license header and causes check-style failure. Please fix it and double check if there are more similar code style issues.
You may refer here in terms of code style.

@wu-sheng Could you modify your PR , following our codestyle and PR guide[1] :-)
[1]http://rocketmq.incubator.apache.org/docs/code-guidelines/

@vongosling , fixed and done. Hoping style-check works well next time. 😭

It could be better if we add some unit tests for this PR and please remove the author info.

Changes Unknown when pulling 68f64b643f795b34e8a2300475ca4f5fca52f53e on wu-sheng:fix/ROCKETMQ-39 into ** on apache:master**.

Changes Unknown when pulling 68f64b643f795b34e8a2300475ca4f5fca52f53e on wu-sheng:fix/ROCKETMQ-39 into ** on apache:master**.

Changes Unknown when pulling 68f64b643f795b34e8a2300475ca4f5fca52f53e on wu-sheng:fix/ROCKETMQ-39 into ** on apache:master**.

Changes Unknown when pulling c81c912526c4daf7ca01a187e8a181e605bc1824 on wu-sheng:fix/ROCKETMQ-39 into ** on apache:master**.

Changes Unknown when pulling c81c912526c4daf7ca01a187e8a181e605bc1824 on wu-sheng:fix/ROCKETMQ-39 into ** on apache:master**.

Changes Unknown when pulling c81c912526c4daf7ca01a187e8a181e605bc1824 on wu-sheng:fix/ROCKETMQ-39 into ** on apache:master**.

@wu-sheng this PR has been merged. you may close the PR.


bug: lazy window backdrop doesn't disappear when closing in plugin setup

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-2702+g0c0be09ea-dirty
Operating system/version
Arch Linux
Describe the bug
On startup, Lazy opens when plugins are missing.
I have a plugin spec (for dashboard-nvim) which closes the window if it's open.
It doesn't clear the backdrop when closing.
Steps To Reproduce

nvim -nu repro.lua
Clean nvim-treesitter (any plugin) (the repro does this for you)
Open nvim
Wait for it to install
Notice darkened editor

Expected Behavior
Remove the backdrop on close
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "nvim-treesitter/nvim-treesitter" }, -- Any plugin works, just need something to cause lazy to open
  {
    "echasnovski/mini.animate", -- any plugin, just using for `event =`
    event = "VimEnter", -- This doesn't work as a normal autocmd. I don't know why.
    opts = function()
      if vim.o.filetype == "lazy" then
        vim.cmd.close()
      end
    end,
  },
}
require("lazy").setup(plugins, { install = { colorscheme = { "tokyonight-night" } } }) -- It's more obvious with tokyonight
require("lazy").clean({ plugins = { "nvim-treesitter" }, show = false }) -- Make repro easier by making this idempotent

Should be fixed now.
It seems that Neovim does not execute WinClosed autocmds before VimEnter.
Added an extra check on VimEnter to see if the window was already closed for cleanup.


Stroke-width property is omitted when storke is absent.

🐛 Bug Report
stroke-width property is omitted when storke is absent. We all know that stroke-width has no effect when stroke is absent, but it's possible that users want assign the stroke externally by CSS. In such case the current behavior gives a gotcha.
To Reproduce
In the playground:
<svg width="10px" height="10px" viewBox="0 0 10 10">
    <path d="M 0 0 h 10 v 10 H 0 Z" stroke-width="5" fill="none"></path>
</svg>

I found options to resolve this. Sorry for annoyance.

I found options to resolve this. Sorry for annoyance.

what was the options? poor documentation drives me crazy.

I found options to resolve this. Sorry for annoyance.

what was the options? poor documentation drives me crazy.

It has been a while but if my memory serves me right...
The property was removed because it was optimized away by the SVGO plugin removeUselessStrokeAndFill. Thus you can pass in the SVGO config in this format to disable the plugin in the preset.
It probably looks like this:
{
  svgoConfig: {
    plugins: [
      {
        name: 'preset-default',
        params: {
          overrides: {
            removeUselessStrokeAndFill: false
          }
        }
      }
    ]
  }
}

Hope that helps.


Fix credential storage

It looks like this wants hardcoded tokens in the CF stack; would shifting this to use Systems Manager Parameter Store be reasonable instead of contravening CF’s guidance around this?

+1, suggest we update the docs here to recommend use of Dynamic References in the template for clarity: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-ssm-secure-strings

secretsmanager:resolve is built for this exact reason. You put the secret name in your template and CFN will fetch it and pass it to the resource. The secret never appears in logs, templates, etc...
I’m not sure that there is an issue here that needs to be fixed.


Potential case-insensitive import collision

Due to GitHub handle change (to lowercase) for long term purpose, go get may fail fetching github.com/Unknwon/com.
Please consider take some time to update it to github.com/unknwon/com in the go.mod file.
I truly apology for the inconvenience and unintended troubles caused.

Hi.  Thanks for the heads up about the change!


G

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Meilisearch version: [e.g. v0.20.0]
Additional context
Additional information that may be relevant to the issue.
[e.g. architecture, device, OS, browser]

Considered as spam since no issue is described. Please open another detailed issue to describe any problem you could have when using Meilisearch, if you have any.


Typo on Main Website

On https://gate.minekube.com/ the hero section reads: "Optimized for efficiency, low memory usage as 10MB"
It should instead read "Optimized for efficiency, memory usage as low as 10MB"

Thanks, updated it. Prefer to keep it as short as possible


[Toothpick] Update the command name with the device name

Extension
https://www.raycast.com/briankosw/toothpick
Description
After picking a device, instead of showing "Connect Favorite Device #x"
Who will benefit from this feature?
Anyone that forgets what is the order of their 3 favorite BT devices
Anything else?
Maybe this could be promoted to a Raycast feature called "dynamic commands". where command names can contain variables pointing to settings

AFAIK, this is not possible in Raycast. It's a good idea, but there's no way to implement such a thing.

@raycastbot close this issue

@VladCuciureanu this would be an ugly hack... but when does Raycast read information about installed extensions or scripts? Is there a way to trigger it? What if the extension managed script files and updated them when settings changed?

Raycast extension commands are defined before publishing the extension, inside package.json, which is not modifiable in any way, as far as I know. You are welcome to test this out by forking the extension, though.

Sure there is! It's not pretty though :) The script below should work for an installed extension. It doesn't work for extensions in development because they are constantly recompiled and the deployed package.json gets overwritten.
import { getPreferenceValues } from "@raycast/api";
import { writeFile } from 'fs';
import { join } from 'path';

// note that after compilation, package.json will be in the same folder as this code
const pkgPath = join(__dirname, 'package.json');

export default async () => {
  const pkg = require(pkgPath);
  logEnvironment();
  const { favoriteDevice1, favoriteDevice2, favoriteDevice3 } = getPreferenceValues();

  const commands = [];

  for (const command of pkg.commands) {
    console.log('checking', command.name);
    if (favoriteDevice1 && command.name == 'connect-favorite-device-1') {
      command.title = `Connect Device: ${favoriteDevice1}`;
    }
    else if (favoriteDevice2 && command.name == 'connect-favorite-device-2') {
      command.title = `Connect Device: ${favoriteDevice2}`;
    }
    else if (favoriteDevice3 && command.name == 'connect-favorite-device-3') {
      command.title = `Connect Device: ${favoriteDevice3}`;
    }

    commands.push(command);
  }

  pkg.commands = commands;

  const json = JSON.stringify(pkg, null, 2);
  const data = new Uint8Array(Buffer.from(json));

  console.log(`writing pkg to ${pkgPath}`);
  console.log(json);
  return writeFile(pkgPath, data, (err) => {
    if (err) {
      console.error(err);
    }
  });
};

Thanks for the example! I will check with the Raycast team if this is a good approach or if this is going to be patched later on.

Update from Raycast Team:

This isn't going to work for published extensions, we don't read the package.json after it's installed. However, you could update the subtitle of the command using updateCommandMetadata which I just realise that we haven't documented except here: https://developers.raycast.com/information/lifecycle/background-refresh#running-in-the-background

So runtime package.json modifications aren't possible but I'll look into the dynamic command names 👍🏻

Awesome, @VladCuciureanu! I actually found out about  updateCommandMetadata. There were 2 problems with using that though:

It updates the subtitle for all commands
The only way to trigger the update would be to use background refresh. This would be a waste of resources in this case since I would have to set an interval for the refresh, but the subtitle only changes once the preferences change.

If I may... my suggestion would be to:

Implement an onPreferencesUpdated event to the command lifecycle. This lifecycle event hook architecture is a good foundation and could later be expanded to include onInstalled, onEnabled, onDisabled, etc
Extend the updateCommandMetadata to take in the name of the command to be updated and allow it to modify other properties

Another solution that can also be powerful would be to allow extensions to install and remove script commands in Raycast managed, per extension, scripts folder.
Script commands have the command documentation in the file itself and could be generated using a template.
Let me know if I can help with anything. I'm liking this tool so much that I almost went checking for open positions with guys hahahaha
Seriously, my productivity with Raycast is insane!

I know this is not really what you requested but I hooked the command's subtitle to the device name set in preferences to make it easier to distinguish between the favorite device commands. The command's subtitle should update on running the command, so run the command and then the subtitle should update.

Hey @VladCuciureanu, that's awesome! The goal was to tell the user which device was connected to the favorite device slot and you hit it. Thank you so much! :)


cannot run Install-Module -Name MicrosoftPowerBIMgmt

when I run the command above I get following issue

PowerShell Version 5.1.17134.858
when I tried to install .net framework it says I already have installed it 4.7.2
I have also ran
$webclient=New-Object System.Net.WebClient
$webclient.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
as some one has suggested
nothing is working

https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/
I found my own answer after searching the web. Visit that site copy the tls update and run it. It worked for me


Problem running new create-choo-app

Me: npx create-choo-app my-choo-app && cd my-choo-app && npm start
Getting an "Uncaught TypeError: Cannot read property 'DOMCONTENTLOADED' of undefined." When running a new create-choo-app. Console error references the indicated line below.
...
[function(require, module, exports) {
        function serviceWorker(e, t) {
            return e = e || "/sw.js",
            t = t || {},
            assert.equal(typeof e, "string", "choo-service-worker: name should be type string"),
            assert.equal(typeof t, "object", "choo-service-worker: opts should be type object"),
            function(r, o) {
                assert.equal(typeof r, "object", "choo-service-worker: state should be type object"),
                assert.equal(typeof o, "object", "choo-service-worker: emitter should be type object"),
  /* Here --> */        o.on(r.events.DOMCONTENTLOADED, function() {
                    t = mutate({
                        scope: "/"
                    }, t),
                    navigator.serviceWorker && navigator.onLine && navigator.serviceWorker.register(e, t).then(function(e) {
                        o.emit(events.INSTALLED, e)
                    }).catch(function(e) {
                        o.emit(events.ERROR, e)
                    })
                })
            }
        }
...

Ah yeah, this is code for choo 6  - I'll make sure we install the preview then, awaiting the next major release ( next week or so I'm guessing)

Fixed! (although now you'll get an error the sw.js can't found)

I'm still having this issue, meaning i can't progress with my app.
Fresh app using npx create-choo-app

Oh no! What's the version of Choo you have installed? V6 should have the events nicely attached to state https://github.com/choojs/choo/blob/master/index.js#L49
Are there perhaps any other errors in the console?

@yoshuawuyts ah looks like npm was unhelpfully storing cached versions of Choo v5. I force updated everything and it's working now on v6. Thanks!

Woot! 🎉


[WIP] Add a simple topic editor

I thought we'd planned to create topics in collections-publisher, and also for them to have urls like /topic/service-manual/foo.

@rboulton The idea was to create something temporary, because we have no idea when the collections publisher features will serve our requirements. Also, @tadast and I will be working elsewhere from March.

@AndrewVos I've spoken to Tom and it looks like we'll need to add the sidebar bit to topics
 before going live

Oh yeah totally. I think I added that to the trello ticket? Apparently we need to be able to add multiple communities?


Bump Energinet.DataHub.Charges.Clients to 1.0.22

Description
This PR bumps Energinet.DataHub.Charges.Clients to 1.0.22 which copes with enum (ChargeType) being passed from Charges Web API as string.
References

https://github.com/Energinet-DataHub/geh-charges/issues/827

This PR bumps Energinet.DataHub.Charges.Clients to 1.0.22 which copes with enum (ChargeType) being passed from Charges Web API as string.


Bug: Can't run with dbt-core > 1.3.2 - errors immediately after install

This repo looks awesome! Exactly what I've been looking for, and indeed makes you wonder why it isn't in dbt-core.
I'd absolutely love to use it, but after running pip-install dbt-osmosis in a fresh virtual environment with a fresh (working) clone of the repo, I get the following when I try to execute dbt-osmosis yaml refactor:
Traceback (most recent call last):
  File "/Users/[my_user_name]/dbt_osmosis__venv/bin/dbt-osmosis", line 5, in <module>
    from dbt_osmosis.main import cli
  File "/Users/jaredchristensen/dbt_osmosis__venv/lib/python3.9/site-packages/dbt_osmosis/main.py", line 15, in <module>
    from dbt_osmosis.core.diff import diff_and_print_to_console
  File "/Users/jaredchristensen/dbt_osmosis__venv/lib/python3.9/site-packages/dbt_osmosis/core/diff.py", line 10, in <module>
    from dbt_osmosis.core.osmosis import DbtProject
  File "/Users/jaredchristensen/dbt_osmosis__venv/lib/python3.9/site-packages/dbt_osmosis/core/osmosis.py", line 49, in <module>
    from dbt.contracts.graph.parsed import ColumnInfo
ModuleNotFoundError: No module named 'dbt.contracts.graph.parsed'

I first ran dbt docs generate just in case it needed the manifest or some other dbt-generated files.
Is it just that dbt-osmosis can only work with older versions of dbt?
Python 3.9.16 (also tried with Python 3.10.9 with the same versions as below)
dbt-core==1.4.1
dbt-extractor==0.4.1
dbt-osmosis==0.9.8
dbt-snowflake==1.4.0
macOS 13.1 (22C65)
Snowflake 7.3.0

Just updated the title as I'm realizing that this works fine with dbt-core 1.3.2 and dbt-snowflake 1.3.0

Thanks for the issue!
I actually have a big update planned and part of that has involved gutting the core abstractions here https://github.com/z3z1ma/dbt-core-interface so I will ensure compatibility with the updated API!
Will keep this here as a placeholder.

@z3z1ma , awesome to hear there is a big update planned!
Would you expect it to also address #38 ?

Took a first stab at a release, leveraging vendored interface that should be compatible with everything. New version is 0.10.0 on pypi. Exclusively focused on the yaml commands for now.


"Home" in mobile version doesnt work

Clicking "home" button in a mobile version doesnt return to "about/home" website

If you hover it, you see it links to the page you are currently on

this still doesnt work for me

should be good now, fix didn't get through last time

#51 same fix


Reflection is not symmetrical

Bevy version
0.14.2
What you did

Define unit struct with reflection and ser/de.
Use TypedReflectDeserializer to deserialize raw JSON into a reflection box.
Use T::from_reflect to get a T out of the box.
Re-serialize T directly to JSON.
Expect the reserialized JSON to equal the starting JSON.

What went wrong
The TypedReflectDeserializer expects unit structs to be JSON arrays. However, JSON serializes unit structs to null. If you try to use null in the original raw JSON, then you get Error("invalid type: null, expected reflected struct value", ...).
Additional information
Minimum reproducible:
bevy = { version = "0.14", default-features = true, features = ["serialize"] }
serde = { version = "1.0" }
serde_json = { version = "1.0", features = ["preserve_order"] }

use std::str::FromStr;
use std::fmt::Debug;

use bevy::{prelude::*, reflect::serde::TypedReflectDeserializer};
use serde::de::DeserializeSeed;

use serde::{Deserialize, Serialize};

#[derive(Reflect, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UnitStruct;

fn test_equivalence<T>(w: &World, json_raw: &str, val: T)
where
    T: Serialize + for<'de> Deserialize<'de> + Debug + Reflect + FromReflect + PartialEq
{
    // Json raw to json value
    let json_val = serde_json::Value::from_str(json_raw).unwrap();

    // Json value to reflect
    let type_registry = w.resource::<AppTypeRegistry>().read();
    let registration = type_registry.get(std::any::TypeId::of::<T>()).unwrap();
    let deserializer = TypedReflectDeserializer::new(registration, &type_registry);
    let reflected = deserializer.deserialize(json_val.clone()).unwrap();

    // Reflect to val
    let extracted = T::from_reflect(reflected.as_reflect()).unwrap();
    assert_eq!(val, extracted);

    // Val to json value
    let json_val_deser = serde_json::to_value(&val).unwrap();
    assert_eq!(json_val, json_val_deser);
}

#[test]
fn bug()
{
    let mut app = App::new();
    app.register_type::<UnitStruct>();
    test_equivalence(app.world(), "[]", UnitStruct);
}

Looks like we're not using the unit_struct methods on the serializer/deserializer. We can probably do that pretty easy with a simple field length check (being sure to exclude skip_serializing fields).

I fixed this bug for bevy 0.15 (currently main)
the fix for 0.14.2 is similar but occurs in a different file. (initially I fixed it on my local files and noticed the refacror only after forking main)
should I create a seperate PR to fix 0.14.2? is this branch even active?
Thanks, and sorry for the confusion, this is my first open-source PR

I fixed this bug for bevy 0.15 (currently main)
the fix for 0.14.2 is similar but occurs in a different file. (initially I fixed it on my local files and noticed the refacror only after forking main)
should I create a seperate PR to fix 0.14.2? is this branch even active?
Thanks, and sorry for the confusion, this is my first open-source PR

What you did is correct. 0.14.2 is not active. We are working on releasing 0.15 now.

@pikerpoler unfortunately that fix is not strictly valid, because #[reflect(ignore)] can cause a struct to 'appear' to have zero fields to reflection when in fact it has fields.

@pikerpoler unfortunately that fix is not strictly valid, because #[reflect(ignore)] can cause a struct to 'appear' to have zero fields to reflection when in fact it has fields.

we may solve it in a different way, using ReflectDerive::UnitStruct instead. I considered this initially, but it may require a larger refactor, and this suggestion
:> ...We can probably do that pretty easy with a simple field length check (being sure to exclude skip_serializing fields).
worked for my tests
the section I think of changing is this:
https://github.com/bevyengine/bevy/blob/efd2982a881e8756dac14e740c407b249afeefaa/crates/bevy_reflect/derive/src/remote.rs#L52
but It will take a bit more time to figre out


Fixes Memory usage with session restoration #328

Fixes #328
Readpump sometimes is blocked by ioutil.ReadAll() avoiding disconnect to finish.
This approach bypasses the waiting group after a timeout to prevent Disconnect from getting stuck.

Unfortunately, today I tested with more instances and they failed :( I am still debugging and profiling...


[Fatal] Input format error when parsing as CSV when using ignore_column

I discovered a bug when using parameter ignore_column while constructing a Dataset from CSV.
On my original dataset (about ~15GB uncompressed CSV), LightGBM failed with error "[Fatal] Input format error when parsing as CSV" and did not provide a more informative message when running with increased verbosity. After much trial and error, I was able to isolate the cause of the error to the parameter "ignore_column".
I have constructed the following minimal example CSVs (using a small ~80kB subset of my dataset) demonstrating this bug.

"working_example.csv": 1000 rows including header, 11 numeric columns including binary (0/1) label. This dataset is constructed without any error.
"failing_example.csv": identical to "working_example.csv" with three additional columns (named "IGNORE_0", "IGNORE_1", "IGNORE_2") which are all passed to "ignore_column" parameter as "name:IGNORE_0,IGNORE_1,IGNORE_2". This dataset throws a fatal error when .construct() is called.

I've attached both these csv files and a notebook demonstrating the error to this message.
It seems quite strange that the addition of columns which are to be ignored causes an error.
Happy to provide more information and / or help to the extent I can.
Thanks in advance!
Environment info
Operating System: Ubuntu 18.04
CPU/GPU model:  CPU: i7-6700 GPU: GTX 1080
C++/Python/R version: Python 3.66, lightgbm 2.2.1 [built from pip with GPU support]
Error message
LightGBMErrorTraceback (most recent call last)
 in ()
1 params['ignore_column'] = 'name:IGNORE_0,IGNORE_1,IGNORE_2'
2 data = lgb.Dataset(data='failing_example.csv', params=params, free_raw_data=True)
----> 3 data.construct()
~/anaconda3/envs/fin/lib/python3.6/site-packages/lightgbm/basic.py in construct(self)
983                                 init_score=self.init_score, predictor=self._predictor,
984                                 silent=self.silent, feature_name=self.feature_name,
--> 985                                 categorical_feature=self.categorical_feature, params=self.params)
986             if self.free_raw_data:
987                 self.data = None
~/anaconda3/envs/fin/lib/python3.6/site-packages/lightgbm/basic.py in _lazy_init(self, data, label, reference, weight, group, init_score, predictor, silent, feature_name, categorical_feature, params)
763                 c_str(params_str),
764                 ref_dataset,
--> 765                 ctypes.byref(self.handle)))
766         elif isinstance(data, scipy.sparse.csr_matrix):
767             self.__init_from_csr(data, params_str, ref_dataset)
~/anaconda3/envs/fin/lib/python3.6/site-packages/lightgbm/basic.py in _safe_call(ret)
43     """
44     if ret != 0:
---> 45         raise LightGBMError(decode_string(_LIB.LGBM_GetLastError()))
46
47
LightGBMError: Input format error when parsing as CSV
Reproducible examples
csv_error_example.zip
Steps to reproduce

Unzip attached file (csv_error_example.zip) - contains working_example.csv, failing_example.csv, and an ipynb demonstrating the error
Run notebook

@gbatt LightGBM only accepts the csv with valid number format, if even these string columns are set to ignore.

@gbatt LightGBM only accepts the csv with valid number format, if even these string columns are set to ignore.

Thanks @guolinke!
I did not see this anywhere in the documentation (perhaps I missed this), but if it is indeed not present anywhere, can we add it so that other users in the future do not face this issue?


Checking if source exists before accessing it

See https://github.com/boundlessgeo/sdk/pull/824

thanks @manuelbieh


Device with serial number [blabla] not added, hence it is not supported by this adapter. Product type: [664]

I have the new BP03. Is it possible, to add it to the adapter?
I get these message in iobroker log:
Please open an Issue on github if you think your device should be supported.
Device with serial number [blabla] not added, hence it is not supported by this adapter. Product type: [664]

Adding Big&Quiet devices with the (soon) upcomming version

please test current version from github if it works for you - including all expected functions.

Great. Yes it works for me. Thx.


Update provider to match the rest of octodns-*

There are no actual code changes here, just a pass that brings everything in line with how all the other octodns modules are laid out and work. This should allow all the existing tooling/processes to apply cleanly to this provider so that it's not left behind (as it has been up to this point.)
/cc https://github.com/octodns/octodns-fastly/pull/13#issuecomment-1793482632 @istr

Will have to look into why 3.8 is failing later, I'm out of time today. Part of the resaon for making this switch to bring things in line is to get all the full testing setup and find stuff like this.

Will have to look into why 3.8 is failing later, I'm out of time today. Part of the resaon for making this switch to bring things in line is to get all the full testing setup and find stuff like this.

See https://stackoverflow.com/questions/66846743/importerror-cannot-import-name-cache-from-functools and https://docs.python.org/3/library/functools.html#functools.cache.
I pushed a commit to this branch to change this.
However, it seems that there are some more backwards compatibility issues to be fixed.

@ross only removesuffix needed to be replaced. So we are all set.
I think the suffix = "." + zone.name[:-1] is safe, since the zone name is guaranteed to end with a dot.
But you might want to review, just in case.

@ross only removesuffix needed to be replaced. So we are all set.

Thanks for the fixes!

Moving forward with this now. Should allow us to keep everything in sync going forward. Again no actual changes to the code/functionality should have been made as part of this.


Directs users to cloud-trace-java for instrumentation

Trying to reduce user confusion

I don't know that we've settled how we want the landscape of trace libraries to look yet...

there def needs to be a raw client, like this one.
the other "trace libraries" like opencensus and zipkin/brave, is really an instrumentation and distributed tracing framework.  Both of which may still require this client library to work.


Update hf_models.py

Added sentence-transformers/paraphrase-multilingual-mpnet-base-v2
edit:
fixes #26

thanks @timpal0l, I will merge it once I have added the results to the benchmark


How do I Enable the Masking of the background with the "MultiPoseLandmarkListWithMaskAnnotation" ?

Plugin Version or Commit ID
v0.15.0
Unity Version
2022.3.34f1
Your Host OS
Windows 10
Target Platform
Android
Description
I'm trying to have a virtual background the the user is visible and also the skeleton.
can you help me with this.
Code to Reproduce the issue
No response
Additional Context
No response

Could you tell me specifically what you don't understand?
If you're using PoseLandmarker and the outputSegmentationMasks option is enabled, the mask will be rendered by calling PoseLandmarkerResultAnnotationController.Draw*.
https://github.com/homuler/MediaPipeUnityPlugin/blob/c691e7c85bcffd7e669fe71a08e86dab77bf6b75/Assets/MediaPipeUnity/Samples/Scenes/Pose Landmark Detection/PoseLandmarkerRunner.cs#L122

thank you!


"uploading a file" example in README seems wrong

TL;DR
I've followed the "uploading a file" example but the file was uploaded to bucket-name/file-name/file-name.
This example: https://github.com/google-github-actions/upload-cloud-storage/blob/22121cd842b0d185e042e28d969925b538c33d77/README.md#L51-L55
Expected behavior
The file build/native/nativeCompile/my-app.exe is uploaded to
my-bucket/my-app.exe
Observed behavior
The file build/native/nativeCompile/my-app.exe was uploaded to
my-bucket/my-app.exe/my-app.exe
Action YAML
name: build
on:
  push:
    branches: [master]
  workflow_dispatch:

jobs:
  build-windows-native-image:
    permissions:
      contents: 'read'
      id-token: 'write'
    runs-on: windows-2022
    steps:
      - uses: actions/checkout@v4
      - uses: graalvm/setup-graalvm@v1
        with:
          java-version: '17'
          distribution: 'graalvm-community'
          components: 'native-image'
          native-image-job-reports: 'true'
          github-token: ${{ secrets.GITHUB_TOKEN }}
      - name: Build native image
        uses: gradle/actions/setup-gradle@v3
        with:
          arguments: nativeCompile
      - uses: google-github-actions/auth@v2
        name: Login to GCP
        with:
          workload_identity_provider: "projects/***/locations/global/workloadIdentityPools/***/providers/***"
          service_account<EMAIL_ADDRESS>          token_format: access_token
      - uses: google-github-actions/upload-cloud-storage@v2
        name: Upload to Cloud Storage
        with:
          path: 'build/native/nativeCompile/my-app.exe'
          destination: 'my-bucket/my-app.exe'

Log output
No response
Additional information

Windows runner is used

Hi there - could you please provide the debug output for the complete GitHub Actions workflow run?

I had a similar experience when following the instructions from the README. The log for the action step is first the inputs:
Run google-github-actions/upload-cloud-storage@v2
  with:
    path: dist/kolibri-0.16.0-py.py3-none-any.whl
    destination: ***/downloads/kolibri/v0.16.0/kolibri-0.16.0-py2.py-none-any.whl
    gzip: true
    resumable: true
    parent: true
    concurrency: 100
    process_gcloudignore: true

Then the actual upload, you can see puts the filename in a folder called the filename. I am guessing that actually specifying the filename in this way isn't supported, or requires a different argument? Either way, that's not what the README shows.
Upload files
  Uploading /home/runner/work/kolibri/kolibri/dist/kolibri-0.[16](https://github.com/learningequality/kolibri/actions/runs/7979174107/job/21788436935#step:5:16).0-py2.py3-none-any.whl to gs://***/downloads/kolibri/v0.16.0/kolibri-0.16.0-py2.py3-none-any.whl/kolibri-0.16.0-py2.py3-none-any.whl


testing: Use low-reputation billing account

Testing with this billing account will be more accurate to the constraints experienced by Solutions Catalog users.
Failure modes we may experience include errors that appear similar to org constraint or quota limits.
Description
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist

[ ] Added steps to reproduce the changes in this pull request
[ ] Added relevant testing in this pull request
[ ] Please merge this PR for me once it is approved.

I'm not sure what the state of testing is in this repository, but no end-to-end tests were run. Do not merge this PR, as we want to ensure a passing baseline before adding the billing constraint.

I will make sure cfint triggers are added for this repo and re-run.

/gcbrun

/gcbrun

Could we move most of the test setup out of this PR or remove low reputation for now? I want to be able to evaluate adding low reputation on top of existing e2e tests.


Using command line parameters instead of hard coding

All your parameters are hard coded in your python file. This is not very elegant.
https://github.com/ubsuny/23-Homework3G5/blob/6f2ef7e718025d40e4da57bda5db6c15b208a695/PracticeAlgorithm.py#L4-L20
Since you are running it in the commandline look into: https://docs.python.org/dev/library/argparse.html

Thank you for Suggestion prof. @laserlab . I will work on this and post the result here

And this just for practice purpose and not our main algorithm module.

All your parameters are hard coded in your python file. This is not very elegant.
https://github.com/ubsuny/23-Homework3G5/blob/6f2ef7e718025d40e4da57bda5db6c15b208a695/PracticeAlgorithm.py#L4-L20
Since you are running it in the commandline look into: https://docs.python.org/dev/library/argparse.html

And this code is just for practice purposes and not our main algorithm module.

@laserlab everything is hard coded because they are physical constants of the problem. The user is not allowed to change them except for the projectile's initial velocity, which can be changed in the module file.

The mass of the projectile is a physical constant?

For a problem without drag, the mass of the projectile doesn't affect the solution.
In our case the mass does indirectly inter the problem. Our drag force is given by F =- B * (v^2).
So when I am adding this to my equation of motion the acceleration becomes a =(-b/m)(v^2).
I found a table of (b/m) values, these (b/m) values are experimentally determined. So I can give the option for the user to input his own (b/m) value. But I think that's too technical.
The only reasonable parameters the user can play with are the initial velocity and the launch angle.

I guess I can add the launch angle as a parameter for the user to enter. But otherwise everything should remain as is.

That’s exactly the point why you should mark constants e.g. by capitalizing them. In other programming languages this would be mandatory.

okay

So are you gonna change it?

Yes, I am working on it.

If it’s being changed, add the pull request of the change in this issue before closing it

Sure will do that. @laserlab

@laserlab Will you please check if I have applied as per your suggestion?
https://github.com/ubsuny/23-Homework3G5/pull/62


REF: Make use of #351 to make more devices lazy.

In #351, we added the option to specify stage_sigs as attribute names as opposed to attributes. This restores the intended lazy-connecting feature of ophyd objects, where they don't need to connect to all their signals at init time.
This PR takes advantage of that in more places in the codebase. It should improve the startup time of IPython at SIX and others.

Current coverage is 84.27% (diff: 60.00%)

Merging #378 into master will not change coverage

@@             master       #378   diff @@
==========================================
  Files            30         30
  Lines          4580       4580
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           3860       3860
  Misses          720        720
  Partials          0          0

Powered by Codecov. Last update 7c211ce...2395e0f

Travis is happy and codecov is partly happy.


Unable to download the csv file

Hi, I am unable to download the csv file. When i click on download, it directs me to a site and has raw text data on that site. Kindly help me download the csv version of this bin list file. Thanks!

Hey, best way to do it is just download the entire repository as a zip file by clicking on the Code button:

Thanks a lot!:)


Installing ocean.py in Mac with M1 processor fail due to issues with Cryptography

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Installing the library on Mac with M1 processors fail due to an issue with Cryptography library

Expected behavior
The library installation should succeed in M1 based computers.
Desktop (please complete the following information):

OS: MacOS
python 3.8+

Installing Cryptography succeeds in Mac with M1 but the version used in ocean.py since to have problems.

Related previous issue: https://github.com/oceanprotocol/ocean.py/issues/887

Note: full credit to this fix goes to @jfdelgad . I just did it to keep its change clean from other work, e.g. in https://github.com/oceanprotocol/ocean.py/pull/1046/files


fix: don't panic when given a bad topology selector

Fixes #
Description
How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 14 (42.86%)  changed or added relevant lines in 3 files are covered.
105 unchanged lines in 17 files lost coverage.
Overall coverage decreased (-1.3%) to 75.119%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/provisioning/scheduling/topology.go
1
9
11.11%

Files with Coverage Reduction
New Missed Lines
%

pkg/utils/pod/scheduling.go
1
98.31%

pkg/controllers/deprovisioning/controller.go
2
70.81%

pkg/controllers/provisioning/controller.go
2
66.67%

pkg/controllers/provisioning/scheduling/existingnode.go
2
94.94%

pkg/controllers/provisioning/scheduling/node.go
2
97.89%

pkg/controllers/provisioning/scheduling/queue.go
2
96.43%

pkg/controllers/provisioning/scheduling/scheduler.go
2
95.14%

pkg/controllers/provisioning/scheduling/topologygroup.go
2
96.55%

pkg/controllers/state/cluster.go
2
87.13%

pkg/scheduling/requirements.go
2
98.5%

Totals

Change from base Build<PHONE_NUMBER>:
-1.3%

Covered Lines:
5688

Relevant Lines:
7572

💛  - Coveralls


gradient_accumulation_steps  sees not work ?

I think there may be some bug for gradient_accumulation_steps

if step() here , gradient_accumulation_steps sees not work?
If you can answer my question,Thanks

main.py

I guess deepspeed engine will handle this. Correct me if I'm wrong.

mark

I think there may be some bug for gradient_accumulation_steps  if step() here , gradient_accumulation_steps sees not work? If you can answer my question,Thanks

deepspeed engine wrapper the model and it can handle this.   when call model.step(),  the engine will count the step and update the model when  total_step % accumuate_step == 0.

Correct gradient accumulation steps are handled withing the deepspeed engine's backward call.


Nagios Monitoring

If we wish to have reports about which triggers went active we should dig into the Nagios Manual.
items:

Triggers list
Active triggers list
History retrieval as csv
Reporting?

Seek out a way to obtain Nagios status data :
This seems nice :)

https://www.npmjs.com/package/nagios-status-parser

Moving to smartsocietyservices/webapps #97.
Closing


Retrieving access token without client ID/secret

I have defined a protected API within an IdentityServer Host which contains a few "startup" endpoints. These endpoints were added to support a streamlined configuration process when adding new API resources or clients. See the IdentityServer Host ConfigureServices() method below:
public void ConfigureServices(IServiceCollection services)
{
       services.AddMvc();
       services.AddAuthorization(options =>
       {
           options.AddPolicy("StartupApiPolicy", policy =>
           {
               policy.AuthenticationSchemes.Add(JwtBearerDefaults.AuthenticationScheme);
               policy.RequireAuthenticatedUser();
               policy.RequireScope(IdentityServerApiConfiguration.Scopes.Startup.ScopeName);
           });
       });

       // [Authorize(Policy = "StartupApiPolicy")] is added to the Startup API controller.

       services.AddIdentityServer()
                    .AddDeveloperSigningCredential()
                    .AddResourceStore<ResourceStore>()
                    .AddClientStore<ClientStore>()
                    .AddProfileService();
...

       services.AddAuthentication()
                    .AddIdentityServerAuthentication(isAuth =>
                    {
                        isAuth.Authority = identityServerUrl;
                        isAuth.ApiName = "identityserverstartupapi";
                    });
}

Ideal Scenario
When a developer in my organization is writing a new API, they will add middleware that registers the application with the IdentityServer Host. Under the hood, this middleware will call the IdentityServer Host API endpoint that adds a new API resource to the resource data store. A developer will also be able to add similar middleware if they are writing a new client.
Question
When a new client or API runs for the very first time, the respective IdentityServer data store  will not contain any configuration for it yet. Therefore, the middleware will call the IdentityServer Host API to add the configuration. Since the host API is protected, I will need a token to authenticate. I know you can retrieve tokens with the TokenClient but this requires a client ID/secret to instantiate - which does not exist yet.
What is the recommended approach for retrieving an access token in this scenario?

well - that's a chicken/egg problem. There's no solution to that without introducing a special "registration" client or similar (check the dynamic client reg spec).
that being said
This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!


The read-only call should work regardless of the amount of coins

Context: I want to use read only call with an amount of 10 MAS and I only have 2MAS on my account
    const data = {
      maxGas: maxGas,
      targetAddress: contractAddress,
      targetFunction: functionName,
      parameter: argumentArray,
      caller_address: this._address,
      coins:amount, // Here I send 10MAS
      fee: fee,
    };

    const result = web3.contract.readSmartContract(data);

We should be able to send this operation even if we don't have enough coins (for test purpose). ReadOnly wont transfer the coins anyway.

My bad, it should fail as you did


CAN: Remote frame mode should clear all data

In remote frame mode, there is no data.
It is not a big thing since remote flag is correct, user should ignore all data if this flag is turn on.
But we can clear all data to zero in can message buffers.

Fixed & Close (see comment above).

Keep this open until the PR is resolved, we don't want this to get lost in case the PR isn't accepted


Sending XRC20 Tokens on the XDC Network Using Ethers.js

@libengd you mention that we are using our wallet as recipient but we could use any address that we want.  I am guessing that would be done through this snippet of send_token.js
// we are using our address as a recipient, but you can use any address you want
const recipient_address = wallet.address
const your_xrc20_token_address = process.env.XRC20_TOKEN_ADDRESS
const number_of_tokens = ethers.utils.parseUnits('10', 18)

Could you extend the how-to show both what you have shown and also how to update send_token.js to specify a receiving XDC address of the readers choosing?  I tried repalcing "wallet.address" with an XDC account address and I got error messages back.


cannot select indices on many kibana pages

I cannot select my indices on the alert page where you create alerts. I have all the fields I expect and @timestamp. I also created a new user named erik who is a super user, I cannot select an indices in the proper field.
https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167/13

Hi @ewitkop-panw, this issue isn't related to Docker, is it?

It could be. It seems there is a bug in the versions of kibana/elastic.  Do you test on AWS? Perhaps pipeline provisioning doesn't work with these AWS values.
https://github.com/elastic/kibana/issues/102512

The only thing we do here is connect the different components of the Elastic stack using containers. We don't provide support for Elastic's product or resolve bugs that occur inside those products.
If this is an identified bug in an Elastic product, I kindly ask you to continue the discussion in the issue trackers monitored by Elastic. Thank you for your understanding!

Ok, thanks! Sorry about that.
On Fri, Sep 24, 2021 at 2:27 PM Antoine Cotten @.***>
wrote:

The only thing we do here is connect the different components of the
Elastic stack using containers. We don't provide support for Elastic's
product or resolve bugs that occur inside those products.
If this is an identified bug in an Elastic product, I kindly ask you to
continue the discussion in the issue trackers monitored by Elastic. Thank
you for your understanding!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_deviantony_docker-2Delk_issues_625-23issuecomment-2D926837313&d=DwMCaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=bVyA4ImNgL43Q2UXlCGr3sMBg1TcSClSpBCjQ8q9PH8&m=8fomxMtwNysMjJv0v9GCNSJ71gTlxnFMRn710LdxCmM&s=aeR9ah1oBjK12txMUtBQmGL2si6dAEUWNARHj2r5gy4&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AMNB64A4KKXRLFKSFORLA3LUDS7JBANCNFSM5ESGPP2A&d=DwMCaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=bVyA4ImNgL43Q2UXlCGr3sMBg1TcSClSpBCjQ8q9PH8&m=8fomxMtwNysMjJv0v9GCNSJ71gTlxnFMRn710LdxCmM&s=5vUFa7pH3jdz-oQfRig4XfDtNN4TAdX8E4GZ3eSYNN8&e=
.
Triage notifications on the go with GitHub Mobile for iOS
https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=bVyA4ImNgL43Q2UXlCGr3sMBg1TcSClSpBCjQ8q9PH8&m=8fomxMtwNysMjJv0v9GCNSJ71gTlxnFMRn710LdxCmM&s=xV5zM9VTgD8PXOq2FX8mpyH_y2F8ogssl9Kx8yCMhkA&e=
or Android
https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=bVyA4ImNgL43Q2UXlCGr3sMBg1TcSClSpBCjQ8q9PH8&m=8fomxMtwNysMjJv0v9GCNSJ71gTlxnFMRn710LdxCmM&s=kO2DOkVqdFONXrkpVuBuFgSwyNvoHqWN2l-LwRVPZPw&e=.

--
Erik Witkop  |  DOD Systems Engineer | PCNSE CISSP GPEN
Palo Alto Networks  |  Boston, MA |  USA
Mobile:<PHONE_NUMBER>  | www.paloaltonetworks.com
https://www.paloaltonetworks.com/
https://www.paloaltonetworks.com/
https://www.linkedin.com/company/palo-alto-networks
https://www.facebook.com/PaloAltoNetworks/
https://twitter.com/PaloAltoNtwks
The content of this message is the proprietary and confidential property of
Palo Alto Networks, and should be treated as such. If you are not the
intended recipient and have received this message in error, please delete
this message from your computer system and notify me immediately by e-mail.
Any unauthorized use or distribution of the content of this message is
prohibited.


Alice trusting the algorithm she just published

Hi folks,
I am still running into an error at the "Alice trusts the published algorithm" step in the C2D workflow. Attached is the code and error I'm getting. My Data set is published on the Ocean marketplace (rinkeby) with the data token (Data_BPR), there are two datasets with the same data token. The algorithm is published with the token Alg_BPR and there are 3 of them. Wonder if this is the source of the problem? Any suggestions welcome.
mnkyNtigr

I have also been getting some errors, but it eventually worked when I executed the cell a couple of times. I'm thinking that maybe you need to run the cells once in a specific order. So once you get the ALG did, run the next cell and if that produces an error, rerun the publishing as well. I'm not sure whether that will work.

Update from my side: the code works but getting identical error at last step as in Richard's notebook. See below
Exception: b'\n404 Not Found\nNot Found\nThe requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n'

@smejak I found out from Akshay from Ocean that this cell might fail if you try to run the following cell immediately after publish. This may be because the asset is not yet cached when the code tries to access it from Aquarius.

Update from my side: the code works but getting identical error at last step as in Richard's notebook. See below
Exception: b'\n404 Not Found\n
Not Found
\n
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n'

@aghatpande I think we can close this issue now right? The issue for retrieving results is still unresolved but contained within #6


Where would the synonym 'chemotherapy' live

In one sense it should be a synonym of pharmacotherapy
but the term is usually used in a cancer context, so a syn of 'antineoplastics agent therapy' might be appropriate?
Either way, I think EXACT would not be appropriate.
Another possibility is to determine the term is too unclear. What I sometimes do here is make an obsolete class with an explanation, that way people searching understand why a bona fide class is not present

Definitely open to suggestions.  The hierarchy of the pharmacotherapy branch was chosen based on this https://www.fda.gov/regulatory-information/fdaaa-implementation-chart/usp-therapeutic-categories-model-guidelines
It is helpful but definitely has its drawbacks.  I currently have 'anticancer agent therapy' as a broad synonym. Possibly this could be a parent class with antineoplastic agent therapy and chemotherapy being siblings?
Just a thought. Will look into other sources for structure suggestions.

Will create new term under anti-neoplastic agent therapy

Trying to update the whole pharmacotherapy branch and this has come up.
It appears that the definition of chemotherapy has significantly shifted over time.  There is the original meaning that @cmungall brought up:  NCIT definition is "The use of synthetic or naturally-occurring chemicals for the treatment of diseases."
NCIT does have the note: "Although this term is used to describe any therapy involving the use of chemical-based agents, it is particularly used to refer to the use of chemical-based agents to treat cancer. Antineoplastic chemotherapy works by arresting or killing the growth and spread of cancer cells. Chemotherapy may also include agents that enhance immune function or alter hormonal activity."
However, if you look at cancer.gov where they reference NCI dictionary, they use the definition, "Treatment that uses drugs to stop the growth of cancer cells, either by killing the cells or by stopping them from dividing. Chemotherapy may be given by mouth, injection, or infusion, or on the skin, depending on the type and stage of the cancer being treated. It may be given alone or with other treatments, such as surgery, radiation therapy, or biologic therapy."
The cancer.gov definition appears to be the current and most used definition.
I'm inclined to use the cancer.gov definition.  The term label could be 'antineoplastic chemotherapy' or 'cancer chemotherapy', HOWEVER, that term almost never used.
At very least, I think chemotherapy should be a broad synonym, but possibly the term label. Especially since GeneReviews has 184 diseases listed with some sort of reference to chemotherapy (I assume all with the same definition, but I only spot-checked) and there is only one disease referencing 'antineoplastics' at all and zero referencing 'antineoplastic chemotherapy'.  It is hard to check if 'cancer chemotherapy' is in use because of the poor search tool, but I haven't seen it used.
Anyone have any opinions? Synonym? Term label? @cmungall @pnrobinson (And @nicolevasilevsky I know you weren't in on this conversation, but if you have an opinion, that'd be great, too.)

I feel like chemotherapy is such a commonly used term/treatment that it would be nice if it were its own class. I would recommend 'cancer chemotherapy' as the primary label and 'antineoplastic chemotherapy' as the synonym.
Although as the NCIt def says, chemotherapy isn't exclusively used for cancer. It can be used for immune system ablation too (like prior to a stem cell transplant).
So maybe you would want a 'chemotherapy' class with 'cancer chemotherapy' as a child? Or 'cancer chemotherapy' as a narrow synonym.


Failed transaction of 838.5 coins

Sent my coins from my binance account nearly 2 weeks ago. The tx failed. I've sent multiple tx's in the past so im not sure why it didn't work this time. Binance says they're working to resolve but this is taking too long. Could anyone here help with my issue?
https://explorer.stacks.co/txid/0xc265d20740a997057c722320ee3fafc9b023d9b299a8bd5c5e1b4f5cc46cd6b2?chain=mainnet

The transaction failed indeed. That also means that no STX transfer was made. Binance only payed the mining fee.
Furthermore I see: (err u1), that error a user gets when the account doesn't have the STX funds to cover the transfer. If the transaction failed Binance should put it back in your binance-balance obviously.


Call in reverse

Is there a way to call all taps of a hook in reverse?

You could try using an interceptor to add before to insert the hooks in the reverse order but the best option is to create your own hook type.

Oh of course, that's a good idea, it would also help solve #47.
Would you accept a PR for this?

@ooflorent would this be something you would be open to a PR for?
would this be okay:
myClass.hooks.myHook.tapBefore('MyThing', () => {})

@hipstersmoothie Not sure. IMHO it's better to create a custom hook that fits to your needs.

Hey how run tapable project in my local machine to test my work ??
I am new to this ?? Plz Help :)

@Bhavik-Ardeshna I made something like tapable with roughly the same api but simpler: https://github.com/StratoKit/strato-runner/blob/new-new-config/packages/launcher/src/tapable.js
I should put it in a package, give it a different name.


Menu item text color change when scrolling over elements

Hi,
First of all great work on the framework guys, I really like it so far. However, I've encountered one strange bug;
So when using a fixed menu and scrolling down the page, the color of the ui.blue.bordless.item changes. I've already checked all CSS properties and the styling of the element not being changed at all. This is also happening only on Chrome browser (I tested on Edge and FireFix and it did not occur).
This is how the menu looks like default:

And  this is how it looks like when I start scrolling on the page: (as you can see it gets a lighter color)

For some reason it also only changed color when scrolloing over certain content (transparant inputs, ...) and on other content it keeps its original color.
This is my HTML code:

		Mathias

I noticed the same strange bug, when scrolling some elements the menu changes slightly

After some debugging it seems like when disabling the box-shadow of the .ui.menu it doesn't occur.
box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);

There's an issue made on the semantic repo here

I don't think there's anything we can do here. This will be resolved as browsers GPU rendering support is improved.

I'm not a CSS expert but aren't there ways to use alternative stylings instead of box-shadows?

Box shadows are the only way to add shadows in css.


Installing lighttable-atom-shell gives Fatal error: certificate not trusted

Just downloaded the latest  zip from github. Now I get the following error message when I run build.sh:
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
Running "download-atom-shell" task
Fatal error: certificate not trusted
I'm on MAc OS X 10.10

I can't reproduce this, especially since build.sh has changed a fair amount. Can you use the latest atom-shell branch and provide the exact console output again?

It works now. BTW: the problem may have been caused by io.js. But I’m not sure if i removed io.js before or after I tried to recompile LightTable.

Am 30.01.2015 um 20:38 schrieb Gabriel Horner<EMAIL_ADDRESS>I can't reproduce this, especially since build.sh has changed a fair amount. Can you use the latest atom-shell branch and provide the exact console output again?
—
Reply to this email directly or view it on GitHub https://github.com/LightTable/LightTable/issues/1822#issuecomment-72257668.

Cool


[5.3] Option to revert specific number of migrations.

This PR allows user to revert a specific numbers of migrations by providing a step option to the artisan migrate:rollback command.
For example, if the user ran ten migrations in one batch, but wants to amend a couple of migrations without rolling back all migrations. This will allow user to only revert a specific number of migrations.
Lets say, if a user wants to revert last three run migrations:
php artisan migrate:rollback --step=3

Yii2 has a simiar feature which allows a user to revert a specific number of migrations. I thought it will be a nifty little feature to have in laravel as well.

Why is this option called step instead of limit?

@JosephSilber I called the option step as per taylor's instructions in #13853


Add "/trop run backport-to $branchname"

For when you have a one-off need and don't want to pollute the label namespace.
Inspired by a joking suggestion that I made to @MarshallOfSound last night that we fix
electron/set-appropriate-defaults-for-webview-options and
electron/set-appropriate-defaults-for-webview-options_1-8-x
with a meta-PR that had the label
target/set-appropriate-defaults-for-webview-options_1-8-x
TODO

[x] get feedback from @codebytere and @MarshallOfSound
[x] move user authentication logic to outside of /trop run backport command handler
[x] add code to recognize /trop run backport-to branch $branchname to pull out the branchname
[x] change backport/utils:

[x] two forms of backportPR, one taking a label and the other a branchname
[x] if no label is provided, don't try to remove it
[x] if a branch is provided, don't try to guess the branchname from the label

[x] change src/index.js:

[x] add a sibling func next to backportAllLabels() called backportTo(branchname) that prepares context and passes the work along to utils
[ ] finish the work in robot.on('issue_comment.created') to call backportTo()

[x] tests

Added in https://github.com/codebytere/trop/pull/20 😁


Test a formula that requires C++ 11. Do not merge

This is to test the Travis failure that came up during #1028

Regarding needs :cxx11 unless OS.mac?
Is there harm in having needs :cxx11 on OSX ?

No, I don't think so. Unless for some reason this formula does not require C++11 on Mac OS, but does require C++11 on Linux, which would be odd, but possible. If the default compiler on Mac now supports C++11 by default, then there's going to be lots of places where needs :cxx11 is accidentally omitted on the Homebrew formula.
The best argument for adding unless OS.mac? is so that we can quickly tell from the source code that this line is a Linuxbrew patch.

@rwhogg Close this issue? Both Travis and LinuxbrewTestBot are happy with this build.


Update user-segmentation-in-sharepoint.md

Category

[x ] Content fix
[ ] New article
Related issues: fixes #2824

What's in this Pull Request?
Fix invalid link.
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/build-sites-for-sharepoint

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/general-development/user-segmentation-in-sharepoint.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

thx @Seiyasu, appreciated.


Detect if the user is playing ranked and disable the overlay

In an effort to stop the overlay being used as a cheat, would it be possible to detect if the user is playing in ranked and disable the overlay?

whats even the point, people were using TekkenBotPrime online anyways...

Since community feedback seems rather positive at this stage its unlikely this will happen.
Im not sure if its even possible at this stage.
We dont exactly have the source code of the game just lying around.

In the Game Data section of the overlay options, there is a flag set for when the game thinks its in Single Player (offline). May be possible. But adding a check to disable the overlay could itself be disabled by a modification to the executable

Since community feedback seems rather positive at this stage its unlikely this will happen.
Im not sure if its even possible at this stage.
We dont exactly have the source code of the game just lying around.

It's possible to tell if the player is in an online match by hooking SteamAPI and getting the current lobby id if it exists or you can find a boolean in memory that is set to 1 when a player is playing a match and there is also an array of online players that you can access. If the second player's name string is not null then the player is likely in an online match (TekkenBotPrime has that array pointer, it just needs to be updated).
Alternatively you can get the game mode value (0x21/0x22 = Practice mode, 0x3/0x4 = On going match irrc, KulaGGin knows about this one as well) and restrict the overlay to only appear when the game mode value is set to 0x21.
off topic: This is why making this project open source will be great as other members can add and update improvements like these with ease and create a pull request

I guess the name changer feature fixed this problem. I'll close this issue.


Update README

The latest version of MZFormSheetPresentationController subclasses UIPresentationController but it's not clear how it's intended to be used.
Some demo code would be great!

Oops, it has been updated...


Documentation - Dev guide

We need to build a set of docs on how to extend appsensor, and where the system pluggability points reside. Logical extension points include:

adding new configuration mechanism (yaml, json, etc.)
adding new storage provider (cloud, nosql, custom, etc.)
adding new reporting mechanism (file, db, etc.)
adding new access controller (custom, integrate with standard identity system, spring security, etc.)

documentation has been added - this will be closed when 2.1 is released

Closed with https://github.com/jtmelton/appsensor/releases/tag/v2.1.0


Named Transform Validation - small bug

Hi,
I've already discussed this with @doug-walker, but putting here for posterity and tracking: we've found an issue with calling NamedTransforms in config files (via ColorSpaceTransform). The calls work via the library, but the validation fails, so the config cannot pass ociocheck or load into any applications that run validation on config files.
Doug already has a fix proposed, and would love if this could be patched back to 2.1 as well.
Example:
- !<ViewTransform>     name: test_view     description: |       test for named transform validation bug     from_scene_reference: !<ColorSpaceTransform> {src: test_space, dst: ACES2065-1}
- !<NamedTransform>     name: test_space     aliases: [ts]     description: |       test named transform      family: test     categories: [file-io]     encoding: scene-linear     transform: !<GroupTransform>       children:         - !<MatrixTransform> {matrix: [1.49086870465701, -0.268712979082956, -0.222155725704626, 0, -0.0792372106028327, 1.1793685831111, -0.100131372460806, 0, 0.00277810076707935, -0.0304336146315336, 1.02765551391237, 0, 0, 0, 0, 1]}         - !<MatrixTransform> {matrix: [1.11390097603689, -0.143391711690682, 0.0294907356537945, 0, -0.0330507612244472, 1.01678383525227, 0.0162669259721728, 0, -0.0533364871460785, 0.0222685264666346, 1.03106796067944, 0, 0, 0, 0, 1]}
ociocheck error:
** Validation ** ERROR: Config failed validation. This config references a color space, 'test_space', which is not defined. failed

Closing as fixed by PR #1829.


setFilterXml

Hello,
Currently there are getFilterXml and setFilterXml methods on GridControl in Unified Interface v9. How I can set my filter? There is no documentation for these methods.

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

ID: fdd2240f-1a7b-51fb-d478-ef1548d970cd
Version Independent ID: 77d9893e-3518-6a2b-6f15-69da3d9250dc
Content: GridControl (Client API reference) in Dynamics 365 for Customer Engagement
Content Source: ce/developer/clientapi/reference/grids/gridControl.md
Service: crm-online
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

@susikka  Is there any plan in the near future to support this? We are getting involved with PCF currently, however the lack of ability to interactively filter data drastically reduces the usefulness of our planned controls.

I understand that it's not supported, but it does work as implemented in Javascript per https://medium.com/@meelamri23/nice-post-50eb2eddcc3c.  I can't use it because my company doesn't like us to use things that are unsupported, but I was able to show a list of activities related to Cases for an Order on the Order form. The view wasn't following what I had set in the subgrid customization, but at least the filter worked.
Please vote for the suggestion https://experience.dynamics.com/ideas/idea/?ideaid=85716c9d-fe01-ea11-b862-0003ff68ba22 entitled "Enable SetFIlterXml for Editable Grid".


Filename evaluated after buffer is closed

The filename() function is called once after the buffer is opened, and once after buffer is closed. This is problematic since the docs suggest:
local encoding = vim.api.nvim_buf_get_option(0, "fileencoding")

...but that's taking the encoding of the new buffer, not the one that was just closed!
Possible fixes:

Evaluate filename() only when the buffer is opened, then save this filename to an internal hash table that maps the buffer number/id to the filename. Also, update it if the user switches languages or encoding.
Just tell the user to always use "utf-8" since that's the most common encoding anyways.
Pass in an encoding argument into filename(). But the encoding should be determined before the file is closed.

  opts = {
    dictionary = {
      filename = function(lang, encoding)
        -- For example:
        -- lang = "en-US"
        -- lang_prefix = "en"
        -- encoding = "utf-8"
        -- filename = "en.utf-8.add"

        local lang_prefix = string.match(lang, "^(%a+)-")
        encoding = encoding or "utf-8"
        local filename = lang_prefix .. "." .. encoding .. ".add"

        return filename
    },
  },

Quick n' dirty patch:
diff --git a/lua/ltex-utils/words_cache.lua b/lua/ltex-utils/words_cache.lua
index 0f9ca28..3d8b920 100644
--- a/lua/ltex-utils/words_cache.lua
+++ b/lua/ltex-utils/words_cache.lua
@@ -53,8 +53,9 @@ function M:apply_cache(bufnr)

 	for lang, dict in pairs(dicts) do
 		---@type string
+		local encoding = vim.api.nvim_get_option_value("fileencoding", { buf = bufnr })
 		local filename = Config.dictionary.path ..
-											Config.dictionary.filename(lang)
+											Config.dictionary.filename(lang, encoding)
 		settings_io.write(
 			filename,
 			table.concat(dict, "\n") .. "\n",

Also, a secondary issue:
function M.update_dictionary_files(dictionaries)
	for lang, dict in pairs(dictionaries) do
		M.write(filename, table.concat(dict, "\n") .. "\n")
	end
end

This leads to file corruption if filenames are identical for different langs. For instance, lang = en-US and lang = en-GB will both write to a file named en.utf-8.add.


Automatic Rejoin on disconnect

I get disconnected fairly often because of suboptimal network conditions and It's really frustrating to manually hit the rejoin button each time it happens.
A toggle in the settings to enable auto rejoin would be great.
This happens because the area I work in has slow upload speeds and it easily becomes saturated and starts causing disconnects in vscode.
Version: 1.58.2 (user setup)
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:10:15.214Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041

Hi @hichemfantar ,
We have some level of auto-reconnect but it really depends on where the disconnect happens. Can you give us a little more info on your client, OS and when you're seeing this?
Thanks!

Likely duplicate of #3814

Hi @hichemfantar ,
We have some level of auto-reconnect but it really depends on where the disconnect happens. Can you give us a little more info on your client, OS and when you're seeing this?
Thanks!

Added the necessary info in the post description.
Also I've never had liveshare reconnect me automatically, It always displays a button to rejoin but never rejoins without me explicitly telling it to.

Likely duplicate of #3814

It's not a duplicate, the other problem is about being disconnected completely and losing the connection without the ability to reconnect(rejoin).

We’ve made improvements in this area since this issue was filed. We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.


It runs very slowly when removing image backgrounds via rembg.

When I ran it for the first time, it reported an error, but quickly removed the background and reported the error as follows:

got prompt
EP Error D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "E:\FreeSoft\sd\comfyui-aki-v1.3\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Prompt executed in 8.80 seconds

I checked and found some feedback that it was due to TensorRT not being installed, so I installed TensorRT-<IP_ADDRESS>, and after installing it, when removing the image background via rembg again, it didn't report the error again,but the running speed was very slow and it cost Taking more than 1 minute to process。
What is the problem and how can I optimize this problem?

There is also rembg[gpu] package meant to run on the GPU, and then
rembg that is CPU. Which do you have installed?
On Wed, Jul 17, 2024 at 9:29 AM water110 @.***> wrote:

When I ran it for the first time, it reported an error, but quickly
removed the background and reported the error as follows:
got prompt
EP Error
D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131
onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL :
LoadLibrary failed with error 126 "" when trying to load
"E:\FreeSoft\sd\comfyui-aki-v1.3\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider',
'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and
retrying.
Prompt executed in 8.80 seconds
I checked and found some feedback that it was due to TensorRT not being
installed, so I installed TensorRT-<IP_ADDRESS>, and after installing it, when
removing the image background via rembg again, it didn't report the error
again,but the running speed was very slow and it cost Taking more than 1
minute to process。
What is the problem and how can I optimize this problem?
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/441, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZPMWSAKX7SRWNJUUKLZM2LV5AVCNFSM6AAAAABLA7NPCKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTIMBVGAZDEOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Sincerely,
*Jordan S. C. Thompson *

Has this issue been resolved? I'm experiencing the same problem. After struggling to fix the TensorRT errors, I almost feel like going back to the state when the errors were still there.

Yeah I don't think pip shows the package selected. I am not sure if they have a way to check what device it's using, but maybe they have a way to implicitly set it to cuda.


add --to <addr> option for write subcommand

Added this in my fork so that himalaya write can be used as a mailto:handler.
Happy to make any changes needed for merge if you think this addition makes sense.

Added this in my fork so that himalaya write can be used as a
mailto:handler.

Thanks a lot for your contribution! I thought about this not so long
time ago and it is a very good addition.

Happy to make any changes needed for merge if you think this addition
makes sense.

I see that you added the --to arg, but in fact we could add other args
like --cc, --subject etc. Have a look at the TplOverride struct in
tpl_args, it does exactly this.

Thanks for the hint, I gave it a go. :)

I also noticed that you targeted the wrong branch (master), I just switched it to development.

Now I discovered that it already works as a mailto-handler with just himalaya and no subcommand. :smile:
But good to have this option as well, I think.

Now I discovered that it already works as a mailto-handler with just
himalaya and no subcommand.

Ah yes indeed :) I realized that the mailto support is not documented at
all. I will update the README.

But good to have this option as well, I think.

Yes anyway. Thanks a lot!


chore: cover image are too heavy

I can see cover image taking few seconds to load. Compared to Twitter cover image (having same size) it's about 4x more heavy on Stamp. Is there a way we can reduce the size without losing much on quality?

We can test with nearlossless compression instead

Don't we do that already? But yes we can try

Currently with my internet it takes about 4sec for the cover image to appear

nearlossless doesn't make great difference (142kB vs 166kB). Making it lossy with quality 80% gives us 17.7kB.


Redstone completely broken

Spark link
N/A
Expected behavior
Redstone should work as expected normal I think issue is due to 1.21.X redstone changes.
Observed/Actual behavior
Redstone often just doesn't activate or stays active after being deactivated

Steps/models to reproduce
Use any redstone related features in a server running Purpur 1.21.4 Latest Build
Purpur version
Current Purpur Version: 1.21.4-2376-4bf1b98 (MC: 1.21.4)*

You are running the latest version
Previous: 1.21.4-2372-73dae7f (MC: 1.21.4)

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
Yes I know its a beta just giving some insight as this would be something good to fix as soon as possible in time for a full release

Hi,
Could you provide a spark link because it allows us to see the configuration of the server and what plugins are installed.
Am 25. Dezember 2024 09:46:45 UTC schrieb Kai Jane @.***>:

Spark link
N/A
Expected behavior
Redstone should work as expected normal I think issue is due to 1.21.X redstone changes.
Observed/Actual behavior
Redstone often just doesn't activate or stays active after being deactivated

Steps/models to reproduce
Use any redstone related features in a server running Purpur 1.21.4 Latest Build
Purpur version
Current Purpur Version: 1.21.4-2376-4bf1b98 (MC: 1.21.4)*

You are running the latest version
Previous: 1.21.4-2372-73dae7f (MC: 1.21.4)

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
Yes I know its a beta just giving some insight as this would be something good to fix as soon as possible in time for a full release
--
Reply to this email directly or view it on GitHub:
https://github.com/PurpurMC/Purpur/issues/1627
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

Hi, Could you provide a spark link because it allows us to see the configuration of the server and what plugins are installed. Am 25. Dezember 2024 09:46:45 UTC schrieb Kai Jane @.***>:
…
Spark link N/A ### Expected behavior Redstone should work as expected normal I think issue is due to 1.21.X redstone changes. ### Observed/Actual behavior Redstone often just doesn't activate or stays active after being deactivated  ### Steps/models to reproduce Use any redstone related features in a server running Purpur 1.21.4 Latest Build ### Purpur version Current Purpur Version: 1.21.4-2376-4bf1b98 (MC: 1.21.4)* * You are running the latest version Previous: 1.21.4-2372-73dae7f (MC: 1.21.4) ### Agreements - [X] I am running the latest version of Purpur available from https://purpurmc.org/downloads. - [X] I have searched for and ensured there isn't already an open issue regarding this. - [ ] I ticked all the boxes without actually reading them - [X] My version of Minecraft is supported by Purpur. ### Other Yes I know its a beta just giving some insight as this would be something good to fix as soon as possible in time for a full release -- Reply to this email directly or view it on GitHub: #1627 You are receiving this because you are subscribed to this thread. Message ID: @.***>

https://spark.lucko.me/boOJ2azCYQ

@Onako2 Not sure why GitHub just re posted the whole quote reply but there it is at the bottom

Reproduce the issue without any plugins.

Reproduce the issue without any plugins.

Ok it seems to be a plugin if you had to guess what plugins are most likley to be it

Reproduce the issue without any plugins.

ok the culprit seemed to be LetYourMemoryRest


Adding favicon for this website

Please review and merge.

thankyou for your contribution.
tell me your issue number or you can close this issue related to this PR so that any other candidate can't work on it and you got your points.

thankyou for your contribution.
tell me your issue number or you can close this issue related to this PR so that any other candidate can't work on it and you got your points.

Closed issue #82 as completed

Add Level label on this PR @codervivek5


Modules are not being "rebuilt" during the build/deploy process.

Bicep version
0.23.1 - VS Code Extension only.
Describe the bug
I ran into an intersting/annoying problem with modules. It feels like modules are not getting rebuit properly and cached versions are forming the final ouput.
To Reproduce
Steps to reproduce the behavior:
Create the following 3 files
// Main.bicep
module M 'Module.bicep' = {
  name: 'M'
}

// Module.bicep
var data = loadYamlContent('Data.yaml')
output data array = data

# Data.yaml
- name: First
  value: 1

- name: Second
  value: 2

Run the build. The generated variable will contain the same values as in the Data.yaml file. No problem here.
Now change the Data.yaml to the following and rerun the build.
# Data.yaml
- name: First
  value: 1

- name: Second
  value: 2

- name: Third
  value: 3

The output is exactly the same as the previous time. Thrid value is missing.
Changes are applied only when the Module.bicep file changes.

Closing as a duplicate of https://github.com/Azure/bicep/issues/3426 - we will track progress there


get_creation_receipt can't find contracts deployed by contracts

What went wrong?
> chain.contracts.get_creation_receipt('0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B')
ChainError: Failed to find a contract-creation receipt for '0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B'.

same with otterscan api
cast rpc ots_getContractCreator 0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B
{"hash":"0xa39edcdeb7310150d7be44b8da94e5043d1cf8600d59f855a65c7a9c035b06a7","creator":"0x403689148fa98a5a6fdcc0b984914ae968d788e5"}

How can it be fixed?
after finding a block when the contract code appeared using binary search, rather than looking through receipts, we need to look at block traces. if we had to emulate the otterscan method, the logic would go something like this:
def get_contract_creator(contract):
    creation_block = get_creation_block(contract)
    block_traces = chain.provider._make_request(
        "trace_replayBlockTransactions", [block, ["trace"]]
    )
    for txn_traces in block_traces:
        for trace in txn_traces:
            if (
                trace["type"] == "create"
                and "error" not in trace
                and trace["result"]["address"] == contract.lower()
            ):
                return {"hash": trace["txnHash"], "creator": trace["action"]["from"]}

this would also be much faster than going through all the receipts.
i suggest adding client capabilities detection like discussed earlier and then use the following priortiy:

ots_getContractCreator when otterscan namespace is available
binary search the block + the method i described above when parity trace namespace is available
binary search the block + receipts + user warning about this method possibly being inaccurate otherwise
fallback to etherscan or some other api when the client doesn't have archive state because we can't binary search.

besides, given we only need to know the creation block in ContractEvent.range, it seems wasteful to do so much work identifying the right receipt and then immediately discarding it.
i suggest we split up get_creation_receipt into two functions, one getting a creation block, and another doing something similar to otterscan api. or maybe there could be one func with bool params like (block, txn_hash, creator) that would exit early as soon as it collects all the needed info.

i have also proposed that we use the EtherscanAPI when it is available to get the receipt. The issue there is the design, the assumption of how ExplorerAPI will behave always like Etherscan in that regard.

Note that Etherscan's API also supports finding contract deployments from another contract:
https://docs.etherscan.io/api-endpoints/contracts#get-contract-creator-and-creation-tx-hash

With the combo of #1697 and #1606, this should be resolved. I can't imagine it would be possible or efficient to detect contracts deployed by contracts using the brute force way.


Logo

Lots of programming languages have cool logos.
Like this:

or this:

Maybe we should make one for Brain-Flak.  There is not much of a point to having a logo but I thought it might be fun to come up with one.

Here is a mockup for one idea I had:

I don't know if I really like it that much but I thought I'd get the ball rolling.

That logo might be a bit big, but a logo could be fun. I don't see any reason not to have a logo.

Here's a smaller version:

I think we are done discussing this.


[FLOC-3852] add --cert-directory option to setup-cluster

This looks good, thanks! Just a couple of small points to address. Also, some of the admin tests are failing as they need to be updated to include the new parameters. I'm happy for this to be merged when comments are addressed and the tests are passing. This change will also need a mentor review from @jml.

Looks good @zubron, thanks for doing the review.


Fail the script if any command fails

What does this PR do?
Sets the -e flag so that the script stops running if any step fails. Otherwise, the script would continue and the error could be missed.
If it was intended to not use -e (ie: it's intended for the script not to fail), then feel free to ignore this :)

Thank you for contributing this, Albert! I actually took your advice and adde this in a different PR along with some other changes :smile:
As the changes are already there, I am closing this PR.


just a test checkin

This is a test PR - just adding a space to line

A few markdown conversions.


ITMS-90345: Metadata/Info.plist Mismatch

Issue
I got the following issue from Apple after trying<EMAIL_ADDRESS>
ITMS-90345: Metadata/Info.plist Mismatch - The value for bundle_short_version_string in the metadata.xml file does not match the value for CFBundleShortVersionString in app - DEV [Payload/app - DEV.app].

Fix
index.js - line 37
 .replace('BUNDLE_SHORT_VERSION', ctx.bundleVersion) // <-- this should be ctx.bundleShortVersion
 .replace('BUNDLE_VERSION', ctx.bundleVersion)

I would also change the following log in order to have something like X.X.X (XX) (ie. version (build)):
cli.js - line 38
console.log(`Found Bundle ID "${ctx.bundleId}", Bundle Version ${ctx.bundleShortVersion} (${ctx.bundleVersion}).`);

Except this last issue, everything is working fine !

Good suggestion on modifying the message.

Fixed.


Django 2.1

Django 2.1.4 has been released but this package currently requires 'Django<2.1,>=1.11' as dependency. Seems compatible though, just mentioning, tx.

Thank you for the input :)
Currently I won't get arount to fix it up myself, but we would welcome a merge request.

fixed in #19


perf: replace stream with for loop  when retrieving facets.

I believe streams are quite a bit more expensive compared to a simple for loop. chunk generation is evaluated quite heavily so I think this should help a little with chunk generation. probably not substantial though but the logic change is pretty simple overall. by no means is this a good comparison since both runs are in a unique world with different scheduling for each thread so the profiling does not really quanitfy any significant change from either run.  chunk generation is going to be harder to reproduce overall unless we want to write a JMH benchmark that better verifies this.
before:

after:

I started the VisualVM CPU profiler when creating a plain Core Gameplay world. During the whole process I did not move.

start with render distance "far"
wait for all chunks to be generated (no more active chunk gen threads)
increase render distance to "ultra"
wait for all chunks to be generated (no more active chunk gen threads)

With that setup it does not seem to make a difference, but my system is running way faster than yours it seems...
Before

After

Did another run with JS

LOD chunks: 0
render distance: far
create world (seed hsNAlXJetn4d8a4Z) and wait for all chunks to be generated

Before

After

Did another run with JS

LOD chunks: 10
render distance: far
create world (seed hsNAlXJetn4d8a4Z) and wait for all chunks to be generated

Before

After

I have a ryzen processor so I have a lot of threads I could throw at the problem. wonder why we only allocate 4 @skaldarnar


blog_demo: blogpost listing added

User interface of blogpost list. It's not fully functional such as the pagination, categories, or authors section. Will be working on it

Check commit, "demo: blog listing ui" on branch feat/blog


feat: Add ability to push to multiple registries

Resolves #218.
 As repo is a StringSlice now repo: octocat/example doesn't work any more right?

Thanks! As repo is a StringSlice now repo: octocat/example doesn't work any more right?

As I understand it, it will work, because there is no difference between a list of one element and just a value.
For reliability, I will now check it myself and write the result.

Yep, it works.

Thanks for testing.


bpf: fix up lrp for v4-in-v6 sockets

See commit msg

test-me-please

test-me-please

Hit flake #12596 on net-next. LRP tests passed.


An unexpected space is inserted after wide characters

type a

It may be a bug of Windows10's console because it never occurs on Windows7.

With --no-go-colorable, bug does not appear.

Fixed !


Remove trailing semicolons from files in stdlib

This commit removes trailing semicolons from files in stdlib

Please test your pull request with utils/build-script -RT.


m(breaking): Simplify internal storage and lookup mechanisms, take 2

Rather than using slab like in #45, this PR just uses the ID as an index. This leaks memory when fonts are removed.

While a simple disabled flag is fine, it will "leak" memory in case of Source::Binary.
Adding Source::None instead seems like a way more complicated change.
Will have to think about it.
I'm trying to think about a use case when someone would be constantly adding and removing fonts to a database. And I can think of one in case of SVG with embedded fonts, in which case removal of a font is necessary....
We need a 0(1) indexing, strong/unique indices and an ability to remove a face... Looks like a generational arena to me. It's better than slab, since there are no ABA problem anymore, but we also loose &[T] and our ID is 16 bytes instead of 4 now.
In the end,  fontdb is deceptively simple. It's actually surprisingly hard to have "just a list of fonts".

but we also loose &[T] and our ID is 16 bytes instead of 4 now.

We could use slotmap, which is similar to generational-arena but uses an 8-byte key instead of a 16-byte one.

Yes, it seems like slotmap is our own solution. It will break the API a bit and would require MSRV bump as well.

Superseded by #47


Runtime Error

Hello,
Thank you for sharing your implementation. I am having some trouble running python batch_draw_matching_points.py --resume KAIST.pth.tar --folder test_input
The resulting error is as followed while using pytorch 2.01:
Loading model from KAIST.pth.tar ['test_input/II01985.jpg', 'test_input/II01980.jpg'] Image 1 path: test_input/II01980.jpg Image 2 path: test_input/II01985.jpg /home/jonathansel/SuperThermal-thermal-matching/model/thermal_det_module.py:197: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than tensor.new_tensor(sourceTensor).   psf = im1w_score.new_tensor( Traceback (most recent call last):   File "batch_draw_matching_points.py", line 95, in <module>     kp1, des1, img1 = model.detectAndCompute(img1_path, device, (240, 320))   File "/home/jonathansel/SuperThermal-thermal-matching/model/thermal_net_so.py", line 205, in detectAndCompute     _, kp, des = self.inference(img, img_info, img_raw)   File "/home/jonathansel/SuperThermal-thermal-matching/model/thermal_net_so.py", line 154, in inference     im_score = self.det.process(im_rawsc)[0]   File "/home/jonathansel/SuperThermal-thermal-matching/model/thermal_det_module.py", line 202, in process     im1w_score = F.conv2d( RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same

If you have any suggestions on how to fix please let me know, thank you!

Hey @jonathansel,
I am facing the same problem. Have you been able to solve it?


Bug: Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation

Expected Behaviour
When an exception is thrown by the application, for example ArgumentException, it could be preserved in the logs/tracing
Current Behaviour
Another exception is thrown that does not match the exception my application threw.
Code snippet
//Function.cs

`[Logging(LogEvent = true)]
        [Tracing(CaptureMode = TracingCaptureMode.ResponseAndError)]
        public async Task<APIGatewayProxyResponse> FunctionHandler(APIGatewayProxyRequest apigProxyEvent, ILambdaContext context)
        {
            try
            {
                var location = await _checkip.GetCallingIP();

                Logger.LogInformation(location);

                var body = new Dictionary<string, string>
                {
                    { "message", "hello world" },
                    { "location", location }
                };

                return new APIGatewayProxyResponse
                {
                    Body = JsonSerializer.Serialize(body),
                    StatusCode = 200,
                    Headers = new Dictionary<string, string> { { "Content-Type", "application/json" } }
                };
            }
            catch (Exception e)
            {
                Logger.LogError(e.Message);

                return new APIGatewayProxyResponse
                {
                    Body = e.Message,
                    StatusCode = 500,
                    Headers = new Dictionary<string, string> { { "Content-Type", "application/json" } }
                };
            }
        }`

//In another .CS file
//Checkip.cs

public class Checkip : ICheckip
{
    private static readonly HttpClient Client = new();

    [Tracing(SegmentName = "Location service")]
    public async Task<string> GetCallingIP()
    {
        try
        {
            throw new ArgumentException("error ArgumentException test");
        }
        catch (Exception ex)
        {
            Logger.LogError(ex);
            throw;
        }
    }
}`

Possible Solution
Looking for a way to resolve this error, I realized that removing the [Tracing(SegmentName = "Location service")] from my Checkip.cs file behaves as expected
Before the change:
curl https://*********.execute-api.us-east-1.amazonaws.com/Prod/hello/
{"message": "Internal server error"}

After that
curl https://*********.execute-api.us-east-1.amazonaws.com/Prod/hello/
error ArgumentException test

Steps to Reproduce

Create sample AWS Lambda using sam init
Deploy the code
Following logs using CloudWatch and X Ray

AWS Lambda Powertools for .NET version
latest
AWS Lambda function runtime
dotnet6
Debugging logs
==== CloudWatch logs

2023-02-15T15:19:21.978Z	32b7c80e-fe31-49dc-9db7-43bb98738454	fail	System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.InvalidOperationException: Method may only be called on a Type for which Type.IsGenericParameter is true.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)

==== XRay logs

message
Exception has been thrown by the target of an invocation.

stack trace
RuntimeMethodHandle.InvokeMethod (undefined:undefined)
RuntimeMethodInfo.Invoke (undefined:undefined)
RuntimePropertyInfo.GetValue (undefined:undefined)
RuntimePropertyInfo.GetValue (undefined:undefined)
JsonMapper.WriteValue (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:836)
JsonMapper.WriteValue (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:836)
JsonMapper.WriteValue (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:836)
JsonMapper.WriteValue (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:765)
JsonMapper.WriteValue (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:765)
JsonMapper.ToJson (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:859)
JsonSegmentMarshaller.WriteEntityFields (/_/sdk/src/Core/Internal/Emitters/JsonSegmentMarshaller.cs:153)
JsonSegmentMarshaller.EntityExporter (/_/sdk/src/Core/Internal/Emitters/JsonSegmentMarshaller.cs:65)
<>c__DisplayClass38_0`1.<RegisterExporter>b__0 (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:919)
JsonMapper.WriteValue (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:790)
JsonMapper.ToJson (/_/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs:851)
JsonSegmentMarshaller.Marshall (/_/sdk/src/Core/Internal/Emitters/JsonSegmentMarshaller.cs:58)
UdpSegmentEmitter.Send (/_/sdk/src/Core/Internal/Emitters/UdpSegmentEmitter.cs:73)
DefaultStreamingStrategy.Stream (/_/sdk/src/Core/Strategies/DefaultStreamingStrategy.cs:80)
DefaultStreamingStrategy.Stream (/_/sdk/src/Core/Strategies/DefaultStreamingStrategy.cs:65)
DefaultStreamingStrategy.Stream (/_/sdk/src/Core/Strategies/DefaultStreamingStrategy.cs:65)
AWSXRayRecorder.EndFacadeSegment (/_/sdk/src/Core/AWSXRayRecorder.netcore.cs:410)
AWSXRayRecorder.ProcessEndSubsegmentInLambdaContext (/_/sdk/src/Core/AWSXRayRecorder.netcore.cs:371)
AWSXRayRecorder.EndSubsegment (/_/sdk/src/Core/AWSXRayRecorder.netcore.cs:328)
XRayRecorder.EndSubsegment (undefined:undefined)
TracingAspectHandler.OnExit (undefined:undefined)
<WrapAsync>d__5`1.MoveNext (undefined:undefined)
ExceptionDispatchInfo.Throw (undefined:undefined)
TaskAwaiter.ThrowForNonSuccess (undefined:undefined)
TaskAwaiter.HandleNonSuccessAndDebuggerNotification (undefined:undefined)
lambda_method1 (undefined:undefined)
UserCodeLoader.Invoke (/src/Repo/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/UserCodeLoader.cs:145)
<>c__DisplayClass8_0.<GetHandlerWrapper>b__0 (/src/Repo/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/HandlerWrapper.cs:56)
<InvokeOnceAsync>d__17.MoveNext (/src/Repo/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs:176)

Hey @juniortads thanks for raising this issue and sorry for the late response, we have been dealing with the GA release and got some delays in response. We are back on track now and actively looking into this. Will get back to you as soon as I have something.