hybride inverter and mppt 150/35

hello, since you helped me with the multi rs solar, every thing is OK. I have now a new external victron mppt 150/35.
I wonder if I can use the same ESP32 for multi and mppt ? (serial 16&17) and serial 1&3)
can you help me ?

Could you edit your post and add a new line containing ``` at front and at the end of the code block?

 The communication is read-only
 rx_pin: GPIO 16 # Connect this this GPIO and GND to the MPPT charger
 baud_rate: 19200
 rx_buffer_size: 512

victron:
 uart_id: uart0
 id: victron0
 throttle: 1s

sensor:
 - platform: victron
   victron_id: victron0
   charging_mode_id:
     name: "${name} charging mode id"
   error_code:
     name: "${name} error code"
   yield_total:
     name: "${name} yield total"
   yield_today:
     name: "${name} yield today"
   max_power_today:
     name: "${name} max power today"
   yield_yesterday:
     name: "${name} yield yesterday"
   max_power_yesterday:
     name: "${name} max power yesterday"
   day_number:
     name: "${name} day number"
   battery_current:
     name: "${name} battery current"
   panel_power:
     name: "${name} panel power"
   battery_voltage:
     name: "${name} battery voltage"
   panel_voltage:
     name: "${name} panel voltage"
   ac_out_current:
     name: "${name} ac out current"
     id: ac_current
   ac_out_voltage:
     name: "${name} ac out voltage"
     id: ac_voltage

 - platform: template
   name: "${name} ac out power"
   lambda: |-
      return id(ac_voltage).state * id(ac_current).state;
   update_interval: 1s
   unit_of_measurement: "W"
   accuracy_decimals: 1
   icon: mdi:power

text_sensor:
 - platform: victron
   victron_id: victron0
   alarm_reason:
     name: "${name} alarm reason"
   # TODO: "OR"
   charging_mode:
     name: "${name} charging mode"
   firmware_version:
     name: "${name} firmware version"
   device_type:
     name: "${name} device type"
   serial_number:
     name: "${name} serial number"
   device_mode:
     name: "${name} device mode"
   warning:
     name: "${name} warning"

binary_sensor:
 - platform: victron
   victron_id: victron0
   relay_state:
     name: "${name} relay state"

substitutions:
 name: phoenix-inverter
 external_components_source: github://KinDR007/VictronMPPT-ESPHOME@main

esphome:
 name: ${name}
 platform: ESP32
 board: esp32dev

external_components:
- source: ${external_components_source}
  refresh: 0s

wifi:
 ssid: !secret esphome_ssid
 password: !secret esphome_password

ota:
api:

logger:
 baud_rate: 0
 #esp8266_store_log_strings_in_flash: false

#mqtt:
#broker: !secret mqtt_host
#username: !secret mqtt_username
#password: !secret mqtt_password
#id: mqtt_client

uart:
  - id: uart0
    tx_pin: GPIO17
    rx_pin: GPIO16
    baud_rate: 19200
    rx_buffer_size: 512
  - id: uart1
    tx_pin: GPIO4
    rx_pin: GPIO5
    baud_rate: 19200
    rx_buffer_size: 256

victron:
  - id: victron_multi
    uart_id: uart0
    throttle: 1s
  - id: victron_mppt
    uart_id: uart1
    throttle: 1s

sensor:
 - platform: victron
   victron_id: victron_multi
   charging_mode_id:
     name: "${name} charging mode id"
   error_code:
     name: "${name} error code"
   yield_total:
     name: "${name} yield total"
   yield_today:
     name: "${name} yield today"
   max_power_today:
     name: "${name} max power today"
   yield_yesterday:
     name: "${name} yield yesterday"
   max_power_yesterday:
     name: "${name} max power yesterday"
   day_number:
     name: "${name} day number"
   battery_current:
     name: "${name} battery current"
   panel_power:
     name: "${name} panel power"
   battery_voltage:
     name: "${name} battery voltage"
   panel_voltage:
     name: "${name} panel voltage"
   ac_out_current:
     name: "${name} ac out current"
     id: ac_current
   ac_out_voltage:
     name: "${name} ac out voltage"
     id: ac_voltage

  - platform: victron
    victron_id: victron_mppt
    max_power_yesterday:
      name: "${name} max power yesterday"
    max_power_today:
      name: "${name} max power today"
    yield_total:
      name: "${name} yield total"
    yield_yesterday:
      name: "${name} yield yesterday"
    yield_today:
      name: "${name} yield today"
    panel_voltage:
      name: "${name} panel voltage"
    panel_power:
      name: "${name} panel power"
    battery_current:
      name: "${name} panel current"
    battery_voltage:
      name: "${name} battery voltage"
    day_number:
      name: "${name} day number"
    charging_mode_id:
      name: "${name} charging mode id"
    error_code:
      name: "${name} error code"
    tracking_mode_id:
      name: "${name} tracking mode id"
    load_current:
      name: "${name} load current"

 - platform: template
   name: "${name} ac out power"
   lambda: |-
      return id(ac_voltage).state * id(ac_current).state;
   update_interval: 1s
   unit_of_measurement: "W"
   accuracy_decimals: 1
   icon: mdi:power

text_sensor:
 - platform: victron
   victron_id: victron_multi
   alarm_reason:
     name: "${name} alarm reason"
   # TODO: "OR"
   charging_mode:
     name: "${name} charging mode"
   firmware_version:
     name: "${name} firmware version"
   device_type:
     name: "${name} device type"
   serial_number:
     name: "${name} serial number"
   device_mode:
     name: "${name} device mode"
   warning:
     name: "${name} warning"

  - platform: victron
    victron_id: victron_mppt
    charging_mode:
      name: "${name} charging mode"
    error:
      name: "${name} error"
    tracking_mode:
      name: "${name} tracking mode"
    firmware_version:
      name: "${name} firmware version"
    device_type:
      name: "${name} device type"
    serial_number:
      name: "${name} serial number"

binary_sensor:
 - platform: victron
   victron_id: victron_multi
   relay_state:
     name: "${name} relay state"

  - platform: victron
    victron_id: victron_mppt
    load_state:
      name: "${name} load state"
    relay_state:
      name: "${name} relay state"

Please attach the second device to GPIO5.

I have a board ready with gpio 16&17 and gpio 1&3
I will use gpio 16 and 3 . OK ?

there is a probleme :

Line 52 isn't properly indented.

Using GPIO3 as rx_pin is also fine.

still the same :

I've attached a fixed version of the example (properly indented and lint issues fixed).
example.yaml.txt

I've attached a fixed version of the example (properly indented and lint issues fixed).
example.yaml.txt

hello,
I have this esphome msg :

This is strange. Is your ESPHome installation up-to-date? Which operation system / distribution and version do you use?

with the first yalm (only multi rs solar) it's ok, I can compil it with esphome.

Your ESPHome version is outdated. Some parts of the MPPT implementation (the off_reason_bitmask) uses some helpers functions of recent ESPHome versions. Please update ESPHome or remove the off_reason_bitmask sensor as workaround.

ok, I have updated Esphome, and it's OK I have compiled the file.

hello Sebastian,
I use gpio 16 for multi rs, and it's ok.
1 can't read anything in gpio 03 and I am sure as the data connected to GPIO 03 are ok

I have changed gpio 01&03 for gpio 18&19.
It's working.
I will try today multi and mppt simultaneously

I'v no idea why GPIO3 did not work out of the box. Good luck!

Feel free to close this issue if it's solved!

hello, it's working well, but I had to change entity name as they can't be same for multi and mppt.
A big thanks.


Allow .gdshader files in 3to4 conversion

I added a check for ".gdshader" files in this line, as proposed by @qarmin in #69597
https://github.com/godotengine/godot/blob/44c0bfc94d81e758b39a8ee43df5915d64200ed6/editor/project_converter_3_to_4.cpp#L2391

Needs a rebase to fix a temporary CI issue.

Is there anything i need to do or is this just waiting to be merged ?

See my previous comment. The CI didn't pass, and it needs to be rebased.
If you're not familiar with rebasing PRs, I can do it.

Thanks! And congrats for your first merged Godot contribution :tada:


Hi, i am getting the follwing error after a brand new project installation with expo init:

Hi, i am getting the follwing error after a brand new project installation with expo init:
Module not found: Can't resolve '@babel/runtime/helpers/classCallCheck' in '..\node_modules\react-native-bootstrap-styles\src'
Originally posted by @om1 in https://github.com/andrenerd/react-native-bootstrap-styles/issues/58

Hey @Robin-Gad, unfortunately I don't know what the cause of this error is, but it does not seem to be Firebase related. Consider posting a question with the react-native tag on StackOverflow.

Hey @Robin-Gad, unfortunately I don't know what the cause of this error is, but it does not seem to be Firebase related. Consider posting a question with the react-native tag on StackOverflow.


Default system message

I altered the "user" method and added a "content= ChatConfig.chat_role_system_message"
`    async def user(msg: str, translate: bool, buffer: BufferedUserContext) -> None:
"""Handle user message, including translation"""
if len(buffer.current_user_message_histories) == 0 and UTC.check_string_valid(buffer.current_chat_room_name):
buffer.current_chat_room_name = msg[:20]
await CacheManager.update_profile(user_chat_context=buffer.current_user_chat_context)
    # Add default system message at the start of a conversation
        await MessageManager.add_message_history_safely(
            user_chat_context=buffer.current_user_chat_context,
            content= ChatConfig.chat_role_system_message,
            role=ChatRoles.SYSTEM,
        )
        await SendToWebsocket.init(buffer=buffer, send_chat_rooms=True, wait_next_query=True)`

and in ChatConfig I added
chat_role_system_message: Optional[str] = environ["CHAT_ROLE_SYSTEM_MESSAGE"]
Now the ai behaviour is more predictable

Actually, the changes you posted are already being done by the message_histories_to_list function in prompts.py. The prefix_prompt and suffix_prompt are each supplied by the agenerate_from_openai function in text_generation.py. These values can be defined in ChatConfig in config.py.
def message_histories_to_list(
    user_chat_roles: UserChatRoles,
    parse_method: Callable[[MessageHistory], Any],
    user_message_histories: list[MessageHistory],
    ai_message_histories: list[MessageHistory],
    system_message_histories: Optional[list[MessageHistory]] = None,
    prefix_prompt: Optional[str] = None,
    prefix_prompt_tokens: int = 0,
    suffix_prompt: Optional[str] = None,
    suffix_prompt_tokens: int = 0,
) -> list[Any]:
    message_histories: list[dict[str, str]] = []
    if prefix_prompt is not None:
        message_histories.append(
            parse_method(
                MessageHistory(
                    role=user_chat_roles.system,
                    content=prefix_prompt,
                    tokens=prefix_prompt_tokens,
                    is_user=False,
                )
            )
        )
    if system_message_histories:
        for system_history in system_message_histories:
            message_histories.append(
                parse_method(system_history)
            )  # append system message history
    for user_message_history, ai_message_history in zip_longest(
        user_message_histories,
        ai_message_histories,
    ):
        if user_message_history is not None:
            message_histories.append(parse_method(user_message_history))
        if ai_message_history is not None:
            message_histories.append(parse_method(ai_message_history))
    if suffix_prompt is not None:
        message_histories.append(
            parse_method(
                MessageHistory(
                    role=user_chat_roles.system,
                    content=suffix_prompt,
                    tokens=suffix_prompt_tokens,
                    is_user=False,
                )
            )
        )
    return message_histories

Prefix/suffix values not read. /test shows system[] as empty. I am investigating further. However my old chatrole_system code worked.

prefix/suffix is not shown in /test.
This prompt is sent as system prompt, but it's not real system prompt.
You can test it by setting prefix as 'Respond in chinese'.

Yes it reads in Chinese. Hiding policy was going to be my next issue :) . However I need some more clarity on this feature;

Is prefix sent as system role prompts to openai
Is prefix sent once or attach to a chat life-cycle
Is suffix appended to each message or just at the beginning
what happens to prefix/suffix after summarization
why is "I want you to act as x" don't appear to be working with prefix
I will examine the code shortly but these are the questions I hope to answer

Is prefix sent once or attach to a chat life-cycle

Prefix remains in whole chat session while using corresponding chat model. Not just sent once.

Is suffix appended to each message or just at the beginning

Suffix is appended to the last user input message. For example,

Trial 1: {"user": "hi", "system": YOUR_SUFFIX}
Trial 2: {"user": "hi", "assistant": "How can I assist you today?", "user": "say this is TEST", "system": YOUR_SUFFIX}

What happens to prefix/suffix after summarization

Prefix/Suffix does not affect the summarization task at all. The summarization task only activates for single user input message or ai output message. Note that the input message of summarization task is only the single message, not sending context messages.

For now, prefix/system is somewhat constant message, not considering each user's information. Prefix is silently appended to the first place of context messages, and suffix is also silently appended to the last place of context messages, only when sent to LLM.
Regarding username reminder, that can be performed using PromptTemplate, which replaces curly-bracketed string({}) with given information.
For example, let's say that PromptTemplate is defined as below:
SYSTEM_PREFIX: PromptTemplate = PromptTemplate(
    template="The user name is {user_id}",
    input_variables=["user_id"],
    template_format="f-string",
)

Now the SYSTEM_PREFIX can be dynamically formatted whenever the user enters a chat. However, there are still some problems to solve:

input_variables must be determined before the server starts.
The value for input_variables must also be determined before the server starts. You must define these in somewhere.
Prompt token evaluation is needed each time PromptTemplate is formatted.

Here's current code snippet for constant prefix/suffix.
@dataclass
class LLMModel:
    ...
    def __post_init__(self):
        user_chat_roles = self.user_chat_roles
        predefined_format = {
            "user": user_chat_roles.user,
            "USER": user_chat_roles.user,
            "ai": user_chat_roles.ai,
            "AI": user_chat_roles.ai,
            "char": user_chat_roles.ai,
            "system": user_chat_roles.system,
            "SYSTEM": user_chat_roles.system,
        }
        # If the global prefix is None, then use the prefix template
        if ChatConfig.global_prefix is None:
            if isinstance(self.prefix_template, PromptTemplate):
                # format the template with the predefined format, only for input variables
                self.prefix = self.prefix_template.format(
                    **self._prepare_format(
                        self.prefix_template.input_variables, predefined_format
                    )
                )
            elif isinstance(self.prefix_template, str):
                self.prefix = self.prefix_template.format(**predefined_format)
            else:
                self.prefix = None
        else:
            self.prefix = ChatConfig.global_prefix
    ...

To do dynamically formatting prompte template, I would suggest to add some init function before enter chat.
The function might look like:
async def initialize_chat(buffer: BufferedUserContext) -> None:
    # YOUR CODE HERE
    # e.g.
    SYSTEM_PREFIX: PromptTemplate = PromptTemplate(
        template="The user name is {user_id}",
        input_variables=["user_id"],
        template_format="f-string",
    )
    await MessageManager.add_message_history_safely(
        user_chat_context=buffer.current_user_chat_context,
        content=SYSTEM_PREFIX.format(user_id=buffer.user_id),
        role=ChatRoles.SYSTEM,
    )

Since this function is long custom function, it cannot be defined in .env.
Any thought to this idea?

Thanks for the clear and long explanation. I think accessing user profile information is a good way of personalizing the chat from onset. Openai just enabled function calls, does this make things easier? The suffix as-is right now is great and we can focus attention on cleaning a few other things.
I have deployed an instance to use for everyday business and will start reporting on my experiences.

The function call is currently being used to call the browsing function.
However, user information and function calls don't seem to have much to do with each other. A function call is a signal to get a structured response from the LLM to automatically call already defined functions. If you want the LLM to know the user's name, you can define an additional function to provide the user's information, but in my experience, it doesn't tend to actively call functions. Of course, you can force a function call, but this will not generate any other prompts other than the function call, and if you want to introduce function calls into your regular prompting, you'll have to find another way to do it, since you won't know what form that function prompt will take, which will further reduce your token limit.


Mouse curser behave abnormal it keeps on jumping

Hello Team
Mouse curser behave abnormal it keeps on jumping to other task and keeps on opening it, making it difficult to work on vs code. it freezes jumps and open all other contents.
This happens only with the vs code editor while I am working with other application it does not happen like that .

Does this issue still occur if you disable all extensions?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Missing Group-Calling.zip in latest build fails deployment in Azure

The following link
http://github.com/azure-samples/communication-services-web-calling-hero/releases/latest/download/group-calling.zip
in the https://github.com/Azure-Samples/communication-services-web-calling-hero/blob/main/deploy/azuredeploy.json
gives a 404 as the latest build only has 2 assets (from 21 hour ago)

Thanks for reporting that, and sorry about the breakage.
I'll see why the source tarball wasn't uploaded.

FTR: I created the last release as a draft, and then published it. The Github actions we have setup to create the group-calling.zip artifact only triggers when a new release is created, not when a draft is published.
I've created a new release to unbreak the deployment flow.
Will take an AI to fix the actions as well.

Verified that the Deploy to Azure badge now works from github web.
Please reopen if you still see failures.
Thanks again!


mongomock not working with mongoengine

Code to reproduce this problem:
from mongoengine import connect, Document, fields

connect('mongoenginetest', host='mongomock://localhost')

class User(Document):
    _id = fields.IntField(primary_key=True)
    name = fields.StringField()

user = User(_id=1, name="Alice")

User.objects.insert(user) # TypeError: 'Collection' object is not callable

Looks like it is because mongomock doesn't implement write_concerns at all. and it calls collection.write_concern.document while doing insert.
And collection.write_concern doesn't return a WriteConcern object, it just returns another collection.
And I think this could solve the problem:
class Collection(...):
    ...
    def __init__(...):
        self.__write_concerns = WriteConcern()

    @property
    def write_concerns(self):
        return self.__write_concerns

# and in write_concerns.py, we can do
class WriteConcern(object):
    __slots__ = ("__document", "__acknowledged", "__server_default")

    def __init__(self, w=None, wtimeout=None, j=None, fsync=None):
        self.__document = {}

    @property
    def document(self):
        return self.__document.copy()

Hope my suggestion helps

Hi, @MacHu-GWU, can you check mongoengine with my modification of mongomock please?


FileNotFoundError: [Errno 2] No such file or directory: 'data/bert-large-uncased/config.json'

Plz help!!!!!!! Thank you so much!!!!!!!!!! Really need to solve this asap!!!!!
I tried to run the refcoco grounding task with this command
python3 run.py --task "refcoco_bbox" --dist "all" --config "configs/finetune/refcoco_grounding_large.yaml" --checkpoint "x2vlm_ckpts_2release/x2vlm_large_1b.th"  --output_dir "output/tmp"
I got the follwing error. I am very new to the field and cannot figure out why. Do I need to download config file from huggingface or something?
Traceback (most recent call last):
File "Grounding_bbox.py", line 283, in
main(args, config)
File "Grounding_bbox.py", line 118, in main
model = XVLMForGrounding(config=config)
File "/home/letitiabanana/X2-VLM/models/model_grounding.py", line 7, in init
use_contrastive_loss=False, use_matching_loss=False, use_mlm_loss=False, use_bbox_loss=True)
File "/home/letitiabanana/X2-VLM/models/xvlm.py", line 476, in init
config_text=config_text)
File "/home/letitiabanana/X2-VLM/models/xvlm.py", line 541, in build_text_encoder
use_mlm_loss=use_mlm_loss, config_text=config_text)
File "/home/letitiabanana/X2-VLM/models/xvlm.py", line 289, in build_text_encoder
cross_start_at=config['text_fusion_start_at'])
File "/home/letitiabanana/X2-VLM/models/xvlm.py", line 130, in get_bert_config
config = BertConfig.from_json_file(os.path.join(encoder_rpath, 'config.json'))
File "/home/letitiabanana/anaconda3/envs/x2vlm/lib/python3.7/site-packages/transformers/configuration_utils.py", line 644, in from_json_file
config_dict = cls._dict_from_json_file(json_file)
File "/home/letitiabanana/anaconda3/envs/x2vlm/lib/python3.7/site-packages/transformers/configuration_utils.py", line 649, in _dict_from_json_file
with open(json_file, "r", encoding="utf-8") as reader:
FileNotFoundError: [Errno 2] No such file or directory: 'data/bert-large-uncased/config.json'

Has solved? I meet the same problem.


Text prediction appending space unnecessarily

Bug:
When invoking text prediction, having a white space character as the last character in the user input, will result in more white space character being appended at each invoke.
Though it should list the possible predictions, the behaviour does not. It appends white space instead.

This solution for this issue has been attempted. Future pull request could fix this.

Issue has since been fixed in commit 7ea1be14457cda0615deae4992c33b58c77c9f39.


Nuxt 3 issue "Cannot read property 'resolveAlias' of undefined"

Version
@nuxtjs/tailwindcss: 4.2.1
nuxt<EMAIL_ADDRESS>Reproduction Link
https://codesandbox.io/s/hungry-diffie-k8odx
Steps to reproduce
none
What is Expected?
no error to be produced
What is actually happening?
error is produced:
ERROR  Cannot restart nuxt:  Cannot read property 'resolveAlias' of undefined
  at Object.tailwindCSSModule (node_modules/@nuxtjs/tailwindcss/dist/index.js:51:36)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:1196:17)
  at initNuxt (node_modules/nuxt3/dist/index.mjs:817:11)
  at processTicksAndRejections (node:internal/process/task_queues:96:5)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6762:9)

See also #386

@nuxt-bridge is same.

An example of nuxt3 with tailwind: nuxt3-tailwind
Thanks a lot to @JDIZM

I think this package is no longer needed, because nuxt now uses webpack 5 and already supports tailwindcss.
Install tailwind as next.js:

Install Tailwind via npm npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
Create your configuration file: npx tailwindcss init -p
Configure Tailwind to remove unused styles in production

// tailwind.config.js
module.exports = {
  mode: "jit",
  purge: [
    './components/**/*.{vue,js}',
    './layouts/**/*.vue',
    './pages/**/*.vue',
    './plugins/**/*.{js,ts}',
    './nuxt.config.{js,ts}',
  ],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}

Include Tailwind in your CSS

/* ./assets/css/tailwind.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ./assets/css/tailwind.css */
@tailwind base;
@tailwind components;
@tailwind utilities;
not import files on server include domain , works only on localhosst.

After upgrading to the latest nuxt3 version, tailwind doesn't work for me anymore. I follow the instructions and yesterday it was working as expected. Haven't change anyhting, but today it doesn't work, without changing anything. It also doesn't show any erros.

@neilmispelaar. @MrParano1d update fixed jit.
https://github.com/productfrontenddeveloper/nuxt3-app

@neilmispelaar. @MrParano1d update fixed jit.
Working nuxt3 with https://github.com/productfrontenddeveloper/nuxt3-app ✅✅✅✅

fixed jit jit:true change  -> mode: 'jit'

An example of nuxt3 with tailwind: nuxt3-tailwind
Thanks a lot to @JDIZM

yes, this the solution I found

For me worked really simple with following Tailwind CSS Docs and @neilmispelaar recommendation.
# Generate a new nuxt3 app
npx nuxi init nuxt3-app

# go into directory
cd nuxt3-app

# install dependencies
npm install

# install Tailwind necessary dependencies
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

# generate Tailwind and Postcss config
npx tailwindcss init -p

nuxt.config.ts
import { defineNuxtConfig } from 'nuxt3'

export default defineNuxtConfig({
  // Add entry css file
  css: ['tailwindcss/tailwind.css'],
  build: {
    postcss: {
      // add Postcss options
      postcssOptions: require('./postcss.config.js'),
    },
  },
})

You will need to update Tailwind config to purge needed files. Can be copied from Tailwind Module

This worked amazingly.
Had to change css: ['tailwindcss/tailwind.css'], to css<EMAIL_ADDRESS>for better flexibility over my tailwind.css.
Expecting an update to the tailwind docs around this.

I think this one very simple & nice solution 👍

@productdevbook Good point.
In my case tailwindcss/tailwind.css never changes. Only tailwind.config.js and postcss.config.js can be changed. And we can achieve a kind of Server HMR by adding watch to config. Use app.vue only when have your custom CSS file like assets/css/tailwind.css
nux.config.ts
import { defineNuxtConfig } from 'nuxt3'

export default defineNuxtConfig({
  css: ['tailwindcss/tailwind.css'],
  // Restart server when these change
  watch: ['~/postcss.config.js', '~/tailwind.config.js'],
  build: {
    postcss: {
      postcssOptions: require('./postcss.config.js'),
    },
  },
})

watch option isn't working for me. Anyone managed to use it to trigger a rebuild+refresh? Don't really care if it does HMR or not in this case.

watch: ['~/postcss.config.js', '~/tailwind.config.js'],

Trying to figure this out but no luck! Has anyone managed to get it to reload?

5.0.0-alpha released with Nuxt 3 and Tailwindcss 3 support. Release notes https://github.com/nuxt-community/tailwindcss-module/releases/tag/v5.0.0-0.


Integration Test - Release - 2021/12/24 07:48:44

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign NonAllowedUser

#unassign PRMergerTest1


feat: StarSearch for Workspaces

Description
This PR introduces StarSearch for Workspaces. It is currently behind a feature flag with only the core team having access to it. If you need to  add a design partner or someone else to the feature flag, see #3590.
Sharing of StarSearch conversations is currently not implemented.
StarSearch history in general and for workspaces will ship in another pull request.
Related Tickets & Documents
Closes #3508
Mobile & Desktop Screenshots/Recordings
Smaller Screen Experience
https://github.com/open-sauced/app/assets/833231/1e45148b-20bf-484d-984a-d10ea4d7e597
Larger Screen Experience

Steps to QA

Tier (staff will fill in)

[ ] Tier 1
[x] Tier 2
[ ] Tier 3
[ ] Tier 4

[optional] What gif best describes this PR or how it makes you feel?

As mentioned this is behind a feature flag. The StarSearch panel opens without any animation at the moment. It will behave like the app side bar in a follow up PR.


feat: dont build tests in non assert wasm build

Description
Cuts about a minute and a half off the build time
Checklist:

[ ] I have reviewed my diff in github, line by line.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to the issue(s) that it resolves.
[ ] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[ ] The branch has been merged or rebased against the head of its merge target.
[ ] I'm happy for the PR to be merged at the reviewer's next convenience.

All of the CI has passed, but for some reason Github is showing them as still running. Going to merge.


Etrian Odyssey III: The Drowned City USA

I don't have a PAL copy so yknow.

Suggestion. Can you rename the BJ3E folder to BJ3? We currently don't have the Japanese version of this banner, and we want to be inclusive.
Looks great otherwise though, thanks!

Closing due to no response from author.

Reopening because I completely forgot about this, I'll rename as necessary.


Two Versions of D3; Why?

Very rarely, in not-obviously-reproducible circumstances, we see errors with d3 that look like this:

it may be a race condition. However, we also appear to have two different versions of d3 on Isaac:

v3.4.8 in app/js/lib/honest/d3.min.js
v3.5.5 in app/bower-components/d3/d3.js

Both are loaded into the browser on page load, but so far as I can tell only the /lib/honest/... one is used by the filter . . .
Why do we have 2 versions, how do we get to one version and why does it sometimes explode?

So the errors were caused by a Chrome Extension (this one: 0/10 do not recommend!), and are nothing to do with Isaac!
I updated app/js/lib/honest/d3.min.js to v3.5.17 which is the last and most up-to-date version of D3 v3 there is. This seems to still work fine; but bower still manages a D3 dependency, so we should ideally change that version to 3.5.17 and stop using the hardcoded minified file. I'm not sure how we do this . . .


DT_N_INST error for TMP116 sample

TMP116 sensor sample is unable to compile due to what seems to be an issue finding the tmp116 device driver. I am currently trying to compile for the BBC microbit_V2. However I additionally have tried to compile for the Nucleo STM32F401RE board which is the tested board for the sample. Both fail with the the same error.
Running on Ubuntu VB from Windows, compiling using west.
The error message received is:
error: 'DT_N_INST_0_ti_tmp116_P_label' undeclared (first use in this function)
305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))

Have you added the ti,tm116 to the devicetree for those boards?

I had not, compiling correctly now. Thank you

i am also getting similar type of error 'DT_N_INST_0_arm_v7m_nvic_P_arm_num_irq_priority_bits' undeclared (first use in this function)
what should i add into devicetree and how to add?
this is my board devicetree
/dts-v1/;
#include <arm/nxp/nxp_s32g274aabvuc_a53.dtsi>
#include "s32g274aabvuc_a53.dtsi"
/ {
model = "NXP S32G374AABVUC on Cortex-A53 cores";     //changed
compatible = "nxp,s32g274";              //changed
chosen {
	zephyr,sram = &sram0;
	zephyr,canbus = &can0;
	zephyr,console = &uart0;
	zephyr,shell-uart = &uart0;
};

aliases {
	watchdog0 = &swt0;
};

};
&mru0 {
rx-channels = <1>;
status = "okay";
};
&enetc_psi0 {
mboxes = <&mru0 0>;
mbox-names = "rx";
};


Github navigation merges with background color in Dark mode and Instagram navigation doesn't have any hover

do you mean the current website?

yes the link in description one

thank you for the tip. the site is temporarily used during development.


⚠ Bofrost.at has degraded performance

In 28c2c00, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1178 ms

Resolved: Bofrost.at performance has improved in a4f74ae after 14 minutes.


Fixed memory leak with py_func (#18292)

This PR fixes the memory leak described in #18292. Tests for py_func are running.
Some internals:

Replaced dict in FuncRegistry._funcs by weakref.WeakValueDictionary (python 2.7, python 3.x).
Replaced the CleanupFunc by a direct reference to the function. Thus renamed _cleanup_py_funcs_used_in_graph to '_py_funcs_used_in_graph`.
Improved tests to cover the leak. Leak detection is now precise (uses gc.collect()).

