libiconv-osx is borken on macOS 10.12 Sierra

› ghci
GHCi, version 8.0.1: http://www.haskell.org/ghc/  :? for help
<command line>: can't load .so/.DLL for: /nix/store/xc80lqlb3k0xfh0n5zrpc4i29cllc141-libiconv-osx-10.9.5/lib/libiconv.dylib (dlopen(/nix/store/xc80lqlb3k0xfh0n5zrpc4i29cllc141-libiconv-osx-10.9.5/lib/libiconv.dylib, 5): no suitable image found.  Did find:
       	/nix/store/xc80lqlb3k0xfh0n5zrpc4i29cllc141-libiconv-osx-10.9.5/lib/libiconv.dylib: malformed mach-o image: symbol table underruns __LINKEDIT)

(I could not reproduce the error with other programs that depend on libiconv-osx.)
Looking at the sources of dyld-360.22, which ships with 10.11.6, I don’t see this kind of error message, so, I guess, it’s a new check added in Sierra. I’m trying to figure out what’s wrong with the dylib. This binary comes straight from Apple, right? Which makes things even more strange. Does anyone happen to know where to get the sources of new dyld?
/cc @copumpkin @shlevy

No, of course, the binary does not come from Apple. It is being built from their source and, actually, then there is a strange manipulation happening.

I think I know what's going on there, and it's a similar error to what I ran into when I updated cctools. I think they've added an extra check of well-formedness of Mach-O files and some of ours violate it.

Yeah, I agree. The problem is that I looked really carefully at the offending dylib and I can’t see anything wrong with it. The symbol table is completely within __LINKEDIT, so I have no idea in which sense it “underruns” it. Is there any way to obtain the sources of dyld or will we have to wait for the official release?

Search for the error message in here: http://opensource.apple.com/source/ld64/ld64-264.3.102/src/ld/parsers/macho_dylib_file.cpp

Although I wouldn't expect anyone in nixpkgs to show that message unless they're being impure. Perhaps ghci is reaching out to the system ld?

Wait a second, ld is a static linker, we are talking about dyld here, right? This message exists in my /usr/lib/dyld but not in the sources at apple.com that’s why I’m looking for the newer ones.

› strings /usr/lib/dyld| grep 'symbol table underruns'                                                                                <1>
malformed mach-o image: symbol table underruns __LINKEDIT
malformed mach-o image: indirect symbol table underruns __LINKEDIT

Oh, I figured it was the obscene manual linking stuff that ghci was doing that was invoking ld on the fly for you. Yeah, we don't have the sources for the 10.12 dyld yet and I don't think they have anything like that in 10.11. I'm guessing they probably added the check to the 10.11 ld64 so that they gave a bit of warning for the 10.12 dyld? Anyway, we can probably figure out what it means based on the ld64 check and stop triggering it.

Hm, I’m afraid I’m not getting what error message in ld64 you are referring to. I see only two messages that have to do with symbol table or __LINKEDIT and they just check that the symbol tables are inside __LINKEDIT, which in our case is true—as I said, I checked this. (Actually, looking at the sources of dyld from 10.11 I don’t see this check there, so I suspect that checks in ld64 and in dyld are completely unrelated to each other.)

Oh sorry for being unclear, the error message is slightly different in ld64, but look for this block:
	if ( symtab != nullptr ) {
		if ( symtab->symoff() < _linkeditStartOffset )
			throwf("malformed mach-o, symbol table not in __LINKEDIT");
		if ( symtab->stroff() < _linkeditStartOffset )
			throwf("malformed mach-o, symbol table strings not in __LINKEDIT");
	}

That's a new block that was added pretty recently to the public ld64 sources in 10.11. See https://github.com/tpoechtrager/cctools-port/commit/05d1a0ab92a9b87cc6896092bbaa4f71d4067b01 for the diff that adds it to the cctools-port project we use in nixpkgs. The wording isn't identical, but we definitely have stuff in nixpkgs that triggers that error message today. I know because I tried upgrading a few weeks ago to the latest cctools-port and ran into that error message. I haven't had time to look into it yet, but I'm guessing the two are related. I know you checked it manually, but perhaps it's only certain binaries/libraries that fail the check? All I know is that when I upgraded to the latest cctools-port, I got a failure when bootstrapping the stdenv and decided to figure it out later.

Extremely weird! Look:
Load command 4
     cmd LC_SYMTAB
 cmdsize 24
  symoff 0
   nsyms 0
  stroff 4104
 strsize 8

As you can see, there are no symbols, therefore, symoff is set to zero. I would say, that in this case symtab should be nullptr and therefore the check you pointed out should not be triggered.
Well, I edited the file and set symoff to 4096 (that is, the beginning of __LINKEDIT) and, guess what, it worked. 😕

I'm not sure I agree with your characterization! There is a symtab, and it has strings in it. So the outer nullptr check will pass, and then we find that symoff is 0, which is certainly less than _linkeditStartOffset. Right?
Perhaps take a quick survey of LC_SYMTAB entries on the Mach-O files that Apple ships with 10.12 and compare to their counterparts in 10.10 or something?

Yes, you are right, sorry, I assumed that the strings table is saved to a separate variable, but that’s not the case.
The problem is that all the other dylibs I found are completely different (at least, they have symbols). Actually, libiconv-nocharset.dylib looks exactly like all the other dylibs, but after the linking magic in libiconv/default.nix it changes significantly.
I have discovered all this weird mach-o world just today so I kind of lost and I have no idea what’s going on and why it changes so much.  What is this reexport thing? Do we create a new dynamic library that is effectively “empty” and somehow provides functions from the other two? What is the goal?

I just tested a minimal example: created a trivial library, created a trivial executable, checked that they work together, did the reexporting trick with the library (got the library with 0 symoff) and here goes:
› ./test
dyld: Library not loaded: liblib.dylib
  Referenced from: /Users/kirelagin/tmp/dylib/./test
  Reason: no suitable image found.  Did find:
       	liblib.dylib: malformed mach-o image: symbol table underruns __LINKEDIT
zsh: abort      ./test

Aha okay, so they've effectively outlawed umbrella libraries that re-export existing libraries without having any code of their own. A simple fix for now is to just shove some dummy code into libiconv for now. I don't recall why I did what I'm doing in there but we can probably dig up the history from before we squashed the commits.

Yeah I have just tried to put a stub function into the library. I might be doing something wrong, but my binary now segfaults without saying anything helpful. Could you please check my steps:
› cat stub.c
void nixos_reexport_stub() {}
› clang -c -mmacosx-version-min=10.10 stub.c
› ld -dylib -o liblib.dylib -reexport_library /Users/kirelagin/tmp/dylib/liblib-orig.dylib -dylib_compatibility_version 7.0.0 stub.o
ld: warning: -macosx_version_min not specified, assuming 10.10
› ./test
zsh: segmentation fault  ./test
› mv liblib-orig.dylib liblib.dylib
› ./test  #OK

Am I missing something?

Not sure, feels like a bug in something of theirs. Do you actually end up with any local symbols in your first liblib?

Sorry, my fault. I forgot about install_name_tool. It works now.

oh, great

@copumpkin I’d like to fix this. Could you try to figure out why this magic was needed? Maybe we could just drop it altogether instead of working it around?

Drop what altogether? I'd probably take one of two approaches:

just add the trivial lump of code to the re-exporting library. That should make it work again on Sierra with minimal other variables changing
Take out the re-export and figure out what goes wrong, fixing whatever the underlying cause was. I'm sorry I don't recall what that was.

Both of these will probably cause a full rebuild and be kind of slow to develop on, but welcome to working on a Nix stdenv 😄

Drop what altogether?

The reexport. I was just hoping that you might be able to recall what the purpose of those reexports was.
I’m not worried about a full rebuild that much, I just have no idea what to look for in case the breakage happens to be non-obvious.

Feel free to post in here if there's something you don't understand and I might be able to help (or others might see something they can help with)

I'm also going to be messing with related parts of the stdenv and pushing some full rebuilds later today, so if you prefer I can make the change.

Yeah, sure, go ahead!
On Sun, Sep 11, 2016, 21:29 Daniel Peebles<EMAIL_ADDRESS>wrote:

I'm also going to be messing with related parts of the stdenv and pushing
some full rebuilds later today, so if you prefer I can make the change.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/18461#issuecomment-246195669,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbk-8f_qaJRYH1Ieu9AD5Y-64c9rcxPks5qpEh4gaJpZM4J43lX
.

@kirelagin I pushed a fix to staging. If you feel like testing it on Sierra, that would be helpful, but otherwise I'll fire up my VM soon and check.

@copumpkin I'm building from staging now and will let you know how it goes. Thanks for your quick work on this.

@dhess thanks! It seemed to be working in my 10.12 VM and on my 10.11 machine but the more testers the merrier. In principle it really shouldn't depend much on the host OS, but as long as we have impurities (including the kernel) there will always be variations.

nix-env -i nixbreaks for me when building out of staging (e6ea302c47c58c2ad525263305853b03739df34d). Looks like an issue with clang/LLVM 3.8.
Log attached.
nix-staging.log.txt
I'll try to build the rest of my world without updating nix.

Ah yes, I haven't tried nix itself. It fails on 10.11 too, and is probably just an incompatibility with clang 3.8

Now it's db. Short story here:
...
./libtool --mode=compile clang -c -I. -I../src  -O3  ../src/os/os_clock.c
libtool: compile:  clang -c -I. -I../src -O3 ../src/os/os_clock.c  -fno-common -DPIC -o .libs/os_clock.o
../src/os/os_clock.c:35:14: warning: implicit declaration of function 'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
                RETRY_CHK((clock_gettime(
                           ^
../src/os/os_clock.c:36:7: error: use of undeclared identifier 'CLOCK_REALTIME'
                    CLOCK_REALTIME, (struct timespec *)tp)), ret);
                    ^
../src/os/os_clock.c:38:27: error: use of undeclared identifier 'CLOCK_REALTIME'
        RETRY_CHK((clock_gettime(CLOCK_REALTIME, (struct timespec *)tp)), ret);
                                 ^
1 warning and 2 errors generated.
make: *** [Makefile:2223: os_clock.lo] Error 1
builder for ‘/nix/store/ls61g817i28fk8gnbm86zva84whf8xfy-db-5.3.28.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/zs947y1grrry68r6yvymk8hyxrc7wv08-apr-util-1.5.4.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/z4dlfi6k7vd8fdjp4ixax5ziyzsxryi1-emacs-24.5’
cannot build derivation ‘/nix/store/c4kf9vwlr4afqix7rz23fn3lkymdfdkc-openldap-2.4.44.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/58v9y41vy6xs5gsihiarmgni9h17v52s-gnupg-2.1.15.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/0va86xa0i90kdkd2g9xqw5qgk4l5634x-subversion-1.9.4.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/vbv7b20n2xkpdqylga5w4hnr8ccfnxzs-shell-env.drv’: 1 dependencies couldn't be built
killing process 64265
cannot build derivation ‘/nix/store/c62v2dpzr1fnks0ifqpgbgc1jcbmywjk-meta-env.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/c62v2dpzr1fnks0ifqpgbgc1jcbmywjk-meta-env.drv’ failed

