Error: Can't open display: :0

This problem still persists , here are the details. Attached is the weston log as well.
cat /mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.24+Branch.main.Sha.b42023b5fed7567955f4c6c36123a5cf22e9292a
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: ed4f3bbbf5efbd5bde880704bc03497f2446c3f2
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:
echo $DISPLAY
:0
ls -la /tmp/.X11-unix
total 1236
drwxrwxrwt 2 root       root          4096 Apr 24 22:59 .
drwxrwxrwt 7 root       root       1257472 Sep  5 14:22 ..
lrwxrwxrwx 1 srtripathy srtripathy      19 Apr 24 22:59 .X11-unix -> /mnt/wslg/.X11-unix
ls -la /tmp/.X11-unix/
total 1236
drwxrwxrwt 2 root       root          4096 Apr 24 22:59 .
drwxrwxrwt 7 root       root       1257472 Sep  5 14:22 ..
lrwxrwxrwx 1 srtripathy srtripathy      19 Apr 24 22:59 .X11-unix -> /mnt/wslg/.X11-unix
weston.log

@srtripathy, thanks for reporting the issue. do you see "X0" socket? Please refer https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg#x11-server-running. Thanks!

@hideyukn88 , I do not see "X0" socket . The command "ls /tmp/.X11-unix" simply returns without any output whatsoever. Thanks for taking a look.

Can anyone help-me with this issue:
**Unable to init server: Could not connect: Connection refused
(gedit:1859): Gtk-WARNING : 18:14:00.048: cannot open display:

wsl --update
Verificando atualizações...
Não há atualizações disponíveis.
Versão do kernel: <IP_ADDRESS>
PS C:\Users\neuberfran> wsl --system
 neuberfran … c Users neuberfran pwd
/mnt/c/Users/neuberfran
 neuberfran … c Users neuberfran cd /mnt
 neuberfran /mnt  ls
c  d  e  neubao  neubao2  wsl (nothing wslg folder here)
 neuberfran / mnt cd wslg
-bash: cd: wslg: No such file or directory

I tried this:
https://stackoverflow.com/questions/60284542/wsl-gedit-unable-to-init-server-could-not-connect-connection-refused
But not solved


Feature/explicit rules

Resolves #58
DCO 1.1 Signed-off-by: Sam Richard<EMAIL_ADDRESS>

Looks good to me.
Nice! :+1:

Having just tried this out it makes testing so more awesome!


Certificate verify issue on deskop

Example: https://annil_serverless.shuttleapp.rs
DioError [unknown]; null
Error: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: Hostname mismatch(../../third_party/boringssl/src/ss|/handshake.cc:393))

When testing on ios, such issue does not occur.

Desktop means Windows Platform?

Can confirm on Linux.

Desktop means Windows Platform?

Yes.

Planning to migrate all http-related code to native. :thinking:


Flutter downgrade not working for a previous version (less than 1 year of difference)

We have a project that uses flutter 1.20.1, and we were trying to Flutter Downgrade our Flutter 2 version, to 1.20.1 using Flutter downgrade, but it does not work.
It only says "There is no previously recorded version for channel "stable".

You are hiding older stable versions i dont know were. (Searched on other channels but nothing useful).

Flutter downgrade is broken. Or you have to tell that it only works on easy tasks, like downgrading from, 1 or 2 previously versions. Because from a older STABLE version, it does not work. I tried Flutter Doctor, Flutter Downgrade a million times, Flutter Channel Stable, all CLI.

BTW I think we dont have command to list the Versions we have on the CHANNEL we are using for Flutter SDK.

The solution were a pain in the **. Have to go after the zip of flutter windows v1.20.1. This is so archaic. A simple "flutter downgrade v1.2.1" or something similar should do it. But nah! Lets crush the dev experience and make a pain in the *** to simple downgrade a version.

@darthrodolfo
The current experience you are seeing is expected, because flutter downgrade downgrades to the most recent version it was upgraded to, and we can't go to back to a specific version using the same command, ie flutter downgrade.  See this issue comment for your further reference.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
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.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Can't build. Missing header Firebase.h

Cloned the repo, but can't build. Missing header:
#import Firebase/Firebase.h

Running setup.sh fixed this. Closing this now.


Step 3: Query not successful: Received status code 401

Step 3: Query not successful: Received status code 401
Description

