text:
feat: introduce PageService

PR Checklist

[x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
[x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
[x] You have signed the CLA.
[x] All existing tests are passing: https://github.com/NativeScript/nativescript-angular/blob/master/DevelopmentWorkflow.md#running-the-tests
[ ] Tests for the changes are included.

What is the current behavior?
To detect navigation we have to manually inject page, listen to events and handle the subscriptions.
What is the new behavior?
Introduces a PageService that has:

page: reference to the current page
inPage: boolean: Page is the currently displayed page
inPage$: Observable<boolean>: will emit true/false when entering/leaving page
pageEvents$: Observable<NavigatedData>: observable of page events (use with filter operator)

example implementation:
export class DemoComponent {
    subscribed = false;
    constructor(pageService: PageService) {}

    ngOnInit() {
        this.subscribeToEvents();
        this.pageService.inPage$.subscribe(
            (inPage) => inPage ? this.subscribeToEvents() : this.clearSubscriptions();
        )
    }
    ngOnDestroy() {
        this.clearSubscriptions();
    }

    subscribeToEvents() {
        if (this.subscribed) return;
        this.subscribed = true;
    }

    clearSubscriptions() {
        if (!this.subscribed) return;
        this.subscribed = false;
    }
}

The "RxJs way":
myObservable$ = this.pageService.inPage$.pipe(
    // not in page? unsubscribe to realSource$ and subscribe to NEVER
    switchMap((inPage) => inPage ? realSource$.pipe(materialize()) : NEVER),
    dematerialize()
    // materialize/dematerialize if you care about realSource$ completion from https://codeburst.io/heres-how-i-built-my-very-own-pausable-rxjs-operator-24550123e7a6
);

ngOnInit() {
   this.sub = this.myObservable$.subscribe(...);
}

ngOnDestroy() {
    this.sub.unsubscribe();
}

Provides an "angular way" of managing #374

@edusperoni Is this still part of the latest @nativescript/angular@10.1.7? It appears to be gone or I am blind 😕 .

It seems it was removed in some cleanup. For the moment you can copy the code and put the class in the providers for your component, it should work without an issue.

@edusperoni Thanks for checking!

authors: edusperoni jessorlisa


text:
Entry revisions showing up as related entries

Craft 3.2.9, Relations 1.2.0
I have EntryA and related EntryB via an Entries field.
I carry on editing EntryA, and create 5 revisions.
When I go to EntryB I now see it related to EntryA 5 times. In think it should only show relations to "current" entries - showing only 1 relation to EntryA

Hi @Joobs Apologies for delayed reply, I have just had a look and it cannot seem to replicate the issue. I have created many revisions but it doesn't duplicate relations.
It may be that the entry exists in database multiple times with different Ids. Is it possible that you can send me the database and I can take a look?
Many thanks

I've recreated it on a fresh install of Craft 3.2.10.
I'll email the database over to you

Created a pull request #12 with a fix.

Sorry folks for delay on this. Just been super busy with work. Thank you so much @romainwurtz

I'm still experiencing this issue even after updating to the latest version :(

source: gharchive/issue

authors: Joobs Nav33d benface romainwurtz

license: MIT

license_type: permissive

license_source: github-api


text:
1.20.2 Support

I just updated to Paper 1.20.2 and the plugin no longer works

Error occurred while enabling CustomDiscs v2.4.1 (Is it up to date?)
java.lang.NoClassDefFoundError: de/maxhenkel/voicechat/api/BukkitVoicechatService
at me.Navoei.customdiscsplugin.CustomDiscs.onEnable(CustomDiscs.java:52) ~[custom-discs-2.4.1.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.2.jar:git-Paper-227]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.2.jar:git-Paper-227]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R2.CraftServer.enablePlugin(CraftServer.java:644) ~[paper-1.20.2.jar:git-Paper-227]
at org.bukkit.craftbukkit.v1_20_R2.CraftServer.enablePlugins(CraftServer.java:555) ~[paper-1.20.2.jar:git-Paper-227]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:627) ~[paper-1.20.2.jar:git-Paper-227]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:424) ~[paper-1.20.2.jar:git-Paper-227]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.2.jar:git-Paper-227]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1086) ~[paper-1.20.2.jar:git-Paper-227]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-227]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: de.maxhenkel.voicechat.api.BukkitVoicechatService
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:183) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
... 13 more

A version has been released that is compatible with version 1.20.2.

repo: Navoei/CustomDiscs


text:
Add Option to Accept All Friend Requests

Dear Nazar1ky,
I hope this message finds you well. I am writing to express my appreciation for the work you have done with the Epic Games Store Friends Remover script. It’s a very useful tool!
I was wondering if it would be possible to add a feature to the script that would automatically accept all friend requests on Epic Games, as you’ve already implemented a function to remove friends. It would be a great addition to help manage friend requests more efficiently.
I apologize for submitting this as an "issue" rather than a "pull request," but I wasn’t able to create one.
Thank you for your time and for considering my request. I look forward to hearing from you.
Best regards,
Reegzy

Hello
You are welcome! I can develop this feature in a next few days or maybe today. Thank you for interest in my program I appreciate that.

Hello, than  in you it will be great if we can put a stay connected for the friends request so that I don't have to reconnect to accept the new friends.

Hello, thank you it will be great if we can put a stay connected for the friends request at least so that I don't have to reconnect to accept the new friends.

Hmm? I don’t get. Can you provide a details of what you want?

Yes, so what I mean is that the script should only ask us if we want to stay connected when we choose to accept all friend requests.
Also, after the script has finished accepting all the friend requests, it should ask us if we want to continue accepting more requests. This way, we don’t have to close the session and run the script again. Instead, the script should allow us to stay in the 'friend add' mode and accept more requests without restarting the process.
Ask me if you want to explain better

Hello
I would like to add that this feature might already exist
https://youtu.be/oPndNkbx2YI
At timestamp 19:40 he is seen using the "accept all button".
I am not sure where is this but this should be mostly from within the epic games launcher.

When I try to run the script it has an error

@ironman9356 yes it will be great to find where it is it will be easier