I'll post a log in a bit.

Yeah, if you don't mind, that'd be helpful! Doesn't seem specific to 10.12. More likely caused by the clang 3.8 upgrade, which I could just undo if it proves to be a huge PITA. I'd rather not though.

Perhaps also worth a separate ticket for db? Also reminds me that we should test it in the standard release-blockers, because it isn't there right now so I didn't notice that it broke before pushing staging 😄

Sure, I'll take a look and file something against db a bit later.

Thanks! Feel free to come hang out in ##nix-darwin on freenode too.

I found some related stuff https://community.oracle.com/thread/3952592 . The error at the bottom of this also looks like what I'm seeing: https://lists.freebsd.org/pipermail/freebsd-ports/2013-July/085046.html

Yikes. Oracle.

Anyway, I poked at it a bit and couldn't make any obvious headway. Would appreciate you or anyone else taking a look. In the meantime, we could hack around it and make more things build by changing db/generic.nix to default cxxSupport to off on Darwin, but I'd rather fix this the right way if we can avoid hackery.

Oddly enough, nix-build -E "let pkgs = import ./. {}; in pkgs.db.override { stdenv = pkgs.llvmPackages_38.stdenv; }" didn't give any trouble on linux, so it seems somewhat specific to darwin, but none of the headers involved in the error are system headers that my stdenv changes would really affect. So basically I'm not sure what's going on but I haven't really looked that deeply either.

I haven't looked carefully yet but it sounds like a major change to db as it involves C++ namespaces. I will take a closer look, but it might not be feasible to fix.
Would the cxxSupport change you mentioned use gcc to compile db rather than clang?
(I'm sorry for the noise in this thread, it's clearly unrelated to libiconv and we should probably move it to a new issue.)

So I don't think the libiconv issue is completely fixed in staging. I'm running into these ghc bootstrapping failures:
http://hydra.nixos.org/build/40406993
except on macOS 10.12, rather than whatever hydra is running.
Here's a question: as far as I understand it, Darwin stdenv goes out of its way to use Apple's libiconv source, but someow Nix ends up with a different list of global symbols in its libiconv than Apple's provided libiconv. Why is that?
 nm -gU /usr/lib/libiconv.2.dylib
00000000000f2d80 S ___iconv_2VersionNumber
00000000000f2d50 S ___iconv_2VersionString
00000000000f4750 D __libiconv_version
0000000000001c80 T _aliases2_lookup
0000000000001ae5 T _aliases_lookup
0000000000003174 T _iconv
00000000000034b7 T _iconv_canonicalize
0000000000003196 T _iconv_close
0000000000001cdd T _iconv_open
00000000000031a3 T _iconvctl
00000000000032ac T _iconvlist
0000000000015f0d T _libiconv_relocate
0000000000015e54 T _libiconv_set_relocation_prefix
0000000000015ab3 T _locale_charset
000000000000153e T _utf8_decodestr
00000000000011f8 T _utf8_encodestr
00000000000f4730 D _utf_extrabytes

 nm -gU /nix/store/5h0xi7cz5yrf9904jfv1ss54c1gsyzcg-libiconv-osx-10.11.6/lib/libiconv.2.dylib
00000000000e3220 D __libiconv_version
0000000000002800 T _iconv
0000000000002b40 T _iconv_canonicalize
0000000000002830 T _iconv_close
0000000000001320 T _iconv_open
0000000000002840 T _iconvctl
0000000000002950 T _iconvlist
0000000000014690 T _libiconv_set_relocation_prefix

The Apple-provided libiconv shown above is from my 10.12 system and I understand the 10.12 libiconv source isn't available yet, but the same symbol names are exported from the Apple-provided libiconv on 10.11.6, so nothing has changed in this regard.

In my local fork, I ended up hacking @kirelagin's stub fix back into the libiconv recipe and that is allowing me to make progress in my build (though now I'm running into other issues). Until someone more knowledgeable can look into why libiconv in staging is missing the locale and UTF-8 symbols, I suggest we put that hack back in. Anything that tries to use them (e.g., Haskell doctests) won't build in staging as-is.

I'm traveling until Sunday, then I should be able to deal with all this stuff and answer actual questions. Sorry!

Please don't close this issue. It's not resolved.

This has been fixed by 77d1fb94f18bc5a8cbc72f0ab8da1a28df1752f5.

I can confirm that building and running haskell programs from 77d1fb9 works.

Closing, thanks!


cmp.complete() empty vsnip

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
  silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
  execute 'source ' . data_dir . '/autoload/plug.vim'
endif

call plug#begin()
" Completion
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/vim-vsnip-integ'
Plug 'rafamadriz/friendly-snippets'
call plug#end()

if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
	echom 'Some modules are missing, running :PlugInstall'
	PlugInstall --sync
endif

lua <<EOF
local cmp = require('cmp')

cmp.setup{
	mapping = {
		['<C-Space>'] = cmp.mapping.complete({
			config = {
				sources = {
					{ name = 'vsnip' },
				}
			}
		}),
	},
	sources = {
		{ name = 'vsnip' },
		{ name = 'buffer' },
	}
}
EOF

Description
cmp.complete() does not work with vsnip/friendly-snippets
Steps to reproduce
Press Ctrl-Space in any file for which friendly snippets exists.
Expected behavior
Completion menu is shown
Actual behavior
Completion menu is not shown
Additional context
If I do not provide config argument to cmp.complete(), then a completion menu is shown, but only with buffer as a source. Completion for snippets are still missing on Ctrl-Space key press

For anyone who has a similar issue (ctrl-space not working when trying to trigger completion) I would recommend checking that your keyboard/terminal app/whatever in the input chain to vim  is actually sending the input (ctrl-space) you think it is - particularly if you're on MacOs!
I questioned if my terminal app (iterm2) wasn't sending ctrl-Space through properly, so on iterm2 I turned on raw key reporting mode:

that showed me that space bar wouldn't register any input when ctrl was pressed at the same time
I then stumbled across this article which says that apparently a default system shortcut was made a while ago in macos that uses the ctrl-space combination
https://apple.stackexchange.com/a/351058
deselecting this shortcut like so solved my problem:


DropdownListFromEnum not usable

I'm trying to use DropdownListFromEnum (note it's not the "for"), and I can't figure out a way to specify what enum the dropdown should use. I've tried using the <type> argument (i.e. @(f.FormGroup().DropdownListForEnum<myEnumType>("fieldName")) but an error is thrown. I don't see an extension method to specify an enum either. Please either update the documentation to show how to use this helper, or allow it to accept a type argument like CheckBoxes/RadioButtons. Thanks!

I'm having the same issue. Shouldn't this have a DropDownListFromEnum<TEnum>, like the other similar methods like CheckBoxesFromEnum<TEnum>?
I don't have this property in my model but I need to show a DropDown that will be handled when posted.

This is now supported with the same syntax as for ``:
@(Html.Bootstrap().DropDownListFromEnum<MyEnum>("myProperty"))

PS: Make sure MyEnum is resolved with appropriate using statement.


Menus: Incorporate hamburger menu in web view component

As a Platform.Bible extension developer, I want to be able to add menus to my webviews and contribute to extensible points in platform-provided menus.

Depends on #707
The purpose of this ticket is to incorporate the grid menu component (multi-column, hamburger menu) with the web view component so that web views can show their menus consistently.

Need this PR to be reviewed.

Test Repos steps.

Updated menus.json in the contribution folder with the following.

{
  "mainMenu": {
    "columns": {},
    "groups": {},
    "items": [
      {
        "label": "%mainMenu_openPAPIMenuTestScreen%",
        "localizeNotes": "Application main menu > Project > Open PAPI Menu TestScreen",
        "group": "platform.projectResources",
        "order": -1000,
        "command": "paratextExtensionTest.openPAPIMenuTestScreen"
      }
    ]
  },
  "defaultWebViewTopMenu": {
    "columns": {},
    "groups": {},
    "items": []
  },
  "defaultWebViewContextMenu": {
    "groups": {},
    "items": []
  },
  "webViewMenus": {
    "paranextExtTesting.react": {
      "includeDefaults": true,
      "topMenu": {
        "columns": {
          "paranextExtTesting.results": {
            "label": "%webView_paranextExtTesting_results%",
            "order": 4
          }
        },
        "groups": {
          "paranextExtTesting.resultsTop": {
            "column": "paranextExtTesting.results",
            "order": 1
          }
        },
        "items": [
          {
            "label": "%webView_paranextExtTesting_results_pass%",
            "group": "paranextExtTesting.resultsTop",
            "order": 1,
            "command": "papiMenuTest.resultsPass"
          },
          {
            "label": "%webView_paranextExtTesting_results_fail%",
            "group": "paranextExtTesting.resultsTop",
            "order": 2,
            "command": "papiMenuTest.resultsFail"
          }
        ]
      },
      "contextMenu": {
        "groups": {},
        "items": []
      }
    },
    "paranextExtTesting.react2": {
      "includeDefaults": false,
      "topMenu": {
        "columns": {
          "paranextExtTesting.results": {
            "label": "%webView_paranextExtTesting_results%",
            "order": 1
          }
        },
        "groups": {
          "paranextExtTesting.resultsTop": {
            "column": "paranextExtTesting.results",
            "order": 1
          }
        },
        "items": [
          {
            "label": "%webView_paranextExtTesting_results_pass%",
            "group": "paranextExtTesting.resultsTop",
            "order": 1,
            "command": "papiMenuTest.resultsPass"
          },
          {
            "label": "%webView_paranextExtTesting_results_fail%",
            "group": "paranextExtTesting.resultsTop",
            "order": 2,
            "command": "papiMenuTest.resultsFail"
          }
        ]
      },
      "contextMenu": {
        "groups": {},
        "items": []
      }
    }
  }
}

Updated the localizedStrings.json with the following

{
  "metadata": {},
  "localizedStrings": {
    "en": {
      "%mainMenu_openPAPIMenuTestScreen%": "Open PAPI Menu TestScreen",
      "%webView_paranextExtTesting_results%": "Test Results",
      "%webView_paranextExtTesting_results_pass%": "Pass",
      "%webView_paranextExtTesting_results_fail%": "Fail"
    }
  }
}

In the main.ts made sure to match the wenviewType to match with the webviewMenus name.
Confirm that webmenus are displayed appropriately on the Settings Test Tab and Papi Menu Test Tab


Determine terminal screen size

It would be convenient to have a mechanism that reports the terminal screen size (number of rows and columns).

See this approach: https://stackoverflow.com/questions/35688348/how-do-i-determine-size-of-ansi-terminal
In the current ansi-terminal API, setCursorPosition moves the cursor (0-based) and getCursorPosition0 attempts to get the reported cursor position (also 0-based).


Extra unlabelled toggle in Climate UI

Region and Brand of car
EU/UK, Kia (Niro EV)
Version of the integration
Latest/Not sure how to find in UI.
Describe the bug
There appears to be an extra unlabelled toggle in the Start Climate options between the Defrost checkbox and the Heating section. I suspect it might be to enable Heating, however from memory it doesn't need to be on if a "on" radio option is selected below.
Debug logs if an error occurred
N/A
To Reproduce
Call Climate On Service UI
Expected behavior
Labelled or clearer toggle purpose.
Screenshots

Additional context

The check mark puts defrost into the YAML.   The toggle turns it on or off.
This is a home assistant gui thing.   Not if I can improve it.  All our items have that.  Check out seats as well.


Appears to not work on LBF 3.3.0

When I enabled the addon, I went to it's usual tab and this shows even though the site is running.

After the sites were started I thought maybe I would disable the addon and relaunch (leaving them running) and re-enable and restart again, to find the above.


feature: add option to not install commands by default

Did you check the docs?

[X] I have read all the todo-comments.nvim docs

Is your feature request related to a problem? Please describe.
I like having fine grain control of commands list.
Describe the solution you'd like
I'd like to remove the default commands, which are provided by plugins/todo.vim.
Describe alternatives you've considered
Not using todo-comment? Not sure what to put here but github won't let me submit unless I put something here...
Additional context
I can provide a PR that would add a vim option that is checked before adding commands, so others can disable built in commands.

Sorry, but no


removeElement doesn't remove all elements

Something weird here happening....
I use ajax to load items on a second board when I click on an item in the first board...all fine....
For the next click in the first board I use getBoardElements(id) and walk through the array to remove all items with removeElement()....like:
	      var allEle = kanban1.getBoardElements("_working"); 	      console.log("Number of elements: " + allEle.length); 	      allEle.forEach(function(item, index) { 	        kanban1.removeElement(item); 		    console.log('Removed...', item); 	      });
In the console the number of elements is logged correctly in my test as 8....but the iteration is only run 4 times...so leaving back 4 items not being deleted...
From the 8 items before on the second board all even number positions were deleted...so leaving back position 1, 3, 5 and 7....

Some further testing showed:
When a board contains 8 items....

delete removes half of them, leaving 4 items
delete removes again half of them, leaving 2 items
delete again only deletes half, leaving 1 item
delete removes the last one...

Hello @richardklingler, thank you for using jKanban. Can you provide a jsfiddle so we can test it out? I'm seeing everything fine at latest version here in my machine.


demo error

Hi Author,
When I run the python gen_t2m.py --gpu_id 2 --ext exp1 --text_prompt "A person is running on a treadmill.", I meet the following error:
MovieWriter stderr:
[libopenh264 @ 0x55aad87a7f00] Incorrect library version loaded
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Traceback (most recent call last):
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 236, in saving
yield self
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 1177, in save
writer.grab_frame(**savefig_kwargs)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 357, in grab_frame
dpi=self.dpi, **savefig_kwargs)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/figure.py", line 3015, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2261, in print_figure
**kwargs)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1669, in wrapper
return func(*args, **kwargs)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 455, in print_raw
fh.write(renderer.buffer_rgba())
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gen_t2m.py", line 258, in
plot_3d_motion(ik_save_path, kinematic_chain, ik_joint, title=caption, fps=20)
File "/home/shilei/projects/momask-codes/utils/plot_script.py", line 411, in plot_3d_motion
ani.save(save_path, fps=fps)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 1177, in save
writer.grab_frame(**savefig_kwargs)
File "/opt/conda/envs/momask/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 238, in saving
self.finish()
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 347, in finish
self._cleanup()  # Inline _cleanup() once cleanup() is removed.
File "/opt/conda/envs/momask/lib/python3.7/site-packages/matplotlib/animation.py", line 379, in _cleanup
self._proc.returncode, self._proc.args, out, err)
subprocess.CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '1000x1000', '-pix_fmt', 'rgba', '-r', '20', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-y', './generation/exp1/animations/0/sample0_repeat0_len196_ik.mp4']' returned non-zero exit status 1.
Any suggestions?

