WalletConnectV2 Connector Build Issue

First want to mention that my team and I ❤ useDApp. nice work!
Describe the bug
We ran into issues using the @usedapp/wallet-connect-v2-connector package while upgrading to WalletConnect v2. We included the connector as a dependency, but saw the below build error:
10:27:40.718 | Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>from<EMAIL_ADDRESS>not supported.
10:27:40.718 | Instead change the require of index.es.js in<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
10:27:40.718 | at Object.<anonymous> (/opt/buildhome/repo/node_modules/@usedapp/wallet-connect-v2-connector/dist/cjs/src/index.js:45:20)

Looking into this, I did see @web3modal/standalone is a dependency of the walletConnectv2 connector, which according to npm is deprecated. should this possibly use @walletconnect/modal instead?
To Reproduce
Here is our useDApp config:
const config: Config = {
  readOnlyChainId: currentChainId,
  readOnlyUrls: {
    [currentChainId]: `https://${
      currentChainId === Mainnet.chainId ? 'mainnet' : 'goerli'
    }.infura.io/v3/${process.env.NEXT_PUBLIC_INFURA_ID ?? ''}`,
  },
  refresh: 'never',
  connectors: {
    metamask: new MetamaskConnector(),
    walletConnect: new WalletConnectV2Connector({
      projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID || '',
      chains: currentChainId === Mainnet.chainId ? [Mainnet] : [Goerli],
    }),
  },
};

Then from our own modal, onClick of the WalletConnect button, we have just the following:
activateBrowserWallet({ type: 'walletConnect' });

Software versions

<EMAIL_ADDRESS><EMAIL_ADDRESS>Package manager npm
Node version 16

Any guidance here is appreciated 🙏

seeing the same issue here, additionally using next.js & yarn, same version of usedapp/core

Any fixes? 🤔

Have you tried including something like this in your bundler confg?

<EMAIL_ADDRESS>is now available on npm. Could you please try it out and let me know if this solves the problem? I replaced @web3modal/standalone with @walletconnect/modal as @cbonaco1 suggested.


Login and Signup Functionality

Proper validations are missing for the login and signup and post actions are missing for the signup and login

Heyy @Priyaaa1, can i work on this issue under gssoc label?
My approach is to have validations for login and signup and also implement functionality to store user details into database and perform authentication, authorization

Subject:: Enhancing Login and Signup Functionality
Hi @Priyaaa1  ,
I'm eager to enhance our project's login and signup functionality and would greatly appreciate your guidance. Here's what I'm aiming to achieve:

User-Friendly Interface: Streamlining the login/signup process for a seamless user experience.

Authentication Security: Implementing robust security measures to protect user data and prevent unauthorized access.

Social Authentication Integration: Exploring options to integrate social authentication for convenience and expanded connectivity.

Error Handling: Enhancing error messages and feedback mechanisms for improved user guidance.

Best regards,
Abhishek

please assign this issue to me underGssoc24


No information how to get Authenticator to use fingerprint instead of PIN

On my Samsung Galaxy S10 phone, when I set up Microsoft Authenticator, it would ask me for my fingerprint when I needed to approve access for accounts added to Authenticator. Since upgrading to the new Microsoft Surface Duo, it keeps asking me for a PIN. How do I get it to use a fingerprint instead of demand a PIN? this page just says that it does that but gives no information or link to how to force Authenticator to use a fingerprint instead of PIN. Please update the instructions to include this information.

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

ID: a46313f6-ce23-85a7-19c3-21152a3cc401
Version Independent ID: 6c09429c-4de0-3bbe-41bc-b0c41ed333bc
Content: Questions & answers about Microsoft Authenticator app - Azure AD
Content Source: articles/active-directory/user-help/user-help-auth-app-faq.md
Service: active-directory
Sub-service: user-help
GitHub Login: @curtand
Microsoft Alias: curtand

@Scribliotech
Thanks for your feedback! We will investigate and update as appropriate.

@Scribliotech
Looking through the documentation, I did find a section saying:
Whether to use your device's biometric capabilities
"If you use a PIN to complete the authentication process, you can set up the Microsoft Authenticator app to instead use your device's fingerprint or facial recognition (biometric) capabilities. You can set this up the first time you use the authenticator app to verify your account, by selecting the option to use your device biometric capabilities as identification instead of your PIN."
However, I wasn't able to find documentation on "how to" set this up if you didn't enable this option during first time use. Therefore, I have assigned this issue to the author who will investigate and update the documentation as appropriate.
If you have any questions in the meantime, please let me know.
Thank you for your time and patience.

Hey @Scribliotech
Thanks for providing feedback that helps improve our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response.  We are currently updating all the end-user content and will be migrating to the Microsoft Support site. We are closing the issue as we are migrating the content to a new site. #please-close

For anyone that comes here in the future, on my Pixel 6 Pro on Android 12, I've found under Security -> Advanced Settings, at the very bottom, was "Fingerprint Unlock for work". Once set up, I was able to use my fingerprint.
Not sure why the option above it, "Work profile lock = Same as device screen lock" didn't suffice, but at least it's sorted.


Mobile Apps Audit 2022

###Mattermost Developer Documentation Content Audit 2022
Summary
Update of Mobile Apps documentation index page

/update-branch

We don't have permissions to update this PR, please contact the submitter to apply the update.

/update-branch

We don't have permissions to update this PR, please contact the submitter to apply the update.

@cwarnermm I updated the branch

@ChristieBavelaar - Unfortunately, I'm seeing a "branch is out of date" message on this PR, and I'm unable to update it myself because it's a fork. Once you've updated your copy of master, then please merge master into your branch for this PR. Thanks so much!

@cwarnermm Thank you for your suggestions, I have commited them.


AWQ model does not generate any tokens

Branch: main e3e79e9
OS: Ubuntu 22.04
CUDA: 11.8
PyTorch: 2.0.1+cu117
GPU: 2x 4090
Built vLLM from source according to the instructions.
Model: casperhansen/vicuna-7b-v1.5-awq
Server startup command:
python -O -u -m vllm.entrypoints.api_server \
    --host=<IP_ADDRESS> \
    --port=7777 \
    --model=$HOME/models/vicuna-7b-v1.5-awq \
    --quantization=awq

The vLLM server happily starts and loads the model, serves the API requests, but does not generate any tokens.
Prompt:
Below is an instruction that describes a task. Write a response that appropriately completes the request.

USER: What are ways to earn more money with less work?
ASSISTANT:

The server generates no tokens:
INFO 09-17 01:57:33 async_llm_engine.py:338] Received request ccdeee0ce4a44b4c8043f148a4e7ee37: prompt: 'Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nUSER: What are ways to earn more money with less work?\nASSISTANT:', sampling params: SamplingParams(n=1, best_of=1, presence_penalty=0.0, frequency_penalty=0.0, temperature=1.0, top_p=1.0, top_k=-1, use_beam_search=False, length_penalty=1.0, early_stopping=False, stop=[], ignore_eos=False, max_tokens=16, logprobs=None), prompt token ids: None.

I guess the problem is indicated by prompt token ids: None.
My test client gets no result. Attached the test client below.
Edit the TEST_API_BASE at the top of vllm_client.py, then run it once the vLLM server is running.
Async-vLLM-Client-Vicuna.zip
The same code worked fine with the WizardCoder 13B model hosted by vLLM at full (16 bit) precision on two GPUs (--tp 2) and using the WIZARDCODER prompt.

Never mind. It does not work with lmsys/vicuna-7b-v1.5 either (without AWQ).


Added dependencies to build instructions.

When I first built the code, I didn't do the 'git submodule update' to pull that code in.  So none of those paths were populated, causing the build to fail.
I also added instructions on some of the other dependencies needed.

Thanks looks LGTM


[Slider] Update style to match the specification

[x] I have followed (at least) the PR section of the contributing guide.

Closes #20153
Breaking Change

ValueLabel class circle changed to container

I have noticed the following issues:

Inversed color issue

It's the 3rd regression from moving from the withStyles to styled API (emotion, not MD spec update related). I think that we didn't catch it in Argos because we introduced a new component, we didn't replace the existing one.

~Inverted looks fine to me?~ It's broken in production only - locally it's fine.

No more box shadow when dragging

Box shadow on the thumb is used to provide the ripple, this will require a change there.

Vertical alignment issue, especially noticeable on a touch device

~I'll look into it.~ This seems like a bug in how HD screens are handled. Everything seems to be 1 pixel (0.5px) off.

https://github.com/mui-org/material-ui-pickers/issues/2136#issuecomment-706066008
Could we apply the same logic here? I'm not convinced that all of the changes to the slider in the current spec are an improvement.

@mbrookes Google has started to use the new design. Happy to wait for Android 12 too.
Is this statement accurate? In the early days, Material Design guidelines were release after they deployed the design. It seems to be increasing going in the other direction.
I'm personally more in favor of implementing the design spec after it gains mass adoption in Google's product. This has the following advantages:

Production is production, the environment provides the strongest constraints. You won't see all the fail attempts.
The more used a UI/UX is, the more past learnings it creates in end-users. Making the app look more intuitive and look nicer.
On a related note, this makes me think of a discussion with the Material Design team. I recall they tried to create a distinction between "Google Material Design theme" and the "default Material Design theme". They encouraged us to follow the "default Material Design theme", but shouldn't we aim for "Google Material Design theme"?

