Selecting an action on a single neo block applies it to all blocks when "select all" is ticked

Bug Description
Choosing an action for a single Neo block applies it to all blocks when the batch option "Select all" is ticked, despite not actually using one of the batch actions
This makes it very easy to accidentally delete all blocks!
Batch Actions v1.3.1
Neo v4.0.5
Craft CMS v4.7.3
Steps to reproduce

Tick select all
Click collapse
Choose an action on one of the collapsed blocks using its cog, eg. delete

Expected behaviour
Only the block which cog you've used should be deleted, not all of them
Batch Actions version
1.3.1
Craft CMS version
4.7.3

This is the normal behaviour for both Neo and Matrix fields without Batch Actions installed; selecting an enable, disable, expand, collapse, or delete action from one Neo or Matrix block's action menu will apply that action to all selected blocks in the same field.
That does not appear to be mentioned in the Neo documentation, though, so I will make a note to add that when I get a chance.

@ttempleton What do you know, you're right! I feel like it's odd UX but maybe its only brought to light by the dedicated options this plugin adds at the top. As that's the standard Craft behavior with matrix blocks though I suppoose it's a question for them.
Thanks for the response 🙏


Sonoff RF Bridge sensors exposes wrong type

What issue do you have? Please be as thorough and explicit as possible.
Since the last Update the Sonoff RF Bridge sensors exposes all as Motion Sensors and not as Water Leak, Contact, and so.
Details of your setup.

Do you use (1) Homebridge (+ config-ui), (2) Homebridge (CLI) or (3) HOOBS?

1

Which version of Homebridge/HOOBS do you have?

1.1.7 with config-ui

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Raspberry Pi Node.js v14.15.4

Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?

4.5.0

Which eWeLink devices do you have that are causing issues? Please include product models if applicable.

Sonoff RF Bridge
Please paste any relevant logs below.

We have had this issue smoe releases ago.
[28/01/2021, 16:36:44] [eWeLink] [Sonof RF Bridge 3] receiving update {"cmd":"trigger","rfTrig2":"2021-01-28T15:36:43.000Z","online":true,"updateSource":"WS"}.

This has been fixed and will be available in the next release.
Thanks!

This has been fixed and will be available in the next release.
Thanks!


is pfnResourceUpdateSubresourceUP is necessary for implementation?

Microsoft's sample code does not implement pfnResourceUpdateSubresourceUP? is it a MUST or developer only needs to implement PFND3D10DDI_RESOURCECOPY ?
https://github.com/microsoft/graphics-driver-samples/blob/0ed4f24153139ddffe17239ce84b1485bee72ffe/render-only-sample/rosumd/RosUmdDeviceDdi.h#L101

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

ID: 2b0a10c5-f426-d521-15f1-aa3236dfb539
Version Independent ID: eea28978-3d05-51d1-2c2c-46908f57cc9e
Content: D3DWDDM1_3DDI_DEVICEFUNCS (d3d10umddi.h) - Windows drivers
Content Source: wdk-ddi-src/content/d3d10umddi/ns-d3d10umddi-d3dwddm1_3ddi_devicefuncs.md
Product: windows-hardware
Technology: wdk-api-reference
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

Hi @chaotsungpeng, sorry for the slow response. pfnResourceUpdateSubresourceUP is a must-implement. I've updated the page to say that (in general), unless there is an "optional" situation, all DEVICE_FUNCS member funcs must be implemented. FYI that there is an outstanding GitHub issue filed about the need to implement pfnResourceUpdateSubresourceUP in the sample.


chore: release 1.0.1

:robot: I have created a release *beep* *boop*
1.0.1 (2022-09-30)
Bug Fixes

type error (5ce2330)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/keq-request/handlebars-ramda-helpers/releases/tag/v1.0.1 :sunflower:


Dumps from multi-quantile models include only first quantile

ref https://github.com/dmlc/xgboost/pull/9924
Trying to get a model text dump from a multi-output model ("multi_strategy" : "multi_output_tree") will produce an error, but if one tries to get a dump from a multi-quantile model, it will output only the leafs of the first quantile:
import numpy as np, xgboost as xgb
rng = np.random.default_rng(seed=123)
X = rng.standard_normal(size=(100,3))
y = rng.standard_normal(size=100)
dm = xgb.DMatrix(data=X, label=y)
model = xgb.train(
    dtrain=dm,
    params={
        "tree_method" : "hist",
        "objective" : "reg:quantileerror",
        "quantile_alpha" : [0.1, 0.5, 0.9],
        "max_depth" : 2
    },
    num_boost_round=1
)
xgb.plot_tree(model)

These leaves match with the first quantile:
import json
base = float(
    json.loads(model.save_raw("json").decode())
    ["learner"]
    ['learner_model_param']
    ['base_score']
)
pred = model.predict(dm, output_margin=True)
np.unique(pred[:,0]) - base

array([-0.5326223 , -0.4631673 , -0.40180442,  0.01188996], dtype=float32)

But they do not match with the rest of the quantiles:
array([-0.18282221,  0.0202435 ,  0.04176801,  0.12941198], dtype=float32)

It's still working in progress, the vector leaf. We can safely ignore it for now.

Closing in favor of https://github.com/dmlc/xgboost/issues/9043


Bot refactoring

I refactored the bot so that he can be used outside main.go
Only effective change is local is no longer a string but a boolean value.  it is true if environment variable local is "true" or false otherwise.

I'm not against the idea and I think I would also transfer the logic of reading the config file to the bot also so that your other "main" doesn't have to know the existence of the config class.
So I would init a bot with the path to the config only instead of the actual object.
See line comments

Did you test it? maybe change the timers to 1 minute to see what happens when the time between actions change?

Sorry I don't have any unit tests on this, was not planned like that at first :(

Haha, yes it is test with a little timestep to make sure it works !

Merged, thanks a lot for your help!


RBAC -  Get Assinged User Id List of a Particular Role

Hi,
Using PhpManager.
There is a requirement to handle only 10 to 20 users role access to a particular module, say "account", I have created a role say "account" and assigned to 10 users. Now I did not find any method to get the user id list of the role "account". I have gone through these documentation links
http://www.yiiframework.com/doc-2.0/guide-security-authorization.html and
http://www.yiiframework.com/doc-2.0/yii-rbac-phpmanager.html
but did not find the exact method.
Need help .....
Thanks

Duplicate of https://github.com/yiisoft/yii2/issues/9573


Devices are missing after the integrations with mi account

Hello all
I have installed the integration from a new HA, but now I can't view the devices after the integration set with mi home account as you can see in the image bellow

Is there any way to solve this issue ?
Thank you in advance for your help and best regards

Cloud integration don't add devices. Check video in config section.

Cloud integration don't add devices. Check video in config section.

Thank you for your fast reply, but I also have tried with the token extracted from the cloud mi home integration account, and the devices still not appearing with the deleted of the account integration and the restarts needed .... Is there any thing to perform in order to solve this issue ?
Thank you and bets regards

Try reboot gateway

Thank you for your support !!
I tried restart the gateway as mentioned by you, install and uninstall the integration re-add the gateway with the token , restar the HA  without success, the devices doesn't appear in the list ... and also the popup window with with the devices list after the integration with the token doesn't appear also ...

Тоже самое
Нет девайсов. Добавил mi account, затем добавил шлюз, как на видео из документации. Не отображаются подключенные к шлюзу девайсы, хотя они отображаются в mi home.
Рестарт пробовал.

Sorry for your work and support I realized that I perform the last firmware update for the hub/gateway and this is the issue
Thank you for your support

Same for me. Found message in extension debug logs.

By the way is there any way to reverte the firmware update ?
Thank you

You all probably have latest unsupported firmware
https://github.com/AlexxIT/XiaomiGateway3/wiki

Please reopen the issue if it is still relevant


Use dirname(@FILE) instead of Pkg.dir

This allows installing the package elsewhere

No longer applies. Package superseded by Gasp.jl.

the diff applies, doesn't it?

It's already applied in Gasp.jl.


[BUG] window reopens minimized

Describe the bug
I have a main window that opens child windows for certain actions. When opening the child window the second time, it opens minimized.
To Reproduce
Steps to reproduce the behavior:
with ptg.WindowManager() as man:
    win2 = ptg.Window(["Close", lambda: *_: man.close(win2)])
    win2.center()
    win1 = ptg.Window(["Open win2", lambda _: man.add(win2)])
    win1.center()
    man.add(win1)
    man.run()

click "Open win2"
click "Close"
click "Open win2"
observe bug

Expected behavior
After opening win2 the second time it should appear the same as the first time.
System information
ptg 3.0.0

I think this is caused by the animator not resetting the height value at the end of the animation. It should be a relatively easy fix, but in the meantime you can probably either reconstruct the window when adding, or add a line that sets the window height to whatever it was before being closed.
Thanks for the comprehensive report!

That should have fixed it, at least it did for the example code provided. I don't think I'll push this as a minor release yet, would rather wait for more changes to bundle together.


change download links to buttons

I think they would pop more similar to https://docs.microsoft.com/en-us/dotnet/framework/install/on-windows-10#net-framework-48

We're also making some changes to the https://dotnet.microsoft.com/download/dotnet-core/current/runtime page that would allow you to link to that page instead for runtime. And I have a similar page for sdk planned in the backlog.


Feature/refactor balance bot

Pull Request Test Coverage Report for Build 1297

0 of 23 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 41.503%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/bots/BalanceCheckBot.js
0
23
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/bots/BalanceCheckBot.js
2
0.0%

Totals

Change from base Build 1287:
0.2%

Covered Lines:
1707

Relevant Lines:
3868

💛  - Coveralls


remove extra backtick

This is clearly the most important PR everyone will approve this week! Maybe even this year!


Double tap implementation help (tick base manipulaition)

Ive been doing research into double tap but alot of the articles i see on UC are highly outdated and not detailed
So anyone on here whos created a dt for osiris if you could either share and or explain the concept and infomation required to dt in csgo i would be really grateful
And also with the framework/sdk osiris has built in would i be able to dt with the correct code?
Btw i do have a long history of modifying osiris as ive added lby breaking aa and a bunch of other stuff so when you explain you dont have to keep it very simple as i would like to understand tick base manipulaition more than i do witch isnt alot

Yes this is a new github acc i dont use my main for these types of projects for obvs reasons

@agshaidun made a doubletap but he is gone the videos are still there but unlisted

Ae there any record of his work?

yep but they are unlisted

Do you have any screenshots or if they are videos do you have any links..

@notgoodusename
I notice you posted about your double tap recently
Cant you share the source behind that or at least the hooks for WritingCmds etc and the required hooks so i can build off that
If you want to keep it private you can send me a dm on discord if you would prefer

