text:
Autologin user no support remote desktop

In using Autologin user, mstsc no remote login.But delet /home/user/.Xauthority file,mstsc can login.
cd  /home/username rm .Xauthority
-rw-------  1 u    u        53 Mar 31 02:50 .Xauthority
For any user,ss long as you have not logged in remotely,mstsc non login success.Delete Xauthority,mstsc can login.
What is the impact of 'Xauthority' files on xrdp  remote login?

When you create a session, xrdp-sesman stores a shared secret in $HOME/.Xauthority which is shared between the X server and the X clients. This is a security measure to stop another user from connecting to your X server.
If sesman is unable to write to this file, the session is not created.
sesman uses the xauth command to access the X authority file.
When this happens again, can you do the following as your user username? Either log in using ssh, or use su/sudo to become username:-
export XAUTHORITY=$HOME/.Xauthority
ls -l $XAUTHORITY
xauth list
xauth add :99 MIT-MAGIC-COOKIE-1 1234567890
xauth remove :99

That will give us a clue as to why you can't write to this file.

source: gharchive/issue

license_type: permissive

license_source: bigquery


text:
feat: cron #ntrn-413

adds a cron module
can add (dao only) or remove (dao or security only) schedules to execute arbitrary cosmwasm contract msgs at given periods
implements this task: https://p2pvalidator.atlassian.net/browse/NTRN-413
Test run: https://github.com/neutron-org/neutron-tests/actions/runs/4572781964

https://github.com/neutron-org/neutron-tests/actions/runs/4598701363

https://github.com/neutron-org/neutron-tests/actions/runs/4603665947

https://github.com/neutron-org/neutron-tests/actions/runs/4605338708

source: gharchive/pull-request

repo: neutron-org/neutron

license_source: github-api


text:
Overlay Permission

Does somebody know how to turn on overlay permissions on this phone?

I just seen this guide: https://techforesta.com/display-over-other-apps-feature-not-available/
the command neded in adb is: adb shell pm grant  android.permission.SYSTEM_ALERT_WINDOW
 - the desired package name for the specific app ( not the same as the name of the app)
It can be discovered with this app: https://play.google.com/store/apps/details?id=com.csdroid.pkg&hl=en&gl=US
I have the apk right here:https://package-name-viewer-2-0.en.softonic.com/android/download
I didn't discover how to enable it systemwide but at least it stays like this once activated on each app

Does somebody know how to turn on overlay permissions on this phone?

If you have root per this repo, use a permissions manager app, (permissions manager x from F-Droid is good).  You can set SYSTEM_ALERT_WINDOW per app

license: Unlicense


text:
Поддержка выделения большей оперативной памяти

На данный момент стоит ограничение на выделение оперативной памяти в 4 Гб, что по нынешним меркам очень мало, так как многие сборки с модами на 1.12.2 требуют для работы минимум 6-8 Гб.

Покажи нам, пожалуйста, эту шикарную сборку, где надо 8 гигов ОЗУ... Уж больно интересно как ты туда модов 600 засунул без конфликтов

@Zimon4eR будто бы так сложно зайти на CurseForge и посмотреть какие есть популярные сборки.
Вот например есть такая сборка:
https://minecraft.curseforge.com/projects/modern-skyblock-3-departed
на странице сборки чётко написано что требуется 6-8 Гб оперативной памяти, если сборке выделить всего 4 Гб, то она зависнет на загрузке модов и таких сборок там множество. Майнкрафт давно стал требователен в больших сборках на более новых версиях, на 1.7.10 с горем пополам этих 4 Гб хватало, но на 1.10+ уже нет.
Да и о каких конфликтах идёт речь? После удаления id-шников в 1.7.10 конфликты между модами сведены к минимуму.

Требую такую сборку, хочу лично протестировать. А пока - ложь, пиздёж и провокация. Я сборки и на 200+ модов собирала и жрали они гига два обычно

И вообще, игроков которые могут столько выделить памяти майнкрафту, можно пересчитать по пальцам одной руки, и мне не совсем понятна ЦА сервера с такой сборкой. Но если такая сборка таки существует, окей, я увеличу лимит.

Я не удивлена. Это было бы просто смешно если игра вроде майнкрафта на серьёзных щах не важно с какими обвесами требовала бы больше 2г памяти. У лаунчера лимит 4

@Zimon4eR как ты предлагаешь играть на сборках с 200+ модами и изменёнными рецептами без JEI? Самая популярная сейчас сборка SevTech: Ages, там изменено множество рецептов и без такого инструмента как JEI играть в неё невозможно.
https://minecraft.curseforge.com/projects/sevtech-ages
Очень сомнительный довод переделывать готовые популярные сборки, чтобы они были менее функциональны, зато вписывались в потребление памяти в 4 Гб.
Если вы не играете в такие сборки это не значит что это никому не нужно, на 1.7.10 есть такие же проблемы на популярной сборке с GregTech, а с 1.10+ на 4 Гб стало проблематично играть на каждой 2-3 сборке.

@cyber01 с удовольствием прочитаю инструкцию как это сделать.

license: WTFPL


text:
MAPPING.CONFIG not found when calling genabout.py from a different directory

Running genabout.py with the --mapping option fails to find MAPPING.CONFIG when calling genabout.py from a directory that doesn't contain genabout.py.
Running the following command from the root directory of AttributeCode:
python about_code_tool/genabout.py --mapping
gives the error:
ERROR: The file 'MAPPING.CONFIG' does not exist.
even when MAPPING.CONFIG exists in the same directory as genabout.py.
However, when you call genabout.py from the same directory that it is in, this error does not occur.

Fixed in #268

repo: nexB/attributecode


text:
🛑 Openweb Service (PLAY) - Proxy is down

In 7219127, Openweb Service (PLAY) - Proxy ($OPENWEB_HEALTH_PLAY/proxy) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Openweb Service (PLAY) - Proxy is back up in 6c7be31.

license: MIT


text:
🛑 /searchMusic - Search for music by keyword is down

