Fails to compile on Slackware Linux (32-bit): JOYCON_PAIR

Console output:

cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
[281/479] Building CXX object libultraship/src/CMakeFiles/libultraship.dir/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp.o
FAILED: libultraship/src/CMakeFiles/libultraship.dir/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp.o
/usr/bin/c++ -DCVAR_CONSOLE_WINDOW_OPEN="gOpenWindows.Console" -DCVAR_CONTROLLER_CONFIGURATION_WINDOW_OPEN="gOpenWindows.ControllerConfiguration" -DCVAR_CONTROLLER_DISCONNECTED_WINDOW_OPEN="gOpenWindows.ControllerDisconnected" -DCVAR_CONTROLLER_REORDERING_WINDOW_OPEN="gOpenWindows.ControllerReordering" -DCVAR_DROPPED_FILE="gGeneral.DroppedFile" -DCVAR_ENABLE_MULTI_VIEWPORTS="gSettings.EnableMultiViewports" -DCVAR_GAME_OVERLAY_FONT="gSettings.OverlayFont" -DCVAR_GFX_DEBUGGER_WINDOW_OPEN="gOpenWindows.GfxDebugger" -DCVAR_IMGUI_CONTROLLER_NAV="gSettings.ControlNav" -DCVAR_INTERNAL_RESOLUTION="gSettings.InternalResolution" -DCVAR_LOW_RES_MODE="gSettings.LowResMode" -DCVAR_MENU_BAR_OPEN="gSettings.OpenMenuBar" -DCVAR_MSAA_VALUE="gSettings.MSAAValue" -DCVAR_NEW_FILE_DROPPED="gGeneral.NewFileDropped" -DCVAR_PREFIX_ADVANCED_RESOLUTION="gSettings.AdvancedResolution" -DCVAR_PREFIX_AUDIO="gAudioEditor" -DCVAR_PREFIX_CHEAT="gCheats" -DCVAR_PREFIX_CONTROLLERS="gSettings.Controllers" -DCVAR_PREFIX_COSMETIC="gCosmetics" -DCVAR_PREFIX_DEVELOPER_TOOLS="gDeveloperTools" -DCVAR_PREFIX_ENHANCEMENT="gEnhancements" -DCVAR_PREFIX_GENERAL="gGeneral" -DCVAR_PREFIX_RANDOMIZER_ENHANCEMENT="gRandoEnhancements" -DCVAR_PREFIX_RANDOMIZER_SETTING="gRandoSettings" -DCVAR_PREFIX_REMOTE="gRemote" -DCVAR_PREFIX_SETTING="gSettings" -DCVAR_PREFIX_TRACKER="gTrackers" -DCVAR_PREFIX_WINDOW="gOpenWindows" -DCVAR_SDL_WINDOWED_FULLSCREEN="gSettings.SdlWindowedFullscreen" -DCVAR_SIMULATED_INPUT_LAG="gSettings.SimulatedInputLag" -DCVAR_STATS_WINDOW_OPEN="gOpenWindows.Stats" -DCVAR_TEXTURE_FILTER="gSettings.TextureFilter" -DCVAR_VSYNC_ENABLED="gSettings.VsyncEnabled" -DCVAR_Z_FIGHTING_MODE="gSettings.ZFightingMode" -DENABLE_OPENGL -DF3DEX_GBI_2 -DFMT_SHARED -DGFX_DEBUG_DISASSEMBLER -DNDEBUG -DSPDLOG_ACTIVE_LEVEL=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_SHARED_LIB -DSTORMLIB_NO_AUTO_LINK -I/home/user/2ship2harkinian/libultraship/src/../extern -I/home/user2ship2harkinian/build-cmake/libultraship/src -I/home/user/2ship2harkinian/libultraship/src/../../ZAPDTR/lib/libgfxd -I/home/user/2ship2harkinian/libultraship/src -I/home/user/2ship2harkinian/libultraship/src/../include -I/home/user2ship2harkinian/build-cmake/_deps/imgui-src -I/home/user/2ship2harkinian/build-cmake/_deps/imgui-src/backends -I/home/user/2ship2harkinian/build-cmake/_deps/stormlib-src/src -I/home/user/2ship2harkinian/build-cmake/_deps/stb -I/home/user/2ship2harkinian/build-cmake/_deps/threadpool-src/include -I/home/user/2ship2harkinian/build-cmake/_deps/libgfxd-src -isystem /usr/include/SDL2 -O2 -DNDEBUG -std=gnu++20 -Wall -Wextra -Wno-error -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-parentheses -Wno-narrowing -Wno-missing-field-initializers -Wno-implicit-function-declaration -MD -MT libultraship/src/CMakeFiles/libultraship.dir/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp.o -MF libultraship/src/CMakeFiles/libultraship.dir/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp.o.d -o libultraship/src/CMakeFiles/libultraship.dir/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp.o -c /home/user/2ship2harkinian/libultraship/src/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp
cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
/home/user/2ship2harkinian/libultraship/src/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp: In member function ‘bool Ship::SDLMapping::UsesSwitchLayout()’:
/home/user/2ship2harkinian/libultraship/src/controller/controldevice/controller/mapping/sdl/SDLMapping.cpp:102:71: error: ‘SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR’ was not declared in this scope; did you mean ‘SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO’?
102 |     return type == SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO || type == SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR;
|                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                                                                       SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO
[282/479] Building CXX object libultraship/src/CMakeFiles/libultraship.dir/controller/controldevice/controller/mapping/sdl/SDLRumbleMapping.cpp.
cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
[283/479] Building CXX object libultraship/src/CMakeFiles/libultraship.dir/controller/deviceindex/ControllerDisconnectedWindow.cpp.o
cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
ninja: build stopped: subcommand failed.

commands ran:

git submodule update --init
cp -rv ~user/Downloads/Legend\ of\ Zelda,\ The\ -\ Majora's\ Mask
(USA).z64 /home/user/PC/2ship2harkinian/OTRExporter/
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
cmake --build build-cmake --target Generate2ShipOtr

I've checked and the ROM's hash is compatible with 2ship. Did I enter a command wrong ? I should have all of the relevant dependencies. I'm just trying to compile it for my laptop. Why is it trying to encode Joycon controller compatability by default and failing ?
System Information:

OS: Slackware 15 (32-bit)

Hi, your sdl2 version is too old. Please install at least 2.26.1 or higher

sdl
Thanks, I'll try upgrading my SDL, though in re-reading that error log, I don't think it mentioned my SDL version. I'm curious how you could tell it was too old ?

