text:
When clicking on the command line of windows server 2008, the connection is broken

client env:  centos7.9  freerdp2.9(build by myselft)
server env:  windows server 2008 R2  sp1
When clicking on the command line of windows server 2008, the connection is broken
The function I'm tracking wrong is:

this is the log:
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 0
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 30
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 31
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheFragmentGet: index: 2 size: 56
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 18
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 32
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 12
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 33
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 34
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 28
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 28
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 35
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 10
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 11
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 12
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 13
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 14
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 15
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 14
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 16
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 17
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 36
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 14
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 13
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 37
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 14
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 13
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 38
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 17
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 11
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 14
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 20
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 0
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheFragmentGet: index: 3 size: 26
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 30
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 39
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 40
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 41
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 42
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 43
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 44
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 40
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 41
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 39
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 45
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 42
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.cache.glyph] - GlyphCacheGet: id: 6 index: 0
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:469] [41578:41583] [DEBUG][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex
[16:23:36:476] [41578:41583] [WARN][com.freerdp.core.update] - Primary Drawing Order [0x13] FastIndex failed
[16:23:36:476] [41578:41583] [ERROR][com.freerdp.core.update] - order flags 05 failed
[16:23:36:476] [41578:41583] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[16:23:36:476] [41578:41583] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[16:23:36:476] [41578:41583] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[16:23:36:476] [41578:41583] [DEBUG][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_ACTIVE - rdp_recv_pdu() - -3
[16:23:36:476] [41578:41583] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[16:23:36:476] [41578:41583] [DEBUG][com.freerdp.core.rdp] - transport_check_fds() - -1
[16:23:36:476] [41578:41583] [DEBUG][com.freerdp.core] - rdp_check_fds() - -1
[16:23:36:476] [41578:41583] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[16:23:36:489] [41578:41583] [DEBUG][com.freerdp.core.connection] - rdp_client_transition_to_state CONNECTION_STATE_ACTIVE --> CONNECTION_STATE_INITIAL
Is this a bug or a problem with my configuration?

@lv-cpp could you please add /buildconfig and command line?

as for where it is taking a wrong turn, somewhere in update_gdi_fast_index, more likely later in update_process_glyph_fragments but not sure.

@lv-cpp 你能添加命令行吗？/buildconfig
I don't quite understand what you're saying, Do you mean the  compile options?

i use the freerdp.so  generate my own rdp client ，Not using xfreerdp。
As long as I don't operate the command line, there is no problem, no matter how I do it。
This problem occurs when I minimize the windows command line to the taskbar, and then click the icon of the command line on the taskbar to let him pop up

this is the log file
output.log

ok, how do you initialize the library then?

The command line parser is also suggested to be used then (see freerdp_client_settings_parse_command_line) as that sets up many necessary things for a successful connection.
The other thing is the output of freerdp_get_build_config which contains all compile time options
if you have your own client, then you most likely lack some implementation of some legacy function, so it would be really important to know what you have implemented/configured

when i call freerdp_get_build_config in my client i get:
BUILD_TESTING=OFF
BUILTIN_CHANNELS=ON
HAVE_AIO_H=1
HAVE_EXECINFO_BACKTRACE=1
HAVE_EXECINFO_BACKTRACE_SYMBOLS=1
HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1
HAVE_EXECINFO_H=ON
HAVE_EXECINFO_HEADER=1
HAVE_FCNTL_H=1
HAVE_GETLOGIN_R=1
HAVE_GETPWUID_R=1 HAVE_INTTYPES_H=1
HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1
HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON
HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1
HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=
HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1
HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H=
HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H=
HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1
HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 WITH_ALSA=OFF
WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON
WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1
WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1
WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=OFF
WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF
WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF
WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF
WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF
WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF
WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF
WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF
WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF
WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF
WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF
WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF
WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF
WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF
WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF
WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF=OFF
WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_URBDRC=OFF
WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF
WITH_DEBUG_X11_CLIPRDR=OFF
WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF
WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF
WITH_DSP_FFMPEG=OFF WITH_EVENTFD_READ_WRITE=1
WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE
WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF
WITH_GSM=OFF WITH_GSSAPI=OFF WITH_ICU=OFF
WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF
WITH_IPP=OFF WITH_JPEG=OFF WITH_LAME=OFF
WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON
WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF
WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON
WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF
WITH_OPENSSL=ON
WITH_OSS=ON
WITH_PCSC=OFF
WITH_PROFILER=OFF WITH_PULSE=ON
WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF
WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1
WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF
WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON
WITH_SWSCALE=OFF WITH_THIRD_PARTY=OFF WITH_VAAPI=OFF WITH_VALGRIND_MEMCHECK=OFF
WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON
WITH_X11=ON WITH_XCURSOR=OFF WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=OFF WITH_XINERAMA=OFF WITH_XKBFILE=OFF WITH_XRANDR=OFF WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=OFF WITH_ZLIB=ON
Build type:          Debug
CFLAGS:               -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer -DWINPR_DLL
Compiler:            GNU, 11.2.1
Target architecture: x64
@akallabeth

The freerdp version I used before was 2.0.0, which I installed through apt-get install freerdp. After this problem occurred, I tried to upgrade to 2.9 to solve it, but it didn’t work

I will post my initialization code later, please help me to see, those necessary initializations need to be done, if you are free, thank you

BOOL rdp_freerdp_pre_connect(freerdp* instance) {
rdpContext* context = instance->context;
rdpGraphics* graphics = context->graphics;

guac_client* client = ((rdp_freerdp_context*) context)->client;
guac_rdp_client* rdp_client = (guac_rdp_client*) client->data;
guac_rdp_settings* settings = rdp_client->settings;

/* Push desired settings to FreeRDP */
guac_rdp_push_settings(client, settings, instance);

/* Init FreeRDP add-in provider */
freerdp_register_addin_provider(freerdp_channels_load_static_addin_entry, 0);

/* Load "disp" plugin for display update */
if (settings->resize_method == GUAC_RESIZE_DISPLAY_UPDATE)
    guac_rdp_disp_load_plugin(context);

/* Load "AUDIO_INPUT" plugin for audio input*/
if (settings->enable_audio_input) {
    rdp_client->audio_input = guac_rdp_audio_buffer_alloc();
    guac_rdp_audio_load_plugin(instance->context);
}

/* Load "cliprdr" service if not disabled */
if (!(settings->disable_copy && settings->disable_paste))
    guac_rdp_clipboard_load_plugin(rdp_client->clipboard, context);

/* If RDPSND/RDPDR required, load them */
if (settings->printing_enabled
    || settings->drive_enabled
    || settings->audio_enabled) {
    guac_rdpdr_load_plugin(context);
    guac_rdpsnd_load_plugin(context);
}

/* Load RAIL plugin if RemoteApp in use */
if (settings->remote_app != NULL)
    guac_rdp_rail_load_plugin(context);

/* Load SVC plugin instances for all static channels */
if (settings->svc_names != NULL) {

    char** current = settings->svc_names;
    do {
        guac_rdp_pipe_svc_load_plugin(context, *current);
    } while (*(++current) != NULL);

}

/* Load plugin providing Dynamic Virtual Channel support, if required */
if (instance->settings->SupportDynamicChannels &&
        guac_freerdp_channels_load_plugin(context, "drdynvc",
            instance->settings)) {
    guac_client_log(client, GUAC_LOG_WARNING,
            "Failed to load drdynvc plugin. Display update and audio "
            "input support will be disabled.");
}

/* Init FreeRDP internal GDI implementation */
if (!gdi_init(instance, guac_rdp_get_native_pixel_format(FALSE)))
    return FALSE;

/* Set up bitmap handling */
rdpBitmap bitmap = *graphics->Bitmap_Prototype;
bitmap.size = sizeof(guac_rdp_bitmap);
bitmap.New = guac_rdp_bitmap_new;
bitmap.Free = guac_rdp_bitmap_free;
bitmap.Paint = guac_rdp_bitmap_paint;
bitmap.SetSurface = guac_rdp_bitmap_setsurface;
graphics_register_bitmap(graphics, &bitmap);

/* Set up glyph handling */
rdpGlyph glyph = *graphics->Glyph_Prototype;
glyph.size = sizeof(guac_rdp_glyph);
glyph.New = guac_rdp_glyph_new;
glyph.Free = guac_rdp_glyph_free;
glyph.Draw = guac_rdp_glyph_draw;
glyph.BeginDraw = guac_rdp_glyph_begindraw;
glyph.EndDraw = guac_rdp_glyph_enddraw;
graphics_register_glyph(graphics, &glyph);

/* Set up pointer handling */
rdpPointer pointer = *graphics->Pointer_Prototype;
pointer.size = sizeof(guac_rdp_pointer);
pointer.New = guac_rdp_pointer_new;
pointer.Free = guac_rdp_pointer_free;
pointer.Set = guac_rdp_pointer_set;
pointer.SetNull = guac_rdp_pointer_set_null;
pointer.SetDefault = guac_rdp_pointer_set_default;
graphics_register_pointer(graphics, &pointer);

/* Beep on receipt of Play Sound PDU */
instance->update->PlaySound = guac_rdp_beep_play_sound;

/* Automatically synchronize keyboard locks when changed server-side */
instance->update->SetKeyboardIndicators = guac_rdp_keyboard_set_indicators;

/* Set up GDI */
instance->update->DesktopResize = guac_rdp_gdi_desktop_resize;
instance->update->EndPaint = guac_rdp_gdi_end_paint;
instance->update->SetBounds = guac_rdp_gdi_set_bounds;

rdpPrimaryUpdate* primary = instance->update->primary;
primary->DstBlt = guac_rdp_gdi_dstblt;
primary->PatBlt = guac_rdp_gdi_patblt;
primary->ScrBlt = guac_rdp_gdi_scrblt;
primary->MemBlt = guac_rdp_gdi_memblt;
primary->OpaqueRect = guac_rdp_gdi_opaquerect;

pointer_cache_register_callbacks(instance->update);
glyph_cache_register_callbacks(instance->update);
brush_cache_register_callbacks(instance->update);
bitmap_cache_register_callbacks(instance->update);
offscreen_cache_register_callbacks(instance->update);
palette_cache_register_callbacks(instance->update);

return TRUE;

}
static BOOL rdp_freerdp_authenticate(freerdp* instance, char** username,
char** password, char** domain) {
rdpContext* context = instance->context;
guac_client* client = ((rdp_freerdp_context*) context)->client;
guac_rdp_client* rdp_client = (guac_rdp_client*) client->data;
guac_rdp_settings* settings = rdp_client->settings;
char* params[4] = {NULL};
int i = 0;

/* If the client does not support the "required" instruction, warn and
 * quit.
 */
if (!guac_client_owner_supports_required(client)) {
    guac_client_log(client, GUAC_LOG_WARNING, "Client does not support the "
            "\"required\" instruction. No authentication parameters will "
            "be requested.");
    return TRUE;
}

/* If the username is undefined, add it to the requested parameters. */
if (settings->username == NULL) {
    guac_argv_register(GUAC_RDP_ARGV_USERNAME, guac_rdp_argv_callback, NULL, 0);
    params[i] = GUAC_RDP_ARGV_USERNAME;
    i++;

    /* If username is undefined and domain is also undefined, request domain. */
    if (settings->domain == NULL) {
        guac_argv_register(GUAC_RDP_ARGV_DOMAIN, guac_rdp_argv_callback, NULL, 0);
        params[i] = GUAC_RDP_ARGV_DOMAIN;
        i++;
    }

}

/* If the password is undefined, add it to the requested parameters. */
if (settings->password == NULL) {
    guac_argv_register(GUAC_RDP_ARGV_PASSWORD, guac_rdp_argv_callback, NULL, 0);
    params[i] = GUAC_RDP_ARGV_PASSWORD;
    i++;
}

/* NULL-terminate the array. */
params[i] = NULL;

if (i > 0) {

    /* Send required parameters to the owner and wait for the response. */
    guac_client_owner_send_required(client, (const char**) params);
    guac_argv_await((const char**) params);

    /* Free old values and get new values from settings. */
    free(*username);
    free(*password);
    free(*domain);
    *username = guac_strdup(settings->username);
    *password = guac_strdup(settings->password);
    *domain = guac_strdup(settings->domain);

}

/* Always return TRUE allowing connection to retry. */
return TRUE;

}
static DWORD rdp_freerdp_verify_certificate(freerdp* instance, const char* host, UINT16 port,
const char* common_name, const char* subject, const char* issuer,
const char* fingerprint, DWORD host_mismatch) {
rdpContext* context = instance->context;
guac_client* client = ((rdp_freerdp_context*) context)->client;
guac_rdp_client* rdp_client =
    (guac_rdp_client*) client->data;

/* Bypass validation if ignore_certificate given */
if (rdp_client->settings->ignore_certificate) {
    guac_client_log(client, GUAC_LOG_INFO, "Certificate validation bypassed");
    return 2; /* Accept only for this session */
}

guac_client_log(client, GUAC_LOG_INFO, "Certificate validation failed");
return 0; /* Reject certificate */

}
void main(){
/* Init client /
freerdp rdp_inst = freerdp_new();
rdp_inst->PreConnect = rdp_freerdp_pre_connect;
rdp_inst->Authenticate = rdp_freerdp_authenticate;
// deprecated functions
//rdp_inst->VerifyCertificate = rdp_freerdp_verify_certificate;
rdp_inst->VerifyCertificateEx = rdp_freerdp_verify_certificate;

  /* Connect to RDP server */
if (!freerdp_connect(rdp_inst)) {
    guac_rdp_client_abort(client, rdp_inst);
    goto fail;
}

}

looks like you are doing too much.
with FreeRDP_SoftwareGdi all you need is the EndPaint callback and you can skip the DstBlt et all as they are handled by the library.
So, just like in xfreerdp,
rdpPrimaryUpdate* primary = instance->update->primary;
primary->DstBlt = guac_rdp_gdi_dstblt;
primary->PatBlt = guac_rdp_gdi_patblt;
primary->ScrBlt = guac_rdp_gdi_scrblt;
primary->MemBlt = guac_rdp_gdi_memblt;
primary->OpaqueRect = guac_rdp_gdi_opaquerect;

pointer_cache_register_callbacks(instance->update);
glyph_cache_register_callbacks(instance->update);
brush_cache_register_callbacks(instance->update);
bitmap_cache_register_callbacks(instance->update);
offscreen_cache_register_callbacks(instance->update);
palette_cache_register_callbacks(instance->update);

can be removed.
Also, calling freerdp_new directly is discouraged, freerdp_client_context_new does the whole thing to instanciate a client. (including setting up callbacks with common implementations where available)

as for compilation, you build without -DWITH_SWSCALE=ON -DWITH_CAIRO=ON, one of these is highly encouraged, as without you can not connect with display scaling options

Thank you, I will modify this part of the code according to xfreerdp

看起来你做得太多了。您所需要的只是回调，您可以跳过所有内容，因为它们由库处理。FreeRDP_SoftwareGdi``EndPaint``DstBlt
所以，就像在，xfreerdp
instance->update->SetBounds = guac_rdp_gdi_set_bounds;

rdpPrimaryUpdate* primary = instance->update->primary;
primary->DstBlt = guac_rdp_gdi_dstblt;
primary->PatBlt = guac_rdp_gdi_patblt;
primary->ScrBlt = guac_rdp_gdi_scrblt;
primary->MemBlt = guac_rdp_gdi_memblt;
primary->OpaqueRect = guac_rdp_gdi_opaquerect;

pointer_cache_register_callbacks(instance->update);
glyph_cache_register_callbacks(instance->update);
brush_cache_register_callbacks(instance->update);
bitmap_cache_register_callbacks(instance->update);
offscreen_cache_register_callbacks(instance->update);
palette_cache_register_callbacks(instance->update);

可以删除。此外，不鼓励直接调用，做整个事情来实例化客户。（包括在可用的情况下使用常见实现设置回调）freerdp_new``freerdp_client_context_new

Although my program is a client, it is not responsible for the drawing part. I need to get the picture content, and then send it to the web client, and the web will draw it

@lv-cpp the content as image/bitmap or you forward the drawing primitives/gfx channel data?
for the session image/bitmap you only need the EndPaint callback where you can get the decoded image data.
As for your error, check if you set a custom MemBlt callback and remove that to let the library handle it.

@lv-cpp内容作为image/bitmap或您转发绘图图元/gfx 通道数据？ 对于会话image/bitmap，您只需要在EndPaint其中获取解码图像数据的回调。 至于您的错误，请检查您是否设置了自定义MemBlt回调并将其删除以让库处理它。

thank you... Looks like there's still a lot to remodel。
I want to use xfreerdp to do a test first, if there is no problem, then I will transform my program。
But I have another problem..

I've turned off fast-path, he's still wrong, can't pull up xfreerdp from the command line

@lv-cpp the Pointer callbacks need to be implemented in your client

@lv-cpp the Pointer callbacks need to be implemented in your client

I use xfreerdp, not my own program. I need to implement pointer callbasks in xfreerdp? Is there an example?

@lv-cpp no, I´ve missed you played with -fast-path. don´t use that option, it is on my remove as it can only break connections but never help the user list.

@akallabeth  so... What should I do to make xfreerdp run?

@lv-cpp no, I´ve missed you played with -fast-path. don´t use that option, it is on my remove as it can only break connections but never help the user list.

I have used xfreerdp to run, and there is no problem with the same operation on xfreerdp

@akallabeth
I found the problem, after disabling the glyph cache, the problem is no longer there，
I don’t know if it’s because there is something special about the font of the command line  。
if disabling the glyph cache cause other problems? Will it affect the stability of the program?

@lv-cpp you seem to use really interesting flags, just don't change the defaults (/network:auto) is suggested.
also: +glyph-cache                      Enable Glyph cache (experimental) might give you a hint ;)

These  interesting flags are giving me a headache，
The default setting is rdp_settings->GlyphSupportLevel = GLYPH_SUPPORT_FULL， i change it to rdp_settings->GlyphSupportLevel = GLYPH_SUPPORT_NONE，the problem no longer occurs。
the setting:
rdp_settings->OsMajorType = OSMAJORTYPE_UNSPECIFIED;
rdp_settings->OsMinorType = OSMINORTYPE_UNSPECIFIED;
rdp_settings->DesktopResize = TRUE;
/* Claim support only for specific updates, independent of FreeRDP defaults */
ZeroMemory(rdp_settings->OrderSupport, GUAC_RDP_ORDER_SUPPORT_LENGTH);
rdp_settings->OrderSupport[NEG_DSTBLT_INDEX] = TRUE;
rdp_settings->OrderSupport[NEG_SCRBLT_INDEX] = TRUE;
rdp_settings->OrderSupport[NEG_MEMBLT_INDEX] = !guac_settings->disable_bitmap_caching;
rdp_settings->OrderSupport[NEG_MEMBLT_V2_INDEX] = !guac_settings->disable_bitmap_caching;

rdp_settings->OrderSupport[NEG_GLYPH_INDEX_INDEX] = !guac_settings->disable_glyph_caching;
rdp_settings->OrderSupport[NEG_FAST_INDEX_INDEX] = !guac_settings->disable_glyph_caching;
rdp_settings->OrderSupport[NEG_FAST_GLYPH_INDEX] = !guac_settings->disable_glyph_caching;

authors: akallabeth lv-cpp


text:
Fix build with newer uclibc versions

uClibc master branch, as well as uclibc-ng add eventfd_{read,write}
definitions. Instead of testing for UCLIBC, have cmake explicitly check
for the existence of eventfd_read and save the result in
WITH_EVENTFD_GLIBC_EXT.
Fixes build errors like:
.../winpr/libwinpr/synch/event.c:120:12: error: static declaration of 'eventfd_read' follows non-static declaration
static int eventfd_read(int fd, eventfd_t* value)
^
In file included from .../winpr/libwinpr/synch/event.c:39:0:
.../usr/include/sys/eventfd.h:37:12: note: previous declaration of 'eventfd_read' was here
extern int eventfd_read (int __fd, eventfd_t *__value);
^
.../winpr/libwinpr/synch/event.c:125:12: error: static declaration of 'eventfd_write' follows non-static declaration
static int eventfd_write(int fd, eventfd_t value)
^
In file included from .../winpr/libwinpr/synch/event.c:39:0:
.../usr/include/sys/eventfd.h:40:12: note: previous declaration of 'eventfd_write' was here
extern int eventfd_write (int __fd, eventfd_t __value);

@freerdp-bot please test that my friend

LGTM

If someone wants to +1, feel free to also merge it.

@baruchsiach if uClibc and uclibc-ng now also have  eventfd_{read,write} what about renaming
WITH_EVENTFD_GLIBC_EXT to  WITH_EVENTFD_EXT or so since GLIBC isn't the only one that supports this functions.
Otherwise +1.

@bmiklautz eventfd_{read,write} are documented  "Additional glibc features" in the eventfd(2) man page. So I think WITH_EVENTFD_GLIBC_EXT is appropriate here, while WITH_EVENTFD_EXT sounds too generic to me. But I have no problem changing that if you insist.

@baruchsiach I think @bmiklautz idea was "we have eventfd_[read|write] native support" and that's it, no matter if it's a Glibc extension or not...

@hardening @bmiklautz So is WITH_EVENTFD_READ_WRITE OK?

@baruchsiach WITH_EVENTFD_READ_WRITE looks good to me.

@baruchsiach WITH_EVENTFD_READ_WRITE looks perfect ;).
@hardening thank you for clarifying.