In ca3155e, /searchMusic - Search for music by keyword (https://nextpost.tech/tiktok-api/searchMusic?keyword=apple&cache_timeout=0&license_key=$API_KEY) was down:

HTTP code: 400
Response time: 1105 ms

Resolved: /searchMusic - Search for music by keyword is back up in 90b1c78.

repo: nextpost-tech/tiktok-status


text:
[BUG] - Table has a Spacer causing issue when Wanting to Create a custom Table Design

NextUI Version
2.2.9
Describe the bug
I'm customizing the <Table/> component and attempting to apply my own classNames to alter the header appearance to a more standard style. However, after overriding the default classNames, I'm observing a gap following the headers, as shown in the attached screenshot. This seems to be caused by the <Spacer as="tr" tabIndex={-1} y={1} /> component that is part of the Table component's structure. https://github.com/nextui-org/nextui/blob/main/packages/components/table/src/table.tsx.
I'm wondering if it would be possible to add an additional Prop like withoutSpacer
It seems like it would be pretty simple to implement
{props?.withoutSpacer ? null :  <Spacer as="tr" tabIndex={-1} y={1} />}

Here is an Example of my Custom Table:

Here is a full Code Example
import { faker } from "@faker-js/faker";
import { Table, TableBody, TableCell, TableColumn, TableHeader, TableRow } from "@nextui-org/react";
import React from "react";
type TableColType = {
  uid: string;
  name: string;
};

type TableRowType = {
  id: string;
  name: string;
  age: number;
  address: string;
};

export default function NextUICustomTable() {
  const fakeTableColumns: TableColType[] = [
    { uid: "name", name: "Name" },
    { uid: "age", name: "Age" },
    { uid: "address", name: "Address" },
  ];

  const tableRows: TableRowType[] = React.useMemo(() => {
    return Array.from({ length: 5 }, () => ({
      id: faker.string.uuid(),
      name: faker.person.fullName(),
      age: faker.number.int({ min: 18, max: 72 }),
      address: faker.location.streetAddress(),
    }));
  }, []);

  const renderTableColumn = React.useCallback((col: TableColType) => {
    switch (col.uid) {
      default:
        return col.name;
    }
  }, []);

  const renderTableCell = React.useCallback((row: TableRowType, key: React.Key) => {
    const value = row[key as keyof TableRowType];
    switch (key) {
      default:
        return value;
    }
  }, []);

  return (
    <Table
      radius="sm"
      classNames={{
        table: "p-0 m-0",
        thead: "[&>tr]:first:shadow-none [&>tr]:first:rounded-none border-b-2 border-default-200",
        th: "bg-transparent font-bold text-lg text-green-500 border-r-2 border-default-200 last:border-none pb-0 rounded-none first:rounded-t-none first:rounded-b-none last:rounded-t-none last:rounded-b-none last:rounded-t-none",
        base: "h-full max-w-5xl h-fit",
        td: "text-lg border-r-2 last:border-none border-default-200",
        wrapper: "bg-background dark:bg-default-100 max-w-5xl",
        tbody: "border-t",
        tr: "even:bg-green-500 even:bg-opacity-50 data-[selected=true]:bg-default-100",
      }}
    >
      <TableHeader columns={fakeTableColumns}>
        {(col) => <TableColumn key={col.uid}>{renderTableColumn(col)}</TableColumn>}
      </TableHeader>
      {
        <TableBody items={tableRows}>
          {(tableRow) => (
            <TableRow key={tableRow.id}>
              {(columnKey) => <TableCell>{renderTableCell(tableRow, columnKey)}</TableCell>}
            </TableRow>
          )}
        </TableBody>
      }
    </Table>
  );
}

There is a work around how ever it is not Ideal.
React.useEffect(() => {
    // removes an odd spacer that appears in the table header
    if (typeof window !== "undefined") {
      const elm = document.querySelector("table > thead > tr[tabindex='-1']");
      if (elm) {
        elm.remove();
      }
    }
  }, []);

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create a new NextJS Project
npm i @nextui-org/react framer-motion
Create a Table with @nextui-org/react
use the code snippet in the issue if you need
Observer

I don't think it is necessarily an issue you'd need to try and reproduce as it is already clear to me what the problem is.
Expected behavior
Spacer would be optional
Screenshots or Videos

Operating System Version
Ubuntu 22.04.3 LTS
Browser
Chrome

Hi @Hurly77 there is a second tr indeed in the Table Header, I used this tailwindcss to disable that margin-top: [&>tr:last-child]:!mt-0

Hello! I have the same issue concerning the table header.

I had to add a class to remove this space. [&>tr:last-child]:!h-0
A full fix is [&>tr:last-child]:!mt-0 [&>tr:last-child]:!h-0

A thead row shouldn't be used for layout spacing anyway - it is semantically illogical and creates invalid HTML without a th.
That said... There doesn't appear to be any ideal way to achieve this spacing anyway. https://stackoverflow.com/questions/9258754/spacing-between-thead-and-tbody
... So thanks for the hacks to get around this spacer which is also unwanted in my case!

added the following to the classNames property on the <Table> component: { thead: "[&>tr:last-child]:hidden" }.

thanks, i was looking for a solution for such a case and thanks to you i found it <3

added the following to the classNames property on the <Table> component: { thead: "[&>tr:last-child]:hidden" }.

@elanclarkson, thanks, i was looking for a solution for such a case and thanks to you i found it <3

authors: Hurly77 LidForce RobinGiel elanclarkson ziracmo

repo: nextui-org/nextui


text:
fix: process overflow visible #958

📝 Description
The progress bar shows an exception.
exception:

Correct

⛳ Current behavior (updates)
Setting small values makes the problem worse, as colored areas start to "highlight" circular progress bars visibly.
🚀 New behavior
Display normal
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
For small values, the colored portion of the progress bar component clips out of the circular shape，
Is the design correct?

@tianenpang could you please help me testing this?

Hi @jrgarciadev LGTM, ready to merge 🚀 thanks @wangly19.
Closes https://github.com/nextui-org/nextui/issues/958

authors: jrgarciadev tianenpang wangly19


text:
..

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Versions

Homebridge: homebridge --version
Node:       node --version
OS:

Configuration

Homebridge Log / Command Output

Blank issue, closing

repo: nfarina/homebridge


text:
Homebridge syntax error

I am busy with the Homebridge config.json file. Every time I get an error message (config.json syntax error) what am I doing wrong and can someone help me? This is the following script
{
"mdns": {
"interface": "192.168.178.50"
},
"bridge": {
"name": "homebridge",
"username": "22:34:56:78:9A:BC",
"port": 41813,
"pin": "031-45-154"
},
"description": "piet",
"platforms": [
{
"platform": "config",
"name": "config",
"port": 8080,
"sudo": false
}
],
"accessories": [
{
"name": "Woonkamer",
"apiroute": "http://192.168.1.33",
"accessory": "Daikin-Local"
},
{
"name": "Slaapkamer-1",
"apiroute": "http://192.168.1.33",
"accessory": "Daikin-Local"
},
{
"name": "slaapkamer-2",
"apiroute": "http://192.168.1.33",
"accessory": "Daikin-Local"
}
],
"platforms":[
{
"platform": "Tahoma",
"name": "My TaHoma Box",
        "user": "user@me.com",
        "password": "MyPassw0rd",
    }
]

}

You have two platforms section in the JSON file,
1 adding the config platform at line 12, then again at line 34 adding Tahoma.
Take another look at the sample configuration files, you can only add all platforms in the platform section and accessories later e.t.c.
Presumably you have an iPhone because you're going down the homebridge path, give this app a go. He makes life super easy in an IOS App to configure Homebridge.
https://linkdhome.com/articles/2019/5/1/set-up-homebridge-easily-with-an-app
https://apps.apple.com/au/app/homebridge-for-raspberrypi/id1123183713

authors: sacheswart tknz


text:
Not in scope: `defaultTimeLocale'

I'm trying to install hack2-contrib as part of installing maid. After
cabal update
cabal install

I get the following error
src/Hack2/Contrib/AirBackports.hs:31:26:
    Not in scope: `defaultTimeLocale'

src/Hack2/Contrib/AirBackports.hs:40:23:
    Not in scope: `defaultTimeLocale'
Failed to install hack2-contrib-2015.5.4
cabal: Error: some packages failed to install:
hack2-contrib-2015.5.4 failed during the building phase. The exception was:
ExitFailure 1
maid-2014.10.14 depends on hack2-contrib-2015.5.4 which failed to install.

I'm using OS X 10.10.5 if that matters.

only runs on GHC 7.10 +

authors: nfjinjing twsh


text:
Chap06 07update - notebook setup & restructured modules

@nfmcclure this completes changes to Chapter 6 Section 7.

Created initial version of the jupyter notebook

The major change is how data are obtained.  The code first checks to see if the data is available in the current working directory.  If the data set is not in the current working directory, then it is downloaded from the source and a local csv file is created.

@nfmcclure this finishes Chapter 6 for me.  If you need additional help with setting up other notebooks, let me know.  I'm still willing to help.  If not, I appreciated the opportunity you afforded me.  Working on the notebooks helped me better understand TensorFlow.

Hi @jimthompson5802 ,  Thanks so much for your help!  It's been great.  I need to sit down and work through chapters 7-10 for a bit myself.
But I just noticed that I forgot about the end of chapter 2 (sections 6, 7, and 8).  If you want to, you can work on those, but no pressure.  Your help has been fantastic so far.

@nfmcclure No problem.  This work is helping me get experience with TF.
Re: Chap 2, Sections 6, 7 and 8.  These sections appear to have notebooks.  I noticed, however, that Chap 3, Sections 6, 7 and 8 do not have notebooks.  I'm assuming you meant chap 3.  I'll work on these.

Yes!  Sorry, chapter 3.


text:
Don't grow the main drive partition if the new size is <= 10GB

This operation fails when the new partition size is <= the drive size used when the node template was created (currently 10GB) because partitions cannot be resized to be smaller and the operation also fails when the size stays the same.
This effectively means that primary node disks cannot be smaller than 10GB, which is quite reasonable.

Fixed for v2.2.0

repo: nforgeio/neonKUBE


text:
Fix Issue #8 and other small changes

Several small changes to prevent errors in typescript IDEs.

This is a good idea, but we have to iron out the require.d typings. For me, when I run webpack I get:
Subsequent variable declarations must have the same type.  Variable 'require' must be of type 'WebpackRequire', but here has type 'Require'.

I haven't had time to figure out the right approach here, but if we can fix that, then I'll merge this.

I committed everything except for the require typings in https://github.com/ng-book/angular2-rxjs-chat/commit/863d3a9e6e61fdb44e9c3b34f322b323767e004c
Feel free to re-open if you want to add the require typings.

authors: daynedavis jashmenn

license: mit


text:
Datepicker shall be updated in "real-time" when ngModel / formControl is changed manually

Follow up of https://github.com/ng2-ui/ng2-datetime-picker/pull/46#issuecomment-252666624

Is this really necessary? Unless the implementation is very simple, I would against it.
Hope we find a very simple solution for it.

yep, the PR solves the problem.

authors: Krisa allenhwkim


text:
Usage of uifDialog

Currently the uifDialog has a few issues which need addressing, listed below. Looping in @jigargandhi as the original author and creator of issue #159 relating to creating services
Opening/Closing dialogs
At the very least, in order to make uifDialog usable, suggest we include uif-is-open to allow consumers to control the state of the dialog from within their app.
Markup
The markup required by consumers is complex, see plunk for how it needs to be used. Suggest a new spec for usage as below
<uif-dialog uif-show-close="true" uif-is-open="true" uif-overlay="dark" uif-type="multiline">
    <uif-dialog-header>Upload profile picture</uif-dialog-header>
    <uif-content>
       <uif-dialog-actions uif-position="right">
       </uif-dialog-actions>
    </uif-content>
</uif-dialog>

removes the need for consumers to wrap the header in a tag
close icon and open/closed state is consistent
uif-content is consistent
reduces the need for consumers to create additional markup

this would be a breaking change, but as uifDialog isn't really usable at the moment, suggest that's OK and it's better to fix before we ship v1.0

I know it is difficult to use uifDialog at the moment due to complex markup. That is the same reason, I have created another issue #159 that allows to create dialogs with simple parameters (similar to $mdDialog service).
@ngOfficeUIFabric/ngofficeuifabric-collaborators please comment.

If it's complicated to use the dialog, then we should fix that if possible, not create something else to fix it. I get the idea of a service, but we should fix the issue if there's an issue (I don't have experience in using the dialog so can't speak to it).

IMO, a service is overkill, we're not entirely consistent in other directives which require layering and/or showing and hiding. This may be because some can use ng-show or ng-hide, whilst others are more complex (uifPanel does animation in and out for instance).

uifMessageBanner using uifIsVisible
uifMessageBar has no show/hide implementation
uifOverlay has no show/hide implementation
uifDialog has no show/hide implementation
uifPanel uses uifIsOpen

I realise we're going off piste here, but I think we have two options:-

Improve documentation to demonstrate showing and hiding using native angular methods where appropriate
Use a consistent method to show and hide uif directives through the use of an attribute like uifVisibile, accepting there is an overhead for developers but may make the user experience a little more pleasant.

Would welcome thoughts

as per comment from @tobiaswest83 it seems that different directives use different attributes.
I am open to use either uifIsVisible or uifIsOpen.
May be uifDialog is difficult to use and we should definitely fix it by using one of the above attributes.
Which one should be used?

I would vote for an improved documentation.
e.g. uifMessageBanner using uifIsVisible provides more information about the status of the message bar. The Message bar's controller sets the value of the uifIsVisible scope variable (two-way-binding) and therefore reflects the user's close-event .

Seems this one has stalled out... restarting the discussion to reach a resolution...
consistent open / close across all directives
This is a bigger topic, but one we should standardize on. I personally think the ng-show and ng-hide should be used, but not within the directive... this should be something the user could implement. The reason for this is maybe they want the component to disappear while in other places they want to use an animation. Either way, they could have control over how it's shown & hidden... if the directive included this logic within it, it would force the user to use their implementation. This would require touching with likely breaking changes on directives that already have implementations (uif-message-banner & uif-panel).
simplifying the markup
While I get what @tobiaswest83 proposes, the header should be wrapped in a tag so the user can control what the header looks like. Or am I mistaken that you could control it... for instance, include text & an image in the header and control the CSS class used to style the text like the current one uses.
I do think the uif-dialog-inner could be removed... the dialog could just have three nested pieces:
<uif-dialog>
  <uif-dialog-header />
  <uif-dialog-content />
  <uif-dialog-actions />

Thoughts?

After short research, I found that .ms-dialog has a property of font-size:0 specified within it.
Due to this, we are not able to use the ms-Dialog-header, ms-Dialog-content or ms-Dialog-actions.
See this plunk for details where the p tag mentioned inside the .ms-Dialog-content.
If we simplify the markup currently, user will have to

Know that the font-size is 0
Set the font size explicitly.

If the font-size:0 is removed, we will than be able to simplify the markup as suggested by @tobiaswest83.
Is this a bug that should be logged in the Office UI Fabric?

@jigargandhi Strange... maybe post a question as to why they do that with Office UI Fabric...

Added an issue in OfficeUI repo.

I'm going to close this issue... now that we have an actual spec and working example from the Office UI Fabric guys @ MSFT and a working React version, that should be used as the spec.
See #455.

authors: andikrueger andrewconnell jigargandhi tobiaswest83

repo: ngOfficeUIFabric/ng-officeuifabric


text:
Code style?

1. Provide a general summary of the issue in the Title above
Looking through the project, I see the inconsistency in the code style, I would have a hard time contributing without agreeing on a code style.
No indents: https://github.com/ngetchell/PSGitLab/blob/master/PSGitLab/Private/DecryptString.ps1
2 Space indents with varied spacing too: https://github.com/ngetchell/PSGitLab/blob/master/PSGitLab/Private/DownloadFromGitLabAPI.ps1
4 space idents: https://github.com/ngetchell/PSGitLab/blob/master/PSGitLab/Private/FormatCommits.ps1
So what is? Would love to add an .editorconfig and some PR quality checks.

Sorry that the lack of consistency is keeping you from contributing. My goal is to make the barrier to entry small so more of the GitLab API is covered by more people. I don't have the time to produce all of the code in the module so it requires help. More hands means more inconsistency.
In this case, I'd welcome help with setting a standard and using technology to guide contributors as long as they are guidelines. Tests and Linting via PSScriptAnalyzer are as far as I'd like the project to go when it comes to requirements before merging.
I look forward to viewing your PR!

Interesting view. It makes sense to keep the barrier for entry low; this is one of the great things about PowerShell.
Personally the imposition of strict rules off-putting and is likely to result in me not engaging, unless there is extremely clear documentation on how to automatically format code after writing in our own style.

@robinmalik the formatting is pretty clear in that VSCode will format as expected since it is setup inside the branch of #208 and CI will complain if you skipped on formatting.
If you're using a different editor, I suggest you configure it once and commit it to the repo. If you're using PowerShell ISE your out of luck 😆

Ok, if it's automated via CI then that's great! (also: VSCode ftw).

I agree. Humans should not care about formatting unless it prevents the readability.
Which in this case it does.
I had a tough time contributing to project without the changes looking like major refactoring because the code format made it hard to read and the code that had changed looked like gratuitous changes.

Thanks for tackling it @casz. I go back and forth on mandating readability but I feel like I chose incorrectly years ago and now have to pay the price.

authors: casz ngetchell robinmalik

repo: ngetchell/PSGitLab


text:
Using multiple web app

Hi,
I've try to use this container for multiple web app. For my first subdomaine, it work very nice, but for my all subdomaine, browser return NET::ERR_CERT_COMMON_NAME_INVALID.
If i see the Subject (on chrome), i see my first subdomaine (working) :

When i check my certs folder, i see all subdomaine with .chain.pem and .crt files.
Is there something I did wrong ? ^^
Thank you !

Can you provide the config (compose file or CLI commands) you are using to setup your nginx-proxy and letsencrypt containers, and the logs from the containers ?

Hi @buchdag
My letsencrypt-nginx-proxy container :
version: '2'

services:

  nginx-proxy:
    image: jwilder/nginx-proxy
    container_name: nginx-proxy
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./conf:/etc/nginx/conf.d
      - ./vhost:/etc/nginx/vhost.d
      - ./html:/usr/share/nginx/html
      - ./dhparam:/etc/nginx/dhparam
      - certs:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
    restart: always

  letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion
    container_name: nginx-proxy-le
    depends_on:
      - nginx-proxy
    volumes_from:
      - nginx-proxy
    volumes:
      - ./certs:/etc/nginx/certs
      - /var/run/docker.sock:/var/run/docker.sock:ro
    restart: always

volumes:
  conf:
  vhost:
  html:
  dhparam:
  certs:

networks:
  default:
    external:
      name: nginx-proxy

Portainer docker-compose file (subdomaine working) :
version: '3'

services:
    portainer:
        image: portainer/portainer
        container_name: portainer
        restart: always
        environment:
            - VIRTUAL_HOST=portainer.${SITE_URL}
            - VIRTUAL_PORT=9000
            - LETSENCRYPT_HOST=portainer.${SITE_URL}
            - LETSENCRYPT_EMAIL=${MAILER_DEFAUT_SENDER_ADDRESS}
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
            - ./data:/data
        ports:
            - '9000:9000'

networks:
    default:
        external:
            name: nginx-proxy

An other docker-compose file not working (NET::ERR_CERT_COMMON_NAME_INVALID error) :
version: "2"

services:
  sonarr:
    image: linuxserver/sonarr
    container_name: sonarr
    restart: always
    ports:
      - "8989:8989"
    environment:
      - PGID=1000
      - PUID=1000
      - TZ=Europe/London
      - VIRTUAL_HOST=sonarr.${SITE_URL}
      - VIRTUAL_PORT=8989
      - LETSENCRYPT_HOST=sonarr.${SITE_URL}
      - LETSENCRYPT_EMAIL=${MAILER_DEFAUT_SENDER_ADDRESS}
    volumes:
      - ${MOUNT_POINT}/sonarr/config:/config
      - ${MEDIA_PATH}:/tv
      - ${DOWNLOAD_PATH}:/downloads

networks:
    default:
        external:
            name: nginx-proxy

I run all docker-compose file with docker-compose up -d command. All app is separate : it's not only one docker-compose.yml file.
Thank you for your help !

@buchdag Do you think i need use letsencrypt-nginx-proxy-companion container directly in the webapp ?

I am seeing this same issue with multiple hosts. test1.example.com works fine but test2.example.com never gets a cert so gives Error 500 when using https. Connecting with http://test2.example.com works fine but that pretty much misses the point.

Have you both followed the troubleshooting steps for failed auth described in the project wiki?

Hi guys !
I've "resolve" my problem with this docker-compose.yml :
version: '3'

services:

  nginx-proxy:
    image: jwilder/nginx-proxy
    restart: always
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./current/public:/usr/share/nginx/html
      - ./certs:/etc/nginx/certs:ro
      - ./vhost:/etc/nginx/vhost.d
      - /usr/share/nginx/html
      - /var/run/docker.sock:/tmp/docker.sock:ro
    labels:
      - "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"

  letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion
    restart: always
    volumes:
      - ./certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./vhost:/etc/nginx/vhost.d
      - ./current/public:/usr/share/nginx/html

volumes:
  vhost:
networks:
  default:
    external:
      name: nginx-proxy

I say "resolve" because if i add new supersubdomain.my-site.com, i've only the folder create in certs, not pem files.

Why are you defining the /usr/share/nginx/html volume  two times in the nginx-proxy service ?

„I am seeing this same issue with multiple hosts. test1.example.com works fine but test2.example.com never gets a cert so gives Error 500 when using https. Connecting with http://test2.example.com works fine but that pretty much misses the point.“
Having the same problem. Looks like certs are not even created. Configurations following soon.

https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/wiki/Invalid-authorizations

Your containers logs will have additional informations about the reason why the certificate isn't created.

So docker compose setup is fine?

I don't see any obvious error.

ConnectionError: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7efeaacbaa90>: Failed to establish a new connection: [Errno -3] Try again',))
Unhandled error has happened, traceback is above

any ideas?

So you guys have any idea?

I even tried starting fresh completely fresh but the error reoccured.

Any ideas guys? Still the problem remains...
nginx-letsencrypt    | ConnectionError: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f71e5927c90>: Failed to establish a new connection: [Errno -3] Try again',))

Can you curl the api endpoint from inside the container too ?
@cpu @zenhack any clue on this ?

How can I Test it from inside?

docker exec - it your-container-name bash will give you an interactive shell inside your container.

Okay so turns out I cannot:
curl https://acme-v01.api.letsencrypt.org/directory
curl: (6) Could not resolve host: acme-v01.api.letsencrypt.org
Why not? I had it running before and it already signed one certificate a few weeks ago just fine...

Is it the same for your other containers ? For those based on alpine Linux you migth not have bash installed inside them, try ash instead.

Sorry to lift it up again. I still cannot sort out the error. I even set up a completely fresh installation and it is not working. I checked the default.conf in the conf.d folder and I get a weird setup:
# DOMAIN.com
upstream DOMAIN.com {
                                ## Can be connected with "nginx-proxy" network
                        # wordpress
                        server 172.12.0.3:80;
                                # Cannot connect to network of this container
                                server 127.0.0.1 down;

What does that mean? Ive set up a network for Nginx proxy and included every web app...

Crazy thing: Mine is working fine now. I didn't change anything that I know of but my subdomains are all getting proper certificates.

I was having the same (?) issue when adding an additional subdomain in a new application (eg api.blog.domain.com) when already using the domain for a separate container (eg blog.domain.com). I rebuilt my letsencrypt-nginx-proxy container with DEBUG=true and voila! everything just worked. So it would seem that simply restarting the container did the trick. It is possible that the container restarted with a newer version of the jrcs/letsencrypt-nginx-proxy-companion image as well, but the one I had been using wasn't very old.

@ballPointPenguin, there was a new release less than a week ago (which includes the similarly recent simp_le release), so that seems plausible.

Inactive issue, closing.

authors: SFoskett ballPointPenguin buchdag stephane-r thomas126 zenhack


text:
Update Control Plane Configuration documentation for Hugo formatting

Proposed changes
This commit updates the control plane configuration documentation to match NGINX's standardised Hugo formatting conventions: specifically, avoiding breaking sentences across line and the use of shortcodes for a note. There are also some minor content changes for product noun conventions and rephrasing a few sentences.
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that all unit tests pass after adding my changes
[x] I have updated necessary documentation
[ ] I have rebased my branch onto main
[ ] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

I'm going to attempt to run the precommit hooks locally to resolve the linting errors: if there's no edit suggestions before then I will attempt a --force-with-lease on the branch.

repo: nginxinc/nginx-gateway-fabric


text:
Javascript blob Error

I've installed latest version and hoped this error is gone. But it also persists since weeks.
I have this Javascript error on all PowerDNS-Admin sites - seen in the Firefox debugger
Fehler beim Laden der folgenden Adresse:
Could not load the source for blob:http://pdns.domain.tld/101ae5e4-8162-0040-bd3d-0aa47b31485a.
Error: Failed to fetch blob:http://pdns.domain.tld/101ae5e4-8162-0040-bd3d-0aa47b31485a. Code 2152857618.
Stack: onResponse@resource://devtools/shared/base-loader.js ->
resource://devtools/shared/DevToolsUtils.js:558:23
onStopRequest@resource://gre/modules/NetUtil.jsm:126:17
Line: 558, column: 23

But all things work fine with  the exception of saving templates, which also persits since weeks. Don't know if there is a correlation.

Confirmed here too
Fehler beim Laden der folgenden Adresse: Could not load the source for blob:https://dns1-syb.sybcom.net/259549e5-343d-462a-81af-42d352906080. [Exception... "Failed to open input source 'file:////dns.domain.tld/259549e5-343d-462a-81af-42d352906080'"  nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"  location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js :: mainThreadFetch :: line 645"  data: yes] Stack: mainThreadFetch@resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js:645:5 _getSourceText/<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/source.js:410:27 Line: 645, column: 0
But saving Templates working here...
Cheers :-)

Still happens...
If you open the firefox debugger
Sources (Tab) -> blob -> your.server.org -> longuuid
(look at my Picture)
Fehler beim Laden der folgenden Adresse: Could not load the source for blob:https://my.server.org/2f49d425-50c1-4bf3-9b1f-c826bd4b179f. [Exception... "Failed to open input source 'file:////my.server.org/2f49d425-50c1-4bf3-9b1f-c826bd4b179f'"  nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"  location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js :: mainThreadFetch :: line 645"  data: yes] Stack: mainThreadFetch@resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js:645:5 _getSourceText/<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/source.js:410:27 Line: 645, column: 0

Cheers :-)

Forgot: Im on Commit 565 not the actual 567
But i can test with 567 if you want...
Cheers :-)

repo: ngoduykhanh/PowerDNS-Admin


text:
Workaround for comment(s) on multiple records for same name+type

Comment(s) on multiple records for the same name/type throw an error (500 in the webinterface).
In the logging:
Traceback (most recent call last):
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
     response = self.full_dispatch_request()
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
     rv = self.handle_user_exception(e)
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
     reraise(exc_type, exc_value, tb)
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
     raise value
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
     rv = self.dispatch_request()
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
     return self.view_functions[rule.endpoint](**req.view_args)
   File "/opt/pdnsadm/py-pdns-adm/lib/python3.6/site-packages/flask_login/utils.py", line 261, in decorated_view
     return func(*args, **kwargs)
   File "/opt/pdnsadm/powerdns-admin/powerdnsadmin/decorators.py", line 60, in decorated_function
     return f(*args, **kwargs)
   File "/opt/pdnsadm/powerdns-admin/powerdnsadmin/routes/domain.py", line 109, in domain
     if r['comments'] else '',
 IndexError: list index out of range

In the workaround the 500 is prevented and comments are shown on best-effort:

If no comment(s) -> ''
If comment for index (whatever relation there may be), the comment for that index
If comment but not for this index -> comment for index=0

There's a bug here, if you reproduce it by:

create a new record, call it 'test', type A, content '127.0.0.1', with a comment, save & apply
create a new record, call it 'test', type A, content '127.0.0.2' no comment, save & apply
create a new record, call it 'test', type A, content '127.0.0.3', with comment, save & apply

If you refresh you'll see that record #1 and #3 has the 3rd comment, while record #2 has the 1st comment

The bug isn't in this PR, but in the way comments are stored/saved #720 is related

PR #739 fixes this (including the migrating comment issue mentioned above) in addition to correcting the major sort/compare bug (fixing the comments problem was required for reliable sorting of the record/comment pairs)

#739 got merged. Closing. Please open an issue if you find any problem related to the record's comment. Thanks.

authors: keesbos ngoduykhanh sshipway terbolous


text:
[animation & layout] Using animation for layout doesn't seem to work

I am using the following to try to animate the properties of a layout component:
<a-entity layout="type: box; columns: 4; margin: 1"  position="0 0 -5" animation__fadein="property: layout.margin; dur: 100; easing: linear; from 0; to: 5; startEvents: fadein">

I don't get it to work even if I try to do a simple rotation / position animation. For geometric entities it works normally.
The native animation component works.
Here is a jsfiddle:
jsfiddle

your code had several mistakes in a single line.
position: layout, not specifying margin, had a startEvents specified that was never triggered
<a-entity layout="type: box; columns: 4; margin: 0"  position="0 0 -5" animation="property: layout.margin; dur: 1000; easing: linear; from: 0; to: 5">

authors: derhuebiii ngokevin

repo: ngokevin/kframe


text:
WIP: include init action in log

don't slice away init from items$
use canRevert$ to disable both the Reset and Revert buttons
prevent reverting or resetting the init action
style the init (first) action to reflect that it cannot by undone

All that works now as I'd expect, though I don't know if its 100% what the redux version does.
TODO: tests
@MikeRyan52 @robwormald -- I'd like to add tests for LogMonitor. Do you have a preferred strategy for a loader that would get the code into Karma? Left to my own devices, I'd be using jspm (EDIT: or at least systemjs) because that's what I know, but I think neither of you want to see that.  @robwormald I know you're interested in stealjs. Is now the time to figure that out? @MikeRyan52 what would you do? Should we test the dist directory and thus avoid transpile issues within the tests?

P.S. Thoughts on phantomjs2 as a dev dependency?

Shoot... just noticed a double quote in the template. Will fix that.

We run on codeship for CI, pretty sure it has chrome available. More real world than phantom.

We actually need a more robust build process overall (producing es6 artifacts, only publishing the dist folder, etc). I wouldn't worry about building this infrastructure in your current PR.

Though if you do want browser testing, there's a karma setup here you can
copy https://github.com/ngrx/db
On Sun, Mar 13, 2016 at 1:37 PM Mike Ryan notifications@github.com wrote:

We actually need a more robust build process overall (producing es6
artifacts, only publishing the dist folder, etc). I wouldn't worry about
building this infrastructure in your current PR.
—
Reply to this email directly or view it on GitHub
https://github.com/ngrx/devtools/pull/4#issuecomment-196047741.

Ok. When I set out to write some unit tests for the component, I hadn't even realized that the existing tests weren't running under phantom and thus there was a dearth of infrastructure on which to write the tests.  I'm closing this in favor of https://github.com/ngrx/devtools/pull/7 which has the double quotes fix and I think is good to go.

@robwormald thank you for pointing out the db repo! That will come in very handy.

authors: MikeRyan52 laurelnaiad robwormald

repo: ngrx/devtools


text:
ngx-translate is not working  in *ngfor

Current behavior
ngx-translate is not working in ng-for
Expected behavior
it has to work
Minimal reproduction of the problem with instructions
if i use like below it won't work:
<e-column *ngFor="let a of array"         field="ImplantationDate"         headerText="{{ a | translate }}">       </e-column>
where arry valyue is
array = ['one,'two,'three'];
but if i use one value it is working fine
<e-column         field="ImplantationDate"         headerText="{{ a | translate}}">       </e-column>
sample
download this sample and run below commands

npm i
ng serve

sample:  http://www.syncfusion.com/downloads/support/directtrac/general/ze/SAMPLE_FOR_SYNCFUSION-1886628965
Environment
"@ngx-translate/core": "10.0.1",
"@ngx-translate/http-loader": "3.0.1",
"ngx-bootstrap": "2.0.5",
"ngx-infinite-scroll": "6.0.0",
Angular version: 6.0.0

Browser:

[ ] Chrome (desktop) version XX
[ ] Chrome (Android) version XX
[ ] Chrome (iOS) version XX
[ ] Firefox version XX
[ ] Safari (desktop) version XX
[ ] Safari (iOS) version XX
[ ] IE version XX
[ ] Edge version XX

For Tooling issues:

Node version: XX  <!-- run node --version -->
Platform:

Others:

Hi
Any update on this?

Hello,
is there anybody working on this organization????

bump

repo: ngx-translate/core


text:
Docker hub image for ARM64 and ARMv7

Maybe someone need that for their single board computer. Also, ARM64 servers are getting cheap.

Implemented in this job: https://github.com/ngxson/portainer-ce-without-annoying/actions/runs/5024060021/jobs/9009365733

repo: ngxson/portainer-ce-without-annoying


text:
Any plans to update repo to align with latest Issac Sim version and Replicator YAML migration?

Hello,
Based on the content you have worked on, I was able to obtain a custom dataset, including valuable amodal annotations. Thank you for sharing the results.
As you may know, the latest version of Issac Sim has been upgraded to 2023.1.1, and the Replicator Composer used by this repo has been deprecated and migrated to Replicator YAML after that.
I am curious to know whether you intend to update this repo to align with the latest version of Issac Sim. If you have any plans, please let me know!

We may be updating the repo to migrate the replicator YAML. We will update again if we do so

authors: figkim ngzhili

repo: ngzhili/SynTable


text:
Add getcwd syscall

This change is

This should best have a NULL check, because errno is only set if getcwd fails.

I've added this too.

Thanks for the contribution, @BlueGone!


text:
Document month more

Example-14-template-for-month is the only example that shows the monthMoreClose and monthMoreTitleDate templates, but clicking around at https://nhn.github.io/tui.calendar/latest/tutorial-example14-template-for-month, due to its randomness, it is very hard to see what, if any, do these templates.
Please elaborate in the text more precisely what these templates do and increase the density of events(schedules) in the example 14, so that the templates can be seen in action.

I will add more sample schedules in this example, and be able to check the more related templates (monthMoreTitleDate, monthMoreClose).

authors: dilyanpalauzov jungeun-cho


text:
Event for cursor change under Vue

Version
@toast-ui/vue-editor 2.5.1
Development Environment
Chromium, Linux
Current Behavior
There is no documented way I can find to install an event handler for when the cursor is moved.
Expected Behavior
I would like to be able to add an event handler for when the cursor is moved.  I've got something similar to #968 and #170 working (it's a massive hack of a workaround, but it works).  But there is a problem in that there is no good way that I'm finding to know when the cursor position changed so that I can hide the suggestions box.

@KyleMaas There is a stateChange event option in the Editor, I think you can use this. Can you check it out?

https://github.com/nhn/tui.editor/blob/a22c2c379cc6495eaea1c9dded61dc501eca9e26/apps/editor/src/js/editor.js#L109

@seonim-ryu I tried that, but it doesn't fire when the cursor just moves but only when the cursor enters a differently-formatted section.  So if the cursor moves from regular paragraph text to another location with regular paragraph text, it does not fire.

authors: KyleMaas seonim-ryu


text:
How can i add button to the toolbar in new version?

Summary
Currently we have following buttons

I want to add one more button to it.
How can i do this?

This Documentation Link might be useful

@ats1999
The below links will be helpful to you.

https://nhn.github.io/tui.editor/latest/tutorial-example15-customizing-toolbar-buttons
https://github.com/nhn/tui.editor/blob/master/docs/en/toolbar.md


text:
bar그래프의 클릭이벤트 관련 문의입니다.

각 x축 마다 그려진 각각의 그래프를 클릭하면
해당하는 상세 구성성분이 보이도록 만들었습니다만,
값이 매우 낮은경우 바를 클릭하는데에 문제가 발생합니다.
데이터가 [100, 1, 200, 150 ···.] 인 경우
두번째에 해당하는 그래프를 클릭할 수 없거나 매우 힘듭니다.
그래프의 값이 아닌 해당 영역에 클릭이벤트를 걸 수있는 방법은 없을까요?

@commonrick
This is an unexpected issue.
We plan to improve this issue first.

@commonrick
How about use tooltip grouped and afterShowTooltip options?

authors: commonrick jinwoo-kim-nhn jung-han


text:
Question: completely remove toolbar?

I already done research，but can't find a way to completely remove toolbar
this code doesn't work as expected
     var editor = new Editor({
      //....other config
      toolbarItems: [],

this space still exist
Question: how to remove toolbar? ( I would implement the UI myself)

I would implement editor menu like this:
design are given by our designer

This work. but it's a little hack
div.te-toolbar-section{
  display: none !important;
}


text:
Next.js getStaticPaths doesn't work when fetching data

export const getStaticPaths: GetStaticPaths = async () => {
  const nhost= new NhostClient({
    backendUrl: `${process.env.NEXT_PUBLIC_NHOST_BACKEND}`
  })
  const { data } = await nhost.graphql.request(GET_PROJECT_SLUGs)

  const paths = data?.data?.projects?.map((project) => ({
    params: {
      slug: project?.slug
    }
  }))

  return {
    paths,
    fallback: true
  }
}

getStaticPaths doesn't work when fetching data using nhost.graphql.request() no data displayed and return error during production.
I tried running it in yarn build and return an error

I tried it here it works
  const { data } = await nhost.graphql.request(gql`
    query GetProjectBySlugs {
      projects {
        slug
      }
    }
  `)

I fix the problem almost 1 week now

repo: nhost/nhost


text:
Update Order cost calculations

Story AB#131476
Task AB#13692

Changes not needs to be pushed


text:
zod declaration and validation [idea / feature request]

Are there any plans or considerations to introduce zod as first class validator for nhttp?
Honestly, I have to say that I've never used zod before, but it looks very promising to me because you have type safety at both runtime and type level.
Currently one has to define the schema once for the validation at runtime, which one can also use for the generation of the OpenApi Spec.
And a second time for the type safety, to be able to continue working with the parsed body.

interesting with zod.
btw, nhttp is simple to integrate with zod-validator. this is an example with body validation zod.
import nhttp, { Handler, HttpError } from "https://deno.land/x/nhttp@1.2.3/mod.ts";
import { z, ZodType } from "https://deno.land/x/zod@v3.21.4/mod.ts";

// create middleware validator.
// save to zod_validator.ts
const validate = (schema: ZodType): Handler => (rev, next) => {
  try {
    schema.parse(rev.body);
    return next();
  } catch (e) {
    throw new HttpError(422, e.errors);
  }
}

// define User
const User = z.object({
  username: z.string(),
});

// Type User
type TUser = z.infer<typeof User>;

const app = nhttp();

app.post("/", validate(User), (rev) => {
  const user = <TUser> rev.body;
  // now user is typesafe
  return user;
});

app.listen(8000);

Thanks @herudi for implementing zod validation with version https://github.com/nhttp/nhttp/releases/tag/1.2.7

You're welcome.
Doc => https://nhttp.deno.dev/docs/3rd-party-lib/zod-validator

authors: herudi zingmane

repo: nhttp/nhttp


text:
Add 2 icons to Token Library for Rich Text Editor

SVG files are attached to implement icons into the Nimble Token Library.
This work pertains to:
https://github.com/ni/nimble/issues/1463

Updated Icons

repo: ni/nimble


text:
Add kubefuse

https://github.com/opencredo/KubeFuse

Too old

repo: nicholasdille/docker-setup


text:
Error when unselecting last month

there is no way to have an empty value in the month picker, tried on demo page the whole page is crashing when we unselect the selected month, we should be able to put a null or empty value and show "pick a month" default placeholder.

I actually did not take into consideration the way to set null or empty value on the picker panel. But for now, you may try to offer the option to "clear" the selection in your pick box.
The pick box element is not an embedded part of the picker component, so you can do whatever you want to make your pick box.

Hi, that's also the solution I chose, giving a null value to the input displaying the currently selected date, so it looks like there is none selected.
But it would be nice to be able to pass null to the Picker component, because currently when opening the Picker after "clearing" the selection the picker will still show a month as selected while it shouldn't, and it could confuse the end user.

authors: Aghamyr Benraay nickeljew

repo: nickeljew/react-month-picker


text:
Team photo upload doesn't always update

I'm not sure if this is a caching thing with the web browser or not, but when uploading a new team photo it seems to take a few a tries.  Since I use the team_id in the filename of the team photos, it may cause other web browser caching behavior when they change.

Fixed by adding ?nocache= where team logos are used.

repo: nickfrerichs/fflproject


text:
Embedded audio files take up too much space in preview mode

As title says, this is the editor mode (live preview)

And this is the preview mode, the block is bigger and there is a lot of useless margin in between

Thank for reporting this @asc-santo !! Unfortunately, I can't seem to replicate that on my end. Do you have a sample/demo file you could share?

Sure, here it is an audio file, that's the extention used by xiaomi audio notes, you can just embed it in a .md note ![[AUDIO.aac]]
AUDIO.zip

okay so i just checked this out. it seems to be a problem with how obsidian renders the embeded files that are placed next to each other. i checked it on the default obsidian theme just to be sure.
if you add an extra empty line between the 2 files, it removes the weird spacing in preview mode! refer to the gif below:

let me know if this works!!

Hey there @asc-santo , hope you've seen my reply to you above! I will be closing this now 😄 Let me know if there are any other issues!

authors: asc-santo ceciliamay

repo: nickmilo/LYT-Mode


text:
nLogin don't let me enter in the server

Hello, i have a Mohist 1.12.2 server and i'm currently using ProtocolLib 4.8.0 and the latest version of nLogin in my server beacause ProtocolLib 5.0.0 and 5.0.1 don't start I don't know why.
Yesterday I was playing on my server with some people and after a normal restart the nLogin just was not more letting me enter my server and all of the other people are not able to join my server too. I don't know why, I tried adding more RAM and more CPU for the server, I tried changing for other versions of ProtocolLib (because the error is betwen ProtocolLib and nLogin) , but nothing worked.
(I opened an Issue in ProtocolLib and they said to open an issue here)
What shows on my console when I trie to join the server:
[13:55:14 INFO]: Error Unable to intercept a read client packet. (java.lang.RuntimeException: Error occured while instancing generated class.) occured in com.comphenix.protocol.injector.netty.ChannelInjector@5a4505c0.
[13:55:14 ERROR]: [ProtocolLib] INTERNAL ERROR: Unable to intercept a read client packet.
If this problem hasn't already been reported, please open a ticket
at https://github.com/dmulloy2/ProtocolLib/issues with the following data:
Stack Trace:
java.lang.RuntimeException: Error occured while instancing generated class.
at com.comphenix.protocol.reflect.compiler.StructureCompiler.compile(StructureCompiler.java:249)
at com.comphenix.protocol.reflect.compiler.CompiledStructureModifier.withTarget(CompiledStructureModifier.java:130)
at com.comphenix.protocol.events.PacketContainer.(PacketContainer.java:139)
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketReceiving(ProtocolInjector.java:324)
at com.comphenix.protocol.injector.netty.ChannelInjector.decode(ChannelInjector.java:600)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:292)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
at com.nickuc.antibot.ςβξιααυει.a(:288)
at com.nickuc.antibot.ςβξιααυει.channelRead(:243)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at net.minecraft.network.LegacyPingHandler.channelRead(SourceFile:94)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:236)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:494)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
at com.nickuc.antibot.ΩδΦσωπηοεςβοφΛτ.channelRead(:90)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
at com.nickuc.antibot.ΣΦΦνιγςφ.channelRead(:35)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:808)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:404)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.comphenix.protocol.reflect.compiler.StructureCompiler.compile(StructureCompiler.java:233)
... 59 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_12_R1/PacketHandshakingInSetProtocol
at com.comphenix.protocol.reflect.compiler.CompiledStructure$net_minecraft_network_handshake_client_C00Handshake$java_lang_Object.(Unknown Source)
... 64 more
Dump:
Parameters:
io.netty.buffer.UnpooledSlicedByteBuf@16690f6f[
buffer=io.netty.buffer.PooledUnsafeDirectByteBuf@4d7f4bf0
adjustment=1
readerIndex=30
writerIndex=30
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=30
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@783ffcd9[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@4f2808e5
packetListeners=[com.comphenix.protocol.async.NullPacketListener@4530533, PacketAdapter[plugin=nLogin, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[SETTINGS[class=PacketPlayInSettings, id=5]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=nLogin, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[TAB_COMPLETE[class=PacketPlayInTabComplete, id=6]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=nLogin, sending=ListeningWhitelist[priority=NORMAL, packets=[WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=20], SET_SLOT[class=PacketPlayOutSetSlot, id=22]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=DecentHolograms, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[USE_ENTITY[class=PacketPlayInUseEntity, id=13]], gamephase=PLAYING, options=[ASYNC]]], PacketAdapter[plugin=nLogin, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=LOWEST, packets=[CHAT[class=PacketPlayInChat, id=3]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=nLogin, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=MONITOR, packets=[SET_PROTOCOL[class=PacketHandshakingInSetProtocol, id=0]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=Images, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[SET_CREATIVE_SLOT[class=PacketPlayInSetCreativeSlot, id=40], USE_ENTITY[class=PacketPlayInUseEntity, id=13]], gamephase=PLAYING, options=[]]]]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@589c63b8
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@72227aa1
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@75fc9908
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@7a1cd872
hasClosed=false
classLoader=org.bukkit.plugin.java.PluginClassLoader@7b1ea6a3
reporter=com.comphenix.protocol.ProtocolLib$1@41a6e52a
server=CraftServer{serverName=Mohist,serverVersion=git-Mohist-1.12.2-321,minecraftVersion=1.12.2}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@3195811a
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=1
phasePlayingCount=8
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@65fa01cb
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@78b15be6
hasRecycleDistance=true
minecraftVersion=(MC: 1.12.2)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@5a4505c0[
decodeBuffer=protected void net.minecraft.network.NettyPacketDecoder.decode(io.netty.channel.ChannelHandlerContext,io.netty.buffer.ByteBuf,java.util.List) throws java.lang.Exception
encodeBuffer=protected void net.minecraft.network.NettyPacketEncoder.encode(io.netty.channel.ChannelHandlerContext,java.lang.Object,io.netty.buffer.ByteBuf) throws java.lang.Exception
factory=com.comphenix.protocol.injector.netty.InjectionFactory@74054a3d
player=com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@4144e92f
updated=
playerName=
playerConnection=
networkManager=net.minecraft.network.NetworkManager@3358f48a
originalChannel=[id: 0xffa8559d, L:/172.18.0.4:25793 - R:/85.138.88.224:53971]
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.field_150746_k], container=net.minecraft.network.NetworkManager@3358f48a, previous=[id: 0xffa8559d, L:/172.18.0.4:25793 - R:/85.138.88.224:53971], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@40c537f3, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@45e8a82
vanillaDecoder=net.minecraft.network.NettyPacketDecoder@7aee8900
vanillaEncoder=net.minecraft.network.NettyPacketEncoder@325832c9
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@65fa01cb
processor=com.comphenix.protocol.injector.NetworkProcessor@2b316abf
injected=true
closed=false
cumulation=UnpooledSlicedByteBuf(ridx: 30, widx: 30, cap: 30/30, unwrapped: PooledUnsafeDirectByteBuf(ridx: 42, widx: 42, cap: 42))
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@25994050
singleDecode=false
decodeWasNull=false
first=true
decodeState=1
discardAfterReads=16
numReads=0
added=true
]
Version:
ProtocolLib v4.8.0
Java Version:
1.8.0_312
Server:
git-Mohist-1.12.2-321 (MC: 1.12.2)
[13:55:14 WARN]: java.lang.IllegalStateException: Handshake data is null in LOGIN state for com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@4144e92f!
[13:55:14 WARN]: at com.nickuc.login.ξξψγξπιω.a(:61)
[13:55:14 WARN]: at com.nickuc.login.ξξψγξπιω.onPacketReceiving(:87)
[13:55:14 WARN]: at com.comphenix.protocol.async.AsyncListenerHandler.processPacket(AsyncListenerHandler.java:642)
[13:55:14 WARN]: at com.comphenix.protocol.async.AsyncListenerHandler.listenerLoop(AsyncListenerHandler.java:596)
[13:55:14 WARN]: at com.comphenix.protocol.async.AsyncListenerHandler.access$200(AsyncListenerHandler.java:48)
[13:55:14 WARN]: at com.comphenix.protocol.async.AsyncListenerHandler$2.run(AsyncListenerHandler.java:229)
[13:55:14 WARN]: at com.comphenix.protocol.async.AsyncListenerHandler$3.run(AsyncListenerHandler.java:300)
[13:55:14 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64)
[13:55:14 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:50)
[13:55:14 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[13:55:14 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[13:55:14 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[13:55:14 WARN]: at java.lang.Thread.run(Thread.java:748)
[13:55:14 INFO]: [nLogin] [ERROR] [Premium] Could not handle incoming packet using ProtocolLib
[13:55:44 INFO]: /85.138.88.224:53971 lost connection: Disconnected
I don't know what to do, anyone can help me?

Hi, @Erlandux!
You need to use ProtocolLib v4.6.0 if you are using Mohist 1.12.
https://github.com/MohistMC/Mohist/issues/2355#issuecomment-1298359242

I installed the ProtocolLib v4.6.0 and dindn't worked, but I tried ProtocolLib v4.5.1 and it worked, thanks for helping

authors: Erlandux nickuc

repo: nickuc/OpeNLogin


text:
custom display label to the data attributes

Hi @nicolaskruchten ,
I just want to have a custom display name to the data attributes.
ex :- i have attr1,attr2 as my data attributes and currently displayed in unused attribute list.
I want attr1 to be displayed as "My Attribute".
To do this I had to use derivedAttributes and create another attribute as " My Attribute" which returns attr1.
Though this works, this iterates for each record and if i have a huge record set then this turns out to be an overhead.
Can we have another  parameter "attributeNameMapping" where this parameter takes the key as the attribute and name as the value.
Ex:-
attributeNameMapping:{ attr1 : "My Attribute"}
and pivot.js will handle it automatically while default it to the attr1.
Regards,

There's no feature for this right now. It's been requested before in issue #492 so I'm closing this as a duplicate.

repo: nicolaskruchten/pivottable


text:
Warnings/Errors on startup - MQTT state

Checklist

[X] I checked for similar existing issues (both open and closed) before posting.
[X] I am running the latest version.

Expected behavior
No warnings/errors on startup.
Actual behavior
Warnings appear in log during startup before alarmo is loaded.  I think alarmo is accepting MQTT state updates before it is ready?
Restart when armed in Home mode
2021-09-09 16:09:09 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_arm_home
2021-09-09 16:09:09 WARNING (MainThread) [custom_components.alarmo.alarm_control_panel] Mode armed_home is not supported, ignoring.
2021-09-09 16:09:09 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_control_panel.alarmo is added to hass
2021-09-09 16:09:09 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] Initial state is armed_home
2021-09-09 16:09:09 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] Waiting for all sensors to be ready...

Restart when armed in Away mode
2021-09-09 16:22:55 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_arm_away
2021-09-09 16:22:55 WARNING (MainThread) [custom_components.alarmo.alarm_control_panel] Mode armed_away is not supported, ignoring.
2021-09-09 16:22:55 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_control_panel.alarmo is added to hass
2021-09-09 16:22:55 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] Initial state is armed_away
2021-09-09 16:22:55 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] Waiting for all sensors to be ready...

2021-09-09 16:36:09 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_disarm
2021-09-09 16:36:09 ERROR (MainThread) [homeassistant.util.logging] Exception in async_message_received when handling msg on 'alarmo/command': '{"command":"DISARM","code":"XXXX"}'
Traceback (most recent call last):
File "/config/custom_components/alarmo/mqtt.py", line 259, in async_message_received
await entity.async_alarm_disarm(code, skip_code)
File "/config/custom_components/alarmo/alarm_control_panel.py", line 322, in async_alarm_disarm
(res, info) = self._validate_code(code, STATE_ALARM_DISARMED)
File "/config/custom_components/alarmo/alarm_control_panel.py", line 283, in _validate_code
if state == STATE_ALARM_DISARMED and not self._config[const.ATTR_CODE_DISARM_REQUIRED]:
KeyError: 'code_disarm_required'
Traceback (most recent call last):
File "/config/custom_components/alarmo/mqtt.py", line 259, in async_message_received
Restart when disarmed
2021-09-09 17:16:33 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_disarm
2021-09-09 17:16:33 INFO (SyncWorker_1) [pychromecast] Querying device status
2021-09-09 17:16:33 ERROR (MainThread) [homeassistant.util.logging] Exception in async_message_received when handling msg on 'alarmo/command': '{"command":"DISARM","code":"XXXX"}'
Traceback (most recent call last):
File "/config/custom_components/alarmo/mqtt.py", line 259, in async_message_received
await entity.async_alarm_disarm(code, skip_code)
File "/config/custom_components/alarmo/alarm_control_panel.py", line 322, in async_alarm_disarm
(res, info) = self._validate_code(code, STATE_ALARM_DISARMED)
File "/config/custom_components/alarmo/alarm_control_panel.py", line 283, in _validate_code
if state == STATE_ALARM_DISARMED and not self._config[const.ATTR_CODE_DISARM_REQUIRED]:
KeyError: 'code_disarm_required'
2021-09-09 17:16:34 INFO (MainThread) [homeassistant.components.select] Setting up select.zwave_js
2021-09-09 17:16:34 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.zwave_js
2021-09-09 17:16:34 INFO (MainThread) [homeassistant.components.fan] Setting up fan.zwave_js
2021-09-09 17:16:34 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] alarm_control_panel.alarmo is added to hass
2021-09-09 17:16:34 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] Initial state is disarmed
2021-09-09 17:16:34 DEBUG (MainThread) [custom_components.alarmo.alarm_control_panel] entity alarm_control_panel.alarmo was updated from None to disarmed
Steps to Reproduce

Alarmo MQTT enabled

MQTT alarm panel connected to broker (I'm using Android MQTT Alarm Panel)

Restart HA

Errors appear in log during restart.

After startup errors do not occur after startup, everything works as expected

Errors do not occur when MQTT alarm panel is not connected to broker even if MQTT enabled.

Retain MQTT Message in app setting makes no difference (occurs when either on or off).

Duplicate of https://github.com/nielsfaber/alarmo/issues/249
Please continue the discussion here (feel free to copy your issue to there).

Retain MQTT Message in app setting makes no difference (occurs when either on or off).

I have my doubts about this.
It is almost certain to me that you try to arm/disarm alarmo through MQTT immediately upon startup of HA.
Alarmo is not ready for messages during initialization, it is built to restore its previous state.
You should try some 'mqtt sniffer' application (e.g. mosquitto_sub for linux) and see what traffic happens on the command topic.
Maybe the topic needs to be 'wiped' after removing the retain setting. I once made a little script  for that, but it comes down to writing null to the topic.
Funny that you keep your own issue list for problems in your setup 😄

I apologize for the dupe, it didn't appear to be a related issue to me.
I finally had a chance to play with this.  My mqtt broker was retaining a command topic that must have got sent when the retained setting got turned on and wasn't deleting it when the setting was turned off.  I deleted the command topic in my broker, cleared the cache in the app and all seems ok now.
Thanks for taking the time to look at it.

authors: jazzyisj nielsfaber

repo: nielsfaber/alarmo


text:
Can't open Short Position help needed

@niewiemczego
-Hi, thank you for this project but I have a problem with position opening. (V2 Perpetual). Long Position is not a problem - is working but not Short position. When I try to open short postion I get:
Order details: Order(symbol='AXS-USDT', side=<Side.SELL: 'SELL'>, position_side=<PositionSide.SHORT: 'SHORT'>, quantity=1.0, type=<OrderType.MARKET: 'MARKET'>, price=None, stop_price=None, recv_window=None)
Client error: No position to close
I want to open a short position and not close any position.
Can you help?

Hey I have updated the codebase - now you will have to use positionSide instead of position_side

Hey thank you for you really fast reply and solving the problem. I really appreciate that. It helped and it seems to be working.
:))

authors: niewiemczego selfmadeKI

repo: niewiemczego/python-bingx


text:
Expect to add more x64 ISA about AI

AVX512(Intel® Advanced Vector Extensions 512)

AVX512_BITALG (expect to add)
AVX512_VPOPCNTDQ (expect to add)
AVX512_VP2INTERSECT (expect to add)
AVX512PF (Intel® Xeon Phi™ only.)
AVX512ER (Intel® Xeon Phi™ only.)
AVX512_4VNNIW (Intel® Xeon Phi™ only.)
AVX512_4FMAPS (Intel® Xeon Phi™ only.)

AVX (VEX-encoded) versions of the Vector Neural Network Instructions

AVX512_VNNI (already exists)
AVX_VNNI (already exists)
AVX_VNNI_INT8 (already exists)
AVX_VNNI_INT16 (expect to add)

Intel® AMX(Intel® Advanced Matrix Extensions)

AMX_FP16 (expect to add)
AMX_COMPLEX (expect to add)
AMX_BF16 (expect to add)
AMX_TILE (expect to add)
AMX_INT8 (expect to add)

reference: intel architecture instruction set extensions programming reference

AVX512ER and AVX512PF are used in the OpenVINO framework.
AVX512_4FMAPS and AVX512_4VNNIW are used by the OpenVINO framework.
AVX512_VPOPCNTDQ is used by the OpenVINO framework.
https://github.com/openvinotoolkit/openvino/blob/releases/2024/0/src/core/reference/src/op/jit_generator.cpp#L44

repo: nihui/ruapu


text:
Style property on textfield not exposed

can you please expose the style property on the textField? I needed to customise the phone text

Same issue,

you must have to copy his entire library and extend it yourself

thank you very much David.
do you have any working example?


text:
Good Job

Good Job Ni , it really solved my problems.

@jingleWang Thank  you for using my tool.


text:
fix(DatePicker): other month day should  not be enabled if this.props…

….showOtherMonthDate is false

:+1:

authors: jpuri nikgraf

repo: nikgraf/belle


text:
Ruby Proxy - or generally, what should be included in the proxy's response?

Firstly, this library is awesome!
I'm working on a rails app that will use this to generate images that users can share. As with most use cases, I'm sure, I have a need for users to be able to include external images, so I'm using a proxy.
I can get all proxies that others have written to work, but I'd really like to keep my proxy internal to my rails app so I don't need to initiate another server just for the proxy.
I've written this very simple module, which as far as I can tell returns the exact same JSONP string as any of the existing proxies that others have written (for Node.js, PHP or Python), and I'm setting headers to match on the rails controller that uses this module:
require 'base64'
require 'open-uri'
require 'json'

module ImageProxy
  def self.generate( url, callback = "callback" )

    data = {content: "", type: ""}
    file = open( url, 'r')

    if ( file )

      content_type = file.content_type

      if ( content_type == "image/jpeg" || content_type == "image/png" || content_type == "image/jpg" || content_type == "image/gif" )

        base64_data = Base64.encode64( file.read.chomp ).gsub("\n", "")
        data["content"] = base64_data
        data["type"] = content_type

      end
    end

    return "/**/ typeof #{callback} === 'function' && #{callback}(#{data.to_json});"
    #=> /**/ typeof callback = 'function' && callback({"content":"/9j/4AAQSkBase64String ... ", "type": "image/jpeg"});

  end
end

And here are the headers I'm setting on the controller.
response.headers['Access-Control-Max-Age'] = (5*60*60).to_s
response.headers['Access-Control-Allow-Origin'] = "*"
response.headers['Access-Control-Request-Method'] = "*"
response.headers['Access-Control-Allow-Methods'] = "OPTIONS, GET"
response.headers['Access-Control-Allow-Headers'] = "*"
response.headers['Connection'] = "keep-alive"
response.headers['Content-Type'] = "application/javascript"

However, it won't load the image.  I feel like I've ruled most other things out, but is it important that the proxy runs on a different port than the app? Anything sacred about :8082? Anything else I'm overlooking?
Really appreciate any feedback others can give, or in general details about what specific things need to be true in the response that html2canvas expects from the proxy.  Thanks!!

Here's your controller method
`
require 'base64'
require 'net/http'
def proxy_image
url = URI.parse(params[:url])
image = Net::HTTP.get_response(url)
render json: data_url(image).to_json, callback: params[:callback]
end`

authors: pipbeard unChaz


text:
render 50 doms to canvas, the canvas result will change(blank) as the width  and the height change.

render 50 doms to canvas, the canvas result will change(blank) as the width  and the height change. When I set the width or the height to 700px, the canvas in the onrendered callback will be blank.
Here is my simple code:
http://jsbin.com/renuyirimo/edit?html,js,output

the demo will result in 50 blank canvas which is not expected.
but
you can change the width to 600 or change the loop to 5 instead of 50, the canvas will not be blank, which is expected

Is this still an issue with v1.0.0? If so, could you please share an example on jsfiddle.

authors: Nomia niklasvh


text:
While running pub get there is an error

Because every version of gallery_view depends on photo_view ^0.9.2 and your app depends on photo_view ^0.10.2, gallery_view is forbidden.
So, because your app depends on gallery_view ^0.0.4, version solving failed.
pub get failed (1; So, because your app depends on gallery_view ^0.0.4, version solving failed.)

Check now


text:
Please add netshoot kubect plugin to krew

Hi,
netshoot is such a timesaver and also your plugin, it would be really nice if you could add the plugin to krew which basically only needs writing a manifest file to add it to the krew plugin index.
https://krew.sigs.k8s.io/docs/developer-guide/distributing-with-krew/
i can also give it a shot because with all the plugins it's much nicer to have a system to automatically update all the plugins, and with hundrets of them already in krew it would be a huge benefit, because imho netshoot is the best debug image out there :)!

oh... ok they deem it a too thin wrapper over already existing primitives, seems they want to correct their one-line wrapper count a bit from the beginning of krew project...
yea i can understand them... so it's back at just using the base primitives, thx for the quick answer!

repo: nilic/kubectl-netshoot


text:
tutorial doesn't work

PHP 7.0
                    ->setTable('user')
                    ->setColumns(['userId' => 'user_id', 'username' => 'name', 'email' => 'email']);
echo $builder->write($query);
`

``` [Symfony\Component\Debug\Exception\FatalThrowableError]
  Type error: Argument 1 passed to NilPortugues\Sql\QueryBuilder\Builder\GenericBuilder::write() must implement interface NilPortugues\Sql\QueryBuilder\Manipulation\QueryInterface, instance of NilPortu
  gues\Sql\QueryBuilder\Manipulation\ColumnQuery given, `

Confirmed here, too.

If i use where()
Here gives error too. What the hell are those erros.

@sant0ro provide the code of the query and I'll look into it :)

I researched a little and discovered that the core isn't soo hackable, see an example:
If i create the SQL Instruction directly by invoking the correspondent methods,
as an example where() and setColumns() statement, they return respectively Where and ColumnQuery class instances.
Generating the following error:

Catchable fatal error: Argument 1 passed to NilPortugues\Sql\QueryBuilder\Builder\GenericBuilder::write() must implement interface NilPortugues\Sql\QueryBuilder\Manipulation\QueryInterface, instance of NilPortugues\Sql\QueryBuilder\Syntax\Where given, called in C:\Users\NOTEBOOKRIC\Documents\GitHub\middleware_mc_srvcl_rest_raise\UIoT\Factories\InstructionFactory.php on line 102 and defined in C:\Users\NOTEBOOKRIC\Documents\GitHub\middleware_mc_srvcl_rest_raise\UIoT\Vendor\nilportugues\sql-query-builder\src\Builder\GenericBuilder.php on line 216

Simply i used

$query = $builder->select()->setTable('DEVICES')->setColumns($deviceArray)->where()->equals('ID', 7);
$builder->write($query);

as example, and the error ahead was returned to me.
BUT, if i do in this way:

$parteOne = $builder->select()->setTable('DEVICES);
$parteOne->setColumns($deviceArray);
$parteOne->where()->equals('ID', 7);

$builder->write($parteOne);

Everything works correctly. Maybe your Variable Injection isn't working correctly.

@nilportugues what you think can be? The tutorial is a demonstration? or is intended to wisely work?
I didn't give a look in the source code of this library, but i think that's a bug?
Since also phpStorm is warning me that the return types of the variables aren't the expected as the tutorial...

I had to add
/**
* @return QueryInterface
*/
public function end()
{
   return $this->query;
}

Then i can do something like this:
$query = $builder->select()->where()->equals('field', 'value')->end();
$builder->write($query);

It's not the best thing but it's the only workaround I found.

Can u fix this shit?

Would be great to fix it, same error here! This simple code just doen't work:
$query = $builder->select()
    ->setTable('user')
    ->setColumns(['id','name']);

echo $builder->write($query);

Error:
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to NilPortugues\Sql\QueryBuilder\Builder\GenericBuilder::write() must implement interface NilPortugues\Sql\QueryBuilder\Manipulation\QueryInterface, instance of NilPortugues\Sql\QueryBuilder\Syntax\Where given, called in /var/www/site/includes/search.inc.php on line 26 and defined in /var/www/site/vendor/nilportugues/sql-query-builder/src/Builder/GenericBuilder.php:216
Removing '->setColumns(['id','name'])' everything works fine. And yes, the columns id and name exist ;-)

The only solution I found was composer remove nilportugues/sql-query-builder

@g-giani
I've got the same problem, the tutorial has error true.
you can fix this - do not resign variable $query;
try to use this
$query = $builder->select(); // here you get the new Select instance
$query->setTable('user')
->setColumns(['id','name']);
echo $builder->write($query); //here is the place where you send new Select instance to builder

Why can't this still being open? Would be cool to get it solved asap.

I believe it will never be solved.

I do not think the author is taking care of this nice library any more. For those who are fetching this problem can change the dependency to my fork of this library at https://github.com/mmuhasan/php-sql-query-builder/ with the following composer.json configuration:
"repositories": [         {             "type": "vcs",             "url": "https://github.com/mmuhasan/php-sql-query-builder"         }     ],     "require":{         "nilportugues/sql-query-builder" : "dev-where-bug-fix"     },     "prefer-stable":"true"
In my repo the tutorial is also fixed.
Note: the fixed I made is proposed by @smeeckaert earlier in this thread. A pull request is also created with the changes.

Appending ->where()->end(); works for me:
$query = $builder->select()
    ->setTable('user')
    ->setColumns(['user_id','name','email'])
    ->where()->end();

This will convert a ColumnQuery back to a QueryInterface without side effects.

After looking through the tests, all of which pass, there is a key difference in how the queries are built up in the tutorials. Rather than calling builder->select() to initialise the query, create a new instance of the Select class instead. The first example should actually read:
use NilPortugues\Sql\QueryBuilder\Builder\GenericBuilder;
use NilPortugues\Sql\QueryBuilder\Manipulation\Select;

$builder = new GenericBuilder();

$query = new Select();
$query->setTable('user')->setColumns(['user_id','name','email']);

echo $builder->write($query);

Following this method all of the examples I've tried so far do indeed work.
I know this project is no longer maintained, but it is an awesome project and this might help someone else who wants to use it :)