Ok it worked, I have a friend that made this and it works I dont have to connect again. It has an interface but it is accepting slower than yours.  Can you help me to setup the stay loggin thing with your code?
`import base64
import requests
import tkinter as tk
from tkinter import messagebox, ttk
import webbrowser
import os
import time
import threading
from cryptography.fernet import Fernet
TIMEOUT_IN_SECONDS = 10
TOKEN_FILE = "credentials.json"
KEY_FILE = "key.key"
Vérifier si la clé existe, sinon la créer et la sauvegarder
if not os.path.exists(KEY_FILE):
key = Fernet.generate_key()
with open(KEY_FILE, "wb") as key_file:
key_file.write(key)
else:
# Charger la clé de chiffrement existante
with open(KEY_FILE, "rb") as key_file:
key = key_file.read()
cipher = Fernet(key)
CLIENT_ID:SECRET (en code clair, à remplacer par des variables d'environnement ou d'autres moyens sécurisés)
CLIENT = b"98f7e42c2e3a4f86a74eb43fbb41ed39:0a2449a2-001a-451e-afec-3e812901c4d7"
class FriendsAccepter:
def init(self) -> None:
self.client = base64.b64encode(CLIENT).decode("utf-8")
self.session = requests.Session()
self.session.headers.update({"Content-Type": "application/x-www-form-urlencoded"})
self.account_id = None
self.bearer = None
self.pending_friends = []
def load_credentials(self) -> bool:
    """Charger les informations d'identification sécurisées depuis le fichier."""
    if os.path.exists(TOKEN_FILE):
        with open(TOKEN_FILE, "rb") as file:
            encrypted_data = file.read().split(b"\n")
            if len(encrypted_data) == 2:
                self.account_id = cipher.decrypt(encrypted_data[0]).decode()
                self.bearer = cipher.decrypt(encrypted_data[1]).decode()
                return True
    return False

def save_credentials(self, account_id: str, access_token: str) -> None:
    """Enregistrer les informations d'identification de manière sécurisée dans un fichier."""
    encrypted_account_id = cipher.encrypt(account_id.encode())
    encrypted_access_token = cipher.encrypt(access_token.encode())
    with open(TOKEN_FILE, "wb") as file:
        file.write(encrypted_account_id + b"\n" + encrypted_access_token)

def run(self, gui: tk.Tk) -> None:
    try:
        if not self.load_credentials():
            token = self.token()
            device_code = self.device_code(token["access_token"])
            url = device_code['verification_uri_complete']

            # Ouvrir l'URL dans le navigateur sans bloquer l'application
            gui.after(100, self._open_url, url)

            messagebox.showinfo(
                "Connexion requise",
                f"Veuillez vous connecter en utilisant l'URL suivante (ouverte dans votre navigateur) :\n{url}"
            )

            data = self.device_code_verify(device_code["device_code"])
            self.account_id = data["account_id"]
            self.bearer = data["access_token"]
            self.save_credentials(self.account_id, self.bearer)

        # Boucle de mise à jour des demandes d'amis
        while True:
            self.pending_friends = self._get_pending_friends()
            pending_count = len(self.pending_friends)

            # Mettre à jour l'interface avec le nombre de demandes en attente
            gui.after(100, self._update_gui, gui, pending_count)

            # Pause avant de révérifier
            time.sleep(60)

    except requests.HTTPError as e:
        messagebox.showerror("Erreur", f"Une erreur HTTP est survenue : {e}")

def _update_gui(self, gui: tk.Tk, pending_count: int) -> None:
    """Mettre à jour l'interface avec le nombre de demandes d'amis en attente."""
    label.config(text=f"Demandes d'amis en attente : {pending_count}")

def _open_url(self, url: str) -> None:
    """Ouvrir l'URL dans le navigateur."""
    webbrowser.open(url)

def token(self) -> dict:
    """Générer un nouveau jeton en utilisant les identifiants du client."""
    headers = {"Authorization": f"basic {self.client}"}
    body = {"grant_type": "client_credentials"}

    response = self.session.post(
        "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token",
        headers=headers,
        data=body,
        timeout=TIMEOUT_IN_SECONDS,
    )
    response.raise_for_status()
    return response.json()

def device_code(self, token: str) -> dict:
    """Demander un code de dispositif pour l'authentification de l'utilisateur."""
    headers = {"Authorization": f"bearer {token}"}
    response = self.session.post(
        "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/deviceAuthorization",
        headers=headers,
        timeout=TIMEOUT_IN_SECONDS,
    )
    response.raise_for_status()
    return response.json()

def device_code_verify(self, device_code) -> dict:
    """Vérifier le code de dispositif et obtenir un jeton d'accès."""
    headers = {"Authorization": f"basic {self.client}"}
    body = {"grant_type": "device_code", "device_code": device_code}

    response = self.session.post(
        "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token",
        headers=headers,
        data=body,
        timeout=TIMEOUT_IN_SECONDS,
    )
    response.raise_for_status()
    return response.json()

def _get_pending_friends(self) -> list:
    """Récupérer les demandes d'amis en attente."""
    headers = {"Authorization": f"bearer {self.bearer}"}
    response = self.session.get(
        f"https://friends-public-service-prod.ol.epicgames.com/friends/api/v1/{self.account_id}/incoming",
        headers=headers,
        timeout=TIMEOUT_IN_SECONDS,
    )
    response.raise_for_status()
    return response.json()

def _accept_friends(self, pending_friends: list) -> None:
    """Accepter toutes les demandes d'amis en attente."""
    headers = {"Authorization": f"bearer {self.bearer}"}
    for friend in pending_friends:
        friend_id = friend["accountId"]
        try:
            response = self.session.post(
                f"https://friends-public-service-prod.ol.epicgames.com/friends/api/v1/{self.account_id}/friends/{friend_id}",
                headers=headers,
                timeout=TIMEOUT_IN_SECONDS,
            )
            response.raise_for_status()
        except requests.exceptions.RequestException as e:
            print(f"Erreur lors de l'acceptation de l'ami {friend_id} : {e}")

def _deny_friends(self, pending_friends: list) -> None:
    """Refuser toutes les demandes d'amis en attente."""
    headers = {"Authorization": f"bearer {self.bearer}"}
    for friend in pending_friends:
        friend_id = friend["accountId"]
        try:
            response = self.session.delete(
                f"https://friends-public-service-prod.ol.epicgames.com/friends/api/v1/{self.account_id}/friends/{friend_id}",
                headers=headers,
                timeout=TIMEOUT_IN_SECONDS,
            )
            response.raise_for_status()
        except requests.exceptions.RequestException as e:
            print(f"Erreur lors du refus de l'ami {friend_id} : {e}")

Fonctions de commande pour les boutons
def accept_friends(app: FriendsAccepter) -> None:
"""Accepter toutes les demandes d'amis en attente."""
if app.pending_friends:
app._accept_friends(app.pending_friends)
messagebox.showinfo("Succès", f"{len(app.pending_friends)} demandes d'amis acceptées !")
else:
messagebox.showinfo("Info", "Aucune demande d'ami en attente.")
def deny_friends(app: FriendsAccepter) -> None:
"""Refuser toutes les demandes d'amis en attente."""
if app.pending_friends:
app._deny_friends(app.pending_friends)
messagebox.showinfo("Succès", f"{len(app.pending_friends)} demandes d'amis refusées !")
else:
messagebox.showinfo("Info", "Aucune demande d'ami en attente.")
def main() -> None:
# Création de la fenêtre principale
root = tk.Tk()
root.title("Gestion des demandes d'amis")
root.geometry("500x300")
root.resizable(False, False)
# Design moderne et fonctionnel
style = ttk.Style()
style.configure("TButton", font=("Arial", 12), padding=6)

# Instanciation de l'application
app = FriendsAccepter()
threading.Thread(target=app.run, args=(root,), daemon=True).start()

# Widgets de l'interface
global label
label = ttk.Label(root, text="Demandes d'amis en attente : 0", font=("Arial", 14))
label.pack(pady=20)

accept_button = ttk.Button(root, text="Accepter les demandes", command=lambda: accept_friends(app))
accept_button.pack(side=tk.LEFT, padx=20, pady=10)

deny_button = ttk.Button(root, text="Refuser les demandes", command=lambda: deny_friends(app))
deny_button.pack(side=tk.RIGHT, padx=20, pady=10)

# Démarrer l'interface principale
root.mainloop()

if name == "main":
main()
`

Ok it worked, I have a friend that made this and it works I dont have to connect again. It has an interface but it is accepting slower than yours. Can you help me to setup the stay loggin thing with your code?
message (3).txt

Because my program use bulk endpoint. And I see you have implemented token saving, but the thing that token will be valid for only 2 hours

@ironman9356 https://www.reddit.com/r/EpicGamesPC/comments/1c70jxm/a_method_to_decline_all/
There is your solution

@ironman9356 https://www.reddit.com/r/EpicGamesPC/comments/1c70jxm/a_method_to_decline_all/ There is your solution

Oh nice, so my solution not required now?

No it is because yours is faster than epic games accepter. For me the auto loggin is not working can you help me?

No it is because yours is faster than epic games accepter. For me the auto loggin is not working can you help me?

why it not work?

i dont know I dont have errors

The script that my friend made is doing it

The script that my friend made is refresh the friends request on the interface and I can let the script open but is slower to accept demands

Your friend can easily make it fast with bulk endpoint, let your friend check code

@Nazar1ky Did you deleted the accepter?

Ok thank you do you think it will be possible to auto join someone on fortnite when he is going online with the FortnieEndpoints?

Ok thank you do you think it will be possible to auto join someone on fortnite when he is opening his group with the FortnieEndpoints?

I don't know, check users fortnite docs


text:
🛑 Becpl Angular UI is down

In 0e737d3, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 6fa6a69 after 5 minutes.

repo: NehalDamania/becpl-uptime


text:
🛑 Becpl Angular UI is down

In ac06cdb, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 5e7e06f after 5 minutes.


text:
🛑 Becpl Angular UI is down

In 45d7d46, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 4695e28 after 5 minutes.


text:
Add some ES6 Math functions.

These are little-known functions that I was unaware of until today.

Out of interest: how did these come to light?

While working on logarithmic backups I needed to compute an nth root.  While Googling, I found a bunch of rarely used Math functions that I hadn't seen before.  These functions are completely absent from most ES6 documentation, such as http://es6-features.org

source: gharchive/pull-request

repo: NeilFraser/CodeCity

license_source: bigquery


text:
Issue customizing item list

EDIT: I'm pulling paper-autocomplete-input into my project using the latest commit, rather than version number, because version 2.1.0 isn't available on bower.io yet. Thought this would be worth mentioning!
Hello! I'm having some trouble using a template to customize the item list. I have a "name" and "pricingPoint" as fields in the returned JSON - I want the both to be displayed in the list, but I want the input field's value to be only the name. I am trying to customize like so:
<paper-autocomplete-input id="edit-list" placeholder="Filter"
        autoc-url="jsonurl" autoc-fields='["name"]'>
    <template>
        <paper-item>[[item.name]] - [[item.pricingPoint]]</paper-item>
    </template>
    <paper-spinner id="loading" slot="suffix"></paper-spinner>
</paper-autocomplete-input>
Expected outcome:
The list populates with name and pricingPoint, but when I select an item, the input value is just the name.
Actual outcome:
Error in browser (latest version of Chrome):
Uncaught TypeError: owner.constructor._parseTemplate is not a function
Also, no items are displayed in the item list when searching.
My full stack trace:
Uncaught TypeError: owner.constructor._parseTemplate is not a function
at Object.templatize (mp-elements.vulcanized.html:6656)
at HTMLElement.ready (mp-elements.vulcanized.html:23125)
at HTMLElement.ready (mp-elements.vulcanized.html:11077)
at HTMLElement._enableProperties (mp-elements.vulcanized.html:1827)
at HTMLElement.connectedCallback (mp-elements.vulcanized.html:5765)
at HTMLElement.connectedCallback (mp-elements.vulcanized.html:8775)
at HTMLElement.connectedCallback (mp-elements.vulcanized.html:9998)
at HTMLDivElement. (jquery.min.js:3)
at Ja (jquery.min.js:3)
at r.fn.init.append (jquery.min.js:3)
Thank you for your hard work on this element!!

Hi @ghuntoon !
Your code should work so I am gonna need more detail about your issue.
First, which version of paper-autocomplete-input are you using ?
Also your stack trace is not helping much as the code seems vulcanize.
Have you tried without having it vulcanized ?

I rebuilt my project without vulcanizing, and here's the updated stack trace:
Uncaught TypeError: owner.constructor._parseTemplate is not a function
at Object.templatize (templatize.html:456)
at HTMLElement.ready (paper-autocomplete-input.html:584)
at HTMLElement.ready (class.html:218)
at HTMLElement._enableProperties (property-accessors.html:546)
at HTMLElement.connectedCallback (element-mixin.html:669)
at HTMLElement.connectedCallback (dir-mixin.html:146)
at HTMLElement.connectedCallback (legacy-element-mixin.html:98)
at HTMLElement._attachDom (element-mixin.html:729)
at HTMLElement._readyClients (element-mixin.html:702)
at HTMLElement._flushClients (property-effects.html:1542)
I'm using version 2.1.0. Thanks!