i have the same problem. how do you solve this？

hello! Do you know how to solve this issue?


create lanelet map with UAV imagery

Hi,
thanks for your work, really awesome. I found that you made lanelet map using satellite imagery. I am wondering if I could use UAV imagery to make lanelet map, as UAV imagery has higher resolution. Looking for your answer.

You can use whatever kind of imagery you like. You just have to make JOSM display it if you want to to do the labelling of the map in there.

I can recommend piclayer: https://wiki.openstreetmap.org/wiki/JOSM/Plugins/PicLayer


Skip options table thread test on libuv < 1.26.0

Fixes #473

Closing in favor of #476 which is a more comprehensive fix.


Custom fields added as an extra field in the code are not visible in the Slf4j Logs

We are using spring sleuth documentation to add the custom fields and we want to propagate them in the logs.
https://docs.spring.io/spring-cloud-sleuth/docs/current-SNAPSHOT/reference/html/howto.html#how-to-change-context-propagation
We have used precisely the same configuration present in the example documentation. From the log traces, we can see that the traceId is populated with the custom field we have sent in the header but that custom field is not propagated in the logs. We have tried to add those custom fields in the extra part of the TraceContext.
Code
@Override
  public List<String> keys() {
    return Arrays.asList("myCustomTraceId", "myCustomSpanId", "xTransactionId");
  }

  @Override
  public <R> TraceContext.Injector<R> injector(Setter<R, String> setter) {
    return (traceContext, request) -> {
      setter.put(request, "myCustomTraceId", traceContext.traceIdString());
      setter.put(request, "myCustomSpanId", traceContext.spanIdString());
      setter.put(request, "xTransactionId", traceContext.traceIdString());
    };
  }

  @Override
  public <R> TraceContext.Extractor<R> extractor(Getter<R, String> getter) {
    Map<String, String> transactionId= Map.of("xTransactionId", "transactionId");
    return request -> TraceContextOrSamplingFlags.create(TraceContext.newBuilder()
      .traceId(HexCodec.lowerHexToUnsignedLong(getter.get(request, "myCustomTraceId")))
      .spanId(HexCodec.lowerHexToUnsignedLong(getter.get(request, "myCustomSpanId")))
      .addExtra(transactionId)
      .build());
  }

Sample Request
url --location --request GET 'localhost:8080/v1/dummyRequest/1' \
--header 'accept: application/json' \
--header 'X-Client: someclient' \
--header 'X-Transaction-Id: 46938950-4e53-4396-9b1f-2b03b9c98e6b' \
--header 'myCustomTraceId: 33333' \
--header 'myCustomSpanId: 4444' \

Logs
{
    "origin": "remote",
    "type": "request",
    "correlation": "94f5fbc6a3fb60c2",
    "protocol": "HTTP/1.1",
    "remote": "0:0:0:0:0:0:0:1",
    "method": "GET",
    "uri": "http://localhost:8083/v1/productOrder/1",
    "host": "localhost",
    "path": "/v1/dummyRequest/1",
    "scheme": "http",
    "port": "8080",
    "headers": {
        "accept": [
            "application/json"
        ],
        "accept-encoding": [
            "gzip, deflate, br"
        ],
        "connection": [
            "keep-alive"
        ],
        "cookie": [
            "JSESSIONID=39CD8D649AA7B9259D15A611D988434A"
        ],
        "host": [
            "localhost:8080"
        ],
        "mycustomspanid": [
            "4444"
        ],
        "mycustomtraceid": [
            "33333"
        ],
        "postman-token": [
            "be2a5cd7-93f2-4c70-b2e6-3b4e637b971e"
        ],
        "user-agent": [
            "PostmanRuntime/7.29.0"
        ],
        "x-client": [
            "someclient"
        ],
        "x-transaction-id": [
            "46938950-4e53-4396-9b1f-2b03b9c98e6b"
        ]
    }
} ## (traceId=0000000000033333, spanId=b38ad05e8bf420ac)

Can you please help us, how can we propagate our own fields directly in the code and print them in the logs as well?
Spring boot version: 2.6.7
Sleuth version: 3.1.2