i like public stuff so here
hook itself
bool __fastcall WriteUsercmdDeltaToBuffer(void* ECX, void* EDX, int nSlot, void* buf, int from, int to, bool isNewCmd)
{
static DWORD WriteUsercmdDeltaToBufferReturn = (DWORD)pat::FindPattern("engine.dll", "84 C0 74 04 B0 01 EB 02 32 C0 8B FE 46 3B F3 7E C9 84 C0 0F 84");
//static auto sendmovecall = pat::FindPattern("engine.dll", "84 C0 74 04 B0 01 EB 02 32 C0 8B FE 46 3B F3 7E C9 84 C0 0F 84 ? ? ? ?");
static auto ofunct = hooks.client.getOriginal2<bool, void*, int, void*, int, int, bool >(24, ECX, nSlot, buf, from, to, isNewCmd);
if ((DWORD)_ReturnAddress() != WriteUsercmdDeltaToBufferReturn || tickbaseShift <= 0 || !memory.clientState || !memory.clientState->m_NetChannel)
{
    tickbaseShift = 0;
    return ofunct(ECX, nSlot, buf, from, to, isNewCmd);
}
if (from != -1)
    return true;

auto CL_SendMove = []() {
    using CL_SendMove_t = void(__fastcall*)(void);
    static CL_SendMove_t CL_SendMoveF = (CL_SendMove_t)pat::FindPattern("engine.dll", "55 8B EC A1 ? ? ? ? 81 EC ? ? ? ? B9 ? ? ? ? 53 8B 98");

    CL_SendMoveF();
};

auto WriteUsercmd = [](void* buf, UserCmd* in, UserCmd* out) {
    using WriteUsercmd_t = void(__fastcall*)(void*, UserCmd*, UserCmd*);
    static WriteUsercmd_t WriteUsercmdF = (WriteUsercmd_t)pat::FindPattern("client_panorama.dll", "55 8B EC 83 E4 F8 51 53 56 8B D9 8B 0D");
    WriteUsercmdF(buf, in, out);

};
// number of backup and new commands
int* pNumBackupCommands = (int*)((std::uintptr_t) buf - 0x30);
int* pNumNewCommands = (int*)((std::uintptr_t)buf - 0x2C);
auto net_channel = *reinterpret_cast<INetChannel**>(reinterpret_cast<uintptr_t>(memory.clientState) + 0x9C);
int32_t new_commands = *pNumNewCommands;
// Manipulate CLC_Move
auto nextcmdnumber = memory.clientState->lastoutgoingcommand + memory.clientState->chokedcommands + 1;
auto totalnewcommands = std::min(tickbaseShift, 16);
tickbaseShift -= totalnewcommands;
from = -1;
*pNumNewCommands = totalnewcommands;
*pNumBackupCommands = 0;
//generate real cmd's
for (to = nextcmdnumber - new_commands + 1; to <= nextcmdnumber; to++)
{
    if (!ofunct(ECX, nSlot, buf, from, to, true))
        return false;

    from = to;
}
UserCmd* lastrealcmd = memory.cinput->GetUserCmd(nSlot, from);
UserCmd fromcmd;
if (lastrealcmd)
    fromcmd = *lastrealcmd;
UserCmd tocmd = fromcmd;
tocmd.commandNumber++;
tocmd.tickCount += (timeToTicks(0.5f) + nextcmdnumber);
//generate fake cmd's
for (int i = new_commands; i <= totalnewcommands; i++)
{
    WriteUsercmd(buf, &tocmd, &fromcmd);
    fromcmd = tocmd;
    tocmd.commandNumber++;
    tocmd.tickCount++;
}
//send them in all together
CL_SendMove();
return true;

}
getoriginal2
template<typename T, typename ...Args>
constexpr auto getOriginal2(size_t index, Args... args) const noexcept
{
return reinterpret_cast<T(__thiscall*)(Args...)>(oldVmt[index]);
}
can use memory for this one
unsigned int pat::FindPattern(std::string moduleName, std::string pattern, bool relativeOffset) noexcept
{
const char* pat = pattern.c_str();
uintptr_t firstMatch = 0;
uintptr_t rangeStart = (uintptr_t)GetModuleHandleA(moduleName.c_str());
MODULEINFO miModInfo; GetModuleInformation(GetCurrentProcess(), (HMODULE)rangeStart, &miModInfo, sizeof(MODULEINFO));
uintptr_t rangeEnd = rangeStart + miModInfo.SizeOfImage;
for (uintptr_t pCur = rangeStart; pCur < rangeEnd; pCur++) {
	if (!*pat)
		break;

	if (*(PBYTE)pat == '\?' || *(BYTE*)pCur == getByte(pat)) {
		if (!firstMatch)
			firstMatch = pCur;

		if (!pat[2])
			break;

		if (*(PWORD)pat == '\?\?' || *(PBYTE)pat != '\?')
			pat += 3;

		else
			pat += 2;
	}
	else {
		pat = pattern.c_str();
		firstMatch = 0;
	}
}

if (relativeOffset)
	firstMatch = firstMatch + 0x5 + *(DWORD*)(firstMatch + 0x1);
return firstMatch;

}
createmove
if (config.misc.Doubletap)
{
if ((cmd->buttons & (UserCmd::IN_ATTACK)))
{
        int doubletapTickcountDelta = memory.globalVars->tickCount - lastDoubleTapInTickcount;

        if (doubletapTickcountDelta >= timeToTicks(2.0f)) {
            lastDoubleTapInTickcount = memory.globalVars->tickCount;
            cmd->tickCount = INT_MAX;
            tickbaseShift = 16;
        }
    }
    else {
        cmd->tickCount = memory.globalVars->tickCount;
    }
}
else
{
    tickbaseShift = 0;
}

memory.cpp
clientState = reinterpret_cast<CClientState*>((reinterpret_cast<uintptr_t*>(interfaces.engine))[12] + 16);
cclientstate class
struct Vector;
struct CClockDriftMgr
{
float m_ClockDriftMgr;
};
struct CClientState
{
public:
void ForceFullUpdate()
{
	m_nDeltaTick = -1;
}

std::byte pad_0000[156];             //0x0000
INetChannel* m_NetChannel;          //0x009C //Netchan
uint32_t m_nChallengeNr;        //0x00A0
std::byte pad_00A4[100];             //0x00A4
uint32_t m_nSignonState;        //0x0108
std::byte pad_010C[8];               //0x010C
float m_flNextCmdTime;          //0x0114
uint32_t m_nServerCount;        //0x0118
uint32_t m_nCurrentSequence;    //0x011C
std::byte pad_0120[8];               //0x0120
CClockDriftMgr m_ClockDriftMgr; //0x0128
uint32_t m_nDeltaTick;          //0x0178
bool m_bPaused;                 //0x017C
std::byte pad_017D[3];               //0x017D
uint32_t m_nViewEntity;         //0x0180
uint32_t m_nPlayerSlot;         //0x0184
std::byte m_szLevelName[260];        //0x0188
std::byte m_szLevelNameShort[40];    //0x028C
std::byte m_szGroupName[40];         //0x02B4
std::byte pad_02DC[52];              //0x02DC
uint32_t m_nMaxClients;         //0x0310
std::byte pad_0314[18820];           //0x0314
float m_flLastServerTickTime;   //0x4C98
bool insimulation;              //0x4C9C
std::byte pad_4C9D[3];               //0x4C9D
uint32_t oldtickcount;          //0x4CA0
float m_tickRemainder;          //0x4CA4
float m_frameTime;              //0x4CA8
uint32_t lastoutgoingcommand;   //0x4CAC
uint32_t chokedcommands;        //0x4CB0
uint32_t last_command_ack;      //0x4CB4
uint32_t command_ack;           //0x4CB8
uint32_t m_nSoundSequence;      //0x4CBC
std::byte pad_4CC0[80];              //0x4CC0
Vector viewangles;              //0x4D10

}; //Size: 0x4E1C
netchan class
class INetChannel
{
public:
bool transmit(bool onlyReliable = false)
{
    return callVirtualMethod<bool>(this, 47, onlyReliable);
}

}

Could you share your INetChannel
From for example
 auto net_channel = *reinterpret_cast<INetChannel**>(reinterpret_cast<uintptr_t>(memory.clientState) + 0x9C);

Also have you missed out a class called "pat" in "pat::FindPattern"
   static DWORD WriteUsercmdDeltaToBufferReturn = (DWORD)pat::FindPattern("engine.dll", "84 C0 74 04 B0 01 EB 02 32 C0 8B FE 46 3B F3 7E C9 84 C0 0F 84");

#include
#include
#include <type_traits>
#include <Windows.h>
#include <Psapi.h>

#define INRANGE(x,a,b)    (x >= a && x <= b)
#define getBits( x )    (INRANGE((x&(~0x20)),'A','F') ? ((x&(~0x20)) - 'A' + 0xa) : (INRANGE(x,'0','9') ? x - '0' : 0))
#define getByte( x )    (getBits(x[0]) << 4 | getBits(x[1]))

memory.cinput->GetUserCmd(nSlot, from);
Also i believe cinput is missing from memory
Unles sim being a bit dumb again
Also thanks for all this
i will be looking through how it all works later

UserCmd* GetUserCmd(int nSlot, int sequence_number)
{
	//typedef UserCmd* (__thiscall* GetUserCmd_t)(void*, int, int);
	return callVirtualMethod<UserCmd*, int, int>(this, 8,nSlot, sequence_number);
}

memory.input->GetUserCmd(nSlot, from);

I get pointer to known type is not allowed :/

Dont we need a line of code to hook the function such as
"clientState.hookAt(24, WriteUsercmdDeltaToBuffer);"
24 is the index for create move how do i hook it for write cmd
Im going ot test without the hook but i dont believe it will work

client.hookAt(24, WriteUsercmdDeltaToBuffer);

For the life of me i cant get your source to work,
clientState = reinterpret_cast<CClientState*>((reinterpret_cast<uintptr_t*>(interfaces.engine))[12] + 16);
This gets flagged "clientState" for not existing in memory so i define it with its class "CClientState* clientState;"
Then i compile and get hit with lots of errors
Ive made it work by defining it within bool __fastcall WriteUsercmdDeltaToBuffer function but
when testing nothing happened and i suspect thats because of the fact its not hooked using hookAt(24, WriteUsercmdDeltaToBuffer);
so im going to try work out the index

Using
clientMode.hookAt(25, WriteUsercmdDeltaToBuffer);
Has got the function to be hooked correctly
But clientState doesnt seem to have any data causing it to crash so now im super stumped