It's broken in production only - locally it's fine. After rebasing on next it has seemed to fix itself.

Oh wow, something is wrong then. I confirm:

https://next.material-ui.com/components/slider-styled/#inverted-track

http://<IP_ADDRESS>:3000/components/slider-styled/#inverted-track
@mnajdova Any idea?

The poll on Twitter seems to suggest that we can move forward. However, I would raise the need for a dense mode. I think that it's important for work tools. For instance, I was just checking a design tool's slider.

I'm closing as the effort has been stale for some time, thanks for the exploration.

I'm closing as the effort has been stale for some time, thanks for the exploration.


graph data of the benchmark program

Dear author, it's a very interesting and nice OOPSLA paper.
Noticing that there are only some graph file provided in the dataset/ directory, I wonder if you could kindly provide more benchmark data mentioned in the paper? Thanks a lot!

The graphs we used are too large to upload. You may refer to some other public benchmarks, such as this one. It contains 10 graphs with the extension .vfg, which are similar to ours.

That's nice, Many Thanks


Function call_tools_and_collect_as_message().text doesn't return the tool call result text

Description
Running this "tool usage" example from the doc doesn't output the tool result as expected:
Sure, I can help you plan your trip to Paris! Here are a few things we can look into:

1. **Weather:** Checking the current weather in Paris to pack accordingly.
2. **Sights and Activities:** Recommendations for must-see attractions and activities.
3. **Accommodation:** Suggestions for places to stay according to your preferences.
4. **Transportation:** Guide on how to get around the city.

Let's start by checking the current weather in Paris. One moment please.
<tool_call>
Weather info: <tool_result>

Moreover, when a tool uses a Field to provide an argument description, the lexical closure fails.
Exception: Failed to capture the lexical closure of default parameter tools. Error: Failed to capture the lexical closure of default parameter None. Error: Failed to capture the lexical closure of default parameter location. Error: invalid syntax (<unknown>, line 3)
Recursion stack: travel_planner -> get_weather
Recursion stack: travel_planner
Recursion stack: travel_plannerCell Execution Error

Env

ell-ai: 0.0.6
Python: 3.12.5

Thanks! Gonna take a look. Are you running this in a jupyter notebook or just normal py?

Thanks! Gonna take a look. Are you running this in a jupyter notebook or just normal py?

jupyter

To get the text out you need the last line of the example to be print("Weather info:", tool_results.tool_results[0].result[0].text)

To get the text out you need the last line of the example to be:
- print("Weather info:", tool_results.text)
+ print("Weather info:", tool_results.tool_results[0].result[0].text)

I know, but it seems to me not ideal based on the function call_tools_and_collect_as_message() intent.

Yeah I agree this is not great :)

Would this be better?
    print("Weather info:", tool_results.tool_results[0].text)

Would you rather it look like:
│   assistant: Certainly, I'll file the claim draft for you with the information we have.
│              I'll use today's date and make some assumptions based on what you've told
│              me, but please note that you may need to provide more details later in the
│              process.
│              I'll go ahead and create the claim draft now:
│              ToolCall(tool=<function create_claim_draft at 0x106ecc4a0>,
│              tool_call_id='toolu_015R3MrU1RpnRLfLrpApZL4L',
│              params=create_claim_draft(claim_details='Car was smashed by someone else.
│              Further details pending investigation.', claim_type='Collision',
│              claim_amount=5000.0, claim_date='2023-05-24'))
│
│        user: ToolResult(tool_call_id='toolu_015R3MrU1RpnRLfLrpApZL4L',
│              result=[ContentBlock(text=claim_id-123234)])

│   assistant: Thank you for providing that information. I understand that your car was
│              smashed by someone else today, and you estimate the damage to be around
│              $5,000. Let's create a claim draft based on this information. I'll need
│              to use today's date for the claim.
│              I'm going to create a claim draft for you now using the information
│              you've provided. Here's what I'm going to do:
│              ToolCall(tool=<function create_claim_draft at 0x1056ac4a0>,
│              tool_call_id='toolu_01Vxzv7sS5zwokJFGTFk6cGE',
│              params=create_claim_draft(claim_details='Car was smashed by another
│              vehicle. Damage estimated at $5,000.', claim_type='Collision',
│              claim_amount=5000.0, claim_date='2023-05-30'))
│
│        user: claim_id-123234

for

@ell.tool()
def create_claim_draft(claim_details: str, claim_type: str, claim_amount: float,
                       claim_date : str = Field(description="The date of the claim in the format YYYY-MM-DD.")):
    """Create a claim draft. Returns the claim id created."""
    print("Create claim draft", claim_details, claim_type, claim_amount, claim_date)
    return "claim_id-123234"

@ell.tool()
def approve_claim(claim_id : str):
    """Approve a claim"""
    return "approved"

@ell.complex(model="claude-3-5-sonnet-20240620", tools=[create_claim_draft, approve_claim], temperature=0.1, max_tokens=400)
def insurance_claim_chatbot(message_history: List[Message]) -> List[Message]:
    return [
        ell.system( """You are a an insurance adjuster AI. You are given a dialogue with a user and have access to various tools to effectuate the insurance claim adjustment process. Ask question until you have enough information to create a claim draft. Then ask for approval."""),
    ] + message_history