Now which version of Polymer are you using ?

Polymer version 2.3.1.

I just released a hotfix 2.1.1 that should fix the issue.
Let me know if it is ok with you.

It's working perfectly, thank you!!

authors: NeilujD ghuntoon

repo: NeilujD/paper-autocomplete-input


text:
🛑 Jellyfin is down

In 1276d14, Jellyfin (https://jellyfin.catgirls.cyou) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in 3eca4d5 after 45 minutes.

repo: NekomimiNebula/upptime


text:
Sound with offhand shield

When there are fireworks in the inventory, if you equip the shield offhand and press the “Firework” key, you will hear a continuous “Gear equips” sound.
Minecraft 1.21
Firework Keybinding 1.1.1

Damn, so many bugs 😂
But I can already imagine why this is the case. To make this mod client side only I had to make it work like that:
Firework rocket will be put in the offhand slot, then being consumed and put back to the old slot. If there was another item on the previous slot it will get unequipped and equipped again. Because of this the shield equip sound plays.
I'll take a look after work (or in my lunch break) and check how to improve it.
Thanks for letting me know!

Okay I need more time. I got a new bug which doesn't make sense to me. I can trigger the fireworks while the main hand is in every slot except the first.
Currently looking into it

Okay, I can wait.

I updated it, please check!

Confirmed.
Thank you again for your courteous response!

Lovely! Thank you for reporting the issue :D

authors: NemoNotFound Uzimattyan

repo: NemoNotFound/NemosFireworkKeybinding


text:
test-deploy-travis

Thanks for contributing to Community Yellow Paper! We are currently focused in quickly expanding technical content, in order to cover all proposed sections of the document. However, other contributions may also be accepted.
Please mark the intention of this PR:

[ ] Expanding technical content
[ ] Fixing typo
[ ] Clarifying confusing/misleading sentences
[ ] Other

===============================================
Please briefly explain the proposed changes:

kkkkkkkkkkkkk

repo: NeoResearch/yellowpaper


text:
Example of query string parameters support lists cannot be replicated

Under the handling query string parameters section, I try to copy and paste this to my script
@get("/query-list")
def greetings_many(name: list[str]):
    return f"Hello, {', '.join(name)}!"

# example:
# http://localhost:44777/query-list?name=Charlie&name=Lisa&name=Snoopy
# --> Hello, Charlie, Lisa, Snoopy!

But it cannot be replicated just the way the example is shown in the documentation. It will prevent newcomer and beginner users from having a better understanding of the way BlackSheep handles query string parameters. Or did I just miss something here?

Hi @ranggakd
Thank You for reporting this error and bug. I am resolving it today.

Thanks for the response. Please close this issue as soon as it is resolved.

authors: RobertoPrevato ranggakd

repo: Neoteroi/BlackSheep-Docs


text:
discovery仓库6.x.x分支discovery-springcloud-example-service#DiscoveryApplicationA1启动报错

没改代码前报错：
Error creating bean with name 'AFeignImpl': Unsatisfied dependency expressed through field 'bFeign'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'com.nepxion.discovery.plugin.example.service.feign.BFeign': Requested bean is currently in creation: Is there an unresolvable circular reference?
去掉com.nepxion.discovery.plugin.example.service.feign.AFeignImpl中BFeign依赖后才能正常启动，改动代码如下：
 public class AFeignImpl extends AbstractFeignImpl implements AFeign {
    private static final Logger LOG = LoggerFactory.getLogger(AFeignImpl.class);

//    @Autowired
//    private BFeign bFeign;

    @Override
    public String invoke(@RequestBody String value) {
        value = doInvoke(value);
//        value = bFeign.invoke(value);

        LOG.info("调用路径：{}", value);

        return value;
    }
}

版本降级到Hoxton.SR9，没这个问题

原因是Sentinel不适配新版本的Spring Cloud

authors: HaojunRen MingIXu

repo: Nepxion/Discovery


text:
Creating a Types registeration Mechanism

Created a types registeration mechanism as monkey patching was hacky and was going to be a performance bottleneck
Still a test is failing, and i dont know what this is @mardikark-gslab  please look at this
i@q:~/Q/UTILS/test$ bash RUN_TEST.sh
Running Dictionary Test Cases
debugger.lua: Loaded for LuaJIT 2.1.0-beta3
debugger.lua: Readline support enabled.
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; create dictionary ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; empty string  ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; nil dict  ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; addition of new dict  ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; addition of existing dict ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; valid get index ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; valid addition of string ; Unit Test ;  ; SUCCESS
__Q_TEST__02/10/2017 16:11 ; UTILS/test/ ; Dictionary ; valid get string ; Unit Test ;  ; SUCCESS
-----------Dictionary testcases results for LOAD_CSV---------------
No of successfull testcases 8
No of failure testcases     0

Running Lua Test Cases
E.
Failed tests:

test_preprocess_bool_values
test_utils.lua:13: attempt to call global 'preprocess_bool_values' (a nil value)
stack traceback:
[C]: in function 'xpcall'

Ran 2 tests in 0.001 seconds, 1 success, 1 error

We need to start calling the register_type function from C in case we are creating a new Q type that we want the type function to work on. Right now I am doing something a little bit hacky and I dont like

repo: NerdWalletOSS/Q

license: mit


text:
[Improvement]:  When registering the catalog, support for internal/external types is provided to replace Metastore.

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
When registering the catalog, support for internal/external types is provided to replace Metastore.
How should we improve?
When registering the catalog, support for internal/external types is provided to replace Metastore.
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

repeat with #1544

repo: NetEase/arctic


text:
[ARCTIC-291] [Improvement]: support access Tables tab only for display table info only

Why are the changes needed?
fix https://github.com/NetEase/arctic/issues/291
people can use  ams table tab page only to display arctic table detail;
Brief change log
First, i will support an api to generate a token with catalog,db,table.
second , all tabls tab request url will be /ams/v1/tables/catalogs/{catalog}/dbs/{db}/tables/{table}, i will extract catalog,db,table from url, and check the token.
if token mismatch , return signatureExecption.
if match, return the result of query.
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? ( no)
If yes, how is the feature documented? (not documented)

LGTM

authors: Aireed hameizi


text:
lwc group by does not match backend

When running an expression like:
name,foo,:eq,(,id,),:by,
name,bar,:eq,(,id,),:by,
:div

The result set should only include ids that are in the result set of both foo and bar. The LWC evaluation is currently showing both.

Neither @brharrington nor I can reproduce this issue.  Closing for now.

authors: brharrington zimmermatt

repo: Netflix/atlas


text:
Revert servo commit to master

This reverts commit c72e465993abb8320606bf6341d23ca0691d2ba9, reversing changes made to bae5c36f37dd8838db83400fc46c8204d69ce6da.

Now that I know more about the branching and release strategies, I'm going to revert this change for the moment and return master to it's previous state.  Meanwhile there is a branch open for 2.x and I'll follow up with one for 1.x

repo: Netflix/eureka


text:
Using Genie to run Spark on EMR

Hi,
We want to use Genie to run Spark on our AWS EMR cluster. From what I understand, Genie is supposed to be agnostic to the environment it runs in.
How does that happen with Spark?
Spark needs to be installed on every node in the EMR cluster. Does Genie install the version it runs of Spark on the EMR prior to each run?
Also - AWS makes modifications to the installation of Spark in the EMR, so features such as EMRFS don't exist in the repositories that are available to download from Apache.
I know that you use Genie for this purpose in Netflix, how do you handle these issues?
Thanks in advance,
Mor

Hello Mor,
we don't use Genie to deploy and manage clusters (although there's nothing stopping you from doing so).
Our clusters are created by other automation/tools. A step of creating a cluster and making it available, is to register it in Genie as resource.
What we use Genie for w.r.t. Spark is the driver side.
Our users submit a query Q via genie without having to worry about details that are not relevant to them, e.g, they can say "Execute query Q with Spark in test with production data". Genie takes this "high level" description and figures out all the nitty-gritty details: which cluster to target, which version of Spark to use, where to obtain the correct binaries and configuration files, which security roles to apply, which memory settings to use... and more. It sets everything up so that Q can be executed on behalf of the user and without exposing them to these low-level details.
Does this answer your question

I can shed a little more light on what we do for Spark. Marco is right that we localize the Spark application, which could be one of several supported versions.
I think Mor wants to know how we run executors for that application. For that, we use Spark's ability to ship its own libraries as an archive that will get unpacked by YARN on each NodeManager. So basically, Spark adds its Jars to the distributed cache, which gets localized on each node to start executors. That way our versions always match.
We've also made a couple modifications to Spark so that the archive we add to the distributed cache has no timestamp and always uses the same order for Jars. This is to get a consistent hash for each build or version. Then we use that hash to get a well-known location in HDFS that we use for the distributed cache. We also mark the archive as public and only upload it once. By doing that, NodeManagers will recognize that the archive is shared across Spark versions and has not changed, so it will cache the archive for faster container localization.

Thank you Ryan and Marco, this information is very helpful.

authors: mors1 mprimi rdblue

repo: Netflix/genie


text:
Caching in Mantis Master API v1 for listing jobs.

Context
The jobs list call is expensive having to reach out to all actors in the system and wait for a response. Some short term caching as discussed in the team meeting will greatly reduce the frequency with which the API needs to wait for a response from all actors.
Checklist

[x] ./gradlew build compiles code correctly
[x] Added new tests where applicable
[x] ./gradlew test passes all tests
[x] Extended README or added javadocs where applicable
[x] Added copyright headers for new files from CONTRIBUTING.md

we have been using the akka api caching (backed by Caffeine), this can be controlled with cache control headers if we chose to do that later on.. Example https://github.com/Netflix/mantis-control-plane/blob/master/server/src/main/java/io/mantisrx/master/api/akka/route/v1/JobClustersRoute.java#L192