Sent an update PR at https://github.com/FreeRDP/FreeRDP/pull/2584

source: gharchive/pull-request

authors: baruchsiach bmiklautz hardening

repo: FreeRDP/FreeRDP

license_type: permissive

license_source: github-api


text:
Fixed default visibility.

When nothing is declared, only export symbols defined
with WINPR_API or FREERDP_API defined.
Override this setting if BUILD_TESTING to allow tests
access to internal functions usually not exposed.

@freerdp-bot do you need a vacation or why do you not test?

+1.  We sometimes compile well at Linux but fail on Windows because of difference on symbol export between Windows and Linux.

There are still some redundant FREERDP_API in wf_interface.c:
wf_interface.c:215:FREERDP_API BOOL wfreerdp_server_is_running(wfServer* server)
wf_interface.c:232:FREERDP_API UINT32 wfreerdp_server_num_peers()
wf_interface.c:242:FREERDP_API UINT32 wfreerdp_server_get_peer_hostname(int pId, wchar_t * dstStr)
wf_interface.c:267:FREERDP_API BOOL wfreerdp_server_peer_is_local(int pId)
wf_interface.c:287:FREERDP_API BOOL wfreerdp_server_peer_is_connected(int pId)
wf_interface.c:308:FREERDP_API BOOL wfreerdp_server_peer_is_activated(int pId)
wf_interface.c:328:FREERDP_API BOOL wfreerdp_server_peer_is_authenticated(int pId)
wf_interface.c:348:FREERDP_API void wfreerdp_server_register_callback_event(cbCallback cb)
The FREERDP_API signature had already been defined in wf_interface.h.
Would you also fix them conveniently?