From past experience seeing this error message about SDL_CONTROLLER_TYPE_.
Our ImGui dependency has support for switch controllers and so it is expecting those enums to exist, which came in a later SDL2 version (I can't find right now "which" version introduced them, but I can confirm that our linux CI scripts manually install SDL2 2.26.1 because the version in apt-get is too old)

Thanks. I appreciate the explanation, and in such little time. I'm upgrading my packages as I write this and I'll try again. Though while you're here, does moving the .z64 ROM into the OTRExporter need to be done at any specific point in the chain of commands necessary / does it require any specific naming conventions for the ROM, to be recognised before compilation ?

If you mean regarding using the ExtractAssets cmake target, it strictly only works with the US N64 rom in big endian format (can be named anything).
My recommendation however would be to not use the ExtractAssets step, and instead just do GenerateSohOtr. Then you can launch the program  as-is and you'll be prompted to supply a rom which supports both N64 and GC US in any format. This utilizes OTR generation that is built into the main executable.
The building docs are a bit unclear of this path, and I'll probably update them soon to switch to this recommendation.

Thanks. Though I'm curious, could you expand a little more on what the disadvantages are of using the ExtractAssets step ? Or link me to where I could read more about the two options ? The docs seem to recommend that one run cmake --build build-cmake --target Generate2ShipOtr
before running
cmake --build build-cmake --config Release
but that seems to be about it. The mention of ExtractAssets and GenerateSoh0tr are new to me.

Sorry, I was looking at the wrong repo. I meant Generate2ShipOtr. But looks like the linux part of the building instructions is correct, it's just windows/macOS that are still referencing old things.
Anyways, you are not required to move any rom files into OTRExporter. Simply run the 2ship and you'll be prompted to generate the otr if it is missing.
The reason there is two ways to generate otrs is mainly historical/legacy (coming from SoH). The cmake target was first, then later in the project life we made a built-in extractor. The both use the same tools under the hood (ZAPDTR and OTRExporter) meaning the resulting otr/o2r file is identical, the difference is that the cmake step uses python scripts to generate the otr via cli, vs the built-in one happening in c++ via the game executable.
The python scripts have simple rom validation that only accounts for big-endian and only works correctly with US N64.
The built-in process has slightly more robust rom validation supporting both US N64 and US GC correctly

I was unable to find the Generate2ShipOtr program like you suggested. For some reason, running the find command within the source and build directories came up with nothing.
I tried running the extract_assets.py script but it kept throwing the following errors:

Traceback (most recent call last):
File "/home/user//2ship2harkinian/OTRExporter/./extract_assets.py", line 85, in
main()
File "/home/user/2ship2harkinian/OTRExporter/./extract_assets.py", line 81, in main
BuildOTR(os.path.join(args.xml_root, rom.version.xml_ver), rom.file_path, zapd_exe=args.zapd_exe, genHeaders=args.gen_headers,
File "/usr/lib/python3.9/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

I'm not sure why that didn't work, given that the hash matches the sha1 hash for approved ROMS. It's the USA version, Big Endian.
I tried copying the ROM into the directory of build_cmake/mm/ and running 2s2h.elf like you suggested, and it began the extraction process there, seemingly recognising it as a compatible ROM, but then it ran in to some problems.
The STDOUT upon trying to run 2s2h.elf

[2024-10-03 00:04:59.612] [/home/user/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /home/user/2ship2harkinian/build-cmake/mm/./mm.o2r
[2024-10-03 00:05:00.114] [/home/user/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /home/user/2ship2harkinian/build-cmake/mm/./mm.o2r to Archive Manager
[2024-10-03 00:05:00.183] [/home/user/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /home/user/2ship2harkinian/build-cmake/mm/2ship.o2r
[2024-10-03 00:05:00.185] [/home/user/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /home/user/2ship2harkinian/build-cmake/mm/2ship.o2r to Archive Manager
[00:05:00.700] [os.cpp:27] [error] Failed add SDL game controller mappings from "./gamecontrollerdb.txt" (Invalid RWops)
[00:05:04.110] [CrashHandler.cpp:72] [critical] Signal: 11
INVALID ACCESS TO STORAGE
Registers:
EDI: 0x0AD73F70
ESI: 0x0AD73F8C
EBP: 0xBFC5F448
ESP: 0xBFC5F390
EBX: 0x0BE47F4C
EDX: 0xBFC5F388
ECX: 0x0BE477CC
EAX: 0x00000000
EIP: 0x089FA178
EFL: 0x00210202
Traceback:
1 __kernel_rt_sigreturn (+0x0)
2 ImGui_ImplOpenGL3_NewFrame() (+0x18)
3 Ship::Gui::DrawMenu() (+0x15)
4 gfx_run(Gfx*, std::unordered_map<MtxS*, MtxF, std::hash<MtxS*>, std::equal_to<MtxS*>, std::allocator<std::pair<MtxS* const, MtxF> > > const&) (+0x4A)
5 Graph_ProcessGfxCommands (+0x31F)
6 ./2s2h.elf() [0x83bd5d1]
7 Graph_Update (+0x43)
8 RunFrame (+0x1D5)
9 Graph_ThreadEntry (+0xD)
10 main (+0xEA)
11 __libc_start_main (+0xF9)
12 _start (+0x21)
t�
��

The STDERR upon trying to run 2s2h.elf:

Failed to initialize OpenGL loader!

Users in the Discord server have notified me that the crash is due to my CPU only supporting up to OpenGL 1.4.
2ship2harkinian requires at least OpenGL 3.0 as a dependency. As consequence, there are only 3 solutions unfortunately, as recommended to myself by a user:

See if wine can run a directx version through opengl1/software implementation (slowly)
Implement opengl1 support for lus/soh/2s2h (hard)
Buy a new graphics card compatible with OpenGL 3. (expensive).

As such, I will now mark this issue as closed. Many thanks to xelivous and Malkierian for help with this issue.


Feature request: ReVanced module?

I'm thankful you made this Xposed module. But I wondered if you'd look into making a ReVanced module, too. Since ReVanced modifies the APK, not the app itself, it doesn't need root. And, with all the changes it can do in other apps like YouTube, Twitch, Citra, etc, I thought it might be able to remove the home button.

Is there any documentation for developing a ReVanced module?

If you just want to use the module without root, I think Xpatch or LSPatch should be OK

I don't know a ton about how ReVanced is organized behind the scenes. But it's a very convenient patching utility that I already use for the other apps I mentioned. All I can recommend is checking out their github page: https://github.com/revanced
That said, being able to patch the APK is the main thing I want (as I don't update Firefox all that often). That home button is why I'm still on an older version of Firefox (Beta), but I'm starting to feel the age. So thank you so much for letting me know that's possible with your module.

Seems that they patch byte code, which I am not familiar with...
As Xpatch and LSPatch also work by modifying the apk, I don't think it's really necessary to port the module to ReVanced

I wish to confirm that LSPatch did indeed work, though it did necessitate uninstalling the old version of Firefox.
Getting Shizuku up and running was a bit of a pain, but I'm not entirely sure that was necessary.

I wish to confirm that LSPatch did indeed work, though it did necessitate uninstalling the old version of Firefox.
Getting Shizuku up and running was a bit of a pain, but I'm not entirely sure that was necessary.

It's said that Shizuku is not required. Seems it's only used to install the patched apk. You can still install it manually without Shizuku.


Automated endurance tracking fixes

no free recovery in combat
no extra endurance cost for 1st player of combat on their first phase

Resolves both issues mentioned in #564


[#90] I2C slave driver

Draft PR.

Additional question:
I have read up on PhantomData here and here, but I'm still curious how it is being used here:
https://github.com/Rahix/avr-hal/blob/9f9d6972e4ac7c149e2644bbc52c47cca81838f4/avr-hal-generic/src/i2c.rs#L208

Why is there a phantomdata marked type here at all?
Why is the phantom field named _clock?

Why is there a phantomdata marked type here at all?

Because you cannot have a generic type parameter (CLOCK) which is not used.  The PhantomData<CLOCK> is a zero-sized type which counts as a "use" of the type paramter, thus it is legal.

Why is the phantom field named _clock?

To indicate that the field does not really hold any use, I've prefixed it with an underscore.

Regarding the CLOCK phantom... yeah, I've been playing around with how it's used and re-reading the docs, etc. I think I understand it now.
Thx!

Ok, I'm getting close. I've encapsulated the data sheet status codes in a series of state transitions.
I need some feedback regarding the client experience/api? You mentioned signaling/polling an atomic variable at one point.

I'm going to take a closer look later today!
One thing we need to take care of is that this PR now contains many changes that are so to speak "orthogonal" to each other (e.g. "removing the $macro-tokens", "renaming $I2c to $I2c Master", and "adding the I2C slave implementation").  Ideally, each one should go into a single separate commit so that is becomes easy to trace what is changed each time.
I know that splitting out a changeset into such cleanly separated commits is quite cumbersome so I can offer to take care of this by pulling out all the "undisputed" changes (i.e. everything except the slave implementation itself, I think) into commits that I'll merge manually prematurely (of course attributing them to you!).  Once that is done, you can rebase this PR ontop of them and it will only contain the I2c slave driver changeset which is then much easier to look at in more detail.
Would that be okay for you?

@Rahix Somehow I missed your last message. My apologies for taking 6 days to respond. Yes, I was getting concerned about orthogonal changes drifting into this PR, too. Sure thing, splitting them out and rebasing sounds great, thank you for taking care of that.

@Rahix Ok, so I've added some triggers and helper methods based on your suggestions here.
Couple of thoughts...

A fully fleshed example using the I2C Master API would really help me understand the api. The i2cdetect just doesn't give my brain enough to work with.
Once I understand the pattern for master, I think this will unblock me. I'll wrap up by writing an example using the I2C Slave API as I finish writing that api.
My final goal is to write a master <-> slave example of two arduinos talking to each other over the I2C bus

Sure thing, splitting them out and rebasing sounds great, thank you for taking care of that.

Okay, will do as soon as I have time!

A fully fleshed example using the I2C Master API would really help me understand the api. The i2cdetect just doesn't give my brain enough to work with.

Hmm, in the end, any embedded-hal I2C code will look the same.  So just take any existing I2C device driver (from awesome embedded rust) to see how the bus would be used.

My final goal is to write a master <-> slave example of two arduinos talking to each other over the I2C bus

That makes a lot of sense!  Let's include the code for those two examples here as well!

Ok, so I've added some triggers and helper methods based on your suggestions here.

Hmm, I would say these changes are going in the wrong direction.  A HAL driver should not contain any statics as this will mess with composability.  Such things should be done solely on application level.   I'm also not quite sure what you added them for?  If it's interrupts: they are irrelevant here, they are also something to be managed on application level (note how none of the other HAL drivers have any interrupt-specific code).

Ok, I'll back that static stuff out and examine the I2C driver in awesome embedded rust and see how that's implemented and used and then go from there.

Ok, so this example doesn't compile yet, but this is my take on the API for the i2c slave:
#![no_std]
#![no_main]

use arduino_uno::prelude::*;
use panic_halt as _;

#[arduino_uno::entry]
fn main() -> ! {
    let dp = arduino_uno::Peripherals::take().unwrap();

    let mut pins = arduino_uno::Pins::new(dp.PORTB, dp.PORTC, dp.PORTD);
    let mut serial = arduino_uno::Serial::new(
        dp.USART0,
        pins.d0,
        pins.d1.into_output(&mut pins.ddr),
        57600,
    );
    let mut i2c = arduino_uno::I2c::new(
        dp.TWI,
        pins.a4.into_pull_up_input(&mut pins.ddr),
        pins.a5.into_pull_up_input(&mut pins.ddr),
        50000,
    );
    let mut slave = arduino_uno::I2cSlave::new(
        i2c,
        pins.a1.into_pull_up_input(&mut pins.ddr),
        pins.a2.into_pull_up_input(&mut pins.ddr),
        b01111111,
        false,
    );

    // statemachine
    let mut state = slave.start()?;

    // data to write
    let mut data = 0;

    loop {
        ufmt::uwriteln!(&mut serial, "I2C slave starting...\r").void_unwrap();
        state = match(state){
            Ok(arduino_uno::I2c::I2cSlaveState::Uninitialized)
                =>{ state.init() }
            Ok(arduino_uno::I2c::I2cSlaveState::Initialized)
                =>{ state.wait() }
            Ok(arduino_uno::I2c::I2cSlaveState::AddressMatched)
                =>{
                    ufmt::uwriteln!(&mut serial, "I2C slave address: {}\r", state.address()).void_unwrap();
                    state.next()
            }
            Ok(arduino_uno::I2c::I2cSlaveState::RxReady)
                =>{
                    ufmt::uwriteln!(&mut serial, "I2C slave received: {}\r", state.read()).void_unwrap();
                    state.ack().next()
            }
            Ok(arduino_uno::I2c::I2cSlaveState::TxReady)
                =>{
                    ufmt::uwriteln!(&mut serial, "I2C slave writing: {}\r", data).void_unwrap();
                    state.write(data);
                    state.next()
            }
            Err(arduino_uno::I2c::Error)
                => {
                    ufmt::uwriteln!(&mut serial, "I2C slave error\r").void_unwrap();
                    state.init()
            }
        }
    }
}

@ToddG, can you quickly review #102 so I can move forward with that?

@Rahix #102 approved. I'm not sure what's going on with github notifications. I'm online, logged into github, all day every day for work...yet somehow I'm not getting notifications on PR's and such. I'll look at my settings closely...my apologies for the delays.

No problem, thanks for the reply! I've now merged #102. Please rebase this branch ontop of latest master now and make sure only the actual I2C slave driver changes remain here.


Corrected typo

Corrected typo in Expression Trees Explained
Summary
Changed "ode" to "code"
Suggested Reviewers
@cartermp

Thanks @rpetrusha Let's :shipit:
As soon as the build finishes, let's merge it.

:ship: :it:

Open Publishing Build Service: The pull request content has been published and here are some changed files links of this time:

Docset 1 - core-docs
https://review.docs.microsoft.com/en-us/dotnet/articles/csharp/expression-trees-explained?branch=pr-en-us-1160

Status: Succeeded.
Open Publishing Report.


Add Github actions integration

We need to move away from travis to github actions for automatic docs, testing, and pypi deployments.

This has been done


Dictionary equality comparison differs from CPython

I'm not sure if this a known difference with CPython, but when comparing dictionaries for equality, the transpiled JS always returns false.  I assume this has to do with how JavaScript compares objects in general.  For example:
Python Code:
def dict_test():
    x = {'a': 12, 'c': 99, 'b': 54}
    y = {'a': 12, 'b': 54, 'c': 99}
    print(x == y)

# returns True
Transcrypted Code:
export var dict_test = function () {
    var x = dict({"a": 12, "c": 99, "b": 54});
    var y = dict({"a": 12, "c": 99, "b": 54});
    print(x == y)
};

// returns false
I'm assuming the only solution would be to do a recursive comparison of values, or use a 3rd party library like Lodash's _.isEqual() function.

There is no dict comparison code in Transcrypt, I have already reported it in: https://github.com/QQuick/Transcrypt/issues/721

It is not a known difference but an omission.
Will classify it as enhancement with #721


HOSTEDCP-1344: pkg/crypto: expose an unsafe self-signed cert generator

When testing, it's useful to change what the current time is.

use your power wisely.
/lgtm


Update error handling in DatabaseStorageManager.swift

This ticket is about to use of ZcashError. How to do it is described in #361.

merged 3 days ago


Add cordova-ios-4.0.0 release blog post announcement

Might be good to include a line like "This is a major release, and deprecated APIs have been removed. Some 3rd party plugins might require updates before they are compatible."

@dpogue  Good idea, will add that in.

What about mentioning other some high level features:

Support Asset Catalog
ios-sim (will use internal version, no need to npm i -g ios-sim)
ios-deploy (get the latest version)
can handle new fields in config.xml (I'm making this up? like xxconfig additions)

@csantanapr good points, I'll add those in. Not sure about point 4 though, xcconfig stuff is build artifacts, and we don't have the <build-setting> tag yet for this

@shazron ah ok, maybe I was thinking
oh what about whitelist stuff?
Any other high level feature?

What about AppDelegate changes/moving?
What about minimum Deployment Target to iOS 8.0? What does this means for humans :-), no ios 7?

@csantanapr whitelist stuff is already mentioned.
Deployment target change -- yes. Too many other changes to list in one blog post, that's why there is a "breaking changes" link that lists all.

ok, I went over the wholes changes, that's it I didn't find anything else

Ok all changes integrated, for those latecomers here is the link to view all PR changes: https://github.com/shazron/cordova-docs/blob/cordova-ios-4-release/www/_posts/2015-12-08-cordova-ios-4.0.0.md

LGTM


[Wait for #308] Enable activation layer in ini

This PR expose activation layer by ini. As #308 handles props
automatically, there is no need to set else more.
See also #210
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #309. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/309-202007142033090.039323091506958-58d3719dedf88268e59a9857d7ef40217dea187e/.


I want to translate github docs for education purpose. Which one do you think is better?

I want to translate github docs for education purpose. Which one do you think is better?

Fork and translate \content\ directly
Create pull request on this repo, but I don't know where to put my translation scripts

Update : I found \translation\ folder :)
Originally posted by @sownt in https://github.com/github/docs/discussions/11795

#15223


Extensible type mapping and method/operator translation

Now that Npgsql (ADO) is going to be pluggable, the EF Core provider's type mapper also needs to be pluggable - allow external code to inject/override type mappings (e.g. enable Nodatime). This will only work with Npgsql (ADO) vNext, but it makes sense to build it into 2.1.
The same thing has to happen for operations.
Implementation-wise, it may be sufficient for the EF Core plugin to simply get the current service and wrap it with another one which handles the new types. Or I could expose an API to in NpgsqlTypeMappingSource (and the relevant translator services) which allows adding/overriding mappings and translations. The latter seems a bit cleaner and we end up with one place for all the mappings, rather than multiple layers wrapping each other.
@ajcvickers any thoughts on this? I'm guessing this is somewhat relevant to how users will be adding translations for their custom conversions, so it would be good for these to be aligned.

@ajcvickers ping

@roji Honestly...I don't know, but I commented on #11236, so maybe that helps?

Yeah, it's very related, let's continue the conversation on https://github.com/aspnet/EntityFrameworkCore/issues/11236 (I answered there).


Support include directive

Hello,
It would make things much more easier if telegraf could support an include directive for the configuration (like /etc/opt/telegraf/conf.d).
This would be much more easier to use to enable plugins with configuration management systems or on docker.
Thoughts ?

That's a good idea, but do you mean an include "directory" where individual files could add plugins to telegraf? Similar to how /etc/apt/sources.list.d works on ubuntu?

Yes that's what I'm talking about. A directory where every file with a specific extension (like *.conf) could append configuration

cool, that sounds like a good idea

Yes, this would be an very nice to have. This is very handy when you use tools like Ansible or Puppet for installing/configuring servers, each role or module wil install their own telegraf configuration file in this directory.

Hi,
Any updates on this feature ?
I'm actually managing Telegraf in puppet with augeas which is a nightmare :)
This feature will really improve the deployment of Telegraf :p
Thx for the awesome work !

Right now I'm focused on statsd support, I'm not sure how soon I'll be able to get to this, if someone could help out on this one with a PR it would be much appreciated!

I'm sort of looking at doing this, but there's a slight hitch. My inclination is that values from included configs should override higher level values, but since the config struct holds the data as "ast.Table"s, merging them is a little difficult. I can see a couple places using UnmarshalTable on them for convenience, but aside from that, is there a reason they're being stored like that?

@gotyaoi not that I'm aware of, I think you could refactor out the ast.Table's. That would be really awesome because it would make that code more readable too.

Ok, I'll work on that then.

Small status update. Wasn't able to get rid of the ast.Tables entirely, as they're the dynamic part needed to account for loading data into structs which aren't known about ahead of time. Focused on getting the data out of the ast.Tables and into the actual structs as soon as possible.
Implemented a very basic struct merge function. Useful for setting defaults in a base struct, then overriding them later with an overlay struct. It operates on any fields that were set in the base struct, even if they were set to the zero value. Any regular values in the base struct are overwritten, while arrays are appended to. To know which fields were set in the overlay struct, I kept around a list of fields gleaned from the ast. A possible issue is that these fields are as in the toml, which is not necessarily the same as the name in the struct. There's some fuzzy matching that accounts for case changes and the addition of underscores, but if the toml: tag is significantly different than the struct field name, it will miss.
Currently the existing tests are passing. Going over them to determine if they are still applicable to the changed code, or if they need to be altered or added to.
You can take a look at the progress so far in my fork, in the branch config_directory: https://github.com/gotyaoi/telegraf/tree/config_directory
Odd issue, when rewriting the PluginsDeclared and OutputsDeclared function, I wasn't able to find a way to generically get the keys of any array, so those two functions have some duplicated code. Could just be me being noobish, so advice appreciated. https://github.com/gotyaoi/telegraf/blob/config_directory/config.go#L170

Ok, I've got some tests in and implemented directory loading. I'll probably try to run this myself for a little bit, then open a PR.

PR open here: https://github.com/influxdb/telegraf/pull/295

This has been merged, so it can probably be closed now. I think I messed up the issue number on the commit, so it didn't auto close.

thanks much @gotyaoi :+1:


[STRAIGHT-32] mycelium adapter ssl verification

requires testing in the both mainnet/testnet modes on staging

It's still open source, maybe we shouldn't use internal tickets names in titles?

Why not?

For external people it's very cryptic names, meaningless.

I also agree on this one and I told you so, @AlexanderPavlenko
Let's not use Jira tickets names and instead use something meaningful for open source projects.
I know you think not many people use or watch Straight now, but cryptic ticket names only contribute to that situation and don't help.


Fix broken link to immerjs documentation

Previous link leads to 404
New link is https://immerjs.github.io/immer/

Hope it helps @rauschma


Minor refactoring of ShuffleNetV2

Added progress flag following #875. Further the following refactoring were also done:

removed the operations for converting the width_mult arg to float.
removed num_classes argument from functions except ShuffleNetV2
removed try expect block for handling errors for absent pretrained weights

Codecov Report

Merging #889 into master will decrease coverage by <.01%.
The diff coverage is 72.22%.

@@            Coverage Diff             @@
##           master     #889      +/-   ##
==========================================
- Coverage    56.7%   56.69%   -0.01%
==========================================
  Files          38       38
  Lines        3432     3429       -3
  Branches      540      539       -1
==========================================
- Hits         1946     1944       -2
+ Misses       1370     1367       -3
- Partials      116      118       +2

Impacted Files
Coverage Δ

torchvision/models/shufflenetv2.py
87.77% <72.22%> (+3.9%)
:arrow_up:

torchvision/transforms/transforms.py
81.89% <0%> (-0.65%)
:arrow_down:

torchvision/datasets/imagenet.py
21.55% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@fmassa is torchvision imagenet 1k specific?
Wouldn't it be better to have dataset-agnostic models?

@barrh the models in torchvision are not imagenet 1k specific, and I'm as of now adding support for other tasks which are not trained on imagenet.
The change that @ekagra-ranjan did do not remove support for passing a different number of classes. Instead, it follows the pattern from other files, where if **kwargs can accept num_classes https://github.com/pytorch/vision/blob/ce18507b9a41b21aa49bf99c23ac287ebd536ff0/torchvision/models/resnet.py#L238

Removing the explicit conversion (float()) will make it very confusing should someone try to create the model without going through the utility functions, e.g. ShufflenetV2() calls will fail (but ShufflenetV2(width_mult=1.0) won't). The explicit conversion is crucial.

You are right, but one solution to this would be to change the default argument from 1 to 1.0 in the class.
In general, I'm not very keen on having the version be a float value. This can lead to a number of problems down the road, because the comparison between floating points, see https://github.com/pytorch/vision/pull/728#discussion_r255502659 for example. I think it might just be simpler to use a string instead to represent the width_mult, as there is really no reason why it's a float, as it is only used for mapping the number of layers.

@fmassa thanks for elaborated reply.
I think having num_classes argument in the standard utility function is the way to go for the long run (even for resnet50), however, I see why it makes sense to confirm with resnet50 type of call.
Having width_mult as a string still doesn't alleviate the issue with converting back to float before converting to string again.
With this patch ShufflenetV2(width_mult=1) fails. With changing width_mult to a string type: ShufflenetV2(width_mult='1') will fail.
Although, I agree explicit conversions are generally bad, I don't see an immediate benefit from removing it. Perhaps we need to expose subclasses of ShufflenetV2{0.5,1,1.5,2}, instead of ShufflenetV2.

@barrh I think that a better solution is to let the constructor of the model ShuffleNetV2 to take as argument the stage_out_channels, and construct each one of the stages inside the corresponding shufflenetv2_x0_5 etc functions.
The reason for that is that it's more generic on the user perspective, and avoids all the problems we have been discussing so far. This is also btw what's done for resnet, and makes it easier for the user to try out different configurations.
Thoughts?

sounds great.
There's a lot of room to make this model more generic, specifically, stage_repeats is more interesting than stage_out_channels imo: https://github.com/pytorch/vision/blob/master/torchvision/models/shufflenetv2.py#L108

@barrh ok, looks like we are getting into a consensus.
I think there are a few things that can be improved in shufflenet, as you point out. Would you mind sending a follow-up PR, addressing the comments I've mentioned here? Then I can merge this PR now to move faster.

@ekagra-ranjan given that you have already addressed most of the comments, to make things simpler would you mind replacing the width_mult string argument in ShuffleNetV2 with a layers or something like that, which is a list of ints, and replace getStages altogether?

Sure!

@barrh Thank you for your views. I addressed your concern about width_mult arg by converting width_mult to str as suggested by @fmassa.

I think having num_classes argument in the standard utility function is the way to go for the long run (even for resnet50), however, I see why it makes sense to confirm with resnet50 type of call.

I agree to this. The documentation does not have any mention about num_classes as an argument to the torchvision models. @fmassa  Do you think that we should mention num_classes as an optional argument in the docs? This would address the above highlighted problem mentioned by @barrh although it has the following problem:
When someone has to use a pretrained model and finetune it they use the following syntax:
model = models.resnet18(pretrained=True)
num_ftrs = model.fc.in_features
model.fc = nn.Linear(num_ftrs, num_classes)

Notice that nowhere was num_classes passed during the defining the object of resnet18. The num_classes was specified as something after the creation of the object of the model. So the only scenario when the user would num_classes to model constructor would be when they are not using the pretrained weights i.e: when pretrained=False. So just mentioning the optional argument num_classes in the docs can be misleading without mentioning when to not change the default value of num_classes.
One solution to address this problem would be to perform the above operation of replacing the fc layer within the code of the model. In the case of ResNets, the protected function _resnet can be modified as:
def _resnet(arch, inplanes, planes, pretrained, num_classes, progress, **kwargs):
    model = ResNet(inplanes, planes, num_classes, **kwargs)

    if pretrained:
        state_dict = load_state_dict_from_url(model_urls[arch], progress=progress)
        model.load_state_dict(state_dict)

    if num_classes!=1000:
        num_ftrs = model.fc.in_features
        model.fc = nn.Linear(num_ftrs, num_classes)

    return model

This way we can make the docs more informative by adding num_classes as an optional argument in the docs without any conditioning on the use of num_classes. This also simplifies using any torchvision model for finetuning by just passing a single parameter i.e: num_classes.
What is your view on this @fmassa ?

@ekagra-ranjan please check out the PR I pushed.


Kerberos error on Mac

I'm pretty sure this is different than https://github.com/Microsoft/azuredatastudio/issues/141 as the exception is different.

Azure Data Studio Version: 1.4.5
OS: Mac OS X 10.14.3 (It also failed on 10.13.x before I updated and IIRC 10.12.x as well. It's never worked for me)

Note:

My coworkers can and do connect to the same server using "Windows Authentication" using the same version of Azure Data Studio
I verified that I have a kerberos ticket using klist
I did run kinit anyway despite having a ticket
It does not work on the latest insiders build

Error:
System.Data.SqlClient.SqlException (0x80131904): Cannot authenticate using Kerberos. Ensure Kerberos has been initialized on the client with 'kinit' and a Service Principal Name has been registered for the SQL Server to allow Kerberos authentication.
ErrorCode=InternalError, Exception=Interop+NetSecurityNative+GssApiException: GSSAPI operation failed with error -  An unsupported mechanism was requested (unknown mech-code 0 for mech unknown).
   at System.Net.Security.NegotiateStreamPal.GssInitSecurityContext(SafeGssContextHandle& context, SafeGssCredHandle credential, Boolean isNtlm, SafeGssNameHandle targetName, GssFlags inFlags, Byte[] buffer, Byte[]& outputBuffer, UInt32& outFlags, Int32& isNtlmUsed) in /xplat/cfxfork/corefx/src/Common/src/System/Net/Security/NegotiateStreamPal.Unix.cs:line 139
   at System.Net.Security.NegotiateStreamPal.EstablishSecurityContext(SafeFreeNegoCredentials credential, SafeDeleteContext& context, String targetName, ContextFlagsPal inFlags, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ContextFlagsPal& outFlags) in /xplat/cfxfork/corefx/src/Common/src/System/Net/Security/NegotiateStreamPal.Unix.cs:line 169
   at System.Data.SqlClient.SNI.SNIProxy.GenSspiClientContext(SspiClientContextStatus sspiClientContextStatus, Byte[] receivedBuff, Byte[]& sendBuff, Byte[] serverName) in /xplat/cfxfork/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/SNI/SNIProxy.cs:line 152
   at System.Data.SqlClient.SNI.TdsParserStateObjectManaged.GenerateSspiClientContext(Byte[] receivedBuff, UInt32 receivedLength, Byte[]& sendBuff, UInt32& sendLength, Byte[] _sniSpnBuffer) in /xplat/cfxfork/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParserStateObjectManaged.cs:line 241
   at System.Data.SqlClient.TdsParser.SNISSPIData(Byte[] receivedBuff, UInt32 receivedLength, Byte[]& sendBuff, UInt32& sendLength) in /xplat/cfxfork/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParser.cs:line 6488
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken) in /xplat/cfxfork/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/SqlInternalConnectionTds.cs:line 400
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) in /xplat/cfxfork/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/SqlConnectionFactory.cs:line 136
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) in /xplat/cfxfork/corefx/src/Common/src/System/Data/ProviderBase/DbConnectionFactory.cs:line 96
   at System.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass40_0.<TryGetConnection>b__1(Task`1 _) in /xplat/cfxfork/corefx/src/System.Data.SqlClient/src/System/Data/ProviderBase/DbConnectionFactory.cs:line 86
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass28_0.<<OpenAsync>b__0>d.MoveNext() in D:\a\1\s\src\Microsoft.SqlTools.ServiceLayer\Connection\ReliableConnection\ReliableSqlConnection.cs:line 303
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.TryOpenConnection(ConnectionInfo connectionInfo, ConnectParams connectionParams) in D:\a\1\s\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 521
ClientConnectionId:7f0a56f0-2a1c-4538-800a-0a58540ce907

I'm getting this exact same thing right now as well.

Azure Data Studio 1.5.2
OS: Mac OSX 10.14.4

I can connect using a SQL login, but cannot connect using Windows Authentication. I've confirmed I have a valid Kerberos ticket, and it's working to authenticate me in Safari across the domain, just not Azure Data Studio.

are you connected now. can u help me step by step if u are connect to mssql server?

This should be resolved with the latest insiders build as tested and verified.
Closing the issue as resolved.


Set ApplyFrontend to true as recommended in the snowboy README

According to the Snowboy Readme ApplyFrontend should be set to True if resources/alexa/alexa-avs-sample-app/alexa.umdl is used.

resources/alexa/alexa-avs-sample-app/alexa.umdl:` Universal model for the hotword "Alexa" optimized for Alexa AVS sample app. Set SetSensitivity to 0.6, and set ApplyFrontend to true. This is so far the best "Alexa" model we released publicly, when ApplyFrontend is set to true.

thanks, @yodakohl. Appreciate your contribution. We should run the benchmark again with this config. thankfully we are about to start a new run and can incorporate this into it. let's merge when the result is out as I want the result and code to be in sync.

Quick question ...
Did you have a chance to run Snowboy with ApplyFrontend(True) on RPi zero or RPi3?  My understanding is that this flag enables a few audio preprocessing routines before wake-word detection and I am wondering what is the effect on runtime metrics such as CPU/memory consumption. Thanks in advance.

I did some quick test but its a bit difficult to measure since Snowboy does voice activity detection. I only tested on the Pi ZeroW since I currently have no Pi3 running.
Frontend False Idle
%Cpu(s):  5.0 us,  2.0 sy,  0.0 ni, 92.6 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
KiB Mem :   378936 total,    38228 free,    39856 used,   300852 buff/cache
KiB Swap:   102396 total,   102140 free,      256 used.   277904 avail Mem

PID USER  PR  NI    VIRT    RES    SHR S %CPU %MEM  TIME+ COMMAND
8061 pi  20   0   35992  12984   7640 S  4.9  3.4   0:06.05 python
8063 pi  20   0    5608   2500   2232 S  2.6  0.7   0:00.98 arecord

Frontend False Voice
%Cpu(s): 44.2 us,  1.3 sy,  0.0 ni, 54.2 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
KiB Mem :   378936 total,    38724 free,    39360 used,   300852 buff/cache
KiB Swap:   102396 total,   102140 free,      256 used.   278400 avail Mem

PID USER  PR  NI    VIRT    RES    SHR S %CPU %MEM  TIME+ COMMAND
8061 pi 20   0   35992  13036   7640 S 41.9  3.4   0:09.30 python
8063 pi 20   0    5608   2500   2232 S  1.9  0.7   0:02.15 arecord

Frontend True Idle
%Cpu(s): 14.6 us,  1.0 sy,  0.0 ni, 84.4 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :   378936 total,    38724 free,    39360 used,   300852 buff/cache
KiB Swap:   102396 total,   102140 free,      256 used.   278400 avail Mem

PID USER  PR  NI    VIRT    RES    SHR S %CPU %MEM TIME+ COMMAND
8121 pi 20   0   35852  12732   7504 S 12.1  3.4   0:02.70 python
8123 pi 20   0    5608   2552   2284 S  2.6  0.7   0:00.43 arecord

Frontend True Voice
%Cpu(s): 70.4 us,  2.0 sy,  0.0 ni, 27.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :   378936 total,    38304 free,    39780 used,   300852 buff/cache
KiB Swap:   102396 total,   102140 free,      256 used.   277980 avail Mem

PID USER   PR  NI    VIRT    RES    SHR S %CPU %MEM TIME+ COMMAND
8131 pi 20   0   35824  13064   7840 S 66.8  3.4   0:08.63 python
8134 pi 20   0    5608   2564   2296 S  2.0  0.7   0:00.52 arecord

It seems like memory is unchanged but CPU jumped from 5% to 12% in idle and from 42% to 67% during voice activity. I used the arecord example in python:
python demo_arecord.py resources/alexa/alexa-avs-sample-app/alexa.umdl
The change I made:

+++ b/examples/Python/snowboydecoder_arecord.py
@@ -75,6 +75,7 @@ class HotwordDetector(object):
             resource_filename=resource.encode(), model_str=model_str.encode())
         self.detector.SetAudioGain(audio_gain)
         self.num_hotwords = self.detector.NumHotwords()
+        self.detector.ApplyFrontend(True)

Thanks a lot. This is really helpful. This is consistent with what we are measuring. I am going to add a script to allow for measuring this systematically in a reproducible fashion. I probably will use real-time factor instead of CPU usage. Thoughts?

After looking into Snowboy's documentation, I decided that in order to have an apple-to-apple comparison we shouldn't set this flag for a couple of reasons: (1) the flag essentially enables few audio preprocessing algorithms (e.g. automatic gain control and noise suppression) that are considered separate modules in the audio processing chain and not part of wake-word engine functionality. (2) this flag is only recommended for (some) universal models and not to be set for personal models. Thank you for looking into it.


Blockchain Progress 85% - Heat at 90 degree Celsius

Hello,
I am new in this space. Just did all like the tutorial said.
I am in the step where "Node is Syncing (202)"
Blockchain progress 85,46%
Lighting progress 100%
Is it normal that the pi4 (4GB & 480SSD) heats up to 91,5°C (passive cooling sinks) ? Also I feel it's not normal that the sync is starting from 85% or ? All I read is that it starts after ~90% ... Downloaded it from the torrent initial.
Thanks for the help
Best regards.
Rob

no the pi just switched off - I think. the display is just lighting without text ect.

I would not recommend selfvalitading the blockchain on a RaspberryPi4 with just passive cooling - it will get very hot and might stop. Thats why the RaspiBlitz parts shopping list includes active fan cooling to do that. If you want to work with passive cooling I would recommend sync/validating the blockchain on your laptop and then copy it over to the RaspberryPi during setup with the COPY option. See README & FAQ for more details on that.


Improve the setup and administration process

I would like to reduce the friction to setup a server, configure it, and start adding clients. I would like to see...

[ ] An interactive script that prompts the user for questions
[ ] Checking for hostname and public IP automatically
[ ] Automatic setup and generation of SSL certificates
[ ] Automatic install of systemd scripts
[ ] Generation of a QR code of sorts to help users find their data package with client certificates
[ ] Some level of "idiot proofing"
[ ] Support for virtual environments, docker, and other installation configurations
[ ] Some sort of firewall check / support?

What I would like to see is something like this...
larry_larp@bluetack $ takyctl setup
Welcome to the interactive taky setup.
[x] Detected system wide installation, please re-run this script as root

larry_larp@bluetack $ sudo takyctl setup
Welcome to the interactive taky setup.
[+] Detected hostname "bluetack".
Use this hostname? (Y/n) > (enter)

[+] Here are the IP addresses I see. Which would you like to use?
1. eth0 - <IP_ADDRESS>
2. wg0 - <IP_ADDRESS>
3. Detect public IP with ifconfig.co
> 3
[-] Checking with ifconfig.co...
[-] Public IP detected: 103.24.x.x

[+] Do you want to use SSL? (Y/n) > (enter)

[+] Which user do you want to run as? (larry_larp) > (enter)

[+] Do you want to run the Data Package Server? (Y/n) > (enter)
[-] Where do you want to store the files? (/var/taky) > (enter)

[+] Do you want to install the systemd scripts? (Y/n) > n (enter)

Here's the configuration I have so far.
 - Hostname: bluetack
 - Bind IP: 103.24.x.x
 - SSL: Enabled
 - User: larry_larp
 - Data Package Server: Enabled
   - Storage Path: /var/taky
 - Install Systemd Startup Scripts: No

Does everything look correct? (Y/n) >
[-] Creating directory infrastructure
  [-] Setting up permissions
[-] Generating SSL certificates
[-] Writing config file

Done!

I think the fts installer could be forked and modified to easily fulfill most of this straight away.


Ignition Gazebo support

Description

Added Ignition Gazebo support for the Create3.
Restructured packages to separate Classic and Ignition gazebo.
Moved center of gravity forwards by 22.8mm on the Create3 body for Ignition.
Adjusted position of caster wheel in Ignition. This accounts for the different physics behaviours between the DART and ODE physics engines.

Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
# Run this command
ros2 launch irobot_create_ignition_bringup create3_ignition.launch.py

Notes

Bumper contact sensor is not working. This seems to be an issue with ros_ign_bridge and spawning the robot from the launch file rather than from the world .sdf file
It is recommended to install Ignition Gazebo from source. I made some improvements to the Diff Drive plugin parameters which makes driving the robot much better. Installing the binary still works.

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

@roni-kreinin can you resolve the conflicts with the main branch?

Done.

Thanks, we are getting close, there are only a few linter errors to fix.


Traverse2 doesn't work on static members

The guard clauses in Traverse2's SetValue implementation will exit on a null _root, which makes Field or Property writes to static members a no-op. The same code succeeds in the original Harmony implementation.
Broken (field will not be changed):
Traverse2.Create(typeof(MBSaveLoad)).Field<ISaveDriver>("_saveDriver").Value = null
Works:
Traverse.Create(typeof(MBSaveLoad)).Field<ISaveDriver>("_saveDriver").Value = null

Should be fixed with Harmony.Extensions <IP_ADDRESS>


plugin Toolbar zoomOut somtimes not work

version<EMAIL_ADDRESS>path<EMAIL_ADDRESS>  ToolBar.prototype.handleDefaultOperator = function (code, graph) {
	...
   case 'zoomOut':
        {
          var ratioOut = 1 + 0.05 * 5;

          if (ratioOut * currentZoom > 5) {
            return;
          }

          graph.zoomTo(currentZoom * 1.1);
          break;
        }

      case 'zoomIn':
        {
          var ratioIn = 1 - 0.05 * 5;

          if (ratioIn * currentZoom < 0.3) {
            return;
          }

          graph.zoomTo(currentZoom * 0.9);
          break;
        }
	...
  }

question：why declare variable ratioOut、 ratioIn？
I think
  ToolBar.prototype.handleDefaultOperator = function (code, graph) {
	...
   case 'zoomOut':
        {
          var ratioOut = 1 + 0.05 * 5;

          if (ratioOut * currentZoom > 5) {
            return;
          }

          graph.zoomTo(currentZoom * ratioOut);
          break;
        }

      case 'zoomIn':
        {
          var ratioIn = 1 - 0.05 * 5;

          if (ratioIn * currentZoom < 0.3) {
            return;
          }

          graph.zoomTo(currentZoom * ratioIn);
          break;
        }
	...
  }

You're right. What's more, the ratioOut should be 1 / (1 - DELTA * sensitivity) and the ratioIn should be 1 - DELTA * sensitivity, corresponding to the definition in zoom-canvas behavior: https://github.com/antvis/G6/blob/33482dcd59f6cbe534812649f24f45f12b564da3/packages/pc/src/behavior/zoom-canvas.ts#L150
It should be fixed in next small version, and we also welcome Pull Request from the community.

You're right. What's more, the ratioOut should be 1 / (1 - DELTA * sensitivity) and the ratioIn should be 1 - DELTA * sensitivity, corresponding to the definition in zoom-canvas behavior: https://github.com/antvis/G6/blob/33482dcd59f6cbe534812649f24f45f12b564da3/packages/pc/src/behavior/zoom-canvas.ts#L150
It should be fixed in next small version, and we also welcome Pull Request from the community.

fixed by v4.1.3

fixed by v4.1.3


Export SequenceItem type

Change-type: minor
Signed-off-by: Josh Bowling<EMAIL_ADDRESS>

@balena-ci I self certify!


Vulkan: VoxelGI reflections appear to jitter when the camera rotates

Godot version
4.1.2-stable
System information
Windows 11 - Godot v4.1.2.stable - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 3090 (nvidia, 545.92) - AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz
Issue description
https://github.com/godotengine/godot/assets/623463/e88aea3e-3db2-4422-8e12-1a4e893f0ff0
Using voxelGI or reflectionprobe results in the reflected image stuttering when the camera rotates.
Steps to reproduce

Run a scene with voxelgi or reflection probe enabled
Rotate the camera

Minimal reproduction project
godot-reflection-stutter-bug.zip

Similar to https://github.com/godotengine/godot/issues/74633 except this issue is for reflections in general and not SDFGI related.

This issue doesn't occur with reflection probes or environment lighting, only with VoxelGI and SDFGI. I renamed this issue accordingly as https://github.com/godotengine/godot/issues/74633 already tracks this with SDFGI.

This issue doesn't occur with reflection probes or environment lighting, only with VoxelGI and SDFGI

Incorrect. You can recreate this issue with any kind of 3D reflection in Godot along-side SDFGI. You can see a deeper description of the issue and potential fixes here: https://github.com/godotengine/godot/issues/74633#issuecomment-1795864044

In the meantime, increase material roughness or use a normal map to make this less noticeable.

There are no configurations that are able to even slightly reduce the janky light movement on the objects when the camera is rotating, no matter how rough the surface is or what normal map is applied.

VoxelGI/SDFGI reflections aren't ideal for mirror-like surfaces given the lack of detail in the reflection anyway.

What about the simple goal of any kind of reflection? Just a basic light reflection or something? Currently all known examples with SDFGI exhibit this issue.

That second point is exaggerating things a bit: a highly textural normal map or increasing roughness (especially beyond 0.5) does mask the jittering on both SDFGI and VoxelGI. This issue only really appears on very smooth surfaces with minimum roughness or very little map detail to diffuse the result.
You can get semi-reflective materials to a usable point, but highly reflective smooth materials will show the jitter along with the banding that VoxelGI exhibits HERE.
This is an issue, but it's not quite so bad that glossy/reflective materials can't be used at all. Just not mirror-like or near mirror-like materials.


Using the system on Uni network

Hello,
So I really like this project. I have been trying to start a similar project on my University campus, however, I would greatly like to make use of the effort that has already gone in here, and also be able to contribute back instead of simply doing my own thing.
Problem is, the whole university network is behind a firewall, and no easy way to get around that.
There are mirrors for many of the distribution on the South African University (TENET) network, so I can make use of those, but what else is there that I would have to replicate locally to get it to work?
I assume I will need to host undi versions if I am to mirror the main repo effectively.
Any guidance on what access the system usually need to the outside would would be great!

Thanks, glad you like it.  I've been slowly working on getting something like that put together so that you can generate your own local netboot.xyz in your environment easily.  I'll try and find some time this week or next to push up what I have so far and maybe that'll be something to iterate on.
You can modify the boot.cfg today to override the location of a lot of the main OS primary mirrors.  I still need to look into the best way to set utility images as well.  If there's one that you need an override for that isn't there, feel free to open a PR and I can review.
This is open to track this kind of request:
https://github.com/antonym/netboot.xyz/issues/26

closing track #26


Stream objects need to implement the Dispose () method.

This is there with the base classes. SKStream : SKStream : SKObject : IDisposable


Running with a project that uses yarn creates a package-lock.json file

It seems like this script does not respect projects that use yarn and instead will always create a package-lock file. Here is the outcome from running it on my project:
➜ npx api install @basiq/v3.0#73eilabzsv3b
✔ What language would you like to generate an SDK for? › TypeScript
✔ Fetching your API
✔ Generating your SDK
✔ Saving your SDK into your codebase
⚠ This generator requires some packages to be installed alongside it:
  › api: Required for the `api/dist/core` library that the codegen''d SDK uses for making requests. https://npm.im/api
  › json-schema-to-ts: Required for TypeScript type handling. https://npm.im/json-schema-to-ts
  › oas: Used within `api/dist/core` and is also loaded for TypeScript types. https://npm.im/oas
✔ OK to proceed with package installation? … yes
✔ Installing required packages
🚀 All done!

➜ git status
On branch basiq-connect
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   yarn.lock

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	.api/
	package-lock.json

no changes added to commit (use "git add" and/or "git commit -a")

I am not sure why the package-lock.json file is there at all - I don't think it will do anything since I am using yarn.
Furthermore I also am not sure how I would go about importing the downloaded SDK. I can see the files under ./.api but there is nothing in the documentation instructing me on how to consume them. Do I need to add a local file entry to package.json?
➜ tree -L 3 .api
.api
├── api.json
└── apis
    └── basiq
        ├── index.ts
        ├── node_modules
        ├── openapi.json
        ├── package-lock.json
        ├── package.json
        ├── schemas.ts
        └── types.ts

Thanks for fixing the consumption part, however I am still having some problems and I am not sure if they are due to the API spec that I am trying to consume or something missing from this package. Following is the terminal output:
➜ npx api install @basiq/v3.0#73eilabzsv3b
Need to install the following packages:
  api
Ok to proceed? (y)
✔ What language would you like to generate an SDK for? › TypeScript
✔ Fetching your API
✔ Generating your SDK
✔ Saving your SDK into your codebase
⚠ This generator requires some packages to be installed alongside it:
  › api: Required for the `api/dist/core` library that the codegen'd SDK uses for making requests. https://npm.im/api
  › json-schema-to-ts: Required for TypeScript type handling. https://npm.im/json-schema-to-ts
  › oas: Used within `api/dist/core` and is also loaded for TypeScript types. https://npm.im/oas
✔ OK to proceed with package installation? … yes
✔ Installing required packages
🚀 All done!

flux/packages/api-service …
✘130 ➜ yarn
yarn install v1.22.18
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍  Resolving packages...
error Can't add "@api/basiq": invalid package version "".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

flux/packages/api-service …
✘1 ➜ rm package-lock.json

flux/packages/api-service …
➜ yarn
yarn install v1.22.18
[1/4] 🔍  Resolving packages...
error Can't add "@api/basiq": invalid package version "".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

As you can see, yarn complains about the installed api sdk due to a missing version. I can manually rectify this locally but I don't think this is the correct way to approach this. Is the problem on my end? On the API spec I am consuming? Or is this still a bug?

Seems this is happening because we aren't setting a version property in the package.json we create for the installed API in the .apis/ directory. I'll get a fix going for this.

@gugahoi That issue should now be resolved in v5.0.3.

@erunion similarly, it would be nice to have support for pnpm, but it could be more complicated. What ended up working for me as a workaround was to:

Execute pnpm dlx api install @render-api/v1.0#f084kp1glacw8qb7 and say yes to package installation
Cancel once the .api/apis/render-api/package.json file is updated with dependencies ( this wasn't perfect — I had to manually add openapi-types as it was missing, might have been timing but I'm not sure yet )
Create pnpm-workspace.yaml (pnpm doesn't handle dependency installation well for locally linked packages)packages:
  - ".api/apis/*"

Add the api package as a workspace dependency in the root package.json"dependencies": {
	"@api/render-api": "workspace:*"
}

Run pnpm install and the package should be importable now

However, I wonder if it would be worth looking into how Prisma generates its client since that works rather well across package managers in my experience. You'd have to regenerate the API package in fresh directories though (since it's dropped into node_modules).

Dug into this a bit after discovering preferred-pm and that's got a pretty big blocker for us where if we you run npx api install from inside of an NPM workspace directory like packages/client it thinks you use Yarn.
I've filed the bug to https://github.com/zkochan/packages/issues/180 but am unfortunately going to have to put Yarn and pnpm on hold until that's sorted out.

I use ynpx and get the same problems

I've filed the bug to zkochan/packages#180
answer received


Make Ms Jdbc driver more spring friendly - dev

This is in relation to issue: https://connect.microsoft.com/SQLServer/Feedback/Details/3100563
It would greatly simplify Tvp usage in the Spring environment.
Per you request the pull request is made from the dev branch.

Thank you for your contribution!
According to the sample you provided in this link, you need to add setSqlType method to pass the TVP name.
inputDataTable.setSqlType("[dbo].[MsDriverSqlType]");
Could you make changes to the method names to be more meaningful?

@v-afrafi If I understood correctly you want me to rename the sqlType property I added to SQLServerDataTable. In the setStructured api from SQLServerPreparedStatement the parameter is named tvpName. Would that name be ok?

sounds good, thanks!

Renamed sqlType to tvpName as requested.


Custom StoreCode Authorization for authz module

Currently signing store code transactions with multisigs can only be done if you use non-ledger keys due to the memory limit on such devices it makes impossible for signers and for this reason I think it would be very useful to have a contract upload authorization for authz.

Authorize grantee to upload any contract (although this can already be achieved by the generic grant authorization)
Authorize grantee to upload any contract from a list of given hashes  so the granter can verify and be confident the grantee only uploads pre-approved contracts,

This can even  be useful for DAOs or CW4 multisigs giving access to an uploader by creating a custom authorization.

This is a good idea!
Would it make sense to have the same for migration?
On store code, an instantiateAccess configuration can be set. Is this something that you want to ensure by the grant as well?   I does not seem required but I want to bring this up.

I don't see migration being necessary but would see it as a nice to have.
On instantiate access now that you bring it up might makes a lot of sense to limit it to a specific config per code hash
hash1 -> AnyOfAddress(address1)
hash2 -> EveryBody

Perhaps same for admin?  NoAdmin/SpecificAddress ?


[en] Add missing required type field to LimitRange example

Closes
Relates #38705
With this fix, these commands this command shall not claim the validation error anymore.
kubectl create -f https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/concepts/policy/limit-range/problematic-limit-range.yaml

Content before EDIT
kubectl create -f https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/concepts/policy/limit-range/problematic-limit-range.yaml
kubectl create -f https://raw.githubusercontent.com/kubernetes/website/main/content/zh-cn/examples/concepts/policy/limit-range/problematic-limit-range.yaml

My apologies for pushing a commit forcibly (git push -f) but I wanted to adjust my commit message according to the guidance.

Hey @sakurai-youhei, a couple of things

Please push the next commit with a valid commit message.
Typically, we make changes to one language file per PR (this is normally the "en" or English localization), get a tech & docs signoff and then open a PR each for changing files in other localizations. Please could you submit ONLY the changes for the file in English for review over this PR?

@divya-mohan0209 Hope the current state of this PR would be compliant. Thanks.

/label tide/merge-method-squash

/approve


Fixes the broken Syntax in PlayState

all that time and we were blaming VSCode for this

this isnt really broken syntax
its bad formatting
also there's bad formatting in psych everywhere this does like nothing


Enable build for py3k win

As far as I can tell there, pangaea should work on windows. If there is a reason not to build, we can leave this open while I fix pangaea to build on windows. If merged this will close #1

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.

Awesome. Glad to see that this has been fixed.

Probably should have incremented the build version. Forgot about that.

@snowman2 this did not work. Conda-forge is only building for py27 not for py3. Haven't had a chance to see why.

You missed the re-rendering part. See my PR in a few minutes...


Results and jobs missing

I installed the app on a customer account.  After the workloads and collection definition I try to Run (Analyze past 7 days) and Run with time range (got the requesting job confirmation) but nothing happens. No results is available and the Job History is empty.
How can I investigate the issue ? Thanks

Try to create a new User API key with the name "NR1-OPTIMIZER-KEY" in the same account where you run the Job. Fixed for me.

Related to  #114, closing to track under that issue.

Try to create a new User API key with the name "NR1-OPTIMIZER-KEY" in the same account where you run the Job. Fixed for me.

I'm not sure if I overlooked this requirement in the documentation or it's really missing there. Very useful hint! Thanks @dzadonskii


example dashboard (4.1): navbar disappears at width below 770 pixels

I have found an issue with this bootstrap example:
https://getbootstrap.com/docs/4.1/examples/dashboard/
At a content-width of below 770 pixel the navbar disappears complety.
Tested in the latest Chrome Desktop Browse (Version 69.0.3497.100 (Offizieller Build) (64-Bit)).

To clarify, in image one I have marked the sidebar in pink.
This content goes missing (see image 2) if the width goes below 770px.
As far as I can tell there is no button or menu to get it back (without resizing over 770px again).

Well that is different from what you initially described ;)
And that's expected from the markup: col-md-2 d-none d-md-block bg-light sidebar
@mdo: your call

Closing as a won't fix for now. I designed the example this way. Feel free to customize those grid classes and create something different :).


Open user menu on hover

Top right corner - user menu - let's open that on hover. Should still open on tap for mobile users. I see this as being a common use-case, so a open-on: hover/click option might be best baked into the global dropdown component directly so that it can be re-used. I think click should be the default, and hover the option.

I'd propose to postpone that feature - it is not a beginner task.
The menu in subject has significant importance in user interface - but contrary to other items - it cannot be accessed via keyboard, does not have tabindex feature. On desktop it probably can be activated only with a mouse - am I correct on this?
https://github.com/twbs/bootstrap/blob/master/js/dropdown.js#L57-L87
If we want to offer a quick way to open it - give it a shortcut for power users via global acceskey attr or keyboard shortcut via JS. (accesskey has a blocker - as this is not interactive element yet as pointed)

This has been sitting around for so long without getting traction - time to die, I think.


Animation support

Would we use animation for LVN
https://developer.apple.com/documentation/swiftui/animation
https://developer.apple.com/documentation/swiftui/transaction

Scoping is done #238


docs(CHANGELOG) minor grammatical changes

Results of proofreading the changelog.

Added - thanks for the suggestions!


Cant find the "Legacy C# Support" in vscode Marketplace. And C# 1.7.0 extension is not able to detect errors in the code.

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information:
Version:            1.0.0-preview2-1-003177
Commit SHA-1 hash:  a2df9c2576
Runtime Environment:
OS Name:     fedora
OS Version:  23
OS Platform: Linux
RID:         fedora.23-x64
VS Code version: 1.7.2
C# Extension version: 1.7.0
Steps to reproduce
I am using fedora and I can nowhere find the dotnet framework 2.0 for fedora. I have a dotnet framework v4.5 installed but since Unity3d works on framework 2.0, every time it generates .csproj file, which has the Target Framework as v2.0.
Because of this issue, my code completion of vscode stops to work. It starts working again only after I manually change the  tag to v4.5. Is there any easier way of doing it?
Moreover, I reinstalled my VSCODE and now I cant even find the "Legacy C# support" on the vscode marketplace. So I installed "C#" (ms-vscode.csharp) plugin, but this plugin is not able to detect the errors in the code at all.

Legacy C# Support extension has been removed from the marketplace as it no longer functions properly. It was only left on the marketplace as a stop gap. The latest C# extension supports Unity development, so the Legacy C# Support extension has gone away.
Is it accurate that you only have VS Code version 1.7.2 and C# for VS Code 1.7.0? The reason I ask is because the latest version numbers for these are 1.11.2 and 1.8.1 respectively.

Thanks alot. I found out that I was using the outdated version, so updated it. But still, I cant find the dotnet Framework 2.0 for fedora. Everytime when Unity generates the .csproj file, I need to go to the .csproj file and change the tag TargetFrameworkVersion to v4.5(from v2.0) to make the code completion, error detection work properly.
Is there any easier way to set the things by default in VSCode or something like that.
I am sure that all the Unity developer using VSCode, might have faced the same issue.
Thanks in advance.

It should work. Do you have the latest Mono installed (e.g. 4.8.0)? What do you get when you enter mono ---version at a Terminal window?

It says -
Mono JIT compiler version 4.2.4 (tarball Mon Sep 19 02:09:55 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug
LLVM:          supported, not enabled.
GC:            sgen
The EPEL7 provides version 4.2.4  as the highest.
I also came across that we need to install mono-complete, referenceassemblies-pcl and ca-certificates-mono for proper functioning of the mono environment (http://www.mono-project.com/docs/getting-started/install/linux/#usage)
But I found out that epel7 doesnot provide mono-complete or other above mentioned packages. How or from where do I install those in my fedora-23 system?

Yes, mono-complete should handle the issue.
Fedora is a little bit behind WRT to Mono (see my comment in https://github.com/OmniSharp/omnisharp-vscode/issues/1213#issuecomment-279229392 where I helped work through a Fedora Mono issue).

@rahul-sinha1908, you can use target framework fix on unity side. For example, you can take 2 files (this one and this one ) and put them at Editor folder of unity project, then add "DEV_FW46" as build preprocessor define. After force "Assets / Open C# Project" - csproj file will force use 4.6 as target framework.

@Leopotam Thanks alot. But I am beginner in this. Can you please explain me how to do this - "add "DEV_FW46" as build preprocessor define."

@rahul-sinha1908 official docs, "Platform custom #defines".

Hi! Just wanted to check in and see if this is still an issue.

@DustinCampbell @Leopotam Thanks a lot for your help. The issue is resolved. :)

Glad to hear it -- thanks!


Added unique_constraint to Category slug and test

Closes #127.
Adds unique_constraint to Category slug with a test; minor reordering of tests in describe blocks.

👍


Can't create new containerapp instance on existing container app environment

This is autogenerated. Please review and update as needed.
Describe the bug
Cannot create new container app instance on existing container app environment. Az CLI blows up with the below output.
Command Name
az containerapp create
Errors:
No module named 'azure.cli.core.azclierror'
Traceback (most recent call last):
pip-install-yf22vmg2\knack\knack\cli.py, ln 215, in invoke
cli\core\commands\__init__.py, ln 553, in execute
azure\cli\core\__init__.py, ln 344, in load_arguments
cli\core\commands\__init__.py, ln 310, in load_arguments
pip-install-yf22vmg2\knack\knack\commands.py, ln 106, in load_arguments
azure\cli\core\__init__.py, ln 548, in default_arguments_loader
...
<frozen importlib._bootstrap>, ln 219, in _call_with_frames_removed
cliextensions\containerapp\azext_workerapp\custom.py, ln 10, in <module>
    from azure.cli.core.azclierror import (ResourceNotFoundError, RequiredArgumentMissingError, MutuallyExclusiveArgumentError, ValidationError)
ModuleNotFoundError: No module named 'azure.cli.core.azclierror'

To Reproduce:

Load up Azure CLI on Windows Terminal.
Az login to login to azure
Run 'az containerapp create' to create new container instance
Az CLI blows up as outlined above.

Put any pre-requisite steps here...
az containerapp create --name {} --resource-group {} --environment {} --image mcr.microsoft.com/azuredocs/containerapps-helloworld:latest --target-port 80 --ingress 'external' --query configuration.ingress.fqdn

Expected Behavior
I should be able to create an app container instance with the above command on an existing app container environment.
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.6.0

Extensions:
containerapp 0.2.0
mesh 0.10.6

Additional Context

route to service team

@dguerin I wanted to do quick follow-up to check if you had a chance to look at my above comment. This github issue is open for quite sometime. Please let us know if you need any further assistance on this. Awaiting your reply.


Keep metadata in ce up-to-date

UPF.
Scholars/Choirs/Enthusasts.

This mechanism is described in Deliverable 5.3 'TROMPA Processing Library'


digital object subjects browsing by subject

e.g. an object with the subject jewish merchants would be clickable to show other objects with jewish merchants
https://specialcollections.du.edu/search?field[]=all&q[]=jewish+merchants&type[]=contains&bool[]=or&f[Subject][]=Jewish merchants&expand[]=Subject

7e09b3cdca37b292aaf505318017e01ed30372b7


Support RHEL creds for RHSM in image-builder

Description of changes:

Setup vsphere connection json with rhsm creds.
Setup base iso for redhat image building along with checksum.

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

/lgtm
/approve

/approve


Improve SshConnection.push errors

This is another case where we could do with a ConnectionError class but it's not a big deal I guess.

Look good to me.

:+1:


Fixes two minor bugs to make the plugin work on iOS

@fh please merge

@walski Sure this is the right repo?

… ;)


07/31/2018 02:08 : Create Pull Request for branch master -> prTesting1_2018073102

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


⚠ Bofrost.lu has degraded performance

In b675fb2, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2138 ms

Resolved: Bofrost.lu performance has improved in 85637d7 after 6 minutes.


Correct domain scope creation object

Codecov Report

Merging #43 (a8d5a77) into release (fe3b7ea) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             release      #43   +/-   ##
==========================================
  Coverage      99.23%   99.23%
  Complexity       150      150
==========================================
  Files              9        9
  Lines            919      920    +1
  Branches          24       24
==========================================
+ Hits             912      913    +1
  Partials           7        7

Flag
Coverage Δ

unittests
99.23% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/main/java/org/wcdevs/blog/cdk/DomainStack.java
100.00% <100.00%> (ø)

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 cd7b9b3...a8d5a77. Read the comment docs.


Modularise application

Maybe using this plugin approach?
https://www.npmjs.com/package/electron-plugins

as of 1.0.6 this works in principle, but there is no real plugin architecture, just a proof of concept.
need to set up hooks and known methods that a plugin/module should expose as the central loader mechanism will call these if available.


Leftover debug statement in serializers.structs.py

Describe the bug
A print statement appears after every invocation of a Structured serializer when run as part of a script.
To Reproduce
user@computer $ python my_serializer_unpacker_script.py
Compute num values: <structured.serializers.structs.StructSerializer object at 0x10c5e0a70> 19s 19

Expected behavior
No extra print statement on execution.
Desktop (please complete the following information):

OS agnostic
Replicated in python 3.11, 3.12

Additional context
Appears after commit 5c651ef (#47).
I suspect this is a leftover print statement from debugging efforts.
https://github.com/lojack5/structured/blob/36bb95c1ae7f2ce5c8f6a3b2b98d2a1e202e47ce/structured/serializers/structs.py#L46

Yep thanks, I noticed that myself today while working on a better typing.Self solution (recursion is making me have to fixup lots of places that assumed no recursion was happening). It was indeed from debugging (turns out the struct.Struct.__init__ wasn't being called due to how they changed things back from some weirdness in the RCs in py 3.12.


[UI] Got "schema.linkFor is not a function" when redirecting to any page .

**Rancher Version:v1.1.4
I just follow the instructions to run npm start , and I get into the index page , all looks good .
But I get an error when I click any button to redirect to any page . Anybody has this issue ?
schema.linkFor is not a function
I got this on my console :
ember.debug.js:19160 TypeError: schema.linkFor is not a function     at store.js:161     at tryCatch (ember.debug.js:50954)     at invokeCallback (ember.debug.js:50969)     at publish (ember.debug.js:50937)     at ember.debug.js:40417     at invoke (ember.debug.js:990)     at Queue.flush (ember.debug.js:1054)     at DeferredActionQueues.flush (ember.debug.js:862)     at Backburner.end (ember.debug.js:176)     at ember.debug.js:742
When I click any button to redirect to any page , the console throw Error:
Application Error TypeError: schema.linkFor is not a function     at http://<IP_ADDRESS>:8000/assets/vendor.js:151167:28     at tryCatch (http://<IP_ADDRESS>:8000/assets/vendor.js:65900:14)     at invokeCallback (http://<IP_ADDRESS>:8000/assets/vendor.js:65915:15)     at publish (http://<IP_ADDRESS>:8000/assets/vendor.js:65883:9)     at http://<IP_ADDRESS>:8000/assets/vendor.js:55363:16     at invoke (http://<IP_ADDRESS>:8000/assets/vendor.js:15936:16)     at Queue.flush (http://<IP_ADDRESS>:8000/assets/vendor.js:16000:11)     at DeferredActionQueues.flush (http://<IP_ADDRESS>:8000/assets/vendor.js:15808:17)     at Backburner.end (http://<IP_ADDRESS>:8000/assets/vendor.js:15122:25)     at http://<IP_ADDRESS>:8000/assets/vendor.js:15688:18

The UI in master is for Rancher 1.2 and does not work against a 1.1 server.  You can use the 1.1-fixes branch if you need something that works for 1.1.


Roll Flutter Engine from dd3e975f3188 to 7026ed283455 (1 revision)

https://github.com/flutter/engine/compare/dd3e975f3188...7026ed283455
2023-01-29<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from O_p8I_8713KlTZ7WG... to 1D63BqURfJdG4r3CK... (flutter/engine#39234)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from O_p8I_8713Kl to 1D63BqURfJdG
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


OpenGL 2.0 Mandatory

Hey!
You say in your documentation, that v1.5 is going to support legacy OpenGL. Does this mean it is mandatory or should it also work with newer versions?

Here is my glxinfo:
$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.63.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 470.63.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.63.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

A bug crept into the last point release. Give it a try with the latest 1.5.21 release (just pushed out).

It works! Thank you so much for the fast reply & helpful answer :whale:


Fix async media

Smaller than it looks, the first commit just alphabetizes call.js.

Looks good to me. One day I'll understand all of the webrtc stuff, but


Add synced tabs persistence

Closes #1851 and follow-up to #953.
This PR adds persistence to the synced tabs feature by relying on localStorage to store the synced tabs state.
This pull request is still a draft for 2 reasons:

There seems to be a flash of invalid tab that can randomly happen once in a while in development mode. I'd like to investigate this further and see if we can avoid it.
I want to play a bit more with the feature as most of the time so far has been spent on when/how to include the script to restore the synced tabs rather than actually using the feature.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/components.mdx
Source changed, localizations will be marked as outdated.

en
guides/customization.mdx
Source changed, localizations will be marked as outdated.

en
guides/site-search.mdx
Source changed, localizations will be marked as outdated.

en
manual-setup.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Based on the feedback during the T&D exploration, I've updated the PR:

We're now using a global symbol to keep track in Astro.locals if the restore script has been rendered or not. The goal is to avoid potential clash with user-defined variables in Astro.locals (even if unlikely).
I tried quite a few scenarios (embedded components, delayed components, etc.) to see if we could hit any issue with the restore script. So far, everything seems to work as expected no matter the scenario.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_79f20f0b-a6b7-41f2-ad9e-538b6a2fff3c/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_79f20f0b-a6b7-41f2-ad9e-538b6a2fff3c.git

Docs Build status updates of commit fb3027f:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.


chore(main): release 0.8.2

:robot: I have created a release beep boop
0.8.2 (2024-05-08)
Bug Fixes

revert intl to 0.18.1 for wider compatibility (#66) (6831c2f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ZebraDevs/zeta_flutter/releases/tag/v0.8.2 :sunflower:


Create get-networkcontrollerstate.md

Made ConnectionUri mandatory parameter

@AnirbanPaul,
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


Remove serverless version limitation + disable config validation

Had following errors in deployment process:
The Serverless version (2.67.0) does not satisfy the "frameworkVersion" (>=1.1.0 <2.0.0) in serverless.yml

Warning: You're relying on provider "yandex-cloud" defined by a plugin which doesn't provide a validation schema for its config.
Please report the issue at its bug tracker linking: https://www.serverless.com/framework/docs/providers/aws/guide/plugins#extending-validation-schema
You may turn off this message with "configValidationMode: off" setting

@vvmspace take a look at https://www.npmjs.com/package/@yandex-cloud/serverless-plugin (and appropriate branch https://github.com/yandex-cloud/serverless-plugin/tree/beta). Looks like it is fixed there, since it has validation schema defined.


Tasks: consider using folder name for terminal drop down

Refs: #34953

Multi folder workspace
Run some task, notice that the title showed in the terminal drop down only has the task name
I suggest to aslo include the folder name in brackets (since we can not style here) after the task name

This is what we are currently doing in launch.json dropdown so it would be both for consistency and clarity.

Good catch. Like the suggestion:


Error while extracting features

WARNING:caffe2.python.workspace:Original python traceback for operator 1 in network Extract Features_init in exception above (most recent call last):
WARNING:caffe2.python.workspace:  File "tools/extract_features.py", line 292, in <module>
WARNING:caffe2.python.workspace:  File "tools/extract_features.py", line 287, in main
WARNING:caffe2.python.workspace:  File "tools/extract_features.py", line 118, in ExtractFeatures
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/data_parallel_model.py", line 32, in Parallelize_GPU
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/data_parallel_model.py", line 209, in Parallelize
WARNING:caffe2.python.workspace:  File "tools/extract_features.py", line 110, in create_model_ops
WARNING:caffe2.python.workspace:  File "/home/ubuntu/dedup/R2Plus1D/lib/models/model_builder.py", line 128, in build_model
WARNING:caffe2.python.workspace:  File "/home/ubuntu/dedup/R2Plus1D/lib/models/r3d_model.py", line 99, in create_model
WARNING:caffe2.python.workspace:  File "/home/ubuntu/dedup/R2Plus1D/lib/models/r3d_model.py", line 145, in create_r3d
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/cnn.py", line 86, in ConvNd
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/brew.py", line 107, in scope_wrapper
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/helpers/conv.py", line 164, in conv_nd
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/helpers/conv.py", line 88, in _ConvBase
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/model_helper.py", line 216, in create_param
WARNING:caffe2.python.workspace:  File "/home/ubuntu/pytorch/build/caffe2/python/modeling/initializers.py", line 30, in create_param
Traceback (most recent call last):
  File "tools/extract_features.py", line 292, in <module>
    main()
  File "tools/extract_features.py", line 287, in main
    ExtractFeatures(args)
  File "tools/extract_features.py", line 121, in ExtractFeatures
    workspace.RunNetOnce(model.param_init_net)
  File "/home/ubuntu/pytorch/build/caffe2/python/workspace.py", line 201, in RunNetOnce
    StringifyProto(net),
  File "/home/ubuntu/pytorch/build/caffe2/python/workspace.py", line 180, in CallWithExceptionIntercept
    return func(*args, **kwargs)
RuntimeError: [enforce fail at operator.cc:209] op. Cannot create operator of type 'MSRAFill' on the device 'CUDA'. Verify that implementation for the corresponding device exist. It might also happen if the binary is not linked with the operator implementation code. If Python frontend is used it might happen if dyndep.InitOpsLibrary call is missing. Operator def: output: "gpu_0/conv1_middle_w" name: "" type: "MSRAFill" arg { name: "shape" ints: 45 ints: 3 ints: 1 ints: 7 ints: 7 } device_option { device_type: 1 cuda_gpu_id: 0 }

I'm on Ubuntu 16.04. This happens when I run the following:
python tools/extract_features.py --test_data=../dups_lmdb_data --model_name=r2plus1d --model_depth=34 --clip_length_rgb=32 --batch_size=4 --load_model_path=./trained/r2.5d_d34_l32_ft_sports1m.pkl --output_path=dups_features.pkl --features=softmax,final_avg,video_id --sanity_check=0 --get_video_id=1 --use_local_file=1 --num_labels=400
I'm on a AWS general purpose compute machine (doesn't have GPU).

@dutran appreciate any leads/tips to debug this :)

@dutran thanks for the quick reply. Trying GPU now 👍


Adding subnet method for Ipv6 objects

Added support for ipv6 subnetting. Seems all the pieces to do it were already written, so I really just wrote the test and switched out the pieces of the ipv4 subnetting code for ipv6. I was expecting to have to write more code, so I'm wondering if maybe not including IPV6 subnetting is intentional?

Is this repository still being maintained?

Not very actively it would appear

Not very actively it would appear

@watzon I have forked this gem to https://github.com/ipaddress2-gem/ipaddress_2 and it has subnet support for IPv6 as well as a single link_local :-)

Not very actively it would appear

@watzon I have forked this gem to https://github.com/ipaddress2-gem/ipaddress_2 and it has subnet support for IPv6 as well as a single link_local :-)

I saw that. My only interest in this project was actually as inspiration for my Crystal library which is almost a 1 for 1 port of this gem.


Adding it to webjars

Can you please add this great lib to Webjars.
http://www.webjars.org/request

The library already exist, but the version 0.6.2 wasn't pushed.
We have to wait few hours to see it in maven repo.
We will close this issue when Maven repo will have it.
;)

All seems to be available : http://search.maven.org/#search|gav|1|g%3A"org.webjars.bower" AND a%3A"AngularStompDK"
I am currently adding the version 0.8.0


Webserver improvement for static files

Related: #2008
Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[ ] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[x] I added new tests to check the change I am making.
[x] All existing and new tests are passing.
[ ] Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.
Breaking changes
If you have done any breaking changes, make sure to outline them here, so that they can be included in the notes for the next release.

Some notes for the review. We are primarily focusing on the code in the new relic package. The relic package is based on Dart Shelf, but with adding type safety, properties in HTTP headers, and improved Request and Response objects.
The changes in Serverpod's webserver (within the serverpod package) are just to make sure everything still works. The interface for these will be improved upon in the next set of PRs.

x-powered-by header:
I'm not sure if the 'X-Powered-By' header should be changeable. I believe this header should remain consistent after the server is mounted, though I could be mistaken.
Data efficiency:
I tried doing this the same way you described but i got the casting error, i will check it again.

x-powered-by header: I'm not sure if the 'X-Powered-By' header should be changeable. I believe this header should remain consistent after the server is mounted, though I could be mistaken.

With the current implementation, the X-Powered-By has no function in the Headers class. If changing the header has no effect, it's just confusing to have it there. Making it possible to override the "main" setting makes the server more flexible, so why not?

Data efficiency: I tried doing this the same way you described but i got the casting error, i will check it again.

The code I had written for this did work, so it should be possible. We should only use Uint8List. If the cast fails, that means that the underlaying stream is a List<int>, which is very bad and something we need to fix.

This PR was merged as an initial commit to a standalone git repository containing only the Relic web server.
This is the PR that copies over the changes in this branch: https://github.com/serverpod/relic/pull/3