@dcrouch79 Indeed this is a great project and like you and everyone else I was also thinking the project is not maintained any further, but actually, it is. As you figure out some of it, would you please update the right files and create a pull request to have it in the main repository. It will help all of us in the coming days.

authors: Assada RedShift1 SmattyCore belaarany collmomo dcrouch79 fterragna g-giani mmuhasan nilportugues sant0ro smeeckaert timtimosh

repo: nilportugues/php-sql-query-builder


text:
Specific Exception for Requesting a WorldSlice from an unloaded Chunk

Feature branch: improvement-allsorts
Whenever chunk data is requested from a chunk that isn't entirely loaded, the error nbt.nbt.MalformedFileError: First record is not a Compound Tag will be raised upon interpretation of the non-existent NBT Data.
This can be confusing for users, since they do not understand why their code is now crashing when it worked prefectly well with other coordinates.
Suggested implementation:
try:
    ...
catch nbt.nbt.MalformedFileError as e:
    if error was caused by empty NBT data:
        raise InputError("The chunks within the requested area {x1, z1, x2, z2} were not loaded.\n Please load the chunks and retry.")
    else:
    raise e

Pro:

Reduces the amount of hopelessly confused users

Con:

Potential of catching false positives

A temporary solution has been implemented, but further testing is required