@akallabeth nice work!
+1

authors: akallabeth bmiklautz realjiangms


text:
Server/shadow: Fix handling for gfx acknowledge according to spec

Fix handling for gfx acknowledge according to spec.
[MS-RDPEGFX]:
3.2.5.13  Processing an RDPGFX_FRAME_ACKNOWLEDGE_PDU message
If the queueDepth field is less than 0xFFFFFFFF, the server MUST expect that
RDPGFX_FRAME_ACKNOWLEDGE_PDU messages will continue to be sent by the client.
Furthermore, if the queueDepth field is in the range 0x00000001 to 0xFFFFFFFE the server SHOULD
use this value to determine how far the client is lagging in terms of graphics decoding and then
attempt to throttle the graphics frame rate accordingly.
If the queueDepth field is set to SUSPEND_FRAME_ACKNOWLEDGEMENT (0xFFFFFFFF), the server
MUST clear the Unacknowledged Frames (section 3.2.1.2) ADM element and MUST NOT expect any
further RDPGFX_FRAME_ACKNOWLEDGE_PDU messages from the client. In this mode, the server
MUST NOT wait or block on unacknowledged frames (as the
RDPGFX_FRAME_ACKNOWLEDGE_PDU message is not sent by the client) and MUST assume that
the client is able to decode graphics data at a rate faster than it is receiving frames.
On the other hand, RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU SHOULD only be used for informational and debugging
purposes and should not be taken into account.

@nfedera What is your opinion on this one?

authors: akallabeth realjiangms


text:
Pass TFD_NONBLOCK to timerfd_create to avoid later fcntl

TFD_NONBLOCK specifically exists for this purpose, so use it. This fixes #4615 - it turns out that the later call to fcntl fails because of how our epoll is implemented.

@freerdp-bot test

@freerdp-bot can you test correctly this time ?

@freerdp-bot test

authors: akallabeth hardening kevans91


text:
transferEncoding can be NULL, correct if happens in line 348

I am trying to use freerdp to connect to a remote app over a remote gateway which doesn't work yet. While debugging i found a false check on transferEncoding being NULL in the method rdg_build_http_request. The right IF happens a bit further in the method in line 348 and is working fine.

@freerdp-bot test

authors: akallabeth mmattes


text:
[IPv6] Verify options order in IPv6 Extension Headers

Description
This PR updates the verification of order of extension headers appearing in the IPv6 header as per RFC 2460 section 4.1  Extension Header Order:

IPv6 nodes must accept and attempt to process extension headers in
any order and occurring any number of times in the same packet,
except for the Hop-by-Hop Options header which is restricted to
appear immediately after an IPv6 header only.

Test Steps
Protocol tests
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run uncrustify

/bot run uncrustify

/bot run uncrustify

repo: FreeRTOS/FreeRTOS-Plus-TCP

license: MIT


text:
hotfix

建议总结一下热修复之类的 我最近想找个好点的管理stars 的工具 astral效率比较低

热修复这方面等我用到之后再来考虑总结以下吧；我也想找个管理 starts 的工具，使用 astral 感觉不太好用，如果你发现有什么好的工具，欢迎介绍一下给我。

source: gharchive/issue

repo: Freelander/Elephant

license_source: bigquery


text:
How to build Jool Kernel-Module?

I replicated the used commands from install.sh, but i can't get it to build.
dkms build jool/4.0.5:
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make -j1 KERNELRELEASE=4.19.0-8-amd64 -C /lib/modules/4.19.0-8-amd64/build SUBDIRS=/var/lib/dkms/jool/4.0.5.git.v4.0.5/build/src/mod/nat64 modules && make -C /lib/modules/4.19.0-8-amd64/build SUBDIRS=/var/lib/dkms/jool/4.0.5.git.v4.0.5/build/src/mod/siit modules...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.0-8-amd64 (x86_64)
Consult /var/lib/dkms/jool/4.0.5/build/make.log for more information.
root@gw00:/usr/src# cat /var/lib/dkms/jool/4.0.5/build/make.log
DKMS make.log for jool-4.0.5 for kernel 4.19.0-8-amd64 (x86_64)
Wed 20 May 2020 04:44:59 PM CEST
make: Entering directory '/usr/src/linux-headers-4.19.0-8-amd64'
/usr/src/linux-headers-4.19.0-8-common/scripts/Makefile.build:45: /var/lib/dkms/jool/4.0.5.git.v4.0.5/build/src/mod/nat64/Makefile: No such file or directory
make[3]: *** No rule to make target '/var/lib/dkms/jool/4.0.5.git.v4.0.5/build/src/mod/nat64/Makefile'.  Stop.
make[2]: *** [/usr/src/linux-headers-4.19.0-8-common/Makefile:1537: _module_/var/lib/dkms/jool/4.0.5.git.v4.0.5/build/src/mod/nat64] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.19.0-8-amd64'

Using the upstream guide, i could compile it just fine: https://github.com/NICMx/Jool/blob/master/docs/en/install.md#compilation-and-installation

But then dkms doesn't seem to be happy & is complaining about diff of modules.
Here is the code i used: https://github.com/FreifunkMD/ansible/blob/migration/roles/jool/tasks/main.yml#L32
//Edit:
building using install.sh works. so it must have something todo with that weird version number 4.0.5.git.v4.0.5. I checked out the git branch instead of using tar, but idk why/who generates this version number.

Hi have u checked the WhitePaper
https://www.jool.mx/en/install.html

repo: FreifunkMD/jool-docker


text:
🛑 API (DF) Sekretariat-DJPb is down