│   assistant: Thank you for providing that information. I understand that your car was
│              smashed by someone else today, and you estimate the damage to be around
│              $5,000. Let's create a claim draft based on this information.
│              First, I'll need to use today's date for the claim. I'll proceed with
│              creating a claim draft using the information you've provided.
│              ToolCall(create_claim_draft(claim_details='Car was smashed by another
│              party. Estimated damage: $5,000.' claim_type='Auto Collision'
│              claim_amount=5000.0 claim_date='2023-05-30'),
│              tool_call_id=toolu_01G76pfqEpBGgxQx7Gi3yL1z)
│
│        user: ToolResult(tool_call_id=toolu

See: https://github.com/MadcowD/ell/pull/239 for what I mean

fuckit we're goign to go with the readable repr for now since we're pre 0.1.0 and i'm fine for breaking changes here until we resolve this conversation cc @alex-dixon


Bisection method

Description
This method is based on INTERMEDIATE MEAN  THEOREM .
Given a function f(x) on floating number x and two numbers ‘a’ and ‘b’ such that f(a)*f(b) < 0 and f(x) is continuous in [a, b].Let f(x) represents algebraic or transcendental equation then find the root of function in interval [a, b].
Time complexity: depends upon the function f(x).
Please assign me the issue under GSSOC'22.
Domain
Algorithm
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

/assign


[lockrenewer] add logs for each renewal attempt

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

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 88.962%

Totals

Change from base Build<PHONE_NUMBER>6:
0.3%

Covered Lines:
951

Relevant Lines:
1069

💛  - Coveralls


Accentued characters and some currency characters can't be use with the password field (unicodePwd )

Hi guys,
i'm trying to use accentueted characters in the password field.
It seem's to me that accentuated characters like "éàäü and some currency characters  € and £ aren't sent currectly to the active directory (2016) user password.
My code look's like follow
  static encodePassword(password: string) {
    return Buffer.from(`"${password}"`, "utf16le").toString();
  }

    changes.push(
      new Change({
        operation: "replace",
        modification: {
          unicodePwd: LdapUtils.encodePassword(newPassword)
        }
      })
    );

I have tried to use 2 different active directories, and update the project to the last version (2.1.1)
When i reset the user password directly from the active directory, i can use the characters mentionated above successfully. But every time i tried to set a new password from my app(node js code), it doenst work. If i try any password without this characters it work's fine from the app and the active directory.
When it fails any error is reported in the nodejs terminal, every thing seem's to work fine, the only difference is that the final user can't log in anymore. (code 52e)
I have tried too different versions of the encode method (wich none seem's to work)
const iconv   = require('iconv-lite');

...

  static encodePassword(password: string) {
       return  iconv.encode(`"${password}"`, "utf16le")
  }

  static encodePassword(password: string) {
  let convertedPassword = '';
  passwordString = '"' + password + '"';

  for (let i = 0; i < passwordString.length; i++) {
    convertedPassword += String.fromCharCode(
      passwordString.charCodeAt(i) & 0xff,
      (passwordString.charCodeAt(i) >>> 8) & 0xff
    )
  }

  return convertedPassword;
  }

I have found someone with the same kind of problem, it seem's too me to me that the same kind of thing is happeninng here, maybe it gives an idea to someone.
https://github.com/dapphp/radius/issues/5#issuecomment-489633178
I'm not sure if it's an issue with ldapjs, but i dont really know what i can try more, maybe someone can tell me if he can modify user passwords using ldapjs and confirm if it's or not an ldapjs issue?
Thank you in advance for any help and have a good day

Hi, nobody have an idea about this issue ?

Unfortunately, no. I do not have access to an AD server. If you can provide a reproduction within our integration test suite, that would be helpful. And if you can provide a fix, we'd certainly love to review it and get it integrated.

Hi, also having this issue. Have you tried base64 encoding ?

👋
On February 22, 2023, we released version 3 of this library. As a result, we are closing this issue/pull request.
Please see issue #839 for more information, including how to proceed if you feel this closure is in error.


Improvements to checkConditions that were reverted, ref #175.

Alright, so this is basically a new attempt at the changes that can be seen on the Fix-Impatience-Tests branch. The changes were previously merged into master, but caused some problems, see #175.
I need to verify that the problems @npalmer-professional discovered have not reappeared.
@llorracc I'd appreciate your input here; did you want me to do anything further than what was in the Fix-Impatience-Tests branch, or is this what you had in mind? Notice, I did not copy/paste the lines, as I wanted to avoid introducing the same white space issues.

Running Nathan's example of something that broke, I now get
***NOTE: using a 'quick fix' for an attribute error. See 'Error Notes' in EstimationParameter.py for further discussion.***
Now estimating the model using Nelder-Mead from an initial guess of [0.99, 4.0]...

/home/pkofod/anaconda3/lib/python3.6/site-packages/HARK/interpolation.py:1675: RuntimeWarning: All-NaN slice encountered
  y = np.nanmin(fx,axis=1)

Optimization terminated successfully.
         Current function value: 41839.684357
         Iterations: 45
         Function evaluations: 90
Time to estimate is 37.57486915588379 seconds.
Estimated values: DiscFacAdj=1.004880962644363, CRRA=4.8605098948425285

that is, no weird error as after the "old" commits.

@mnwhite @llorracc where would I go looking for tests for the ConsIndShockModel.py module? Since this PR introduces changes there, it'd be nice to verify that this doesn't cause any issues problems there. On a related note: is there an issue tracking efforts towards setting up CI using the github hooks to travis-ci or similar? I tried searching but came up empty-handed, but remember seeing it mentioned (as a planned feature?) on a slide show at some point..

For release notes: "Improve the reporting of various impatience conditions in IndShockConsumerType"


Support for discontiguous indexes

Add support for non-contiguous ranges of indexes so that sparse points databases can be efficiently implemented.

Support was integrated in 2.0.1-RC1


Build fails for Grace Hopper system

Hello, I'm using the main branch and trying to install on an Arm Grace Hopper system.
My guess is the error is that this is trying to install amd and proton on an Nvidia system.

Do you have any insight to the error?
Is there a method to select only building the Nvidia backend?

I am happy to commit a PR if you have an idea of how to fix this. Perhaps with pip config options with an environment variable.
Error
[212/228] /usr/bin/c++ -DTRITON_BACKENDS_TUPLE="(nvidia,amd)" -Dtriton_EXPORTS -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10 -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/. -I/home/benchmarking/akawafi1.benchmarking/.triton/llvm/llvm-56152fa3-ubuntu-arm64/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/src -I/home/benchmarking/akawafi1.benchmarking/miniforge3/envs/triton-env/include/python3.10 -I/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/pybind11/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/lib/TritonAMDGPUTransforms/../../include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/lib/TritonAMDGPUTransforms/../../include -D__STDC_FORMAT_MACROS  -fPIC -std=gnu++17 -Werror -Wno-covered-switch-default -fvisibility=hidden -O2 -g -std=gnu++1z -fPIC -MD -MT CMakeFiles/triton.dir/python/src/ir.cc.o -MF CMakeFiles/triton.dir/python/src/ir.cc.o.d -o CMakeFiles/triton.dir/python/src/ir.cc.o -c /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/src/ir.cc
  ninja: build stopped: subcommand failed.

  Traceback (most recent call last):
    File "/home/benchmarking/akawafi1.benchmarking/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/benchmarking/akawafi1.benchmarking/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/benchmarking/akawafi1.benchmarking/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 421, in build_wheel
      return self._build_with_temp_dir(
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 403, in _build_with_temp_dir
      self.run_setup()
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 503, in run_setup
      super().run_setup(setup_script=setup_script)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 318, in run_setup
      exec(code, locals())
    File "<string>", line 624, in <module>
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
      return run_commands(dist)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
      dist.run_commands()
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
      self.run_command(cmd)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "<string>", line 578, in run
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/wheel/_bdist_wheel.py", line 378, in run
      self.run_command("build")
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "<string>", line 324, in run
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "<string>", line 361, in run
    File "<string>", line 469, in build_extension
    File "/home/benchmarking/akawafi1.benchmarking/miniforge3/envs/triton-env/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'TritonRelBuildWithAsserts', '-j576']' returned non-zero exit status 1.
  error: subprocess-exited-with-error

  × Building wheel for triton (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/benchmarking/akawafi1.benchmarking/miniforge3/envs/triton-env/bin/python3.10 /home/benchmarking/akawafi1.benchmarking/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /local/user/1483800084/tmpfoiq7e3c
  cwd: /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python
  Building wheel for triton (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for triton
Failed to build triton
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (triton)

There is also this error that shows up in an earlier step.
[102/228] /usr/bin/c++  -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/unittest/Conversion -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/. -I/home/benchmarking/akawafi1.benchmarking/.triton/llvm/llvm-56152fa3-ubuntu-arm64/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/src -I/home/benchmarking/akawafi1.benchmarking/miniforge3/envs/triton-env/include/python3.10 -I/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/pybind11/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/lib/TritonAMDGPUTransforms/../../include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/lib/TritonAMDGPUTransforms/../../include -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googletest/include -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googletest -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googlemock/include -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googlemock -D__STDC_FORMAT_MACROS  -fPIC -std=gnu++17 -Werror -Wno-covered-switch-default -fvisibility=hidden -O2 -g -std=gnu++1z -fno-rtti -MD -MT third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o -MF third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o.d -o third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o -c /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion/OptimizeLDSTest.cpp
  FAILED: third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o
  /usr/bin/c++  -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/unittest/Conversion -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/. -I/home/benchmarking/akawafi1.benchmarking/.triton/llvm/llvm-56152fa3-ubuntu-arm64/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/src -I/home/benchmarking/akawafi1.benchmarking/miniforge3/envs/triton-env/include/python3.10 -I/local/user/1483800084/pip-build-env-6tulqnyc/overlay/lib/python3.10/site-packages/pybind11/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/lib/TritonAMDGPUTransforms/../../include -I/lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/third_party/amd/lib/TritonAMDGPUTransforms/../../include -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googletest/include -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googletest -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googlemock/include -isystem /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/python/build/cmake.linux-aarch64-cpython-3.10/_deps/googletest-src/googlemock -D__STDC_FORMAT_MACROS  -fPIC -std=gnu++17 -Werror -Wno-covered-switch-default -fvisibility=hidden -O2 -g -std=gnu++1z -fno-rtti -MD -MT third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o -MF third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o.d -o third_party/amd/unittest/Conversion/CMakeFiles/TestOptimizeLDS.dir/OptimizeLDSTest.cpp.o -c /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion/OptimizeLDSTest.cpp
  /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion/OptimizeLDSTest.cpp: In function ‘bool mlir::checkProdEq(llvm::ArrayRef<unsigned int>)’:
  /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion/OptimizeLDSTest.cpp:11:12: error: ‘reduce’ is not a member of ‘std’
         std::reduce(a.begin(), a.end(), 1u, std::multiplies<unsigned>());
              ^~~~~~
  /lus/lfs1aip1/home/benchmarking/akawafi1.benchmarking/code/IsambardMLOps/scripts/build_triton/triton/third_party/amd/unittest/Conversion/OptimizeLDSTest.cpp:11:12: note: suggested alternative: ‘replace’
         std::reduce(a.begin(), a.end(), 1u, std::multiplies<unsigned>());
              ^~~~~~
              replace
  At global scope:
  cc1plus: error: unrecognized command line option ‘-Wno-covered-switch-default’ [-Werror]
  cc1plus: all warnings being treated as errors

To Reproduce
conda create -n "triton-env" python=3.10 -y
conda activate triton-env
git clone https://github.com/triton-lang/triton.git
cd triton
pip install -v python/ >& ../pip_output.log

System Specification
$ uname -a
Linux nid001040 5.14.21-150500.55.31_13.0.53-cray_shasta_c_64k #1 SMP Mon Dec 4 22:56:47 UTC 2023 (03d3f83) aarch64 aarch64 aarch64 GNU/Linux

I'm not able to reproduce. Might have to do with your local environment.

Thanks for looking @Jokeren, Do you have any AMD dependencies installed? How can I edit -DTRITON_BACKENDS_TUPLE="(nvidia,amd)" and not install HIP?
Let me know if there is a method for me to debug my local environment, i.e. is it my nvcc version?

So the tag v0.4 works. Every other version since has failed for me. I've tested:

v0.4
v1.0
v1.1
v1.1.1
v1.1.2
v2.0
v2.1

std::reduce requires C++17. Perhaps your toolchain is too old or is being called with the wrong flags?

Hello @peterbell10, thanks for your reply. Using a more modern G++ helped me get further in the build process. However, I was not able to continue the build since there is a hard coded dependency on ubuntu-18.04-x86_64 LLVM if you're not using apple-darwin.
This forked build by @acollins3 worked for me on GH200 and SLES linux:
pip install https://github.com/acollins3/triton/releases/download/triton-2.1.0-arm64/triton-2.1.0-cp310-cp310-linux_aarch64.whl
I'm currently going through a manual conda-build from the condo-forge feedstock, which is full of build patches. This also doesn't support aarch64 on linux.
Is there any plan to support building wheels for linux aarch64? As support seems to be pretty loose and depends on forks and patches at the moment.

As I've mentioned before, linux aarch64 worked well for us

I think the issue is that is using /usr/bin/c++ instead of whatever is set in CXX.

Thanks both. We had a weird requirement for an older version of triton. We were able to install by manually building LLVM.


Improve AbsDiffColumnTransformer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0228a1d) to head (501ebc7).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #322   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           50        50
  Lines         1275      1276    +1
  Branches        50        50
=========================================
+ Hits          1275      1276    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Reinstalling Android Studio breaks flutter

If I reinstall Android Studio, then I get
[✗] Android toolchain - develop for Android devices
    ✗ ANDROID_HOME = /Users/iam/Library/Android/sdk
      but Android SDK not found at this location.

If I then reinstall flutter, it is fixed.

Perhaps I should provide a little more detail on what uninstalling Android Studio entailed. I removed the following directories (I don't recall if some had a slightly different name), as suggested at https://nektony.com/how-to/uninstall-android-studio-on-mac.
~/Library/Android
~/Library/Preferences/AndroidStudio
~/Library/Preferences/com.google.android
~/Library/Preferences/com.android
~/Library/Application/Support/AndroidStudio
~/Library/Logs/AndroidStudio
~/Library/Caches/AndroidStudio

By reinstall flutter, I mean rm -rf ~/opt/flutter and cp ~/Downloads/flutter ~/opt, more or less.
And to be clear, reinstalling Android Studio implies following the usual directions starting from any flutter instructions.

Hi @bradyt
Over the past few months, I've reinstalled Flutter tons of times, Android Studio both from a website and using Jetbrain toolbox on macOS, Windows, Linux as part of the job. Never had this issue.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.


Function.apply unspecified

The static function Function.apply is mentioned here and here in the language specification, but Function.apply itself is never specified. We might want to specify it in a manner which is similar to the one given on the documentation page for Function.apply, such that the language specification is self-contained in this respect.
(Note that Function.apply needs to accept type arguments for the invocation as well as value arguments, and the documentation mentioned above is too old to include that).

We should not specify library methods in the specification. That leads to issues like identical actually working differently depending on whether the arguments are compile-time constants or not.
We also do not specify int.+ or int.toString in the language specification. They might seem obvious, but they aren't (q.v., Type.toString).

I have a different view: we should specify this behavior (currently Function.apply) in the spec.  That allows implementations to reason about it and optimize it other than just calling a random library function.  And it allows programmers to understand it at a deeper level, too.
Then the API docs for Function.apply should refer to the behavior in the spec, rather than the other way around.

Specifying "function application" in the language specification should ... probably already be there. If we just refer to that directly, instead of mentioning Function.apply in the specification at all, that's perfectly good. The Function.apply can refer to the specification or not when it is defined.
It doesn't change that implementors must recognize Function.apply in the platform libraries as something that requires platform support, it can't be written in Dart in either case. And since they do that, they can also already reason about and optimize the specified calls to avoid actually calling Function.apply in he cases that you refer to, as long as the end result is the same (we do not specify the contents of stack traces, so omitting apply from it is not an error).
Deeper understanding is good, though.

I think it makes sense to insist that the language specification be self-contained in this respect, but as Lasse mentioned this can be done without referring to Function.apply. It just needs to have a specific concept for invocation that the rest of the language specification as well as the documentation of Function.apply can use.
The phrase function invocation is currently used to denote syntactic constructs as well as the semantic action, so it's not quite as precise as I'd prefer, but it shouldn't be hard to get there.

Hmm.  My general take is that anything which cannot be implemented in the language, is part of the language, and hence needs to be specified as part of it.

My general take is that anything which cannot be implemented in the language, is part of the language, and hence needs to be specified as part of it.

That would include the entire dart:mirrors and dart:html libraries, so the distinction probably needs to be less clear-cut than that.
To me, there is a platform (or more than one), and the language is part of the platform, not the other way around. So are the libraries, and the tools.
The platform chose to have a Function.apply method, like it chose to have HTML and mirrors, it wasn't a "language" choice. And now the "dart4web" platform have chosen to not have mirrors.
Some parts of the language is defined in terms of the libraries or the platform, as requirements on the existence and meaning of types or methods. That's why we can say that an error throws a CastError or NoSuchMethodError (types that must exist, we don't actually say what they do). For classes extending Error we even say that there must be a way for throw to set the stack trace. For int, we expect there to be a + operator. We expect int.toString and String.toString to do something useful—it's not defined in the language specification, but it's hinted by the use of print in examples.
The constants section is full of assumptions about what String and num operations do (at least we assume they don't have visible side-effects, so we can't tell when they are actually evaluated).
I would agree that the language defining its semantics in terms of Function.apply is unnecessary, and we should fix it for that reason. The language is actually also defined in terms of the mirrors library (private symbols) and we need to fix that to make dart4web a valid platform.
There are necessary dependencies between language and libraries, in both directions, but we should avoid unnecessary ones.

I think the divergence has been reduced to a very small edit at this point: I'll write a CL on dartLangSpec.tex that introduces a semantic notion of function invocation, and that concept will be used in the two locations where the spec used to refer to Function.apply. This takes Function.apply out of the spec entirely.
If we then want to specify Function.apply in the spec (because it can't be written in Dart, and it is concerned only with concepts that are in the language, as opposed to 'dart:html' which refers to external functionality) then we just need to add a single sentence somewhere. That new sentence would use the new semantic function invocation concept to specify what Function.apply does.

I'm not too hung up on this.  Agreed that there is a fuzzy line in there - any time you have a foreign code interface you can step outside of the scope of what's otherwise implementable.  I still feel like there's a very real distinction though between adding a library whose functionality requires an external implementation and adding static methods to a primitive type in the language.  Function is primitive to the language (you can't define subtyping without talking about it), and as such, it's odd to me that we delegate the method set and the semantics thereof to the libraries.
Future is the same way to me - it's clearly part of the language, even if we want to pretend it's part of the libraries.  :)
As I said, not too hung up on how this gets specified though.

I like the criterion that anything which (1) cannot be written in Dart, and (2) is "part of the language" should be specified.
Being "part of the language" is a little bit more tricky, but it could still be associated with the concepts that the language specification is already talking about (so function invocation is part of the language, but X Windows and browser DOMs are not).
But I think that's still compatible with an approach where semantic function invocation is specified explicitly, and the documentation for Function.apply just refers to semantic invocation.


fix: update e2e test

Our e2e tests were failing because we made a breaking change and didn't update thr RC. We should probably come up with a more clever way of working out the latest release and running that

Codecov Report

Merging #2359 (f66dbcd) into main (8eff970) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2359   +/-   ##
=======================================
  Coverage   20.58%   20.58%
=======================================
  Files         132      132
  Lines       15296    15296
=======================================
  Hits         3148     3148
  Misses      11846    11846
  Partials      302      302


Missing include folder in Eclipse IDE?

First of all, I want to say thank you for this awesome project. I came from Java and using Eclipse is much more convenient for me then Arduino IDE.
I'm using platformio to program my Arduino Uno, so, I generate project with platformio init --ide eclipse --board uno. In this case default "include path" in Eclipse contains two platform-specific directories:

/home/madhead/.platformio/packages/framework-arduinoavr/variants/standard
/home/madhead/.platformio/packages/framework-arduinoavr/cores/arduino

With this configuration Eclipse does not know about some AVR types, like uint8_t. So when I use pinMode or digitalWrite I got error highlights, but the build is actually fine. This type is defined in <stdint.h> in AVR.
I solve this problem by manually including one mode directory: /home/madhead/.platformio/packages/toolchain-atmelavr/avr/include to the Includes (Project properties → C/C++ General → Paths and Symbols):

Am I missing something, or, maybe, this directory can be included in Eclipse projects by default?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/17013264-missing-include-folder-in-eclipse-ide?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).

Thanks a lot for the feedback! :+1:
Yes, this is bug or maybe, missed feature. I will add includes from toolchains to exported paths in 2.0.1 release.


[BUG] Bug with c2me mod java.util.ConcurrentModificationException: Async entity

Versions

easyauth-mc1.20.3-rc1-3.0.20
fabric-api-0.95.1+1.20.4

Describe the bug
Bug with mod c2me. When a player is successfully logins, c2me do java.util.ConcurrentModificationException: Async entity unload.
After that player in unplayable state, after rejoining to server that player is on "spawn" instead of being at previous logout location.
To Reproduce
Steps to reproduce the behavior:

Try to login with offline account. (chances is about 50/50 that a bug occurs)
Observe.

Expected behavior
Login would not tp player to spawn. And be at previous logout location.
Additional context
log https://pastebin.com/Hvd9C84R
Comment from c2me side https://github.com/RelativityMC/C2ME-fabric/issues/344

I can confirm on Minecraft 1.21.3 with Fabric 0.16.7+ and the first version of C2ME. I have test with a other account on a crack server.

Can you fix it please ?


About the data

Hello, professor
I recently trying to reappear the your code, I met a problem, but before I kaggle downloaded DR data set, contains five seven training set and test set, but I put these data sets in eyepacs folder after running eyepacs. Sh extract only the training set, after running eyepacs. Sh is only a pool folder, inside a folder called "train" and a lot of pictures, but the train is empty inside.I only see one pool file when I run eyepacs.sh. Can you help me solve it?

Hi. Can you please send the exact command you used to run eyepacs.sh? Also, what platform are you using?

非常感谢你的回复，代码已经跑通了，结果和你的差不多，但是ROC曲线图画不出来，如果我在你的代码上换一下网络，比如Resnet、inceptipn-resnet等，请给一些建议。谢谢

Thank you very much for your reply, the code has been running and the result is similar to yours, but the ROC curve drawing is not available. If I change the network on your code, such as Resnet, inceptipn-resnet, please give me some Suggestions.thank you.

The code does not generate a ROC curve drawing. You can save the specifity/sensitivity operating points to a file with the -so parameter, for example: python evaluate.py -so operating_points.csv. Then you can use the operating_points.csv file to draw a ROC curve.


URI and development changes

This is a bit over everything... probably best to look through each commit to get a better sense of the changes.
The gist is towards moving to the URI based connection, using the runtime container for development and setting foundational elements for postgres integration.

Tests are failing unrelated to these changes

This is what I changed:
diff --git a/wbia/control/_sql_helpers.py b/wbia/control/_sql_helpers.py
index 623cc4e8b..58370efc4 100644
--- a/wbia/control/_sql_helpers.py
+++ b/wbia/control/_sql_helpers.py
@@ -379,8 +379,7 @@ def update_schema_version(
             ), 'ERROR UPDATING DATABASE, SUPERKEYS of %s DROPPED!' % (tablename,)

     logger.info('[_SQL] update_schema_version')
-    # Remove file:// from db.uri
-    db_fpath = db.uri[len('file://') :]
+    db_fpath = db.uri.replace('file://', '')
     if dobackup:
         db_dpath, db_fname = split(db_fpath)
         db_fname_noext, ext = splitext(db_fname)
diff --git a/wbia/dtool/sql_control.py b/wbia/dtool/sql_control.py
index a6670922b..7c4d9261f 100644
--- a/wbia/dtool/sql_control.py
+++ b/wbia/dtool/sql_control.py
@@ -685,8 +685,7 @@ class SQLDatabaseController(object):
         return conn

     def _create_connection(self):
-        # Remove file:// from self.uri
-        path = self.uri[len('file://') :]
+        path = self.uri.replace('file://', '')
         if not exists(path):
             logger.info('[sql] Initializing new database: %r' % (self.uri,))
             if self.readonly:
@@ -861,8 +860,7 @@ class SQLDatabaseController(object):
         connection.isolation_level = 'EXCLUSIVE'
         connection.execute('BEGIN EXCLUSIVE')
         # Assert the database file exists, and copy to backup path
-        # Remove file:// from self.uri
-        path = self.uri[len('file://') :]
+        path = self.uri.replace('file://', '')
         if exists(path):
             ut.copy(path, backup_filepath)
         else:


// , Unable to import 2of3 wallet seed... consider merging #880 ?

// , I had a crack at importing some wallets from the Electrum modified by GreenAddress.
https://github.com/spesmilo/electrum/pull/880
If you'd like help with the git particulars, I can lend assistance, but I'm not too familiar with the Electrum source code.
Anyway, I did a successful recovery of a 2of3 GreenAddress wallet into Electrum following GreenAddress's 2of3 recovery instructions.
I then started Electron Cash, and attempted an import from that Electrum Wallet into Electron Cash.

I get a message about a backwards incompatible upgrade of the imported wallet from Electrum.

After I acknowledge that my wallet file format will not be backwards compatible, the client dies and displays the following NoneType trace:

ubuntu@ubuntu:~/Downloads/Electron Cash-2.9.2$ ./electron-cash
Traceback (most recent call last):
  File "./electron-cash", line 377, in <module>
    d.init_gui(config, plugins)
  File "/home/ubuntu/Downloads/Electron Cash-2.9.2/lib/daemon.py", line 283, in init_gui
    self.gui.main()
  File "/home/ubuntu/Downloads/Electron Cash-2.9.2/gui/qt/__init__.py", line 215, in main
    if not self.start_new_window(path, self.config.get('url')):
  File "/home/ubuntu/Downloads/Electron Cash-2.9.2/gui/qt/__init__.py", line 175, in start_new_window
    wallet = wizard.run_and_get_wallet()
  File "/home/ubuntu/Downloads/Electron Cash-2.9.2/gui/qt/installwizard.py", line 251, in run_and_get_wallet
    self.storage.upgrade()
  File "/home/ubuntu/Downloads/Electron Cash-2.9.2/lib/storage.py", line 251, in upgrade
    self.convert_wallet_type()
  File "/home/ubuntu/Downloads/Electron Cash-2.9.2/lib/storage.py", line 331, in convert_wallet_type
    raise
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

https://bitcoin.stackexchange.com/questions/57526/how-can-i-reclaim-my-bitcoin-cash-from-my-greenaddress-wallet/57530#comment66202_57956
Anyway, I'm wondering if you know any way to get a 2of3 GreenAddress wallet, as imported into Electrum, into Electron Cash?
I posted about it here: https://www.reddit.com/r/btc/comments/6t6n23/help_wanted_how_do_i_get_bitcoin_cash_from/dliegox/
How can I get the BCC from my GreenAddress 2of3 private keys? Do you think this is the right approach? Are there any places you would recommend digging further into the code?

Dont mean to ignore you, i just dont know much about green address.  i'll ask the team

You could try to cherry-pick that commit spesmilo#0dd52c7642e1bde1d1755bdaee244e945becbf17 (that GreenAddress Restore Plugin) into your local electron-cash git.
I'm a bit confused: what's the result of this restore process? A "normal" wallet?
I'm also confused about that "jnius" thing in the call path on your screenshot? Some java binding thingie? Why is it used?

@v6 did you try pulling in the code from 880?

we're dropping green address support.  they will never support BCH.


build(windows): fix compilation errors on MSVC

related to: #211
Fixes compilation errors on Windows/MSVC
_Static_assert is not an issue when compiled with the c11 std

force pushed to incorporate review comments, thanks @roconnor-blockstream

Looks good.  Can you rebase this on master?
@apoelstra can you review and/or run it through your CI?

@roconnor-blockstream rebased on master

Ran it through my local CI. I'm also a little confused why the enum thing works (I also thought enums defaulted to being represented by ints so how come we can pass this value to bounded_add which accepts a ubounded?)

Ran it through my local CI. I'm also a little confused why the enum thing works (I also thought enums defaulted to being represented by ints so how come we can pass this value to bounded_add which accepts a ubounded?)

my guess is there must be an implicit conversion?

My guess is that the compiler can see the enum constant is 100 and thus the implicit cast doesn't require any warnings.


⚠ Bofrost.ch has degraded performance

In 2d55644, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2952 ms

Resolved: Bofrost.ch performance has improved in 61cd665.


Flatten arrays

It would be cool, if the library would allow serializing arrays as scalar values like:
input:
[{
    name: "Jack",
    age: 39,
    friends: [{ name: "Oliver", age: 40 }, { name: "Harry", age: 50 }],
}, {
    name: "Thomas",
    age: 40,
    friends: [{ name: "Harry", age: 35 }]
}]

output:
name,age,friends.0.name,friends.0.age,friends.1.name,friends.1.age
Jack,39,Oliver,40,Harry,50
Thomas,40,Harry,35

Hi @kuchta,
The problem that I can see with that is that the end result is very indeterministic. You can have rows with 100 friends and rows with 1 friend.
In any case, it sounds like a reasonable request. I'm wondering if we should add a new option that flattens arrays or we should extend the current flatten option to also flatten arrays (which will be a breaking change).

Hi @juanjoDiaz,
I don't think the end result is indeterministic, but it sure can lead to a lot of columns in case you are working with arrays of very variable length. In that case unwind is probably preferable aproach, but in case you are working with "tuples" of limited length, this is probably the most straightforward way on par with flattening objects...

I can see the use case. We might introduce this for v5.0.0.
For now, I think that preprocessing your data to flatten the arrays is the way to go.
What do you think of modifying the flatten option so instead of true|false it takes true|'objects'|'arrays'|false so you can choose what you want to flatten?
The other option would be to have to boolean options flatten-objects and flatten-arrays. But it doesn't sound as good to me.
@knownasilya thoughts?

I like flatten = true|'objects'|'arrays'|false more, but I understand that I would introduce backward incompatible change, which is probably OK for major version change. Do you mean, that true would flatten both objects and arrays, right? I just can't see use case for flatten = 'arrays'. Maybe ```flatten = true|'evenArrays'|false would be better since it could be backward compatible when true means flatten just objects.

I think we could do a backward compatible version, maybe even keeping flatten as-is and adding flattenArrays option. My rational is that this seems like a fringe case, since we are just now seeing a request for it and there probably won't be additional options to flatten of the same nature, since there is no other complex data structures that you'd see in json. If we do see a reason for making it one option, we could do that in a future major version, e.g. v5.


Server-side dynamic templated import()s work in development but not production

Bug report
Describe the bug
When you need to dynamically import some content (eg .md files) but you don't want them all to be part of the main bundle and don't want to maintain a list of hard-coded dynamic imports you can use import() with template string.
This works find in dev (via now dev) but fails in production.
To Reproduce
const articleId = 'faq';
const article = await import(`./articles/${articleId}.md`);

Expected behavior
The import() should resolve, but it fails only server-side only production (via now).
Screenshots
It fails with the following error:
article TypeError: undefined is not a function
    at Array.map (<anonymous>)
    at webpackAsyncContext (/var/task/page.js:27734:34)
    at _callee$ (/var/task/page.js:14545:47)
    at tryCatch (/var/task/page.js:24367:40)
    at Generator.invoke [as _invoke] (/var/task/page.js:24593:22)
    at Generator.prototype.(anonymous function) [as next] (/var/task/page.js:24419:21)
    at asyncGeneratorStep (/var/task/page.js:12716:24)
    at _next (/var/task/page.js:12738:9)
    at /var/task/page.js:12745:7
    at new Promise (<anonymous>)

System information

OS: MacOS / Now
Version of Next.js: 8.1.0

Additional context

I'm currently working around the issue by using codegen to print out hard-coded imports import('./articles/foo.md'); ….
https://medium.com/front-end-weekly/webpack-and-dynamic-imports-doing-it-right-72549ff49234

I'm unsure if this is a next, now or @now/next issue. Apologies if this is in the wrong place.

Hi! Without a fully reproducible demo we're not going to be able to help much. Can you please provide a repository?

Dammit, I can't repro now and no idea why 🤦♂ I'll reopen if I run into it again.


🦩 Plugin modifies the behavior of floated images/callouts

While using callouts or images that have a float class, such as using infoboxes in SIRvb's callouts, callouts/images are in their own "block" instead of the normal floating behavior.
For callouts, it seems like this has to do with the el-div class, which is the parent of the callout div and is usually sized 0x0 when the plugin is disabled, but is sized differently when the plugin is enabled, resulting in the content being pushed down. (In this below example, the size of el-div when the plugin is enabled is 1000x 379.2.)
For images, it seems like the el-p class has similar behaviors to the el-div class for callouts, pushing all the content down when the plugin is enabled. The img just has a simple snippet that has float:right
What the note looks like before the plugin is enabled (example with callouts):

What it looks like after pixel-banner is enabled:

This happens to all notes regardless if there is a banner in the note or not.
Trying a really hacky fix like changing the el-div class height to 0 after the plugin is enabled just results in the the callout being rendered on top of the content below. (probably wasn't going to work anyways but hopefully it gives context)

Using Windows 11, same behavior in a sandbox vault with only the callout snippet and plugin installed, using latest version of Obsidian and of the plugin.

resolved in latest update:
https://github.com/jparkerweb/pixel-banner/releases/tag/2.6.7

@aviphyr
checkout v2.7.0 - 🔵🔴 Flickr Time
😂


Missing subnet pool feature

I have to deal with subnet groups but this feature isn't available in the osc client.
How can i access this feature?
in the openstack client it is available through openstack subnet group ...

Not implemented as of now. You can still use the API wrapper. I'll try to address this next week

@joek-office are you sure "subnet group"? I can't find such resource. There is "subnet pool" or any other possible group except subnet

sorry, i meant subnet pool. yes.

subnetpools implementation is now merged and will be included in next release (hopefully tomorrow)

released in v0.6.4

Thank you very much.


Add OfflineSegmentIntervalChecker to PeriodicTasksIntegrationTests

Codecov Report

Merging #4278 into master will increase coverage by 0.05%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #4278      +/-   ##
============================================
+ Coverage     67.21%   67.26%   +0.05%
  Complexity       20       20
============================================
  Files          1039     1039
  Lines         51535    51543       +8
  Branches       7228     7229       +1
============================================
+ Hits          34638    34672      +34
+ Misses        14534    14500      -34
- Partials       2363     2371       +8

Impacted Files
Coverage Δ
Complexity Δ

...ller/validation/OfflineSegmentIntervalChecker.java
29.48% <0%> (-0.39%)
0 <0> (ø)

...apache/pinot/common/metrics/ValidationMetrics.java
41.09% <0%> (+20.8%)
0 <0> (ø)
:arrow_down:

...va/org/apache/pinot/controller/ControllerConf.java
46.19% <0%> (-0.67%)
0 <0> (ø)

...core/operator/dociditerators/AndDocIdIterator.java
51.72% <0%> (-31.04%)
0% <0%> (ø)

...egation/function/customobject/MinMaxRangePair.java
75.86% <0%> (-24.14%)
0% <0%> (ø)

...pinot/core/operator/docidsets/OrBlockDocIdSet.java
84.9% <0%> (-13.21%)
0% <0%> (ø)

...org/apache/pinot/broker/queryquota/HitCounter.java
92.3% <0%> (-7.7%)
0% <0%> (ø)

...impl/dictionary/DoubleOnHeapMutableDictionary.java
69.56% <0%> (-6.53%)
0% <0%> (ø)

.../impl/dictionary/FloatOnHeapMutableDictionary.java
82.6% <0%> (-6.53%)
0% <0%> (ø)

...r/helix/SegmentOnlineOfflineStateModelFactory.java
60.19% <0%> (-5.83%)
0% <0%> (ø)

... and 31 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 ccab9a1...9950341. Read the comment docs.


MT#123456

[Enter feedback here]

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

ID: ea95f9c8-e0ad-93d2-cac2-0b486a684600
Version Independent ID: e03365fb-056d-1388-1cc3-01c009b1d2ec
Content: Advanced features of Azure Metrics Explorer - Azure Monitor
Content Source: articles/azure-monitor/platform/metrics-charts.md
Service: azure-monitor
Sub-service: metrics
GitHub Login: @vgorbenko
Microsoft Alias: vitalyg

If you have time to help out me

@MYTA1802 Thank you for reaching out, please note that this channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation. Can you please share more information on what exact question you have regarding the documentation linked on this thread ? so that we can help you accordingly. Thanks

@MYTA1802 Sorry since we have not heard back from you we will now proceed to close this thread. Please revert back with additional information on your exact query which would help us to guide you accordingly. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion. Thank you


Sewage water graph lagging behind with data

Please (automatically) update sewage water graph which now goes until third week of August while there is data until mid September.

Oke, I do have to update the graphs asap.
Check out this issue as well https://github.com/minvws/nl-covid19-data-dashboard/issues/255.  I think it is unrelated, so just  for reference.

I think it is resolved. Please do let me know if you think otherwise.


⚠ Bofrost.be has degraded performance

In 8d03ac7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1527 ms

Resolved: Bofrost.be performance has improved in 9901261 after 9 minutes.


exificient: init at 1.0.7

Description of changes
A java implementation of EXI, specifically the command line tool included with it.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[X] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@Aleksanaa  Thanks :) should all be addressed.


Example nginx configuration does not work after upgrading to 3.75

Using example configuration https://github.com/seaweedfs/seaweedfs/wiki/S3-Nginx-Proxy
With version 3.73 it works fine
Once upgrading to 3.75 (or 3.76 or 3.77) we get the following error:
$ rclone lsd dropbox:
<3>ERROR : : error listing: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
        status code: 403, request id:<PHONE_NUMBER>541862383, host id:
Failed to lsd with 2 errors: last error was: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
        status code: 403, request id:<PHONE_NUMBER>541862383, host id:

rclone config:
[dropbox]
type = s3
provider = SeaweedFS
env_auth = false
access_key_id = xxxx
secret_access_key = xxx
endpoint = https://dropbox.my.domain
acl = private

nginx config:
server {
        listen 443 ssl;
        listen [::]:443 ssl;

        http2 on;

        # Assumes that your subdomain is s3
        # The regex will support path style as well as virtual-hosted style bucket URLs
        # path style: http://s3.yourdomain.com/mybucket
        # virtual-hosted style: http://mybucket.s3.yourdomain.com
        server_name ~^(?:(?<bucket>[^.]+)\.)dropbox\.my\.domain;

        ssl_protocols TLSv1.2 TLSv1.3;
        ssl_certificate /etc/ssl/private/xxxxxxxxxxxxx
        ssl_certificate_key /etc/ssl/private/xxxxxxxxxxx

        ignore_invalid_headers off;
        client_max_body_size 0;
        proxy_buffering off;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header X-Forwarded-Proto $scheme;

        proxy_connect_timeout 300;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
        chunked_transfer_encoding off;

        # If bucket subdomain is not empty,
        # rewrite request to backend.
        if ($bucket != "") {
                rewrite (.*) /$bucket$1 last;
        }

        location / {
                proxy_pass http://localhost:8333/;
        }
}

directly accessing seaweed service works fine (not going through nginx)

@matthewdarwin Hello. got same issue on 3.77 and fixed it by adding this line to nginx config
proxy_set_header X-Forwarded-Host $host;
right below other X-Forwarded headers.
Get idea from this https://github.com/seaweedfs/seaweedfs/issues/6086 ticket.

Previously if weed s3 is behind a proxy without X-Forwarded-Host set, I could not understand why it worked. :)
@Ochita could you help to debug a bit here? Does that mean the nginx can pass the right "host" to the weed s3 here https://github.com/seaweedfs/seaweedfs/commit/f747767aa10da345c19a61a63687d52876efe6a5 ?


Need to add security headers and CORS policies

As a service provider
I need my service to use security headers and CORS policies
So that my web site is not vulnerable to CORS attacks
Assumptions
Flask-Talisman will be used for security headers
Flask-Cors will be used to establish cross-origin resource sharing (CORS) policies
Acceptance Criteria
1
2
3
Given the site is secured
When a REST API request is made
Then secure headers and a CORS policy should be returned


[BUG] - latest update broke the toggle :(

Describe the bug
The notification toggle has become useless again, with auto tunnel enabled. You can toggle as much as you want but it will always immediately reconnect, making the toggle useless.
It worked fine for a while.
Smartphone (please complete the following information):

Device: [e.g. Pixel 4a] Pixel 4a, ZenFone 9, ZenFone 10
Android Version: Android 14
App Version [e.g. 3.3.3] 3.4.1

To Reproduce
Steps to reproduce the behavior:

Enable auto tunnel
Leave your trusted wifi.
Notice tunnel connection will be made.
Toggle connection off.
Notice tunnel goes down and immediately up again.

Expected behavior
Notification Toggle is meant to turn the tunnel on/off. Regardless of auto tunnel. In the previous version, this worked: when toggling off, auto tunnel was also paused and automatically resumed when user uses notification toggle to turn back on + automatically resumed when reconnected with trusted WiFi.

So in 3.4.1 I change the functionality a bit where toggling via quick tile and shortcuts does not automatically override auto-tunneling (as it could result in undesired behavior in certain situations). To still support this need, I added a second tile and shortcuts that actually controls auto-tunneling pause/resume. This has the added benefit of being able to know the current status of auto-tunneling without opening the app.
On the main screen I could make toggling a tunnel automatically pause auto-tunneling if that is a desired behavior, but I figured it is easy enough to click pause on this screen first. I am open to re-enabling this behavior though as it is more convenient.
As for resuming auto tunneling once you enter a trusted network when it is paused, this has not been added to the app yet but I can see this being useful. Should this be an automatic behavior or should it be a setting that is enabled/disabled?
Thanks again for your continued feedback on the app!

Now I don't understand it anymore.
Indeed, there are 2 notification toggles. But none of them allow me to stop the tunnel.
The usecase here is that I am always using Adguard Home as DNS server (my Wireguard client config files all allow only VPN IP addresses to go through the tunnel, and the VPN server IP is also the DNS server).
But, some sites don't work well when you block it's ads and trackers. This is an issue when purchasing something.
In that case, I like to quickly stop the tunnel. With 3.4.1, there is no way of doing that. Because:

toggle "auto-tunnel" only stops auto tunneling. Has no effect on the tunnel state.
toggle "tunnel control" by design should not be used when auto-tunnel is enabled because the tunnel will simply reconnect.

So the only way for me to pause tunneling is to 1) toggle both toggles or 2) open the app.
Adding 2 toggles to the pane seems a bit excessive?