After following the tutorial Step 3: Query component I get: Error! Network error: Response not successful: Received status code 401
And following the error link
{"message":"API rate limit exceeded for {IP adress}. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

I checked my rate limit for graphgl and it shows me
"graphql": {
"limit": 0,
"remaining": 0,
"reset":<PHONE_NUMBER>,
"used": 0,
"resource": "graphql"
},

So it seems I'm just not allowed any requests. What could be the reason? I exactly followed the tutorial and have created a personal access token that is showing an "unused" state in my account

My .env.local file was not stored on the appropriate folder level...


SFTP Remote Upload not working

I was unable to get the SFTP remote upload working. This is the error I was getting when running the statik -u SFTP command:
Exception caught while attempting to generate project
Traceback (most recent call last):
  File "/home/stuart/.local/share/virtualenvs/tiny-i4BzTY3h/lib/python3.6/site-packages/statik/cmdline.py", line 218, in main
    rm_remote=args.clear_remote
  File "/home/stuart/.local/share/virtualenvs/tiny-i4BzTY3h/lib/python3.6/site-packages/statik/upload.py", line 48, in upload_sftp
    ssh_config = StatikConfig(input_path).remote['sftp']
AttributeError: 'StatikConfig' object has no attribute 'remote'

After some digging around in the code I fixed it by adding the following line to the __init__ method in the StatikConfig class (I added it to line 72):
        self.remote = self.vars.get("remote")

With that single line added, I was able to publish to SFTP successfully.

SFTP functionality has been changed significantly in v0.23.0 now.


Override image altinity/clickhouse-operator

Hello! Thanks for clickhouse-operator.
I try install:
kubectl apply -f https://raw.githubusercontent.com/Altinity/clickhouse-operator/0.22.1/deploy/operator/clickhouse-operator-install-bundle.yaml

I get error:
Back-off pulling image "altinity/clickhouse-operator:0.22.1"

How Override image altinity/clickhouse-operator ?

Hello, image can be changed here. It seems like Docker Hub rate-limited or blocked you pull request (there should be more info in pull attempt events) - you can setup registry mirror or transfer pre-pulled images beforehand.

is the usage correct ?
OPERATOR_NAMESPACE="${OPERATOR_NAMESPACE:-clickhouse-operator}"
METRICS_EXPORTER_NAMESPACE="${OPERATOR_NAMESPACE}"
OPERATOR_IMAGE="${OPERATOR_IMAGE:-dockerhub.timeweb.cloud/altinity/clickhouse-operator:0.22.1}"
METRICS_EXPORTER_IMAGE="${METRICS_EXPORTER_IMAGE:-dockerhub.timeweb.cloud/metrics-exporter:latest}"

kubectl create namespace "${OPERATOR_NAMESPACE}"
kubectl apply --namespace="${OPERATOR_NAMESPACE}" -f <( \
    curl -s https://raw.githubusercontent.com/Altinity/clickhouse-operator/0.22.1/deploy/operator/clickhouse-operator-install-template.yaml | \
        OPERATOR_IMAGE="${OPERATOR_IMAGE}" \
        OPERATOR_NAMESPACE="${OPERATOR_NAMESPACE}" \
        METRICS_EXPORTER_IMAGE="${METRICS_EXPORTER_IMAGE}" \
        METRICS_EXPORTER_NAMESPACE="${METRICS_EXPORTER_NAMESPACE}" \
        envsubst \
)

kubectl apply -f https://raw.githubusercontent.com/Altinity/clickhouse-operator/0.22.1/deploy/operator/clickhouse-operator-install-bundle.yaml

Better use 0.23.5 version, syntax is correct
Better use OPERATOR_NAMESPACE with the same namespace where kind: ClickHouseInstallation will apply
by default, if operator run not in kube-system, then it watches chi resources only namespace where installed


Integration with nvim-mapper

nvim-mapper provides a way to find and remember key mappings, but it requires re-writing your mappings in its special format. The special format provides no benefits except for informing the plugin about the available maps. On the other hand, nest.nvim provides a nice way of formatting mappings in ways that group similar keybindings together, a clear benefit that makes sense to adopt. An integration with nvim-mapper would make it much easier to get the benefits of both plugins with minimal changes to the nest.nvim format.

Thanks for mentioning it! Actually I already use folke/which-key.nvim and thought it didn't work for non-leader keybindings. Now I see it does, so (I think?) I don't need to use nvim-mapper for those features.
I also see the which-key mapping format looks very similar to nest.vim - if you do add a which-key integration, it would be helpful to have some examples of why use nest.nvim's format :)

I also see the which-key mapping format looks very similar to nest.vim - if you do add a which-key integration, it would be helpful to have some examples of why use nest.nvim's format :)

which-keys format actually tries to understand the keys, which means that grouping e.g. <C- does not work. As far as I know they also do not offer cascading options, just defaults, but I might be wrong about that. I tried to use it before to do what I did here and gave up at some point.
nest just concatenates strings for prefixes without any magic. That means that without parsing the binding myself, I do not really know the key sequence key-by-key (which which-key needs for the actual core feature of the plugin), but I also don't need to, because people can already read Vim mapping syntax.


Can't Launch Carla

 Hello,
I'm using the following specs:
Ubuntu 18.04
Nvidia Geforce GTX 950M
8GB RAM
Carla 0.9.6 (compiled version)

I'm using the latest and recommended NVIDIA driver 435
and I have trouble launching CARLA simulator for the first time:
the command: ./CarlaUE4.sh gives the following result:
`4.22.1-0+++UE4+Release-4.22 517 0
Disabling core dumps.
LowLevelFatalError [File:Unknown] [Line: 678]
VulkanRHI::vkGetPhysicalDeviceSurfaceFormatsKHR(Device.GetPhysicalHandle(), Surface, &NumFormats, nullptr) failed, VkResult=-3
at /var/lib/jenkins/UnrealEngine_4.22/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:134
with error VK_ERROR_INITIALIZATION_FAILED
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=95424 LargeMemoryPoolOffset=226560
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)`
and with the command ./CarlaUE4.sh -opengl3 an error message appears, the message says that "the global shader cache file /CARLA_0.9.6/Engine/GlobalShaderCache-GLSL_150.bin is missing.
your application is built to load COOKED content. No COOKED content was found; This usually means you did not cook content for this build.
It also may indicate missing cooked data for a shader platform(e.g., OpenGL under Windows): Make sure your platform's packaging settings include this Targeted RHI.
Alternatively build and run the UNCOOKED version instead."
I deeply appreciate your help, thank you.

I am having the same problem for 0.9.6 on Ubuntu 19.04 with nvidia driver 418.56, but I could run 0.9.5.

I am having the same problem for 0.9.6 on Ubuntu 19.04 with nvidia driver 418.56, but I could run 0.9.5.

Hello @TDHTTTT
I tried using ./CarlaUE4.sh -opengl and it surprisingly worked, hope this could help you.

This is an issue of Vulkan, so basically using OpenGL instead of Vulkan can fix the problem.
For those who still have this problem and don't want to use -opengl option (cause it is a lot slower), I accidentally found that you could open a new terminal and type
sudo vulkaninfo, which kind of gives permission to Vulkan. Afterwards, you should be able to use the Vulkan to run the simulator as usual with ./CarlaUE4.sh.
This actually makes no sense for me... it surprisingly works though.

I have the same problem DISPLAY= ./CarlaUE4.sh -opengl and DISPLAY= ./CarlaUE4.sh -quality-level=Epic -opengl, is there any other way to solve it? Thank you.

I had the same issue with Carla 0.9.8 installed as a Ubuntu package.
Running Carla with the -opengl option did not help.
However, I found out that the CarlaUE4.sh script does not pass in the arguments to the underlying binary, but you can modify the script manually in order to pass the option:
#!/bin/sh

sudo chmod +x "/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
-"/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4
+"/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 -opengl

Once I enabled OpenGL the issue is gone as expected.

I had the same issue with Carla 0.9.8 installed as a Ubuntu package.
Running Carla with the -opengl option did not help.
However, I found out that the CarlaUE4.sh script does not pass in the arguments to the underlying binary, but you can modify the script manually in order to pass the option:
#!/bin/sh

sudo chmod +x "/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
-"/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4
+"/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 -opengl

Now, bin/CarlaUE4.sh will always enable OpenGL.
You can also bypass the cli argument so that the script works as in previous releases:
#!/bin/sh

sudo chmod +x "/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
-"/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4
+"/opt/carla/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 $1

Once I enabled OpenGL the issue is gone as expected.

Hey, @nyukhalov . I tried you suggestion by adding the command in my CarlaUE4.sh file
sudo chmod +x "$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
-"$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4
+"$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 -opengl
$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping  is the file's directory. Now my CarlaUE4.sh is :
#!/bin/sh
UE4_TRUE_SCRIPT_NAME=$(echo \"$0\" | xargs readlink -f)
UE4_PROJECT_ROOT=$(dirname "$UE4_TRUE_SCRIPT_NAME")
chmod +x "$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
-"$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4
+"$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 -opengl
chmod +x "$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping"
"$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 $@

After I ran the command
./CarlaUE4.sh
I got the error informaiton as
./CarlaUE4.sh: 5: ./CarlaUE4.sh: -/home/didi/carla_<IP_ADDRESS>/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping: not found
./CarlaUE4.sh: 6: ./CarlaUE4.sh: +/home/didi/carla_<IP_ADDRESS>/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping: not found
But /home/didi/carla_<IP_ADDRESS>/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping is the right directory.

This problem also occurs when vulkan utils is not installed. Installing vulkan-utils can help
sudo apt install vulkan-utils

Getting this error with Carla-0.9.12 installed via apt only in synchronous mode. RTX 3090, vulkaninfo is correct and vulkan-utils is installed.


Development requirement in setup.py

The current setup.py file requirements includes pytest, which is a development requirement that should not be needed in production (i.e. when users want to install and use the library).
Here's the output of grepping for pytest in the repository:
$ grep 'pytest' **/*.py | uniq
setup.py:        'pytest'
testing/testlib/models/conftest.py:import pytest
testing/testlib/models/conftest.py:@pytest.fixture(autouse=True)
testing/testlib/models/conftest.py:@pytest.fixture()
testing/testlib/models/test_decision_tree_lightgbm_classifier.py:import pytest
testing/testlib/models/test_decision_tree_lightgbm_classifier.py:@pytest.fixture()
testing/testlib/models/test_decision_tree_spark_classifier.py:import pytest
testing/testlib/models/test_decision_tree_spark_classifier.py:@pytest.fixture()
testing/testlib/models/test_decision_trees_sk_classifier.py:import pytest
testing/testlib/models/test_decision_trees_sk_classifier.py:@pytest.fixture()
testing/testlib/models/test_decision_trees_sk_pipeline.py:import pytest
testing/testlib/models/test_decision_trees_sk_pipeline.py:@pytest.fixture()
testing/testlib/models/test_decision_trees_xgb_classifier.py:import pytest
testing/testlib/models/test_decision_trees_xgb_classifier.py:@pytest.fixture()
testing/testlib/models/test_decision_tree_tensorflow_classifier.py:import pytest
testing/testlib/models/test_decision_tree_tensorflow_classifier.py:@pytest.fixture()
testing/testlib/models/test_decision_tree_xgb_regressor.py:import pytest
testing/testlib/models/test_decision_tree_xgb_regressor.py:@pytest.fixture()

This dependency does not seem to be used outside of tests.
Could we consider finding a way to remove it from the mandatory requirements? I suggest creating a new extra, named develop for instance, and adding a short paragraph in the readme about it. I'll open a PR implementing that shortly.
Do not hesitate to get back to me if there's any other reason for pytest to be there, or if you have another idea for fixing this issue :smile:

hi @simonTurintech, thanks for creating this issue, your suggestion makes sense for me. I will add few comments on your PR :)


Get tx status

closes #57;

[x] added method get_status
[x] jsonrpc test (going to fail because no testnet node available)
[ ] Use configuration file for remote node information
[ ] Proper error code is tx not mined

Hey, i was just peeping through the issues/PRs here, and stumbled upon this one - I noticed your get_status method hits ChainGetMessage - are you using that as a measure to know when a message has been "confirmed" in the network?

Hey, i was just peeping through the issues/PRs here, and stumbled upon this one - I noticed your get_status method hits ChainGetMessage - are you using that as a measure to know when a message has been "confirmed" in the network?

Actually no. It does return an error if the message hasn't been validated yet and only when we have a result we know it has been confirmed. It does bother me a bit. We are open to proposition here.

I've been talking to why about StateGetReceipt for this purpose, but it doesn't seem to be working yet.
Conversation going on here

I've been talking to why about StateGetReceipt for this purpose, but it doesn't seem to be working yet.
Conversation going on here

Nice!
I notice there is a lot more call possible in lotus than what they have documented (https://documenter.getpostman.com/view/4872192/SWLh5mUd?version=latest).
Also could you confirm that  StateWaitMsg will return an answer only once the message has been validated ? It keep hanging for me... Not sure if it is my connection or how they do it.

Disabled test and open a tracking issue here:
https://github.com/Zondax/filecoin-rs/issues/71


Increase AWS::CloudFormation::WaitCondition timeout

To account for EC2 bootstrapping work that can sometimes take longer than the current timeout of 300 seconds / 5 minutes.

Increased timeout to 10 minutes https://github.com/aws-samples/vpn-gateway-strongswan/commit/6c1caab6cb53c383ace6e4cc834d2c1e27ef924a


Unknown motherboard - ASUS ROG STRIX B450-F

Debug info
~ >>> fetchcord --debug
[KeyError]: 'Font:'[KeyError]: 'Font:'[KeyError]: 'Host:'
----run_rpc----

uptime in epoch:<PHONE_NUMBER>.0
cpuid:<PHONE_NUMBER>77605642
cpuappid:<PHONE_NUMBER>56312125
termappid:<PHONE_NUMBER>15056160
[KeyError]: 'Host:'
1521 (pacman), 14 (snap)
----out.py----

----DE/WM----
deid: GNOME
wmid: Mutter
wmline item 0: Mutter

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
termid:<PHONE_NUMBER>15056160
termline item 0: gnome-terminal
themeline: Matcha-dark-sea
Adwaita-maia-dark [GTK2/3]
[KeyError]: 'Host:'

----GPU INFO----

gpuinfo: AMD Radeon RX 5700 XT
gpuvendor: amd

----CPU INFO----

cpuvendor: amd
cpumodel: Ryzen 5
cpuinfo: AMD Ryzen 5 2600 (12) @ 3.400GHz
cpuline item 0: AMD Ryzen 5 2600 (12) @ 3.400GHz
memline: 2402MiB / 15999MiB

----OS INFO----

sysosline: Manjaro Linux x86_64
sysosid:<PHONE_NUMBER>77605642
[KeyError]: 'Disk'
diskline: Disk N/A
packagesline item 0: 1521 (pacman), 14 (snap)

----testing.py----
----DE/WM----

deid: GNOME
wmid: Mutter

----TERMINAL/SHELL----

termid:<PHONE_NUMBER>15056160
shellid: zsh

----HOST INFO----

[KeyError]: 'Host:'
[KeyError]: 'Host:'
hostid:<PHONE_NUMBER>79197462

----GPU INFO----

gpuvendor: amd

----CPU INFO----

cpumodel: Ryzen 5

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
[KeyError]: 'Host:'
Unknown motherboard, contact us on github to resolve this.
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7fd52aa00bb0>
Traceback (most recent call last):
  File "/usr/bin/fetchcord", line 33, in <module>
    sys.exit(load_entry_point('FetchCord==2.7.0', 'console_scripts', 'fetchcord')())
  File "/usr/lib/python3.9/site-packages/fetch_cord/__main__.py", line 100, in main
    run.run_loop(computer)
  File "/usr/lib/python3.9/site-packages/fetch_cord/run_rpc.py", line 61, in run_loop
    self.try_connect(self.loops_indexes[i])
  File "/usr/lib/python3.9/site-packages/fetch_cord/run_rpc.py", line 76, in try_connect
    self.rpcs[key].connect()
  File "/usr/lib/python3.9/site-packages/pypresence/presence.py", line 41, in connect
    self.loop.run_until_complete(self.handshake())
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/lib/python3.9/site-packages/pypresence/baseclient.py", line 121, in handshake
    self.sock_reader, self.sock_writer = await asyncio.open_unix_connection(self.ipc_path, loop=self.loop)
  File "/usr/lib/python3.9/asyncio/streams.py", line 111, in open_unix_connection
    transport, _ = await loop.create_unix_connection(
  File "/usr/lib/python3.9/asyncio/unix_events.py", line 244, in create_unix_connection
    await self.sock_connect(sock, path)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 507, in _sock_connect
    sock.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

NeoFetch:
OS: Manjaro Linux x86_64
Kernel: 5.10.2-2-MANJARO
Uptime: 13 mins
Packages: 1521 (pacman), 14 (snap)
Shell: zsh 5.8
Resolution: 2560x1440, 1920x1080
DE: GNOME 3.38.2
WM: Mutter
WM Theme: Matcha-dark-sea
Theme: Adwaita-maia-dark [GTK2/3]
Icons: Papirus-Dark-Maia [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 5 2600 (12) @ 3.400GHz
GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5
Memory: 2558MiB / 15999MiB

Requested item
Motherboard support for ASUS ROG STRIX B450-F
Other notes
Thanks for your hard work :)

Man, this motherboard thing is becoming dumb, might have to remove the feature, there's too many motherboards to support

Man, this motherboard thing is becoming dumb, might have to remove the feature, there's too many motherboards to support

Yep. If you could remove that check entirely, I'd be a happy bunny.
Of all the things I'd want to display, my mobo is pretty low on the list.

Yep. If you could remove that check entirely, I'd be a happy bunny.
Of all the things I'd want to display, my mobo is pretty low on the list.

I have an idea for the mobo system, but maybe we could just disable by default the mobo detection thing and let the user use it with an argument.


hass slow to startup when SQL db is large

Home Assistant release (hass --version):
.45.1
Python release (python3 --version):
3.5.2
Component/platform:
hass startup
Description of problem:

I love the idea of keeping the raw data around for hass however it seems like the more data I have, the slower hass is to startup. Above is the screen shot of my MySQL server during hass' startup. It coincides perfectly when hass starts up.
Expected:
Home Assistant shouldn't take so long to start up, regardless of how many records are in the database.
Additional Info
My records go back to about Dec 15th 2016, so only about 6 months of data. I do not plan on ever purging the database if I can avoid it.

Just a guess but it might be slow because it's trying to figure out what state certain entities are in since before it was stopped. There might be a way to disable that feature.

@bbrendon that query should be fast. very fast.

"should" be, but is it?

This can be closed since a lot of DB work has gone into hass over the past few versions that made even large db applications


Refactor/upgrade mantine v6

This PR updates the code base to use Mantine v6 in perperation for an overhauled explorer view.
One of the big changes here is that Mantine v6 migrates to using rems/ems units so much of the text and spacing has been converted to use rems instead. I've done my best to match the sizing to original pixels values with having crazy decimals.

Good afternoon,
thank you for the pull request. I've had a look and everything works as expected.
There is one thing if you can do for me is to change the single quotes in double quotes for the properties on JSX elements. If that is done then I can accept this pull request.
Hereby thanks again and see you soon with the change.


Reproducing Supervised Finetuning Results

Hi,
I was wondering if the parameters used for finetuning are the same across all the different versions of the training dataset? Since the high quality and synthetic dataset is a lot smaller, does the training script for that run for more epochs for example?
I am trying to fine-tune a model on the train_hq_and_synthetic.jsonl dataset and get a model that performs similarly to the one published on HuggingFace using the training script provided, but am having difficulties reproducing the results.
Thanks

Hi! for the HQ+Synthetic datasets, I believe we fine-tuned for 2 epochs.


DumpScript provides broken script.

file dumpscript.py, row 658
except ImportError:
    print("Please install python-dateutil")
    sys.exit(os.EX_USAGE)

This code will not work because of import error:
NameError: name 'sys' is not defined

I think we can add:
except ImportError:
    import sys, os

Fix via PR 682


Fix a debug assertion failure when deleting objects in row order

Dispatching to erase() from CollectionChangeBuilder::move_over() doesn't actually work as erase() doesn't update m_move_mapping (since m_move_mapping only makes sense for unordered deletions). I'm not sure if this would ever actually cause any functional problems in non-debug builds, but I hit it while trying to reproduce other issues.

Seems reasonable to me 👍


Is the process described in the Workaround a valid/supported method for converting user mailboxes to shared in hybrid environments?

In issue #188, yatsymbal pointed out a support article which describes a way to update the necessary attributes of a local AD account associated with a cloud mailbox that has been converted to shared.  A note was added to this article referencing the workaround, but yatsymbal's question was not answered.
"Is there any reason why we can't use the workaround . . . as a recommended guidance?"
The 'recommended' method, moving a mailbox from cloud to local exchange, converting it to shared, then moving it back to the cloud, requires a lot more time and effort than the workaround of converting the mailbox in place and updating the attributes of the local AD account.  Is there any reason that the 'workaround' method should not be used as the primary way to convert a cloud based user mailbox to shared?

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

ID: 58fb81a0-5744-18b2-1636-a41c771ef0db
Version Independent ID: fad4cd45-1a93-bfee-e82b-892752317056
Content: Convert a user mailbox to a shared mailbox
Content Source: Office365-Admin/email/convert-user-mailbox-to-shared-mailbox.md
Service: o365-administration
GitHub Login: @dianef77
Microsoft Alias: dianef

@officedocsbot assign @mypil

@NeighborGeek Thank you for the feedback. The primary reason for not recommending this approach is that the attribute "LicenseReconciliationNeeded" gets stuck on "True" most of times after making the AD changes and removing license on cloud. This means the mailbox in cloud could get deleted after 30 days This is an MSOL attribute and Cannot be changed using powershell, So It is always safe to off-board the mailbox convert it to shared and on-board to cloud. Hope this helps!
Regards
Sriraman

@msbemba Thank you, I really appreciate that you not only advised against using this workaround, but also explained why.
I hope that the product team recognizes that the recommended process of moving a mailbox from cloud to on-prem, converting, and moving back to cloud is not ideal.  The workaround sounds like a much better way to do it, if only it worked correctly.
Ideally, when using set-remotemailbox to change the mailbox type to shared, it should also update the appropriate attributes in AD, and possibly even remove the Office 365 license.  (I'm not sure if there are other reasons to have a license applied to a shared mailbox account.)
Thanks!
Steve


Changes not taking effect in production

Running npm run production starts the server and loads the page in browser. Changing CSS does not show until command is run again.

Confirmed to still be happening in the template repo.

This is only an issue if we need to be able to live develop with the inliner. Which is to say, you can keep the server running and it inlines every time, versus you running the inlining process once.
@tdhartwick @rafibomb Do we need live watching functionality with the inlining process? With the other frameworks, when you build for production, it's a one-time build.

This issue was moved to zurb/ink#174


React UI: Re-add query stats information

The new React UI does not yet show query stats (execution time, resolution, and number of result time series) yet. It would be good to re-add this feature somehow, but care should be taken to not clutter the new UI unnecessarily. Maybe we can find a way to only display it on request (like collapsing it first or similar).

I'll take this on if no one else is...

Initial thoughts, uses a reactstrap collapse.
Have just thought actually that having it there will be quite jarring as it moves everything below it down and up as it's expanded/collapsed. Will re-think.

Yeah, another inspiration could be Grafana's explore mode. See this screenshot, where some stats appear very unobtrusively at the far right of the expression box:

That breaks down at a certain amount of stats of course, and one would have to take care that it doesn't interfere with long expression lines.
Not saying it should be like this, but it's one more idea of a possible direction.

@CSTDev Here's two more mockup variants that I find relatively unobtrusive, making use of the unused space of the Graph/Table tabpane on the right:

I hacked this by putting this div into the HTML:

Query time: 234ms
Time series: 1023
Resolution: 13s

And:

...using:

Query time: 234ms - Time series: 1023 - Resolution: 13s

What do you think? It always shows the information, but still doesn't seem too clutter-y IMO. But happy for other options too :)

@juliusv Not a big fan of having it in the box like Grafana, mainly for the problems you mention. I quite like the second example you gave. Will give that a go and see. Thanks 😄
Do we know if people use these stats a lot? That was my only reason behind hiding them if people aren't all that interested, but I don't know.

@CSTDev I think people only look at these stats occasionally, but they're at times useful enough that we should at least have an easy way of showing them. And then the question becomes: is it not better to just always display them unobtrusively (like in my examples) rather than introducing a new interactive UI element that the user has to understand and process.
So yeah, if you want to go ahead with the second example, I think that's a good enough option for now :)

Done in https://github.com/prometheus/prometheus/pull/6190


Fix master

Fixes some logical merge conflicts on master

I'm just going to get this in to unblock the pipes


Fix xbrl metadata extraction for many->one table map

Fix xbrl_metadata_json for tables where many XBRL tables map to a single clean table. Taken directly from extract_xbrl_metadata on dev.

Good catch! Should we update the ETL fixtures to execute in process on this branch?

@bendnorman I think that seems reasonable! Got a diff?

I'll add execute_in_process!


language don't change

I try to set language in the widget ... but nothing happens, why ?
thanks

are there any errors for the missing lang file in the console, might be helpful how you are setting the $language in code .

here the code:
echo Calendar::widget([
    'language' => 'it',
    'options' => [
        // HTML attributes for the container.
        // the `tag` option is specially handled as the HTML tag name
        'id' => 'calendar'
    ],
    'clientOptions' => [
        // JS Options to be passed to the `calendar()` plugin.
        // see http://bootstrap-year-calendar.com/#Documentation/Options
        'dataSource' => Url::to(['//mensa/default/calendario-load-events']),
    ],
    'clientEvents' => [
        // JS Events for the `calendar()` plugin.
        // see http://bootstrap-year-calendar.com/#Documentation/Events
        'clickDay'=> $scriptClickDay
    ]
]);

Verify that the file exists /bootstrap-year-calendar.it.js

In /vendor folder no, it does not exist !!


What are you smoked when developed this?

Why I have to share my CPU time with random website owner?

I think it's a fair concept.

Not related to coin-hive, please guys...

so can i run this independently and point it a mining pool of my chosing?

Oh god.. people just don't read

oh @sphericalmedia I didn't see your question, this package will run CoinHive's miner, which mines Monero using their mining pool. The mining pool cannot be changed.

no problem, thanks for reply, is there any way/ script out there that would allow me to do this? the script concept is great for people looking to get to mining and is what i need for a project but i dont want to take as a middleman. just miners recieve reward and pool receves hashrate.


Fixed duplicate address1 in Coder Camps entry in code_schools.yml

This is a fix to a previous PR.  I updated the second address1 to address2.  There is no issue related to this.

No problem, I missed it myself as well. :)


[Blog Contribution] Publicize MicroProfile EclipseCon Community Day Content?

There was quite a bit of important MicroProfile content at EclipseCon Community Day. I have summarized and shared that content here: https://reza-rahman.me/2022/11/19/jakarta-ee-and-microprofile-at-eclipsecon-community-day-2022/. Does it make sense to help publicize this? If so, how?

@emecas,
A new blog arrived, would you like to make it a part of your monthly contributing to reviewing blog content?

yes, I would take care of this.
@m-reza-rahman   would this be handle as a "Case 2" contribution ?  https://github.com/microprofile/wpsite

Either way is fine really. Just let me know what's needed?

First of all, do you have already access to  MP WordPress ?

I don’t have access. Do I need it?

@m-reza-rahman,
Welcome to MP Content Contributing. Based on your exchange with beautiful @emecas, your WordPress MP access should be in your inbox. You can adjust the email of MP WordPress at any time by submitting a ticket and providing your preferred email, etc., as suggested in the Guidelines. Please see below.

Submitted for review. LMK what else is needed?

Submitted for review. LMK what else is needed?

Thanks. I will take care of this, be back to you ASAP

@emecas, you are so amazing to review and keep taps on this ticket while on vacation.
I should have stepped sooner to help you, my apologies.
Given that your review was completed on the post, Reza's blog is now published. https://microprofile.io/2022/12/16/jakarta-ee-and-microprofile-at-eclipsecon-community-day-2022/.
Thank you Emerson for choosing to contribute on content review and publication this year, you truly are incredible.
Welcome Reza to MP content contributing.

Great! Will this be automatically posted to social media or is there something further I need to do?

Hi @rstjames, can we re-open this please? It would be good to put this blog entry into the Twitter account I think. Here is some suggested text:
Want to get a quick summary of what is going on with MicroProfile and what's coming? Check out this blog entry by @reza_rahman summarizing the MicroProfile and Jakarta EE content at EclipseCon Community Day 2022. https://microprofile.io/2022/12/16/jakarta-ee-and-microprofile-at-eclipsecon-community-day-2022/
I think something like the first embedded graphic on the blog entry would be fine as a card?
/cc @aeiras

Hi @edburns, do you have sufficient rights now to re-open this? /cc @Emily-Jiang

@m-reza-rahman,
As discussed on previews calls, your blog qualifies for quarterly media push for 2022 if you choose it.
Do update the spreadsheet below to enable its proper documentation on yearly media under quarterly items and link this git issue to that update. Thanks!
Once you have the message, @rstjames will take over the work.
https://docs.google.com/spreadsheets/d/1-j0SmFHSRw4pXMsdsY1x0R2HffIUZ3SQni_5zpoBdE8/edit#gid=1254202074

Does it have to be quarterly? Honestly I think the entry is already a bit stale. Could we do it just once instead?

Hi @rstjames, as discussed in the marketing meeting, could we kindly get this out as a tweet just once or twice in the new few weeks or so? If it'll take longer than than, we should just close and drop this? This content was kind of stale even in December...

I am closing this. It’s a bit too stale now.


Chainable Globally Attachable Listener Manager

This contains a merge of my other PR and the changes for generation for the DiscordApiBuilder.
I didn't include getters for now as I doubt how useful and properly implementable they are,
especially regarding suppliers and functions.

I think the BiConsumer<DiscordApi,ListenerManager> can independently considered when it is also considered for all other methods to be able to easily remove a listener from inside a lambda in a separate PR.


Not ASCII

Um, you got Eastern kaomoji there, while “ASCII emoji” suggests Western sideways emoticons. See for instance http://en.wikipedia.org/wiki/List_of_emoticons.

@Crissov Ah yeah, you are right. Good catch! I didn't even think about that. I'll rename it to autocomplete-kaomoji if that doesn't already exist ¯\(ツ)/¯
Thank you!


Add support for RuPay

Hello,
I would like to identify card from RuPay. You can get RuPay traits on Wikipedia.
If you want to solve this issue, check this how-to guide.
Cheers,

Hi, please assign this to me, I will try to solve this later today or on the weekend.
Thanks.


Need to use jQuery validation or set a message

I need to set a message to required inputs as I did with jQuery validation

@naylabechara You have to call validate method and show error message as you want based on the return value.


[SelectField] shows incorrect opening animation

When opening a <SelectField> that contains enough elements to scroll and having one item pre-selected (value property set) causes the appear-animation to show the wrong scroll position. Once the animation completes the menu jumps to the final position:

This varies in base of number of elements contained and which element selected. It is also very noticeable on mobile (Samsung S7) and can be reproduced constantly.
Try yourself on WebpackBin. If you can't reproduce, maybe try different number of items / different preselection.
The above was recorded on Desktop with Chrome 55 on a 4K display (60Hz, if that matters) on Windows.
When I move the browser window to a secondary 1050p monitor and do the test there, then it looks better:

So this might be related to high density displays .

Please also note that you can see clearly in the GIFs that the popup changs it's width while closing.

+1


remove_paragraph(0) in RichTextLabel only works once

Godot version
80de898d721f952dac0b102d48bb73d6b02ee1e8
System information
Window 10 - 4.2.rc
Issue description
Calling "remove_paragraph(0)" on a RichTextLabel should remove the first line of text in the label. However, it doesn't seem to work more than once in a row. Even calling "remove_paragraph(1)" actually works better since it always removes the 2nd line even when called repeatedly.
Steps to reproduce

Fill a RichTextLabel with several lines of text
Call "remove_paragraph(0)" on it multiple times.

Expected:
Each time you call "remove_paragraph(0)", the first line should be deleted.
Actual:
The first line is deleted the first time you call "remove_paragraph(0)", but each subsequent time you do it, nothing happens.
Example project attached makes it easy to test. RichTextLabel has been set up already, along with buttons to call "remove_paragraph" when pressed.
Minimal reproduction project
RichTextRemoveParagraph.zip

Confirmed. Related to https://github.com/godotengine/godot/blob/80de898d721f952dac0b102d48bb73d6b02ee1e8/scene/gui/rich_text_label.cpp#L3389-L3391
Comment them and it works as expected. cc @bruvzg

Not sure if this is possibly related, but I have a PR  relating to crashes from RichTextLabel as well

If the RichTextLabel's text property supposed to always return the current content? Now removing paragraphs (any paragraphs, with or without jsjtxietian's fix) doesn't change what text returns. The original content is always returned.


Base model evaluation for personas

For each persona we validate the base model on MCQ evaluation first, to see if fine-tuning is needed or not for the persona
put the base LLM against the dataset and see how well it does.
a. If accuracy < 40%, then we can go ahead with Finetuning the model for our persona.
b. Elif try different model<EMAIL_ADDRESS>task 3 repeats
c. Else: drop persona: task 1 repeats

MCQ Evaluation function - This should cover a function that does the following,

Prompt engineering -> Few shot for answer formatting
Measure evaluation 2:  Prompt engg vs non-prompt (both w/ fine-tuned model))
Get prediction for the LLM on the dataset provided
Return accuracy

This issue is to look at which personas are worth working on. If the base model has an accuracy of more than 40%, we prefer not adding the persona to our fine-tuning suite

@vanshigupta04


macro resgistration using java services SPI

registration of macro extensions via java service SPI
put implementation class name in (META-INF/services/org.mirah.macros.ExtensionsProvider
Check how core builtins extensions are registered:
src/org/mirah/builtins/builtins.mirah
src/org/mirah/builtins/services/org.mirah.builtins.ExtensionsProvider
Custom extensions could be packaged in a separate jars and added to -classpath when invoking mirahc when needed.

I like the idea of making macros available to some piece of source code (as an extension of an existing type) by a single import.
Could you write one or two testcases demonstrating how to use that feature?
Can macros also be imported (and do they also have the effect of extending an existing type) if they are not implemented in separate ".jar" file, but if they are part of the source code file set being currently compiled?

Please check https://github.com/uujava/mirah-maven-project-example
There is custom "factory" macro registered on java.lang.Object:
mirah-dsl-utils/src/main/resources/META-INF/services/org.mirah.builtins.ExtensionsProvider
mirah-dsl-utils/src/main/mirah/ru/programpark/mirah/extensions/stl_extensions.mirah
mirah-dsl-utils/src/main/mirah/ru/programpark/mirah/extensions/factory_macro.mirah
Then it's used in mirah-dsl-core maven module example:
/src/main/mirah/ru/programpark/vector/mirah/gui/component/AttributeDescriptor.mirah

Hey @uujava. Sorry it's taken me a long time to properly review this. I think I finally understand how the SPI stuff works. The documentation for it is pretty bad.
I really like this approach. I think if we automated jar creation as part of the compiler or a build tool, we could make macro registration really slick.
Could you update your changes so they merge cleanly? I have a few other comments as well.

fixed mentioned issues, merged in separate branch and created new pull request.
closing this pull request

Thanks. I'll look at it tonight.
On Sep 8, 2015 9:19 AM, "uujava"<EMAIL_ADDRESS>wrote:

fixed mentioned issues, merged in separate branch and created new pull
request.
closing this pull request
—
Reply to this email directly or view it on GitHub
https://github.com/mirah/mirah/pull/306#issuecomment-138597962.


Added test to check for accidental extraneous dependencies

Fixes #1720
It just checks package.json and check if includes react, react-dom, react-scripts, if other is found it will fail the test.

Hmm.. It is failing on CI, but works fine on my machine (OSX).
Looks like grep works a bit difference on macOS and Linux
# macOS Sierra
cat package.json | grep -E '^\s*"react(?:-dom|-scripts)?"'
    "react": "^15.4.2",
    "react-dom": "^15.4.2"
    "react-scripts": "0.9.5"

# Ubuntu 16.04 (on vagrant)
cat package.json | grep -E '^\s*"react(?:-dom|-scripts)?"'
    "react": "^15.4.2",
    "react-scripts": "0.9.5"

Looks like grep doesn't support a non-capturing group on Ubuntu, we need to remove ?:.

Thanks so much for this, @lpalmes!


Update for PureScript 0.10.1

Unfortunately, the maintainer of purescript-var has not yet updated the dependencies. The latest commit in master does work with the newest packages though.

Thanks! :-)

I presume it really works with psc-0.10.1? :-) I can't test right now.

Well, it compiles and the tests pass :-)
The latest commit in purescript-var (which  is referenced in this PR) added functional dependencies:
https://github.com/zudov/purescript-var/commit/dc6238dbc20af0e3d53a5397b57c4c96b7040180

good enough! :-)


Allow API tokens to have object level permissions

As ...
Austin - Network Automation Engineer
I want ...
To allow object level permissions on each API token so they can be restricted in there use.
So that ...
A token doesn't automatically inherit the users permissions but is more locked down.
I know this is done when...
I can create a token and assign the token permissions in the same way users and groups are given permissions.
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[ ] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[X] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
No response
External Dependencies
No response

When creating the token the permissions to choose from when applying to an API tokeb should only been shown to the same has what the user has been given.

Unfortunately, this would take too much effort than we are currently willing because so much of our permission enforcement and related feature sets is directly tied to users.


Use Google Analytics v4

I've noticed that in the integrations-repo there is a google-analytics-4 integration.
How would I use this from analytics.js - the integrations do not reference it here

Yes I also noticed it's not included in the components.json and has not been released to npm.  Is there a way to workaround this and use the GA4 integration, or will the GA4 integration be released to NPM sometime soon?


Disabled shorting on L2

Description
Shorting has been disabled by Synthetix last night on L2, so we should extend our existing L1 message to L2.
Related issue
#895
Motivation and Context
Improve the UX and guide the user to V2 futures.
How Has This Been Tested?

Switch the network to L2/L1 and see the disabled shorting message

Screenshots (if appropriate):

Note: We should also disable the adding/removing collateral and increase/decrease position tabs on the Manage Position modal, and set the "Close Position" tab as the default active tab.

Note: We should also disable the adding/removing collateral and increase/decrease position tabs on the Manage Position modal, and set the "Close Position" tab as the default active tab.

The change has been made.


Fix use of log when response encoding error

I've been getting exceptions like:
RestClient.get "http://example.com"
# => 200 OK | text/html 2726 bytes
ArgumentError: wrong number of arguments (1 for 0)
	from /Users/sj26/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/bundler/gems/rest-client-4e3491f2f405/lib/restclient.rb:145:in `log'
	from /Users/sj26/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/bundler/gems/rest-client-4e3491f2f405/lib/restclient/response.rb:32:in `rescue in fix_encoding'
	from /Users/sj26/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/bundler/gems/rest-client-4e3491f2f405/lib/restclient/response.rb:29:in `fix_encoding'

Which turns out to be due to an error when logging an invalid encoding. So here's a patch to fix it.

Thanks!


feat(cheatcodes): add ability to ignore (multiple) specific and partial reverts in fuzz and invariant tests

Motivation
As raised in #4271, sometimes the fuzzer dictionary will uncover real but irrelevant errors in contract code, especially when testing against stateful forks. Runs that encounter anticipated errors should be thrown out and count towards the global assume counter.
Closes #4271.

Solution

This PR adds several overloaded and related function definitions to vm.assumeNoRevert, introduced in #8780, as follows:
    /// Discard this run's fuzz inputs and generate new ones if next call reverted with data starting with the given revert data. Call more than once to add multiple reasons.
    #[cheatcode(group = Testing, safety = Safe)]
    function assumeNoRevert(bytes4 revertData) external pure;

    /// Discard this run's fuzz inputs and generate new ones if next call reverted with the given revert data. Call more than once to add multiple reasons.
    #[cheatcode(group = Testing, safety = Safe)]
    function assumeNoRevert(bytes calldata revertData) external pure;

    /// Discard this run's fuzz inputs and generate new ones if next call reverted with data starting with the given revert data. Call more than once to add multiple reasons.
    #[cheatcode(group = Testing, safety = Safe)]
    function assumeNoRevert(bytes4 revertData, address reverter) external pure;

    /// Discard this run's fuzz inputs and generate new ones if next call reverted with the given revert data. Call more than once to add multiple reasons.
    #[cheatcode(group = Testing, safety = Safe)]
    function assumeNoRevert(bytes calldata revertData, address reverter) external pure;

The reverter param ensures a revert comes from a specific called contract, per #8770, and the PartialRevert methods allow matching on selectors with arbitrary extra data, per #8763.
Behavior

it should be possible to to reject any specific error without data (vm.assumeNoRevert(bytes4))
it should be possible to reject any specific error with arbitrary data (vm.assumeNoRevert(bytes))
it should be possible to reject any specific of error regardless of extra data (vm.assumeNoPartialRevert(bytes4))
it should be possible to reject multiple errors that a single call may produce (multiple subsequent calls to any of the vm.assumeNoRevert definitions that accept params)
it should be possible to restrict these rejections to a specific reverter (the optional overloaded address reverter param)
anticipated reverts should reset after next non-cheatcode external call
combining a catch-all vm.assumeNoRevert() with a vm.assumeNoRevert(args) call should result in an error (currently, the inverse correctly errors, but the ordering provided here will result in a \vm.assume` rejected too many inputserror due to how cheatcode errors are encoded, see note aboutvm.expectRevert` below)

Questions

Should these functions be pure and Safe? I see that expectRevert is not pure, and is marked as Unsafe, but assumeNoRevert() is marked pure and Safe.
Is the behavior of calling vm.assumeNoRevert multiple times to build up anticipated reverts per-call acceptable, or should it be forced to take an array of structs with revert parameters, since I think aggregating parameters from separate calls is new behavior (correct me if I'm wrong).
I've also left a few TODOs in the code with questions, which I will try to surface via comments here.
expectRevert() without args seems to not play strangely with cheatcode errors – eg, vm.expectRevert() will swallow a cheatcode revert, including those thrown by vm.assumeNoRevert and subsequent calls to vm.expectRevert(). This seems like a separate bug that I can log if we agree there.

@mds1 would be great to have your thoughts re new proposed cheatcodes. Thanks!

@grandizzy should be in a good state now – apologies, had a hectic week. let me know if anything else looks off.

@grandizzy should be in a good state now – apologies, had a hectic week. let me know if anything else looks off.

moving PR to ready for review

In general UX LGTM! One thing is let's make sure the behavior between this and the various expectRevert cheats is consistent, e.g. if you pass a 4byte selector does it only match if the revert data is exact, or do partials match also? Given that this cheat is assumeNoRevert for partial match I think it's inconsistent as spec'd in the PR description
https://github.com/foundry-rs/forge-std/blob/da591f56d8884c5824c0c1b3103fbcfd81123c4c/src/Vm.sol#L2102-L2124

In general UX LGTM! One thing is let's make sure the behavior between this and the various expectRevert cheats is consistent, e.g. if you pass a 4byte selector does it only match if the revert data is exact, or do partials match also? Given that this cheat is assumeNoRevert for partial match I think it's inconsistent as spec'd in the PR description
https://github.com/foundry-rs/forge-std/blob/da591f56d8884c5824c0c1b3103fbcfd81123c4c/src/Vm.sol#L2102-L2124

apologies, i can update the description (pending final decision) – @grandizzy suggested having the default behavior to accept partial matches.
having the granularity of assumeNoRevert vs assumeNoPartialRevert would be useful in the scenario of colliding selectors – but that's pretty rare unless intentional. i am having a hard time thinking of cases where a test might be pulling in (arbitrary) external or random revert bytes that might have collisions – but there are possibly some, and it might be worth having the disambiguation.
i do appreciate the explicitness, though i do think assumeNoRevert is already kind of a counter-intuitive name, and assumeNoPartialRevert adds onto that complexity. eg assumeNoRevertPartial is maybe slightly less confusing, but breaks with the expectPartialRevert naming convention...
happy to add back in if there's consensus

Thanks for those details, so my thoughts are:

We already have expectRevert(bytes4) and expectPartialRevert(bytes4). To this point—"would be useful in the scenario of colliding selectors – but that's pretty rare unless intentional"—I'm unsure of the motivation for this split
The least surprising assume behavior would therefore be analogous meaning assumeNoRevert(bytes4) and assumeNoPartialRevert(bytes4)
It sounds like there are some breaking change considerations here, which I am not fully up to speed on, in which case that is suitable rationale for having inconsistent behavior between the expect and assume cheats
Therefore I'll defer to you and @grandizzy to decide
But, we should track this and unify / simplify for foundry v1

thanks both for comments! the expectPartialRevert was added when expectRevert was already in place and used see https://github.com/foundry-rs/foundry/issues/3725#issue-1457771816 and Paul's comment

This may warrant a new VM cheatcode, to ensure backwards compatibility and avoid triggering false positives for people who assume the current vm.expectRevert cheatcode to look for an exact ABI match.

For assumeNoRevert there's no breaking change consideration (as we don't have them yet) that's why I proposed to avoid adding partial one but consistency is a good point too. Would like to hear more opinions, @zerosnacks maybe you could share your thoughts?

Thanks @emo-eth for your PR!

Is the behavior of calling vm.assumeNoRevert multiple times to build up anticipated reverts per-call acceptable, or should it be forced to take an array of structs with revert parameters, since I think aggregating parameters from separate calls is new behavior (correct me if I'm wrong).

I would prefer we use an array parameter to express the intent of checking against multiple cases in line
with existing behavior (mockCalls, makePersistent, revokePersistent, etc..). Stateful stacking as proposed is, as mentioned, a new kind of behavior I think we should avoid.
I agree that expectPartialRevert exists for a backwards compatibility reason, no need to introduce a parallel assumeNoPartialRevert in my opinion. This can always be added later on in a non-breaking way if there is a specific request for it.

Should these functions be pure and Safe? I see that expectRevert is not pure, and is marked as Unsafe, but assumeNoRevert() is marked pure and Safe.

Unsafe generally refers to either it persistently touching EVM settings / state or writing to a file. Do you have an opinion in this regard @DaniPopes?

@zerosnacks @grandizzy apologies for delay here. Here's a rethought interface that takes an array of structs, let me know your thoughts:
    /// Represents an "allowed" revert reason from a single subsequent call when using vm.assumeOnlyAllowedReverts.
    /// Reverts that match will result in a FOUNDRY::ASSUME rejection, whereas unmatched reverts will be surfaced
    /// as normal.
    struct AllowedRevert {
        /// The allowed origin of the revert opcode; address(0) allows reverts from any address
        address reverter;
        /// When true, only matches on the beginning of the revert data, otherwise, matches on entire revert data
        bool partialMatch;
        /// The data to use to match encountered reverts
        bytes revertData;
    }

    /// Discard this run's fuzz inputs and generate new ones if next call reverts with the allowed revert parameters
    #[cheatcode(group = Evm, safety = Safe)]
    function assumeOnlyAllowedRevert(AllowedRevert calldata allowedRevert) external pure;

    /// Discard this run's fuzz inputs and generate new ones if next call reverts with the any of the allowed revert parameters
    #[cheatcode(group = Evm, safety = Safe)]
    function assumeOnlyAllowedReverts(AllowedRevert[] calldata allowedReverts) external pure;

I really don't like the assumeNoRevert name, so went with something different; I think the change in signature calls for a change in name as well.

can this get merged or what is the hold up?


Add pages for taps, targets, and singer on the hub

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/21
Originally created by @tayloramurphy on 2021-05-04 23:41:26

We want pages for the following:

[x] hub.meltano.com/taps
[x] hub.meltano.com/targets
[x] hub.meltano.com/singer

[x] hub.meltano.com/singer/spec

The /singer page will focus on our commitment to the Singer ecosystem and community. We will detail:

[x] The Open API we intend to maintain for broader community access to the clean yaml definitions of every tap and target we find
[x] Link to the spec
[x] Link to the JSON schemas
[x] Discuss the Tap and Target SDK with links to resources on those
[x] Link to the /taps and /targets pages

The /taps and /targets page will:

[x] list all of the available taps/targets we're aware of
[x] detail how to do a basic pip install
[x] give easy links to the YAML definition and how to contribute to it
[x] Link to JSON schema
[ ] Have a Table of Contents to make Settings more discoverable: https://gitlab.com/meltano/hub/-/issues/30

View 10 previous comments from the original issue on GitLab


Question VM UPGRADE Tensorflow

Hello
Quick question, we are upgrading our systems from standalone to Virtual Machine environment Via VMware.
Specs is GPU Tesla T4
We are unsure for Tensorflow what would work best however maybe you might know?
what works best to move Tensor flow onto the VM enviroment ? ie what hardware specs.
thanks
CH

I don't think that we handle any specific request for VMware here but you could rely on third_party official infos:
https://docs.vmware.com/en/VMware-vSphere-Bitfusion/index.html
https://docs.vmware.com/en/VMware-vSphere-Bitfusion/3.0/Example-Guide/GUID-1C053853-4D83-4D94-A6F3-D6958478AAB2.html

@CHIMRLINUX
Could please check the above comment and move this closed status,if it is resolved.Thanks

Please close this activity.
Thanks
Ciaran
From: google-ml-butler[bot] @.>
Sent: Friday 4 June 2021 12:01
To: tensorflow/tensorflow @.>
Cc: Ciaran Harte @.>; Mention @.>
Subject: Re: [tensorflow/tensorflow] Question VM UPGRADE Tensorflow (#49256)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/49256#issuecomment-854618088, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUDYRNVIMO5UF4HWFWF4B6TTRCXAFANCNFSM45CD6MGQ.
NOTE: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


TextView set android:textStyle="bold" not work

TextView set android:textStyle="bold" not work

Fixed. The fix is on dev branch. Will be merged to master with updated DropDown (most likely this week).


Remove generation of AUTHORS

This is unused, and currently breaks the spellcheck rule. I was
going to just skip spell checking it, but it seems easier to remove
the file generation instead.
Signed-off-by: Justin Cormack<EMAIL_ADDRESS>

Thanks @justincormack !
LGTM!


Support application and group specific configurations

In our scenario we have a bunch of properties that are common for a group of applications as well as properties that are application specific.
Is it possible to use spring cloud config in a way that for an app that is requesting config on startup it would supply both: props that are common for the whole group of applications as well as the app specific ones without workarounds like for example replicating the common properties by creating an exact copy for each app where the only difference is the name?
If not, then that would be the subject of this feature request.

application.yaml | properties is shared between all clients so common properties can be placed in that file.

Guess I should have been a bit more specific, but here it is...
Yes, you can do that, but they will be static and you won't be able to modify their values without redeploying the server  that on startup will read the application.yaml where they are defined and start serving new values. If we were interested in such scenario I guess we would not have to use spring cloud config. In our use case we must be able to modify them at any time so that the apps that depend on them get their most up-to-date values when they start up and join the cluster.

Yep, makes sense. Thanks for your response. Closing the ticket.


Update engine-api vendor for UsernsMode

Bring in the change required for PR #20111
Docker-DCO-1.1-Signed-off-by: Phil Estes<EMAIL_ADDRESS>(github: estesp)

LGTM

LGTM

Looks like gccgo was killed https://jenkins.dockerproject.org/job/Docker-PRs-gccgo/2688/console
14:50:15 PASS: docker_api_containers_test.go:88: TestContainerApiPsOmitFields.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.009s
14:50:17 PASS: docker_api_containers_test.go:910: TestContainerApiRename.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.216s
14:50:20 PASS: docker_api_containers_test.go:938: TestContainerApiRestart.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.681s
14:50:21 /go/src/github.com/docker/docker/hack/make/test-integration-cli: line 18:  5588 Killed                  ( bundle .integration-daemon-start; bundle .integration-daemon-setup; bundle_test_integration_cli; bundle .integration-daemon-stop ) 2>&1
14:50:21       5589                       | tee -a "$DEST/test.log"
14:50:24 Build step 'Execute shell' marked build as failure
14:50:25 Archiving artifacts
14:50:25 [PostBuildScript] - Execution post build scripts.
14:50:26 [Docker-PRs-gccgo] $ /bin/sh -xe /tmp/hudson7439847382472088550.sh
14:50:26 + set +x

passing now:
16:57:26 OK: 1135 passed, 101 skipped
16:57:26 PASS
16:57:26 ok  	github.com/docker/docker/integration-cli	5191.965s


Add encoder and decoder for Chain and NonEmptyChain

Added encoders/decoders for the data types introduced in cats 1.3, Chain and NonEmptyChain.

Codecov Report

Merging #964 into master will decrease coverage by 0.04%.
The diff coverage is 69.23%.

@@            Coverage Diff             @@
##           master     #964      +/-   ##
==========================================
- Coverage   85.27%   85.23%   -0.05%
==========================================
  Files          74       75       +1
  Lines        2330     2343      +13
  Branches      150      157       +7
==========================================
+ Hits         1987     1997      +10
- Misses        343      346       +3

Impacted Files
Coverage Δ

...d/src/main/scala-2.12-/io/circe/ChainBuilder.scala
0% <0%> (ø)

.../core/shared/src/main/scala/io/circe/Encoder.scala
98.13% <100%> (+0.07%)
:arrow_up:

.../core/shared/src/main/scala/io/circe/Decoder.scala
93.09% <100%> (+0.11%)
:arrow_up:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
91.02% <0%> (-5.13%)
:arrow_down:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
90% <0%> (+0.62%)
:arrow_up:

...les/core/shared/src/main/scala/io/circe/Json.scala
79.48% <0%> (+0.64%)
:arrow_up:

...d/src/main/scala/io/circe/NonEmptySeqDecoder.scala
100% <0%> (+8.33%)
:arrow_up:

...rc/main/scala/io/circe/shapes/SizedInstances.scala
92.85% <0%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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

Code coverage seems to have gone down a bit for JsonNumber.scala, but I'm not sure how it's related to the changes I made. Could this be a false positive caused by some property-based test that just happened to not cover a piece of code this one time?

@dcastro Thanks again for this! And yes, we see that kind of drop due to property-based testing occasionally. I'll get this merged before 0.10.0 (probably this weekend, finally).

@travisbrown thanks, my pleasure! :)


Update twiiter icon

Update Twitter icon

I have fixed the issue and added the twitter icon and apply all the styling.
It will look like this.
Screencast from 2023-10-27 16-29-28.webm

@manojVivek  is this issue still open?


Arm64 work

Help #871
Description of the changes:

Adds support for CPU detection by CMake
Removes SSE instructions from ARM builds
Adds CMake ARM toolchains files
Updates the docker image to support cross compiling

Before submitting a Pull Request:

[x] I reviewed CONTRIBUTING.md
[x] I built my changes locally
[x] I ran the unit tests
[ ] I ran the functional tests with a device
[ ] I ran the performance tests with a device

I tested changes on:

[ ] Windows
[x] Linux

This is currently a draft to get our CI system up and running.

Work has been completed on a feature branch instead of this branch


Implicit alignment in operations

In https://github.com/pydata-apis/dataframe-api/issues/2 there seems to be some agreement that row-labels are an important component of a dataframe. Pandas takes this a step further by using them for alignment in many operations involving multiple dataframes.
In [10]: a = pd.DataFrame({"A": [1, 2, 3]}, index=['a', 'b', 'c'])

In [11]: b = pd.DataFrame({"A": [2, 3, 1]}, index=['b', 'c', 'a'])

In [12]: a
Out[12]:
   A
a  1
b  2
c  3

In [13]: b
Out[13]:
   A
b  2
c  3
a  1

In [14]: a + b
Out[14]:
   A
a  2
b  4
c  6

In the background there's an implicit a.align(b), which reindexes the dataframes to a common index. The resulting index will be the union of the two indices.
A few other places this occurs

Indexing a DataFrame / Series with an integer or boolean series
pd.concat
DataFrame constructor

Do we want to adopt this behavior for the standard?

In case it's of interest, in Narwhals we solved this by following the left-hand rule for index alignment: https://narwhals-dev.github.io/narwhals/pandas_like_concepts/pandas_index/
An unexpected benefit of this was that, for Plotly, moving to Narwhals ended up solving some existing bugs for free


Is there a way to get the stat object instead of the path ?

I need to use stat for each matched file. Instead of doing yet another fs.stat on the path is there a way to access the stat object for each match ?

Try this:
var g = new Glob(somePattern, { stat: true })
g.on('stat', function (file, stat) {
  // do your stuff here
})

Thanks !

Isn't it worth documenting?


[Feature] Is it possible to embed it in a QWebEngineView

Hi,
I want to introduce a powerful WYSIWYG Markdown editor into my project VNote. VNote has a Chrome kernel for its read mode. Will it be possible to embed it into VNote? I think if it is simple and browser-friendly, we could do this.
Thanks!

Absolutely you can.
What you need is to follow this steps:
Create an empty directory.

Using npm to install milkdown core, preset, plugin and themes you need. (You can use npm if you have nodejs installed).
You can find the .js and .css style file in

theme: node_modules/@milkdown/theme/lib/
preset and plugin: node_modules/@milkdown/preset-gfm(for example)/lib/

If you prefer to combine them into one file, you need a front-end package tool, like webpack or vitejs. This may need some front-end tool chain knowleadge.


Tracking: Season 0

A checklist of things needed for Alphanet season 0 outside of what we already have (e.g. EOF, 7702, BLS, secp)
### reth
- [ ] https://github.com/paradigmxyz/reth/issues/10446
- [x] EIP-2935 changes (see https://github.com/paradigmxyz/reth/issues/10079)
- [ ] Optimism P2P fixes
- [x] Engine experimental (native support in Alphanet): https://github.com/paradigmxyz/reth/issues/8742
- [x] Allow payloads without requests for Prague

### alloy
- [ ] https://github.com/alloy-rs/alloy/issues/1174

### revm
- [ ] https://github.com/bluealloy/revm/pull/1695

### Alphanet
- [ ] https://github.com/paradigmxyz/alphanet/issues/103
- [x] Bump 7702 patches for op-node

When all checklists are done we need to ensure we are on the latest reth with the latest revm and alloy

Closing this as everything is done except for P2P, which is unclear if there are fixes needed, and if so, what, so we should just track that separately


unable to save Monitor_Workbooks/SynapsePipelines_v1.1.workbook

Followed the instructions and created a workbook however save is not working and throwing error Cannot load from JSON: This item type is 9 (parameters), but the JSON provided was undefined (Unknown)

not planned


RoutableSubscriber for behavior

Q
A

Bug?
no

New Feature?
no

Sulu Version
after merging https://github.com/sulu-io/sulu/pull/1927

Browser Version
all

There should be a RoutableSubscriber which removes all related routes.

see https://github.com/sulu-io/sulu/pull/1927#discussion_r56509383


Provide a pluggable design for Certificate Store

What would you like to be added?
Creating separate issue to track follow up suggestion to 835:
A follow-up suggestion would be to provide a pluggable design when adding and managing external plugins. Shall we design a flexible interface so that others can contribute and develop plugins for Ratify without modifying Ratify core source code.
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this feature?

[ ] Yes, I am willing to implement it.

Some of the changes will include:

Ratify will need to execute certificate store plugins as child processes. We could use grpc for communication between ratify and certiciate store instead of stdin/out. Today the fetched certificate are cached in memory, we could go back to writing out/reading from disk, or leverage existing cache utility.

adding a plugin path to current cert store CRD.

Should we support dynamic plugin?

I feel we can probably make dynamic plugin a feature across all plugins?

Can you elaborate on the design principle of the dynamic plugin?

This will be address in new Key management resource being introduced. Tracking issue #1295


⚠ ClamAV has degraded performance

In a1b9fb2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 85 ms

Resolved: ClamAV performance has improved in 6c98993.


Refactor AddressSearch to be compatible with Form

Details

An optional isFormInput prop.
If isFormInput is true, require a inputID prop. Use getInputIDPropTypes to enforce this propType rule.
Add an optional shouldSaveDraft prop. Defaults to false.

Done.

Make the value prop optional

It was already optional.

In the input’s onBlur method, call props.onBlur().
In the input’s onChange method (or equivalent e.g. onTextChange, etc), call props.onChange().

Done.

Remove the hasError prop

There was no hasError prop.

Add an optional errorText prop. Defaults to an empty string.
Update the error message to display if errorText is truth.

Done.

Update the inline error display style so it is left aligned with the label and input value. See example image for TextInput

I don't think it's my concern. AdressSearch is using TextInput

Make sure that props.ref is attached to the appropriate DOM node. This could involve forwarding the ref to a child component. This is important so we can call ref.focus().

Done.

Add the input to the test Form stories and make sure that it works. You can check this by running npm run storybook and testing the component in the example form.

Done.

Remove any unused code.

Nothing to remove.
Fixed Issues

$ https://github.com/Expensify/App/issues/7538
Tests

[x] Verify that no errors appear in the JS console

QA Steps

Nothing to test I guess. It's only refactor.

[x] Verify that no errors appear in the JS console

Tested On

[x] Web
[x] Mobile Web
[X] Desktop
[x] iOS
[x] Android

Screenshots

Error from storybook - props.onChange isn't a function.

I'll take a look at this soon.

Point 10 isn't implemented - Error text needs to be aligned with label and input value as show here - #7538 (comment)

As I mentioned above, AddressSearch is using TextInput. I didn't want to modify it. It should have been done in this PR
Also, this PR covers the error alignment: https://github.com/Expensify/App/pull/7627/files
Do you still want me to modify error alignment?

@rushatgabhane

Error from storybook - props.onChange isn't a function

is fixed

Left a few comments. I also see this error in Storybook when typing into the field (possibly related to my comment about onChange)

Is this error occurs on the Form stories or the AddressSearch?

@luacmartins Done

No problem @luacmartins

Thanks for the review @luacmartins 🙇

@rushatgabhane Done

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @marcochavezf in version: 1.1.41-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
failure ❌

🚀 Deployed to production by @francoisl in version: 1.1.41-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Rasterization in DevUtils`

Changes

This change depends on PR #529
It introduces a single function, ExportPreviousInputOutputToMarkdown, which rasterizes an input+output pair, and produces markdown + image as a result. If possible the input is pure Mathematica, while the output is an image.

This change is

This is roughly how it works:

I have now documented the workflow in Contributing.


Fix: body text color

Jira
N/A
Summary
Fixes a bug where the body text is using the headline text color.
Details

Updated CSS to fix the color.
Updated incorrect headline docs.

How to test
Run the branch locally and view the headline component docs, make sure regular text is black and headline is indigo.

PR was released with v2.23.0


Clarification on where to put the overlay file

@macmpi Thanks for rewriting and hosting this, seems like a major improvement. I did some limited testing with qemu and didn't have any issues with the basic functionality.
Two things though:

For .iso Alpine boot media, eg. x86_64, the only two ways I know of to use the headless overlay are either, remaster the .iso file, or put it on separate media from the boot media. And I've never tested remastering so i just assume that would work. For me, being able to just put the overlay on a second usb stick and use the stock Alpine .iso was appealing. Do you have another method? If not, then maybe this could use some clarification:

Just add headless.apkovl.tar.gz overlay file at the root of your Alpine Linux boot media and boot your box!

Per our other conversation on potential CR/LF issues with windows users, I tested a basic unattended.sh with qemu then ran unix2dos on it and it breaks it. I haven't tested any of the other text files but treating them with dos2unix wouldn't hurt.

Thanks for feedback!
I did some wordsmith on Readme file that may address your concerns.
I'll take on adding some headless-bootstrapping section on Alpine wiki main section (and Pi sibling) referring to this page.
You may want to edit/reformat/delete the other wiki pages as you feel appropriate?

Another minor point to this method is that it should work with all Alpine boot media (already noted) but that it's the Alpine initramfs that contains the code that finds and extracts the overlay file and looks for .default_boot_services. I have a couple of other projects that I use Alpine with (chromebooks) that where my boot media is just a custom kernel and Alpine rootfs, without Alpine's initramfs. I tripped myself up a couple of times doing some troubleshooting on these where I tried to use headless.apkovl.tar.gz and it didn't work - before remembering I didn't have the initramfs.
Closing this.

I saw your deletion proposal on https://wiki.alpinelinux.org/wiki/Unattended_Boot_and_Install: thanks.
I guess the same would go for https://wiki.alpinelinux.org/wiki/Raspberry_Pi_-_Headless_Installation, no?
I slightly edited generic Installation overview item 2, and Preparation section in Pi instructions to link into this repo.
In both cases this github Readme whould give the additional info needed.

I guess the same would go for

Agree. There's also this one I did over 3 years ago and I haven't revisited recently to see why or if it might still be needed. Looks like it was edited relatively recently though.
https://wiki.alpinelinux.org/wiki/Raspberry_Pi_Zero_W_-_Installation


feat: Add Windows support

Closes https://github.com/wasmerio/wasmer-go/pull/162.
 It's better to reduce the number of deps to CRT first.

bors try

bors try

bors try

bors try

bors try

Any update on this? I'm looking forward this. Thanks.

Trying to solve my issue with small patch.
diff --git a/wasmer/wasi.go b/wasmer/wasi.go
index 4e03fcd..05aa76b 100644
--- a/wasmer/wasi.go
+++ b/wasmer/wasi.go
@@ -20,6 +20,7 @@ package wasmer
 //     FILE *memory_stream;
 //     size_t buffer_size = 0;
 //
+// #ifndef _WIN32
 //     memory_stream = open_memstream(buffer, &buffer_size);
 //
 //     if (NULL == memory_stream) {
@@ -39,6 +40,20 @@ package wasmer
 //     } while (WASI_ENV_READER_BUFFER_SIZE == data_read_size);
 //
 //     fclose(memory_stream);
+// #else
+//     char temp_buffer[WASI_ENV_READER_BUFFER_SIZE] = { 0 };
+//     size_t data_read_size = WASI_ENV_READER_BUFFER_SIZE;
+//
+//     do {
+//         data_read_size = reader(wasi_env, temp_buffer, WASI_ENV_READER_BUFFER_SIZE);
+//
+//         if (data_read_size > 0) {
+//             buffer_size += data_read_size;
+//             memcpy(*buffer, temp_buffer, data_read_size);
+//             *buffer += data_read_size;
+//         }
+//     } while (WASI_ENV_READER_BUFFER_SIZE == data_read_size);
+// #endif
 //
 //     return buffer_size;
 // }

The problem seems deeper than I initially though. I've bought a Windows machine and I need to finish the setup so that I can test more easily. Any help is welcomed :-).

Is it available now?I failed to compile

Need to use msvc compiler?

 Need to use msvc compiler?

I get this error aswell and cannot figure out for the life of me how to get it working. Were you able to fix this?

I'd like to take over this feature and get it implemented since my project really needs windows support. @Hywan can you give me a summary on what needs to happen here to get this done?

Still not working properly

Any updates on this by chance?

What´s happen?


Add options to control ACME propagation checks

What does this PR do?
Add propagationRNS and propagationDisableANS options to help split-horizon DNS, and some private PKIs and CAs.
Motivation
Related to https://github.com/traefik/traefik/pull/11159#issuecomment-2402353623
More

[ ] Added/updated tests
[x] Added/updated documentation

@kevinpollet I rebased the PR, the bot will be happy, you can remove the label bot/need-human-merge.


nock response object doesn't trigger the on('data') or on('end') event

I have a problem with the response object, it doesn't trigger the res.on('data') or red.on('end').
Nock intercepts correctly the http request (in my case a PUT),
I'm able to output the response object created  but it doesnt trigger none of the events
 var req = http.request(options, function(res){
        console.log(res);
        res.on('data', function(chunk){
            resObj+=chunk;
            callback.call(null,"data");
        });
        res.on('end', function () {
            var authObj=res.statusCode;
            callback.call(null,"end");
        });
    });

Hi, can you please tell me:

which version of nock you're using
which version of node you're using

Can you also paste here a small code example that I can run on my side to test this?

node : 0.12.0
nock : 2.6.0
account-spec.js
var account = require ('./account.js');
var options = {
    hostname:'test-api',
    port:'8000',
    headers:{
        'Content-Type' : 'application/json'
    }
};

// using jasmine to test
describe('Create new account',function(){
    it('Should send PUT request to API',function(done){
        nock('http://test-api:8000/v1/accounts')
        .put('/12345890')
        .reply()
        .log(console.log);
        account.save('12345890',{"data":{"name":"account test request"}},function(res,err){
            expect(res).toEqual("account created");
            done();
        });
    });
});

account.js
var exports = module.exports = {};
var http = require('http');
exports.save = function(account_id,accountOBJ,callback){
    options.path='/v1/accounts/'+account_id;
    options.method = 'PUT';
    var body = accountOBJ;
    var resObj="";
    var req = http.request(options, function(res){
        res.on('data', function(chunk){
            resObj+=chunk;
        });
        res.on('end', function () {
            callback.call(null,"account created");
        });
    });
    req.on('error', function(e) {
        console.log('problem with request: ' + e.message);
    });
    req.write(JSON.stringify(body));
    req.end();
};

I replicated your code (with a minor fix because options must be defined in account.js and nock must be required on account-spec.js), and can't replicate your problem:
$ node -v
v0.12.0

$ node account-spec.js
{ '0': 'account created' }

hello,
thanks for the rapid response.
I replicated the scenario with the code that i sent to you, and it worked fine.
the problem is my spec file.. i'm adding a TAP reporter to my jasmine env
if i remove these lines everything runs ok
jasmine.getEnv().addReporter(new TAPReporter(console.log));
jasmine.getEnv().execute();

I don't know enough Jasmine to be able to help you.
I'm closing this, please reopen if you find a problem on nock.


How to build child-sum tree using tensorflow fold?

How to build child-sum LSTM Tree using tensorflow fold? For now example sentiment analysis receives binary constituency tree. But I want to apply with example to input non-binary dependency based parse trees.
Adding some detaisation to request. Main problem I don't now how to solve is how to modify logits_and_state method to boild tree where every node can have arbitrary number of childs.
Thanks!

Same question here. Maybe author/maintainer could help with this, please (@delesley)?
It's very important for the prototype i'm doing, so i'm trying to figure out the way of making this.
This is an example we talking about:
https://github.com/tensorflow/fold/blob/master/tensorflow_fold/g3doc/sentiment.ipynb
Thanks in advance!

Is there a tool for generic block generation in tenosrflow fold? Some block that generate other blocks with respect to its input, and then generator maps his input on generated block.


builder issue #456:

support play audio by path(string)
rename index config's property : costue/scene => backdrop
support backdrop render mode: repeat && fillRatio

https://github.com/goplus/builder/issues/456

please split this pr into three parts.


EntityStreamSizeException: actual entity size (None) exceeded content length limit (8388608 bytes)!

Hello! After upgrading to 0.2.0, I'm seeing this error below whenever I try to use the RTM functionality against my Slack instance. I was also able to successfully bisect the issue back to this commit: https://github.com/gilbertw1/slack-scala-client/commit/85fb83b116fb3c1184e147b41b35c8bab2f9f81f. I'm not sure why the new HTTP client has such a limit, or why Slack exceeds it on connect immediately (not sure what it sends!).
[WARN] [03/08/2017 07:35:24.711] [org_mbs3_trivial-akka.actor.default-dispatcher-4] [akka.actor.ActorSystemImpl(org_mbs3_trivial)] Illegal response header: Illegal 'expires' header: Illegal weekday in date 1997-07-26T05:00:00: is 'Mon' but should be 'Sat'
[error] (run-main-0) EntityStreamSizeException: actual entity size (None) exceeded content length limit (8388608 bytes)! You can configure this by setting `akka.http.[server|client].parsing.max-content-length` or calling `HttpEntity.withSizeLimit` before materializing the dataBytes stream.
EntityStreamSizeException: actual entity size (None) exceeded content length limit (8388608 bytes)! You can configure this by setting `akka.http.[server|client].parsing.max-content-length` or calling `HttpEntity.withSizeLimit` before materializing the dataBytes stream.
	at akka.http.scaladsl.model.HttpEntity$Limitable$$anon$1.onPush(HttpEntity.scala:620)
	at akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:747)
	at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:649)
	at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:471)
	at akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:423)
	at akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:603)
	at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:618)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:484)
	at akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:529)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
	at akka.actor.ActorCell.invoke(ActorCell.scala:495)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
	at akka.dispatch.Mailbox.run(Mailbox.scala:224)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

I have the same problem. :(

same problem.
If I use the earlier version of this library, can I get rid of this problem?

akka-http was introduced as of 0.2.0, so anything older than that will use spray-websockets.
I've yet to encounter this problem personally, and am having trouble figuring out what could be the cause. If any of you are willing, I'd really appreciate it if you could capture the response from slack that is resulting in this failure using something like wireshark, That'd be a huge help in tracking down the source of this bug.

@gilbertw1 I'm not sure what to send you exactly, but it seems like this is really common from folks using akka-http when there's not a content-length header in responses, e.g.: https://github.com/hseeberger/akka-sse/issues/101
There's also some interesting content here, but not sure if it's related:
https://groups.google.com/forum/#!topic/akka-user/DIZ2WY97dnA
A Wireshark capture of this won't help b/c it's TLS encrypted -- is there a way to get the akka-http library to dump wire-level traces?

Thanks for the pointer! Could you test this using this build:
https://github.com/gilbertw1/slack-scala-client/releases/tag/entity-no-limit
I've removed the entity size limit in the http client, hopefully this will solve the problem. If the exception exists in the websocket client, it may be a bit more complex of an issue to solve.
Thanks!

I'll test as soon as I can -- unfortunately, the bump in versions of Scala and Play between the last working one and your test build mean I've got some wrangling to do in my project to catch it up so that I'm using the same versions you are (multiple versions of Play = bad news for the classpath and compilation). More soon!

Hi there -- managed to update my project. Your build doesn't seem to resolve the issue. I was able to run with the system property -Dakka.http.client.parsing.max-content-length=512m and that fixed my problem, so I think that indicates there's a workaround as well as implicates akka-http.

Awesome! That was going to be my next suggestion, although I wanted to try the one above first to try and produce an in code solution. I'll have to look into it more, but on initial pass there doesn't seem to be an easy way to customize the entity limit when using the websocket functionality.
Thanks a ton for helping debug this problem....I kinda wish it'd happen to me so I could debug possible solutions more easily.

@gilbertw1 Howdy! You bet. I assume it's from a very large Slack instance, maybe a lot of data to push through on the initial Websocket connection? Anyway, let me know if I should close this, or we should leave it open so we can document the property to adjust 👍

@martinb3 Let's leave it open, I plan on documenting this heavily in the Readme. However, I'm still hoping to find code only solution that won't require an additional configuration setting to function properly.

I've added a reference.conf file that sets a default client.parsing.max-content-length size of 128mb. This should solve the problem in the future, unless it is explicitly overridden with a smaller value.


Ensures a common interface for utils

Previously two disperate objects could be passed into utils, a Gateway
or a Provider.  This changes the signature to always expect a Gateway
It reduces the potential impact of this change from causing a double
lookup by lazy loading utils.
There are most likely additional refactors that are required here but
this allows the utils class not swallow unrelated errors.

Both of the errors in style, and the failing spec are unrelated.  The spec is failing as this recuse was rescuing things it shouldn't have.


mavlink: fix uninitialized messages fields

Some mavlink message's structs are not being cleared on creation, and later not all fields are being set.
Not clearing on struct creation might save runtime, but can lead later errors,
I found that sometime 'time_usec' on HOME_POSITION  is just garbage
On the proposed pr I found some messages that are not fully initilized (i went over all messages, but I might miss some...)
fixes 'Extension field not initialized in HOME_POSITION message #10923'

@bkueng What should I do about the code can't be compiled to px4_fmu-v2? (not anough flash...)

move to #11104


Adding clarity where Bitmaps section is

Adding clarity where the Bitmaps section is
The Bitmaps section is within the Commands section and it could be clearer to note that.

@maiak

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


MIT.Scratch1 version 1.4.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This program errored in a sandbox:

This program errored in a sandbox:

This might be from sandboxes being a reduced form of a VM, and not having many services. In a full VM, this error isn't seen.


help

We are experiencing the same problem with our buddy below, what is the window_size you guys are using at ATTENTION SWIN U-NET?

Hi, specifically refer to issue 50.


GetCollection crashes with custom Id mapping

GetCollection api throws exception when the class has two ID properties like 'TempId' and ,Id' and TempId is mapped as Id using Fluent API.
    public class BaseClass
    {
        public long TempId { get; set; }
    }
    public class TestClass : BaseClass
    {
        public long Id { get; set; }

        public string Name { get; set; }
    }

Custom Mapping
                mapper.Entity<TestClass>().Id(x => x.TempId);

Any solution or suggestions?


Update dev from ReviewTarget

This change is

Reviewed 2 of 4 files at r2, 27 of 27 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Updating dev branch from ReviewTarget


added and improve the contact us page

hey @Anushkabh i added a contact sectection in nabvar where the user can click the contact sec and redirect to contact us page .
i also change the contact us page according to theme so please accept the pull request . further i will give more contribution on this .

hey @Anushkabh  please accept the prs

thank you for accept

Fixes #168


Deaths time conversion factor

Deaths has:
if isinstance(death_rate, ss.TimePar):
    factor = self.t.dt # TODO: figure out why this isn't 1.0
else:
    factor = ss.time_ratio(unit1=self.t.unit, dt1=self.t.dt, unit2='year', dt2=1.0)

But this appears to be an error. The factor should be 1.0 as in Births if using unit-away rates, which is on this codepath.

Should add a test asserting birth and death rates


fsprovider-sample: "no provider for memfs:/"

I've installed the MemFS extension in VSCode 1.23.1 and get this error if I try to setup a workspace:
no provider for memfs:/

and get this error if I try to setup a workspace:

How exactly are you doing that?

Btw. I'm using Windows 7, a colleague who is using MacOS does not have this problem. Maybe this is the source of the problem?

Hm, maybe some backslash vs fwdslash challenges...

"[Error] TypeError: Cannot read property ‘uri’ of undefined", if he Setup the Workspace, if an Workspace is already open.

What? You shouldn't even see the command when a workspace is open...

adding @isidorn for the stale markers

Ok, I checked that again:

in VSCode of my colleague an folder was open - but not a workspace. That's why it showed the command to setup the workspace.
If he close the folder before he setup the workspace, the "TypeError: Cannot read property ‘uri’ of undefined" error does not occur.

Currently I'm developing my own extension (based on the fsprovider-sample) - there, I got the error first (for sure, with my own schema name).
To see if this problem also occurs in the fsprovider-sample or if I did something wrong, I've installed the MemFS extension - but in the debug-session of my extension in VSCode. The problem was the same.
If I use the extension in the "normal" VSCode (not in the debug session), it works without problems.

Sorry for the confusion.

To me it looks like the registration of the file system provider works async and takes up to 5 seconds to initialize.
If the memfs.workspaceInit command is executed, the activate method is called the first time, which then registers the file system provider and directly after that, calls vscode.workspace.updateWorkspaceFolders in the method, which is assigned to the memfs.workspaceInit command. This produces the "no provider for memfs:/" error, because at this moment, the file system provider is not initialized.
About 5 seconds later activate is called again, because of the onFileSystem activation event - from now on, the file system schema can be used.

I also get this error when trying this. I work on MacOS.
My steps to install:
I downloaded the folder as a ZIP
Unzipped it and opened /fsprovider-sample as a folder in VS Code
I started the debug mode

Now I try to setup a new workspace (via F1 and typing MemFS: Setup Workspace) and then I get the following error message:

And it creates an empty folder

We got to the bottom of this. Closing as duplicate of https://github.com/Microsoft/vscode/issues/51088