Why should it get automatically propagated? The provided doc entry shows how to propagate context not how to inject it into the logs.
I think you should treat it as a correlation field (https://docs.spring.io/spring-cloud-sleuth/docs/current-SNAPSHOT/reference/html/project-features.html#features-baggage) and then it should automatically get dumped into the logs as an MDC entry.


Fetching patient record - non program visit

Fetching patient record(observation, diagnostic report, medication, condition) from OpenMRS and EMR for non-program visits.
https://trello.com/c/ZZ0fWZGx/58-patient-record-data-transfer

We will move this to an OMOD.


Add simplification of long if based on tip from @jonmv.

@jonmv PR

Do you have any idea why we're considering all these FFFE and FFFF values invalid, though?

I have no idea. I assume someone has read some formal specs. There are some links in the code.


Netlify preview is not updated for some PRs

This is a Bug Report

Problem: Netlify preview is not updated for some PRs
It seems to only affect PRs opened against the dev-1.27 branch, but the scope might be bigger, not sure.
Example PRs affected:

https://github.com/kubernetes/website/pull/39809 (here there is netifly comment, but stale from 2 weeks back, but there were commits later. The first comment with preview was generated when the PR was opened against the main branch, once I changed the branch to be dev-1.27 the preview stopped to generate).
https://github.com/kubernetes/website/pull/39110
https://github.com/kubernetes/website/pull/40176
https://github.com/kubernetes/website/pull/40098

/sig docs

FYI @kubernetes/sig-docs-leads @mickeyboxell

@reylejano I believe this is what we discussed yesterday and that I don't have permissions to make the change myself
/sig docs

I've updated Netlify's vnext staging to point to the dev-1.27 branch, this should be fixed momentarily

Thanks @reylejano, I'll test it out.


Debian init script should depend on networking, resolution and syslog

I've had these changes sitting out in a branch for a while and have been meaning to submit them back.
I noticed we had issues with Consul starting in the wrong order on our systems - primarily because we were using syslog for logging and the syslog daemon hadn't been started by the time Debian had decided to start Consul.

Thanks!


DOM game object is disappeared in full screen mode

Version

Phaser Version: 3.55.2

Operating system: win11

Browser: chrome, firefox

Description
See this test code

Click text Full screen to toggle full screen mode
In full screen mode, dom game object is disappeared

Yes, you can only full-screen one DOM element, so ideally you should full screen the parent container I guess.

Got it. Test code fixed.


Glow stops working through walls after server/map change

Fedoraware Version Date: Jul 19 2022
Description:
Glow works completely fine at first launch but after a server/map change, it stops becoming visible when obscured.
Steps to reproduce:

[x] I am able to consistently reproduce this error

Steps to reproduce the behavior:

Change map/server.

[x] I have included the steps to reproduce to the best I am able to share.

YES PLZ FIX THIS..

Does this still happen?


Add pytz to package dependencies

Fixes #32

Are you planning on doing a follow-up PR to remove the code that handles pytz not existing? this and this
Without that, I don't think we can call #32 fixed

Are you planning on doing a follow-up PR to remove the code that handles pytz not existing? this and this
Without that, I don't think we can call #32 fixed


Career Coach - Screenshot update and content edits

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@cichur PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@HowlinWolf-92, there appears to be a conflict now that another PR has been merged, but I don't permission to resolve the conflict. Both changes should be kept.

@jasonjgeiger I don't understand the underlines in your addition such as this one:

sections are required

What's that about?


Premium name bidding 24 hour rule should only apply to top bid.

Premium bidnames are not moving due to the rules of the algorithm of ANY bid within 24 hours.
Currently the top bid for ex domain name has been stuck at 6050 for many weeks.  A bid on some insignificant name of only 0.0001 EOS can hold up the auction indefinitely.
I propose for bidnames to be released once the TOP bid has not been changed for 24 hours.  It should not be related to bids on any other names except the top bid.  It should only focus on the top name.
For example, .ex should be released immediately since no new bids for well over 24 hours.  Then the bidding should wait until the next 24 hours and release the next top bid and so on.

This was fixed over a month ago. BPs haven’t deployed it yet.


log something more obvious when you log a Buffer

When I console.log the req.body I get the following returned:
[Object { "binarySlice" : function binarySlice() { [native code] }, "asciiSlice" : function asciiSlice() { [native code] }, "base64Slice" : function base64Slice() { [native code] }, "ucs2Slice" : function ucs2Slice() { [native code] }, "hexSlice" : functi
Maybe you could return something more useful.
This issue created by request on Slack:
https://arangodb-community.slack.com/archives/C1QKPLEEP/p1502119212714438

Will be fixed once the above PR is fixed. That potentially means release 3.2.2

ArangoDB 3.2.2 containing this bugfix is available for download - thanks for reporting.
Closing.


Can  gpt-3.5-turbo  be supported?

Hi @chrislemke,
It's awesome, I'll try this beta version, and give you feedback if necessary.


Default instance size of t3.micro crashed for me on stack with only 40 objects

I recommend you change that default to larger.

For the reocrd, that was discussed and resolved offline. Closing this issue.


An import map is added after module script load was triggered.

import maps to be over ride
<script type="overridable-importmap">
    {
      "imports": {
        "imlib2": "http://localhost:3001/imlib2.js",
      }
    }
  </script>

   <script src="./src-import-map-overrides/dist/import-map-overrides.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/systemjs/dist/system.js"></script>
  <script type="module" src="/test.js"></script>

test.js
import lib2 from "imlib2";

console.log("lib2 ======== native dev runner==========", lib2);

Error in the browser
js-api.js:455 An import map is added after module script load was triggered.
Uncaught TypeError: Failed to resolve module specifier "imlib2". Relative references must start with either "/", "./", or "../".

Implementation
As expected new import map block is added ie:
<script type="importmap">
    {
      "imports": {
        "imlib2": "http://localhost:3001/imlib2.js",
      }
    }
  </script>

Issue:

imlib2 is not fetched on reload
module could not be resolved

Did you fix the issue?

No answer since August 22. Closing it.
@neroze: please, feel free to further comment on the issue if you still need help.


Ability to set values in desired capabilities json and browser stack json via env variable

Is your feature request related to a problem? Please describe.

Currently, we have to enter credentials of browser stack in codebase which is not considered a good practice. We should ideally be able to pass it via env variables from CI job where it can be masked.
In browser stack, we need to upload the app and use the app url in desired capabilities. Same is applicable if we are using other apps which needs to be installed for the app under test to work. The other apps also needs to be passed as app url in desired capability. Since the app url can change based on each build we need a way in which it can be passed as env variables
Describe the solution you'd like
Solution similar to how we are passing env variable on hosts.json

Describe alternatives you've considered
Have not considered any alternatives
Additional context

@radhakrishnan-mohan for the first one we have already I guess
Reference:ekam

@radhakrishnan-mohan For the second part, I think u can apply the same logic has done in the first partand create env variable for app URL in the desired capabilities, can u check once and update

@radhakrishnan-mohan update ekam->1.0.2 and check it


Removes deployment docs

Removes documentation about deployment:

This does not align with https://github.com/Avaiga/taipy-enterprise/issues/406, where a discussion should be done.

Closing this PR, I made a new one here: https://github.com/Avaiga/taipy-doc/pull/1035


Cyoa V1.5

I thought about the structure of my app since the first submission. I realized that having artists generate the graph might not be the best idea. In the restructured version of the app, graphs have their own model. I split the responsibilities of the artist model into the graph model in order to make the app more logical. I also added the ability to cache a graph of a given depth.
I also renamed the artists controller to graphs. This seems much more logical to me.
There are various other places that I refactored code too.
The app is a related artist graph generator using the spotify api. It is used to visualize the relationships between artists that spotify suggests are related. It can tend to be slow, because any given artist has 20 related artists. This means that graph generation grows exponentially W.R.T. depth.
There are some pictures of the app in the readme.

@mcdaniel67 @djkotowski This is a very good first iteration of the app. There are two things I'd like to see in your second iteration. The implementation of a user authentication system, such as Devise or Clearance. And second, a closer look at your tests. Let's chat next week about the tests, but I'm impressed on what the app does!


Autocomplete doesn't show field for aliased table

Description
Hi,
I don't know if it's a bug or a feature request 🙄
When I try to use an aliased subselect , DBeaver don't show fields list.
Exemple working on a simple table :

Exemple with sub select not working

Autocomplete doesn't seem to do anything ...
DBeaver Version
Community <IP_ADDRESS>309041200
Operating System
Win 10
Database and driver
Oracle 12c
Steps to reproduce
No response
Additional context
No response

Thank you for bug report. It's a known issue.
Closing as a duplicate of #7768


Some questions about Position-aware multi-head self-attentions.

Thanks for your impressive work!
It seems that you don't use residual connection here and use content query with positional embedding as values. Do you find it helpful for performance？

Oops this is a minor model bug here and we use query_content+pe as the input and the residual. But we should use query_content as the residual here. We used the former one through all experiments in the paper.
We have not yet experimented it with the latter form. Theoretically the latter form will have more potential expressing power since it is more flexible to following operations with regards to the problem whether it should incorporate PE into the content vector.

Thanks for your reply. Do you mean it is still proper to use query_content+pe as values in MultiHead Self-Attention? But, to the best of my knowledge, PE only is only added at queries and keys. I am not sure whether it is ok here.

Yes, but empirically. Experiments in our paper show strong results with query_content+pe as values. For only adding PE to queries and keys, I would say it is a preferred design choice in DETR-like models. In other models, like ViT, PE is also added to values.
But in my opinion, query_content_pe adding to only queries and keys will be a better choice in a theoretical view in this case (disclaimer: I have not tested with it yet due to limited GPUs 😢).

Thanks for your help（。＾▽＾）

你好，你的邮件付盛豪已经收到啦，会尽快处理哒~


Can not set public ip on an Microsoft Azure virtual machine

What is your Test Scenario?
I want to setup TestCafe on a Microsoft Azure VM, and allow tester to access remote server from local machine.
What is the Current behavior?
When I set host name to the public ip or DNS name, TestCafe can not start up. It will shows error below.
testcafe remote ./e2e/src/*.e2e.spec.ts --hostname xxx.eastus2.cloudapp.azure.com
Using locally installed version of TestCafe.
ERROR The specified "xxx.eastus2.cloudapp.azure.com" hostname cannot be resolved to the current machine.

Type "testcafe -h" for help.

What is the Expected behavior?
TestCafe can works on Azure VM.
The root cause is TestCafe check the hostname is valid or not in index.js file.
async function getValidHostname (hostname) {
    if (hostname) {
        const valid = await endpointUtils.isMyHostname(hostname);

        if (!valid)
            throw new GeneralError(MESSAGE.invalidHostname, hostname);
    }
    else
        hostname = endpointUtils.getIPAddress();

    return hostname;
}

But from Azure VM design, the hostname is not a DNS name.
What is your web application and your TestCafe test code?
Not applicable.
Steps to Reproduce:

Start a Azure VM (Ubuntu Server)
Execute testcafe remote ./e2e/src/*.e2e.spec.ts --hostname xxx.eastus2.cloudapp.azure.com
See the error...

Using locally installed version of TestCafe.
ERROR The specified "xxx.eastus2.cloudapp.azure.com" hostname cannot be resolved to the current machine.

Type "testcafe -h" for help.

Your Environment details:

testcafe version:                   0.20.1
node.js version:                    v8.10.0
command-line arguments:  testcafe remote ./e2e/src/*.e2e.spec.ts --hostname xxx.eastus2.cloudapp.azure.com
browser name and version: Not Applicable
platform and version:          Ubuntu 18.04.1 LTS
other:                                   None

I am trying a Windows OS on Azure today, and I found a workaround for TestCafe is that to set full DNS name to <IP_ADDRESS> on hosts file to avoid computer name check.
So that, I think this solution could also apply on Ubuntu OS, but I am not an expert on Linux OS. Maybe some Linux guys can also set this on Linux OS.

Thank you for your inquiry! I think that we already have a feature suggestion that covers your request: https://github.com/DevExpress/testcafe/issues/1886
Your workaround for Windows is brilliant. For Linux, you can use the hostname command to change the machine name and pass the hostname check:
hostname xxx.eastus2.cloudapp.azure.com
testcafe --hostname xxx.eastus2.cloudapp.azure.com ...


Update to latest TS 1.5.3

I think that latest TS broke typescript-register:
emitFiles is no longer defined on the checker:
var result = checker.emitFiles();

+1

I will try to take care of that issue in the nearest days if noone else is interested.

+1

@psmolinsky please note that the package is deprecated. Use ts-node instead.
You can find the deprecation notice in the README.

Thanks @ForNeVeR


Error updating Kraken2 GTDB Database with MAGs - MissingOutputException in rule kraken2_cp_to_tmp in file

Hi Nick,
I am encountering a problem when using snakemake to update my Kraken2 database. See the error bwlo.
Waiting at most 5 seconds for missing files.
MissingOutputException in rule kraken2_cp_to_tmp in file /workspace/pot/peterc/Equine/Struo2/bin/
Job 2  completed successfully, but some output files are missing. Missing files after 5 seconds. is the case, consider to increase the wait time with --latency-wait:
tmp/db_update_tmp/peterc/Struo2_112566273/db_update/kraken2/taxonomy/nodes.dmp
tmp/db_update_tmp/peterc/Struo2_112566273/db_update/kraken2/taxonomy/names.dmp
Removing output files of failed job kraken2_cp_to_tmp since they might be corrupted:
tmp/db_update_tmp/peterc/Struo2_112566273/db_update/kraken2/library, tmp/db_update_tmp/peterc/Str
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Pipeline failed! Creating report...
--- I/O info ---
tmp_dir: tmp/db_update_tmp/peterc/Struo2_112566273/
% used size: 82.1
% used inodes: 0.0
output_dir: /workspace/pot/peterc/Equine/Struo2/Output/
% used size: 82.1
% used inodes: 0.0
--- Summarizing job logs ---
2023-01-27 14:10:17,527 - Parsing log: /workspace/pot/peterc/Equine/Struo2/.snakemake/log/2023-01-27T133338.647415.snakemake.log
2023-01-27 14:10:17,873 - Cannot find qacct log: /var/lib/gridengine/default/common/accounting; Skipping
--- No email provided; not sending a notification ---
Complete log: .snakemake/log/2023-01-27T133338.647415.snakemake.log
I cant detect what the exact problem is. See attached the files associated with this. I am using the following command to run the pipeline:
snakemake --use-conda --cores 20 --configfile config-update.yaml
job_report.csv
config-update.txt
Sample_Table.txt
Your help is greatly appreciated.
Kind regards,
P

There was an error in the config file.
Saved databases that will be updated
kraken2_db:
library:  /workspace/pot/peterc/Equine/Struo2/custom_dbs
taxonomy: /workspace/pot/peterc/Equine/Struo2/custom_dbs
Should be:
kraken2_db:
library:  /workspace/pot/peterc/Equine/Struo2/custom_dbs/library
taxonomy: /workspace/pot/peterc/Equine/Struo2/custom_dbs/taxonomy
Many thanks


byondapi-sys does not generate the correct bindings when compiled on a windows-latest github runner

I'm trying to use CI to build a library that uses meowtonin, and when attempting to compile byondapi-sys on windows, I get this error.
error[E0432]: unresolved imports `byond_rawbind::ByondValueData`, `byond_rawbind::ByondValueType`, `byond_rawbind::CByondValue`, `byond_rawbind::CByondXYZ`
  --> C:\Users\runneradmin\.cargo\git\checkouts\meowtonin-89928191ead23361\2577841\crates\sys\src\lib.rs:60:56
   |
60 |     s1c, s2c, s4c, s8c, u1c, u2c, u4c, u4cOrPointer, u8c, ByondValueData, ByondValueType,
   |                                                           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `ByondValueType` in `byond_rawbind`
   |                                                           |
   |                                                           no `ByondValueData` in `byond_rawbind`
61 |     CByondValue, CByondXYZ,
   |     ^^^^^^^^^^^  ^^^^^^^^^ no `CByondXYZ` in `byond_rawbind`
   |     |
   |     no `CByondValue` in `byond_rawbind`

For more information about this error, try `rustc --explain E0432`.

Clearly this is a problem with bindgen not producing the correct artifact on. In my investigation, I had a runner upload the bindings.rs the build process did generate. This is what was generated.
/* automatically generated by rust-bindgen 0.69.1 */

pub const s1cMAX: u32 = 127;
pub const s1cMIN: i32 = -127;
pub const s2cMAX: u32 = 32767;
pub const s2cMIN: i32 = -32767;
pub const s4cMAX: u32 =<PHONE_NUMBER>;
pub const s4cMIN: i32 = -2147483647;
pub type u1c = ::std::os::raw::c_uchar;
pub type s1c = ::std::os::raw::c_schar;
pub type u2c = ::std::os::raw::c_ushort;
pub type s2c = ::std::os::raw::c_short;
pub type u4c = ::std::os::raw::c_ulong;
pub type s4c = ::std::os::raw::c_long;
pub type s8c = ::std::os::raw::c_longlong;
pub type u8c = ::std::os::raw::c_ulonglong;
#[repr(C)]
#[derive(Copy, Clone)]
pub union u4cOrPointer {
	pub num: u4c,
	pub ptr: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_u4cOrPointer() {
	const UNINIT: ::std::mem::MaybeUninit<u4cOrPointer> = ::std::mem::MaybeUninit::uninit();
	let ptr = UNINIT.as_ptr();
	assert_eq!(
		::std::mem::size_of::<u4cOrPointer>(),
		4usize,
		concat!("Size of: ", stringify!(u4cOrPointer))
	);
	assert_eq!(
		::std::mem::align_of::<u4cOrPointer>(),
		4usize,
		concat!("Alignment of ", stringify!(u4cOrPointer))
	);
	assert_eq!(
		unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize },
		0usize,
		concat!(
			"Offset of field: ",
			stringify!(u4cOrPointer),
			"::",
			stringify!(num)
		)
	);
	assert_eq!(
		unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize },
		0usize,
		concat!(
			"Offset of field: ",
			stringify!(u4cOrPointer),
			"::",
			stringify!(ptr)
		)
	);
}
impl Default for u4cOrPointer {
	fn default() -> Self {
		let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
		unsafe {
			::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
			s.assume_init()
		}
	}
}
extern crate libloading;
pub struct ByondApi {
	__library: ::libloading::Library,
}
impl ByondApi {
	pub unsafe fn new<P>(path: P) -> Result<Self, ::libloading::Error>
	where
		P: AsRef<::std::ffi::OsStr>,
	{
		let library = ::libloading::Library::new(path)?;
		Self::from_library(library)
	}
	pub unsafe fn from_library<L>(library: L) -> Result<Self, ::libloading::Error>
	where
		L: Into<::libloading::Library>,
	{
		let __library = library.into();
		Ok(ByondApi { __library })
	}
}

I have tried several different things, including defining WIN32 and _i386 in BINDGEN_EXTRA_CLANG_ARGS during the build process, none of which worked.

It was an issue with bindgen, which this package doesn't specify a dependency version of. End users should make sure that their package uses bindgen 0.69.2 or later.

@Y0SH1M4S73R bindgen = "0.69" means it will always use the latest minor release of 0.69 - that didn't occur here due to Cargo.lock being committed


Support file-scoped namespace

Fixes #80

Solution works and produces the no side effects.

Thanks for reporting the issue


Add Node guide

What kind of things would you want in the Node guide?

So this could be used to build a CLI tool (it will preserve shebangs) or even a lambda function. Probably want to just show off adding @types/node maybe?

And you'll want "moduleResolution": "node" in your tsconfig.json

@jaredpalmer I'd love to use tsdx to compile code for Lambda's, but think I'm missing something in that a yarn build doesn't include dependencies in the dist files.
I have a simple tsdx project here with 2 dependencies, but neither (aws-sdk and lodash/kebabCase) and neither are in the dist from a yarn build.
What am I missing to allow these dependencies to be in the build files so I could use this in a Lambda?

Found the answer in that UMD was disabled by default -- https://github.com/palmerhq/tsdx/commit/e81f5a6e44b1026e27030ac5fa1c21e0e09d22bf

Thought I found the answer, but even producing a UMD build does not bundle the dependencies.  I took a look at the rollup config and feel like it should work, but not certain what I'm missing.
Any help is appreciated.

@kevinold did you ever figure this out? just came to tsdx looking for a starter project to use for writing some lambdas

@cogell I did not find a solution

So I just dug into this because I also wanted to start using this for building lambda functions. I was able to initially make simple code, but as soon as you add dependencies it gets complicated.
There's a few limitations with the current implementation that make this difficult - namely around the rollup configuration.
Currently createRollupConfig.ts does the following:

Marks all imports as external if they are not relative / are absolute (seen here).

Rollup doesn't bundle external dependencies. It assumes they're available in the environment.

Only uses the commonjs rollup plugin if the umd format is used (seen here).

The commonjs plugin is needed because there's a chance your dependencies are not written in es6 and need to be converted so you can bundle them.

Both of these become an issue for this use case. Firstly we need all external dependencies bundled. Secondly a number of our bundles are probably not written in es6 and we'll need this conversion.
My work around is fairly simple, but there's potential implications I don't currently full understand:
Create a tsdx.config.js:
const commonjs = require('@rollup/plugin-commonjs');

module.exports = {
  rollup(config) {
    // Delete the external config property.
    // This essentially means we're allowing all packages to be bundled.
    delete config.external;

    // Manually use the commonjs plugin.
    // This is opposed to specifying umd as the format as there's more implications that, again, are unclear.
    config.plugins.push(commonjs());

    return config;
  },
};

This lets me specify the dist/index.js file as the lambda entry.
I want to either update the docs with this in mind, or completely rethink how this is handled using the guided installation. The latter would be a lot of work, but I think the benefits would be great.
I hope I covered everything I found, as I've been fighting this for a few hours.

@lpolito I looked into the warnings, and I'm pretty sure those you're getting are for Node built-ins. Which means they should be ignorable. If you'd like to silence them, you can configure commonjs to do so. Basically just uses the builtin-modules package as a safelist.
RE: UMD vs. CJS, I think you should be fined using UMD as it works for Node too (it is "universal"). I'm not 100% sure how it imports built-ins, but IIRC UMD will use the require function if it exists.


Add the ability to specify a regex to the constraint checker

The most-immediate use case is preventing floating point literals in FloatLab, but I'm sure I'll find another use for it, too.

I suppose we could create "prohibited" regexes and "excepted" regexes. Prohibited regexes would be flagged like any other constraint violation. Excepted regexes would prevent some other constraint violation from raising a flag -- for example, prohibit # except if it matches "#include\s*<stdio\.h>"


Should probably implement add, mul, etc. as objects that can be applied to one or more arguments.

As this example from here suggests:
[r] > circle
  mul 2 3.14 r > perimeter
  mul 3.14 r r > area

There are (at least) two approaches:

'xslt magic':
For example, the program

[r] > circle
  r.mul 2 3.14 > circumference

with XML representation
<o name="circle">
  <o name="r"/>
  <o base=".mul" name="circumference">
      <o base="r"/>
      <o base="int" data="int">2</o>
      <o base="float" data="float">3.14</o>
  </o>
</o>

is preprocessed to yield
<o name="circle">
  <o name="r"/>
  <o base=".mul" name="circumference">
      <o base=".mul"
          <o base="r"/>
          <o base="int" data="int">2</o>
      </o>
      <o base="float" data="float">3.14</o>
  </o>
</o>

and nothing is to be changed in python runtime.
Probably, this is an easier alternative, and the idea would be that addition/multiplication/conjunction/disjunction are binary operations and support of multiple arguments is rather syntactic sugar.

NumberOperation for .add and .mul (as well as yet non-existent .and and .or for Boolean) gets varargs (or some variation of it, for we would need to forbid 0 arguments) as input.
This approach seems to be another viable response to the mentioned example. Moreover, there exist other atoms that require varargs (e.g. Sprintf)


Bundle file save error

Describe the bug
I want to replace a shader in a large .bundle file,it's 8,247,569,151byte shown by windows.
As I import dump of the shader file and press save,error occurs.
Besides,when I open the bundle file and press "Save" or "Save as",nothing happens.
I also tried UABEANext,it has similar error as screenshot shown below.
I wonder if the file is too large that UABEA can't process it,are there any way to edit it?
To Reproduce
Steps to reproduce the behavior:
1.open the bundle file
2.click on “info”
3.choose the shader I want to replace
4.import dump
5.hit CTRL + S
6.error occurs
Expected behavior
the bundle file is correctly saved
Screenshots

Known limitation of the current way of writing. See https://github.com/nesrak1/UABEA/issues/274#issuecomment-2441555974 for the last time this was reported. Blocks can only be 4gb in size so for each 4gb, you need to add another block. Unfortunately, the block info appear before the new asset data (which hasn't been written yet) which makes it a chicken and egg problem when writing a bundle all in one go. Unity's solution is to write temporary files, but I'd like to not do that. UABE's solution is to guess the size but I don't have that set up.

Known limitation of the current way of writing. See #274 (comment) for the last time this was reported. Blocks can only be 4gb in size, so for each 4gb of new asset data, you need to add another block. Unfortunately, the block info appears before the new asset data (which hasn't been written yet) which makes it a chicken and egg problem when writing a bundle all in one go. Unity's solution is to write temporary files, but I'd like to not do that. UABE's solution is to guess the size but I don't have that set up.

So,it's impossible for UABEA to write such a huge bundle for now?

It is not possible right now, unless you patch assetstools to have a hardcoded number of blocks.

Ok,thanks a lot!
---Original---
From: @.>
Date: Sun, Dec 8, 2024 02:17 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [nesrak1/UABEA] Bundle file save error (Issue #396)
It is not possible right now, unless you patch assetstools to have a hardcoded number of blocks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


More ticdi changes

Make DB_TENURE_TYPE value camelcase
Updated addressBuilder utility function which was using legalName over first/middle/last name even when legalName was null
Major rework of the init db script, move items in sections 28 and 34 to section 27, remove duplicates where possible (there were many)
Disable provisions and selectedProvisions sorting on the nfr page as it would hide all provisions when clicked.
Update LUR page to display data properly
Update LUR routes including report generation route which was out of date
Add backend logic for NFR template section titles (Security, Insurance, Additional Requirements)
Misc. template formatting, bugfixes, and added variables for the section title logic (templates are not included in this PR)
Fix provision free text textarea on the Manage Templates screen not displaying previously added line breaks.

DEV deployments have completed successfully!
Backend available
Frontend available

Your Pull Request code is being promoted!  Please follow the link below.
Main Merge Workflow


Fix typo.

Fix a typo in the istio chart readme which causes annoying copy-and-paste errors.

Signed CLA

/lgtm


STARTUP TUNING: Further startup speedups

Is your feature request related to a problem?
Synchronous startup would ideally be faster for some types of apps (eg serverless functions)
Describe the solution you'd like
Speedup or spin into other threads anything on the synchronous startup path
Describe alternatives you've considered
See https://github.com/elastic/apm-agent-java/issues/2349
Additional context
The following shows a basic synchronous startup (at time of agent version 1.29.0, for an agent with no instrumentations applied) with time broken down into major sections and some some suggested possible improvements

Agent step
% time taken
Suggested improvement

from JVM initialization to ElasticApmAgent class initialization
12.27%
Can't improve

from class initialization to initialize()
1.23%
Can't improve

get config sources
1.23%
statically generate?

LoggingConfiguration.init
6.75%
Issue #2457

getLogger() - ie the rest of the logging framework initialization
20.25%
Issue #2457

setup default config registry
3.68%
statically generate?

new ApmServerClient
2.45%
Spin off to another thread?

new MetaData
0.92%
statically generate?

new ReporterFactory
2.15%
make lazy?

new ElasticApmTracer
1.53%
make lazy?

DependencyInjectingServiceLoader.load(LifecycleListener)
4.91%
statically generate?

DependencyInjectingServiceLoader.load(ElasticApmInstrumentation)
14.11%
statically generate?

new ByteBuddy
2.45%

new AgentBuilder
16.56%
Applying instrumentations, so only byte buddy can make this faster - but warmup can be speeded up?

applyAdvices
0.00%
dependent on instrumentation configured

agentBuilder.installOn (includes matching, applying advice, warmup)
7.36%
dependent on instrumentation configured

start tracer
2.15%
dependent on instrumentation configured

While #2472 does not increase the startup performance in the default configuration, it can be used to tune startup performance.


Add whitelist to Twilio Ubiquity Connector

Feature Request
We're going to want to expose some of our new chatbot work using the Twilio connector. As such we need to make sure it's secure. Since it's an incoming webhook we should add:

Origin verification to the webhook
Phone # white listing and black listing.

Un-tested, but in theory completed by 3eac059a1833acfd5668cc7cac68baf50be91549


Segmentation Fault on OpenGL branch.

Running Artix Linux with the OpenGL branch.
Appears to be a guifont issue, but I can't seem to get around it.
neovide returns:
Ignored client type property: "methods"
Ignored client type property: "attributes"
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/renderer/fonts/caching_shaper.rs:59:14

Noto fonts are installed.
I have tried set guifont=Inconsolata:h12, set guifont=Inconsolata\ Nerd\ Font:h12 and set guifont=Inconsolata\ Nerd\ Font\ Mono:h12 in my init.vim. All of which should be real fonts with the correct names as shown by fc-list | grep -i "inconsolata".

This segfault is referenced in the main opengl issue. closing as duplicate.


Milestone2

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@cfa487e). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 560bbe7 differs from pull request most recent head 2994a6d. Consider uploading reports for the commit 2994a6d to get more accurate results

@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage        ?   93.65%
=======================================
  Files           ?        2
  Lines           ?      189
  Branches        ?        0
=======================================
  Hits            ?      177
  Misses          ?       12
  Partials        ?        0

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 cfa487e...2994a6d. Read the comment docs.


Ensure that that the file version changes

Fixes to ensure that the file version changes in official builds. This was a constant earlier(<IP_ADDRESS>).

@AbhitejJohn,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Setting emptyView has side effect -> old empty view never gets removed

Setting a new empty view while the old one is still displayed has the side effect that the old empty view never gets removed.

This is due to calling removeFromSuperView on a view that is no longer referenced by the viewStateMachine, I will work on a fix as soon as I get some time.


Hello! Ranger noticed this as well. Just FYI, we also noticed that deleting a Website is comparably slow.


css- media-query max-scroll-y

This works atleast in chrome, but I have a hard time finding any documentaiton on this anywhere.
https://codepen.io/tomhodgins/pen/beEdpZ

This appears to be a feature of EQCSS.

Very helpful, thanks!
On Dec 23, 2017 17:46, "S. B. Tam"<EMAIL_ADDRESS>wrote:

This appears to be a feature of EQCSS http://elementqueries.com/.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Fyrd/caniuse/issues/3937#issuecomment-353736217, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAdnBfBZ9UJBaQjGndiMl24DGl7_wfbMks5tDS5MgaJpZM4RLsaC
.


Unable to reach CVAT running on AWS EC2 from outside

I am using the most recent docker-compose file to build images including cvat_proxy server which exposes port 8080 (0.2.0-503-gec2fa6e).
Containers are running successfully on EC2 server to which ELB is attached and checks health on port 8080. There are target group and security group in place as well that control traffic.
Docker-compose file is the same as the new default version with the only difference that "CVAT_HOST" was changed to ".amazonaws.com" from "localhost" (Previous AWS deployment instruction to create docker-compose.override.yml is not applicable to new docker-compose which runs CVAT on single port 8080)
Here are the runnings containers:

When I curl ELB DNS like "curl -ivk ELB_DNS" from inside the server, code 200 is returned as following meaning I can reach CVAT from inside:

But when I try to get to CVAT from outside, i.e., local machine, it fails with code 404. The following is the logs of nginx container:

The green highlighted line is the curl output from inside server (code 200) whereas the other ones are from outside associated with ELB with 404 code. Have tried CVAT_HOST with EC2 IP address, ELB DNS, ELB IP but none of them worked out to reach to CVAT login page.
Any ideas/suggestions are appreciated.
Here are the contents of my docker-compose.yml file:
services:
cvat_db:
container_name: cvat_db
image: postgres:10-alpine
networks:
default:
aliases:
- db
restart: always
environment:
POSTGRES_USER: root
POSTGRES_DB: cvat
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- cvat_db:/var/lib/postgresql/data
cvat_redis:
container_name: cvat_redis
image: redis:4.0-alpine
networks:
default:
aliases:
- redis
restart: always
cvat:
container_name: cvat
image: cvat
restart: always
depends_on:
- cvat_redis
- cvat_db
build:
context: .
args:
http_proxy:
https_proxy:
no_proxy:
socks_proxy:
TF_ANNOTATION: "no"
AUTO_SEGMENTATION: "no"
USER: "django"
DJANGO_CONFIGURATION: "production"
TZ: "Etc/UTC"
OPENVINO_TOOLKIT: "no"
environment:
DJANGO_MODWSGI_EXTRA_ARGS: ""
ALLOWED_HOSTS: '*'
volumes:
- cvat_data:/home/django/data
- cvat_keys:/home/django/keys
- cvat_logs:/home/django/logs
- cvat_models:/home/django/models
cvat_ui:
container_name: cvat_ui
restart: always
build:
context: .
args:
http_proxy:
https_proxy:
no_proxy:
socks_proxy:
dockerfile: Dockerfile.ui
networks:
  default:
    aliases:
      - ui
depends_on:
  - cvat

cvat_proxy:
container_name: cvat_proxy
image: nginx:stable-alpine
restart: always
depends_on:
- cvat
- cvat_ui
environment:
CVAT_HOST: .amazonaws.com
ports:
- "8080:80"
volumes:
- ./cvat_proxy/nginx.conf:/etc/nginx/nginx.conf:ro
- ./cvat_proxy/conf.d/cvat.conf.template:/etc/nginx/conf.d/cvat.conf.template:ro
command: /bin/sh -c "envsubst '$$CVAT_HOST' < /etc/nginx/conf.d/cvat.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
volumes:
cvat_db:
cvat_data:
cvat_keys:
cvat_logs:
cvat_models:

Hi, thanks for the report. At the moment I have no idea why proxy doesn't work properly with public ip or FQDN, let me some time to deploy CVAT aws and check it.

Hi MahdiEsf, I just deployed CVAT successfully on a cloud VM (not AWS though). I just follow the instruction in the installation guide by creating docker-compose.override.yml with this content:
version: "2.3"
services:
cvat_proxy:
environment:
CVAT_HOST: .example.com # change this to your server's FQDN or ip address
In your config, ".amazonaws.com" is not a FQDN. I guess that's the cause of the issue.

@nmanovic , I have found two issues with the deployment:

nginx proxy cannot work by default with long domain names (e.g. ec2-x-xx-xx-xxxx.us-east-2.compute.amazonaws.com). Need to specify a directive to resolve the issue. If you have the problem it is easy do diagnose. Just run docker logs cvat_proxy and you will see the recommendation from nginx.
When cvat-ui is complied there is a problem with memory consumed by nodejs. Some problems can be solved by use NODE_OPTIONS=--max_old_space_size=200 environment variable. But webpack consumes too much memory. It leads to "JavaScript heap out of memory" problem (https://github.com/webpack/webpack/issues/6389).

Our team will do the best to resolve the issue ASAP.


When I do compile k3s-arm64 binary it doesn't work

When I compile the k3s binary by myself,
build k3s
./scripts/download
./scripts/package

I get the binaries for k3s-arm64 from dist/artifacts/k3s-arm64,
deploy k3s
chmod +x k3s
cp k3s /usr/local/bin/
curl -o install.sh https://get.k3s.io
export INSTALL_K3S_SKIP_DOWNLOAD=true
./install.sh

go version go1.22.2 linux/arm64
k3s tag  :v1.30.1+k3s1
Environmental Info:
K3s Version:  v1.30.1+k3s1

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

Steps To Reproduce:

Installed K3s:

Expected behavior:

Actual behavior:

Additional context / logs:

Also, any reason why you are compiling K3s yourself? We publish arm64 releases.

It looks like it's starting, but runc is failing to start containers for some reason... what exactly did you change in k3s that caused you to need to rebuild it? I don't see that there's anything wrong with how you're installing or running it, so I suspect you've broken something else.

... why? Does k3s work properly if you download one of the binaries from our release page? If it does, then the problem is your build. If it does not, then the problem is your node.

I'm sorry, I can't help you debug why your specific build environment doesn't work.


chore: release 1.2.292

:robot: I have created a release *beep* *boop*
1.2.292 (2024-02-15)
Features

add --atomic, --timeout, --skip-dependencies-repo-refresh for "bundle apply" (b29c290)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.292 :sunflower:


flake: TestDeploymentCoordinator

Describe the bug
2022-12-15T15:11:39.0852488Z --- FAIL: TestDeploymentCoordinator (70.09s)
2022-12-15T15:11:39.0855832Z     kcp.go:127: shared kcp server will target configuration "/home/runner/work/kcp/kcp/.kcp/admin.kubeconfig"
2022-12-15T15:11:39.0859071Z     workspaces.go:196: Created organization workspace root:e2e-org-znfgz
2022-12-15T15:11:39.0863338Z     workspaces.go:126: Created root:universal workspace root:e2e-org-znfgz:synctargets
2022-12-15T15:11:39.0866448Z     workspaces.go:126: Created root:universal workspace root:e2e-org-znfgz:workload-1
2022-12-15T15:11:39.0871331Z     workspaces.go:126: Created root:universal workspace root:e2e-org-znfgz:workload-2
2022-12-15T15:11:39.0873940Z     util.go:112: Saving test artifacts for test "TestDeploymentCoordinator" under "/tmp/e2e/TestDeploymentCoordinator/3181476435".
2022-12-15T15:11:39.0879096Z     syncer.go:141: Configuring workspace root:e2e-org-znfgz:synctargets for syncing
2022-12-15T15:11:39.0886386Z     kubectl.go:59: running: KUBECONFIG=/tmp/e2e/TestDeploymentCoordinator/3181476435/artifacts/root_e2e-org-znfgz_synctargets.kubeconfig kubectl kcp workload sync east --syncer-image=kind.local/syncer-c2e3073d5026a8f7f2c47a50c16bdbec:a4d77b220ce934e4e12fb443b04f413e518272ebd263465dca7285428a404ec4 --output-file=- --qps=-1 --feature-gates=CustomResourceValidationExpressions=true --api-import-poll-interval=5s --downstream-namespace-clean-delay=2s
2022-12-15T15:11:39.0887729Z     kubectl.go:89: running: kubectl --kubeconfig /home/runner/work/kcp/kcp/.kcp/kind.kubeconfig apply -f -
2022-12-15T15:11:39.0888663Z     syncer.go:589: checking secret kcp-syncer-east-2fu92b3q/kcp-syncer-east-2fu92b3q for annotation kubernetes.io/service-account.name=kcp-syncer-east-2fu92b3q
2022-12-15T15:11:39.0889766Z     syncer.go:589: checking secret kcp-syncer-east-2fu92b3q/kcp-syncer-east-2fu92b3q-token for annotation kubernetes.io/service-account.name=kcp-syncer-east-2fu92b3q
2022-12-15T15:11:39.0890304Z     syncer.go:523: Cluster "east" is Ready
2022-12-15T15:11:39.0890860Z     syncer.go:141: Configuring workspace root:e2e-org-znfgz:synctargets for syncing
2022-12-15T15:11:39.0892748Z     kubectl.go:59: running: KUBECONFIG=/tmp/e2e/TestDeploymentCoordinator/3181476435/artifacts/root_e2e-org-znfgz_synctargets.kubeconfig kubectl kcp workload sync west --syncer-image=kind.local/syncer-c2e3073d5026a8f7f2c47a50c16bdbec:a4d77b220ce934e4e12fb443b04f413e518272ebd263465dca7285428a404ec4 --output-file=- --qps=-1 --feature-gates=CustomResourceValidationExpressions=true --api-import-poll-interval=5s --downstream-namespace-clean-delay=2s
2022-12-15T15:11:39.0893943Z     kubectl.go:89: running: kubectl --kubeconfig /home/runner/work/kcp/kcp/.kcp/kind.kubeconfig apply -f -
2022-12-15T15:11:39.0895020Z     syncer.go:589: checking secret kcp-syncer-west-2vca45dr/kcp-syncer-west-2vca45dr for annotation kubernetes.io/service-account.name=kcp-syncer-west-2vca45dr
2022-12-15T15:11:39.0896034Z     syncer.go:589: checking secret kcp-syncer-west-2vca45dr/kcp-syncer-west-2vca45dr-token for annotation kubernetes.io/service-account.name=kcp-syncer-west-2vca45dr
2022-12-15T15:11:39.0896775Z     syncer.go:523: Cluster "west" is Ready
2022-12-15T15:11:39.0898211Z     syncer.go:523: Cluster "east" is Ready
2022-12-15T15:11:39.0898651Z     syncer.go:523: Cluster "west" is Ready
2022-12-15T15:11:39.0899109Z     deployment_coordinator_test.go:114: Create 2 locations, one for each SyncTargets
2022-12-15T15:11:39.0899864Z     deployment_coordinator_test.go:118: Bind workload workspace 1 to location workspace for the east location
2022-12-15T15:11:39.0900654Z     bind.go:59: Bind workload workspace root:e2e-org-znfgz:synctargets
2022-12-15T15:11:39.0901894Z     kubectl.go:59: running: KUBECONFIG=/tmp/e2e/TestDeploymentCoordinator/3181476435/artifacts/root_e2e-org-znfgz_workload-1.kubeconfig kubectl kcp bind compute root:e2e-org-znfgz:synctargets --location-selectors=region=east
2022-12-15T15:11:39.0979765Z     deployment_coordinator_test.go:126: Bind workload workspace 2 to location workspace for the east location
2022-12-15T15:11:39.0985417Z     bind.go:59: Bind workload workspace root:e2e-org-znfgz:synctargets
2022-12-15T15:11:39.0987934Z     kubectl.go:59: running: KUBECONFIG=/tmp/e2e/TestDeploymentCoordinator/3181476435/artifacts/root_e2e-org-znfgz_workload-2.kubeconfig kubectl kcp bind compute root:e2e-org-znfgz:synctargets --location-selectors=region=east
2022-12-15T15:11:39.1009918Z     deployment_coordinator_test.go:134: Bind workload workspace 1 to location workspace for the west location
2022-12-15T15:11:39.1012365Z     bind.go:59: Bind workload workspace root:e2e-org-znfgz:synctargets
2022-12-15T15:11:39.1016632Z     kubectl.go:59: running: KUBECONFIG=/tmp/e2e/TestDeploymentCoordinator/3181476435/artifacts/root_e2e-org-znfgz_workload-1.kubeconfig kubectl kcp bind compute root:e2e-org-znfgz:synctargets --location-selectors=region=west
2022-12-15T15:11:39.1064738Z     deployment_coordinator_test.go:142: Bind workload workspace 2 to location workspace for the west location
2022-12-15T15:11:39.1065587Z     bind.go:59: Bind workload workspace root:e2e-org-znfgz:synctargets
2022-12-15T15:11:39.1066882Z     kubectl.go:59: running: KUBECONFIG=/tmp/e2e/TestDeploymentCoordinator/3181476435/artifacts/root_e2e-org-znfgz_workload-2.kubeconfig kubectl kcp bind compute root:e2e-org-znfgz:synctargets --location-selectors=region=west
2022-12-15T15:11:39.1067712Z     deployment_coordinator_test.go:150: Get the root compute APIExport Virtual Workspace URL
2022-12-15T15:11:39.1068262Z     deployment_coordinator_test.go:159: Start the Deployment controller
2022-12-15T15:11:39.1085078Z     accessory.go:76: running: /home/runner/work/kcp/kcp/bin/deployment-coordinator --kubeconfig=/home/runner/work/kcp/kcp/.kcp/admin.kubeconfig --context=base --server=https://<IP_ADDRESS>:6444/services/apiexport/root:compute/kubernetes
2022-12-15T15:11:39.1086235Z     deployment_coordinator_test.go:213: Create workload in workload workspace "root:e2e-org-znfgz:workload-1", with replicas set to 4
2022-12-15T15:11:39.1087208Z     deployment_coordinator_test.go:226: Wait for the workload in workspace "root:e2e-org-znfgz:workload-1" to be started and available with 4 replicas
2022-12-15T15:11:39.1088337Z     assertions.go:1691: Waiting for condition, but got: Deployment root:e2e-org-znfgz:workload-1/test should have been prepared for transformation by the coordinator for the east syncTarget
2022-12-15T15:11:39.1088919Z     deployment_coordinator_test.go:230:
2022-12-15T15:11:39.1089328Z         	Error Trace:	util.go:297
2022-12-15T15:11:39.1090045Z         	            				deployment_coordinator_test.go:230
2022-12-15T15:11:39.1090974Z         	            				deployment_coordinator_test.go:261
2022-12-15T15:11:39.1091485Z         	Error:      	Condition never satisfied
2022-12-15T15:11:39.1091905Z         	Test:       	TestDeploymentCoordinator
2022-12-15T15:11:39.1092577Z         	Messages:   	deployment root:e2e-org-znfgz:workload-1/test was not synced
2022-12-15T15:11:39.1093150Z     accessory.go:68: cleanup: ending `deployment-coordinator`

Steps To Reproduce
Mostly reproducible in some github actions
Expected Behaviour
Test should not flake
Additional Context
No response

Don't know if this is a red herring or not - just starting to triage - but seeing this for the deployment that didn't get configured correctly in the kcp server log:
E1220 22:08:40.882442    9017 resource_controller.go:340] "error getting object from indexer" err="deployments.apps \"test\" not found" component="kcp" reconciler="kcp-workload-resource-scheduler" key="deployments.v1.apps::wdmk4ae9fzsxzgxl|default/test" gvr="deployments.v1.apps" objectKey="wdmk4ae9fzsxzgxl|default/test"
E1220 22:08:40.882451    9017 resource_controller.go:302] "kcp-workload-resource-scheduler" controller failed to sync "deployments.v1.apps::wdmk4ae9fzsxzgxl|default/test", err: deployments.apps "test" not found

After the merge of PR #2555, it seems clear, from the failing test output, the in some cases deployments are not exposed on the URL of the root:compute:kubernetes APIExport.
See here for an example: https://github.com/kcp-dev/kcp/actions/runs/3850469342/jobs/6560689714#step:7:432
    deployment_coordinator_test.go:152: Get the root compute APIExport Virtual Workspace URL
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    deployment_coordinator_test.go:169: Checking deployment access through a list
    assertions.go:1691: Waiting for condition, but got: deployments should be exposed by the root compute APIExport URL. But listing deployments produced the following error: the server could not find the requested resource (get deployments.apps)

Maybe creating a dedicated test (to be run on both kind and non-kind suites), with only a try to access the root compute resources would be interesting.


Toggle off state looks same as disabled.

I noticed that when daisy toggles are off, they lose their color and look the same as the disabled state; hence it seems odd for that to be the default behavior.

What is a workaround to allow these toggles to maintain their color in the off state?
Would maintainers consider adjusting this to the default behavior, so that 'off' toggles don't appear disabled, OR consider making the off-white color seen here in the checked state the 'off' color.

Fixed.
Disabled toggle now looks different


Map pins

Show current org list (after filter) on the map as geo-point pins
When a pin is selected, show a bubble with the following information:

org name
org address
primary contact

name
photo
phone number

link to org full details

I have no idea how to style this really. Something like this https://bitbucket.org/networkactiongroup/admin/downloads/orgs-proto-map.jpg

Reassigned to you based on your last comment. Looks like that last pull simplified my crummy code. But it doesnt look like it closes this issue. Are you still working on that?


Increase buffer on messages_to_app

This evens out RPC request load on the data channel.

Closing because we already set the HTTP/2 initial window size on the inbound gRPC proxy, so this shouldn't really be necessary.


Equivalent of format! with preserved style information

Currently format! and similar macros don't work with term-painter (style won't apply). Since the style information isn't stored in the string (like in rust-ansi-term) to achieve platform independence, there is currently no way to pre-format a string with terminal style.
One could write something similar to format! that returns a custom data structure which stores the given style information.