Added E-Mail adress to CLA

Nagging Assignee @protoget: It has been 18 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Fix precision of valueRef generator

This PR fixes a bug with the valueRef schema generator -- the value property will be of the specified type. This is useful for making the numberValue, stringValue, etc. definitions more precise, and is particularly helpful for the enumerated definitions (e.g., align, baseline, and so forth).

Modified, then released in vega-parser v1.0.0-beta.60.
Additional changes made:

Add support for nullable value types, particularly nullable string for color and fontWeight properties.
Allow arbitrary value types when scale property is also present.
Improve strictness such that band property must co-occur with scale property.


Gan updates

API improvements.
Flexible training using API
Callback Decorators 🥳
GAN Tutorials
Improvements in documentation
Bug Fixes

Codecov Report

Merging #88 (96fbcdd) into main (0478f21) will increase coverage by 0.50%.
The diff coverage is 90.31%.

@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   89.30%   89.81%   +0.50%
==========================================
  Files          66       69       +3
  Lines        2188     2277      +89
==========================================
+ Hits         1954     2045      +91
+ Misses        234      232       -2

Impacted Files
Coverage Δ

torchflare/callbacks/early_stopping.py
94.44% <50.00%> (-2.78%)
:arrow_down:

torchflare/interpreters/visualize.py
46.15% <66.66%> (ø)

