Stuck at Apple logo past boot sequence but before installer

Describe the bug
The system seems to be unable to make it to the installer screen. System locks up at an Apple logo
To Reproduce
Steps to reproduce the behavior:

Followed guide through to step 10 (including setting correct bios flags) using a macOS virtual machine to create installation tool
The system goes through the boot process and freezes just before the installer

Screenshots
Where the system finally freezes
The last section seen before the Apple loading bar
macOS Info:

OS: Big Sur
Version 11.2.1 (20D75)
Laptop Model: T450s BIOS version JBET72WW (1.36)

Wait a minute, does your laptop have the Geforce 940M graphics?

No, it uses integrated graphics. Here are the complete specs
System:    Host: t450s Kernel: 5.10.0-3-amd64 x86_64 bits: 64 Desktop: sway 1.5 Distro: Debian GNU/Linux bullseye/sid
Machine:   Type: Laptop System: LENOVO product: 20BXCTO1WW v: ThinkPad T450s serial: <superuser required>
           Mobo: LENOVO model: 20BXCTO1WW v: SDK0E50512 STD serial: <superuser required> UEFI [Legacy]: LENOVO
           v: JBET72WW (1.36 ) date: 02/23/2019
Battery:   ID-1: BAT0 charge: 16.4 Wh condition: 17.0/23.2 Wh (73%)
           ID-2: BAT1 charge: 15.2 Wh condition: 15.8/23.2 Wh (68%)
CPU:       Info: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP L2 cache: 3 MiB
           Speed: 2037 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 2037 2: 1948 3: 1980 4: 1988
Graphics:  Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
           Device-2: Lite-On Integrated Camera type: USB driver: uvcvideo
           Display: server: No display server data found. Headless machine?
           Message: No advanced graphics data found on this system.
Audio:     Device-1: Intel Broadwell-U Audio driver: snd_hda_intel
           Device-2: Intel Wildcat Point-LP High Definition Audio driver: snd_hda_intel
           Sound Server: ALSA v: k5.10.0-3-amd64
Network:   Device-1: Intel Ethernet I218-V driver: e1000e
           IF: enp0s25 state: down mac:
           Device-2: Intel Wireless 7265 driver: iwlwifi
           IF: wlan0 state: up mac:
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
           Report: ID: hci0 state: up running bt-v: 2.1 address:
Drives:    Local Storage: total: 119.24 GiB used: 2.53 GiB (2.1%)
           ID-1: /dev/sda vendor: Toshiba model: THNSNJ128GCSU size: 119.24 GiB
Partition: ID-1: / size: 115.93 GiB used: 2.53 GiB (2.2%) fs: ext4 dev: /dev/sda1
Swap:      ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) dev: /dev/sda5
Sensors:   System Temperatures: cpu: 36.0 C mobo: 0.0 C
           Fan Speeds (RPM): cpu: 0
Info:      Processes: 125 Uptime: 2m Memory: 11.41 GiB used: 484.2 MiB (4.1%) Shell: Zsh inxi: 3.3.01

There's probably a setting in your BIOS causing it to fail. Normally when it fails at the 2nd boot screen it's because of unsupported GPU or a setting in the BIOS. Since it gets past the 1st verbose screen it mean the EFI is fine.
Can first reset bios settings to default and save. Reboot back into BIOS and set it up like in the readme of this repo

Reset the bios to default, saved and rebooted, then set it up according to the readme. Still the exact same result.
As an aside, I am not going to try remaking the install USB with a different flash drive just to rule out that as a possibility.

Reset the bios to default, saved and rebooted, then set it up according to the readme. Still the exact same result.
As an aside, I am going to try remaking the install USB with a different flash drive just to rule out that as a possibility.

You also try setting your usb port to 2.0 mode

So using a new drive didn't help and neither did changing the system to USB 2.0 only. Overnight I decided to try downloading Catalina and writing it to another drive. It was able to get a little further - the loading bar progresses to roughly 20% - then it flashes "Failed to send exception EXC_CORPSE_NOTIFY. error code: -308" for three process ids and proceeds to shut the system down.

So using a new drive didn't help and neither did changing the system to USB 2.0 only. Overnight I decided to try downloading Catalina and writing it to another drive. It was able to get a little further - the loading bar progresses to roughly 20% - then it flashes "Failed to send exception EXC_CORPSE_NOTIFY. error code: -308" for three process ids and proceeds to shut the system down.

Are you on latest BIOS? Is secure boot turned off and BIOS set UEFI Only mode with CSM Support On?
Can you mention the exact model number of your T450

Yes, all of the bios settings are set as per what is in the readme. It was on bios 1.36(JBET72WW) but I updated it to 1.37(JBET73WW) (current release) and it didn't change anything.
It is a T450s with the model number 20BXCTO1WW

So using a new drive didn't help and neither did changing the system to USB 2.0 only. Overnight I decided to try downloading Catalina and writing it to another drive. It was able to get a little further - the loading bar progresses to roughly 20% - then it flashes "Failed to send exception EXC_CORPSE_NOTIFY. error code: -308" for three process ids and proceeds to shut the system down.

Are you on latest BIOS? Is secure boot turned off and BIOS set UEFI Only mode with CSM Support On?
Can you mention the exact model number of your T450

Yes, all of the bios settings are set as per what is in the readme. It was on bios 1.36(JBET72WW) but I updated it to 1.37(JBET73WW) (current release) and it didn't change anything.
It is a T450s with the model number 20BXCTO1WW

Can you try connecting an external display and see if it will work

So using a new drive didn't help and neither did changing the system to USB 2.0 only. Overnight I decided to try downloading Catalina and writing it to another drive. It was able to get a little further - the loading bar progresses to roughly 20% - then it flashes "Failed to send exception EXC_CORPSE_NOTIFY. error code: -308" for three process ids and proceeds to shut the system down.

Are you on latest BIOS? Is secure boot turned off and BIOS set UEFI Only mode with CSM Support On?
Can you mention the exact model number of your T450

Yes, all of the bios settings are set as per what is in the readme. It was on bios 1.36(JBET72WW) but I updated it to 1.37(JBET73WW) (current release) and it didn't change anything.
It is a T450s with the model number 20BXCTO1WW

Can you try connecting an external display and see if it will work

That's a good idea but unfortunately it didn't really help. The notebook still stops at the Apple loading bar and the external display is just a black screen. Honestly, I'm kind of stumped. I'm not sure what exactly is preventing this particular machine from reaching the installer.

Hello!  I have the same issue, though are models differ - mine is 20BX001PUS. A point that we have in common is that we made the usb with virtual machines, so that might be the issue?

Hello!  I have the same issue, though are models differ - mine is 20BX001PUS. A point that we have in common is that we made the usb with virtual machines, so that might be the issue?

Might be. How did you pass-through your USB drive to the VM?

A prompt came up and I just routed the USB to the vm. (I used VmWare Workstation instead of VirtualBox)

Might be something wonky with USB pass-through. I always use VirtualBox and the USB Extension Pack and it has always worked for me with enabling USB 3.0 pass-through

I'm gonna try making a vm on virtualbox, and report back.