Some quick thoughts about this: The returned type should implement Deref<String> to use it like a String which is returned by format!.
It's not trivial to implement (one has to use format! or friends to do proper format-string checking), but this might be a way: Wrap every argument in a special Wrapper that will record the buffer length before and after writing.


fix: setGroup() invoked twice when wrapAckMessageRequest()

Which Issue(s) This PR Fixes

This modification is trivial, so I didn't create an issue.
Brief Description

When build AckMessageRequest in wrapAckMessageRequest()  setGroup() has been invoked twice, which is unnecessary.
How Did You Test This Change?

no need

Codecov Report

Merging #522 (7b21d99) into master (c3f2b69) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #522   +/-   ##
=========================================
  Coverage     45.84%   45.84%
  Complexity      659      659
=========================================
  Files           207      207
  Lines         11452    11452
  Branches       2892     2892
=========================================
  Hits           5250     5250
  Misses         5976     5976
  Partials        226      226

Flag
Coverage Δ

java
62.65% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...cketmq/client/java/impl/consumer/ConsumerImpl.java
73.10% <100.00%> (ø)

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

Nice catch! Thanks @f1amingo


Add option to enable specific experimental rules

With command line flag "--experimental" it is possible to enable all experimental rules. I want to be able to enable specific experimental rules which work well for a repository from the .editorconfig in that repository.