Thanks Nick! This looks as though it integrates much more cleanly and responding to cache control headers is always a good option to keep open in the future. I'll get this PR updated.

Leaned into the existing caching framework as well as standardized the cache configurations around some newly added configuration options in the MasterConfiguration class.

Merged via rebase/merge in git.

authors: codyrioux nickmahilani

repo: Netflix/mantis-control-plane


text:
Argo-workflows with name > 52 characters fail if run as CronWorkflows

If name > 52 characters, the workflow fails to start anyway. The workflow controller fails with:
time="2024-04-29T19:07:01.554Z" level=error msg="invalid cron workflow" cronWorkflow=jobs-default/nbcreditscorev4d5mx.prod.main.eventtrainnbcswithfixeddata error="cron workflow name \"abcreditscorev4d5mx.prod.main.eventtrainabcspqrfixederty\" must not be more than 52 characters long (currently 57)"

Would be easy if the user got this error (or similar) at the time of creating the workflow itself.

The user experience is quite tricky here because the permissible name length for regular Argo workflows is greater than for Cron workflows.
So,

The user creates a flow and run python flow.py argo-workflows create. This creates the workflow template without any error
The user is able to run this flow either via python flow.py argo-wokflows trigger or via the Argo UI and it works just fine.
The user then adds @schedule decorator and run python argo-workflows create. This creates the workflow template and the CronWorkflow. No errors.
But if the name > 52 characters, the actual flows don't run on the cron schedule. The only way to identify the problem is to look at the argo-workflows-controller logs as shown above and see the error.

What's needed here is the following.
When a user creates a flow with @schedule:

Construct the name as it is done today. If the name length < 52 chars, create the template, cronworkflow.
If the name length > 52 chars:

check if there is a previously created cronworkflow object. If so, delete it (since it wouldn't be running anyway).
create a name such that it is < 52 characters. e.g. take all characters > 46 and construct a 6 byte has to fit into 52 chars

Create the new cronworkflow

/cc @savingoyal @saikonen

repo: Netflix/metaflow


text:
MslUserIdTokenException ctor doesn't accept Throwable

The underlying MslException accepts a Throwable as a cause, but MslUserIdTokenException doesn't.

Many of the MslException subclasses don't have all possible combinations of parameters on the defined constructors. They only have constructors defined for the parameter combinations that are actually used. (Might be some leftovers from earlier code, but that's the idea.)
Do you have a use case for throwing a MslUserIdTokenException due to some other exception? If so then we should add a new constructor which has the parameter combination you need. Right now this exception is only thrown when the User ID Token was revoked, since the description for the exception is that the User ID Token was successfully parsed but there is some other problem with it.

Our renewUserIdToken is calling a backend server. If that server reports a failure, I want to be able to throw a MslUserIdTokenException with the underlying exception as the cause.

Makes sense. We should add the new constructor then. Feel free to submit a pull request with the parameter combination you want.

Yep, that works.
On Wed, Feb 3, 2016 at 3:10 PM, Wesley Miaw notifications@github.com
wrote:

Closed #57 https://github.com/Netflix/msl/issues/57.
—
Reply to this email directly or view it on GitHub
https://github.com/Netflix/msl/issues/57#event-538364125.

authors: quidryan wmiaw

repo: Netflix/msl


text:
How to run Zuul 2 sample in local

As per Zuul Sample app properties, it sounds we need to run it for a target AWS zone
region=us-east-1

but I would like to run it in local and test it.
Please help me how to run it in local machine and test Filters & Websockets/SSE

try to set eureka.region=default in application.properties

authors: DevArunLingala keedosn

repo: Netflix/zuul


text:
Code clean up

Let's remove the extra tests we are doing when using snforge due to duplicate testing.

Error Handling, start with this file:
https://github.com/NethermindEth/cairo-plonk-verifier/blob/main/plonk-verifier/src/plonk/verify.cairo

Later on goal: return robust error types instead of generic handling

repo: NethermindEth/cairo-plonk-verifier


text:
Make History private

History is used to keep track of the historical state, however, it is not used outside of the core package, therefore, it doesn't need to be public.

Hey! I noticed that there is an open issue #1012 regarding making the History struct private. Please let me know if I can proceed with working on this issue.
Thank you!

authors: IronGauntlets amirhasanzadehpy

repo: NethermindEth/juno


text:
Add conditionals to literalExpressionEvaluator pass

Currently conditional expressions (ternary operation) are not being evaluated in literalExpressionEvaluator pass.
Conditionals have the form: condition ? thenBranch : elseBranch.
If the value of condition can be known during this pass, then the whole conditional expression can be replaced with the corresponding branch expression. In other words, if condition is evaluated to be true then :
condition ? thenBranch : elseBranch can be replaced by thenBranch
Similar thing happens in case it is evaluated to be false

In which file can I find this?

Passes are stored in src/passes so you can find that in src/passes/literalExpressionEvaluator/literalExpressionEvaluator.ts

actually the changes have been made by someone else already. can close this issue.