Since update 0.4.2 of the GDMC HTTP Server Mod the changes may have caysed the bug to disappear.
If there are no further reports of the bug by May 31st it will be assumed to be closed.


text:
Support other storage providers starting with AWS S3.

WIP PR for #1

This is now ready for review.

Last question: any changes required to the readme?

LGTM.
I believe that a developer can use .client as an escape hatch to the underlying boto or gcp client. Is that right?

Correct!

Last question: any changes required to the readme?

Yes - I'll update the overview of the API. I have got an issue open (#3) to add more comprehensive docs in future.

@jthomas thanks for the updates and answering the questions. LGTM and I see the GHA ran successfully.
I re-approved the PR. Feel free to merge and fix up the commit message as you see fit.

I've added an overview of the new API to the README. This is now ready for merging.

authors: jthomas rabbah

repo: nimbella/nimbella-sdk-python


text:
Use aligned allocator in NimArray<>

Eigen prefers aligned memory to make its vectorization work easier, but we currently allocate unaligned memory in NimArray. But Eigen also provides an easy platform-independent way to create aligned memory: the aligned_allocator.
Tasks

Use Eigen::aligned_allocator in NimArray<>
Inform our Eigen::Map<>s that the underlying memory is aligned.

As of #483 this can be enabled by defining NIMBLE_ALIGNED_MALLOC=1. Because benchmarking results showed little improvement, this has not yet been enabled by default.