Right, you are correct. The behavior now is you would first click the auto-tunnel tile to pause (assuming auto tunnel active) and then the toggle tunnel tile to stop tunneling. So it would be two clicks instead of one now. I'll give you an example use case of why this is necessary:
State:

Auto tunnel paused
Tunneled on untrusted wifi

Action: I click the tile to toggle the tunnel off:

Auto tunnel is resumed
Tunnel is turned off
Tunnel is turned back on by auto tunnel because I am on untrusted wifi (not intended)

Now you could say, well, the user should have noticed the auto-tunnel state was paused from the persistent notification so they should have realized what would have happened, but on Android 14 you can dismiss persistent notifications so they may not see or know the state of auto-tunneling. Additionally, they my not realized they are on untrusted wifi. Either way, all they user wanted to do was toggle the tunnel and it didn't happen because of the hidden auto tunnel pause/resume side effect. This scenario looks really buggy and looks like the app is not functioning properly. It is for this reason I decided is it probably best to offer two tiles to control each aspect of the app individually for more consistent outcomes (with the added benefit of seeing auto-tunneling status outside of the app and being more friendly to new users).
I'm sorry for the long winded explanation. I hope that makes more sense now. I realize it is slightly less convenient than the previous method.
I look forward to your thoughts.

But I still don't understand why you changed this? It worked fine before. I can't add 2 toggles. I don't have the space for it and I don't use multipage toggles. It also makes no sense to ask users to use 2 toggles just to pause their tunnel 🤷🏽♂
I use this also for family members so they don't get overloaded with ads. But this change cannot be explained to a non technical expert who hasn't read up all of this.