Alternative to this implementation, is my proposal in #1033 to restructure the properties in the .editorconfig.

Thanks for the PR, but we'd like to move towards a more flexible solution (#548). Also, I'd suggest you open an issue upfront, so we could discuss it and you wouldn't need to spend your time implementing something that's not in line with the project roadmap.


django.db.utils.IntegrityError on Oracle for silk.models.Request.

django 1.11.16
django-silk 3.0.1
Oracle makes no difference between '' and BLANK, and so the file field in silk.models.Request does not work properly.   The field is declared as:
prof_file = FileField(max_length=300, blank=True, storage=silk_storage)
On the oracle level, I have the following constraint for this field:
PROF_FILE               NVARCHAR2(300) default NULL not null
Since you are just using django's FileField you may call it a Django error.   But you should track it, anyway.
My solution may be on local to use my database router to route silk to an sqlite3 database.   This solution, provided it worked, could be documented somewhere.

Using a local sqlite3 database via a database router addresses this issue, but it is worth fixing.

Should be solved by #258


Improve similar GNSS measurement search behaviour and increase code coverage

Codecov Report

Merging #102 (136f04f) into master (21500d1) will increase coverage by 2.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
+ Coverage   66.19%   68.22%   +2.02%
==========================================
  Files         117      117
  Lines       34273    34253      -20