In 362f699, API (DF) Sekretariat-DJPb (https://df1.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API (DF) Sekretariat-DJPb is back up in ef42a29.

repo: FrideyAlpha/uptime-setditjen


text:
🛑 Superset Sekretariat-DJPb is down

In 89fb722, Superset Sekretariat-DJPb (https://superset.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Superset Sekretariat-DJPb is back up in 3470567.


text:
keep showing the Buttons in error under system tab

https://i.imgur.com/AP9p6jC.jpg
Picture of the systems tab in the middle should it be showing those
-running Windows 10
-GPU = NVIDIA GeForce 940M

Gné ?
This is screen with ArcDPS, not GW2Mounts !
Your version of ArcDPS is out dated (this is why you had error message)
I think the name GW2Addons is not the most appropriate because in fact here it is only GW2Mounts as addons, the others are on other github or site.
ArcDPS : https://www.deltaconnected.com/arcdps/

authors: BearsMan SubActif

license: mit


text:
Update dependencies

Hi! There are some dependency updates. Kind regards, Daniel

Ping

repo: FriendlyCaptcha/friendly-captcha-jvm


text:
Document namespace functions

Adding this issue so that we can track this feature request: document functions in namespaces. Lots of projects are doing this nowadays, so it would be nice if Sami supported it. For example: https://github.com/guzzle/guzzle/blob/v6/src/functions.php

When functions in namespaces were introduced in PHP? Can functions be imported individually?
I guess if Parser we're using supports that then adding this feature is no big deal.

AFAIK, they've been supported since namespaces were added in 5.3.
This is a blocker for us to ship the v3 of the AWS SDK for PHP, so I'll probably take a stab at this soon.

Current tree on the left is class/interface/trait based and I don't know where global functions are listed currently or if they are supported at all.

The namespace specific funcitons I'm referencing would be listed per/namespace so on each namespace page.

Some generic file header collection for template/generic files would be awesome too. Our projects have some documentation set into the template file headers as such:
<?php

/**
 * template-name.php
 *
 * This template is used to output a certain template.
 *
 * @since 0.1.0
 * @updated 0.2.0
 * @author Firstname Lastname
 */

...

So perhaps the document generator could handle files without any class or function declarations as template or generic files?

@Rask , I don't quite understand what you're offering. Your files have File-level DocBlock, but how does it affect documentation generation of file itself doesn't contain any class/interface inside?

Closing as this is indeed not supported. As we had several issues about the same topic, I suppose it would make sense to implement this feature. As I won't implement it myself, I'm closing this ticket. Anybody can of course submit a pull request for this.

authors: Rask aik099 fabpot mtdowling

repo: FriendsOfPHP/Sami


text:
Please 🥇 add username into mongo document

Is your feature request related to a problem?

It will be convenient to make a website.

It will help a lot for cracked server.

please decide to add it.

It's not beyond your heart, handsome man.
Describe the solution you'd like.
Add username into mongo document
and change ??? on leaderboard to username
I have some idea for it.

you can add in setting.yml

usernamedoc: true

if usernamedoc: true it will be add new username -> mongo document
Optional:
if username in database more than 1
-> delete all that playerdata(username = current  username) and register current player for new playerdata
Describe alternatives you've considered.

In order for people to choose frost, there is a variety of servers to open the server.
like player want to cracked account server or premium account server

Agreements

[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] I have ensured the feature I'm requesting isn't already in the latest Frost.

Other
No response

This has been added on the commit 0b62c5 (1/2/2022 @ 4:03 AM)

repo: FrozedClubDevelopment/FrostCommunity


text:
clockintit.com is down

Hello,
we have been using clockingit platform for past 10 years. We have noticed that the platform is down (DNS loop issue). I found your data in the whois registry, so i don't know if you are the proper person to ask, but do you plan to return with the clockingit.com platform, or it is down permanently?
Regards,
Aleksander

Hi, mate. Im also in big wonder what is the future. We also been using CIT for about 12 years. It is fantastic and handy. Sometimes web server stopped, so I informed Erlend via mr@fudgie.org, and this email looks not found as well now, what wonders me a lot. If you have any ideas or more info, please write me to: alexandr at cosmos.lv, use "Alex" in a body to avoid spam filters.

Aleksander, we now are very curious here how you figured out the new IP of ClockingIt.com ? Could it be that DNS refreshes itself in a week and all returns to the old good times..?

repo: Fudge/clockingit


text:
Cannot load keystore file which forc-wallet new generated

I used forc-wallet to generate new wallet under my project dir "project_root/.wallets/wallet_fuel.json" and encrypt with empty passphrase.
my wallet gen script:
mkdir -p .wallets

wallet_name=fuel
if [[ -n $1 ]]; then
  wallet_name=$1
fi

forc wallet --path=./.wallets/wallet_"$wallet_name".json new --force

and triple "Enter"s to get an encryped keystore json file under "project_root/.wallets/wallet_fuel.json"
Then I use Rust SDK to restore my wallet:
fn restore_wallets(password: &str, some_provider: Option<Provider>) -> Result<WalletUnlocked> {
    let dir = std::env::current_dir()?;
    let provider: Provider = some_provider.unwrap();
    let path = dir.join(".wallets/wallet_fuel_test.json");
    info!("The wallet info stored at {}", path.display());
    let _recovered_wallet = WalletUnlocked::load_keystore(
        path, password, Some(provider.clone()))?;
    Ok(_recovered_wallet)
}

The function panicked, and results in
Decrypted key should have a correct size: InvalidSecretKey

I provide my wallet gen script:
mkdir -p .wallets

wallet_name=fuel
if [[ -n $1 ]]; then
  wallet_name=$1
fi

forc wallet --path=./.wallets/wallet_"$wallet_name".json new --force

and triple "Enter"s to get an encryped keystore json file under "project_root/.wallets/wallet_fuel.json"

Thanks for bringing this to our attention!
The issue seems to be theforc-wallet generating keys of variable length instead of 32 bytes.
I'll close this on the SDK side and you can refer to https://github.com/FuelLabs/forc-wallet/issues/165 for further tracking of this issue.

@MujkicA Thanks, I wanna contribute as well, any option could I reach out team?

authors: MujkicA mtroym

repo: FuelLabs/fuels-rs


text:
Use fuel-core v0.27.0

fuel-core v0.27.0 is released, IIUC this is an important one as we LDC opcode is fixed with that rollout. We should update sway repo to use that version

Requires: https://github.com/FuelLabs/forc-wallet/pull/181

repo: FuelLabs/sway


text:
link_to produces a link with no link text if the name passed to the helper is nil

The expected functionality is that the following:
link_to nil, root_url

...will produce
http://www.example.com

But in reality, bh's link_to helper produces the following:

The bh link_to helper should maintain parity with the Rails helper that it overrides where possible.

thanks! I'll look into this!

@mgoggin Are you sure that link_to nil, root_url is supposed to produce that output in Rails?
I tried in a normal Rails view, and I got the output with nothing between the  tags.
Maybe what you intended to write is link_to root_url instead?

I have tested this on a newly generated Rails 4.2 app.
index.html.erb
<%= link_to nil, root_url %>
<%= link_to root_url %>

This is what is produced:
http://localhost:4000/
http://localhost:4000/

When including bh in the Gemfile, this is what is produced:

http://localhost:4000/

@mgoggin Thanks for the clarification! You found a bug :sweat: my bad!
I fixed it and I'm about to release 1.3.2 with the bug fixed.
Before I do that… do you mind referencing the fix-link-to-without-caption branch of bh in your project, and then try again to check if I've actually 100% fixed the bug?
Simply, in your Gemfile, replace
gem 'bh'

with
gem 'bh', github: 'Fullscreen/bh', branch: 'fix-link-to-without-caption'

and tell me if it's okay! Thanks

I can confirm that the bug is fixed on the fix-link-to-without-caption branch.

Perfect! Now update your gem to 1.3.2 and you're all set!
Thanks again for your feedback.

authors: claudiofullscreen mgoggin

repo: Fullscreen/bh


text:
Return nil for empty value

Facebook respond with nothing when there's no data available (yet). In that case, returning 0 value can be confusing because the value can be really a 0. Sometimes the expecting return value is a Hash, not an integer.

Coverage remained the same at 97.717% when pulling 86e36f5c6899c6d0ddde189d4eddedbf29840f56 on return-nil into 94026c688a1a8f03bef3068f2c1c4dd2f32c6b08 on master.

authors: coveralls kangkyu

repo: Fullscreen/fb-core


text:
Harvester part two

Fixes #110
Todo:

[x] when a harvester dies in a refinery, it should stop depositing money. This will probably also fix #160

[x] show progress bar on harvester instead of number of resources mined

[x] when harvester enters refinery it should no longer be able to receive commands (ie become unselected)

[x] investigate when/why/how the game crashes when 2 harvesters want to board the same refinery at the same time. Or when a refinery is already occupied and being boarded again?

[x] figure out the map bounds (again), deferred #178

[ ] (unit) testing

[ ] when harvester(s) are selected, and mouse is above a refinery, and clicked, then the harvesters should head back

[ ] codacy feedback

Coverage decreased (-2.5%) to 79.627% when pulling 8bca627ff7175d772da025c538895d515cf501ee on feature/harvester-part-two into 8432e0fb294c78d5f27fcb14333d3f3131aea682 on master.

Very nice! I've tested it locally and it seems to work quite nicely.
I have encountered two bugs though:

One crash due to two harvesters entering the same refinery. The first harvester was already docked and unloading it's spice. I can't quite remember what happened, but I think I saw the first harvester in the lower right corner (instead of being centered in both rightmost cells). The second harvester then entered via the upper right corner and then the game immediately crashed.

If you have a harvester selected while entering the refinery, it stays selected. You can still control it while it's unloading the spice. It gave me a good laugh 😉 . I've made a short video to show the effect:

Found another issue while trying to reproduce the crash. Closely watch the harvester coming outside the upper refinery in the following video:

This harvester drives outside of the map to harvest some spice and then drives back onto the map. At the end of the video I try to scroll upwards, but since I'm already there the viewport doesn't budge 😉
Should we prevent pathfinding from finding these cells? Or should we adjust the map generation algorithm to not place spice in the single row that is outside of the visible portion of the viewport?

nice finds,
yeah I knew about the 'unit moves out of viewport' bug, not sure if i administrated it. There is a method that checks if a cell is out of bounds or not (ie, on the invisible border).
Even still, I don't really get these map bounds yet, they seem to work on the Y axis fine, but we also saw crashes on the X axis I believe.

Updated description with comments from @arjenvanderende in todo list

Coverage decreased (-3.6%) to 78.637% when pulling af9adb99b158d8a9db46e96ca09fc2d007d907bb on feature/harvester-part-two into b0248e1bda03abcbc32c5aed2db4340b1b6ea503 on master.

Coverage decreased (-3.7%) to 78.611% when pulling 53e4ca37e602cef3ad4a0e09175601be6b559959 on feature/harvester-part-two into b0248e1bda03abcbc32c5aed2db4340b1b6ea503 on master.

Coverage decreased (-2.5%) to 79.761% when pulling 73fa9ef55f4a29cf26b7eecc8fe66f72a2924a46 on feature/harvester-part-two into b0248e1bda03abcbc32c5aed2db4340b1b6ea503 on master.

Coverage decreased (-2.8%) to 79.497% when pulling 97cd267e1a65b6841f227664081aeb0797f74a72 on feature/harvester-part-two into b0248e1bda03abcbc32c5aed2db4340b1b6ea503 on master.

Coverage decreased (-3.0%) to 79.308% when pulling 8b6e50f73f5bdafe20e403e26c1dabbce0a3867a on feature/harvester-part-two into b0248e1bda03abcbc32c5aed2db4340b1b6ea503 on master.

Coverage decreased (-3.0%) to 79.308% when pulling 7255998f8d30de0e119478cac8ef6c48f96506c5 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.04%) to 79.248% when pulling d09a59a602c99e26bbb3774164e3d423810579f1 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.1%) to 79.178% when pulling d4acd734ab6c6c4cbb71697fa78ebfb276db7bd2 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.04%) to 79.249% when pulling d4d45680afde9021c82096dfa4d77baf699e628c on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.338% when pulling a21c91e1bf763ad74e238996c7910c5eebebea89 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.338% when pulling 27b8a62748651e42d3e4e0a1b4c12175ec7b77af on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.0%) to 79.298% when pulling e42bb6d3396354a4f6bb23f4e7f8d13eb4126638 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.1%) to 79.185% when pulling 86f38b073a47a03e5e63079a6e571614f2c1b5d8 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.368% when pulling 21e1c32b3484ed284b2455e5d0f57aeaaa006b4e on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.348% when pulling 4fbdf76374d595d342d981a7b8b5d498fb1c1ba3 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.342% when pulling c3c77c4f35c92db51f7dac6e917483fd89d01867 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.342% when pulling c3c77c4f35c92db51f7dac6e917483fd89d01867 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-2.9%) to 79.401% when pulling 857f2c49db1d8575073c18fcd04f8efe597b23ae on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.0%) to 79.314% when pulling c7b59a72a68f9ec4f1bb40304d77e8d8f38a10bc on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.

Coverage decreased (-3.0%) to 79.328% when pulling fe9df6febc96d64e40e2add361b81db2ed99a313 on feature/harvester-part-two into 88a43ffd0c9c11c4cfee4f701c4e71b210486a54 on master.


text:
🛑 Home Assistant is down