Whats annoying is i have this so close to working :(

if your message is too long to fit in a single comment then maybe it shouldn't be sent as a comment.
pastebin and hastebin exist. (or you could make a fork and link that)

index is 24
memory.cpp
clientState = reinterpret_cast<CClientState*>((reinterpret_cast<uintptr_t*>(interfaces.engine))[12] + 16);
memory.h
CClientState* clientState;

I got an error saying un able t find pattern :( it hooks fine i believe its just an issue with pattern scanning within the hook
`    static CL_SendMove_t CL_SendMoveF = (CL_SendMove_t)findPattern(L"engine.dll", "55 8B EC A1 ? ? ? ? 81 EC ? ? ? ? B9 ? ? ? ? 53 8B 98");
static WriteUsercmd_t WriteUsercmdF = (WriteUsercmd_t)findPattern(L"client_panorama.dll", "55 8B EC 83 E4 F8 51 53 56 8B D9 8B 0D");

`
So i assume i just need to find correct patterns

Vmt clientState{ memory.clientState }; clientState.hookAt(24, WriteUsercmdDeltaToBuffer);
or do i have to link it to client vmt
client.hookAt(24, WriteUsercmdDeltaToBuffer);

At this point ive tried so much to get this to work there are still many situations i have to guess what to do, can you just share some sort of solution or something as this isnt working at all

client no clientstate, create a new file and put
#include "SDK/Pattern.h"
unsigned int pat::FindPattern(std::string moduleName, std::string pattern, bool relativeOffset) noexcept
{
const char* pat = pattern.c_str();
uintptr_t firstMatch = 0;
uintptr_t rangeStart = (uintptr_t)GetModuleHandleA(moduleName.c_str());
MODULEINFO miModInfo; GetModuleInformation(GetCurrentProcess(), (HMODULE)rangeStart, &miModInfo, sizeof(MODULEINFO));
uintptr_t rangeEnd = rangeStart + miModInfo.SizeOfImage;
for (uintptr_t pCur = rangeStart; pCur < rangeEnd; pCur++) {
	if (!*pat)
		break;

	if (*(PBYTE)pat == '\?' || *(BYTE*)pCur == getByte(pat)) {
		if (!firstMatch)
			firstMatch = pCur;

		if (!pat[2])
			break;

		if (*(PWORD)pat == '\?\?' || *(PBYTE)pat != '\?')
			pat += 3;

		else
			pat += 2;
	}
	else {
		pat = pattern.c_str();
		firstMatch = 0;
	}
}

if (relativeOffset)
	firstMatch = firstMatch + 0x5 + *(DWORD*)(firstMatch + 0x1);
return firstMatch;

}
and on the header file put
#pragma once
#include
#include
#include <type_traits>
#include <Windows.h>
#include <Psapi.h>
#define INRANGE(x,a,b)    (x >= a && x <= b)
#define getBits( x )    (INRANGE((x&(~0x20)),'A','F') ? ((x&(~0x20)) - 'A' + 0xa) : (INRANGE(x,'0','9') ? x - '0' : 0))
#define getByte( x )    (getBits(x[0]) << 4 | getBits(x[1]))
namespace pat
{
unsigned int FindPattern(std::string, std::string, bool relativeOffset = false) noexcept;
}

i just want myself some double tap

this doubletap doesnt work so you can try to fix it the basic stuff is on this post


Fixed buttons not being displayed properly in Safari

Before:

After:

Looks good, thank you @ilyakooo0


"Getting started" Documentation

Please explain the suggested feature in detail.
I believe that the docs should have a "Getting started"/"Setting up a multiplayer project" guide.
I am aware that there's one for Unet (https://docs.unity3d.com/Manual/UNetGettingStarted.html)
But as a newcomer to this, it's hard to know if it's a good idea to follow this guide. Are there minor differences that I will get stuck on and waste a lot of time on? Besides, UNet is deprecated and the documentation might get removed.
Even if the guides are the same, I believe that the Mirror docs should still have a copy to minimize confusion.
How exactly does this keep you from releasing your game right now?
It doesn't. It makes it more difficult to get started with Mirror for beginners.
Can you suggest a possible solution?
Either copy docs or write your own.
Additional context
None.

Our docs are here.

I'm aware of that, I wasn't asking for the docs in general, I suggested a specific guide to be added to the docs.
My suggestion was to add a "Getting started" / "Setting up a multiplayer project" guide. One that goes step by step on how to set up a multiplayer project. Something like Django's "Writing your first Django app" (https://docs.djangoproject.com/en/3.0/intro/tutorial01/), or NextJS's "Getting started" guide (https://nextjs.org/learn/basics/getting-started) (Although it doesn't have to be that interactive of course)

The problem here is that while we probably wouldn’t have a problem doing a boot camp guide to get Mirror setup and we have video tutorials that help people get started, it’s the matter of when we stop holding their hand with tutorials and say “Go on, start developing”.
Some people get too attached to examples and documentation, and are scared of picking up the pencil and start writing their own network code.
The only problem I see is people will moan about things being too hard and give up. That’s up to the developer, if they lack the will or resolve to continue network development after the tutorial. That’s not our responsibility - we ain’t gonna make their game for them.

Those people you're talking about, they wouldn't've come any further if it weren't for a guide.
It doesn't matter whether there's a guide or not, some people will always ask for help on every single little issue they stumble into. A guide won't amplify that.

The only problem I see is people will moan about things being too hard and give up.

You can see this happening everywhere, and it's even more prominent to game development where ambitious kids try to replicate their favorite triple A titles with no previous programming experience at all.
I've been programming for many years. Despite that, when I start working with a new tool, I always check for a guide. Because it doesn't matter how experienced you are with programming in general, you are not experienced with the tool/library that you're trying to use.
This is the closest thing to what I'm suggesting: https://mirror-networking.com/docs/General/Start.html
But I wouldn't consider this a proper guide, it just explains the exact steps (Without explanation) to achieve a working multi-player game.
Take the Player Movement section for example;

Add a NetworkTransform component to the player Prefab

Why? What is a NetworkTransform? What does it do?? Yes, I could spend a few minutes looking it up but why not just give a short explanation of what it does in this specific case?

Check the Client Authority checkbox on the component.

Once again, why?

Update input and control scripts to respect isLocalPlayer

This one is quite vague, to respect isLocalPlayer? What's that?

Override OnStartLocalPlayer to take control of the Main Camera in the scene for the player.

How? Can you give me a minimal example?

Over the years, as I have improved in software development, I steered away from video tutorials as they're slow, their explanations are often focused on absolute beginners, and they are often confusing. In some cases, I would see video tutorials teaching things that are considered bad practice.
What we need, is an official guide. One that explains each step properly, one that can be contributed to by professionals within the community, one that covers all the essential features of Mirror so that by the end of it, you can start using that knowledge to create your own multi-player game.
https://mirror-networking.com/docs/General/Start.html is almost that, but it needs a lot of improvement.
Another thing I'd like to mention, I believe the "Getting Started" and "Migration Guide" pages should be moved to "Guides".


make terminal suggest addon more generic

fixes #233364

Amazing!

created https://github.com/microsoft/vscode/issues/233363 to track this issue we discovered.

oh actually, in generating the test, I typed re vs RE.

the test passed when I added log statements 😢

It seems to be accepting the second completion 🤔

the cachedPwshCommands can also be non static now

the cachedPwshCommands can also be non static now

That one's static to share across all terminals, since not having cached commands can lock up the terminal for potentially seconds


NO setting, text file as setting not imported

Hello,
I want try your extension, but it not have setting = see attached screen, only it appears as setting.

in version in Opera extension site. - you not update?

Hey @led9,
"Modify O Tabs" is a fork of Tab Modifier. So I can't do support.
Tab Modifier is currently only available for Chrome.
Bests

Good news here, Tab Modifier is now available for Opera Browser.


Create Altair.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

The script is complaining about the net address, but it is correct address.


⚠ Thumbnails API Endpoint has degraded performance

In 9327f6f, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 3992 ms

Resolved: Thumbnails API Endpoint performance has improved in 66a1363 after 27 minutes.


Add a mechanism for enforcing a node shutdown

This adds a new option tenzir.shutdown-grace-period that when set starts a timer when the node starts its shutdown process. If the shutdown does not proceed cleanly in time, the timer causes the process to crash, ensuring that the process does not hang on shutdown.
Additionally, this slightly improves error handling in the metrics-collector component.

I don't want to purse this further now that we fixed the actual shutdown issue we've had.


Move Docker images to an alternative registry to avoid hitting Docker Hub rate limits

Describe the solution you would like to see happen
As described here, Docker has enabled download rate limits for pull requests on Docker Hub which may resolve in failures upon Kuberhealthy or Checker Pods images download. By default, the Kuberhealthy Helm Chart is using DockerHub as the default repository for the images.
How do you propose we build it?
All images should be migrated to an alternative registry like Quay.io, GCR, or similar and the Helm chart should include this registry by default for all images.

FWIW, we used to host on Quay.io.  They had a lot of random downtime, so we moved to docker.  GCR could be possible, but I think it costs money to host there?  I like this proposal.


Request: Publish a new release with the latest changes

Thanks for reviewing my pull requests and merging them. I was wondering when a new release to NPMJS' registry would be published, it isn't an urgent issue, please don't feel rushed with it :-)
It seems that some other bugs have been fixed which have not been released, here is the difference since the last release - I believe the only release that has been made is from the project's initial commit.

@ljharb I just made you owner of this package on npm. (Why hadn’t I done this before?!) Will you do the honors? :)

@mathiasbynens Thanks! Happily.

Published as v0.1.1 with linting and a changelog :-)


Add character:  to font:

Character : I
Font : drpepper

@harshvyas-22, look for any missing character in any of the fonts... If there is no active issue for that then open an issue and I will assign that to you


polling: Real time tallying in subgraph

[What's the problem? (required)
Describe the problem or need in exactly 1 sentence. Ex. "I'm unable to [...]", or "I am confused by [...]"
There are two approaches to poll tallying:

Update the poll tally at a regular interval i.e. whenever a NewRound is emitted
Update the poll tally in real-time whenever any on-chain action updates the poll tally (i.e. when a vote is cast, whenever a delegator/orchestrator's stake is updated)

Regardless of the approach to poll tallying, the subgraph will need to perform an update for a list of voters/delegators.

If we update the poll tally at a regular interval, we will need to perform an update for each voter in a poll whenever a NewRound is emitted
If we update the poll tally in real-time, we will need to update the stake of all of an orchestrator's delegators when Reward is emitted so that the delegator's voting stake can be fetched

An inefficient method of accomplishing these updates is to loop through a list in a single event handler. This is known to cause problems (the event handler could timeout).
Describe a possible solution you've considered (optional)
A clear and concise description of what you want to happen. '
We can investigate a new feature in TheGraph for dynamic data sources/handlers that would create N dynamic handlers that are fired when a parent event handler is fired instead of going through N iterations in a loop in a single event handler.
After we investigate this new feature we can decide whether we should do poll tallying at a interval or in real-time.

Closed by #611


Banner in German and English?

Hey
I run a website based on Joomla in German and English using the core functions of Joomla for multi language sites. I added the banner using the script and a module.  Problem: The banner is always in German, no matter what language the site is in. Is there a way to provide the German version only to the german visitors?
Thanks
Rolf

Never mind. Just realised it displays the banner based on navigator.language setting in the browser. That should do the trick!

The script uses the preferred browser language, try to change the lang in your browser settings and test again.
Or use the customization options - -> code, scroll down a bit
Gerne!
Marion

Yep, just realized this myself...sorry!
Our answers crossed in time :-)
Grüße
Der Rolf


Supplementaries blocks can't be placed correctly

Affected Product(s)
SpongeForge
Version
1.16.5-36.2.5-8.0.0-RC1131
Operating System
Windows
Java Version
Java JRE 8 (1.8.0_312)
Plugins/Mods
Plugins:
- None

Mods:
- Supplementaries
- Selene (Library mod for Supplementaries)

Describe the bug
To reproduce, create a SF server, install supplementaries, and try to place down any of the following objects:

Lanterns (needs to be placed on side of a block) This should be placing a hanging lantern.
Sticks & Blaze Rods(just click on the ground) Should place a 3D of these blocks.
Flower Pots (needs to be placed on the underside of a chain) Should place a hanging plant pot but instead instantly converts it to a vanilla pot.

In most cases, the item being placed down disappears on placement or converts to a vanilla counterpart. Unfortunately, this does not create any errors in the log, however, I know this is a Sponge Forge thing since it does not happen until SF is added.
Link to logs
https://paste.gg/p/anonymous/ce95ff85074649b4aed17a09c7cff889

may be related to https://github.com/SpongePowered/Sponge/commit/29095050dc3aac26b48849120592306d71601255
does it happen with the previous build (1130) too?

may be related to 2909505
does it happen with the previous build (1130) too?

Yes, it has happened with every build I’ve used so far.

Just a little update: this is still happening in version 1164 of spongeforge, and is also doing the same thing when trying to place fairy lights from the fairy lights mod.


SO-2179 file attachment api

A very simple rpc based low-level Java API to upload and download file (zip files only) attachments.
The server will store the attachments in a directory called attachments relative to the currently configured resources directory.

👍


Couldn't load SideBar on some websites

First of all, thank you so very much for making this. I find it super helpful.
I'm able to load the Sidebar and toggle it on some websites, but not on all. For example on Google Finance, the Toggle button doesn't show up and I'm seeing these errors

Is the above hard to fix? I'm considering to just stay on manifest V2 for the time being (because the SideBar from manifest V2 didn't have this problem).
Thanks again!

Issue tracked from https://github.com/mingyaulee/Blazor.BrowserExtension/issues/47


[enhancement] remove compiler from AoT client bundle

I'm submitting a ...  (check one with "x")
[ x ] bug report => check the README and search github for a similar issue or PR before submitting
[ ] support request => check the README and search github for a similar issue or PR before submitting
[ ] feature request

Current behavior
When run "npm run build:universal-prod" the client package contains the @angular/compiler
Expected/desired behavior
The client package dont need the compiler on AOT compilations
Minimal reproduction of the problem with instructions
Use webpack bundle analyzer plugin to check client bundle
What is the motivation / use case for changing the behavior?
Remove more them 300kb on client blundle
Please tell us about your environment:
Fedor Linux

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
all

@andresantos123 thanks for the idea, I'll try and test this on the first opportunity.

Hi,
I made a quick test and appears that the AOT is not working. With bundle analyzer, we cant see the ng-factory generated files. Changing the webpack/tsconfig made the bundle generate the compiled files.

@andresantos123 actually AoT was working on @angular v4.2.4 and @ngtools/webpack v.1.3.3`; however after the latest PR's their versions have been upgraded and this causes the AoT to be broken.
I'm working on this now, if none works I'll roolback the @angular version to v4.2.4.

@andresantos123 @theomathieubhvr Well, I solved this. Also it fixes the earlier https://github.com/ng-seed/universal/issues/29 and https://github.com/ng-seed/universal/issues/39.
Furthermore, mentioned the solution at https://github.com/angular/angular-cli/issues/6833.

@andresantos123 now the AoT got solved, do you have any suggestions on this topic?
@theomathieubhvr I'd like to hear your opinions also.

@fulls1z3 Now AOT is working like a charm! Tried a way to remove the compiler based on another starters without success.


Uncatchable UnhandledPromiseRejectionWarning on calling filesGetTemporaryLink with un-existing path

Before you start
Have you checked StackOverflow, previous issues, and Dropbox Developer Forums for help?
Yes, e.g.: Dropbox's filesGetTemporaryLink throws an uncatchable UnhandledPromiseRejectionWarning and terminates Node.js.
What is your question?
Given the following code:
const _dropboxFactory = function _dropboxFactory() {

	const dbx = new Dropbox({
		accessToken: CONFIG_STORAGE.apiToken
	});

	return dbx;

};

export const fileDownload = async function fileDownload(fileUUID) {

	let isSucceeded;

	let message;

	let file;

	const dbx = _dropboxFactory();

	try {

		const operationResult = await dbx.filesGetTemporaryLink({
			path: `/${CONFIG_STORAGE.uploader.assetsPath}/${fileUUID}`
		});

		if ("OK" === http.STATUS_CODES[operationResult.status].toUpperCase()) {

			isSucceeded = true;

			message = "OK";

			file = Object.freeze({
				length: operationResult?.result?.metadata?.size,
				link: operationResult?.result?.link,
				mime: mime.lookup(operationResult?.result?.metadata?.name),
				name: operationResult?.result?.metadata?.name
			});

		} else {

			file = "oops";
			isSucceeded = false;
			message = "FAIL";

		}

	} catch (err) {

		file = "oops";
		isSucceeded = false;
		message = "ERR";

	}

	const downloadResult = Object.freeze({
		file,
		isSucceeded,
		message
	});

	return downloadResult;

};

When the filesGetTemporaryLink's path is correct, then everything is OK, a client receives an object, from which, after applying json() (e.g. await fileResponse.json()), a JSON with a file link can be retrieved and browser starts a downloading.
The problem occurs when the filesGetTemporaryLink's path is incorrect / doesn't exist. Then I start getting a Node.js exception:

(node:9156) UnhandledPromiseRejectionWarning: #<Object>
(node:9156) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:9156) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

After some deep exploration and experiments, I came to the conclusion that the problem is somewhere in Dropbox's filesGetTemporaryLink. I've checked the API documentation, the method returns:
Promise.<FilesGetTemporaryLinkResult, Error.<FilesGetTemporaryLinkError>>

So, I've tried to catch the error:
const [operationResult, error] = await dbx.filesGetTemporaryLink({
			path: `/${CONFIG_STORAGE.uploader.assetsPath}/${fileUUID}`
});

if (error) {
	console.log("*** ERROR: " + error);
}

Since I've replaced const operationResult = await dbx.filesGetTemporaryLink with const [operationResult, error] = await dbx.filesGetTemporaryLink, I permanently get an exception before I even provide a path.
The biggest problem is that starting Node.js 15.x.x:

promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

How can I handle a case when the path is wrong using await/async syntax and not chains of .then/.catch?
Screenshots
If applicable, add screenshots to help explain your question.
Versions

What version of the SDK are you using?
7.0.0
Are you using Javascript or Typescript?
JavaScript
What platform are you using? (if applicable)
Node.js 14.13.1

This should be due to the linked issue regarding when the error is thrown.  Releasing 7.1.0 which will contain this fix

@rogebrd, thanks, that solved the issue, but the thrown error is in a string format rather to be an object. Details: https://github.com/dropbox/dropbox-sdk-js/issues/278.

Sure, just wanted to fix the immediate breaking changes.  I can try to address this issue in the near future as well.


Sparql query and local setup

This PR mainly adds two things (along with a lot of refactoring):

SPARQL generation: The complete chat workflow is now implemented, including the generation and execution of SPARQL queries.
local execution: To debug and test more easily, the system can be executed fully locally using an RDF file as knowledge graph, and runnign chroma in client-only mode.

local execution works by setting:
CHROMA_HOST='local'
SPARQL_ENDPOINT='/absolute/path.trig'
# or './local/path'

It also adds a notebook documenting the whole process. It runs fully locally and can use the OpenAPI API.
Additional improvements:

Support to embed only a named graph (i.e. a subset of the KG, such as the schema)
Minimal dataset added in data/test_data.trig

In case it is useful I leave here how I'm running this using a jupyter lab instance.

I modify the ENTRYPOINT at the bottom of Dockerfile by ENTRYPOINT ["/bin/bash"]
Build the image: docker build kg-llm-interface .
Run the image: docker run -it --rm -p 8888:8888 kg-llm-interface
Install git: apt get install git
Install aikg make install
Install Jupyter lab: pip install jupyter lab
Add poetry venv as ipykernel: poetry run python -m ipykernel install --user --name aikg
Run the JLab session: jupyter lab --allow-root --port 8888 --ip '<IP_ADDRESS>'

I have been able to run the ng_sparql.ipynb without errors :)


Final Submission PioNEErs

Final report can be found as a pdf under the group1_model directory. Also, the final submission for the EFI forecast challenge can be found and run in the same folder in the script named Futuremodel_2driver-submission.R. Other information can be found in the readme.

Thanks PioNEErs! I'll get comments back to you soon.


Problem with requirements

Hi,
I've followed the installation steps and guide given in the wiki page, but I`ve got this error while starting via python ohp.py --start-api-server and the same error in docker compose: ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
I`ve googled it and I understood that version of werkzeug must be the same as flask version, so I`ve updated requrements.txt
Than I`ve got this error:

OS: Ubuntu
OS Version: 22.04
Python Version: 3.10.12

Hello. Dirty solution is replace "import" to "print" as example, in file /core/compatible.py, in function "check_for_requirements(start_api_server)". It should go like this:
for module_name in external_modules:         try:             print(                 module_name.split('==')[0] if 'library_name=' not in module_name                 else module_name.split('library_name=')[1].split()[0]             )         except Exception:             exit_failure(                 "pip3 install -r requirements.txt ---> " + module_name + " not installed!"             )
This will disable dependency checking and allow honeypot to run, so you can see the modules being checked in this function. However, this may cause other bugs, so you should find the right solution to the problem


Search customers by city#80

Please pull and test locally with behave

Codecov Report

Merging #112 (10e68b3) into master (80be54a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #112   +/-   ##
=======================================
  Coverage   98.65%   98.65%
=======================================
  Files           7        7
  Lines         297      297
=======================================
  Hits          293      293
  Misses          4        4

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mm12063 Done with the changes

@mm12063
Done with the changes :)


fix(deps): update terraform terraform-ibm-modules/cbr/ibm to v1.23.3

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cbr/ibm (source)
module
patch
v1.23.1 -> v1.23.3

Release Notes

terraform-ibm-modules/terraform-ibm-cbr (terraform-ibm-modules/cbr/ibm)
v1.23.3
Compare Source
Bug Fixes

fixed bug where global deny target service details could potentially be missing consumer customizations (#489) (e902247)

v1.23.2
Compare Source
Bug Fixes

added fix to ensure only service-group-id should be specified when the pseudo service IAM is used (#487) (8108e45)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This issue has been resolved in version 2.10.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Static total request for Conditional Breaking Change setting

Hi team, it'd be nice to have an alternative static threshold for breaking changes, such as total requests in a period of time, Considering how diverse the services and total operations per service can be, it could be beneficial to introduce a static threshold. This would help to mitigate a potential problem with percentage where it's too high for service with a high traffic, too low for one with low traffic. With static total request, service can do graceful deprecation to ensure there are no breaking change at client side.
Thanks

Makes sense, we will try to prioritize it soon.


fix camel-css enough so we can use it

we should convert all store2 component's css to camel-css -- and fix any camel-css bugs along the way


[Issue]:

Confirmations

[X] I have checked the issues tab, and couldn't find an existing open issue for the issue I want to report.

OS Type
Windows
Python Version
3.8.10
Package Version
2.4.1
Description
Hi
if i use folder = "C:\\Users\\Downloads\\Itunes\\" everything works fine,
but if I change the disk to folder = "E:\\iTunes\\", it doesn't let me download the subtitles with the zip.
but I can download them in any format.
with the old version there wasn't this problem.
Thanks
Config
folder = "E:\\iTunes\\"

Output Log
[WinError 17] The system cannot move the file to a different disk drive

Hey, thanks for reporting.
Seems to be the same issue as https://github.com/MichaelYochpaz/iSubRip/issues/41, I just forgot to update the code for the zip file as well on the last release (2.4.1).
I'll release an updated version with a fix for that soon.

I'll release an updated version with a fix for that soon.

Thanks

Fixed on the new 2.4.2 version


Sync with latest version of dependencies

Generated with
$ cardano-repo-tool update-hash
$ nix/regenerate.sh

bors r+


Add Support for BigInteger / BigDecimal

This would involve:

Deciding whether or not we want to expose num types in our public API. It would be safer and more future-proof for us to newtype them instead.
Updating SymbolVisitor.kt something like this:override fun bigIntegerShape(shape: BigIntegerShape?): Symbol {
    return symbolBuilder(RustType.Opaque(name = "BigInt", namespace = "num_bigint"))
        .addDependency(NumBigInt).build()
}

override fun bigDecimalShape(shape: BigDecimalShape?): Symbol {
    return symbolBuilder(RustType.Opaque(name = "BigRational", namespace = "num_rational"))
        .addDependency(NumRational).build()
}

Updating CargoDependency.ky like this: val NumBigInt: CargoDependency = CargoDependency("num-bigint", CratesIo("0.4.3"))
 val NumRational: CargoDependency = CargoDependency("num-rational", CratesIo("0.4.1"))

Adding tests to ensure that we generate structs correctly when a smithy model specifies these new types


Highlighting makes source code unreadable

I am using Zenburn color scheme and Neomake highlighting makes text color very close to background.  I've read :help neomake-highlight and created this configuration:
augroup my_neomake_signs
        au!
        autocmd ColorScheme *
            \ hi NeomakeErrorSign ctermfg=red |
            \ hi NeomakeWarningSign ctermfg=yellow |
            \ hi NeomakeInfoSign ctermfg=white |
            \ hi NeomakeMessageSign ctermfg=white
    augroup END

Hoverer, I did not managed to change Neomake's default colors to fix the issue. How can I change text color when neomake highlights errors?
Neomake debug information
Async support: 1
Current filetype:
Windows: 0
[shell, shellcmdflag, shellslash]: ['/bin/zsh', '-c', 0]
Enabled makers
For the current filetype ("", used with :Neomake): None.
NOTE: the current buffer does not have a filetype.
For the project (used with :Neomake!): None.
NOTE: you can define g:neomake_enabled_makers to configure it.
Default maker settings:

remove_invalid_entries: 0
buffer_output: 1

Settings
g:neomake_place_signs = 1

:version

NVIM v0.2.0
Build type: Release
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/build/config -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/build/src/nvim/auto -I/tmp/neovim-20170707-80027-1bg0wcx/neovim-0.2.0/build/include
Скомпилирован<EMAIL_ADDRESS>
Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

            общесистемный файл vimrc: "$VIM/sysinit.vim"
          значение $VIM по умолчанию: "/usr/local/Cellar/neovim/0.2.0_1/share/nvim"

:messages

I've read :help neomake-highlight

Great.. :)
It does not talk about *Sign groups there though, but

NeomakeError
NeomakeWarning
NeomakeInfo
NeomakeMessage

Let me know if that helps.
I am interested in good defaults, so will look into how this can be improved.

It works perfectly in good old vim though. I've currently do not have neovim installed, so I will try to check that again later.

I'm facing the same problem right now (i.e warning making the highlighted code to have same color as the background) with colorscheme "default"  and "torte" but it became readable with colorscheme "darkblue"

@allan-simon
Vim or Neovim?  Which version / OS / terminal?

neovim 0.2.0 on ubuntu 16.04 ith a xterm compatible terminal  (lxterminal from lxde )

I have been poking around with this for a while and I believe I have found the issue.

It seems this code is using the bg attribute of the Error highlight instead of the fg attribute.

If that is the intended attribute could a case be added that checks to see if the Normal highlight bg is equal to the value we compute? This would mean that the text is going to be invisible. So we could call the ReverSynIdAttr and retrieve the value again.

How does :hi Error look for you?
I have

Error          xxx cterm=reverse ctermfg=1 guifg=White guibg=Red

The default theme in nvim has:

Error          xxx ctermfg=15 ctermbg=9 guifg=White guibg=Red

IIRC the reverse in my case gets handled, so it should end up being red in both cases.

I am using space-vim-dark colorscheme and NVIM 0.1.7
Neomake auto runs due to autocmd! BufWritePost * Neomake.
:hi Error
Error xxx cterm=bold ctermfg=160 ctermbg=235 gui=bold guifg=#e0211d guibg=#292b2e
I started poking around because I wasn't able to over ride the default NeomakeError with the following:
augroup my_neomake_highlights
        au!
        autocmd ColorScheme *
            \ hi link NeomakeError SpellBad |
            \ hi link NeomakeWarning SpellCap
augroup END

Although that may be an unrelated issue.
If a colorscheme doesn't have reverse attribute on the Error highlight group would it be possible to compare the bg attribute value of the Normal highlight group against the value that GetHighlight returns?


use UnionInPlace in import-roaring

get the count of the existing fragment and compare it to the incoming bits to
decide which should be unioned into the other. This should generally result in
far fewer allocations, though there is much work that needs to be done within
UnionInPlace (e.g. #1875)  to further improve things.
unrelatedly, I added a TODO to change the long-query-time option to move it out
of cluster. It should probably be happening at the API level so that different
handlers can reuse it, but if we're going to do that we'll want to make sure
that any potentially time intensive operations are pulled into api from
handler (e.g. protobuf decoding)
Pull request checklist

[ ] I have read the contributing guide.
[ ] I have agreed to the Contributor License Agreement.
[ ] I have updated the documentation.
[ ] I have resolved any merge conflicts.
[ ] I have included tests that cover my changes.
[ ] All new and existing tests pass.

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.

I don't think this adds any new counting overhead – since we were already iterating through the containers, of the incoming bitmap, calls to c.N() are just return c.n, and then we're just adding the result to a total.
The f.storage.Count() was already there – I'm just using the result now instead of comparing to 0. It could have been switched to f.storage.Any(), but now it can't unfortunately.
We don't have *InPlace funcs other than UnionInPlace right now – if you felt an uncontrollable urge to implement them, I definitely would not stop you.
I think this change is more or less a strict improvement on what was there, mod updating a counter which I doubt will show up in anyone's benchmarks. I kind of agree that maybe we could use a different heuristic to decide which bitmap to union into which, but I do think we need to make that choice explicitly, because the cost of choosing wrong could be quite a lot of allocation.
Maybe just the size of the roaring data in bytes?

Maybe the number of containers?

also probably a reasonable choice - I think we'd have to benchmark on different, common workloads to get a feel for which would actually be better, but either of them are probably better than doing that count.


ChainAPI should support CSV upload

This would be a great feature to make it easier for scientists / data collectors to easily upload their data in a format they're familiar with.

It may also be worth looking into HDF5 and/or NetCDF (or others?) as more space-efficient formats for larger datasets.


fix PrepareInsertStatement Problem

In flink_jdbc , a PreapredInsertStatement will be used more than once.
This pr fix the problem when executeBatch many times.
And I add a state property in ClickhouseConnection,  to ensure the query operation can be execute normally.

LGTM thanks


issue " Netro (NPA) error occurred for this serial number"

I would like to start by saying that until this morning the integration worked perfectly. today in the afternoon it gave me an error on the serial number of my device and I decided to remove and install everything from scratch. it gives me this message when I try to enter the serial number of the control unit. How can I solve it?
Netro watering version 1.2.1, h.a. version 2024.7.3

Solved, the tokens were out.

Solved, the tokens were out

Solved, the tokens were out

Glad to see it wasn't much. You can trigger an automation when the token reaches very low levels to prevent inconvenience. there is an entity indicating the number of tokens remaining. Have you looked in the log to see if the integration provided a more explicit message?


Propose changing the naming of build task(s) in libcsp wscript

Today the build task named 'csp' can generate 3 different outputs (objects, static library or shared library), depending on the options --enable-bindings and --disable-stlib.
--disable-stlib decides whether to create objects or static library.
--enable-bindings over-writes the former object/static build task (may not be intentional though) and creates a shared library.
This also means, that only one of the above can be built within a given configuration.
I would like to be able to build both objects/static and shared in the same configuration. As far as I understand Waf, this will require that the build tasks have unique names. Proposal:
'csp_h' header files (as today)
'csp' objects/static library (as today) -> libcsp.a
'csp_shlib' shared library -> libcsp.so.
Python bindings will require shared library, so the code must be built with -fPIC). By building both, other targets can either use = 'csp' (for static) or 'csp_shlib' (for shared). Of course the static version can be built with -fPIC (on Linux or if bindings enabled), but thats normally not the how a static library is built.
What do you guys think?

I agree, that is a fine solution.

Yes, agree as well :+1:

Is there currently a waf build task to install headers? Something such as the 'csp_h' proposed target above? The following will install the .so in /usr/local/lib but will not install headers
sudo ./waf configure --with-os=posix --prefix=/usr/local --enable-bindings --install-csp build install

As it is right now, header files should be installed in /include/csp/...., in your case /usr/local/include/csp/...
Or do you mean a command for "only" installing the headers?

I believe I may have had conflicting headers from https://github.com/daniestevez/gr-csp
Seems like the install-csp waf build task is working properly, thanks!


Alert-styled modals

[ ] bug
[X] feature request
[ ] enhancement

Expected behavior
A modal that is designed to look like an alert
Actual behavior
standard alert is displayed above modal title
Reproduction of behavior

Design Recommendation

original request and designs from Brian Mireles @bmireles

@reddolan what are the use cases? Why wouldn't you simply display an alert on top of the modal. I am not sure I understand the use case here.


Error with docker-compose on windows

System information

Have I written custom code (as opposed to using zenbot vanilla): NO
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows-10, 64bit
Zenbot version (commit ref, or version): commit 74754dbb79e4dc54966e160da0c9dfae91d84399
Zenbot branch: unstable
NodeJS version: 14.15.4
Python version (when using a python script): 2.7
Exact command to reproduce (include everything): installation instructions for docker in windows
Did I make any changes to conf-sample.js?: NO

Describe the problem
I'm get this error when I ran docker-compose --file=docker-compose-windows.yml up in windows
Source code / Error logs
Docker Compose is now in the Docker CLI, try `docker compose up`

Starting zenbot_mongodb-data_1 ... done
Recreating zenbot_mongodb_1    ... done
Recreating zenbot_server_1     ... error

ERROR: for zenbot_server_1  Cannot start service server: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_server_1/mongodb

ERROR: for server  Cannot start service server: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_server_1/mongodb
ERROR: Encountered errors while bringing up the project.

What does docker logs zenbot_server_1 return?

@DeviaVir
It doesn't return anything
posting the command line output for better reference
(zen2.7) PS C:\Users\rites\Desktop\eruditis\open_source\zenbot> docker-compose --file=docker-compose-windows.yml up
Docker Compose is now in the Docker CLI, try `docker compose up`

Starting zenbot_mongodb-data_1 ... done
Starting zenbot_mongodb_1      ... done
Starting zenbot_server_1       ... error

ERROR: for zenbot_server_1  Cannot start service server: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_server_1/mongodb

ERROR: for server  Cannot start service server: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_server_1/mongodb
ERROR: Encountered errors while bringing up the project.
(zen2.7) PS C:\Users\rites\Desktop\eruditis\open_source\zenbot> docker logs zenbot_server_1
(zen2.7) PS C:\Users\rites\Desktop\eruditis\open_source\zenbot>

Ah, it looks like zenbot_mongodb_1 is the one erroring.
Try:
docker logs zenbot_mongodb_1?

(base) PS C:\Users\rites\Desktop\eruditis\open_source\zenbot> docker-compose --file=docker-compose-windows.yml up
Docker Compose is now in the Docker CLI, try `docker compose up`

Starting zenbot_mongodb-data_1 ... done
Starting zenbot_mongodb_1      ... done
Starting zenbot_server_1       ... error

ERROR: for zenbot_server_1  Cannot start service server: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_server_1/mongodb

ERROR: for server  Cannot start service server: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_server_1/mongodb
ERROR: Encountered errors while bringing up the project.
(base) PS C:\Users\rites\Desktop\eruditis\open_source\zenbot> docker logs zenbot_mongodb_1
Error parsing command line: unrecognised option '--smallfiles'
try 'mongod --help' for more information
Error parsing command line: unrecognised option '--smallfiles'
try 'mongod --help' for more information
Error parsing command line: unrecognised option '--smallfiles'
try 'mongod --help' for more information
Error parsing command line: unrecognised option '--smallfiles'
try 'mongod --help' for more information

Can you try removing --smallfiles from https://github.com/DeviaVir/zenbot/blob/unstable/docker-compose-windows.yml#L15 ?


feat: replace mongodb with postgres

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

134 of 140 (95.71%)  changed or added relevant lines in 10 files are covered.
20 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-3.3%) to 94.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/app.module.ts
0
3
0.0%

src/nostr/nostr.module.ts
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/nostr/nostr.module.ts
7
0%

src/app.module.ts
13
0%

Totals

Change from base Build<PHONE_NUMBER>:
-3.3%

Covered Lines:
628

Relevant Lines:
672

💛  - Coveralls


Medplum server refuses PUT requests for creating new resources

I am experiencing an issue with uploading FHIR resources to a Medplum server using PUT requests. When I run the following command:
curl -X PUT "${MY_URL}/fhir/R4/Patient/123e4567-e89b-12d3-a456-426614174000" -H "Content-Type: application/fhir+json" -H "Authorization: Bearer ${MY_TOKEN}" -d '{"resourceType":"Patient","id":"123e4567-e89b-12d3-a456-426614174000","name":[{"use":"official","family":"Smith","given":["John"]}],"gender":"male","birthDate":"1974-12-25"}'

I receive the following error response:
{
  "resourceType": "OperationOutcome",
  "id": "not-found",
  "issue": [{
    "severity": "error",
    "code": "not-found",
    "details": {
      "text": "Not found"
    }
  }],
  "extension": [{
    "url": "https://medplum.com/fhir/StructureDefinition/tracing",
    "extension": [{
      "url": "requestId",
      "valueId": "4698d836-9d3f-4891-b336-c7fc5bb106ba"
    },{
      "url": "traceId",
      "valueId": "13c4cb73-44db-42c6-a0fc-2a5478c9eb1f"
    }]
  }]
}

However, POST requests work fine:
curl -X POST "${MY_URL}/fhir/R4/Patient" -H "Content-Type: application/fhir+json" -H "Authorization: Bearer ${MY_TOKEN}" -d '{"resourceType":"Patient","name":[{"use":"official","family":"Smith","given":["John"]}],"gender":"male","birthDate":"1974-12-25"}'

Context:
Medplum version 0.9.34, self-hosted
Use case:
I need to upload an existing dataset with resources linked by specific IDs, which is crucial for maintaining resource relationships. This process works without issues on Blaze and Hapi.
Question:
Is it possible to use PUT requests to create new resources with specific IDs on Medplum? If not, are there any recommended alternatives or configurations to achieve this?
Any help would be greatly appreciated. 😊

Hi @martinhinze  - thanks for submitting.
The feature you're describing is FHIR "client assigned IDs".  Medplum currently does not support this for normal users, but does support it for "super admins".
So, in your case, if MY_TOKEN is associated with a User or ClientApplication that is a member of a "super admin" project, you should be able to use HTTP PUT with a predefined resource ID.
A few other notes:

The reason this requires "super admin" is that the server currently depends on global ID uniqueness.
Therefore, you will have to make sure that the ID's are truly unique, even across projects.
When creating resources as a "super admin", you get access to a few other super powers:

You can set meta.project to set the Medplum project destination. If this field is blank, then the resource will be created in the super admin project, which is not recommended!
You can set meta.lastUpdated to your own timestamp when creating new resource
If it is actually an update, then meta.lastUpdated will be set by the server to maintain proper history ordering

We have an open discussion for how to support this globally: https://github.com/medplum/medplum/discussions/1175
That is probably a Medplum v4+ feature, as it requires tweaking a few internal assumptions and data models.


Nuxt Config Page misses all the comment from the code

I haven't looked at how it is supposed to work, but I am pretty sure that this page included descriptions of all options before:
https://nuxt.com/docs/api/nuxt-config
the descriptions are still in the code (see https://github.com/nuxt/nuxt/blob/main/packages/schema/src/config/app.ts for example), just not rendered on the website anymore.
I am not sure when this broke, maybe with the new website?
edit: found out how its generated (https://github.com/nuxt/nuxt.com/blob/9084f3b31b9c8c3428b67e50def1a79c89d14de1/server/plugins/docs-config.ts#L17) looks like the schema doesnt include comments (anymore?) https://unpkg.com/<EMAIL_ADDRESS>so maybe this is an issue on the nuxt repo with the schema generation instead?

(self assigned to investigate)

Would you have time to look at it? @pi0

decided to do some digging, turns out, commenting out this line (in node modules) fixes this issue for nuxt
https://github.com/unjs/untyped/blob/main/src/loader/babel.ts#L65
for some reason that transformer is called twice per object now and the second call overrides the schema of the first one, while not being able to read the jsdoc, as such the title and description vanish.
idk why that would change, I had some success in downgrading jiti to 1.20.0 but cant replicate that anymore.

Is not there any temporary patch or workaround for this?

Confirmed that this is resolved with<EMAIL_ADDRESS>pinned in the Nuxt workspace.

https://github.com/unjs/untyped/commit/7a941412c2ca6c78f1fc1bc6a7fb9f2701d4be2a

Now resolved! Thank you for your investigation ❤


Fix a typo in the README.md of the sentiment analysis example

Related to #52, #38.
Tiny fix.

Thank you!


feat: add videos subcategory in frontend

Fixes Issue
Closes #889
Screenshots

@Anmol-Baranwal what kinda videos you are going to add there?

@Anmol-Baranwal what kinda videos you are going to add there?

It is similar to images: websites that provide stock videos, as I already mentioned in the issue.

@Anmol-Baranwal what kinda videos you are going to add there?

It is similar to images: websites that provide stock videos, as I already mentioned in the issue.
It should be categorized under the frontend category because many websites utilize short videos as backgrounds or incorporate them to create a slightly interactive experience.

i see, thanks. could you please add the resource you have mentioned in issue in this subcategory?

@Anmol-Baranwal what kinda videos you are going to add there?

It is similar to images: websites that provide stock videos, as I already mentioned in the issue.
It should be categorized under the frontend category because many websites utilize short videos as backgrounds or incorporate them to create a slightly interactive experience.

i see, thanks. could you please add the resource you have mentioned in issue in this subcategory?

Done!


add handling, security disable if high_security enabled

add handling, security disable if high security enabled
update unit_test security_interface_test for high_security config changes

Hi @prateeksen, I added a test for the use of the high_security option itself with 120d615


service option not work in compose command.

when using compose command such as below:
nerdctl compose up -d db

according to README，only a service named "db" should be started.
but actually all services in compose file were started. so lacking the ability to
control single task in compose file.

Fixed in https://github.com/containerd/nerdctl/pull/456


[Runtime] Fix alignment of tuples in runtime layout string instantiation

rdar://118366415
If a tuple was not already aligned, this would cause a wrong offset to be used in the layout string.

@swift-ci smoke test

@swift-ci smoke test


Create ci runs for the desktop app

Context
Right now we don't have any continuous integration for the desktop app.
Goal
Take all sensible tools that are used on the websites and use them here as well, since this is a website in Vue

I can take this one :)

I can take this one :)

thanks a lot!


Add Change in Color  in Plots when Measurement Selected

It would be a great addition to the Pmag_GUI program if whenever a measurement was selected on the measurement list the color of it would change in the Zijderveld/Orthographic diagram and in the Equal Area/Stereonet diagram.  This would allow us to know which measurement we are looking at quickly even if the labels are written on the other portion of the vector (DEC v. INC).
Attached is a GIF showing how this works in the Craig Jones PaleoMag software

I assume you mean this for the Demag GUI? I like the idea, however, it will be exceedingly slow if I don't break up some GUI functions to make it more manageable, but I've been meaning to do that for a long time to help with optimization. I'll let you know how it progresses.

Yes. Demag_gui is what is meant.
One thought is that when the fits are drawn, both the fits and the ends points that are chosen render quite quickly. If similar machinary was used for highlighting the points (effectively drawing another symbol/color over the rendered data points) I think it would be pretty quick.

Okay, I did this by adjusting the method of plotting the figures, partly to break the draw_figure method into parts so the GUI doesn't have to redraw all plots as it has always done when it does redraw anything. Also because if I drew over the original plot I would have to save the over drawn points so they can be removed or create a new axis to plot on, which is almost the same thing. It might be a bit faster if I do rewrite it that way though a bit more complicated mechanically use a bit more code and memory. I think it's plenty fast in this form but let me know what you think of it as is. Also I think it might be good to show the selected measurement on the M/M0 plot as well so I was going to add that before closing this issue. Any suggestions on the colors chosen or about the suggestion of adding this to the M/M0 plot?


third_party/brotli upgrade breaks compilation on Ubuntu 20.04

Describe the bug
Commit https://github.com/libjxl/libjxl/commit/c3779422fd5bbae2c27e72761af6a5a51f64fa81 from https://github.com/libjxl/libjxl/pull/2110 breaks compilation on Ubuntu 20.04 with
CMake Error at lib/jxl.cmake:426 (target_include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:brotlicommon-static,INTERFACE_INCLUDE_DIRECTORIES>

  Target "brotlicommon-static" not found.

To Reproduce
docker run --rm -it ubuntu:20.04
# inside Docker
apt update
apt install git g++ cmake
git clone  https://github.com/libjxl/libjxl.git --recursive --shallow-submodules
cd libjxl
mkdir build
cd build
cmake ..

CC @eustas

Thanks for the heads-up. Will fix tomorrow morning.

fixed per https://github.com/libjxl/libjxl/pull/2113


How to invert a transformation

Hi,
I am trying to invert a transformation, following the elastix manual ''6.1.6 DisplacementMagnitudePenalty: inverting transformations''.
I am registering a moving_image to a fixed_image, by applying rigid, affine and b-spline transformations. The fixed image was manually segmented, resulting in a label_segmented. Now, I want to invert the transformation and apply it to the label_segmented, so it will be in the same physical space as the moving_image. However, the result (label_regist) is the same as before applying the inverse transformation (label_segmented).
Can you help me?
Here is the code I run to invert the transform:
transf = sitk.ElastixImageFilter()
transformParam = sitk.ReadParameterFile("./TransformParameters.2.txt")
sitk.PrintParameterMap(transformParam)
transf.SetFixedImage(fixed_image)
transf.SetMovingImage(fixed_image)
DefaultParameterMap = sitk.GetDefaultParameterMap('rigid')
DefaultParameterMap['Metric'] = ['DisplacementMagnitudePenalty']
DefaultParameterMap['InitialTransformParametersFileName'] = ['./TransformParameters.2.txt']
DefaultParameterMap["ResampleInterpolator"] = ["FinalNearestNeighborInterpolator"]

transf.SetParameterMap(DefaultParameterMap)
transf.Execute()
sitk.PrintParameterMap(transf.GetTransformParameterMap())

inverse_transformationFilter = sitk.TransformixImageFilter()
transf_parameter_map = transf.GetTransformParameterMap()
transf_parameter_map[0]["ResampleInterpolator"] = ["FinalNearestNeighborInterpolator"]
transf_parameter_map[0]["InitialTransformParametersFileName"] = ["NoInitialTransform"]
sitk.PrintParameterMap(transf_parameter_map[0])
inverse_transformationFilter.SetMovingImage(label_segmented)
inverse_transformationFilter.SetTransformParameterMap(transf_parameter_map)
inverse_transformationFilter.Execute()
label_regist = inverse_transformationFilter.GetResultImage()

Not sure how to compute an inverse transform parameter in the current version of SimpleElastix, but if you switch fixed and moving images during registration (segmented reference becomes moving image) you will be able to transform label_segmented directly.

Thank you, it works!

Thank you, but that doesn't work because I would be applying the same transformation. It has to be the inverse of the transformation

It does not have to be the inverse if you register labelled reference (moving) > test image (fixed). This way, using the transform parameters will transform label_segmented > label_regist, thus mapping the segmentation to the space of test image.
Inverse is needed only if you perform the registration the over way (test image > labelled reference), making it necessary to map the segmentation "backward" (label_regist < label_segmented).

My labelled reference has low quality, so I will get better results if I register test image > labelled reference. For this reason I need to invert the transformation

Do you known how @PertuyF ?

Sorry, as I said at the beginning I don't know how to compute the inverse transform in the current version. But I believe there was an ExecuteInverse() method that was recently removed because it was not robust enough.
Maybe @kaspermarstal plans to implement it anew?
The other option is to use the DisplacementMagnitudePenalty metric describe in the ElastiX manual (section 6.1.6), and to look into configuring your own TransformParameters. This should work with SimpleElastix.

Closing due to inactivity. Feel free to reopen if this is still an issue.

Has anyone figured this out? I'm having a similar problem.

Can you be more specific @rshally? You literally just have to do what it says in the manual.

@kaspermarstal I was able to figure out the inverse. But that led me to another question - is b-spline registration perfectly reversible? If I take a set of images, do groupwise alignment, and invert the alignment, should I expect to exactly recover the original set of images with no error? I tried doing so and there seems to be a residual between the original images and the ones for which I have done alignment and inverse alignment.

@rshally Great! No, it is not reversible in a mathematical sense and you cannot expect to recover true inverse. This procedure only gives you an approximation. If you need the true inverse you have to use other registration methods unfortunately.

@rshally hi, could you provide the code you wrote to compute the inverse of a transformation ? I can't figure out how to do it. thx

As specified in the Elastix manual 6.1.6, you get the params from your forward-registration and do something like this to it:
params["Metric"] = ["DisplacementMagnitudePenalty"]
params['InitialTransformParametersFileName'] = ['NoInitialTransform']

and use these parameters for your inverse transformation.


Make sure file path exist before creat the file

uv.fs_open() works equivalent to open(2), which will return ENOENT when create file but file parent folder dose not exists. So we need to create directory before create the file.

@KortanZ is there a failure somewhere in the plugin that you encountered because the directory did not exist?

@chipsenkbeil Yes, the default db dir is BASE_PATH .. db, and org-roam will not creat the BASE_PATH by default. Which cause the problem. I'm using windows btw.

Just for curious, this problem should happend on all platform theoretically and really easy to trigger, just a fresh install and open neovim. Is there something wrong with the test or is this problem just happend on Windows by some reason? I've not test other platform.

Just for curious, this problem should happend on all platform theoretically and really easy to trigger, just a fresh install and open neovim. Is there something wrong with the test or is this problem just happend on Windows by some reason? I've not test other platform.

Not sure why I didn't run into it. I've worked on this across three Mac computers. It doesn't seem like a Windows issue, but I haven't tried this plugin on windows yet.
I opened and issue to add a github action to test on Windows.

Not sure why I didn't run into it.
 I run into this problem because this dir dose not exist and not create by plugin by default.


Android - Chat - Recent users displayed without user's name

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Expected Result:
Recent users displayed with user's name
Actual Result:
Recent users displayed without user's name
Action Performed:

Launch the app and login
Tap the +button
Click on Group Chat

Workaround:
Unknown
Platform:
Where is this issue occurring?
Web
iOS
Android ✔
Desktop App
Mobile Web
Version Number: 1.0.15-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Issue is not consistently repro. We were able to reproduce 3 out of 5 times.
Video

Expensify/Expensify Issue URL:

Triggered auto assignment to @koswalto (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Triggered auto assignment to @iwiznia (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Why does this issue have no labels? That's part of the triage.

Triggered auto assignment to @SofiedeVreese (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Triggered auto assignment to @chiragsalian (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Posted to Upwork:
https://www.upwork.com/ab/applicants/1379941913742381056/job-details

Hello, @isagoico. How are you?
I've reviewed this issue carefully and found out the solutions.

Getting the user's name from any mail is against the rule.
We should get the user's name to solve your issue.

My solution is as follows:

add the Username Input field in the register form.
get the user's name  together when we get the recent users list.

otherwise, we can choose the way that user send a message and his/her name together. To do this the sender should have his/her own username when to get the token info.

Looking forward to hearing from you soon.
Thanks.

This is a weird bug, we we also able to reproduce on the LHN conversations. Once you navigate away and then back to the app the issue is not reproducible anymore.

@isagoico Clear app cache and then re-run the app. You should be able to reproduce.

@isagoico, any update on retesting here? I'm just wondering if the issue is consistently reproducible once the cache is cleared.

I was unable to reproduce this after clearing cache in build 1.0.20-0

Alright since its not reproducible im going to go ahead and close out the issue. If you feel otherwise feel free to reopen 🙂

Upwork posting removed. 👍


Black Screen on Linux, works fine on Windows.

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Arch32
scrcpy version: 1.20
installation method: yay -S scrcpy
device model: Redmi Note 5 pro
Android version: 12

Describe the bug

Black Screen of scrcpy window
Touch Works
scrcpy --record file.mp4 works perfectly and is able to record screen

~ scrcpy -m 1024
INFO: scrcpy 1.20 <https://github.com/Genymobile/scrcpy>
/usr/share/scrcpy/scrcpy-server: 1 fil...pped. 2.0 MB/s (37139 bytes in 0.018s)
[server] INFO: Device: Xiaomi Redmi Note 5 Pro (Android 12)
INFO: Renderer: opengl
INFO: OpenGL version: 1.4 Mesa 21.2.1
WARN: Trilinear filtering disabled (OpenGL 3.0+ or ES 2.0+ required)
INFO: Initial texture: 512x1024

I have tried all the available codecs, but still same black screen.
scrcpy worked perfectly in Windows 10 on the same pc.

Probably a driver issue :/

Probably a driver issue :/

So is it a device(custom rom) side driver issue or linux side issue?

So is it a device(custom rom) side driver issue or linux side issue?

Linux-side issue.
You could try running with a software renderer (not recommended, but just to debug):
scrcpy --render-driver=software

If it works with a software renderer but not an opengl renderer, then there is an issue with your graphics drivers.

So is it a device(custom rom) side driver issue or linux side issue?

Linux-side issue.
You could try running with a software renderer (not recommended, but just to debug):
scrcpy --render-driver=software

If it works with a software renderer but not an opengl renderer, then there is an issue with your graphics drivers.

I tried all the available render driver.
software, opengles, opengles2, direct3d all work perfectly.
opengl, metal show black screen.
So out of the one's working which one should I prefer.

software, opengles, opengles2, direct3d all work perfectly.

The render driver is just an int for SDL, you must check in the console output which renderer is actually used:
INFO: Renderer: opengl

For example, I'm pretty sure that direct3d does not work on Linux :smile:

Finally got it working with opengles2.
Thanks. Closing the issue.

Finally got it working with opengles2. Thanks. Closing the issue.

Can you please explain how you fixed it?
https://github.com/Genymobile/scrcpy/issues/2281#issuecomment-1204861773

Can you please explain how you fixed it? #2281 (comment)

Try other render drivers.

Can you please explain how you fixed it? #2281 (comment)

Try other render drivers.

I do not see the option --render-driver in the --help of scrcpy. Is it removed?

I do not see the option --render-driver in the --help of scrcpy. Is it removed?

You must be using really old version of scrcpy.

I do not see the option --render-driver in the --help of scrcpy. Is it removed?

You must be using really old version of scrcpy.

I installed it using snap and apt. Both had old versions. Now as suggested, I complied latest and is working fine. Thanks.

Both had old versions. Now as suggested

Did you remove the apt version first before installing snap version? Snap is always the latest no matter the distribution.

Both had old versions. Now as suggested

Did you remove the apt version first before installing snap version? Snap is always the latest no matter the distribution.

😅 I didn't know that I already had the apt version installed and I installed snap version on top of it.


Update Svelte version to 4

If we're going to change this (which we probably should), it should also be changed in the app-b version.
Also, for clarity, since the PR title is a bit ambiguous, this isn't actually upgrading anything - it's updating the text in one of the tutorials.


Added a way to disable the switch.

The disabled parameter will accept a value of true or false (default). If disabled, the switch will have a 0.6 opacity.
FlutterSwitch(
   disabled: true,
   value: status1,
   onToggle: (val) {
       setState(() {
           status1 = val;
       });
    },
),

To try out these changes in your own project, depend on this version by putting these lines of code in your pubspec.yaml
flutter_switch:
    git:
      url: https://github.com/boringdeveloper/FlutterSwitch.git
      ref: 0.3.x

Hi,
I am shocked how fast you did updated the package to add the new feature requested. That was amazing!
Already checked the new package codes and can confirm its functionality.
Well Done and thank you for your quick support.


Retry model on connection errors

Hey Guys,
Is it possible to implement re-trying of queries if the query fails due to non-model related errors?
For example, sometimes Azure SQL fails with errors like this:
[2021-02-24 05:50:02,777] {dbt_rpc.py:83} INFO - Failed model `base_signups`: Database Error in model base_thrive_leads_signups (models/02_base/base_signups.sql)
  ('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x68 (104) (SQLExecDirectW)')
  compiled SQL at target/run/my_project/models/02_base/base_signups.sql

This is particularly frustrating in daily, automated runs through airlfow. I have solved it for now by adding retry logic through airflow that re-runs only failed and skipped models, but perhaps it would be worthwhile solving this at the dbt-sqlserver level for everyone?
Thanks, kim

Interesting. I have never had issues with that. Sounds like something to put in dbt-core? @jtcohen6 ?

i was looking for a 'timeout' to wait until a connection is established.

i was looking for a 'timeout' to wait until a connection is established.

@majidaldo can you tell me more about what you're looking for with a timeout?

i was looking for a 'timeout' to wait until a connection is established.

@majidaldo can you tell me more about what you're looking for with a timeout?

On Azure SQL, you can have a db 'sleep'. It can take a few minutes to resume. In the meantime, connection attempts usually fail.

i was looking for a 'timeout' to wait until a connection is established.

@majidaldo can you tell me more about what you're looking for with a timeout?

On Azure SQL, you can have a db 'sleep'. It can take a few minutes to resume. In the meantime, connection attempts usually fail.

great point! this is something we've been thinking about w/ azure sql serverless as well. do you mind opening a separate issue for that scenario? I believe your ask is different than @infused-kim's.

+1 for this, it can also happen in shonky network environments that you have no control over.
We have somewhat dodgy UDP traffic management in a Kubernetes cluster running on AWS, sometimes it takes a couple of retries in order to resolve the DNS name for the database. The ops team don't see an issue because UDP is not meant to be reliable and container workloads should be adaptable
The result is that DBT jobs frequently fail with errors like so:

[2021-12-12 14:41:09,144] {{pod_launcher.py:149}} INFO - Running with dbt=0.21.1
[2021-12-12 14:41:10,667] {{pod_launcher.py:149}} INFO - Found 10 models, 0 tests, 0 snapshots, 0 analyses, 189 macros, 0 operations, 0 seed files, 8 sources, 0 exposures
[2021-12-12 14:41:10,671] {{pod_launcher.py:149}} INFO -
[2021-12-12 14:41:10,787] {{pod_launcher.py:149}} INFO - ERROR: Database Error
[2021-12-12 14:41:10,787] {{pod_launcher.py:149}} INFO -   could not translate host name "redshift.internal" to address: Name or service not known

You will of course argue that this is a local environment issue, but being able to specify a number of connection retries would be super helpful to us regardless

i was looking for a 'timeout' to wait until a connection is established.

@majidaldo can you tell me more about what you're looking for with a timeout?

On Azure SQL, you can have a db 'sleep'. It can take a few minutes to resume. In the meantime, connection attempts usually fail.

great point! this is something we've been thinking about w/ azure sql serverless as well. do you mind opening a separate issue for that scenario? I believe your ask is different than @infused-kim's.

https://github.com/dbt-msft/dbt-sqlserver/issues/162

We've seen some intermittent database connection error with Redshift, something like
connection to server at "" (<IP_ADDRESS>), port 5439 failed: timeout expired
If there is way to configure retry for a specified times, that would be great!

I think we've got one for just the thing: https://github.com/dbt-labs/dbt-redshift/issues/96
(though the fix would more likely come in https://github.com/dbt-labs/dbt-core/issues/5022)

We've been encountering regular transient network issues as well which would be solved by a retry.
Are there any plans to support this as a profile parameter (like in Postgres / redshift) or not?

We've been encountering regular transient network issues as well which would be solved by a retry. Are there any plans to support this as a profile parameter (like in Postgres / redshift) or not?

we could! can you share the error messages you're seeing, as well as the SQL Server product that you're using (on-prem, Azure SQL, etc)

Hi
This is azure sql.
Encountered an error while running operation: Database Error 123 ('28000', "[28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user ''. (18456) (SQLDriverConnect)")

Hi This is azure sql.

are you using serverless Azure SQL that auto-pauses? while frustrating, this is behavior & message we expect to see. Normally, ~30-60s later the database is resumed and the error message goes away.
Would you like for dbt to retry a connection every few seconds until the error is resumed. Also, if you do for example have the wrong password, would you like dbt to assume that the error is transient and keep trying every few seconds to re-connect?
not trying to be critical, i'm just narrowing down the use case

Hi
No we are not using the auto pause variant.
I think more something try x amount of times and then fail anyway in case
of a non transient error. I believe the error code coming back from sql
server should specify the kind of error that gets returned maybe that could
narrow the cases were a retry would be even useful?
On 25 August 2022 at 20:14:22, Anders @.***) wrote:

Hi This is azure sql.
are you using serverless Azure SQL that auto-pauses? while frustrating,
this is behavior & message we expect to see. Normally, ~30-60s later the
database is resumed and the error message goes away.
Would you like for dbt to retry a connection every few seconds until the
error is resumed. Also, if you do for example have the wrong password,
would you like dbt to assume that the error is transient and keep trying
every few seconds to re-connect?
not trying to be critical, i'm just narrowing down the use case
—
Reply to this email directly, view it on GitHub
https://github.com/dbt-msft/dbt-sqlserver/issues/119#issuecomment-1227607439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYIREBEF2DV6RK33JNE4RLV26ZX5ANCNFSM4YD34OPQ
.
You are receiving this because you commented.Message ID:
@.***>

Thomas
+32 475 269 452 <+32%20475%20269%20452>

The dbt-sqlserver 1.2.0 release includes an option retries in the target configuration which should mitigate these kinds of issues. Let me know if that doesn't work for you so that I can reopen this issue.

For reference for others finding this issue.
Code: https://github.com/dbt-msft/dbt-sqlserver/blob/master/dbt/adapters/sqlserver/sql_server_connection_manager.py
Inherited by synapse: https://github.com/microsoft/dbt-synapse/blob/master/dbt/adapters/synapse/synapse_connection_manager.py
Documented here: https://docs.getdbt.com/docs/core/connect-data-platform/mssql-setup
Does anyone have guidance on recommended number of retries? I was going to default to 3, but is there a tradeoff here?

Does it actually retry after the initial connection for you guys?
https://github.com/dbt-msft/dbt-sqlserver/issues/507


terminal image viewer issues

Hi!
It's great that ExtraTerm supports 24bit colours! Wonderful! I really only need it for one thing: TerminalImageViewer (tiv). Now, it works in principle but there is an issue if the image displayed is nearing the terminal height. Then, in the top quarter of the image the blocks jump around somehow. As long as I limit the height to a two thirds of the screen, it works with 24bit. And 256 colours work always -- regardless of height.
I tried disabling all plugins in Extraterm to no avail.
Regards
Adam

I just tried an image that is pretty wide: here the issue already occurs with half a screen of output. It seems it's the amount of "pixels" displayed...

I just tried an image that is pretty wide: here the issue already occurs with half a screen of output. It seems it's the amount of "pixels" displayed...

Fixed in v0.58.0.


Add mkdir to update_dependencies.sh

I haven't actually seen this build or run yet

While we're here, do you really want --disable-3rdparty-in-repo in this script?

Yep! its generally better not to have the 3rdparty in the repo.
Users can edit it out if they wish. but if you have any of these repos depend on one another the external repo ensures they talk about the same one. If its inside the repo you can have different class paths for the one target happening.

Gotcha! I asked because it ended up confusing me. I didn't get to the point in the docs where it described how to use Alternate outputs, external repo and just saw that I wasn't getting the files I expected from Usage.

Not to abuse your PR skills, but if you have the time, any updated wording that would have helped you here would be great.