==========================================
+ Hits        22687    23369     +682
+ Misses      11586    10884     -702

Impacted Files
Coverage Δ

dynadjust/dynadjust/dnaadjust/dnaadjust.hpp
94.54% <ø> (ø)

dynadjust/dynadjust/dnageoid/dnageoid.cpp
66.25% <ø> (+0.33%)
:arrow_up:

dynadjust/dynadjust/dnageoid/dnageoid.hpp
100.00% <ø> (ø)

dynadjust/dynadjust/dnaimport/dnainterop.cpp
63.06% <ø> (+4.05%)
:arrow_up:

dynadjust/dynadjust/dnaimport/dnainterop.hpp
100.00% <ø> (ø)

dynadjust/dynadjust/dnaplot/dnaplot.cpp
70.57% <ø> (ø)

dynadjust/dynadjust/dnareftran/dnareftran.cpp
76.59% <ø> (ø)

dynadjust/dynadjust/dnareftran/dnareftran.hpp
100.00% <ø> (ø)

dynadjust/dynadjust/dnasegment/dnasegment.cpp
69.31% <ø> (+0.42%)
:arrow_up:

dynadjust/dynadjust/dnasegment/dnasegment.hpp
100.00% <ø> (ø)

... and 16 more

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 21500d1...136f04f. Read the comment docs.