Actually no, the issue hasn't been addressed yet.
This task requires the pass to visit Conditional nodes (which are the ones that represent ternary operations) and evaluate the condition expression. Since the condition expression should be a boolean value, its evaluation should return true, false or null (in case it wasn't possible to determine the value of the expression at this point). So, when the evaluation is different from null it is possible to replace the conditional node by the corresponding branch expression node.
I just updated the description to make it clearer

repo: NethermindEth/warp


text:
Optionally include Spike2 sorted unit tags in SpikeTrain.

Right now, if you sorted spikes with spike2, Spike2 will attach a unit number to each spike using the first marker byte, indicating which unit generated the spike. However, when reading the smr file, neo ignores the units and only creates a single SpikeTrain pretending as if the spikes all come from a single unit.
This adds a ced_units keyword, which when true, will create a SpikeTrain for each unit. Otherwise, the default, will just create a single SpikeTrain ignoring units like before. It also adds a ced_unit keyword to the annotations distracting from which Spike2 unit this SpikeTrain was generated.

Coverage decreased (-0.05%) to 62.9% when pulling 9a64074dfbf304895478a9f26d1f24ca61758e23 on matham:master into 71c0d6a2c6abff682cfc6226a4ad9e09b6445f4b on NeuralEnsemble:master.

Hi,
thank you for this.
In neo the good way to manage unit is the neo.Unit object.
Which for SpikeTrain what RecordingChannel is for AnalogSignal.
Block.units is a list of neo.Unit
Unit.spiketrains is a list of SpikeTrain along Segment.
It is bit harder to construct in the IO than simple annotation but more compatible with neo schema.
Few IOs deal correctly with this. So no problem.

So no problem

@sgarcia - when you say "no problem", do you mean we should accept this PR, or do you mean that @matham should rewrite the IO to use Unit?

I guess it was meaning : OK for merging

authors: apdavison coveralls matham samuelgarcia

repo: NeuralEnsemble/python-neo


text:
updated titles and content for project descriptions main page, and reordered items

@saisha-r please read it over and make sure it's all comprehensible and grammatical etc :)

Thanks @saisha-r!
I notice now that the images are a bit slow to download - especailly on a slow connection. Can you please check that they are optimized for size and compression (JPEGs should be compressed at 70-90%) and/or do that? You can probably figure out how if you don't already know, but ask me or Danny if you need help. Thanks!

Photos have been compressed (didn't change the hyperscanning one you added since its file size and resolution were low, so I am assuming you already compressed this one). I also changed some of the photos. For BCI, I used an image Brynn sent me; for the rest of the photos I changed, I used stock photos. For the SKIRF project, I was wondering if a photo from our SKIRF videos would be better (nothing would show children reading though, just either an image of administrating the WIAT or something with the IWK MRI).

The production effect study's photo is cut off. I tried adjusting the aspect ratio of the photo but that looked weirder. Should we just crop it and put one of the brains for the photo instead of the two side-by-side?

photos are loading slowly or not at all...

Oh, I compressed them and they loaded fine for me. I just compressed them further now - let me know if it's still not loading!

authors: aaronjnewman saisha-r


text:
Strictly internal fix for SpikeGLX stub

replace #870
Testing to see if this passes

@rly OK, this is ready and does not depend on NeuroConv
Had to pin back a day because the merge of https://github.com/catalystneuro/neuroconv/pull/821 broke our dependencies for the tutorial generation
In general, going forward, you may want to consider looking into either poetry or a full conda freeze for the backend to mimic the stability of the frontend (postinstalls aside) to avoid this just like this

@rly Ping

repo: NeurodataWithoutBorders/nwb-guide


text:
关于更新

我有个问题想请教下oasisfeng大大，女娲石和绿色守护还会短期内是否还会进行更新？
如果不进行更新了，是否考虑过开源让其他人继续进行维护？

会更新，但不会频繁。

authors: Agoines oasisfeng

repo: Nevolution/sdk


text:
fix build target selection

Fixes [issue-number]
Creator

[ ] Build relevant tests if any apply
[ ] Ensure there are no new warnings
[ ] Upload an animated GIF showcasing the solution (if it applies)
[ ] Set a relevant reviewer

Reviewer

[ ] Run test and make sure all tests pass
[ ] Review function and form on iOS
[ ] Review function and form on Android
[ ] Review function and form on Web
[ ] Review new test logic

Warnings

:warning:

Please assign someone to merge this PR, and optionally include people who should review.

:warning:

No Changelog changes!

  Generated by :no_entry_sign: dangerJS

authors: conrad-vanl mary-pr-poppins

repo: NewSpring/Apollos


text:
Add draft feature

Create the draft feature for each of the notes so that even if the user has not saved the data the data will still be there on the notes but is not updated in the database, just like Whatsapp.

Done

repo: Nexus-PES/NoteVault


text:
s6-rc: warning: unable to start service prepare

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug
After update to 2.10.1 i got a error, if i use a custom ssl-ciphers file.
Log:
[+] Running 1/1
✔ Container nginx-proxy-manager  Recreated                                                                                0.2s
Attaching to nginx-proxy-manager
nginx-proxy-manager  | s6-rc: info: service s6rc-oneshot-runner: starting
nginx-proxy-manager  | s6-rc: info: service s6rc-oneshot-runner successfully started
nginx-proxy-manager  | s6-rc: info: service fix-attrs: starting
nginx-proxy-manager  | s6-rc: info: service fix-attrs successfully started
nginx-proxy-manager  | s6-rc: info: service legacy-cont-init: starting
nginx-proxy-manager  | s6-rc: info: service legacy-cont-init successfully started
nginx-proxy-manager  | s6-rc: info: service prepare: starting
nginx-proxy-manager  | ❯ Configuring npmuser ...
nginx-proxy-manager  | id: 'npmuser': no such user
nginx-proxy-manager  | ❯ Checking paths ...
nginx-proxy-manager  | ❯ Setting ownership ...
nginx-proxy-manager  | ❯ Dynamic resolvers ...
nginx-proxy-manager  | ❯ IPv6 ...
nginx-proxy-manager  | Enabling IPV6 in hosts in: /etc/nginx/conf.d
nginx-proxy-manager  | - /etc/nginx/conf.d/production.conf
nginx-proxy-manager  | - /etc/nginx/conf.d/include/ssl-ciphers.conf
nginx-proxy-manager  | sed: cannot rename /etc/nginx/conf.d/include/sedXg1RRw: Device or resource busy
nginx-proxy-manager  | s6-rc: warning: unable to start service prepare: command exited 4
nginx-proxy-manager  | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
Nginx Proxy Manager Version
2.10.1
To Reproduce
Steps to reproduce the behavior:

Add ssl-ciphers.conf to docker-compose.yaml
Start Container
See error

Expected behavior
A clean start without an error.
Operating System
Debian 11.x

I get a similar error message. The /run/uncaught-logs/current path does not exist in the container.
Did you find a way to get it working again?

I had this issue and fixed it by downgrading the docker image to v2.9.22.
May or may not be the same as you, but for me I need to stop using watchtower. I believe it causes more problems than it could solve...and start pinning versions so that I can review changes and plan for them.

@ConTraXX I wholeheartedly recommend https://github.com/crazy-max/diun/ I have it setup so that every few days I get list of updated images on telegram, can then review changes or just backup / snapshot and take the plunge with new image. Watchtower looks nice I know; set it and forget it; but having used it on a machine running ~50 containers it was no bueno.

I was having the same issue, because I had also overridden ssl-ciphers.conf.
This occurs because sed in a startup script tries to modify (via copying+replacing) every file in /etc/nginx and /data/nginx. The script causing this issue is https://github.com/NginxProxyManager/nginx-proxy-manager/blob/67208e43cc41f659ae2e68baa58a181a4d5f465b/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh
So what I did was, in my docker-compose file, I added the following line under volumes:
- /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh

It's not the greatest solution, but it's a workaround at least.

same problem here, and the workaround in @k3d3's comment work for me

same problem here, same workaround worked.

downgrade to Version: 2.9.22 - not helpfull for me (((

in my docker-compose file

Where did You do that? I can`t find file...:(

Errors

Successful Workaround
Having this same issue. Downgrading to version v2.10.4 solved the problem for me.
My docker-compose file:
version: '3.8'
services:
  app:
    image: jc21/nginx-proxy-manager:2.10.4
    hostname: npm.doroco.org
    container_name: npm
    networks:
      - docker-net
    restart: always
    ports:
      - '80:80'    # Public HTTP Port
      - '443:443'  # Public HTTPS Port
      - '81:81'    # Admin Web Port
    volumes:
      - npm_data:/app/data
      - npm_letsencrypt:/app/letsencrypt

volumes:
  npm_data:
  npm_letsencrypt:

networks:
  docker-net:
    driver: bridge

Failed Attempts

Tried installing as 2.10.4 and then upgrading to latest
Tried adding @k3d3's suggested - /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh to volumes

thanks k3d3, fixed for me too!

I'm running into this issue on the v3 branch. Recognizing v3 isn't "released" yet, it's just interesting to note here because I (previously) was actually able to get v3 running, so this error seems to be "new" (I guess?). The /dev/null workaround did not work, unfortunately; logs below:
[+] Running 2/2
 ✔ Network npm_v3_default  Created                                                                                0.1s
 ✔ Container npm_v3-app-1  Started                                                                                0.6s
❯ logs
app-1  | 2024-05-13T00:14:48.376863917Z ❯ Configuring npm user ...
app-1  | 2024-05-13T00:14:48.394427393Z ❯ Configuring npm group ...
app-1  | 2024-05-13T00:14:48.419141375Z ❯ Checking paths ...
app-1  | 2024-05-13T00:14:48.424998615Z ❯ Setting ownership ...
app-1  | 2024-05-13T00:14:48.441409642Z ❯ Dynamic resolvers ...
app-1  | 2024-05-13T00:14:48.449219039Z s6-rc: warning: unable to start service prepare: command exited 127
app-1  | 2024-05-13T00:14:48.451035478Z /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.

This is the compose file I'm using as a test:
---
services:
  app:
    image: 'jc21/nginx-proxy-manager:v3'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ./data:/data
      - /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh

networks:
  npm_cf:
    name: npm_cf
    external: true
  npm_service:
    name: npm_service
    external: true

This may have to do with the fact the last release on Dockerhub for v3 was 9 months ago, so not raising a stink over it, just adding it as a data point in case it helps anyone else later down the line.

@kmanwar89 did you fix the error above?

@kmanwar89 did you fix the error above?

Nope - I'm instead switching back to v2, and have been writing a Python program for programmatically adding in proxy hosts using Python instead. I was hoping someone with more knowledge of the error would chime in.

In v3 seems to happen on acme.sh :
❯ Dynamic resolvers ...
+++ is_true true
++++ echo true
++++ tr '[:upper:]' '[:lower:]'
+++ VAL=true
+++ '[' true == true ']'
+++ echo 1
++ '[' 1 = 1 ']'
+++ awk 'BEGIN{ORS=" "} $1=="nameserver" { sub(/%.*$/,"",$2); print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf
++ echo resolver '10.43.0.10  ipv6=off valid=10s;'
++ acme.sh -h
s6-rc: warning: unable to start service prepare: command exited 127
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
Anyone has any idea how to fix this one?

authors: ConTraXX Morten-Renner alexunderboots artenais bobbywaz elsternet fuqiangleon hugalafutro jar87 k3d3 kmanwar89 kodamaChameleon techsolo12 zthxxx

repo: NginxProxyManager/nginx-proxy-manager


text:
An option to combine graphql in heart monitor

Multiple updater requests can happen in one call

Duplicate of https://github.com/NibiruChain/web-app/issues/667

repo: NibiruChain/ts-sdk


text:
Most languages - Field papers needs updating

Document in mobile-mapping section of all languages except German & English is actually about (Portuguese section talks of walking papers with a different permalink) - needs updating.causes broken links & 404 errors.
Should we remove this altogether - walking papers is now so far out of date that this guide may not be useful.
Options

add a comment at head of file that this section of LearnOSM is out of date and needs updating
delete the file
do nothing - not really an option

I've added a comment at the head of the file
Caution - this section is known to be out of date - there is an current section at [English - field papers](/en/mobile-mapping/field-papers/) or [German](/de/mobile-mapping/field-papers/)

@michael63-osm I suggest I make this one of the first files to be translated on transifex. Would it be best to have the German or English version as the 'base' for this - I suspect most of our translators can cope with English to ?, but don't know how many would be able to deal with German to ?

@Nick-Tallguy it really does not matter as the contents is identical. After having translated the document to German I made the same screenshots again using the English interface and made further necessary amendments to the English document so both are now synchronized.

On Transifex now. When translated problem is solved


text:
Add a requirement on .Net Framework 4.6

A requirement on .Net Framework 4.6 should be documented because the software is not compatible with older .Net frameworks.
Indeed exception are thrown when trying to save a gif or some other actions:
MissingMethodException: '!!0[] System.Array.Empty()'.

 à ScreenToGif.Windows.Editor.ShowPanel(PanelType type, String title, String vector, Action`2 apply)
   à ScreenToGif.Windows.Editor.SaveAs_Executed(Object sender, ExecutedRoutedEventArgs e)
   à System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   à System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   à System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   à System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   à System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   à System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   à System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   à System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   à System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   à System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   à MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   à System.Windows.Controls.Primitives.ButtonBase.OnClick()
   à System.Windows.Controls.Button.OnClick()
   à System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   à System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   à System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   à System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   à System.Windows.Input.InputManager.ProcessStagingArea()
   à System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   à System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   à System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   à System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

ah aloready done sorry

repo: NickeManarin/ScreenToGif

license: MS-PL


text:
can support macOS  ?

I not found how to build in macOS system, Does it support？

Duplicate of #481, #29 and many others.
It seems that this application relies on some features available only for Windows.
For more information about cross-platform, please track #579.
Hope this is helpful to you.

I hope that with .NET MAUI, I'll be able to provide a cross-platform solution.

authors: NickeManarin YalandHong luckywzy


text:
use onsets and offsets in seconds, not Hz, for make_notmat function

since .not.mat files have onsets and offsets in seconds
this makes it possible to "round trip" from .not.mat to Annotation and back without anything besides the .not.mat file (e.g. without getting sampling frequency from the associated audio file)

fixed by #45

repo: NickleDave/crowsetta


text:
🛑 cedro is down

In d6d7ade, cedro (https://www.cedro.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cedro is back up in a90f136.

repo: NicolasAbihaggle/serviciosestados


text:
A question about the training time and GPU

Hi,
I tried to train the model on a  low-level GPU, like 2080Ti, but soon ran out of memory.
I want to ask some questions: what type of GPU is used for training? How many GPUs are used? How long did they train each time?
Thank you!

Hi @StephenHzj， we suggest running this project on a Linux server with 24G GPU, e.g., 3090TI or RTX 6000. And the training time was not saved. By the way, could you star this project?

Thanks for your reply.

authors: Nicozwy StephenHzj

repo: Nicozwy/CofCED


text:
Mappings in nl-core profiles

The 'nl-core' profiles may add concepts that are used in one or more use cases. These concepts get a mapping to the functional model where these are defined (e.g. a mapping to a dataset/transaction in ART-DECOR).
For the medication-related zibs, concepts of the MP dataset are profiled in the nl-core profiles. These get a mapping to the MP9 2.0.0 dataset. This dataset inherits the zib concepts. Do we need to provide a mapping in the nl-core profile to the zib concepts too?
This makes it more explicit and gives a nice mapping overview if you select the MP mappings. It comes however at the costs of more work and more governance.

Discussed with Arianne that it would be a better idea to stick to our current approach. Although a complete mapping to the MP dataset would be preferred and helpful, it does not seem to outweigh the negatives. It will be a lot of manual work that is prone to errors and will require work in the governance of it, while the mapping is already present in the zib mapping.
Perhaps we could include in the Profiling Guidelines that a general rule or recommendation is that nl-core- and use-case mappings are added next to the zibs mappings. So concepts that are defined similarly in the use case as by the zib would only get a zib mapping. Profile consumers should therefore be aware that they need to look at the zib mappings + the use case mappings.
@pieter-edelman-nictiz and @jduwel do you agree and do you think this should be included in the profiling guidelines?

There's a bit of a fundamental discussion that underlies this issue. It's not really clear what we want to use our profiles for, and if there maybe should be multiple profiles for different goals -- with mappings on different places.
In any case, if we decide to add use case mappings next to the zib mappings, this should be done in automated fashion.

authors: ArdonToonstra pieter-edelman-nictiz


text:
Cert error on https://alpha.html5test.com/

IF one goes to the HTTPS version of the site, it generates a cert error, blocking the page: https://alpha.html5test.com/index.html
(http://html5test.com will auto forward to HTTPS, so I hit this when editing URL to go to alpha version. It may be an issue which goes away when the alpha version moves to the bare www URL)

This is a known issue. I can't use Let's Encrypt yet on this server and I don't think paying for a certificate for this temporary location makes much sense at this stage.

authors: NielsLeenheer dstorey


text:
Feature request: padded convolution

convolutional layer should support padding mode such as "CONSTANT", "REFLECT", "SYMMETRIC", in addition to "same" and "valid".

A possible implementation of this can be found in https://github.com/NifTK/NiftyNet/pull/336

authors: stian-johnsen wyli

repo: NifTK/NiftyNet


text:
SpatialContextFactory.MakeSpatialContext() method is missing Assembly parameter

In the original implementation, a ClassLoader instance was passed into the SpatialContextFactory.MakeSpatialContext() method as the second argument. However, we have omitted that argument from the port.
The closest equivalent in .NET to ClassLoader is the Assembly class. We should allow passing Assembly explicitly to cover cases where the assembly is not loaded in the current AppDomain and to put the implementation more in line with the original.
Similarly, other methods that accepted ClassLoader in Java need to be reviewed (two of them are  SpatialPrefixTreeFactory.MakeSPT()), but in most cases we can fix these without a breaking change by adding an additional overload.
In .NET, it makes more logical sense to throw ArgumentNullException if the argument passed is null on the "original" overload.

Fixed in https://github.com/synhershko/Spatial4n/pull/13


text:
Failed to run

I'm new to rust and bevy so I don't know how to fix it, but here is the error message when I failed to run it.
 Running `target/debug/screen-ball`

thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7ffc21d9ab23', /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xcb-1.2.0/src/base.rs:269:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'main' panicked at 'panic in a function that cannot unwind', library/core/src/panicking.rs:126:5

This is the backtrace, maybe if this helpful
cargo run RUST_BACKTRACE=1
warning: function `non_primary_displays` is never used
  --> src/util.rs:14:8
   |
14 | pub fn non_primary_displays() -> Vec<DisplayInfo> {
   |        ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `screen-ball` (bin "screen-ball") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.47s
warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target/debug/screen-ball RUST_BACKTRACE=1`
thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7fff95bf2883', /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xcb-1.2.0/src/base.rs:269:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'panic in a function that cannot unwind', library/core/src/panicking.rs:126:5
stack backtrace:
   0:     0x55e9c456671a - std::backtrace_rs::backtrace::libunwind::trace::h9a6b80bbf328ba5d
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55e9c456671a - std::backtrace_rs::backtrace::trace_unsynchronized::hd162ec543a11886b
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55e9c456671a - std::sys_common::backtrace::_print_fmt::h78a5099be12f51a6
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x55e9c456671a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha1c5390454d74f71
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55e9c458b4af - core::fmt::write::h9ffde816c577717b
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/fmt/mod.rs:1254:17
   5:     0x55e9c4563755 - std::io::Write::write_fmt::h88186074961638e4
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/io/mod.rs:1698:15
   6:     0x55e9c45664e5 - std::sys_common::backtrace::_print::h184198273ed08d59
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x55e9c45664e5 - std::sys_common::backtrace::print::h1b4d8e7add699453
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x55e9c4567c9e - std::panicking::default_hook::{{closure}}::h393bcea75423915a
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:269:22
   9:     0x55e9c4567a45 - std::panicking::default_hook::h48c64f31d8b3fd03
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:288:9
  10:     0x55e9c45681fe - std::panicking::rust_panic_with_hook::hafdc493a79370062
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:691:13
  11:     0x55e9c45680b2 - std::panicking::begin_panic_handler::{{closure}}::h0a64bc82e36bedc7
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:580:13
  12:     0x55e9c4566b86 - std::sys_common::backtrace::__rust_end_short_backtrace::hc203444fb7416a16
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:150:18
  13:     0x55e9c4567e52 - rust_begin_unwind
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:578:5
  14:     0x55e9c17c8fb3 - core::panicking::panic_nounwind_fmt::hd4fea0bcbbc9daea
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:96:14
  15:     0x55e9c17c9061 - core::panicking::panic_nounwind::h07db722b03cd9dbd
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:126:5
  16:     0x55e9c17c91f3 - core::panicking::panic_cannot_unwind::hfaa00866a3a05433
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:188:5
  17:     0x55e9c1859d8a - <T as xcb::base::WiredOut>::serialize::h8cfb59bad48f29c0
                               at /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xcb-1.2.0/src/base.rs:266:5
  18:     0x55e9c185d56f - <xcb::xproto::GetProperty as xcb::base::RawRequest>::raw_request::h32a3b293ff967abc
                               at /home/mars/Downloads/screen-ball/target/debug/build/xcb-80d464041c47195a/out/xproto.rs:13995:9
  19:     0x55e9c1856b44 - xcb::base::Connection::send_request::hc11403962a718c54
                               at /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xcb-1.2.0/src/base.rs:1416:43
  20:     0x55e9c1854821 - display_info::linux::get_scale_factor::h65d89556ad046e7a
                               at /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/display-info-0.4.1/src/linux.rs:28:29
  21:     0x55e9c185532a - display_info::linux::get_all::h7a59d31f546e8b2b
                               at /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/display-info-0.4.1/src/linux.rs:89:22
  22:     0x55e9c1852d9d - display_info::DisplayInfo::all::hc1da588186849867
                               at /home/mars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/display-info-0.4.1/src/lib.rs:32:5
  23:     0x55e9c17c9e4b - screen_ball::util::primary_display::h074639edd3d747e8
                               at /home/mars/Downloads/screen-ball/src/util.rs:4:24
  24:     0x55e9c17ca531 - screen_ball::main::hb2de02f4f3105252
                               at /home/mars/Downloads/screen-ball/src/main.rs:12:27
  25:     0x55e9c17dac5b - core::ops::function::FnOnce::call_once::hbefe846fa006d76c
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:250:5
  26:     0x55e9c18310fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h44cf79ad55be1df7
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:134:18
  27:     0x55e9c1825c81 - std::rt::lang_start::{{closure}}::h28c0b8679c2067ab
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/rt.rs:166:18
  28:     0x55e9c455d92e - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hb1327dc2ef3fecdf
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:287:13
  29:     0x55e9c455d92e - std::panicking::try::do_call::h4044173225fe83dd
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:485:40
  30:     0x55e9c455d92e - std::panicking::try::hd8a722c09d156a53
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:449:19
  31:     0x55e9c455d92e - std::panic::catch_unwind::hd2ca07971cf0119b
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panic.rs:140:14
  32:     0x55e9c455d92e - std::rt::lang_start_internal::{{closure}}::h26d89d595cf47b70
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/rt.rs:148:48
  33:     0x55e9c455d92e - std::panicking::try::do_call::hf47aa1aa005e5f1a
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:485:40
  34:     0x55e9c455d92e - std::panicking::try::h73d246b2423eaf4e
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:449:19
  35:     0x55e9c455d92e - std::panic::catch_unwind::hbaaeae8f1b2f9915
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panic.rs:140:14
  36:     0x55e9c455d92e - std::rt::lang_start_internal::h76f3e81e6b8f13f9
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/rt.rs:148:20
  37:     0x55e9c1825c5a - std::rt::lang_start::h58d0ae5e05ecf6c2
                               at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/rt.rs:165:17
  38:     0x55e9c17cb25e - main
  39:     0x7f8d185e1850 - <unknown>
  40:     0x7f8d185e190a - __libc_start_main
  41:     0x55e9c17c96f5 - _start
  42:                0x0 - <unknown>
thread caused non-unwinding panic. aborting.
[1]    38383 IOT instruction (core dumped)  cargo run RUST_BACKTRACE=1

Looks like the panic was caused by dependency code when trying to get monitors infos. I could run my game on MacOS and Windows, are you using Linux?

I see, after you give me a hint where is the problem.
I think the problem is on the util.rs that use  display-info crate.
After looking up display-info crate on the doc, it have Linux requirement.
Linux requirements
On Linux, you need to install libxcb、libxrandr
Debian/Ubuntu:
apt-get install libxcb1 libxrandr2
I will try that tomorrow and hopefully will work, thank you

Turn out I already have libxcb1 and libxrandr2 installed.
So I try to update Cargo.toml display-info version
display-info = "0.4.2"
After updating to display-info 0.4.2 which is released last month, it working now. :D

authors: Moanrisy lewiszlw

repo: NightsWatchGames/screen-ball


text:
Start section serialization lacks section size

This input:
(module
  (type (;0;) (func))
  (func (;0;) (type 0))
  (start 0))

converted to wasm via wabt produces this byte sequence (hexdump -C):
00000000  00 61 73 6d 01 00 00 00  01 04 01 60 00 00 03 02  |.asm.......`....|
00000010  01 00 08 01 00 0a 04 01  02 00 0b                 |...........|
0000001b

and round-tripped with the new roundtrip example program produces this output byte sequence:
00000000  00 61 73 6d 01 00 00 00  01 04 01 60 00 00 03 02  |.asm.......`....|
00000010  01 00 08 00 0a 04 01 02  00 0b                    |..........|
0000001a

The difference is that the start section is missing the section length. The start section is "08 01 00" in the input and "08 00" in the output.

yep, there is a bug here:
https://github.com/NikVolf/parity-wasm/blob/master/src/elements/section.rs#L159
i'll add fix in a moment

That was probably the only section we never used in our wasm mvp
since they are all compiled with #![no_main]
thanks for spotting it!

authors: NikVolf sunfishcode

repo: NikVolf/parity-wasm


text:
增加充值金额和使用金额计算的函数

1、增加充值金额计算的函数。
2、增加使用金额计算的函数。
3、虽然暂时没用，但以后就可以通过充值金额或使用金额判断是否显示某内容。（非余额）
4、调用方法，获取充值金额函数$user->getRechargeMoney()获取使用金额函数$user->getUseMoney()
5、手动输入的金额以及邀请金额没有充值记录，不计入充值金额。

老哥你是想搞心悦会员那套机制么

老哥有没有兴趣帮忙完成点【待办事项】?

待办事项，除了那个教程可能做不出来，其他都可以，但是我做的这些功能都是我需要的，等我需要的话我可能会做。

@aiden3434 大佬真是勤勉啊

authors: NimaQu SoDa-GitHub aiden3434


text:
remove unused variable in lib/flutter_nsd.dart:83:17

unused variable causes static analysis errors and reduced pub points

Thanks for the heads up. I'll take care of it.

authors: Nimrodda jnstahl


text:
Add stack size analysis to CI

This patch adds a CI job that prints the stack sizes for the functions in the stable NK3 firmware as well as the necessary tooling.
Fixes: https://github.com/Nitrokey/nitrokey-3-firmware/issues/313

Currently, this just prints the stack sizes.  We should try to transform this into some metrics, but I’m not sure what would be useful:

max/total/average/median stack size
n-th percentile stack size
sum of top-k or top-n-% functions

Ideally we would have the max stack usage per call path but AFAIR we did not get useful results with the existing tooling.

The sum is not useful for functional changes, but I think it could be used to analyze refactoring.  We saw that minor changes that look like a no-op can have drastic effects on stack usage (e. g. https://github.com/trussed-dev/iso7816/pull/20).  And sometimes, inlining decisions change during refactoring.  Both should be observable via the sum.  Of course a change would then require manual investigation, but it could potentially be a first indicator.
Tracking individual functions would also be an option, but it requires us to keep much more state to perform the comparison against, and non-trivial changes can introduce a lot of noise.

Ok I see the appeal of the sum, but the issue I have with it is that if the sum of code-paths that cannot happen at the same time increases it's not really relevant. I also prefer the idea of tracking functions individually, but tracking it across commits would be much harder (and without even taking into accounts generics/name-mangling).
I think on the other hand that tracking the count of function that have stack usage higher than some threshold is great, and wouldn't be that complex. We could manually set the limit, ensuring that any new stack-intensive function is detected and intentional. No need to keep state in the CI itself, but we can detect the introduction of any outlier.

For me this would just be informational.  It is then up to the author to decide if that change is expected for the current PR or if it is something to investigate.  Tracking the count above a threshold sounds interesting.  But I would still like to combine this with some quantitative metric – maybe average of functions above the threshold?

I tend to prefer to see the top 10 percentiles and then deciles over averages.

authors: robin-nitrokey sosthene-nitrokey


text:
Added source code for 'Counting Number of Inversion' problem in Java

Related Issue
Closes: #843
Describe the changes you've made
Added source code for 'Counting Number of Inversion' problem in Java
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Java
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review my code.

Problem name is "Merge Sort- Counting Inversions"

Updated the file & folder name


text:
nanopc-t4: remove deprecated serial speed

This option no longer has any effects. We can set kernel parameter now, but since I don't this device it's not clear to me which tty I would need to configure.
cc @jakubgs

Is this related to the new 21.11 release?

Is this related to the new 21.11 release?

Yes. But it's also an issue on unstable right now.

repo: NixOS/nixos-hardware


text:
Searches for OSM (Open Street Map) Packags return "Bad Body"

When searching for osmgpsmap, or any shortened version such as osm, I get a "Bad Body" error with this message:
The Json.Decode.oneOf at json.hits.hits[6]['_source']['package_homepage'] failed in the following 2 ways: (1) Problem with the given value: [ "https://wiki.openstreetmap.org/wiki/osmconvert", "https://wiki.openstreetmap.org/wiki/osmfilter", "https://wiki.openstreetmap.org/wiki/osmupdate" ] Expecting null (2) Problem with the given value: [ "https://wiki.openstreetmap.org/wiki/osmconvert", "https://wiki.openstreetmap.org/wiki/osmfilter", "https://wiki.openstreetmap.org/wiki/osmupdate" ] Expecting a STRING

osmgpsmap is listed as a dependency of the gramps package for genealogy research.

@turboMaCk do you maybe have time to look at this. it looks like package_homepage is not only a string but can be a list of strings. I think we need to update our Page.Packagges.decodeResultItemSource.

I will try to find time over the weekend. I have some issues with backpain for few last days so I'm forbidden to spent more than 8hrs in front of computer per day.
Note: This should be an update in search result type and relevant decoder + fixes related to these changes.

@turboMaCk oh man, take care of your back! this can wait.

Yes, this can certainly wait @turboMaCk !
On Wed, Dec 2, 2020 at 8:56 AM Rok Garbas notifications@github.com wrote:

@turboMaCk https://github.com/turboMaCk oh man, take care of your back!
this can wait.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixos-search/issues/238#issuecomment-737281296,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGZD7TKIRHO6HTKEDDPI6PLSSZIRBANCNFSM4UFO7HQA
.

--
Charles Suggs
worker-owner, full stack developer @
FullSteam Labs http://fullsteamlabs.com
+1.828.202.5300 <+18282025300>
fax: +1.747.529.9375 <+17475299375>
encrypt: 9A03 4B63 B969 DDD8 CE51 ADDB 7C17 2D8E 6E1C DBEA
https://keys.openpgp.org/search?q=charles%40fullsteamlabs.com
Please direct messages requesting web/tech support to
support@fullsteamlabs.com. Thanks!
FullSteam Labs will be closed Nov. 26, Nov. 27, Dec. 25, and Jan. 1. If
you anticipate having needs near to those dates please let us know in
advance.
FullSteam Labs stands in solidarity with Black Lives Matter
https://blacklivesmatter.com/, proudly supports Southerners on New Ground
https://southernersonnewground.org/, and endorses the Energy Innovation
and Carbon Dividend Act https://energyinnovationact.org/ (H.R. 763).

Sorry for delays. These health issues caught me completely off guard messing all my plans. Luckily it turned out not to be chronic and I feel completely fine again. Thanks for the report and patience @charlesfsl. https://github.com/NixOS/nixos-search/pull/255 should fix the issue.

authors: charlesfsl garbas turboMaCk

repo: NixOS/nixos-search


text:
nm-tui and nm-cli are missing

The nix package manager has so far been great almost comparable to the AUR but a few packages I use like nm-tui and nm-cli are missing these make setting up WiFi really easy and should honesty be in the installer as well in my opinion I hate doing anything with setting up WiFi manually personally

Apparently nmtui exists in the repos but does not show up via search

Thank you for reporting.
I think the documentation does not mention that his are not the names of the packages, but names of the executables. At this point we don't index this, but we might do this in the future.
I'm closing this issue, since the feature is already planned.

thx :D

authors: garbas nonetrix


text:
launch gcompris on ubuntu

Describe the bug
Launching gcompris give me a coredump :
Qt: Session management error: None of the authentication protocols specified are supported
Unable to load translation for locale  "fr_FR" , use en_US by default
exeCount set to:  3
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
[1]    32359 abort (core dumped)  /nix/store/kfzqgka7yyszbr5yw3649fx1izbflwfd-gcompris-0.98/bin/gcompris-qt

To Reproduce
Steps to reproduce the behavior:

nix-env -iA nixpkgs.gcompris (on Ubuntu)
launch gcompris

https://github.com/guibou/nixGL Probably the opengl issue

authors: Artturin mothsART

repo: NixOS/nixpkgs


text:
CraftOS Emulator

Project Description
an emulator for the ComputerCraft minecraft mod allowing for easy development of lua programs
Metadata

homepage URL: https://www.craftos-pc.cc/
source URL: https://github.com/MCJack123/craftos2
license: mit
platforms: linux

I have some code from user u/arienh4 on the nixos subreddit who helped me out with this. I have no idea how to do this so I don't know what it means but it might be helpful for people who do. `{ stdenv, fetchFromGitHub, poco, openssl, SDL2, SDL2_mixer }:
stdenv.mkDerivation rec {
name = "craftos-pc-${version}";
version = "2.4.5";
src = fetchFromGitHub {
owner = "MCJack123";
repo = "craftos2";
rev = "eeb9656cd8dd163b94082761197a784819bf2108";
sha256 = "00a4p365krbdprlv4979d13mm3alhxgzzj3vqz2g67795plf64j4";
};
craftos2-lua = fetchFromGitHub {
owner = "MCJack123";
repo = "craftos2-lua";
rev = "c4dbbac1cf5341dd74ddaec3135425886859d18d";
sha256 = "13bxsb7xayj8i9b6c78bzy9rpfgy032b7cwh1cgb8443d36whjj3";
};
buildInputs = [ poco openssl SDL2 SDL2_mixer ];
preBuild = ''
cp -R ${craftos2-lua}/* ./craftos2-lua/
chmod -R u+w ./craftos2-lua
make -C craftos2-lua linux
'';
installPhase = ''
mkdir -p $out/bin
DESTDIR=$out/bin make install
'';
}
`


text:
sway with "exec" command would lost some env variables like GTK_IM_MODULE

Describe the bug
When running commands using sway's exec, you'll notice that some environment variables are missing. For me this make my input method not works on Firefox if I invoke it via sway bindsym exec > Firefox
I'm not 100% sure if this a NixOS issue or Sway issue so please forgive me if I'm wrong. It's possible to workaround (?) this issue by using bindsym $mod+f exec bash --login -c "firefox".
To Reproduce
Steps to reproduce the behavior:

add exec_always "env > /tmp/env" to your .config/sway/config
enter sway or reload it to invoke the previous command we just added
inspect /tmp/env

you could run env > /tmp/shell_env && diff /tmp/env /tmp/shell_env to check the difference

Expected behavior
The sway exec running environment should contain at least important variable like GTK_IM_MODULE.
Screenshots
No snapshot here.
Additional context
Nothing special.
Notify maintainers
@primeos
Metadata

system: "x86_64-linux"
host os: Linux 5.4.87, NixOS, 20.09.20210108.0cfd08f (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20201201_5a6ddb3
channels(root): "nixos-20.09.2290.647cc06986c, nixos-hardware, nixpkgs-21.03pre258655.00941cd747e"
channels(kk): "home-manager-20.09, nixos-20.09.2538.0cfd08f4881, nixpkgs-21.03pre262186.e49e3a756b3"
nixpkgs: /home/kk/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
- programs.sway.enable
# a list of nixos modules affected by the problem
module:
- <nixpkgs/nixos/modules/programs/sway.nix>

Please feel free to ask me for more information, also I'm willing to help if this is an actual issue of NixOS :)

This is probably similar to https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-753851568. Given that bash --login fixes it I assume that you're using a graphical display/login manager to start Sway? In that case #109546 would be what's needed (I just created that issue since this already came up a couple of times and apparently we still had no dedicated issue for it).

This is probably similar to https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-753851568. Given that bash --login fixes it I assume that you're using a graphical display/login manager to start Sway? In that case #109546 would be what's needed (I just created that issue since this already came up a couple of times and apparently we still had no dedicated issue for it).

I assume that you're using a graphical display/login manager to start Sway?

Yes, I use GDM to start Sway.
And https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-753851568 looks exactly like my problem.

I assume that you're using a graphical display/login manager to start Sway?

Yes, I use GDM to start Sway.
And https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-753851568 looks exactly like my problem.

Ok, in that case it's a NixOS issue/limitation. I'll close this issue in favor of #109546 then as, at least in theory, this should affect all Wayland compositors (and their NixOS modules) and it would be ideal if we can write an abstraction for all of them. And thanks for your report.

Ok, in that case it's a NixOS issue/limitation. I'll close this issue in favor of #109546 then as, at least in theory, this should affect all Wayland compositors (and their NixOS modules) and it would be ideal if we can write an abstraction for all of them. And thanks for your report.

You're welcome :)

You're welcome :)

authors: TheKK primeos


text:
Cryptsetup doesn't label filesystem

When using filesystem.encrypted.* there doesn't seem to be way to lable the resulting block device create by cryptsetup luksOpen in encrypted-devices.nix:66 when I try to call cryptsetup luksOpen in unstable without a label as an argument it fails with
Command requires device and mapped name as arguments..
I can't get any configuration of filesystem.encrypted.* to mount my encrypted devices on boot, and I believe this is the cause of it.

Already fixed in master.


text:
nixpkgs manual: warning: lib.readPathsFromFile is deprecated

Describe the bug
I get this warnings when opening nix-shell for manual:
[davidak@gaming:~/code/nixpkgs/doc]$ nix-shell
trace: lib.crossLists is deprecated, use lib.cartesianProductOfSets instead
trace: `mkStrict' is obsolete; use `mkOverride 0' instead.
trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
trace: warning: lib.readPathsFromFile is deprecated, use a list instead
trace: Warning: `showVal` is deprecated and will be removed in the next release, please use `traceSeqN`
trace: lib.zip is deprecated, use lib.zipAttrsWith instead
these derivations will be built:
  /nix/store/9zz2jxwyb2abix1fy24hpdkxd3caa92j-epub.xsl.drv
  /nix/store/cd41m3dip3ygi6s2mfv066cc0jzq0x9l-xhtml.xsl.drv
  /nix/store/qcg7k535a5rs3rkf4kzz93rdcvn904s4-locations.xml.drv
  /nix/store/iwvmrda8ypzg6h4wqh90xnivmb1myf9h-nixpkgs-lib-docs.drv
  /nix/store/68v6x94cpnvnbaynch6g7ncwl7647sdv-doc-support.drv
these paths will be fetched (351.53 MiB download, 675.01 MiB unpacked)
...

It still works.
This was first mentioned in https://github.com/NixOS/nixpkgs/issues/63513#issuecomment-786770936
Might get fixed by https://github.com/NixOS/nixpkgs/pull/108063
To Reproduce
Steps to reproduce the behavior:

Follow Contributing to this documentation

Expected behavior
no warnings
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata

system: "x86_64-linux"
host os: Linux 5.11.2, NixOS, 21.05pre274338.102eb68ceec (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.10
channels(root): "home-manager-20.09, nixos-21.05pre274338.102eb68ceec, nixos-hardware, nixos-unstable-21.05pre274338.102eb68ceec"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

The warnings were re-introduced by https://github.com/NixOS/nixpkgs/commit/b3792b44c55ce58147055e553cd45f1f04ca3e51 (cc @infinisil).
I don't know if we should just accept this or extend the libsets with subsets like lib.path.subpath.

authors: davidak ncfavier


text:
Convert prefer-remote-fetch from Docbook to CommonMark

This issue tracks the conversion of /doc/functions/prefer-remote-fetch.xml from Docbook to CommonMark per RFC 72.
If you intend to work on this conversion, please comment below!
Conversion instructions

Comment here that you intend to work on it. (Please also post if you stop working on it.)
Checkout a new branch of nixpkgs master.
Edit /doc/functions.xml: change prefer-remote-fetch.xml to prefer-remote-fetch.section.xml.
Rename /doc/functions/prefer-remote-fetch.xml to prefer-remote-fetch.section.md.
Convert the contents from Docbook to CommonMark. Follow conversion best practices. Use existing .md sections for inspiration.
Use nix-build from the doc/ folder to build the manual.
Preview the manual on your computer at http://0.0.0.0:8000/manual.html after running from doc/ folder:

nix-shell -p python3 --run 'python3 -m http.server --directory ./result/share/doc/nixpkgs'

When it looks good, submit a PR and reference this issue.

I'll work on this.


text:
chromium: Missing fonts

Describe the bug
Chromium on unstable does not render fonts.
Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p chromium

Expected behavior
Fonts should be displayed.
Screenshots

Additional context
see https://discourse.nixos.org/t/qutebrowser-rendering-is-failing/14202
Notify maintainers
@squalus @primeos @thefloweringash @bendlas
/cc @nrdxp
Metadata
asbachb@nixo-t14s  ~  nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.13.3, NixOS, 21.11pre303315.16105403bdd (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.14`
 - channels(asbachb): `"nixos-21.05pre286647.4518794ee53, nixos-20.09-20.09.4025.dc326c78a93"`
 - channels(root): `"nixos-21.11pre303315.16105403bdd, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
* chromium
# a list of nixos modules affected by the problem
module:
* programs.chromium.enable

As stated in the referenced discourse, this is also affected qutebrowser on unstable, so it must be something in the underlying font engine they are using

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/qutebrowser-rendering-is-failing/14202/5

See #131074, already fixed in master (and Hydra: https://hydra.nixos.org/build/148449692) and will be available with the next channel update.

authors: asbachb nixos-discourse nrdxp primeos