torchflare/experiments/core.py
69.23% <69.23%> (ø)

torchflare/callbacks/lr_schedulers.py
96.61% <85.71%> (-1.61%)
:arrow_down:

torchflare/experiments/base_backend.py
86.48% <86.48%> (ø)

torchflare/callbacks/model_checkpoint.py
94.44% <90.90%> (-2.23%)
:arrow_down:

torchflare/experiments/simple_utils.py
78.26% <91.30%> (+3.26%)
:arrow_up:

torchflare/experiments/experiment.py
96.42% <92.85%> (+0.02%)
:arrow_up:

torchflare/callbacks/callback_decorators.py
98.07% <98.07%> (ø)

torchflare/callbacks/__init__.py
100.00% <100.00%> (ø)

... and 15 more

Continue to review full report at Codecov.

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


fix pushAndRemoveUntil not play push animation

Description
why didn't the animation play? because newRoute overlay puted below removed overlay pages. I change
newRoute.install(_currentOverlayEntry); to newRoute.install(null); for put newRoute overlay to top
Documentation for the method OverlayState.insertAll(Iterable<OverlayEntry> entries, { OverlayEntry above }) says:

If above is non-null, the entries are inserted just above above. Otherwise, the entries are inserted on top.

current animation:

fixed animation:

Related Issues
fixed https://github.com/flutter/flutter/issues/25080
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] My PR includes tests for all changed/updated/fixed behaviors (See [Test Coverage]).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]).
[x] No, this is not a breaking change.