repo: nimble-dev/nimble


text:
Ninaad Kiran Binary Review Ticket

What I did:
After the UI and basic things were added, I started to work on some functions. It had one basic function which was just converting binary to colors but I started adding functions to make the binary numbers move left. After this I realized that it might be difficult for a user to individually go in and press all the buttons to clear them so I added a function to clear all the binary numbers. In addition to this, I also did a lot of debugging, for example: the color shown on the screen started inverted from the actual binary code but I went in and fixed it by initializing the binary numbers and making sure the screen is updating when it needs to.
What I learned
Bit Manipulation:

The application focuses on manipulating and displaying binary values, representing them as bits. It allows users to toggle individual bits, add or subtract values, invert bits, and rotate bits left.

Color Manipulation:

The code includes functionality to represent binary values as RGB colors. It updates the color display, RGB values, and a color picker based on the binary input.

ASCII Character Display:

The application translates the binary input into ASCII characters, displaying the corresponding character if printable, or indicating if it's a non-printable character.

Background Manipulation:

Users can toggle a background GIF on and off, demonstrating how JavaScript can manipulate the appearance of the entire webpage.

Input Validation:

There is some input validation, such as handling invalid hex color codes and non-printable ASCII characters, enhancing the user experience.

Understanding Binary Operations:

The code provides practical examples of how to perform common binary operations, such as inverting bits and rotating bits left.

What I could have done if I had more time:
I could have added more features that didn't relate to simply updating the array of binary numbers. An example of this is the opacity slider that or the color picker was added by my teammates. In addition we were planning to add a color book feature where you could choose a pixel and color it with the color chosen using the binary code.
Key Commits:

Binary Left
Clear Button

Video:

Video

Team Review: General project grading [Ankit Pulivendula]:

[x] The team should have a Web Pages that teach: Binary, Data, Data Structures, Data Abstraction.

Team Review ticket containing key Team and individual contributions

[x] Growth/Accomplishments in work is according to historical Team Plan, or they show revisions to plan according to work
[x] Short falls/Improvement that could be made in Work or Team Plan, team highlights next steps or improvements that could be made
[x] Showing key accomplishments according to requirement in Frontend such as Binary Math, ASCII, Unicode, Color Codes, Logic Gates, etc.
[x] Showing key user interaction and learning(s).  For instance how you visualized  Algorithms, Data, Data Structures.  Or, how you provided response and Feedback to user on their success in learning.

Per check.
0.55 not attempted/no check
0.7 attempted, incomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
FINAL GRADE: 0.9/0.9
Justification: The project had a good variety of user features, such as the on/off buttons for the bits, the bit inverting, the bit rotating, and the background GIF toggle, to name a few. While the UI interface could use a little upgrade in terms of CSS and usability, the project idea as a whole is unique and implements most areas of binary logic. The project presentation was thorough, with a structured explanation of every code segment. Finally, I found the teamwork in the group to be very efficient, with a proper division of work among the 4 members. Overall, I loved the project and found the teamwork impressive. Great job!