so they may not see or know the state of auto-tunneling. Additionally, they my not realized they are on untrusted wifi. Either way, all they user wanted to do was toggle the tunnel and it didn't happen because of the hidden auto tunnel pause/resume side effect. This scenario looks really buggy and looks like the app is not functioning properly. It is for this reason I decided is it probably best to offer two tiles

No, it worked totally fine before without appearing buggy at all. Auto Tunnel worked fine. The toggle would not only pause it but stop the tunnel as well. And it autoresumed when connected to your trusted wifi or when toggling again.
It seems you forgot how well this worked? Because you are describing a situation of much older versions.
Please consider restoring the functionality as it was.
Nobody is this focused on their tunnel to work with 2 toggles. The app was fantastic as "set once and forget". Now it needs constant thought about 2 toggles and what the 4 different states might mean..
Sorry to say but this seems to be a textbook example of overdesign..

An even simpler way would be to limit auto tunnel to perform an action when the network connection changes. Which would make more sense actually, because those are the moments the tunnel is set up anyway.
Auto tunnel = toggle on network connection state (based on the selected user settings such as trusted wifi)
Notification toggle: turn tunnel on/off, without messing with auto tunnel.
Auto tunnel would then simply kick in when a network change takes place, for example when going from untrusted WiFi to mobile, or from mobile to mobile, or from mobile to trusted WiFi.
This is identical as to how people use the official app (with its toggle) in combination with Automate or Tasker (acting on network connection state changes only).