Microsoft Flow Azure Table configuration

Hi, I followed the instructions on this page roughly a month ago but I've since noticed that the Azure Table Storage connector is a 'premium' connector in Power Automate, which requires the user to be on either Flow Plan 1 or Flow Plan 2 to use the connector.
Link to the Azure Table Storage connector: https://emea.flow.microsoft.com/en-us/connectors/shared_azuretables/azure-table-storage/
I figured I'd come back to this page to raise the feedback in case other users come back here too.

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

ID: 4c14f046-8a16-65ac-2bb2-0740610e2b55
Version Independent ID: 5a901ada-563e-378d-a9b8-fddd9059901b
Content: Azure Table
Content Source: articles/marketplace/partner-center-portal/commercial-marketplace-lead-management-instructions-azure-table.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @qianw211
Microsoft Alias: evansma

@Coldpawz Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

@Coldpawz You are correct that this is a premium/paid a Microsoft Power Automate (Microsoft Flow) feature. Thanks for the feedback and please let us know if you have any questions.
#please-close


updated_version_to_0_52_21

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@adbeda, please ignore the CircleCI errors and focus only on the output from Azure.

@conda-forge-admin, please rerender

close #3


Sending "HEAD" instead of "GET" for information retrieval.

its will be much efficient to send a Head request so as to retrieve information about a URL, for example the content length. when we send the HEAD request, we only get the headers not the body, so as such it is more efficient.
Some urls do not behave properly when we send two Get requests , one for retrieving information, the other one for retrieving response body, when such urls encounter the second request, FETCH throws a EMPTY_BODY exception..
for example i have examined this url
https://codeload.github.com/a5malik/Android-Flag-quiz/zip/master
it works sometimes, and sometimes it does not work, but when i download it in other downloaders it works 100% all the time, so i dug into the fetch source code, and i think you should not send two GET resuests, the first request should be a HEAD and the other(s) GET should be for retieving response body

@duncanokeyo New Fetch version 2.1.0-RC13 has these changes. The Parallel downloader should be more stable now. Would like your feedback.

let me test and send feedback


Enhanced Stereo is lost when using GetMolFrags(m, asMols=True)

Describe the bug
When calling GetMolFrags(m, asMols=True) the returned molecules loose their enhanced stereo information (stereogroups) and instead get R/S markers IF there are multiple fragments in the molecule. If m is only one fragment, the enhanced stereo is preserved.
I assume in that case the input is just returned unmodified where as with multiple components some form of copy is used that looses information.
To Reproduce
mx = Chem.MolFromSmiles('CCCC.C[C@H](F)C[C@H](O)Cl |o1:5,o2:8|')
components = Chem.GetMolFrags(mx, asMols=True)
components[1]

components[1].GetStereoGroups()[0].GetGroupType()
Will then also lead to an IndexError as no StereoGroups are actually present anymore.
Expected behavior
That the enhanced stereo is preserved.
Screenshots

Configuration (please complete the following information):

RDKit version:  2021.03.5
OS:  Win 10
Python version (if relevant): 3.9
Are you using conda? Yes
If you are using conda, which channel did you install the rdkit from? conda-forge

I just wanted to note that I have independently come across this bug recently.
In particular, this functionality would be really useful when trying to de-salt molecules with enhanced stereochemistry information.


Investigate webpack aot with ngtools

hi damien
thanks for add lazy route in your project, now I can work with my demo.
I don't change any code, just upgrade version number.
but sometimes, run ngc, will generate a lot js files, I don't like it.
do you know webpack/ngtools? it will not generate a lot js files.
here is article about Angular2 AOT with Webpack and Lazy Loading, would you read it?
I don't know which is better, would you give me some suggestion?

thanks for the link, I'll have a look, didn't know about ngtools.


[Question] - Is there documentation on how to use the Mock Data feature?

Hi,
I'm running 5.0.1 and I just happened to notice the "Mock Data" button at the bottom of the results window.  Is there documentation explaining how to use this?  When I click it right now I just get a message that states, "Mock Data can be generated for a table only."
Thanks!
Ryan

We are working on documentation.
You can generate mock data by right clicking on a table in database navigator or in results viewer on "Data" tab of table editor.

Thanks, Serge!
I was successfully able to generate mock data using both methods you mentioned.
Thanks again!

@ryancabanas take a look at short article here: https://github.com/dbeaver/dbeaver/wiki/Mock-Data-Generation

Great!
Am I able to make any edit suggestions on documentation page in GitHub?
Thanks!
Ryan

@ryancabanas you can ask @serge-rider to get rights to edit the wiki.

@ryancabanas I can add you as collaborator (write me on<EMAIL_ADDRESS>or you can just post some improvements in comments and we'll fix wiki.

@serge-rider is this feature removed? I cannot find it any more in version 6.2

See #6592

Thx,  ee version is a little bit expensive for indie developer through.
On Sun, Sep 29, 2019, 22:03 Serge Rider<EMAIL_ADDRESS>wrote:

See #6592 https://github.com/dbeaver/dbeaver/issues/6592
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/3187?email_source=notifications&email_token=AGIPRJU5JIUV2JLFJXQCMXTQMCYSFA5CNFSM4EWYRAP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73VSRY#issuecomment-536303943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGIPRJUA4LJFWAQ6OQUAHUTQMCYSFANCNFSM4EWYRAPQ
.

:(
Well, you could try monthly subscription, it is not expensive.
And fits if you need to use some EE feature just a few times.


[📚] Android Firebase SDK override should be rootProject.ext instead of project.ext

This section describes how to override the Firebase SDK version. However, in my tests, I could only make it work using rootProject.ext instead of project.ext.
For instance, this is what I'm using to override the SDK version:
rootProject.ext {
    set("FlutterFire", [
            FirebaseSDKVersion: "25.4.1",
    ])
}

I could not make it work following the documentation, using project.ext.

I was just looking for a documentation for FirebaseSDKVersion: XXX.
Where can I check what is the latest version?

@geecat for Android, you can check the release notes - use the Bill of Materials (BoM) version number. It's easier to find on the right side column.
iOS is easier, as the release notes section names are the SDK versions themselves.


Remove username from screenshots

Toggleable
Increases account security
Adds privacy
Might want to include a "show off" of your account type (Normie, UIM, HCIM, IM etc.)

Preview:

Would be nice to have an option to show any Icons (Mod/Iron/etc) while also hiding usernames.


Make a PWA

It would be nice if the handbook was quickly accessible for a person.
A mobile app would be nice, thus a PWA config for VuePress seems the perfect solution.

https://vuepress.vuejs.org/plugin/official/plugin-pwa.html#install