Individual Review "My name" grading "Their name"

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Very well done. My only suggestion would be that you could have added more to the base of the code
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.


text:
[ninc-2021][ninc-2059] Add corporateName and legalRepresentatives column in contractor table

Uma coisa que percebi é que estes campos que tem array a busca não funciona

repo: ninc-management/plataforma


text:
Research about expo pricing, building etc.

As in email

Reopening as we need more information from you.

I will be dev accounts
We need free expo plan. 15 builds per platform is more than enough for us at this moment. We can always upgrade later if needed, but it should be around 2 - 4 builds per platform per month.
1st will be itch.io and Microsoft Store. I believe we should release it at the end of Iteration 3, so 7 of April. I planned to transfer the code for mobile at the end of the work, but it would just take too much, therefore I think we should transfer the code (what we will have then) and release it to android and iOS after Iteration 5 (5 May). So we will need to buy an Apple and google developer accounts around 28 of April and we will need to start register for Microsoft store and itch.io around 31 of march.
I don't think I need anything else at this moment.

@mrfatguy

authors: MadejaMaciej trejder


text:
Add a tool to measure the time of each step

It'd be nice to analyse the time taken (and possibly other stats from Unix's /usr/bin/time) for each job that ninja completes, and have it written to a log file.
$ # Example
$ ninja -t time
$ cat .ninja-time.log
[1/3] clang++ ...
real:
user:
sys:
[2/3] clang++ ...
real:
user:
sys:
[3/3] ld.lld ...
real:
user:
sys:

In terms of an external utility, apparently there's a ninjatracing tool which converts .ninja_log to Chromium's about:tracing format, so the times taken may be viewed in a browser.

This can be accomplished with linux native features, a cron job. Is this something your team would still like help with?

If you only care about the start/end times, they are already availablein the .ninja_log file, which is what ninjatracing and other tools use. The format is basic enough you can parse it with tools like awk or sed.

authors: Hi-Angel cjdb digit-google githubbin765

repo: ninja-build/ninja


text:
Document the msvc tool

Ensure it is available in all Windows Ninja binaries, not only those
built with the Microsoft compiler.

See issue #2082

friendly ping, is there anything left that prevents this PR to be submitted?

friendly ping


text:
测试

![image](https://github.com/ninjahome/web-bridge/assets/54393010/4669d3e2-543a-43ea-bc52-da6995545067)

fixed

repo: ninjahome/web-bridge


text:
v0.1.4

Relax dependency version conditions

Pull Request Test Coverage Report for Build 1797837130

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

Totals

Change from base Build 1511652179:
0.0%

Covered Lines:
297

Relevant Lines:
301

💛  - Coveralls

authors: coveralls ninoseki

repo: ninoseki/whois-parser