An even simpler way would be to limit auto tunnel to perform an action when the network connection changes. Which would make more sense actually, because those are the moments the tunnel is set up anyway. Auto tunnel = toggle on network connection state (based on the selected user settings such as trusted wifi) Notification toggle: turn tunnel on/off, without messing with auto tunnel.
Auto tunnel would then simply kick in when a network change takes place, for example when going from untrusted WiFi to mobile, or from mobile to mobile, or from mobile to trusted WiFi.
This is identical as to how people use the official app (with its toggle) in combination with Automate or Tasker (acting on network connection state changes only).

This sounds good. I'll have to see how it works in practice, but overall I like the idea.

I agree with @zilexa.
I have the same problems with v3.4.1 and the idea from zilexa is great.
I tried to solve the problem with tasker, but it failed. So it would be amazing to build in this feature.
Please make WG tunnel as simple as possible for the users.
Anyway, thanks for this amazing tool.

I would argue if we are going down the road of 2 buttons because we don't know the state of auto toggle at that point it the old button if auto toggle is enabled disable the tunnel for X minutes.
I would agree the desired function is the tunnel is causing an issue and I need to temp disable it. But if I've configured auto toggle I specifically want and expect to be tunneled "at all times".

I implemented what @zilexa and @R7010A recommended and changed auto-tunneling to only change vpn state on network change so it will no longer continue to keep turning on the connection when you manually toggle off (until the next network state change). This change should be live in https://github.com/zaneschepke/wgtunnel/releases/tag/3.4.3.
Let me know if there are any issues/feedback on this behavior, but I'll mark this as closed for now.