In d3b1bc9, Home Assistant (https://ha.fussel.tv) was down:

HTTP code: 530
Response time: 47 ms

Resolved: Home Assistant is back up in 18fba2c.

repo: FusselTV/status


text:
*Apologies for writing this in the wrong place

Hi, apologies in advance for writing here about a different addon, but the place you wrote on has since been closed.
I was reading your post on the Zwifit github page ( https://github.com/dawsontoth/zwifit/issues/39 )
You mentioned you had created a basic test app for android that let you adjust the treadmill settings, rather than using the frontend.
Is there any chance you still have this app and could somehow send the apk file? While the frontend does work, it's very hard to control when running flat out, and much too easy to hit the wrong tab, button etc.
I'm generally just needing an up and down arrow to control speed. Hopefully you cab somehow help me out, cheers

Hi @FuturityUK  and @Tuttle13 ,
I would like to run zwifit on my Pi but everything seems to be out of date (node JS, NVM and all different items in the installation of Zwifit) can someone give me some tips on what soft I should use to be able to make it to work? Thnak you so much in advance and sorry for using this place  to ask you. Not sure sure where else I can ask.
thanks!
Nick

It's been many years since I last used this software, but do plan to use it again soon.
In general, I'd recommend recreating the exact environment that the software was developed on to minimise problems.
If you do get it working with a newer environment, please could to update this message thread as I'm sure it would be very useful for others.
Thanks
Neil

Hi Nick,
I'm not even sure of the state of this project any more as its been so many years.
Sorry
Neil


text:
mp3, ogg, webm, wav, aac... for audio

mp3, ogg, webm, wav, aac... for audio

This issue was imported from Google Moderator
Moderator votes: +7
Issue added by mh_nichts on 2014-09-02
To vote this issue up or down, simply include +1 or -1 in your comment.

+1

Duplicate of #988 so moving half the votes there.

authors: Fyrd duanyao

repo: Fyrd/caniuse


text:
Add webkit bug to filter css property

In Safari filter won't apply to child elements while they are animating. WebKit Bug.

Thanks!

authors: Fyrd jamiebuilds


text:
Metric contexts: adapt the database schema

At the very least, a new column with JSON type needs to be added to the metrics and latest_metrics tables. Ideally we would normalize the metrics IDs by having a new metrics table that maps a key and context to an id, and then reference those IDs in metric_values and latest_metric_values (new table names) instead of the key.

I'm not sure I understand the normalized approach here. Is this because every metric for a run will have identical context, so we want to reduce storage?

Not just storage but also lookup times. Imagine you have 1000 runs that log 100 metrics of 10000 steps each. The metric contexts will be duplicated 10,000,000 times and any lookup will need to examine all of these. We inherited our schema from the MLFlow one, and it really doesn't scale further without more normalisation.
I would like us to not build more tech debt with this new feature. The rest of the normalisation (params and tags) can happen later.

authors: jgiannuzzi suprjinx

repo: G-Research/fasttrackml


text:
Installing GAM into an existing GCP project

I was wondering if there would be any issues installing GAM into an existing GCP project. This GCP project is already in use by other engineers doing other, non GAM, things.

Just for reference, you can use gam use project <project id>

repo: GAM-team/GAM


text:
reset admin password in Grafana cantainer

I can't reset admin password in Grafana container.
I have googled this question and it does not work. such as https://sleeplessbeastie.eu/2019/12/11/how-to-reset-admin-password-in-grafana-container/
It trobules me and can you help me.
As for INT visualisation, the page loads for a long time and does not show anything.

What about your .env file? Try to recreate grafana container as long as .env file contains GF_SECURITY_ADMIN_USER and GF_SECURITY_ADMIN_PASSWORD variables.

I pulled  the latest code and done as the readme.md said.

But I use the admin/admin ,it did not work from local port 3003.

What about container logs?

Can you check if the environment variables are in the container?
jaxa@jaxa-VirtualBox:~/int-analytics$ docker exec -it grafana_container /bin/bash
bash-5.0$ env
HOSTNAME=9533a01c81a7
PWD=/usr/share/grafana
GF_PATHS_HOME=/usr/share/grafana
HOME=/home/grafana
TERM=xterm
SHLVL=1
GF_PATHS_PROVISIONING=/etc/grafana/provisioning
GF_SECURITY_ADMIN_PASSWORD=admin
GF_SECURITY_ADMIN_USER=admin
GF_PATHS_DATA=/var/lib/grafana
GF_PATHS_LOGS=/var/log/grafana
PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
GF_PATHS_PLUGINS=/var/lib/grafana/plugins
GF_PATHS_CONFIG=/etc/grafana/grafana.ini
_=/usr/bin/env
bash-5.0$

Remember that there should be no whitespace characters in the .env file. Maybe some space got there.

Is this problem sloved?

I have not tried the methods proposed by others. You can have a try.
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年9月20日(星期二) 下午4:25
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [GEANT-DataPlaneProgramming/int-analytics] reset admin password in Grafana cantainer (#1)
Is this problem sloved?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I am really interested in this repo, but I am afraid I can not  deploy it successfully.

I am really interested in this repo, but I am afraid I can not deploy it successfully.

I have not tried the methods proposed by others. You can have a try.
…
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年9月20日(星期二) 下午4:25 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [GEANT-DataPlaneProgramming/int-analytics] reset admin password in Grafana cantainer (#1) Is this problem sloved? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

I am really interested in this repo, but I am afraid I can not deploy it successfully.

It takes a little time to deploy, I think. These time I do another work, so I do not try the above method.
.
------------------ 原始邮件 ------------------
发件人:                                                                                "GEANT-DataPlaneProgramming/int-analytics"                                                                                @.>;
发送时间: 2022年9月20日(星期二) 下午4:38
@.>;
@.@.>;
主题: Re: [GEANT-DataPlaneProgramming/int-analytics] reset admin password in Grafana cantainer (#1)
I am really interested in this repo, but I am afraid I can not  deploy it successfully.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

It takes a little time to deploy, I think. These time I do another work, so I do not try the above method. . ------------------ 原始邮件 ------------------ 发件人: "GEANT-DataPlaneProgramming/int-analytics" @.>; 发送时间: 2022年9月20日(星期二) 下午4:38 @.>; @.@.>; 主题: Re: [GEANT-DataPlaneProgramming/int-analytics] reset admin password in Grafana cantainer (#1) I am really interested in this repo, but I am afraid I can not deploy it successfully. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Okay, my research field is P4 INT. We can  communicate with each other， email: 841540470@qq.com


text:
Site shape analysis

I conducted AIMD simulations using a forced symmetry structure, and I have uploaded the simulation files to the "shape_analysis" subfolder within the surfdrive directory. I've tried to apply rotational symmetry to this data, and I would appreciate if you could review my approach.  I have used files created by MATLAB, which are also available on surfdrive. However, when attempting to integrate them with gemdat, I encountered an issue with the order of symmetric operations. Since I manually recorded these operations, it is difficult to integrate. I was thinking that it should be possible to extract the symmetry operations from the sites CIF file and apply them to each lithium atom at each time step. And then plot the positions of the lithium atoms around one of the specified sites within a cutoff distance.

Thanks! I will play around with it a bit.
So, the goal for this code is to eventually extract the shape analysis bit and give it a place in gemdat.

Hi @AstyLavrinenko , I'm getting:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[11], line 3
      1 sim_data = sio.loadmat('/home/stef/md-analysis-matlab-example-short/shape_analysis/simulation_data.mat')
      2 sites = sio.loadmat('/home/stef/md-analysis-matlab-example-short/shape_analysis/sites.mat')
----> 3 fig = plot_radius_shape(sim_data, sites)

Cell In[7], line 17, in plot_radius_shape(sim_data, sites)
     14 sites_48h = np.where(np.array(sites_names) == '48h')[0]
     15 sites_48h2 = np.where(np.array(sites_names) == '48h2')[0]
---> 17 site_clusters[0] = transfer_48h(np.array(clusters_coords)[sites_48h])
     18 site_clusters[1] = transfer_48h(np.array(clusters_coords)[sites_48h2])
     19 site_clusters[2] = transfer_16e(np.array(clusters_coords)[sites_16e])

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (224,) + inhomogeneous part.

Because clusters_coords consists of arrays with different shapes. Any ideas?

clusters_coords

Wow, I didn't have this error. Okay, can we try to replace lines 17-19 with lines below?
site_clusters[0] = transfer_48h([clusters_coords[i] for i in sites_48h])
site_clusters[1] = transfer_48h([clusters_coords[i] for i in sites_48h2])
site_clusters[2] = transfer_16e([clusters_coords[i] for i in sites_16e])

That works, I think you are using a deprecated numpy feature that caused this: https://numpy.org/doc/stable/release/1.19.0-notes.html#deprecations
Now I run into this:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: 'float' object has no attribute 'sqrt'

The above exception was the direct cause of the following exception:

TypeError                                 Traceback (most recent call last)
Cell In[54], line 3
      1 sim_data = sio.loadmat('/home/stef/md-analysis-matlab-example-short/shape_analysis/simulation_data.mat')
      2 sites = sio.loadmat('/home/stef/md-analysis-matlab-example-short/shape_analysis/sites.mat')
----> 3 fig = plot_radius_shape(sim_data, sites)

Cell In[52], line 22, in plot_radius_shape(sim_data, sites)
     19 site_clusters[2] = transfer_16e([clusters_coords[i] for i in sites_16e])
     21 for i in range(3):
---> 22     distances = np.sqrt(np.sum(site_clusters[i].copy()**2, axis=1))
     23     print(['48h','48h2','16e'][i], ' MSD (A^2) = ',np.mean(distances.copy()**2),' std = ',np.std(distances.copy()**2))
     24     theta = np.linspace(0, 2 * np.pi, 100)  # 100 points around the circle

TypeError: loop of ufunc does not support argument 0 of type float which has no callable sqrt method

Well maybe, but I didn't change anything manually and I have quite new version of numpy same as for gemdat.
Anyway, what if you try distances = (np.sum(site_clusters[i].copy()2, axis=1))(0.5) instead of np.sqrt?

I have studied the code today and here is what I came up with.
The goal is to have an algorithm that for all symmetrically equivalent cluster centers, find nearest atoms from trajectory, and transforms them back to the asymmetric unit. This helps the statistics for performing shape analysis and making plots.
As input:

crystal or material structure

contains cluster centers
includes symmetry operations

trajectory

typically P1
maybe a supercell of crystal structure
lattice can be triclinic (non-constrained in simulation)

Algorithm:

load clusters (pymatgen structure)
load trajectory (pymatgen trajectory)
reduce supercell of trajectory to match clusters

assert trajectory and cluster lattices match

for every unique cluster center,
5. for every symmetry operation

apply next symmetry operation to cluster center
find all trajectory points within X distance
copy and map points back to asymmetric unit (reverse symmetry op)
subtract cluster center coords

perform shape analysis

plots, fits, heat maps, msd, etc

@stefsmeets Yes, I think this should work. Although for step 4 there are two possible ways. The first one you described. Second:

for each trajectory point find the closest cluster center,
5. for every unique cluster center

extract symmetry operation of unique cluster center
copy and map points back to asymmetric unit (reverse symmetry op)
subtract cluster center coords

I'm not sure which one is easier to implement. Using the code I provided, I tried to follow the second option.

TODO

[ ] Convert distances to Angstrom
[ ] Write tests
[ ] Refactor plotting code
[ ] Convert notebook code to gemdat submodule

Hi @AstyLavrinenko, I'm pretty happy with the way this works now. Could you have a look whether you find this intuitive to work with, and if it helps with your analysis?

Hi @AstyLavrinenko, I'm pretty happy with the way this works now. Could you have a look whether you find this intuitive to work with, and if it helps with your analysis?
Todo

[x]  Add example and update docs
[x]  Update demo notebook
[x]  Maybe add nicer repr for ShapeAnalyzer

Hi @stefsmeets, the example looks impressive! I really like the idea of using a heatmap for visualization. I've started experimenting with code using some different data. I'm planning to dig deeper and play around a bit more. I'll let you know how it goes by the end of the week

Hi @AstyLavrinenko Thanks! Since there was no response I'm going to assume everything is working as intended. I will merge this now, let me know or open new issue with any comments or issues you may find.

Hi @stefsmeets I have a couple of things I'd like to discuss, and I think it would be more effective to do so in person. If I'm not mistaken, you will be at the reactor tomorrow. If that's the case, we could go over these

authors: AstyLavrinenko stefsmeets

repo: GEMDAT-repos/GEMDAT


text:
Fix coarse IO in MAPL 2.3.2

Fixes #574
This fixes an issue I've found. There might be a slightly more elegant way to do this by extending a macro.
Not sure what the standard says, was I breaking something before that intel 18 was letting us get away with.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[X] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[ ] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Closing this PR opening new one for merge onto main.

authors: bena-nasa tclune

repo: GEOS-ESM/MAPL


text:
some 3D fixes

Fixes the case of missing attributes
When cycling through subdomains (F9./F10), 2D shows the full mesh at the end of the cycle.
Instead, 3D keeps cycling. Now 2D and 3D cases are consistent

@stefanozampini, feel free to merge this at any time. Thanks!

authors: stefanozampini v-dobrev

repo: GLVis/glvis


text:
GPII-3096: Update code coverage to use nyc instead of istanbul.

See GPII-3096 for details.

I tried this out and it worked fine, but the coverage statistics reported on the console were for a wider set of files than those in the HTML coverage report at gpii-express/reports/lcov-report/ . This isn't particularly a problem, but we should probably make these consistent. The former also showed that there is a lot of code in gpii-express/tests/js/lib/diagramAllRoutes.js which seems to be never executed.
We may as well update to grunt 1.0.3 while we are at it as the only outdated dependency.

@amb26, I updated the NYC config, you can see an updated report here:
http://the-t-in-rtf.github.io/coverage-reports/gpii-express/20180607/
The test content was not meant to be instrumented or reported on.  I can see making an exception for some of the bits that tend to be used in other work, but in that case we should move those parts to src/test and add docs.  I eventually plan to purge the sequence mangling bits in this package in favour of proper sequence steps, so I'd rather not advertise those at all.  If you think it's worth it, I can move the diagramming bit into src/test and add separate tests.

That's fine, I have just the same coverage holes in Kettle's test utilities for the same reasons

repo: GPII/gpii-express


text:
RPRBLND-1673: Make USD plugin to work in Blender 2.93

PURPOSE
Blender 2.93 has internal changes in class property annotations, which made impossible to create such classes from the code. MaterialX node classes were created from the code and this approach isn't working in Blender 2.93. Another approach is to generate python code with MaterialX node classes. Such approach was implemented in this PR and is working for Blender 2.93 and earlier versions. Also generated python code is much more understandable for developers and easier to debug.
EFFECT OF CHANGE
Prepared plugin to be run in Blender 2.93.
TECHNICAL STEPS

Added preloading necessary dlls, which is required for python 3.9+.
Implemented python code generation for MxNodeDef classes (this class was moved from MxNode.NodeDef).
Implemented python code generation for MxNode classes.
Implemented python code generation from .mtlx file with nodedefs and loading created module during plugin run. Code generation is applied during first plugin run.
Made some code improvements: renamings, code movings.
Adjusted create_zip_addon.py to not copy generated python code.

NOTES FOR REVIEWERS
MaterialX 1.38 several updates in definitions of nodedef parameters: they changed tag <param> into <input uniform="true">. Plugin wasn't adjusted to this changes in this PR, I plan to do this in next task.
Changes in this PR are working with Blender 2.92- also.

Decided to push adjustments for  MaterialX 1.38 mentioned in Notes for reviewers into this PR. So now plugin supports both 1.37 and 1.38 syntax.

Moved MX classes module generation from base_node.py into separate script tools/generate_mx_classes.py. Now generate_mx_classes.py has to be run during before creating addon installer.


text:
Sample fails to run on Intel Windows Vulkan driver on HD530 iGPU..

I know, I know that's an AMD Project, but since it runs on Nvidia GPUs just wanted
to mention it doesn't run on Intel Skylake iGPU Vulkan driver on Windows..
don't know using Intel Linux Vulkan driver which curiously is also named Anvil as your framework :-)
may test later..
on Windows on debug mode I must comment:
assert (swapChainImageCount < surfaceCapabilities.maxImageCount);
since surfaceCapabilities.maxImageCount=0 for whatever reason..
anyway in release mode this doesn't matter
it crashes
vkCmdBindIndexBuffer (commandBuffer, indexBuffer_, 0, VK_INDEX_TYPE_UINT32);
on function void VulkanQuad::RenderImpl
with:
Exception thrown at 0x00007FFD4F1FFAFA (igvk64.dll) in HelloVulkan_Release_2015.exe:
0xC0000005: Access violation reading location 0x0000000000000050.

You're right, the assert is wrong, as maxImageCount = 0 implies that there is no limited. I'll fix that right away. I'm not sure why it crashes when binding the index buffer. Can you check if the index buffer is created successfully?

The index buffer offset was not taking the alignment requirements into account - fixed that. Should work now!

authors: Anteru oscarbg

repo: GPUOpen-LibrariesAndSDKs/HelloVulkan


text:
Fix default_params member

Issue with python 3.5, which prevented correct loading of the initial hyperparameters.

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   99.18%   99.18%
=======================================
  Files           6        6
  Lines         370      370
=======================================
  Hits          367      367
  Misses          3        3

Impacted Files
Coverage Δ

GPflowOpt/acquisition.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io javdrher

repo: GPflow/GPflowOpt


text:
Outer boundary condition

The outer boundary condition in the logarithmic case is quite poor - just extrapolation. Should update to give correct fall off with r.

Fixed in #24

repo: GRTLCollaboration/engrenage


text:
pandoc/markdown support

add support for a markdown -->pandoc --> pdf workflow
this allows for easier writing, and easier reference management

so this ups the dependencies a bit, but would be a metadata.yaml file, series of markdown files, and a .bib bibliography database.
Using a python script to orchestrate everything, the yaml file would be read to order the chapters, then everything is streamed to pandoc, along with ummsthesis-template.latex pandoc template, and umms-thesis.lua custom pandoc writer.
├── metadata.yaml (author, title, readers, date, chapter file names, etc.)
├── acknowledgements.md
├── dedication.md
├── abstract.md
├── chapter-project-one.md
├── project-two.md
├── introduction.md
├── ...
├── ...
└── figures/
|   ├── western-blot.pdf
|   ├── qpcr.pdf
|   └── gene-pile-up.pdf
└── resources/
    ├── ummsthesis.lua                   (custom writer for pandoc)
    ├── ummsthesis-template.latex        (custom template for pandoc)
    ├── nih-citation-styles.csl          (citation styles format....not decided on this yet)
    └── compile                          (python script that pulls everything together and
                                          sends it to pandoc, and then saves the pdf properly)

so in order for it to work you need:

a TeX distribution (MacTeX, or MikTeX, or TeXLive)
pandoc (crossplatform, compiled---from haskell)
pandoc-citeproc (a python filter for pandoc)
highlighting-kate (a code highlighting utility, available compiled)
python (2 for now, but really should start using 3 at this point)

... is this too much stuff?

repo: GSBS-Bootstrappers/umassmed-tex


text:
🛑 beCOOKIES AWS API is down

In 6e93fd1, beCOOKIES AWS API (https://core.becookies.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: beCOOKIES AWS API is back up in 05018c5 after 12 minutes.

repo: GSoftbiz/upptime


text:
[Fullstack] Test admin user lists

Description

We need to verify that the admin dashboard user lists function as intended
This includes: "View All Users," "View Admin Users," "New User Verification Portal," and "Users with 800 hours"
There won't be a PR for this ticket. Instead, leave a comment with the cases you tested and any bugs you encountered

Acceptance Criteria

[x] User lists display correct users
[x] Verifying new users functions properly
[x] Users with 800 hours functions updates when users reach 800 hours
[x] These are just examples of tests, make sure to try more cases

Other Notes

Try a variety of inputs and edge cases
You should be creating new normal users for testing

Tested viewing "All Users" works as expected but search bar does not work. There is no button to filter the results.
New user verification works properly. Tested every stage of new user registration and the database gets updated correctly accordingly.
"View Admin Users" correctly displays all admin users
"New User Verification Portal" works as expected and the database gets updated correctly too.
"Users with 800 hours" works as expected and updates correctly.
Problem on all options on the Admin Dashboard: Every page like "View All Users" or "Users with 800 hours" show the title "All Users" regardless of the page. Maybe we want to change this to reflect the page we are currently at.


text:
Wand rebalance

As stated in the title, and as has been discussed in #Meta-Dev before a year or so ago, this PR focuses on rebalancing thaum to start in steam, because as has been said before, Thaumcraft functions best as early-game as possible, because unlike GT, it doesn't have an exact linear progress, and a lot of its content starts to taper off after HV, which is super unfortunate given its current tiering.
The biggest thing this does, in combination with its sister pr (link) is to rebalance the wands, alongside certain other recipe tweaks here and there.
Every wand is tiered down a bit, including the Ichor to IV, being the last wand, I might push it to LUV though, and the starting wand uses any normal thaumcraft shard, I was originally going to do salis, but then I started to realize "you can't exactly make a crucible without a wand" though I may add a decently difficult steam age recipe for salis, later and revert back to this.
You may ask yourself, "Alastor, but how are they going to get the shards for everything?"
There's two solutions to this:

We could add shards to the OW small ore generation like silver
There's already multiple villagers that outright sell shards

I am against add shards to ow. This will not happen! Tf is the magic dimension and I not change that.

As I said in the initial comment, that's fine, this was merely a suggestion, you can already get overworld shards.
Are this „changes“ change materials in the wand recipes ?
It shifts wands down a single tier. It really hardly affects the balance since that is kept consistent, and despite that it will have a massive impact on increasing the actual use of thaumcraft in the pack by starting it a bit closer to the actual exploration stage of the pack.

Lets planing the rework first

authors: Alastors Dream-Master

repo: GTNewHorizons/GTNH-TC-Wands

license: WTFPL


text:
🛑 IGSTV.gzod01.fr is down

In 412cc59, IGSTV.gzod01.fr (https://igstv.gzod01.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IGSTV.gzod01.fr is back up in 8183608 after 12 minutes.


text:
🛑 Jenga Availability is down

In 51f54a2, Jenga Availability (https://api-v2.honeycoin.app/v3/uptime/jg/balance) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jenga Availability is back up in 04e13c7.

repo: Gabe-Honeycoin/hc-upptime


text:
Fix storybook

I've fixed storybook so it now runs for me on device.  The PR contains the following changes:

Added mock-apollo-client lib so we can mock the graphql responses as shown here
Updated the start command for storybook
Fixed up a few of the stories so they actually render

If there are any visual issues in any of the stories then I suggest we fix those in a separate PR.

Looks good

repo: GaloyMoney/galoy-mobile


text:
🐛 fix production external images not displaying

Why need this change? / Root cause:

fix production external images not displaying

Changes made:

Test Scope / Change impact:

Avater component image

Issue

Close #316

Note
不知道為什麼部屬在預覽網站可以正常顯示照片，部屬到正式機後卻沒吃到 next.config.js 的 image unoptimized 設定，所以我目前先暫時調整 Avater 裡面的 image 個別設定 unoptimized，有時間再研究為什麼 next.config.js 的 unoptimized 設定會失效
預覽版的登入頁

正式機的登入頁

✅ Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/324/commits/2f88cd7abfcbf302422295b4b866b13812d3acf0

Unused files (10)

Unused files (10)

.bundlewatch.config.js

components/shared/Chat/ChatContent.tsx

components/shared/Chat/ChatMessage.tsx

components/shared/Chat/index.tsx

components/shared/Icon/group/news.tsx

configs/i18nConfigs.ts

lighthouserc.js

reset.d.ts

scripts/knipScanReporter.js

scripts/lhciScanReporter.js

Unused dependencies (2)

Unused dependencies (2)

@svgr/webpack  package.json

sharp          package.json

Unused devDependencies (5)

Unused devDependencies (5)

@actions/github             package.json

@octokit/core               package.json

@storybook/blocks           package.json

@storybook/testing-library  package.json

@total-typescript/ts-reset  package.json

Configuration issues (1)

Configuration issues (1)

Unused item in ignoreDependencies: @next/bundle-analyzer

🤖 Lighthouse Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/324/commits/2f88cd7abfcbf302422295b4b866b13812d3acf0

/rooms

Metric
Value

Performance
58

Seo
80

Accessibility
77

HTML Report for LHCI Scan
Report Link

/rooms/abc

Metric
Value

Performance
73

Seo
80

Accessibility
66

HTML Report for LHCI Scan
Report Link

/login

Metric
Value

Performance
45

Seo
80

Accessibility
94

HTML Report for LHCI Scan
Report Link

authors: GaaSBot JohnsonMao

repo: Game-as-a-Service/Game-Lobby-Web


text:
Decrease the size of labels-color-circles

The colored circles could just be small dots.

authors: angieskazka olarosling

repo: Gapminder/vizabi


text:
Enable DirectX 9Ex

As indicated in the closed Pull Request #443
// Comment this in order to disable using Direct3D9Ex feature
$pref::Video::preferDirect3D9Ex = true;

I don't know that that would really enable any new specific behavior just by flipping it on, and we're going to be removing DX9 in 4.0.
I'll close this issue unless someone knows if 9ex does anything special just by virtue of activating it.

authors: Areloch thecelloman


text:
Buttons for message commands BOOLEAN argument.

Please add buttons with text True and False to the message when you use message command when bot is prompting for BOOLEAN input
Also then there are optional arguments, add button with text Skip to the prompt message to skip it easier without typing skip to the channel.

Also there should be that when you write cancel to the channel, prompt will be cancelled and add button for it too

That's a good idea. Buttons will make it look fancy

https://github.com/Garlic-Team/GCommands/commit/169af6a4626b1f83b946a521852b1a45a2ed0eb0

authors: S222em anondev-sudo xHyroM

repo: Garlic-Team/GCommands

license: ISC


text:
🛑 ModMail is down

In 5ef55b6, ModMail (https://modmailbot.gavindr1.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ModMail is back up in 9897dd9.


text:
🛑 Bitwarden is down

In 8159622, Bitwarden ($BITWARDEN_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bitwarden is back up in 6f9139b after 1 hour, 6 minutes.

repo: GeekCornerGH/status-page


text:
Lack of HTTP method on actions causing an error when trying to view Swagger

As shown below, to be able to view a swagger document, all actions need to be decorated with an explicit HttpMethod

@GeekInTheNorth many thanks for merging this in so quickly, very much appreciated 👍

@adayinthelifeofapro  No worries mate, I've credited you on the release notes withing the discussions section too :)

authors: GeekInTheNorth adayinthelifeofapro


text:
EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated

Description
EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use remove() on the subscription returned by EventEmitter.addListener.
CodeSandbox/Snack link
private project
Steps to reproduce

Launch the app
Warning will appear

EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.
HybridProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:205845:24
ResponsiveQueryProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:134223:14
RNCSafeAreaProvider
SafeAreaProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:145976:24
NativeBaseConfigProviderProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:127219:27
NativeBaseProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:205734:33

NativeBase Version
3.4.5
3.4.21
3.4.22
Platform

[X] Android
[ ] CRA
[ ] Expo
[X] iOS
[ ] Next

Other Platform
No response
Additional Information
This happened on react-native 0.68.2
It was mentioned on #5446 but seems like it got forgotten, #5446 had a different react-native version too, which was rn 0.69.6.

any updates on this?

Same problem here version 3.4.21 and React 0.68.4

Still happens with 3.4.22

Yep I can confirm with @madmeatballs it still happen though i know you have picked up on this issue yet

Hi all, this might help explain this issue. I was nesting components that where containing NativeBaseProvider at their root thus  throwing this mentioned warning including the leak on HybridProvider. Now we have removed NativeBaseProvider from all these reusuable components and only allow the application to define it at root level. By doing this as described in the docs I dont have an single warning or state update error from the HybridProvider

we have our like this, https://docs.nativebase.io/setup-provider#h2-add-custom-theme-optional along with other providers that we use,.

authors: Simba-Mupfunya madmeatballs

repo: GeekyAnts/NativeBase


text:
Inbuilt console

Is your feature request related to a problem? Please describe.
I'm always frustrated when I accidentally open the Athene.exe and it immediately closes.
Describe the solution you'd like
When opening Athene.exe, the exe should open up a console where you can type in your command.

Feature added


text:
🛑 Google is down

In 9a27a2c, Google (https://www.google.com) was down:

HTTP code: 429
Response time: 319 ms

Resolved: Google is back up in 1a6b1c2 after 9 minutes.

repo: GennadySpb/upptime-yandex-cloud


text:
Slightly More Robust FSM Architecture

Changes:

Organized Core scripts into individual folders called BaseEntityServices, BaseMessages, BaseServices, and BaseStates.
ApplicationManager script still lives at the root of Core.
Created IEntityService interface for generic typing of services specific to managing and interacting with Unity ECS portions of a codebase. This architectural component is still under construction. More to come Soon (TM).
Created IState which is an interface with one method that enforces the return of the Type of IState. This interface will be used to enforce the creation of specific IStates, such as IApplicationState and make it less likely that enumless states cannot be mixed up between different state machines.
Created IFiniteState, which enforces the return of a Type of IFiniteState for similar reasons.
Created IStateMachine, which is an interface used to generically type our various state machines in the application for bootstrapping purposes, as well as retrieval via the Service Locator Pattern.
Created a StateMachineManager for adding IStateMachines to the ApplicationManager during bootstrapping, and retrieval of IStateMachines via the service locator pattern.
Created a BaseStatMachine abstract class, which enforces the state change pattern through a protected void method called SetState.
Defined a specific type of IMessage called StateChangedMessage that is used to construct messages pertaining to states changing. This enforces our StateChangedMessages to have a specific format (i.e. no more mixing up prevState, nextState, and currentState)
Created an example set of scripts that show all of the above in action located in Runtime/States/ApplicationState and a corresponding MainMenuController which allows the user to test setting states via a canvas in the TestScene.

For More Info See:
closes #14

Reminder to self to perform code documentation via XML tags before slamming the merge button.

repo: GenoImel/Architectures


text:
multiple issue example: soil_cover

Variation in usage of this term, between two packages, even in invariant columns

Definition

Empty required values

Expected value
Value syntax
Example
Occurrence

Poorly written Definition

there's no need to say "description of" in a definition
examples and value constraints should go in Expected value, Value syntax and/or Example

Example does not use either term URL http://purl.obolibrary.org/obo/ENVO_01001616 or term CURIE ENVO:01001616

bare soil [ENVO01001616]

Before

Environmental package
Structured comment name
Package item
Definition
Expected value
Value syntax
Example
Requirement
Preferred unit
Occurrence
MIXS ID
github ticket

agriculture
soil_cover
soil cover
Description of the soil cover of the sampled soil and percent covered, e.g., bare soil [ENVO:01001616], vegetation (type), manure, irrigation pipe, etc.

C

MIXS:0001159

food-farm environment
soil_cover
soil cover
Description of the material covering the sampled soil. This field accepts terms under ENVO:00010483, environmental material.
ENVO:00010483
{termLabel} {[termID]}
bare soil [ENVO01001616]
X

1
MIXS:0001159

After

Environmental package
Structured comment name
Package item
Definition
Expected value
Value syntax
Example
Requirement
Preferred unit
Occurrence
MIXS ID
github ticket

food-farm environment
soil_cover
soil cover
Material covering the sampled soil.
subclass of 'environmental material', http://purl.obolibrary.org/obo/ENVO_00010483
{termLabel} [{termID}]
bare soil [ENVO:01001616]
X

1
MIXS:0001159

agriculture
soil_cover
soil cover
Material covering the sampled soil.
subclass of 'environmental material', http://purl.obolibrary.org/obo/ENVO_00010483
{termLabel} [{termID}]
bare soil [ENVO:01001616]
C

1
MIXS:0001159

This issue has been fixed.

authors: ramonawalls turbomam

repo: GenomicsStandardsConsortium/mixs


text:
Problem on Lauching

The previous version was running just fine, then a pop-up for the new version (1.3.4) came in. But this version is unable to load.

no one answer this ? man.. what a downside.. still cant work tho

authors: duan-jmm yumasnow

repo: GentleGanku/GrimliteRev


text:
🛑 WWWW xyz is down

In 3174e43, WWWW xyz (https://www.crushing.xyz) was down:

HTTP code: 404
Response time: 1428 ms

Resolved: WWWW xyz is back up in d9b72cd after 15 minutes.

repo: GentlemanHu/own-status


text:
🛑 AI flowise is down

In 58ae386, AI flowise (https://aiflow.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI flowise is back up in 72aa6b4 after 10 minutes.


text:
4K display not working very good with scrcpy

What can I do to make it look better? Are you working on better support for 4k screens? Or is this as good as it gets?

If you resize to "pixel perfect" (Ctrl+g), is the quality still bad?

It is much better but then I only see a small portion of the phone display vertically.

Closing as duplicate of #40.

Hi everyone,
I’ve been experiencing some issues with scrcpy when using it on a 4K display. The performance doesn’t seem to be up to par. Has anyone else faced this problem? Any tips or fixes would be appreciated!
Additionally, I’m also interested in finding the bitlife god mode apk. If anyone knows where to get it or has any advice, please let me know.
Thanks!

authors: Seerddfsd rom1v rullskidan

repo: Genymobile/scrcpy


text:
[RFC] Initial draft for Linux hardware-accelerated decoding with VA-API

Addresses #1672
This pull-request adds support for hardware-accelerated decoding with VA-API on Linux platform.
I'm about 70% certain that this code can be better optimized, but even with this initial draft I'm seeing much lower CPU usage overall.
Few limitations here:

VA-API/NV12 is hardcoded; we need a switch and auto-detection method.
Rotation is broken.
!SCRCPY_LAVF_HAS_NEW_ENCODING_DECODING_API is not taken care of.
From a quick glimpse, it looks like it's easy to extend this to other H/W accelerated methods such as VDPAU or CUDA.
CPU usage is still a bit high despite the fact that it's using VA-API.
Reducing memory copy? I'm not sure if this is zero-copy or not, or whether zero-copy is even possible under VA-API and SDL.

Any suggestions would be nice :)

Wow, thank you for that :+1:
I tested the branch, but unfortunately on my computer (it probably depends on the computer):

it does not really improve CPU usage
globally, the latency is worse (did not measure though, but the latency increase is sometimes obvious when I open an Android app)
there is a visual glitch on start (but it's not important)

I guess that the performance issues come from the fact that the decoded image is "downloaded" to main memory (av_hwframe_transfer_data()/av_image_fill_arrays()).
To avoid this problem in VLC, the OpenGL video output imports the hardware picture via "interops". For example for VAAPI:
https://code.videolan.org/videolan/vlc/-/blob/56c05e47af966d53cb9d32d0b8d7c33f11cd6fc6/modules/video_output/opengl/interop_vaapi.c
But scrcpy just uses SDL and does not implement OpenGL/Metal/DirectX directly (because that's too much work).

Wow, thank you for that

Thanks :smiley:

I tested the branch, but unfortunately on my computer (it probably depends on the computer):

it does not really improve CPU usage
globally, the latency is worse (did not measure though, but the latency increase is sometimes obvious when I open an Android app)
there is a visual glitch on start (but it's not important)

Yeah, seems like it really depends on everything.
On my laptop(i7-8550U) with Ubuntu 20.04:

The CPU usage comes down from 140% to 80%(still high, right?)
(I thought leaving the phone on the camera app would stress video decoder the most but seems like scrolling back and forth in the app drawer does even more.)
I do get inconsistent latencies sometimes, but overall it's imperceptible between the original master branch. And when I do get that inconsistent latencies, I think it slows down by 100-200ms, but it doesn't appear to skip frames.
I do not get a visual glitch on start on both my OnePlus 7 Pro(Snapdragon 855) and 8 Pro(865).

On that note though, when I was working on this initially(probably 18 hours ago), it would totally break on a Samsung Galaxy S10e with Exynos processor.
My guess is that even more care for different processors are required..?
I'll try again when I get back home and play around with Exynos.

I guess that the performance issues come from the fact that the decoded image is "downloaded" to main memory (av_hwframe_transfer_data()/av_image_fill_arrays()).
To avoid this problem in VLC, the OpenGL video output imports the hardware picture via "interops". For example for VAAPI:
https://code.videolan.org/videolan/vlc/-/blob/56c05e47af966d53cb9d32d0b8d7c33f11cd6fc6/modules/video_output/opengl/interop_vaapi.c
But scrcpy just uses SDL and does not implement OpenGL/Metal/DirectX directly (because that's too much work).

This is my first time working on calling FFmpeg/libav* functions directly haha
I should probably look into SDL a bit more.
Referencing LookingGlass might give some pointers too, seems like it's also using SDL.
Thanks for the comment :+1:

Found something interesting.
After upgrading the graphics stack and X server to 1.20.9(Ubuntu 20.10's build), the CPU usage was reduced even more.
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
https://launchpad.net/ubuntu/+source/xorg-server/2:1.20.9-2ubuntu1
S/W decoding: 120%
H/W decoding: 50%

it's great to see this being worked on, @arter97  thanks :tada:
tested it & saw significant save in resources,
and for me when running both side-by-side, latency seems lower with vaapi.
S/W decoding: ~70% CPU
H/W decoding: ~20% CPU
on fedora 33
using intel-media-driver
vainfo: VA-API version: 1.9 (libva 2.9.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.3.0 ()

Yeah, seems like something's not right with Exynos.
Both my Galaxy S9 and S10e's video cannot be decoded with this VA-API code.
Pixel format doesn't return AV_PIX_FMT_VAAPI for some reason.
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
build_release//server/scrcpy-server: 1 file pushed, 0 skipped. 101.0 MB/s (33694 bytes in 0.000s)
[server] INFO: Device: samsung SM-G965N (Android 10)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 20.3.0-devel (git-fb1793b 2020-11-08 focal-oibaf-ppa)
INFO: Trilinear filtering enabled
INFO: Initial texture: 1440x2960
ERROR: Unable to decode using VA-API
ERROR: Could not send video packet: -1094995529
ERROR: Could not process frame
WARN: Device disconnected

Video is hard lol

It seems that this is unable to detect my version of VA-API. Here is the scrcpy output and here is my vainfo.
./run x output:
INFO: scrcpy 1.16 https://github.com/Genymobile/scrcpy
x/server/scrcpy-server: 1 file pushed. 3.6 MB/s (33622 bytes in 0.009s)
[server] INFO: Device: samsung SM-G973U (Android 10)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 20.0.8
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2280
ERROR: Unable to decode using VA-API
ERROR: Could not send video packet: -1094995529
ERROR: Could not process frame
WARN: Device disconnected
vainfo output:
libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_7 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.7 (libva 2.6.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 () vainfo: Supported profile and entrypoints       VAProfileMPEG2Simple            :	VAEntrypointVLD       VAProfileMPEG2Main              :	VAEntrypointVLD       VAProfileH264Main               :	VAEntrypointVLD       VAProfileH264Main               :	VAEntrypointEncSliceLP       VAProfileH264High               :	VAEntrypointVLD       VAProfileH264High               :	VAEntrypointEncSliceLP       VAProfileJPEGBaseline           :	VAEntrypointVLD       VAProfileJPEGBaseline           :	VAEntrypointEncPicture       VAProfileH264ConstrainedBaseline:	VAEntrypointVLD       VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP       VAProfileVP8Version0_3          :	VAEntrypointVLD       VAProfileHEVCMain               :	VAEntrypointVLD       VAProfileHEVCMain10             :	VAEntrypointVLD       VAProfileVP9Profile0            :	VAEntrypointVLD       VAProfileVP9Profile2            :	VAEntrypointVLD

@arter97 If you're still interested in working on this (rebase on dev and fix issues), we could enable it with an explicit option (--hw-dec) (I prefer to keep it disabled by default for now, because it will probably cause issues depending on the machine).

@rom1v Hi.
Unfortunately, I don't think I can work on scrcpy due to my current occupation.
This was more of a POC. I expect a much better implementation could be had by someone with deeper knowledge than me.
Thanks.

@arter97 OK, no problem.
I'll work on it in the future (your PoC will help) :wink:

I rewrote the PoC on current dev branch: hw_dec_poc.
With VAAPI, get_hw_format is called with AV_PIX_FMT_VAAPI in the pix_fmts list, so I return AV_PIX_FMT_VAAPI. But then it is called once again without AV_PIX_FMT_VAAPI:
DEBUG: == get_hw_format ==
DEBUG: ==== vdpau (100)
DEBUG: ==== cuda (119)
DEBUG: ==== vaapi_vld (46)
DEBUG: == get_hw_format ==
DEBUG: ==== vdpau (100)
DEBUG: ==== cuda (119)
DEBUG: ==== yuv420p (0)
DEBUG: ==== yuv420p (0)

So I can't make VAAPI work anymore. That's weird. (Note that I can use VAAPI in VLC with or without "direct rendering".)
I can use VDPAU though. But:

the resulting picture chroma is misplaced (either a decoder or SDL bug/misconfiguration)
each call to av_hwframe_transfer_data() takes between 30ms and 50ms (so it can't decode in real-time without adding latency)

So I can't make VAAPI work anymore. That's weird.

With recent updates in Debian packages, VAAPI now works… but av_hwframe_transfer_data() takes ~80ms :disappointed:

Update: https://github.com/Genymobile/scrcpy/issues/3800#issuecomment-1755466479


text:
Allow --sourcemap=none option to work

According to this answer on StackOverflow you cannot to combine --sourcemap=none with --update or (in comments) you need to add --force. This might be the reason I can't disable source maps. I can't find any option to get this working. Here is what I've tried:
	<plugin>
		<groupId>nl.geodienstencentrum.maven</groupId>
		<artifactId>sass-maven-plugin</artifactId>
		<version>2.15</version>
		<executions>
			<execution>
				<phase>prepare-package</phase>
				<goals>
					<goal>update-stylesheets</goal>
				</goals>
				<configuration>
					<resources>
						<resource>
							<source>
								<directory>${basedir}/src/main/resources</directory>
								<includes>
									<include>**/*.scss</include>
								</includes>
							</source>
							<destination>${basedir}/target/classes</destination>
						</resource>
					</resources>
					<sassOptions>
						<sourcemap>'none'</sourcemap>
					</sassOptions>
				</configuration>
			</execution>
		</executions>
	</plugin>

duplicate of #45

Clear. Thank you!

authors: jepsar mprins

repo: GeoDienstenCentrum/sass-maven-plugin


text:
syntax error

hello
i run ogs5py and give the syntax error please help me how solve it

i fix it


text:
Corformance CUD Tests: Field description should accept strings longer than 255

observedproperty.description, featureofinterest.description, datastream.description, sensor.description, thing.description,

fixed

repo: Geodan/gost