Okay I found a tool called TINU. (https://github.com/ITzTravelInTime/TINU/releases/tag/2.1_PUBLIC_60). And it shows the big sur installer as damaged, so if OP has the same thing, we might have found the problem.

Okay I looked around, turns out the reason it said installer was damaged was because that version of the tool didn't have support for big sur.

I also noticed that when I executed the "sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume" the "copying files" was stuck at 0%. Or I might've just not waited long enough, so I'll try that.

Seems it didn't make a difference - still stuck.

Maybe there's a problem with the files?

I don't think so. The files are fine. I've tested them on my machine and everything works. Have you tried an older build like 0.6.3 v1 in the releases page? If that also doesn't work then there's probably a setting your are missing.
Try using efi files from that release and see if it makes a difference

My settings were reset to default and copied from yours, so, I doubt any problems would come from them. With older EFI versions still stuck.

Okay, so I used the mojave os. Then I managed to boot into installer. So the problem was most likely the OS.

You could have use Catalina then update to Big Sur


Android bar doesn't disappear

Steps to reproduce
https://user-images.githubusercontent.com/75091899/161092248-7aacc91e-93ba-4de7-bc6b-672a3e669d45.mp4
you can see in the video how the android bar is not transparent anymore and in a fixed state(doesn't move/hide) covering the right part of the screen
Expected behavior
the android bar should hid itself
Actual behavior
the android bar remain in a fixed state.
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 8
Device
Huawei p8 lite 2017
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

i have just discovered that clicking on the gear of the player has the exact same effect on the android bar.
https://user-images.githubusercontent.com/75091899/161094069-180a8c88-bd1f-417c-bcba-5b2fc8246cba.mp4

Use preview version

#199


Changing anaalytics id dynamicaly

Is there a way to change the analytics id dynamically?
In my application, users can add their tracking id which changes when the item being with on the page belongs to them.

You just have to use setTrackingId($trackingId) on the tracking provider instance.


Copy Paste not working when editing XML files (Atom 1.14.3)

This is to continue from a previous issue but was closed (https://github.com/atom/atom/issues/11881).
I am now using Atom 1.14.3.
Sorry, I got busy and did not use Atom for some time, lol. Now that I am back using it again, I tried testing this in Atom --safe mode and noticed something else. It appears to happen only in Mixed mode (see screenshot below). Mixed mode regarding CR / LF characters, you can see this on the file details on the bottom right in the screenshot.
You can also see when I copied the text from the Mixed mode XML file that it only copied the first character. I used the exact same example XML file as I originally attached to this issue.
And then I used a sample XML file using CRLF mode (Download from here: https://www.w3schools.com/xml/simple.xml). I was able to copy the text fine with this example, but not with the above example.
I wonder also, the encoding type set in the above XML is UTF-16, yet Atom reports it as UTF-8. Maybe it is having an issue reading the characters because of this?
It could also be the Mixed mode?

Closing in favor of https://github.com/atom/atom/issues/11881


How to use React.Component with no props?

I get the flow error Cannot use property Component [1] with less than 1 type argument. when trying to create a React class component. But my component has no props? What am I supposed to do?

class Foo extends React.Component<{}> {}

That's horrible, why isn't the Props type optional?

Because it's explicit. There is nothing horrible in explicitness.

Then why is declaring the state type optional? If the preference is explicitness why not require:
class Foo extends React.Component<Props, {}> {}

For every component? You can't have it both ways, in real world use, both are optional so both should be able to be omitted or neither should, surely?

It's semantics. Optional thing is the thing which does not exist. Components always have props. They can be empty but they always exists, so you should specify it's type. State may not exist in class component. Its void by default.

Touché


Issue with styled-components

I just installed and it crashes with the following message.
"./node_modules/react-tabtab/lib/TabList.js
Module not found: Can't resolve 'styled-components' in 'node_modules\react-tabtab\lib' "

I'm getting the same error


⚠ SolarOscp has degraded performance

In de5ac1f, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 324 ms

Resolved: SolarOscp performance has improved in 5075c48 after 10 minutes.


Makes openssl compile with no-sock parameter.

Previously, under Windows VS2008, if the following was executed:
perl Configure VC-WIN32 no-asm no-sock --prefix="C:\Users\Administrator\Documents\openssl\builddir"
perl util\mkdef.pl crypto ssl update
ms\do_ms
nmake -f ms\nt.mak
then the build would fail. This is because not all socket-related functions were under #ifndef OPENSSL_NO_SOCK.
After my changes, the build succeeds, and all tests from running "nmake -f ms\nt.mak test" pass.

updated by #729


Hello, I use gid data and use the FCEFModule model to train, but the following error is reported. Is it because of a version problem? thanks

there is my code
import torch
import torch.nn as nn
import pytorch_lightning as pl
from torchrs.datasets import GID15
from torchrs.train.modules import FCEFModule
from torchrs.train.datamodules import GID15DataModule
from torchrs.transforms import Compose, ToTensor

def collate_fn(batch):
    x = torch.stack([x["x"] for x in batch])
    y = torch.cat([x["mask"] for x in batch])
    x = x.to(torch.float32)
    y = y.to(torch.long)
    return x, y

transform = Compose([ToTensor()])

dm = GID15DataModule(
    root="./datasets/gid-15",
    transform=transform,
    batch_size=128,
    num_workers=1,
    prefetch_factor=1,
    collate_fn=collate_fn,
    test_collate_fn=collate_fn,
)

model = FCEFModule(channels=3, t=2, num_classes=15, lr=1E-3)

callbacks = [
    pl.callbacks.ModelCheckpoint(monitor="val_loss", mode="min", verbose=True, save_top_k=1),
    pl.callbacks.EarlyStopping(monitor="val_loss", mode="min", patience=10)
]

trainer = pl.Trainer(
    gpus=1,
    precision=16,
    accumulate_grad_batches=1,
    max_epochs=25,
    callbacks=callbacks,
    weights_summary="top"
)
#
trainer.fit(model, datamodule=dm)
trainer.test(datamodule=dm)

Error

FCEF is a model for change detection. The GID-15 dataset is just a semantic segmentation dataset. I would recommend using the segmentation_models_pytorch U-Net model instead (smp.Unet).

thanks


feat: update kc version to v1.3.2

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #561 (d4260ab) into release-1.3 (82a4625) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##           release-1.3     #561   +/-   ##
============================================
  Coverage        12.16%   12.16%
============================================
  Files              111      111
  Lines            16993    16993
============================================
  Hits              2067     2067
  Misses           14679    14679
  Partials           247      247

/lgtm
/approve


Support ignoring comments

Paper books have size requirements. This isn't a problem for digital books.

One way to do this would be adding a special tag (probably outside the scope of markdown) in the comments (or node data?) to indicate that the move should be ignored.

I think this is relatively low priority. We can reopen if necessary.


Support Infura in onboard.py

Why?
There have been a number of issues () where people cannot use the account_signTypedData on geth nodes. This is an issue, since Infura runs on geth. This causes problems in the Stark key generation step, as client.onboarding.derive_stark_key() specifically throws this error.
What?
I have found that this problem can be circumvented by explicitly passing the ethereum private key into the dydx Client() constructor. I have modified the existing examples/onboard.py to reflect this change.
Testing
This ran fine locally after filling in values for ETHEREUM_PRIVATE_KEY and WEB_PROVIDER_URL and running python3 onboard.py.

Hi, I just wondering how safe it is by passing the eth private key directly to the dydx client?

All of the signing happens offline, so there's no risk introduced by the dydx client. It's precisely as secure as the machine it's running on.


[feature] add systemd/dbus service

it would be nice, for convenient autostart to have systemd and dbus services 'shipped with' wired, similar as dunst has.
Also documentation on how to setup wired as standard notification daemon would be nice.

Personally I prefer just putting it in an autostart file, since I find services a bit opaque/unnecessary for simple stuff.
Having said that, I'll concede there are some advantages to having a service, like auto-start on notification send and resilience to crashing, though.  Maybe having both is an option.
What do you mean by setting up wired as the standard notification daemon?

At first I had dunst still installed parallel and I believe due to the crashes of #22 systemd kept reawakening dunst.
If both daemons have a service it might be a bit easier to set the "priority".
I don't have much experience creating new services, tbh, but I can try and open a pr eventually, if you like.

Ah, I see what you mean.  Yeah, we can/should do something documenting that.
A PR would be welcome, but I will also get around to this eventually.

Not a systemd expert but this works for me.
[Unit]
Description=wired-notify deamon
After=sddm.service

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=/bin/bash -c /bin/wired -r
RestartSec=10
Restart=always

put this file in /usr/lib/systemd/user/wired_notify.service and then use can enable it using --user flag
enable:
sudo systemctl --user enable wired_notify.service

I wasn't able to get it auto starting but I put this in my session start up script.
systemctl --user start wired_notify.service &

I would love to see this in the main branch but I can't atm.

I have various points that should be taken into consideration when adding a systemd service which I'll share in this comment.

Xorg/waylang, do we even support both? It may affect the solution we choose eventually.
Display managers: Let's consider Luviz's snippet:

[Unit]
Description=wired-notify deamon
After=sddm.service

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=/bin/bash -c /bin/wired -r
RestartSec=10
Restart=always

This is a good attempt and it looks good overall, but there's one issue with it.
This service assumes the existence of a particular display manager (i.e. sddm) which is typical for KDE/Plasma users, for example.
Many others who use GNOME for instance, use other display manager (name gdm3 IIRC).
Similarly, we have xdm, lightdm any many others...
Personally, I don't use any display manager but only a window manager, so I think we shouldn't rely on the existence of any display manager.

Systemd's tendency to silently restart crashing services may prevent us from getting to know about bugs, is this a thing we want?
To prevent the installer script from requiring root permissions, we should consider placing the systemd service at ~/.config/systemd/user/ (depending on XDG environment). Since users typically backup their ~/.config directory, they will carry this service file with them, which is nice :)

If we want to rely on Xorg, then we probably want to started wired when Xorg is beginning, I don't know how to describe a dependency on Xorg in systemd-service since Xorg may be started not using a systemd-service.

I have various points that should be taken into consideration when adding a systemd service which I'll share in this comment.

Xorg/waylang, do we even support both? It may affect the solution we choose eventually.
Display managers: Let's consider Luviz's snippet:

[Unit]
Description=wired-notify deamon
After=sddm.service

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=/bin/bash -c /bin/wired -r
RestartSec=10
Restart=always

This is a good attempt and it looks good overall, but there's one issue with it.
This service assumes the existence of a particular display manager (i.e. sddm) which is typical for KDE/Plasma users, for example.
Many others who use GNOME for instance, use other display manager (name gdm3 IIRC).
Similarly, we have xdm, lightdm any many others...
Personally, I don't use any display manager but only a window manager, so I think we shouldn't rely on the existence of any display manager.

Systemd's tendency to silently restart crashing services may prevent us from getting to know about bugs, is this a thing we want?
To prevent the installer script from requiring root permissions, we should consider placing the systemd service at ~/.config/systemd/user/ (depending on XDG environment). Since users typically backup their ~/.config directory, they will carry this service file with them, which is nice :)

If we want to rely on Xorg, then we probably want to started wired when Xorg is beginning, I don't know how to describe a dependency on Xorg in systemd-service since Xorg may be started not using a systemd-service.

Nice input, thanks.

Xorg/wayland, do we even support both? It may affect the solution we choose eventually.
Wired is completely untested on Wayland and I don't even know what it would take to support it.  As far as I understand everything is tied much more closely to the compositor so it wouldn't even be possible to support the same way we do on X11 (?).  mako just says "works on sway", whatever that means.

Systemd's tendency to silently restart crashing services may prevent us from getting to know about bugs, is this a thing we want?
Great point and one of the reasons I haven't pushed for a systemd service so far.  The other reason is that I don't really get the point of such a complex start system for a program as simple as Wired.  Why over-complicate wired &?  One reason is auto-restarting after crashing, but see thoughts above.

Nice input, thanks.

Xorg/wayland, do we even support both? It may affect the solution we choose eventually.
Wired is completely untested on Wayland and I don't even know what it would take to support it.  As far as I understand everything is tied much more closely to the compositor so it wouldn't even be possible to support the same way we do on X11 (?).  mako just says "works on sway", whatever that means.

Systemd's tendency to silently restart crashing services may prevent us from getting to know about bugs, is this a thing we want?
Great point and one of the reasons I haven't pushed for a systemd service so far.  The other reason is that I don't really get the point of such a complex start system for a program as simple as Wired.  Why over-complicate wired &?  One reason is auto-restarting after crashing, but see thoughts above.

Awesome, and thanks for support.
there is a one thing in this dissociation that I want to point out.

Systemd's tendency to silently restart crashing services may prevent us from getting to know about bugs, is this a thing we want?

The hole reson why I wrote the unit file was because, wired was crashing on me, and bluemans notification don't auto close.
So in short I want the auto restart, as you can see in bottom two lines of the snippet. note; that if you remove Restart=always systemd will not restart the program.
I can't speak for anyone else but I don't 8~16h to spend on debugging a foreign code base. Which is why I am so thankful to the open source community and I try to add to as much as I can!
So yes! This is a dock-tape solution, but it took me < 2 hours to put together.
As for not being able to detected bugs, Systemd devs already thought about it. The solutions is log files which you can access via journalctl.
$ journalctl --user /usr/bin/wired

Again, thanks for an awesome software!

Awesome, and thanks for support.
there is a one thing in this dissociation that I want to point out.

Systemd's tendency to silently restart crashing services may prevent us from getting to know about bugs, is this a thing we want?

The hole reson why I wrote the unit file was because, wired was crashing on me, and bluemans notification don't auto close.
So in short I want the auto restart, as you can see in bottom two lines of the snippet. note; that if you remove Restart=always systemd will not restart the program.
I can't speak for anyone else but I don't 8~16h to spend on debugging a foreign code base. Which is why I am so thankful to the open source community and I try to add to as much as I can!
So yes! This is a dock-tape solution, but it took me < 2 hours to put together.
As for not being able to detected bugs, Systemd devs already thought about it. The solutions is log files which you can access via journalctl.
$ journalctl --user /usr/bin/wired

Again, thanks for an awesome software!

The hole reson why I wrote the unit file was because, wired was crashing on me, and bluemans notification don't auto close. So in short I want the auto restart, as you can see in bottom two lines of the snippet. note; that if you remove Restart=always systemd will not restart the program.
I can't speak for anyone else but I don't have 8~16h to spend on debugging a foreign code base. Which is why I am so thankful to the open source community and I try to add to as much as I can!

It looks like we were facing the same issue, this is a good thing, my wired instance has also been crashing.

So yes! This is a dock-tape solution, but it took me < 2 hours to put together.
I thought of using this solution as a basis for a broader and stabler solution we can push upstream.

As for not being able to detected bugs, Systemd devs already thought about it. The solutions is log files which you can access via journalctl.

I've been using journalctl and never thought of using it that way, sweet! Though I still think that users won't bother to report these log messages if they aren't aware of the bug.

In summary, I see two independent issues here.

Lack of a service that will recover wired in case of a crash.
The original issue @Luviz is experiencing which leads to his instance crashing (which I guess should be reported in a separate issue).

In an attempt to keep focusing on the systemd aspect, is there any way we can trigger wired to start when Xorg is starting?

The hole reson why I wrote the unit file was because, wired was crashing on me, and bluemans notification don't auto close. So in short I want the auto restart, as you can see in bottom two lines of the snippet. note; that if you remove Restart=always systemd will not restart the program.
I can't speak for anyone else but I don't have 8~16h to spend on debugging a foreign code base. Which is why I am so thankful to the open source community and I try to add to as much as I can!

It looks like we were facing the same issue, this is a good thing, my wired instance has also been crashing.

So yes! This is a dock-tape solution, but it took me < 2 hours to put together.
I thought of using this solution as a basis for a broader and stabler solution we can push upstream.

As for not being able to detected bugs, Systemd devs already thought about it. The solutions is log files which you can access via journalctl.

I've been using journalctl and never thought of using it that way, sweet! Though I still think that users won't bother to report these log messages if they aren't aware of the bug.

In summary, I see two independent issues here.

Lack of a service that will recover wired in case of a crash.
The original issue @Luviz is experiencing which leads to his instance crashing (which I guess should be reported in a separate issue).

In an attempt to keep focusing on the systemd aspect, is there any way we can trigger wired to start when Xorg is starting?

Crashing is a bad user experience.
We can bandaid the issue by having a service which restarts the program.
This might hide the issue from some people, and the issue may be fixed less quickly.

Obviously, as the maintainer of Wired I would much prefer to catch bugs ASAP, but I understand that the bandaid approach does have real benefits -- no software is perfect.  I'm not totally opposed to providing a service if we get to something workable here.

By the way @Luviz, from the screenshot you posted you might be experiencing #22 , which is fixed in master, and will be released soon.  @MatanHamilis if your crash is separate, if you could just post the output in a separate issue, ideally a debug build.

Crashing is a bad user experience.
We can bandaid the issue by having a service which restarts the program.
This might hide the issue from some people, and the issue may be fixed less quickly.

Obviously, as the maintainer of Wired I would much prefer to catch bugs ASAP, but I understand that the bandaid approach does have real benefits -- no software is perfect.  I'm not totally opposed to providing a service if we get to something workable here.

By the way @Luviz, from the screenshot you posted you might be experiencing #22 , which is fixed in master, and will be released soon.  @MatanHamilis if your crash is separate, if you could just post the output in a separate issue, ideally a debug build.

My issue is exactly the same, already tried  v0.9.5 too see the crashes are
fixed.
On Sat, Jan 1, 2022, 15:06 Michael Palmos @.***> wrote:

Crashing is a bad user experience.
We can bandaid the issue by having a service which restarts the
program.
This might hide the issue from some people, and the issue may be
fixed less quickly.

Obviously, as the maintainer of Wired I would much prefer to catch bugs
ASAP, but I understand that the bandaid approach does have real benefits --
no software is perfect. I'm not totally opposed to providing a service if
we get to something workable here.
By the way @Luviz https://github.com/Luviz, from the screenshot you
posted you might be experiencing #22
https://github.com/Toqozz/wired-notify/issues/22 , which is fixed in
master, and will be released soon. @MatanHamilis
https://github.com/MatanHamilis if your crash is separate, if you could
just post the output in a separate issue, ideally a debug build.
—
Reply to this email directly, view it on GitHub
https://github.com/Toqozz/wired-notify/issues/34#issuecomment-1003556164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSV3MLJ5MH3YGI7OY5ENLUT336TANCNFSM5I5YI2JQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

My issue is exactly the same, already tried  v0.9.5 too see the crashes are
fixed.
On Sat, Jan 1, 2022, 15:06 Michael Palmos @.***> wrote:

Crashing is a bad user experience.
We can bandaid the issue by having a service which restarts the
program.
This might hide the issue from some people, and the issue may be
fixed less quickly.

Obviously, as the maintainer of Wired I would much prefer to catch bugs
ASAP, but I understand that the bandaid approach does have real benefits --
no software is perfect. I'm not totally opposed to providing a service if
we get to something workable here.
By the way @Luviz https://github.com/Luviz, from the screenshot you
posted you might be experiencing #22
https://github.com/Toqozz/wired-notify/issues/22 , which is fixed in
master, and will be released soon. @MatanHamilis
https://github.com/MatanHamilis if your crash is separate, if you could
just post the output in a separate issue, ideally a debug build.
—
Reply to this email directly, view it on GitHub
https://github.com/Toqozz/wired-notify/issues/34#issuecomment-1003556164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSV3MLJ5MH3YGI7OY5ENLUT336TANCNFSM5I5YI2JQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

My issue is exactly the same, already tried  v0.9.5 too see the crashes are fixed.

0.9.5 doesn't exist yet.  Do you mean master?

My issue is exactly the same, already tried  v0.9.5 too see the crashes are fixed.

0.9.5 doesn't exist yet.  Do you mean master?

Cargo.toml on branch master is 0.9.5.
On Sat, Jan 1, 2022, 15:39 Michael Palmos @.***> wrote:

My issue is exactly the same, already tried v0.9.5 too see the crashes are
fixed.
0.9.5 doesn't exist yet. Do you mean master?
—
Reply to this email directly, view it on GitHub
https://github.com/Toqozz/wired-notify/issues/34#issuecomment-1003560834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSV3OVD57EZJPEBJKTE4DUT3725ANCNFSM5I5YI2JQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Cargo.toml on branch master is 0.9.5.
On Sat, Jan 1, 2022, 15:39 Michael Palmos @.***> wrote:

My issue is exactly the same, already tried v0.9.5 too see the crashes are
fixed.
0.9.5 doesn't exist yet. Do you mean master?
—
Reply to this email directly, view it on GitHub
https://github.com/Toqozz/wired-notify/issues/34#issuecomment-1003560834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSV3OVD57EZJPEBJKTE4DUT3725ANCNFSM5I5YI2JQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have written this unit file with inspiration of the one from dunst
[Unit]
Description=Wired Notification Daemon
PartOf=graphical-session.target

[Service]
Type=dbus
BusName=org.freedesktop.Notifications
ExecStart=/usr/bin/wired

[Install]
WantedBy=graphical-session.target

I placed it at /usr/lib/systemd/user/wired.service and activated it with systemd --enable --now --user wired.service
I have yet to test, if it starts correctly after a system reboot, as my previous attempt did not.
I think it would be nice to just have such a unit file in the repo, so package maintainers would have a unified source for systemd support.
In addition a small section in the README and/or the wiki about systemd support would be helpful for those building from source.

Thanks for the service!
I've added it to the root of the repository and added a small section on how to use it in the README for now.

Also thanks for adding!


Systemd checks report issue in Ubuntu image

The Ubuntu image systemd check returns an error, preventing KD appconfig packages from working.
root@kdss-mdz2r-0:/# systemctl status systemd-journald
System has not been booted with systemd as init system (PID 1)

For more info: https://github.com/bluek8s/kubedirector/issues/415

@joel-bluedata are you looking at this already? @Vellanci  and I were going to look at this also. Let us know.

According to my findings Systemd doesn't work in containers out of box. One way of fixing it is by adding cgroup mount and making it privileged. Another one way is by adding more tmpfs mounts (for /run, /run/lock) and allowing it to be unprivileged. For kubernetes it can implemented by using emptyDir and localPath mounts. Also Dockerfile should install systemd and couple of env vars. I managed to get it working with simple kubernetes pod. I will continue investigation on how to do it with KD.

Adding @swamibluedata for visibility

I noticed "systemdRequired" that implements the unprivileged way I mentioned before. Apart from mount points created by this feature, for Ubuntu Systemd /run/lock is also required to be mounted. Also current ubuntu image doesn't run systemd as PID 1 (entrypoint) process.

I managed to solve the issue with two changes:

On KD side generate /run/lock tmpfs volume mount (/run, /tmp is already generated at stateful set creation time).
On Ubuntu app side update image to run systemd as entrypoint process.


CI should be caching cargo dependencies

Problem
It seems that all cargo dependencies are being rebuilt on every CI run. These should be cached and rehydrated to significantly bring down the CI run times.
Proposed solution
In talking with @kobyhallx, he suggested that maybe this is due to not using "clean sources" within Nix. I believe he has experience with this and will dive in.
Alternatives considered
No response
Additional context
No response
Submission Checklist

[X] Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.

Spent a few hours on this but src filtering does not seem to be an issue. In buildDepsOnly stage, the actual src is replaced with a dummy one to avoid source changes triggering re-builds.

This dependency caching was working on my branch, but seems to still be building deps on master. I think this needs further investigation.


How to connect a bot?

Hello, I just want to connect the bot to a specific server. I don’t need to send packet or take any action. Just connect the bot to the server without keep-alive.

have an example?


Add search and gateway/sensor related filtering in argo UI

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
Need to find a particular argo job faster in web console.
What you expected to happen:
Able to filter by Gateway/sensor first, do a nested run by prefix of job. A window selection using the calendar(line grafana) would be super awesome.
Environment:

Argo version:

0.9.3

Kubernetes version :

1.13.7

Would love this new feature to be added! From the ops perspective, I would like to know how a particular job has been doing in the past. It's difficult to do that in the UI right, since jobs are sorted in reverse chronological order with very limited filter options.


Fix page refreshing when enter key is pressed on form input #6

Fixes #6

Hi Lucian,
Thanks for your help. I really do appreciate it! Could you explain the PR? How would onsubmit affect detecting when someone is typing into an input?

I think the issue happened when the user presses the Enter key, which triggers the form to be submitted.
The default browser behavior is to send all the form data to a url specified in the action attribute of the form (which in this case there is none). If there is no action mentioned, it will do a postback which causes the browser to refresh.

That's very possible, but the individual who reported this bug said they weren't pressing enter; it was just triggering the phrase and refreshing with a ? added to the url. I'll ask them to do more testing once I have time to merge this in.

I only managed to reproduce it by the enter key. If you find other steps to reproduce I will gladly submit another PR

Yeah, I could not reproduce this myself, but at the same time if it's occurring for anyone that defeats the purpose of the lib.
Thank you again for your PR. It's definitely appreciated.


run-resinhup.sh: typos

There are some typos in the commands and help text of the resinhup helper script

Hi there, just a heads up – we’ll be moving support for free users to the community forums
this Monday, March 20. The main difference is that your questions and our developers' answers will be public instead of private, building a knowledge base for everyone.
You can take this question to the forums now, I’ll meet you there to answer it. If not, I’ll help you out here, but know that future questions should be directed to the forums.
P.S. if you’d like to continue accessing private support after the change, we can upgrade you to a paid plan and you won’t see any difference.

There are some typos in the commands and help text of the resinhup helper script

—

You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or mute the thread.

The related pull request has been merged.


Adding podman prune to ensure we don't fill local disk again

We were cleaning out the docker image cache but not the local podman cache. This change adds that to ensure we don't fill up the local filesystem again.

Results for SNAFU CI Test

Test
Result
Runtime

fio_wrapper
PASS
00:15:23

fs_drift_wrapper
PASS
00:09:30

hammerdb
PASS
00:11:03

iperf
PASS
00:06:43

pgbench-wrapper
PASS
00:07:01

smallfile_wrapper
PASS
00:10:26

sysbench
PASS
00:04:40

uperf-wrapper
PASS
00:23:51

ycsb-wrapper
PASS
00:19:40


Merge main into release/6.0

Merge the following PRs into release/6.0:

https://github.com/apple/sourcekit-lsp/pull/1220
https://github.com/apple/sourcekit-lsp/pull/1206
https://github.com/apple/sourcekit-lsp/pull/1214
https://github.com/apple/sourcekit-lsp/pull/1225
https://github.com/apple/sourcekit-lsp/pull/1205
https://github.com/apple/sourcekit-lsp/pull/1224
https://github.com/apple/sourcekit-lsp/pull/1229
https://github.com/apple/sourcekit-lsp/pull/1196
https://github.com/apple/sourcekit-lsp/pull/1231
https://github.com/apple/sourcekit-lsp/pull/1230

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows


aws-lambda: Add attributes to identify cold start and lambda runtime container

Is your feature request related to a problem? Please describe

Currently, There are no attributes to indicate given lambda invocation was cold-started, or not.
(Semantic Attributes exposed this as FAAS_COLDSTART btw)
Also, Sometimes i need to know which "lambda container" handled given invocation.
For example, If there was problematic lambda runtime which has broken pipes (or sockets, etc.) and subsequent calls handled by problematic lambda runtime were failed, It's hard to investigate issues.
Describe the solution you'd like to see

let containerId: string | null = null;
if (!containerId) {
  containerId = generateContainerId();
  setAttribute(FAAS_COLDSTART, true);
  setAttribute(FAAS_INSTANCE, containerId);
} else {
  setAttribute(FAAS_COLDSTART, false);
  setAttribute(FAAS_INSTANCE, containerId);
}

Describe alternatives you've considered

As far as i know, There's no way to get container id. So we need to generate random value and use this as container id.
I'm not sure that log stream can be used as container id. If log stream can be used as container id, we don't need to generate container id.
Additional context

I want to hear feedback. So ping component owners: @willarmiros @NathanielRN

There is no faas.coldstart attribute defined in the spec, but I think it would be useful to many people. I think you could propose adding it to the spec first, and if accepted I would be in favor of recording it in the Lambda resource detector as you proposed.
For FAAS_INSTANCE, the spec already recommends using the log stream name, so that's what I'd recommend to use here as well.

Hey all, I'd be interested in this also for grouping traces by coldstart or not, and understanding % of invocations that were cold booted.
It also seems sensible to have this as an index_attribute in the awsxray exporter, does that make sense?
Cheers

And i have a question: Is there cleaner way to implement cold-start detection in detectors? Detectors usually called once on initialization step and never be called again.

The resource is not the correct place for a cold start detector because it is immutable. You only want the cold start on the first invocation, not every invocation.

For FAAS_INSTANCE, the spec already recommends using the log stream name, so that's what I'd recommend to use here as well.

Is single log stream dedicated to single container? Just curious.

Yes you get a new log stream for each instance. I could be wrong but I thought the container instance id was actually a part of the log stream name

I previously computed this manually for inclusion in my traces. I'm trying to migrate to the @opentelemetry libraries, and having this would be great.


Network logging support

This change is

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @madadam

Merged back into #37. Closing.


updated readme for provisioning

Clarified a couple of issues users will run the provisioning scripts
with allot less issues.

Hi @lbrader, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (lbrader). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Remove #![feature(weak_into_raw)] and #![feature(array_value_iter)].

I do not know what these are good for, but they prevent use of a
stable toolchain and removing them did not seem to break anything.

It seems those lines are not upstream [887ef3bee6fd4e14a6ce13fa95415eae0d654716], [d7ff4477723c37a799c562f7f52873a4b01ea844], [86fb34b4d7bd30563164590acd2c9804216540ad].


mobile: Upgrade to the latest JDK 11 for ktfmt

Occassionally I've seen an error with NoClassDefFoundError when running the older JDK 11. After updating to the latest JDK 11, I no longer see the error.
Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/assign @abeyad @RyanTheOptimist


Replace TSDuck with LibISDB

LibISDB is more suitable than TSDuck in the following points:

LibISDB has all features mirakc-arib requires

TSDuck does not have some functions like the logo downloader LibISDB has

Building TSDuck takes a longer time than LibISDB

We cannot remove TSDuck completely.  Because we use it in unit tests in order to generate TS packets.


Cow: Watch digitalxscope.com

Cow requests the watch of the watch_keyword digitalxscope\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by tripleee in Charcoal HQ


[BUG] Can't access Unity Catalogue data on Databricks AWS cluster

Describe the bug
I have set up RAPIDS on Databricks AWS cluster (runtime 12.2.x-gpu-ml-scala2.12) as described in https://docs.nvidia.com/spark-rapids/user-guide/23.12.2/getting-started/databricks.html
I then trying to read delta lake on the Unity Catalogue (we have it enabled as it's Databricks main data catalogue offering)
data = spark.read.format("delta").table("table name").toPandad()
and get access denied error:
: org.apache.spark.SparkException: Exception thrown in awaitResult: Job aborted due to stage failure: Task 0 in stage 5.0 failed 4 times, most recent failure: Lost task 0.3 in stage 5.0 (TID 4264) (<IP_ADDRESS> executor 2): java.nio.file.AccessDeniedException: s3://categories/8i/part-00073-d55722a3-743e-4b23-93eb-d264d9f0b897.c000.snappy.parquet: getFileStatus on s3://categories/8i/part-00073-d55722a3-743e-4b23-93eb-d264d9f0b897.c000.snappy.parquet: com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden
Steps/Code to reproduce bug
[Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.]
Set RAPIDS on 12.2.x-gpu-ml-scala2.12 Databricks AWS cluster runtime using
spark.rapids.sql.concurrentGpuTasks 2
spark.executorEnv.PYTHONPATH /databricks/jars/rapids-4-spark_2.12-23.12.2.jar:/databricks/spark/python
spark.rapids.sql.python.gpu.enabled true
spark.rapids.memory.pinnedPool.size 2G
spark.rapids.sql.format.parquet.reader.type PERFILE
spark.task.resource.gpu.amount 0.1
spark.plugins com.nvidia.spark.SQLPlugin
spark.python.daemon.module rapids.daemon_databricks
pip install cudf-cu11==23.12.1
read any delta lake table on unity catalogue
Expected behavior
As Unity Catalogue is Databricks main data catalogue offering and enabled by default, I would expect RAPIDS support unity data access. Without RAPIDS config cluster can access Unity Catalogue normally.
Additional context
Add any other context about the problem here.

while this error looks different, it might be related to https://github.com/NVIDIA/spark-rapids/issues/10318

@captify-sivakhno Could you please provide the details of the table? You can retrieve the information by executing either spark.sql(f'DESCRIBE FORMATTED unity_catalog_name.schema_name.table_name').show(truncate=False) in Spark or DESCRIBE FORMATTED unity_catalog_name.schema_name.table_name; in SQL Editor. Can you also share the complete stack trace of the error?

@captify-sivakhno What is the logic of this use case?
I saw you firstly read a Spark dataframe and then convert it to a pandas dataframe?
Does it mean you plan to do some transformation on pandas dataframe?


Removing a device from the network.

I have a failed switch I need to remove from the network, as well as several I am decommissioning.  I have unpaired the devices, and all now show up as a dead status when listing nodes.
I read through the docs but could not find any mention of removing a device from the network, just exclusion mode which I already ran using the Aeon stick gen5 in independent mode.
Is there an api call to remove a node from the network?

Yes! The docs are a bit outdated, but you're looking for this:
https://github.com/AlCalzone/node-zwave-js/blob/0b1338c31305b14199e03fa20a151458dd5dc97a/src/lib/controller/Controller.ts#L1364

Thanks, this is what I need.


particl-core: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Update version. Disabled tests and benchmartk to speed up Hydra build.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

I agree that running benchmarks during Hydra build doesn't make much sense. But I suggest to keep the tests enabled unless they take so much time that Hydra builds time out. Is that the case here?

I agree that running benchmarks during Hydra build doesn't make much sense. But I suggest to keep the tests enabled unless they take so much time that Hydra builds time out. Is that the case here?

Yes, it takes time. I trying to reduce build time as much as possible, because in parallel PR for particl-qt all builds timed out (even on x86_64): #46760
I have no clue how to speed-up compilation or prevent Hydra from timeout...
Kindly appreciate your advice)

ofborg timeouts (like you see in #46760)  and hydra timeouts are two different things. Most builds that time out on ofborg will succeed on hydra, so usually if a build times out on ofborg we merge anyway and see what happens on hydra.  I do not see any recent hydra timeouts for particl-core, so there's no urgent need to speed it up.
But what you can try is enableParallelBuilding = true;. It doesn't work with all packages, but if it does, it speeds up the build by using all available CPU cores (currently this is only built on one core).

But what you can try is enableParallelBuilding = true;. It doesn't work with all packages, but if it does, it speeds up the build by using all available CPU cores (currently this is only built on one core).
Didn't know that, thanks for clarification @xeji. Added this tweak and enable tests.

@GrahamcOfBorg build particl-core

Success on aarch64-linux (full log)
Attempted: particl-core
Partial log (click to expand)
shrinking /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/bin/particl-tx
shrinking /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/bin/particl-cli
shrinking /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/bin/particld
shrinking /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/lib/libparticlconsensus.so.0.0.0
gzipping man pages under /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/lib  /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>
checking for references to /build in /nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>...
/nix/store/zlp7d7mvwdsz866wd134cyj2q36b87ng-particl-core-<IP_ADDRESS>

Success on x86_64-linux (full log)
Attempted: particl-core
Partial log (click to expand)
shrinking /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/bin/test_particl
shrinking /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/bin/particld
shrinking /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/bin/particl-tx
shrinking /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/lib/libparticlconsensus.so.0.0.0
gzipping man pages under /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/lib  /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>
checking for references to /build in /nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>...
/nix/store/i847275a950zp3i2l5x3vbmcmy4vf9i9-particl-core-<IP_ADDRESS>

Success on x86_64-darwin (full log)
Attempted: particl-core
Partial log (click to expand)
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/mkdir -p '/nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>/lib/pkgconfig'
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -m 644 libparticlconsensus.pc '/nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>/lib/pkgconfig'
make[2]: Leaving directory '/private/tmp/nix-build-particl-core-<IP_ADDRESS>.drv-0/particl-core-<IP_ADDRESS>'
make[1]: Leaving directory '/private/tmp/nix-build-particl-core-<IP_ADDRESS>.drv-0/particl-core-<IP_ADDRESS>'
post-installation fixup
gzipping man pages under /nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>/share/man/
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>/lib  /nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>
/nix/store/95a69dxds7nzkfb8kyivm20a6w0xxdpx-particl-core-<IP_ADDRESS>


Integration Test - Release - 2021/11/01 15:53:20

Auto create for integration test. IssueCommandFlow

#pri1

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

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

#reassign PRMergerTest2

#reassign NonAllowedUser

#please-close

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

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

#unassign NonAllowedUser


import niprov fails in script but works in ipython

weird:
Traceback (most recent call last):
File "pylabs/tadpole_qt1_comparison.py", line 3, in
from pylabs.utils.paths import getlocaldataroot
File "/home/toddr/Software/pylabs/pylabs/init.py", line 5, in
from . import utils
File "/home/toddr/Software/pylabs/pylabs/utils/init.py", line 7, in
from ._options import PylabsOptions  # noqa
File "/home/toddr/Software/pylabs/pylabs/utils/_options.py", line 1, in
import niprov
File "/home/toddr/Software/niprov/niprov/init.py", line 11, in
from niprov.webapp import serve
File "/home/toddr/Software/niprov/niprov/webapp.py", line 1, in
from pyramid.config import Configurator
File "/home/toddr/Software/anaconda2/lib/python2.7/site-packages/pyramid/config/init.py", line 10, in
from webob.exc import WSGIHTTPException as WebobWSGIHTTPException
File "/home/toddr/Software/anaconda2/lib/python2.7/site-packages/webob/init.py", line 2, in
from webob.request import *
File "/home/toddr/Software/anaconda2/lib/python2.7/site-packages/webob/request.py", line 1500, in
class LimitedLengthFile(io.RawIOBase):
AttributeError: 'module' object has no attribute 'RawIOBase'

Any changes in your environment? The error suggests a version conflict.

If that doesn't help we can rename the pylabs.io package

None that I can tell. Just nibabel. As far as I know. How would I tell which is the offending package? J
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:36 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
Any changes in your environment? The error suggests a version conflict.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210706031

Well then. I was simply following where you put your script. Why did you put it there instead of in qt1? Just curious… j
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:38 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
Try cd ..
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210706900

Also, try not to use relative imports (from . import utils)

You can still put it in the qt1 location but run the code with your working directory elsewhere.

import pylabs.utils as utils should fix it too.

How about just moving the script into the qt1 dir? J
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:39 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
If that doesn't help we can rename the pylabs.io package
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210707446

Right, usually I run everything from ~/Software/pylabs. As in
Python pylabs/qt1/pipeline.py
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:41 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
You can still put it in the qt1 location but run the code with your working directory elsewhere.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210708882

Ok will try that 1st. J
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:41 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
import pylabs.utils as utils should fix it too.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210709161

I don’t usually. :-) j
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:40 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
Also, try not to use relative imports (from . import utils)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210708267

Nope not working. Seems the init in pylabs is in conflict no? J
From: "Jasper J.F. van den Bosch"
Reply-To: ilogue/niprov
Date: Friday, April 15, 2016 at 6:41 PM
To: ilogue/niprov
Cc: Jeff Stevenson
Subject: Re: [ilogue/niprov] import niprov fails in script but works in ipython (#133)
import pylabs.utils as utils should fix it too.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/ilogue/niprov/issues/133#issuecomment-210709161

I'm closing this as it's a pylabs issue


kobrooms bugfix - 1d4 is now auto-rolled for magic rolls

Updated the kids on brooms character sheet to auto-roll a 1d4 when the character is doing a magic roll

Submission Checklist
Required

[X ] The pull request title clearly contains the name of the sheet I am editing.
[X ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X ] The pull request makes changes to files in only one sub-folder.
[X ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[x] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
As a player, it was annoying to constantly type in '1d4' into the bonus attribute when rolling for any magic, so I have made a change to automatically roll when magic is selected

Character Sheet Info Roll20 Internal Use only.

Hey there @mm-H-mm, this is an official sheet, so you must be either part of the dev team of have the publisher permission to modify it. @nmbradley I believe you are the author of this official sheet. How do you feel about this PR?

@nmbradley still weighting for you to weight in ;P

Hey folks,
Sorry for the delay. This looks fine, I'll merge it!


cli+log: fix the initialization of the default stderr logging threshold

PR: https://github.com/cockroachdb/cockroach/pull/10962

Ping @sploiselle, for your troubleshooting project.


Make separete 2D viewport for long section

Description 📝
To display the long section of roads in real magnitude, just like InfraWorks or iTwin.
Suggested solution 💡
No response
Alternative ⛕
No response
Additional context ☝
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Done! See here.


[UNR-1303] Rename namespace improbable to SpatialGDK

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.

Description
Rename all instances of namespace improbable in GDK code to SpatialGDK. This is to prevent namespace collisions with classes in the SpatialOS C++ SDK.
Release note
Bugfix: rename namespace improbable to SpatialGDK to prevent namespace conflicts with the C++ SDK.
Tests
Verified manually, and locally, with a BigGym test.
Verified that Scavengers builds against this change and DemoGym runs with GDK enabled in PIE.
[WIP] Will also build and test a linux cloud build and update the description.
No QA verification needed apart from validation of all projects compiling and running regularly.
Documentation
No documentation, as this change should be entirely internal to the GDK.
Primary reviewers
@improbable-valentyn @m-samiec

Can you update the snippet at the bottom of the file here: Game\Plugins\UnrealGDK\SpatialGDK\Documentation\content\non-unreal-server-worker-types.md

I would like to fully review this once Valentyn's changes go in.

Merged Valentyn's PR and addressed feedback.
@Vatyx ready for your review


Load balancer and sign-in issues (a Pow issue? HAProxy issue?)

I'm learning HAProxy to route to 2 backend phoenix servers, round-robin on 4000 and 4002, and I get random redirect to sign in page, after signing in.
In fact, it's the same issue described here 3 years ago: "For some reason I am having some trouble with my application after I login and it sets the session, sometimes I have to refresh to be sent to the correct page, not sure why yet and I believe it's something in the HAProxy configuration."
I'm guessing it's cookie-related and I'm wondering whether the answer is on the front end (HAProxy config) or on the back end (clustering so Pow in the backend servers works as one).
Any thoughts or experiences in this area?

Are you using EtsCache as the cache store (this is default, but shouldn’t be used in production)? If so, switch to Mnesia or Redis. If you’ll use Mnesia, remember to connect the modes so you have a distributed setup.
Coherence only worked for single instance, because it only used ETS.

Thanks, I am using defaults so that's probably the issue.
I'll go with Mnesia to start.
I've never connected elixir nodes, but I guess that's the whole point of beam, so time to learn :-)

Cool 😄 I haven't set multi-node mnesia up myself, so I would love to hear your experience with it, and help out if possible. There may be a some details to note that can improve the docs.
From my understanding, you would just need to update the :nodes config in the above readme example with the nodes you got running (e.g<EMAIL_ADDRESS>'b@<IP_ADDRESS>']), and start the nodes with the --name argument.

Banging my head. Various attempts and errors.
Pow is having trouble on mnesia table_init/1:
    topologies = [
      webservers: [
        strategy: Cluster.Strategy.Epmd,
        config: [hosts: [:"a@David-HP-i7", :"b@David-HP-i7"]],
      ]
    ]
#....
    children = [
      Gjwapp.Repo,
      {Cluster.Supervisor, [topologies, [name: Gjwapp.ClusterSupervisor]]},
      supervisor(GjwappWeb.Endpoint, []),
      worker(Pow.Store.Backend.MnesiaCache, [[nodes: [:"a@David-HP-i7",:"b@David-HP-i7"]]])
    ]

Latest error,
iex --sname a -S mix phx.server gives:
** (Mix) Could not start application gjwapp: Gjwapp.Application.start(:normal, []) returned an error: shutdown: failed to start child: Pow.Store.Backend.MnesiaCache
    ** (EXIT) an exception was raised:
        ** (CaseClauseError) no case clause matching: {:aborted, {:not_active, Pow.Store.Backend.MnesiaCache, :"b@David-HP-i7"}}
            (pow) lib/pow/store/backend/mnesia_cache.ex:179: Pow.Store.Backend.MnesiaCache.table_init/1
            (pow) lib/pow/store/backend/mnesia_cache.ex:66: Pow.Store.Backend.MnesiaCache.init/1
            (stdlib) gen_server.erl:374: :gen_server.init_it/2
            (stdlib) gen_server.erl:342: :gen_server.init_it/6
            (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

Before that I tried without explicit naming:
    topologies = [
      webservers: [
        strategy: Cluster.Strategy.Gossip
      ]
    ]

but got other errors, with :noname@:nohost
Thanks for any tips.
DA

In your readme, is node() in
 worker(Pow.Store.Backend.MnesiaCache, [[nodes: [node()]]])
defined? Or do I have to implement it or provide the list?

Also, for now I just set
config :mnesia, dir: './_build/prod/rel/beta1/tmp/mnesia

becuase it has write permissions
(I'm building dev but just use that path hard coded for now.)

node() is a kernel method and just returns the current node.
You can rewrite to use the newer syntax:
    children = [
      Gjwapp.Repo,
      {Cluster.Supervisor, [topologies, [name: Gjwapp.ClusterSupervisor]]},
      supervisor(GjwappWeb.Endpoint, []),
      {Pow.Store.Backend.MnesiaCache, nodes: [:"a@David-HP-i7",:"b@David-HP-i7"]}
    ]

The error you get is because one of the nodes is not running. It looks like you have to first connect the two nodes before starting :mnesia. I'm working through it, and will let you know when I get it running. Unfortunately, documentation is lacking for mnesia, and to set up the distributed cluster, so I'll just have to go through it step by step to get it to run 😄

Ok, this is how I got it working. I read through this article and this one about libcluster to understand how the cluster would work.
libcluster may make it easier to work with the cluster, but I just went ahead and manually connected the nodes. First let's start out with the readme example:
defmodule PowDemo.Application do
  @moduledoc false

  use Application

  def start(_type, _args) do
    children = [
      PowDemo.Repo,
      PowDemoWeb.Endpoint,
      {Pow.Store.Backend.MnesiaCache, nodes: [node()]}
    ]

    opts = [strategy: :one_for_one, name: PowDemo.Supervisor]
    Supervisor.start_link(children, opts)
  end

  # ...
end

The above just let each node runs its own mnesia server, and is the default set up.
We'll now add an initialization method to copy the data and share between the nodes and use Node.list() to pull all the nodes connected:
defmodule PowDemo.Application do
  @moduledoc false

  use Application

  def start(_type, _args) do
    init_mnesia_cluster(node())

    children = [
      PowDemo.Repo,
      PowDemoWeb.Endpoint,
      {Pow.Store.Backend.MnesiaCache, nodes: Node.list()}
    ]

    opts = [strategy: :one_for_one, name: PowDemo.Supervisor]
    Supervisor.start_link(children, opts)
  end

  # ...

  defp init_mnesia_cluster(node) do
    connect_nodes()

    :mnesia.start()
    :mnesia.change_config(:extra_db_nodes, Node.list())
    :mnesia.change_table_copy_type(:schema, node, :disc_copies)
    :mnesia.add_table_copy(Pow.Store.Backend.MnesiaCache, node, :disc_copies)
  end

  defp connect_nodes(), do: Enum.each(nodes(), &Node.connect/1)

  defp nodes() do
    {:ok, hostname} = :inet.gethostname()

    for sname <- ["a", "b"], do: :"#{sname}@#{hostname}"
  end
end

As you can see, I've updated the :nodes to use the list of nodes. This seems to be working fine, but I've only tested this in my dev environment.
It's also worth noting that the first article does this initialization in the release task. That may make more sense.

That worked like a charm, Thank you! HAProxy is now honoring the cookie and requests alternate between backend a and b.
I'm going to do some reading on erlang clustering and nail down my requirements. I don't need auto-scaling.  The first thing that occurred to me was to keep a node list in postgres. I would just have an admin panel to do CRUD on snames and hosts. But that's probably a hack and I'll have to read what normal practice is.

Great! Postgres could work fine.
I think I would just use an env var (update it on all instances each time a new node is spinning up). Here's a post with self discovery on a single machine using the file system that may help thinking about alternatives: https://www.spectory.com/blog/Elixir Self Discovering Cluster
However, there was an interesting tidbit with the previous blog post I posted:

The last issue with this is... it’s manual. Yep, in an era where everything needs to be automated, our system depends on manually connecting both servers and running this function. As we don’t really like things that require human interaction to work, we needed to automate this workflow.
For this, we needed two things: the current server IP and at least one IP from the cluster.

That sounds like you only have to connect to one other host for it to be connected to the whole cluster! If that's how it works, then that makes it super easy to spin up new nodes and restarting old ones :smile:


GetHead or GetDiff for DirtyCheck

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
You can setHead for a store with the DirtyCheck plugin. You can not retrieve the stored head (or I have not found the way), only the status for the dirty check.
The getHead() function in dirtyCheckPlugin.ts is protected, and thus not available.
Expected behavior
It would be nice to be able to get the data stored in the head.
It could also be nice to be able to have the diff directly from Akita.
What is the motivation / use case for changing the behavior?
It would be nice to be able to get the data in the head, to compute a diff with the current state for instance. If there is a better way to achieve this (DirtyCheck + get the diff between the actual state and the head state), please let me know!
I would also be interested if there is a specific reason not to allow read access to the stored head.
Thanks, and happy holidays for those who are lucky to have some!

You're welcome to submit a PR.


Adding instructions for Travis CI integration

Would you be open to adding a section to the docs about Travis CI integration? Right now we talk about Circle CI. https://docusaurus.io/docs/en/publishing.html#automating-deployments-using-continuous-integration
Asking because we will be setting up integration with Travis anyway in the Draft.js repo, thought the info could be good to share. See https://github.com/facebook/draft-js/pull/1607

Seems like it'd be better to encourage more flexible hosting services such as Netlify. You could use Docusauraus with Netlify without requiring an extra CI system like CircleCI ro Travis.

#m whynotboth
In the end, we should probably be fairly agnostic in the hosting service. Having docs for CircleCI, Travis, Netlify all seem quite reasonable. We just chose CircleCI because that was a familiar platform that current docs used for CI and it was easy to get started with that.

I will claim this issue for travisCI documentation


You have bugs when planning

 role = Role(name="TITAN_TEST_ROLE")

    warehouse = Warehouse(
        name="TITAN_TEST_WAREHOUSE",
        warehouse_size="xsmall",
        auto_suspend=60,
    )

    grants = [
        Grant(priv="usage", to=role, on=warehouse),
        RoleGrant(role=role, to_role="SYSADMIN")
    ]

    logger.info("Adding infrastructure to the blueprint")
    bp.add(
        role,
        warehouse,
        *grants,
    )

    plan = bp.plan(connection)
    print(plan)

    # Ask for confirmation before applying the plan
    if input("Do you want to apply the plan? (y/n): ").lower() == "y":
        bp.apply(connection, plan)

This will always output that we need to apply:
[ResourceChange(action=<Action.ADD: 'add'>, urn=URN(urn::<REDACTED>:grant/TITAN_TEST_ROLE?priv=usage&on=warehouse/TITAN_TEST_WAREHOUSE), before={}, after={'priv': 'usage', 'on': 'TITAN_TEST_WAREHOUSE', 'on_type': 'WAREHOUSE', 'to': Resource:TITAN_TEST_ROLE, 'grant_option': False, 'owner': 'SYSADMIN', '_privs': ['usage']}, delta={'priv': 'usage', 'on': 'TITAN_TEST_WAREHOUSE', 'on_type': 'WAREHOUSE', 'to': Resource:TITAN_TEST_ROLE, 'grant_option': False, 'owner': 'SYSADMIN', '_privs': ['usage']})]
In other words, even though SHOW GRANTS TO ROLE TITAN_TEST_ROLE    returns 1 record, as it should, titan[core] just ignores this. Here, the issue is more annoying that detrimental but it can cause confusion.

Same bug found for grants on other objects such as databases. The after and deltas are the same, before is empty, but the show grants return results.

I have confirmed the bug locally, will fix in the next release.

Fixed in https://github.com/Titan-Systems/titan/releases/tag/v0.5.1


feat: Add support for building javet native libraries for linux-arm64

Thank you for putting this library together, it works really well, but I was trying to run it inside an arm64 machine and it was not finding the binaries because they were not generated. This PR adds support for generating all the binaries for arm64

Thank you for the great work. It looks good to me.
Quick question: have you tried that?

Node.js arm64 needs few patches, but I don't see the patching process.
I wonder if the unit test can pass.

Thank you for the great work. It looks good to me.
Quick question: have you tried that?

Node.js arm64 needs few patches, but I don't see the patching process.
I wonder if the unit test can pass.

I have and worked well I did not have to make any additional changes to the patches you already have, just update the CMakefile to use the right libraries, what unit test are you referring to?

what unit test are you referring to?

Basically, the docker image is x86_64 based though arm64 binaries can be cross-compiled. However, the unit test (gradle test) is not able to verify the arm64 binaries. I wonder if you have tested it on a physical arm64 box.

Got it, yes I ran a container on a silicon mac and the test ran fine, if you want I can try to create an action to run the test on arm64 with https://github.com/uraimo/run-on-arch-action, it’s a bit slow,  but works well

Hi @bakjos , I've confirmed in #286 that V8 v12 no longer works with this hack. This is for your info only. I've officially supported Linux arm64 since v3.0.0 via another way of building the binaries. So, there's no other impacts. Please let me know if you have any questions.


RecognizesAccessKey for Ripple

It seems like this was lost by some other changes...

new RecognizesAccessKey dependency property for Ripple
default to true

Closes #199 Controls don't support accessor keys

:disappointed:

@ButchersBoy by 70bdc2539b98dc78075c7d9536268034551c573f

Thanks.
Agasin :wink:

...oh I remember that...got into a nasty merge mess...


fix: Centered the para

Title and Issue number

Title : Centered the para
Issue No. : #1149
Code Stack :
Close #1149

Description

The para was unnecessarily left margined. I removed its left margin property.
Video/Screenshots (mandatory)

Before changes:

After the change:

Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have gone through the  contributing.md file before contributing

Additional context:

##Are you contributing under any Open-source programme?

[x] I am contributing under GSSOC'24
[ ] I am contributing under VSOC'24

@itsekta @apu52 please merge this pr


open files limit on gorouter

As I see in code, router should be able to open 100K connections. But it can open only 4K.
As root:
# ulimit -Hn
4096

As vcap:
$ ulimit -Hn
4096

My environment: CF v192, stemcell 2719.3.

If you want to check the actual, enforced, active limit of a process, cat /proc/:pid/limits and look at the output.
The script that launches the router explicitly sets the limit to 100K: https://github.com/cloudfoundry/cf-release/blob/v198/jobs/gorouter/templates/gorouter_ctl.erb#L60
When I check the limits on a machine, it reflects that configuration:
root@735486a0-f0d1-45f8-b78c-f2bb1eca1fb2:/var/vcap/jobs/gorouter# monit status
The Monit daemon 5.2.4 uptime: 23h 32m

Process 'gorouter'
  status                            running
  monitoring status                 monitored
  pid                               119
  parent pid                        1
  uptime                            19h 57m
  children                          10
  memory kilobytes                  15756
  memory kilobytes total            21452
  memory percent                    0.2%
  memory percent total              0.3%
  cpu percent                       0.0%
  cpu percent total                 0.0%
  data collected                    Wed Feb 11 12:19:20 2015

Process 'metron_agent'
  status                            running
  monitoring status                 monitored
  pid                               166
  parent pid                        1
  uptime                            19h 57m
  children                          2
  memory kilobytes                  12764
  memory kilobytes total            12764
  memory percent                    0.2%
  memory percent total              0.2%
  cpu percent                       0.0%
  cpu percent total                 0.0%
  data collected                    Wed Feb 11 12:19:20 2015

System 'system_735486a0-f0d1-45f8-b78c-f2bb1eca1fb2'
  status                            running
  monitoring status                 monitored
  load average                      [0.47] [0.37] [0.30]
  cpu                               1.5%us 1.0%sy 0.1%wa
  memory usage                      2811712 kB [46.0%]
  swap usage                        179272 kB [8.5%]
  data collected                    Wed Feb 11 12:19:20 2015

root@735486a0-f0d1-45f8-b78c-f2bb1eca1fb2:/var/vcap/jobs/gorouter# cat /proc/119/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              8388608              bytes
Max core file size        0                    0                    bytes
Max resident set          unlimited            unlimited            bytes
Max processes             1024                 1024                 processes
Max open files            100000               100000               files
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       1024                 1024                 signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us
root@735486a0-f0d1-45f8-b78c-f2bb1eca1fb2:/var/vcap/jobs/gorouter#

Looks like it's working as intended.

I have checked the process limits and they are ok. But I still can't open more than 2K connections to my application: gorouter reports 4K opened connections (2K in and 2K out) and refuses to open more.
I will do some addition investigation and write update here.

@lexsys27 It looks like you figured out the problem here, we are going to close this issue.
Cheers,
@crhino & @luan, CF Runtime Team


Tumbleweed container has no diff cmd

The new tumbleweed images don't have the diff command by default.
This quick hack makes sures to install diffutils if necessary
when the diff command is used.
Partial-Fix: https://github.com/SUSE/avant-garde/issues/1660

I think the intent was to support tumbleweed to catch if a change in tw would trigger a breakage here. One could argue that this isn't the place to test those, and whether we could extend zypper test coverage to solve our issues.
Yes that's definitely confusing,  validate_ could probably be a better wording. Yet, I wanted this PR to be the strictly smallest bit of change to get things done.
There is only one way to be expert in it: Just get involved. You're doing it, so you're in the right path :) To what I quickly have seen (I am not expert either) skuba-update has plenty of areas to improve. Those can be done in a follow-up commit, however.

Rebased to avoid lint issues due to version differences.

I didn't have tech-debt cards, when I saw a problem, I just go fix it.

Some alternate solutions to consider:
Instead of installing diff, this could be pretty easily done by simply reading the lines from /tmp/kubectl_commands in to an associative array, and then deleting each matching entry in the array when it's read from the list.  Add an entry if no match.  If the array has elements at the end, there's a difference.  Examples of working with associative arrays in Bash are easy to find. :)
Or, since everyone hates actually using code in bash scripts :rofl:, this could be done with grep.  Use file1 as a list of patterns to grep from file2, and then vice-versa.  The return code of grep -v is 0 if non-matching lines were found, or 1 if all lines matched patterns (aka, no output).  So, x for whole line match, F for fixed strings (don't treat commands as regexes), v for removing matching lines, and f to specify the file with a list of patterns:
grep -xFvf /commands.txt /tmp/kubectl-commands && exit 1
grep -xFvf /tmp/kubectl-commands /commands.txt && exit 1

Feel free to ignore both of those options.  In that case, I'll still note that I personally prefer type -p diff since that gives the same true/false error code, but prints nothing if diff is a file or not found (only prints if it's an alias or whatever). ;)  This is fine, too, but avoiding the time associated with installing a tool for just one use might be of value.

@dannysauer Feel free to propose a patch! I don't mind, quite the opposite... :)

unfortunately it still does not work:

+ install_package base diffutils

+ zypper -n in -r base diffutils

Loading repository data...

Reading installed packages...

'diffutils' not found in package names. Trying capabilities.

No provider of 'diffutils' found.```

FYI: I don't really care enough about that commit to the point I would be babysitting it :p

@evrardjo well, this fixe a ci fail in one of my PRs, so I am trying to get it in.
It looks like things are finally passing.
I am not sure what the policy is but we may have to squash the commits for this to be merged.

Squashed and rebased. Need new reviews. @dirkmueller @Itxaka could you have a looksie?


pyload not reachable using ssl with valid certificate

I am getting the error pyload not reachable using SSL in pyloads web interface with my own ssl certificate. The certificate is a free one from www.startssl.com
The certificate is set up correctly (can access via browser with certificate being valid). But in flexget i get the error:
CRITICAL pyload        grab_test       pyLoad not reachable
As api url I used the domain adress and the local adress (localhost, just changed from http as I used before to https). I understand why the local adress fails, but not the domain adress. I also tried setting verify_ssl_certificates to no and then it works for both methods. So it seems that flexget doesnt accept the certificate neither way, but it should at least when I set up the domain url as api url.

First thing to try with any ssl issues is to upgrade python to >= 2.7.9, or if it isn't available on your platform, pip install requests[security].

Python version running is/was 2.7.10, sorry, forgot to mention it. No virtualenv is used.

@segelkma Are you having issues still? There have been SSL updates in more than one place recently so I'd like to make sure.

@qvazzler Sorry but I cannot test it. Switched to JDownloader because pyload was running so poorly and right now I have no reason at all to go back to pyload.

@segelkma no problem.
(Closing until further notice.)

Hello there, I am back. Recently I started using pyload again and today I wanted to test if the API works using ssl. It does not. Difference to last time: flexget runs under python3.5 (pyload still 2.7).
Webinterface of pyload is reachable via https. What I don't understand: Is there an issue dealing with it from the site of flexget or is the error made up by pyload...
http runs fine, I'm doing nothing but enabling https in pyload and changing the config url of pyload from http to https.

2016-11-23 17:30 DEBUG    utils.requests test            Fetching URL https://mydomain.de:8000/api/login with args () and kwargs {'json': None, 'data': {u'username': u'IAmAUser', u'password': u'IAmAPassword'}, u'timeout': 30}
2016-11-23 17:30 CRITICAL pyload        test            pyLoad not reachable

Alright, just found out that pyload is reachable but my certificate is not accepted. When I add verify_ssl_certificates: no then it works...
Last year I used a free certificate by StartCom, now it's coming from Lets Encrypt. Why are those certificates not accepted by default?

hmm, maybe update cryptography?
pip install cryptography -U

Did not do the magic. So it is an issue with one of the python plugins, but not directly with flexget right?

probably. try pip install requests[security] -U

No change

Did some more testing today and this might help. Looks like the certificate does not get rejected in general. I created my own xml file and stored it on my webhost, using it as source with rss plugin. And it works, the xml is being parsed while pyload in the same tasks fails. It is the same certificate.
I also tested if the pyload api is accessable via https with postman chrome addon and it gave me the same results for http and https.


Multiple licenses as string instead of list

What happened:
When using syft to create a sbom containing the npm package https://www.npmjs.com/package/type-fest, the license entry contains one entry instead of two. Furthermore the value and spdxExpression for this licenseentry are both licenses concatenated with OR. This makes displaying the values and spdxExpression harder.
SBOM output:
"licenses": [                 {                     "value": "(MIT OR CC0-1.0)",                     "spdxExpression": "(MIT OR CC0-1.0)",                     "type": "declared",                     "urls": [],                     "locations": [                         {                             "path": "/package-lock.json",                             "accessPath": "/package-lock.json",                             "annotations": {                                 "evidence": "primary"                             }                         }                     ]                 }
What you expected to happen:
I would expect two license entries, each containing one license, in this cases MIT and CCO-1.0
Steps to reproduce the issue:

Have a node project with type-fest as an dependency
Run syft syft scan . -o json=syft.sbom.json --select-catalogers "+sbom-cataloger"
search for type-fest in sbom

Anything else we need to know?:
Environment:

Output of syft version: syft 1.16.0
OS (e.g: cat /etc/os-release or similar):      System Version: macOS 15.1 (24B83)      Kernel Version: Darwin 24.1.0

I believe that multiple licenses are to be considered "AND" clauses, so we can't split out the "OR" licenses as you've described. Since we can't really describe a boolean tree without a more complex data structure, this is expected. If there are other options, we could always discuss those!


Change license to Apache 2.0

I realized the individual files need to be modified as well on this repo... Coming up with a follow-up PR to change the headers.

@jtattermusch ...or shall we leave the old ones as is? The 1.4 Dockerfiles have the new header. I am inclined to not mess with the old ones. What do you think?


[BUG] 🧽 Better cleanup while disposing

Problem
In FusionCache when Dispose() is called all the plugins used by an instance are removed automatically, so that everything is kept clean at the end, like this (pseudo-code):
void Dispose()
{
  RemoveAllPlugins();
}

The same is not done for the distributed cache and the backplane.
Solution
Start also removing both the distributed cache (if any) and the backplane (if any).
Something like this (again, pseudo-code):
void Dispose()
{
  RemoveAllPlugins();
  RemoveBackplane();
  RemoveDistributedCache();
}

This will "detach" distributed caches or backplanes from their respective FusionCache instances.

Hi all, v0.22.0 has been released and this is included 🎉


Fixes #20912 - Listen on interfaces in EL7

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-dhcp-configuring-server.html#starting-stopping-server suggests to override the full file but this just uses a drop-in to change as little as possible.

Verified with https://github.com/theforeman/puppet-dhcp/pull/111 but maybe I should add some regular spec tests as well.

looking OK, pending tests. 👍

I took the liberty of refactoring the tests as well. For readability it's in a separate commit.

merged, bedankt @ekohl!


GoDaddy DDNS AAAA record update fails

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues and I'm convinced that mine is new.
[X] The title contains the plugin to which this issue belongs
Describe the bug
AAAA record updates fail due to what appears to be an issue with the curl_* php functions. Whilst IPv4 addresses update perfectly fine, sending an AAAA update results in  PAYLOAD error. I have temporarily modified the code to call curl directly and that works fine. I suspect this is not an issue with the plugin itself but with php.
To Reproduce

Have a GoDaddy domain
Set the AAAA record to something other than your AAAA address,
Setup the DDNS plugin, then Save & Update

Expected behavior
It should update the GoDaddy AAAA record entry
OPNsense 21.7.3_3-amd64FreeBSD 12.1-RELEASE-p20-HBSDOpenSSL 1.1.1l 24 Aug 2021
Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz (4 cores)

PR #2686

38a704a521a1


Pregel: Collection sharding in cluster

Needs sharding guarantees of SmartGraphs so that the outgoing edges are placed on the same DB-Server as the vertex.
Preview: https://deploy-preview-609--zealous-morse-14392b.netlify.app/docs/3.8/graphs-pregel.html#prerequisites

Looks good. Thanks.

Looks good. Thanks.


Ubuntu 18.04 Kernel 4.14 does not output bpftrace one-liner commands

I am trying to run biolatency (tried with 2016 version as well). Here's the output I get:
root@node1:/home/ngd/bcc# python biolatency.py -mT 10
Tracing block device I/O... Hit Ctrl-C to end.

10:56:10

10:56:20

10:56:30

10:56:40

10:56:50

10:57:00
^C

While, ext4dist works fine:
root@node1:/home/ngd/bcc# ./bcc/tools/ext4dist.py
Tracing ext4 operation latency... Hit Ctrl-C to end.
^C

operation = write
     usecs               : count     distribution
         0 -> 1          : 0        |                                        |
         2 -> 3          : 0        |                                        |
         4 -> 7          : 0        |                                        |
         8 -> 15         : 0        |                                        |
        16 -> 31         : 0        |                                        |
        32 -> 63         : 6        |****************************************|

you're using a bcc tool, not a bpftrace oneliner, or did you paste the wrong snippet?
Are you actually doing blockio?

My bad. Yes, I am running bcc tools.
What do you mean by if I am actually doing blockio?

is the kernel actually doing blockio when you measure?
Do you have the same issue with the bpftrace version of biolatency?

Actually, bpftrace version's biolatency is working. Is it fair to compare bio latency of a host with Linux kernel 5.4 to a machine with Linux kernel 4.14?

The kernel version may be an issue, but more important is whether the kernel is actually doing the operation that you're tracing (blockio).
Anyway, closing this as stale.


Add word game animation

Thanks for the contribution @james1236. Just checked through all the word list for anything that could be considered offensive or could potential cause any reputational damage etc. Just a couple that seemed a bit close, (listed in comments above). Good job on the first pass at creating an safe subset of five letter word!. If we can remove those, I'm happy to see this one merged and scheduled on Infolab!
I'm not too worried about the repetition/american english - I don't think that is a blocker. Just raised as a point for discussion.

Hi, thanks for going through the word list! I've removed those two words, when I remove words I just duplicate the word above as a spacer to make sure the word of the day is still indexable. As for American English, I'd rather not go through the whole list again, if someone feels strongly enough maybe they'll make their own PR to correct it 😅. Should be ready to merge now if there are no other problems!

thanks @james1236!


Drill through query is not working in 2.2-RC1

I followed the same screencast example posted on the main site, I clicked on the 'drill through query' option but it did not change the data displayed. There were no javascript errors in the console and the XHR panel shows a duplicate request like the one used to produce the normal query.

did you use an example cube? what browser?
if you can make me a screenshot of your javascript errors / xhr console that would help

Yes I used the example cube with the foodmart database bundled, as shown in the screencast on the project's homepage. I tested it with both Google Chrome and Firefox on Mac Os X.
This is a screenshot of what happened after clicking on the button. There were no javascript errors
http://cl.ly/3w1j2a2f0P0T3j1d0b3R


Kanban Board Set Up

Dividing tasks and setting up Kanban Board
Here's the link to our Kanban Board for this project.
We are a group of 2 members:
@PeteUgwu
@EddyShimwa

Hi  @PeteUgwu     @EddyShimwa
Your project is complete  👍 💯   There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights 👏🏻
✔ Good Job for Provide for the link to their GitHub project
✔ Good Job for provide information about the number of people in your group.
✔ Good job for Implemented RoR group project: set up your Kanban board.
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.