This is fantastic, such a short turnaround time. Thanks, will test!


Documentation

Hi there.
+1 for this package however was wondering if there is some form of documentation or any ETA?

Hello, maybe I'm too used to it that it seems hard to find for others: https://bpuig.github.io/laravel-subby/v6.x/
I'll try to make the readme more specific 😓

Hello, maybe I'm too used to it that it seems hard to find for others: https://bpuig.github.io/laravel-subby/v6.x/
I'll try to make the readme more specific 😓

Thanks that works


Deprecated kubelet flags

What this PR does / why we need it:
Deprecated kubelet flags moved to kubeconfig
NONE

/hold cancel
3 days have passed, removing hold


Send Audio

How to send an audio? what is the mimetype? and else..

Sending an audio is basicly the same as sending an image. The sending of an image is provided here. The AudioMessage is structured like this:
type AudioMessage struct {
	Info          MessageInfo
	Length        uint32
	Type          string
	Content       io.Reader
	url           string
	mediaKey      []byte
	fileEncSha256 []byte
	fileSha256    []byte
	fileLength    uint64
}

you have to only fill the exported fields (beginning with an capital letter). Define the receipient in the Info field as RemoteJid. The Length is the length of the audio file in seconds. Type describes the mimetype, which is the actual type of the file. For images it is often image/jpeg and for audios sent by whatsapp is audio/ogg; codecs=opus. I do not know if whatsapp supports sending audio files in other formats. But you can send every kind of file with the help of DocumentMessage. The only downside is, that it appears as an sent audio file and not as an spoken one. Finally you have to provide an io.Reader to the media struct, to provide the actual data. The easiest way is to use os.Open(filePath) to open a file and get a *File, which implements io.Reader already.