good job. I'am waiting for marged.

@pepegich Please make sure that you have met all the requirements listed in the checklist of the PR description before opening a PR. I am going to close this for now. Feel free to re-open when you can check all the boxes.

@goderbauer I can't reopen issue, me need open issue as copy of that?

closed and not merged?


Notebook: semantic segmentation

What does this PR do?
adding notebook with semantic segmentation
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@Borda what was the issue here ? I see a CUDA memory error


number of renders/switching in tab navigator when nesting of stack and tab navigator

thank you for such awesome library.
Somewhat similar to #1369 which closed no solution provided
I faced problem in IOS in below scenario but works fine in android:
stacknavigator :
  - auth Page1
       - auth Page2
       - tab page

tab page -
       -tab1
       -tab2
       -tab3
       -tab4 (its Stacknavigator)
          -stack page1
          -stack page2
          -stack page3

Problme ONLY IN IOS not android:
when i click to tab4 is continously switch between tab3 and tab4 many times and stop on either tab. Code of same:
`     AppHomeScreen: {screen: AppHomeScreen, navigationOptions:{...navOptions, title:'home'}},
        Messages : { screen: MessageScreeen,  navigationOptions:{...navOptions, title:'messages'}},
        Trades: { screen: TradeScreen, navigationOptions:{...navOptions, title:'trades'}},
        more : {
            screen: StackNavigator(
                {
                    MoreHome :{ screen : MoreOptions, navigationOptions:{...screenWithoutHeaderNavOptions}},
                    History : {screen : History, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'HISTORY'}},
                    pay : {screen : pay, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'pay}},
                    Settings : {screen : Settings, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'SETTINGS'}},
                    HowToPlay : {screen : HowToPlay, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'HOW  LINK  WORKS'}},
                    ContactUs : {screen : ContactUs, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'CONTACT  US'}},
                    Terms : {screen : Terms, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'TERMS'}},
                    Privacy : {screen: Privacy, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'PRIVACY'}},
                    ConfirmationScreen : {screen : ConfirmationScreen, navigationOptions: {...screenWithoutHeaderNavOptions, title:'CONFIRMATION'}},
                    MyInformation :{screen : MyInformation, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'MY  INFORMATION'}},
                    MyCommunity :{screen : MyCommunity, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'MY  COMMUNITY'}},
                    MyBusiness :{screen : MyBusiness, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'MY  BUSINESS'}},
                    InviteConfirmation :{screen : InviteConfirmation, navigationOptions:{...screenWithoutHeaderNavOptions,title:'CONFIRMATION'}},
                    DependLimit :{screen : DependLimit, navigationOptions:{...screenWithoutHeaderNavOptions,title:'DEPENDENT  LIMIT'}},
                    VerifyAccount : {screen : VerifyAccount, navigationOptions:{...screenWithLeftHeaderNavOptions,title:'VERIFY  ACCOUNT'}},

                    AuthHomePage : {screen:AuthHomePage, navigationOptions:{tabBarVisible:false}}

                },
               {
                    headerMode: 'none',
                    navigationOptions : {
                        tabBarLabel:'more',
                        title:'MORE  OPTIONS',
                        tabBarLabel: 'more',
                        tabBarIcon: ({tintColor,focused }) => (
                            <Icon size={20} name='more-horiz'  color={focused ? stringConstants.APP_COLOR : stringConstants.INACTIVE_ICON_COLOR}/>
                        ),
                    }
               }
            ),````

another thing clicking on a home tab not moves screen but sliding does, slow render when sliding but perfectly fine in tab press

Closing because you haven't followed the issue template; please open a new one that follows the template.
Without that, it's nearly impossible to understand & investigate the issue. I suggest you also try (in the new issue) to answer/explain in a way that fits these questions:

have you tried updating to the latest release?
does it happen on both Debug and Release modes?
does it happen with Debugger On or Off? Both?
Can you provide a repo or a snack to reproduce this issue?

https://github.com/react-community/react-navigation/issues/1369
closed url


How to manage env vars on production for ApiPlatform projects ?

On Alto, we had a lot of issues managing env vars on production.
We tried:

using the dotenv component => it didn't work for the CLI when deploying with Ansistrano.
put the vars in /etc/environment   => it didn't work for the webserver

Potential solution: use parameters.yaml files
Source :

https://stackoverflow.com/questions/49189611/symfony-4-env-files-and-production

@MaximeThoonsen on Wero project, @Miniplop uses a specific role and Ansible Vault to set env variables on production. @Miniplop is it working?


Bump nokogiri from 1.11.4 to 1.13.6

Bumps nokogiri from 1.11.4 to 1.13.6.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: nokogiri
dependency-type: indirect
...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

merge approved

merge approved


Add Expr::dump(ConstraintSystem *) and ConstraintSystem::dump(Expr *).

Add dumpers to dump from the constraint system type cache.
There isn't a TypeLoc dumper per-se, but the places where we dump
TypeLocs in expression dumping will read the type from the cache.

@swift-ci Please smoke test

FYI @xedin and @DougGregor, for use while debugging the constraint solver.

Odd failure in Linux tests:
<EMAIL_ADDRESS>line 3: 11652 Aborted                 (core dumped<EMAIL_ADDRESS>
I'll re-run to see if it reproduces, but I wonder if we have something non-deterministic going on here, @milseman?

@swift-ci Please smoke test Linux platform

Holding on to see if this resolves the Linux test failure, and then I will try testing again.

@lancep has been investigating some Linux String failures.

@swift-ci Please smoke test Linux platform

Nitpick: Expr::dump(ConstraintSystem *) just seems weird from a layering perspective. Is there really a reason to have both of these?

@jrose-apple Not strictly necessary. I'll remove it. We have other things that take ConstraintSystem as parameters to dump, but they are components of a constraint system (that don't hold a back reference to it), and it seemed like it might be to have this as a convenience. It's easy enough to just always dump from the CS, though.

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge


make hasFixes default to false

@kasperpeulen Thanks. As you can see this causes the tests to regress. I've included it in #123 which should fix the problem both in the default and in the code that assembles the results before return

nice :)


GNMI-1.13: Enabling deviation transceiver_thresholds_unsupported

Updating metadata.textproto to have deviation transceiver_thresholds_unsupported.
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Functional Test Report for #2209 / 5e9d69db7da15132349cddd3fe90915acdd929ec
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

gNMI-1.13: Telemetry: Optics Power and Bias Current

Cisco 8000E

gNMI-1.13: Telemetry: Optics Power and Bias Current

Cisco XRd

gNMI-1.13: Telemetry: Optics Power and Bias Current

Juniper cPTX

gNMI-1.13: Telemetry: Optics Power and Bias Current

Nokia SR Linux

gNMI-1.13: Telemetry: Optics Power and Bias Current

Openconfig Lemming

gNMI-1.13: Telemetry: Optics Power and Bias Current

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

gNMI-1.13: Telemetry: Optics Power and Bias Current

Cisco 8808

gNMI-1.13: Telemetry: Optics Power and Bias Current

Juniper PTX10008

gNMI-1.13: Telemetry: Optics Power and Bias Current

Nokia 7250 IXR-10e

gNMI-1.13: Telemetry: Optics Power and Bias Current

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.333%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1409

Relevant Lines:
3041

💛  - Coveralls


StackTrace outputs some interesting method names.

Currently the StackTrace outputs odd methods in the method header. Figure out what's wrong with the example stacktraces.

This was partially fixed in commit: 0f9cf28d1d622d1b52d800536ef7a146e861138b. The other part is enableling and showing source mapping. (Soon™)


Not working, outputs an export default string

The output in my app is export default "path/to/file.md"

you can try it.
import App from "path/to/file.md"
export default APP


Added Custom loading image view option for SVProgressHUD with example

Added Custom loading image view option for SVProgressHUD with example as below.

you forget to update hud view frame when there are both animating img and status string.

Dear 859988748,
Thanks for your advice. I fixed the version and committed. Please check

it if you are free.
Thanks and Regards,
Kit
2016-07-22 12:24 GMT+08:00 859988748<EMAIL_ADDRESS>
you forget to update hud view frame when there are both animating img and
status string.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SVProgressHUD/SVProgressHUD/pull/644#issuecomment-234451582,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALNDswlYSOTUTvwmnpMUHrFaT0fsUjNJks5qYEYFgaJpZM4JOZIB
.

Thanks for your rapid response.
Maybe you want to enlarge the black hud view frame when using an image with 90pt * 90 pt, cause, the animation image will be clipped

I think it should be ok.

sorry, forget to setMinimumSize.
solved

Thanks. In the example, I set the MinimumSize when selected the custom animation type. Actually, I can set the size depending on the loadingImageView size.

if you don't set MinimumSize, the problem I found may happened. Seems can't auto fit image size.

Yes. I can set the size depending on the image size.

Fix the size problem would be better.
I'm trying to fix that. I think it needs to be compatible with string only mode and string and Image mode. Kind of more code need to be written.

The Updated version is committed. Updated the HUD size depending on the custom loading image view size.

Thanks for great idea. However from my opinion this is way off for the HUD as we want to keep it very simple. In addition a question: Why not use a Gif and why do you use 11 images?

Because of the needs of my custom situation, I have to add the custom loading image. Furthermore, this plugin is so popular. I think other people may have the same need as me so I share it to public.
Since the quality of png is better than the Gif image, I use png image sequence rather than Gif.

I understand and would merge. However, for the demo we must get rid of the xcassets as we support iOS downto version 6. Otherwise I will start to review this PR, as I like it now a little more after thinking about it. In addition: You need to add some documentation (e.g. Readme.md) to help others use this.

Got it. I will prepare the readme file and place the images into resource folder avoiding using the xcassets.

Any feedback regarding the requested changes?

Not ready for merge?


[Event Change] Codeunit::"Item Jnl.-Post Line" - Function SetOrderAdjmtProperties - OnSetOrderAdjmtPropertiesOnBeforeSetCostIsAdjusted

We like to request the following Event:
Object: Codeunit::"Item Jnl.-Post Line"
Function: SetOrderAdjmtProperties
Publisher Event: OnSetOrderAdjmtPropertiesOnBeforeSetCostIsAdjusted
Reason: add an extra Parameter
Where is the event placed:
Event Code:
[IntegrationEvent(false, false)]
local procedure OnSetOrderAdjmtPropertiesOnBeforeSetCostIsAdjusted(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var ModifyOrderAdjmt: Boolean; OriginalPostingDate: Date; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Update Spatial Mapping documentation for HoloLens 2

Docs Build status updates of commit 9ac3f43:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/mixed-reality, working directory: W:\xtmo-s, target branch: HEAD, target branch commit: 90d5884b55b28d4e20cef4ec909252be2a15814e, source commit: 9ac3f4306084942f2ddb48c3179595ceafd9684c.

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.

Docs Build status updates of commit 7fc7090:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/scene-understanding-SDK.md
:bulb:Suggestion
View
Details

mixed-reality-docs/scene-understanding.md
:bulb:Suggestion
View
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/case-study-expanding-the-spatial-mapping-capabilities-of-hololens.md
:white_check_mark:Succeeded
View

mixed-reality-docs/coordinate-systems.md
:white_check_mark:Succeeded
View

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/directx-development-overview.md
:white_check_mark:Succeeded
View

mixed-reality-docs/environment-considerations-for-hololens.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-220.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-240.md
:white_check_mark:Succeeded
View

mixed-reality-docs/interaction-fundamentals.md
:white_check_mark:Succeeded
View

mixed-reality-docs/location-based-experiences.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mixed-reality.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mixedrealityspatialdatapackager.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-base-ch1.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-base-ch2.md
:white_check_mark:Succeeded
View

mixed-reality-docs/research-mode.md
:white_check_mark:Succeeded
View

mixed-reality-docs/room-scan-visualization.md
:white_check_mark:Succeeded
View

mixed-reality-docs/spatial-mapping-design.md
:white_check_mark:Succeeded

mixed-reality-docs/spatial-mapping-in-directx.md
:white_check_mark:Succeeded
View

mixed-reality-docs/spatial-mapping-in-unity.md
:white_check_mark:Succeeded
View

mixed-reality-docs/spatial-mapping.md
:white_check_mark:Succeeded
View

mixed-reality-docs/vuforia-development-overview.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding-SDK.md

Line 6: [Suggestion] Invalid date format for 'ms.date': '07/08/19'. Must be a date in format MM/DD/YYYY, no more than ten days from today. NOTE: This Suggestion will become a Warning on 11/25/2019.

mixed-reality-docs/scene-understanding.md

Line 6: [Suggestion] Invalid date format for 'ms.date': '07/08/19'. Must be a date in format MM/DD/YYYY, no more than ten days from today. NOTE: This Suggestion will become a Warning on 11/25/2019.

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.

Docs Build status updates of commit 14d31df:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/scene-understanding-SDK.md
:bulb:Suggestion
View
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/case-study-expanding-the-spatial-mapping-capabilities-of-hololens.md
:white_check_mark:Succeeded
View

mixed-reality-docs/coordinate-systems.md
:white_check_mark:Succeeded
View

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/directx-development-overview.md
:white_check_mark:Succeeded
View

mixed-reality-docs/environment-considerations-for-hololens.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-220.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-240.md
:white_check_mark:Succeeded
View

mixed-reality-docs/interaction-fundamentals.md
:white_check_mark:Succeeded
View

mixed-reality-docs/location-based-experiences.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mixed-reality.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mixedrealityspatialdatapackager.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-base-ch1.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-base-ch2.md
:white_check_mark:Succeeded
View

mixed-reality-docs/research-mode.md
:white_check_mark:Succeeded
View

mixed-reality-docs/room-scan-visualization.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/spatial-mapping-design.md
:white_check_mark:Succeeded

mixed-reality-docs/spatial-mapping-in-directx.md
:white_check_mark:Succeeded
View

mixed-reality-docs/spatial-mapping-in-unity.md
:white_check_mark:Succeeded
View

mixed-reality-docs/spatial-mapping.md
:white_check_mark:Succeeded
View

mixed-reality-docs/vuforia-development-overview.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding-SDK.md

Line 6: [Suggestion] Invalid date format for 'ms.date': '07/08/19'. Must be a date in format MM/DD/YYYY, no more than ten days from today. NOTE: This Suggestion will become a Warning on 11/25/2019.

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.


Execution failed for task ':app:checkDebugAarMetadata'.

Description
Instaling the library on "react-native": "0.66.4" causes error.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
   > The minCompileSdk (31) specified in a
     dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
     is greater than this module's compileSdkVersion (android-30).
     Dependency: androidx.work:work-runtime:2.7.0.
     AAR metadata file: /Users/username/.gradle/caches/transforms-3/91a6b5abf3bec760d8c9a4797cfa8ae1/transformed/work-runtime-2.7.0/META-INF/com/android/build/gradle/aar-metadata.properties.

What i did so far
add org.gradle.jvmargs=-Xmx4608m in gradle.properties
add multiDexEnabled true in app/build.gradle
add implementation 'com.google.android.gms:play-services-ads:20.6.0' in  dependencies > app/build.gradle
Tried removing the library and build was successful
Package versions

React Native: "0.66.4"
React Native AdMob: "^2.0.1"
Device: M1 Mackbook Air

Affected platforms

[x] Android
[ ] iOS

@alz10 same issue, did you find any solution ?

@alz10 same issue, did you find any solution ?

I'm actually just waiting for the latest release of RN v0.68.0.
Someone made the same issue, check it here https://github.com/react-native-admob/admob/issues/65

@grkemtneri  By the way, you can use this version if you're not using SDK 31
npm install<EMAIL_ADDRESS>--save


Update links for our API

These are currently causing builds for the website to fail because these links changed from:
https://probot.github.io/api/latest/Context.html#config
and https://probot.github.io/api/latest/Application.html
to https://probot.github.io/api/latest/classes/context.html#config
and https://probot.github.io/api/latest/classes/application.html
which includes classes in the path. Not sure why this change is necessary, but assuming it's just a result of switching to ts doc generation, we can just update these links in our docs.

Does anyone have access to run https://github.com/probot/probot/blob/master/script/publish-docs and publish these updated docs so we can get the site build passing again?
cc/ @probot/maintainers

@hiimbex I ran the script to update the docs. Links are fixed now, thanks!

💯 thanks @tcbyrd


Support listening to specific partitions in the Kafka binder

As a user, I want to be able to set the partition set that the Kafka binder can read from for a given input, so I can have direct control over that.

Moved to https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/34


[BUG] StreamingChatCompletionUpdate.FinishReason is always null.

Library name and version
Azure.AI.OpenAI 2.0.0-beta.1
Describe the bug
The StreamChatCompletionUpdate instances returned by chatClient.CompleteChatStreamingAsync() have a FinishReason property, but it is always null. This is an important property.

Expected behavior
Should return a ChatFinishReason as defined in the library.
Actual behavior
StreamChatCompletionUpdate.FinishReason is always null.
Reproduction Steps
Call chatClient.CompleteChatStreamingAsync().
Environment
No response

Hello, @riiight!
Can you please share the pattern you're using to record the finish reason? Note that it'll only appear on one particular update -- and with AOAI content filters that's not necessarily the last one -- and so overwriting it every update will cause the value to be lost.
As an example for a value check:
StringBuilder contentBuilder = new();
ChatFinishReason? finishReason = null;

await foreach (StreamingChatCompletionUpdate chatUpdate
    in chatClient.CompleteChatStreamingAsync(messages, options))
{
    foreach (ChatMessageContentPart contentPart in chatUpdate.ContentUpdate ?? [])
    {
        contentBuilder.Append(contentPart.Text);
    }
    if (chatUpdate.FinishReason.HasValue)
    {
        finishReason = chatUpdate.FinishReason;
    }
}
// finishReason.Value should now be ChatFinishReason.Stop


Per player power patch

Before working more on this I'd like to discuss various implementations of this.
For now I just added a way to modify via LuckPerms how much power can each user have via factions.power.modifier.<number>, but we can go further by moving the power attribute from the Faction to the User and add methods to calculate and manipulate power in a faction (it would be similar to this branch' Faction#calculateMaxPower).
I'd like to hear your point of view on this change.
(also this branch is based on CamperSamu:placeholders-patch since some work is needed on the placeholders too)
(now based on master)

What is the use case for this? I don't really see a need for something like this

Servers might want to add extra power with roles (like VIPs or gamemode ranks), so adding a way to increase a player's power would be nice.
Instead, moving power to be per-player should prevent a faction's power to be completely drained by a single player committing suicide over and over.

Instead, moving power to be per-player should prevent a faction's power to be completely drained by a single player committing suicide over and over.

This is something I think should be fixed, so per-player power could be a nice feature.

Great!
I'll start working on it again in the following days since during this week I won't be often at home.

I am removing base power since with the per-player power it's not possible to really implemet, but if you want we can add the base power to the faction's owner or make it common power.
Also I (obviously) had to change the f admin command

In the meantime I'm doing a bit of code cleanup (also doing it on the code-cleanup branch, not frequently updated) and refactoring of minor stuff

Starting to work on commands and placeholders, then I'll playtest everything a bit; if you want to try it out and point out issues and missing features you're welcome!

Last commit fixes broken factions by using f create on console and via /execute

now f info gives the player's power when used while not in a faction

(obviously the normal command stays unaffected)

Forgot  to note, this includes the info command changes and the extra placeholders

The new placeholders are:

player_power_formatted

Shows the player power with a color that transitions between green and red

power_stats

Shows the current power stats

If the player is not in a faction it will show player power/player max power
If the player is in a faction, it will show faction power/faction required power/faction max power

(Not in a Faction)

(In a Faction)

Rebalanced the default power values:

Each player has 20 power
Death penalty is now 5
Claim weight lowered to 2
Survival reward raised to 3

This should make everything work better after the power changes.

I'd say that this is now ready for PR!
Play around with it and tell me if anything else needs to be changed.
(Builds available in GH Actions)

Forgot to mention, I've enabled maintainer commits to the branch, so if there's a small adjustment that you are willing to do yourself you can just checkout to my branch (or do it inside the web editor) and make the adjustment before merging the branch.

Will work on it in the following days!
Also I've noticed weird behavior when the survival power bonus is applied on my server while testing, will double check that code ASAP before merging

What problem was there with base power that caused you to remove it?

I am removing base power since with the per-player power it's not really possible to implemet elegantly, but if you want we can add the base power to the faction's owner or make it common power.

Base power doens't make sense in a system where the power belongs to single players; the only sensible place to put it would be in a common/faction power pool (that is against what this PR is trying to accomplish).
Handling a common pool of power is not as straight forward as removing power from a single user; a possible solution would be to give extra power to the faction owner, another one might be to deplete that pool when a user with 0 power dies or to remove a portion of common power for each death.
In my opinion this is confusing and it's better to remove base power.

(also sorry if I'm not quick at responding/working lately but I am currently in vacation with my family, both internet and time are kind of unreliable)

Fixed the issue I had with power, I forgot to port the power cap checks to the penalty/reward

Currently very, very busy, idk when I'll be able to bring everything up to speed, but it will be done eventually.


Scrolling the docked form

Hi,
Is there a way to add scroll bars to the docked form, i put the AutoScroll=True but there is no scroll-bars.
thanks.

Setting AutoScroll to true on the DockContent is indeed the way to enable scrolling.  It sounds like your control containing the textboxes is not properly anchored to allow it to dictate the size.
Note that these are general WinForms concepts and are not specific to the DPS library.

Yes it's ok, the problem is caused by a method which set a groupbox in the middle of the form. when i delete it every thing works. thanks .


Implement weighted lru cache semantic (take 2)

This proposal introduces the WeightScale trait that is used to retrieve the weight of a value.
In addition to the number of elements in the cache, the weight of each element is also counted against the capacity:
assert!(cache.len() + cache.weight() <= cache.capacity());

This is useful for multiple reasons:

It avoids having to store the weight as a NonZeroUsize which is quite an unpleasant API to work with. Each value can have a weight computed as a usize, which is nice for using types that already have some information that could be used as a weight like String::len() etc
It does not require to introduce another limit like max_weight.

Using a trait also has some advantages in order to keep the cache in a coherent state, although one could see it as a limitation:

CLruCache::put and friends are only implemented for the ZeroWeightScale scale which is the default type for the scale and turns the cache into a more classic LRU cache.
APIs that return a mutable reference to the value of an element are only available for the ZeroWeightScale scale since changing the value can lead to a change of its weight.

cc @webmaster128 @maurolacy

Hi,
Nice ideas. I'll try to do a detailed review during the weekend.

One improvement that I think would be worthwhile would be to measure the weight of keys too. Especially for the use case about controlling the maximum memory used by the cache.

One improvement that I think would be worthwhile would be to measure the weight of keys too. Especially for the use case about controlling the maximum memory used by the cache.

That's interesting, but for our (and, I would say, most) use case(s), it's really not necessary. Values are many (3 or 4) orders of magnitude larger than keys.

@maurolacy any more thoughts around this?

@maurolacy any more thoughts around this?

I plan to test the integration with our code base soon. Next week or so, as I'm running out of time now.
I would say, you can ho ahead and merge, and we can always revisit later.

Great work! This has successfully be integrated (see https://github.com/CosmWasm/cosmwasm/pull/805).


Dealing with conflicting argument completers

Currently, it appears that most argument completers are loaded automatically when importing the module. That may work fine for you. But there is the potential for conflict. What if I have my own completer for Get-WinEvent that I prefer. Importing this module overwrites it. Have you considered a more granular approach? Maybe don't automatically import completers. Let the user decide by command or module. This is related to Issue #2 . There is terrific value in this module and I want to see more people use it, but I think you need to address useabiltiy.

Realistically the only reason not to import an argument completer is if it's conflicting with an existing one (like you said) but if someone has a better argument completer for Get-WinEvent then I would prefer they contribute it to this module instead of keeping it to themselves.
If it's an argument completer that is specific to their environment that doesn't make sense for the general public then they can easily override an argument completer from this module by simply defining their argument computer after this module gets imported, eg having a $profile that looks like this:
Import-Module UsefulArgumentCompleters
Register-ArgumentCompleter -CommandName Get-WinEvent...

If this was a completely free feature to add then I would have no problem adding it but I'm afraid it would hurt the import time of the module if it has to (potentially) make 450+ Register-ArgumentCompleter calls + some logic instead of the ≈ 50 calls it's currently making to register them all. PowerShell is already really slow to launch so every millisecond counts IMO.

I'm confused. If anything, my suggestion improves performance since the user only imports what they need. Importing the module shouldn't load the argument completers. Let the user do it via the import command. Yes, this would be a breaking change but one for the better.
Another option is to let the user store a list of argument completers, say in $home. If the file exists on module import, then automatically load those argument completers.
I realize you probably developed this module for the way you work. But we, as PowerShell toolmakers, need to consider how our tools will be used and the user's expectations. That is why I'm giving you this feedback.

What I mean is that each command invocation has a cost so when I need to run Register-ArgumentCompleter it's better to group as many commands into one call as possible instead of running it for every individual command. If I had to make a function that lets the user specify which completers to load it would probably look something like this:
foreach ($Completer in $AllCompleters)
{
    if ($Completer.Name -like $UserInput)
    {
        Register-ArgumentCompleter $Completer
    }
}

and I would lose the ability to group them together for that efficiency.
I did a simple prototype on my own PC where I split all the command arrays into individual calls to Register-ArgumentCompleter and the import time increased from 0.109 to 0.145 which isn't as much as I had feared but it's still an undesirable increase. It's true that you may gain some performance by limiting the completers but I think you would need to cut a lot to make up for the lost performance.
36ms isn't a lot, I could live with that if it made the overall experience better but I just don't see any noteworthy benefit from moving it to a command.
As for user expectations, it's true that many modules use commands to export their data but it's certainly not the only way. A module can exclusively consist of classes that the user is expected to use with using module XXX. Modules like the VMware PowerCLI modules can make a PSProvider available on import. PSReadline and posh-git changes the console experience on import.

So, like I said before I personally don't see a lot of value in doing this so I'm not going to make this change but I'm not completely against the idea.
If you or someone else wants to do this then I would accept a PR as long as the following 2 conditions are met:
1: It doesn't make development of new completers harder (I don't want to do something like tagging individual completers but I can live with organizing them in special folders).
2: Import performance when importing all the completers should not be noticeably affected. The additional 36 ms I measured before was basically a worst case scenario so I would expect a less granular approach to be faster but even if it wasn't I would accept something in that range (but not much more than that).


Request for addition - GraphQL - @octokit/graphql

Hi @wtrocki we are using this module https://www.npmjs.com/package/@octokit/graphql
which is a well-known-github-api-graphql-module.
also used in other organizations, for example https://github.com/search?q=org%3Apkgjs+octokit&type=code
Can you please add this module to the GraphQL section?
thanks

I do not see the reason for it. That library is just for the github API/specifics. Would we add every possible graphql API?

...  to build their own graphql api

Sorry for my lack of info, in fact, I personally never used GraphQL technology before.
But I got what you mean. By reading again the spec:
"Our target will be to provide comprehensive set of the tools to add graphql support for both client and server side applications"
"...Exposes GraphQL"
"...Builds GraphQL schema"
"...Prevents from overfetching data"
"...Compiles graphql schema"
...
And the clients mentioned there, are "general" clients right?
That makes sense thanks for the response. :+1:

Github, AWS etc. have graphql api but there is no value on us picking the package because there will be only single package for those from official vendors. Reference spec generally is to be reffere to pick tools where more options are needed.


Can't compile JavaFX projects (regression?)

More precisely, since commit a1247748926f9af95a2698de4692d3c167b8775a, a simple JavaFX project cannot compile and log the following errors:
[info] Compiling 1 Java source to ./out/javafx/compile/dest/classes ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by sbt.internal.inc.javac.DiagnosticsReporter$PositionImpl$ (file:/~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/zinc-compile-core_2.12/1.2.5/zinc-compile-core_2.12-1.2.5.jar) to field com.sun.tools.javac.api.ClientCodeWrapper$DiagnosticSourceUnwrapper.d
WARNING: Please consider reporting this to the maintainers of sbt.internal.inc.javac.DiagnosticsReporter$PositionImpl$
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[error] ./javafx/src/ButtonApp.java:1:1: package javafx.application does not exist
[error] import javafx.application.Application;
[error] ./javafx/src/ButtonApp.java:2:1: package javafx.stage does not exist
[error] import javafx.stage.Stage;
…

Basically it cannot find the JavaFX packages.
Latest commit tested: 80eb7e0df5132dff7b081247176bfae597fe4264
Tested with java-11-graalvm and java-11-openjdk.
Was working as expected before a1247748926f9af95a2698de4692d3c167b8775a.
Sample code
cat build.sc
import mill._, scalalib._

val javaFXVersion = "13.0.2"

object javafx extends JavaModule {
  def mainClass = Some("Main")
  def ivyDeps = Agg(ivy"org.openjfx:javafx-controls:$javaFXVersion")
}

cat javafx/src/ButtonApp.java
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.control.Button;

public class ButtonApp extends Application {
  public static void main(String[] args) {
    launch(args);
  }

  @Override public void start(Stage stage) {
    var button = new Button("Please Click Me!");
    button.setOnAction(e -> stage.close());
    var box = new VBox();
    box.getChildren().add(button);
    var scene = new Scene(box);
    stage.setScene(scene);
    stage.setTitle("Just a button");
    stage.show();
  }
}

cat javafx/src/Main.java
public class Main {

  public static void main(String[] args) {
    ButtonApp.main(args);
  }
}

It is probably an change in coursier, which might got a version bump as a transitive dependency.
Looks like you now need to depend on ivy"org.openjfx:javafx-controls:13;classifier=linux or whatever your platform is. javafx-controls with classifier is a transitive dependency of javafx-controls without classifier.
Might be related to lihaoyi/mill#759
Maybe @alexarchambault sees more and can comment?
Here is the pom.xml of javafx-controls:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.openjfx</groupId>
  <artifactId>javafx-controls</artifactId>
  <version>13</version>
  <parent>
    <groupId>org.openjfx</groupId>
    <artifactId>javafx</artifactId>
    <version>13</version>
  </parent>
  <dependencies>
    <dependency>
      <groupId>org.openjfx</groupId>
      <artifactId>javafx-controls</artifactId>
      <version>13</version>
      <classifier>${javafx.platform}</classifier>
    </dependency>
    <dependency>
      <groupId>org.openjfx</groupId>
      <artifactId>javafx-graphics</artifactId>
      <version>13</version>
    </dependency>
  </dependencies>
</project>

(I posted this before: https://gitter.im/lihaoyi/mill?at=5e3175b5433e1d40397320f8)

I've just tried with classifier=linux with a1247748926f9af95a2698de4692d3c167b8775a: same behavior (I'm on linux).
Actually, I tried with some garbage classifiers like ivy"org.openjfx:javafx-controls:$javaFXVersion;classifier=aiueauieai" and I have the same results as without classifier: 4f4fab664dca8083a9768c7f318f0ed0bb521517 compiles and runs as there was no classifier and a1247748926f9af95a2698de4692d3c167b8775a & 80eb7e0df5132dff7b081247176bfae597fe4264 fail to compile with the same package xxxx does not exist errors. No error on javafx.compileClasspath like when you change the artfactId.

coursier does fetch the OS-dependent artifacts. It does from the CLI at least:
$ cs fetch org.openjfx:javafx-controls:13
~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/openjfx/javafx-base/13/javafx-base-13-linux.jar
~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/openjfx/javafx-graphics/13/javafx-graphics-13.jar
~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/openjfx/javafx-graphics/13/javafx-graphics-13-linux.jar
~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/openjfx/javafx-base/13/javafx-base-13.jar
~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/openjfx/javafx-controls/13/javafx-controls-13-linux.jar
~/.cache/coursier/v1/https/repo1.maven.org/maven2/org/openjfx/javafx-controls/13/javafx-controls-13.jar

Same kind of result on macOS.
You might be missing OS and JDK-related infos in the way you're calling the coursier API. The high level API of coursier sets them up this way.
@lefou If that's a possibility for you, I would advise using the higher level API (coursier.Resolve, coursier.Fetch, coursier.Artifacts, etc.), described here, rather than the low-level one, to lower the odds of that kind of issue.

@alexarchambault Thank for your comments. I'll have a look.

For the record, bumped into that as well when updating mill to > 0.5.3

Hello, any news on this issue? Thanks.

No, we discussed the implementation a bit (in #775), but nobody did the work yet.

I may need to work around this issue, and wanted suggestions. Would it be reasonable to use the result of cs fetch and add the files to unmanagedClassPath in my build.sc (after processing to get PathRefs)?

@siddhartha-gadgil unmannagedClasspath is what it is called, unmanaged. So there is a slighly chance, that dependencies provided there may collide with some provided by ivyDeps. But besides that, I think it's a perfectly reasonable work-around.

Thanks. I will watch out for this, especially with transitive dependencies.

I updated PR #775 to gather some feedback.

Just a head's up for those who have not been following. Positive feedback at https://github.com/scalafx/scalafx/issues/343#issuecomment-826143647. Discussion found here.
@lefou Nice work!
@rom1dep thanks for the test/example
8-)

I merged PR #775. Give it some time to build and publish. After that you should be able to pull the latest mill snapshot release or mill  >= 0.9.7 when available.
You need to adapt the coursier resolution process by overriding def resolutionCustomizer: Task[Resolution => Resolution]. This could look like this:
import mill._
import mill.scalalib._

object javafx extends JavaModule {
  override def resolutionCustomizer = T.task {
    Some((_: coursier.core.Resolution).withOsInfo(coursier.core.Activation.Os.fromProperties(sys.props.toMap)))
  }
  def ivyDeps = Agg(ivy"org.openjfx:javafx-controls:13.0.2")
}

This example reads all OS properties from the current system properties, but of course you could also set specific props.

Isn’t it possible to have the Resolution default to withOsInfo(coursier.core.Activation.Os.fromProperties(sys.props.toMap))?
It should not hurt if not needed but will help all project that depends on OS specific artifact.

@s-bernard Sure, it is possible, but it also makes the build less reproducible, as those variables may differ on different machines.

OK but as you say, even with the current default, a build is already not completely reproducible between different machines. And this setting still makes build deterministic on a given system, which is the most important.
Moreover It may break the reproducibility between machines only for projects that actually use this osInfo so that need it. And if you can’t reproduce a bug in a build due to this, you can still override the resolutionCustomizer to use the other system sys.props instead of local ones.
Finally, wasn’t the goal of maven profiles to adapt the build to the current system? Specially to allow the use of system library like javafx does?
On the plus side, it will really make mill more accessible.
BTW, thank you very much for solving this issue.

Unless more users vote in, I'm not going to make it the default. My reasons are based on personal experience being a developer for more than 2 decades. I could imaging that we add some extra trait NonPortableCoursierModule (name just made up) that you can mix-in in any Java/Scala module and which enables and documents these settings by default. PRs welcome!

I like the idea of a trait. I prefer PlatformDependantCoursierModule between the two names. Or maybe CoursierWithOsInfoModule?

Sorry to resurrect this issue, but @lefou's workaround isn't working for me.
import mill._
import mill.scalalib._

object testfx extends JavaModule {

  override def resolutionCustomizer = T.task {
    Some((_: coursier.core.Resolution).withOsInfo(coursier.core.Activation.Os.fromProperties(sys.props.toMap)))
  }

  def ivyDeps = Agg(
    ivy"org.springframework.boot:spring-boot-starter:2.6.2",
    ivy"com.fasterxml.jackson.core:jackson-databind:2.13.1",
    ivy"org.openjfx:javafx-controls:17.0.1",
    ivy"org.openjfx:javafx-fxml:17.0.1"
  )
}

$ mill -i testfx.run
[16/31] testfx.resolvedIvyDeps
1 targets failed
testfx.resolvedIvyDeps Failed to load source dependencies
  not found: https://repo1.maven.org/maven2/org/openjfx/javafx-controls/17.0.1/javafx-controls-17.0.1-${javafx.platform}.jar
  not found: https://repo1.maven.org/maven2/org/openjfx/javafx-fxml/17.0.1/javafx-fxml-17.0.1-${javafx.platform}.jar
  not found: https://repo1.maven.org/maven2/org/openjfx/javafx-graphics/17.0.1/javafx-graphics-17.0.1-${javafx.platform}.jar
  not found: https://repo1.maven.org/maven2/org/openjfx/javafx-base/17.0.1/javafx-base-17.0.1-${javafx.platform}.jar

Nor is @alexarchambault's CLI command.
$ cs fetch org.openjfx:javafx-controls:17.0.1
Error fetching artifacts:
https://repo1.maven.org/maven2/org/openjfx/javafx-base/17.0.1/javafx-base-17.0.1-${javafx.platform}.jar: not found: https://repo1.maven.org/maven2/org/openjfx/javafx-base/17.0.1/javafx-base-17.0.1-${javafx.platform}.jar
https://repo1.maven.org/maven2/org/openjfx/javafx-controls/17.0.1/javafx-controls-17.0.1-${javafx.platform}.jar: not found: https://repo1.maven.org/maven2/org/openjfx/javafx-controls/17.0.1/javafx-controls-17.0.1-${javafx.platform}.jar
https://repo1.maven.org/maven2/org/openjfx/javafx-graphics/17.0.1/javafx-graphics-17.0.1-${javafx.platform}.jar: not found: https://repo1.maven.org/maven2/org/openjfx/javafx-graphics/17.0.1/javafx-graphics-17.0.1-${javafx.platform}.jar

Did something change with coursier or with JavaFX 17?

Something rings a bell, but I don't know if it is related. A quick search revealed this sbt issue https://github.com/sbt/sbt/issues/6564 and this JavaFX issue https://github.com/scalafx/scalafx/issues/362

@charego You can take a look at the javaFXMill project for a working example. Unfortunately I have not updated to the latest Mill version. But it may provide hints as to why your example is not working.

Thanks! I can proceed by tweaking the resolution customizer with @s-bernard's suggestion:
override def resolutionCustomizer = T.task {
  Some((_: coursier.core.Resolution)
    .withOsInfo(coursier.core.Activation.Os.fromProperties(sys.props.toMap))
    .withExtraProperties(Seq(("javafx.monocle", "false")))
  )
}

This makes sense because mill 0.9.11 depends on an older coursier that doesn't have the fix in https://github.com/coursier/coursier/pull/2176. It's unclear why my cs fetch command was failing, as I have the latest milestone version (2.1.0-M2-1) of coursier CLI tool.


global: alpha release

Initial bootstrapping of the module

Closed in favour of https://github.com/inveniosoftware/invenio-rdm-records/pull/8


SCSS/LESS refactor

Can we refactor all of the repeated color hex codes, and write a mixin for border radius and generally clean up repeated things in SCSS/LESS? Id be willing to work on a PR for this.

I'd be willing to take a look at an updated less file.

@TimFerrell Could I clean up the SCSS code as well? Or should I do only LESS?

The SCSS can be the result of the built LESS.

Closing this to focus efforts on v3.


Write an thread that introduces new members

Write an thread that introduces new members into the magicians forum, what the magician provides, the various activities that are carried out, where all the resources are, provides a guides on how to gain the most value out of the magicians etc.

Ok, here is my first draft of this: https://github.com/ethereum-magicians/scrolls/wiki/New-Member-Guide

@jpitts Thanks for kicking this off! Might add to it over the next couple days

@jpitts I think we should move the text of the New Member Guide directly into https://ethereum-magicians.org/t/welcome-please-readme-first.
And probably delete / lock it for comments, and have a link to an "introduce yourself" thread. Maybe even a "New Members" forum that you're automatically added to?
@jpitts is that something that new members definitely see?


separate adapters

Codecov Report
Patch coverage: 83.57% and project coverage change: +1.52 :tada:

Comparison is base (3288496) 84.59% compared to head (d185e50) 86.11%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   84.59%   86.11%   +1.52%
==========================================
  Files           8       15       +7
  Lines         305      389      +84
==========================================
+ Hits          258      335      +77
- Misses         47       54       +7

Impacted Files
Coverage Δ

nonebot_plugin_chatrecorder/adapters/exception.py
50.00% <50.00%> (ø)

nonebot_plugin_chatrecorder/adapters/onebot_v11.py
70.27% <70.27%> (ø)

nonebot_plugin_chatrecorder/adapters/utils.py
88.88% <88.88%> (ø)

nonebot_plugin_chatrecorder/adapters/onebot_v12.py
90.69% <90.69%> (ø)

nonebot_plugin_chatrecorder/adapters/message.py
92.50% <92.50%> (ø)

nonebot_plugin_chatrecorder/__init__.py
100.00% <100.00%> (+7.01%)
:arrow_up:

nonebot_plugin_chatrecorder/adapters/__init__.py
100.00% <100.00%> (ø)

nonebot_plugin_chatrecorder/adapters/consts.py
100.00% <100.00%> (ø)

nonebot_plugin_chatrecorder/config.py
100.00% <100.00%> (ø)

nonebot_plugin_chatrecorder/dirs.py
100.00% <100.00%> (ø)

... and 3 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


I am not able to run AppIntro less than API 19 ?Can I used?its ok for gretter than API 19.I want answer.Thank u

Please check off the following things BEFORE submitting a new issue. Any issues that do not properly follow this format will be closed without discussion. If you're requesting to have your app added to the list, you can erase the list and provide your app's name and play store listing link. Thanks!
[ ] What you've tried (include code snippets, or whole files as necessary):
(REPLACE with your answer)
[ ] What you thought should happen:
(REPLACE with your answer)
[ ] What actually happened:
(REPLACE with your answer)

You need to follow the issue template.


try to use less disk space

Can we work with compressed gtf and fa files?

The default for decompress_on_download is now False. The indexed data will probably still take up a lot of space.


JSON as datasource question

Hey friends, I'm working on a POC using FastReports for the first time and I'd like some help, if it's possible:
I created a sample API which works basically with two parameters in the request's body, as you can see below:
{     "documentName": "test.frx",     "parameters": {  } }
The documentName field is static, but the object parameters has its own properties and the request data should be reflected in the report. Once I call the API to generate the report, it's created only with the example data of the JSON that I used to generate the schema in the datasource.
Here's how my code is today:
        RegisteredObjects.AddConnection(typeof(JsonDataConnection));

        var report = new Report();

        JsonDataConnection connection = new JsonDataConnection();

        connection.JsonData = document.Parameters.ToString();
        connection.CreateAllTables();

        report.Dictionary.Connections.Add(connection);
        report.RegisterData(connection.DataSet);
        report.Load(new MemoryStream(frxFile));
        report.Prepare();

Following the datasource as JSON (not JSON database) and the report:

Once the request is sent and the report is generated, it cames with the property "name" always with the value "Nicolas" and not with the data from the request. Anyone has any ideas on that?
Thanks in advance!

Look this https://github.com/FastReports/FastReport/issues/281

Hello,
i am trying to make a working example of registering Json data, using similiar code as @nicolasbcp. But I am working on an opensource project and have to use the open source version of Fast Reports (FastReport.OpenSource 2021.4.  )
The code is not geting compiled, It gives me an error :"The type 'type' is defined in an assembly that is not referenced. You must add a reference to assembly 'FastReport, version 2<IP_ADDRESS>".
Do I have to use different approach or method when working with open source version of FastReport?


Endpoint reference

As someone who is new to ADT, endpoints, routes, topics, and subscriptions, I found this line in this page confusing:
"Next, create an Azure Digital Twins endpoint pointing to your event grid topic. Use the command below, filling in the placeholder fields as necessary:"
The CLI reference for: az dt endpoint create eventgrid found here
https://docs.microsoft.com/en-us/cli/azure/ext/azure-iot/dt/endpoint/create?view=azure-cli-latest
Says that CLI command 'az dt endpoint create eventgrid'  "adds an EventGrid Topic endpoint to a Digital Twins instance. Requires pre-created resource"
So I think it would be more clear for the ADT doc to say that it is adding an Event Grid topic endpoint to the instance rather than an adding an ADT endpoint.
T

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

ID: 2f9cef38-32b1-de42-382d-87877e5a4d25
Version Independent ID: 92b09f9b-690e-e3a4-5454-70bfaa65a449
Content: Tutorial: Connect an end-to-end solution - Azure Digital Twins
Content Source: articles/digital-twins/tutorial-end-to-end.md
Service: digital-twins
GitHub Login: @baanders
Microsoft Alias: baanders

Hello @jjadta, Thank you for your feedback! We will review and update as appropriate.

Thanks @jjadta for the comment! This makes sense.
The intent was to clarify that while Event Grid, Service Bus, etc... are other Azure services that you set up separately, the endpoint is part of the ADT instance. However, I see how this could be confusing, especially when the wording is different from the CLI documentation.
Here's a suggested rewrite for the sentence:
"Next, create an Event Grid endpoint in Azure Digital Twins, which will connect your instance to your event grid topic."
Do you think this adds the needed clarification?

Yes, reads well!
On Tue, Nov 3, 2020 at 9:58 AM Bailey Anderson<EMAIL_ADDRESS>wrote:

Thanks @jjadta https://github.com/jjadta for the comment! This makes
sense.
The intent was to clarify that while Event Grid, Service Bus, etc... are
other Azure services that you set up separately, the endpoint is part of
the ADT instance. However, I see how this could be confusing, especially
when the wording is different from the CLI documentation.
Here's a suggested rewrite for the sentence:
"Next, create an Event Grid endpoint in Azure Digital Twins, which will
connect your instance to your event grid topic."
Do you think this adds the needed clarification?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/65354#issuecomment-721286825,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGTTG74OAB2PYJ6DUBVGMSTSOBADBANCNFSM4TGWKR7Q
.

--
Sent from Gmail Mobile

@jjadta Great, thanks for the confirmation!
I am making this edit in PR #136417, and will have Git close this issue when the fix is merged.
(You can still feel free to comment back on this thread with additional comments or questions if needed.)
Thanks again for the feedback!


[Bug]: Mocking a final client in a different module results bad sad error

Description
Following bad sad error occurs when I try to mock final client in a different module
ballerina: Oh no, something really went wrong. Bad. Sad.

We appreciate it if you can report the code that broke Ballerina in
https://github.com/ballerina-platform/ballerina-lang/issues with the
log you get below and your sample code.

We thank you for helping make us better.

[2023-11-16 11:44:41,392] SEVERE {b7a.log.crash} - Cannot invoke "io.ballerina.runtime.internal.values.MapValue.containsKey(Object)" because "globalAnnotMap" is null
java.lang.NullPointerException: Cannot invoke "io.ballerina.runtime.internal.values.MapValue.containsKey(Object)" because "globalAnnotMap" is null
        at io.ballerina.runtime.internal.AnnotationUtils.processFPValueAnnotations(AnnotationUtils.java:126)
        at luheerathan.test2$test.0.tests.main_test.getMockClient(tests/main_test.bal:11)
        at luheerathan.test2$0046dao.0.dao.intializeClient(dao.bal)
        at luheerathan.test2$0046dao.0.$_init.$gen$$0046$0060init$0062(test2.dao:3)
        at luheerathan.test2$test.0.$_init.$moduleInit(test2)
        at luheerathan.test2$test.0.$_init.$moduleExecute(test2)
        at luheerathan.test2$test.0.$_init.$lambda$$moduleExecute$(test2)
        at io.ballerina.runtime.internal.scheduling.SchedulerItem.execute(SchedulerItem.java:54)
        at io.ballerina.runtime.internal.scheduling.Scheduler.run(Scheduler.java:306)
        at io.ballerina.runtime.internal.scheduling.Scheduler.runSafely(Scheduler.java:273)
        at java.base/java.lang.Thread.run(Thread.java:833)

Steps to Reproduce

Create new project as  bal new -t main test2
Add a new module as bal add dao
Add following content to a source file(may be dao.bal) in dao module.

import ballerina/http;

final http:Client clientEndpoint = check intializeClient();

function intializeClient() returns http:Client|error {
    return new ("https://api.chucknorris.io/jokes/");
}

Add following code to a test file(may be main_test.bal) of the default module

import test2.dao as _;

import ballerina/http;
import ballerina/test;

@test:Mock {
    moduleName: "test2.dao",
    functionName: "intializeClient"
}
function getMockClient() returns http:Client|error {
    return test:mock(http:Client);
}

Execute bal test

Affected Version(s)
2201.8.0 and may be lower versions as well
OS, DB, other environment details and versions
No response
Related area
-> Test Framework
Related issue(s) (optional)
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Please refer https://github.com/ballerina-platform/ballerina-lang/issues/42037#issuecomment-1918688306 for the explanation of the behaviour.
Workaround:
Move the import statement for the ballerina/test dependency above the import statement for the dependency that's being mocked.

Workaround is provided. Hence closing.


Make safe version nullable

Closes #629
This PR:

Adds support for having null as Safes version attribute, avoiding returning a validation error  which crashes the Web UI (nullable version field was the case in the Rust implementation).
Modifies the OpenAPI definition accordingly.
Adapts the code to return UNKNOWN for the implementationVersionState field when version is null, as the Rust implementation does.

Closing the PR after a second thought and after discussing the purpose with @Uxio0. The outcome is it's OK to fail on the CGW side for null versions since incorrect contract deployments (L2/nonL2 misalignment) won't be supported.
For special cases, the Safe Core team would add the contracts on demand. (cc. @iamacook, as you were involved also in the discussions)

@hectorgomezv thanks for taking care of this