#219


ToDo List

[x] Create a todo list asap (As Srs As Possible)
[x] Check some boxes to indicate a thriving bsns activity
[ ] ?????
[ ] PROFIT

feature request.docx

feature request.docx


Editable addresses example reverting to manual entry form

The editable addresses example is only showing the non manual entry box for a split second on page load and then reverting to the manual layout. This mean users cant see what the editable address example is meant to look like

Realised that there is a panel on that example on the service manual that says to ask for access to the API


Re-enable firing MoveEntityEvent for projectiles and items.

Originally removed in 2eaedbe018f5562f543747bf878660af30f9143f. However, there shouldn't be much of a performance impact from this. Items stop moving when they hit the ground (the "bobbing" is just a client-side effect). Same thing with projectiles.
Fixes #2004.

there shouldn't be much of a performance impact from this

I would prefer these things to be profiled. In the worst-case scenario we can add another event just like we did with Position/Rotation.

Such changes recently have been made bypass of this PR: https://github.com/SpongePowered/SpongeCommon/commit/ebd33301e8d7256215026081335a9e5d68e43972

https://github.com/SpongePowered/SpongeCommon/commit/ebd33301e8d7256215026081335a9e5d68e43972


Modified code to properly propogate openldap errors, also added a reg…

Following changes are made.

Give proper message and 400 error if account is locked in openldap
Give proper message and 400 error id password syntax does not match openldap policy.
Add ability to validate the keystone user's password using a regular expression.

Why is this not being upstreamed first ?

I had opened a request for a change like this, we were told that keystone should federate with an idp rather than implement this by itself.

https://bugs.launchpad.net/keystone/+bug/1484366


Reworking the user interface

I have been fixing some minor bugs, making some small improvements, etc to the user interface. It is remarkably tedious. I think my atypical HDPI configuration on Linux was making some of these problems more visible. The stock right side panel on the draw.io website currently looks like this. (Confluence draw.io plugin is more dysfunctional.)

Which can be mitigated with the following addition to the stylesheet:
.geEditor input, select, textarea, button {
       font-size: inherit;
}

I added a slider to the right sidebar (similar to the left handed panel) thinking it might help. It was messy because the layout is a mix of calculations and hard coded values. Although I was successful, I then learned the right sidebar needed changes because it had assumed it was fixed.

Better but as the size is reduced, the fields become overlaid in spite of sufficient whitespace to fill.

These kinds of problem manifest in various places throughout the UI.

The offical documentation for placeholder does not show this, but other documents show the problem. It's a simple fix. Using width rather than the size field on the input element. (I didn't thoroughly test the change beyond latest stable versions of chrome/ff on Linux.)
Following this, I tried to move the Edit Data dialog functionality in to the side panel. I ended up replicating the code for the properties, got the scaffolding going, and that's about the point I bashed my head in to my keyboard. So much code duplication. ;)
Given the lengthy history of this library, it's not surprising to see these kinds of issues. Has anybody considered whether maybe it is time to rethink/refactor some of this code? What would that look like?

Looks like some of the issues noted here have been improved in recent updates. FF and Chrome are both more consistent. The property dialog is fixed. :) I took a look through the commits on mxgraph2.
Great! But it seems there were maybe some regressions (tested the dev branch and this branch - don't think they differ meaningfully).
Dialog Sizing Issues
links
Firefox67

Chrome73

Import/Open File
Firefox67

Chrome73 (OK)

UI Pedant-a-thon: Other things identified while testing the update
I imagine most of these were pre-existing. It's somewhat pedantic, but figured I may as well write it down here. :)
Property Dialog - Unconstrained resizing (esp. horizontal)
The original issue reported was resolved, but would benefit from further work. (Personally, I think it would be better suited for inclusion on sidebar.)
Should probably disable resizing horizontal axis and limit vertical. And maybe dynamically increase the height of the properties proportional to the number of lines within limits or one of those "..." buttons to open a multi-line editor. Inhibiting multi-line input is a lazy solution. Not as concerned about this as the user interaction is needed to change the size of the text box. Just not optimal, and since the layout does not persist for multi-line entry it could be annoying.
FF67 (chrome was similar)

Font Drop down
Firefox67

Chrome73 (OK)

Windows: Overflow leads to H-Scroll to appear
FF and Chrome similar. It's hard to tell, but basically overflow resulted in scrollbars.I don't really think this is a big problem.
FF67*

Chrome73

Chrome73 after moved away from edge (scroll disappears)

Windows: Scaling does not preserve relative position
Since the window is anchored at an absolute position, does not maintain its position.
250%

200%

Windows: Unconstrained window size
User can resize window outside of the the visible portion of the screen. Resizing/scaling seems to try to reposition the window to fit, but user needs to scroll and manually shrink. Closing the window and reopening the window preserves the settings.

Unconstrained window in combination with scaling can be somewhat compounding. The Overflow issue noted above, much to my amusement, permits the user to adjust the window size if they scroll. Fixing that without resolving the window size issue could result users being unable to interact with the application

Similar effects noted with menus & dialogs:

Conclusion
My github issues are... probably too lengthy, eh? Have a good weekend. Appreciate all the effort to draw.io.

They're long, yes, but we really appreciate the detail, we're nerds at heart. We're kinda picking at things as we go along/have time.

Nothing wrong with maintenance as-needed/permits for a codebases of this age, and use. I get it.
I knocked off some simple fixes. Might be able to get to the other ones soon. I think.
I'd like your feedback. Some patterns were creeping in to another project. It started to make sense to me to address it at the source, mxgraph. I'm not sure to what extent jgraph wants to upstream, though. For example, the mxWindow patches suggest a constraint API (linked to a dom node or Rect). Simplify its use, improve maintainability, and make for cleaner integrations.


Add Document Loader for Google Drive

In reference to this issue in the python repo: https://github.com/langchain-ai/langchain/issues/9783, I would like to create a issue to add document loader for Google Drive in langchainjs. I would like to be assigned and work on this issue.

Hey @saminkhan1 that would be much appreciated! This can be the issue used to track it, so just put up a pull request with the improvement and add the line Fixes #2922

This sounds great!
Note that there was some similar work done as part of the MakerSuite integration that you may wish to leverage.
See the DriveFileReadConnection in experimental/hubs/makersuite/googlemakersuitehub.ts and ping me if you have questions or thoughts.


bundle third_party soruces with grpc releases

I've downloaded grpc release 1.3.4. To build python binding with setuptools I need sources in third_party directory. Unfortunately it's not easy (and without git impossible) to find out what versions of third party libs we need. There is no version information inside release tarball as I see. For exampled for boring ssl we need specific commit otherwise it won't work. So, could you, please, bundle all third party sources in release tarballs.

What you're talking about is impossible. The "release tarballs" you're referring to are automatically generated by github, and we have no control over them. You are correct in your assumption that the git submodules with their exact versions or branches are necessary for properly building grpc out of the box for certain target languages such as python, and git cloning with submodules is the only acceptable solution for that.


chore: [Stage 4] ReDo - Merging all latest changes from apimgateway

/azp run

/azp run

/azp run

Closing since this has already been committed. This PR was to force full tests to run.


The documentation description is not clear and cannot be properly configured with reference to the document content.

The documentation description is not clear and cannot be properly configured with reference to the document content.
After defining DeployDesktopImage, DesktopImageUrl does not explicitly state the path format.

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

ID: d33fd080-bfff-6469-de8e-d19d8ce96ebc
Version Independent ID: 5e9b9d70-0608-289b-f5af-c86515e9c484
Content: Personalization (Windows 10) - Configure Windows
Content Source: windows/configuration/wcd/wcd-personalization.md
Product: w10
Technology: windows
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Hi @goxia, thank you for your feedback.
It's a HTTP or HTTP URL. No special format. For example, https://mysite/picture.jpg.

When the reference documentation is configured, it does not take effect as expected.
After consulting a lot of documentation, seeking support from Microsoft CSS, I learned that the configuration described in this document is not valid for all Windows SKUs, and I think the documentation lacks clear prerequisites or limitations.

@dariomws

@goxia, are you requesting an entire refresh of the article or only to the DesktopImageUrl description?

Let me check with someone about this - we've talked about potentially automating this reference content in the future, but I don't know yet if we have a source of truth for things like applicability. If we do, then we can make a tactical update to this article with that additional information as to which editions it applies to.

Vinay is following up with the PM

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


BR evaluation doesn't work with Flop5Holdem

I tried to evaluate sdcfr_vs_deepcfr_h2h.py agent's exploitability with Flop5Holdem, so i changed eval_methods to br, but when I tried to launch it, program freezed on Creating BR Evaluator.

Hi!
This is on purpose; it is not meant to work.
Why? Because BR of Flop5Holdem is very expensive. It is even more so without any domain-specific invariance optimizations. Including code for these optimizations would increase the potential / lower the barrier for non-scientific and non-educational use, which I don't want. I recommend using LBR and RL-BR in 5FHP and bigger games.
Best Eric